/*! For license information please see main.9e6e8bd7.js.LICENSE.txt */
(()=>{var __webpack_modules__={526:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Headers:()=>s,Request:()=>o,Response:()=>l,default:()=>i,fetch:()=>a});var r=function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof n.g)return n.g;throw new Error("unable to locate global object")}();const a=r.fetch,i=r.fetch.bind(r),s=r.Headers,o=r.Request,l=r.Response},776:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},647:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{M:()=>gapi});var gapi=window.gapi=window.gapi||{};gapi._bs=(new Date).getTime(),function(){var aa="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){return e==Array.prototype||e==Object.prototype||(e[t]=n.value),e},da=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof __webpack_require__.g&&__webpack_require__.g];for(var t=0;t<e.length;++t){var n=e[t];if(n&&n.Math==Math)return n}throw Error("Cannot find global object")},ea=da(this),fa=function(e,t){if(t)e:{var n=ea;e=e.split(".");for(var r=0;r<e.length-1;r++){var a=e[r];if(!(a in n))break e;n=n[a]}(t=t(r=n[e=e[e.length-1]]))!=r&&null!=t&&aa(n,e,{configurable:!0,writable:!0,value:t})}},ha=function(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}};fa("Symbol",(function(e){if(e)return e;var t=function(e,t){this.ba=e,aa(this,"description",{configurable:!0,writable:!0,value:t})};t.prototype.toString=function(){return this.ba};var n=0,r=function(e){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return new t("jscomp_symbol_"+(e||"")+"_"+n++,e)};return r})),fa("Symbol.iterator",(function(e){if(e)return e;e=Symbol("Symbol.iterator");for(var t="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),n=0;n<t.length;n++){var r=ea[t[n]];"function"===typeof r&&"function"!=typeof r.prototype[e]&&aa(r.prototype,e,{configurable:!0,writable:!0,value:function(){return ia(ha(this))}})}return e}));var ia=function(e){return(e={next:e})[Symbol.iterator]=function(){return this},e},ja=function(e,t){e instanceof String&&(e+="");var n=0,r=!1,a={next:function(){if(!r&&n<e.length){var a=n++;return{value:t(a,e[a]),done:!1}}return r=!0,{done:!0,value:void 0}}};return a[Symbol.iterator]=function(){return a},a};fa("Array.prototype.keys",(function(e){return e||function(){return ja(this,(function(e){return e}))}}));var m=this||self,ka=function(e){var t=typeof e;return"object"!=t?t:e?Array.isArray(e)?"array":t:"null"},la=function(e,t,n){return e.call.apply(e.bind,arguments)},ma=function(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}},na=function(e,t,n){return(na=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?la:ma).apply(null,arguments)},oa=function(e,t){function n(){}n.prototype=t.prototype,e.ma=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.A=function(e,n,r){for(var a=Array(arguments.length-2),i=2;i<arguments.length;i++)a[i-2]=arguments[i];return t.prototype[n].apply(e,a)}},pa=function(e){return e},qa=function(e){var t=null,n=m.trustedTypes;if(!n||!n.createPolicy)return t;try{t=n.createPolicy(e,{createHTML:pa,createScript:pa,createScriptURL:pa})}catch(r){m.console&&m.console.error(r.message)}return t};function q(e){if(Error.captureStackTrace)Error.captureStackTrace(this,q);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e))}oa(q,Error),q.prototype.name="CustomError";var ra=function(e,t){for(var n="",r=(e=e.split("%s")).length-1,a=0;a<r;a++)n+=e[a]+(a<t.length?t[a]:"%s");q.call(this,n+e[r])};oa(ra,q),ra.prototype.name="AssertionError";var sa=function(e,t,n,r){var a="Assertion failed";if(n){a+=": "+n;var i=r}else e&&(a+=": "+e,i=t);throw new ra(""+a,i||[])},ta=function(e,t,n){return e||sa("",null,t,Array.prototype.slice.call(arguments,2)),e},ua=function(e,t){throw new ra("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1))},va=function(e,t,n){"string"!==typeof e&&sa("Expected string but got %s: %s.",[ka(e),e],t,Array.prototype.slice.call(arguments,2))},xa=function(e,t){e:{try{var n=e&&e.ownerDocument,r=n&&(n.defaultView||n.parentWindow);if((r=r||m).Element&&r.Location){var a=r;break e}}catch(s){}a=null}if(a&&"undefined"!=typeof a[t]&&(!e||!(e instanceof a[t])&&(e instanceof a.Location||e instanceof a.Element))){if("object"==(a=typeof e)&&null!=e||"function"==a)try{var i=e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e)}catch(s){i="<object could not be stringified>"}else i=void 0===e?"undefined":null===e?"null":typeof e;ua("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,i)}return e},ya,t=function(e,t){this.P=e===za&&t||"",this.ca=Aa};t.prototype.J=!0,t.prototype.H=function(){return this.P},t.prototype.toString=function(){return"Const{"+this.P+"}"};var Ba=function(e){return e instanceof t&&e.constructor===t&&e.ca===Aa?e.P:(ua("expected object of type Const, got '"+e+"'"),"type_error:Const")},Aa={},za={},v=function(e,t){this.N=t===Ca?e:""};v.prototype.J=!0,v.prototype.H=function(){return this.N.toString()},v.prototype.toString=function(){return"SafeUrl{"+this.N+"}"};var Da=function(e){return e instanceof v&&e.constructor===v?e.N:(ua("expected object of type SafeUrl, got '"+e+"' of type "+ka(e)),"type_error:SafeUrl")},Ea=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Fa=function(e){return e instanceof v?e:(e="object"==typeof e&&e.J?e.H():String(e),ta(Ea.test(e),"%s does not match the safe URL pattern",e)||(e="about:invalid#zClosurez"),new v(e,Ca))},Ca={},w=function(e,t,n){this.M=n===Ga?e:""};w.prototype.J=!0,w.prototype.H=function(){return this.M.toString()},w.prototype.toString=function(){return"SafeHtml{"+this.M+"}"};var Ha=function(e){return e instanceof w&&e.constructor===w?e.M:(ua("expected object of type SafeHtml, got '"+e+"' of type "+ka(e)),"type_error:SafeHtml")},Ga={},Ia=new w(m.trustedTypes&&m.trustedTypes.emptyHTML||"",0,Ga),Ja={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Ka=function(e){var t,n=!1;return function(){return n||(t=function(){if("undefined"===typeof document)return!1;var e=document.createElement("div"),t=document.createElement("div");return t.appendChild(document.createElement("div")),e.appendChild(t),!!e.firstChild&&(t=e.firstChild.firstChild,e.innerHTML=Ha(Ia),!t.parentElement)}(),n=!0),t}}(),x=window,z=document,La=x.location,Ma=function(){},Na=/\[native code\]/,A=function(e,t,n){return e[t]=e[t]||n},Oa=function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1},Pa=function(e){e=e.sort();for(var t=[],n=void 0,r=0;r<e.length;r++){var a=e[r];a!=n&&t.push(a),n=a}return t},Qa=/&/g,Ra=/</g,Sa=/>/g,Ua=/"/g,Va=/'/g,Wa=function(e){return String(e).replace(Qa,"&amp;").replace(Ra,"&lt;").replace(Sa,"&gt;").replace(Ua,"&quot;").replace(Va,"&#39;")},B=function(){var e;if((e=Object.create)&&Na.test(e))e=e(null);else for(var t in e={})e[t]=void 0;return e},C=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},Xa=function(e){if(Na.test(Object.keys))return Object.keys(e);var t,n=[];for(t in e)C(e,t)&&n.push(t);return n},D=function(e,t){for(var n in e=e||{})C(e,n)&&(t[n]=e[n])},Ya=function(e){return function(){x.setTimeout(e,0)}},E=function(e,t){if(!e)throw Error(t||"")},F=A(x,"gapi",{}),H=function(e,t,n){var r=new RegExp("([#].*&|[#])"+t+"=([^&#]*)","g");if(t=new RegExp("([?#].*&|[?#])"+t+"=([^&#]*)","g"),e=e&&(r.exec(e)||t.exec(e)))try{n=decodeURIComponent(e[2])}catch(a){}return n},Za=new RegExp(/^/.source+/([a-zA-Z][-+.a-zA-Z0-9]*:)?/.source+/(\/\/[^\/?#]*)?/.source+/([^?#]*)?/.source+/(\?([^#]*))?/.source+/(#((#|[^#])*))?/.source+/$/.source),$a=/[\ud800-\udbff][\udc00-\udfff]|[^!-~]/g,ab=new RegExp(/(%([^0-9a-fA-F%]|[0-9a-fA-F]([^0-9a-fA-F%])?)?)*/.source+/%($|[^0-9a-fA-F]|[0-9a-fA-F]($|[^0-9a-fA-F]))/.source,"g"),bb=/%([a-f]|[0-9a-fA-F][a-f])/g,cb=/^(https?|ftp|file|chrome-extension):$/i,I=function(e){e=(e=(e=String(e)).replace($a,(function(e){try{return encodeURIComponent(e)}catch(t){return encodeURIComponent(e.replace(/^[^%]+$/g,"\ufffd"))}})).replace(ab,(function(e){return e.replace(/%/g,"%25")})).replace(bb,(function(e){return e.toUpperCase()}))).match(Za)||[];var t=B(),n=function(e){return e.replace(/\\/g,"%5C").replace(/\^/g,"%5E").replace(/`/g,"%60").replace(/\{/g,"%7B").replace(/\|/g,"%7C").replace(/\}/g,"%7D")},r=!!(e[1]||"").match(cb);return t.A=n((e[1]||"")+(e[2]||"")+(e[3]||(e[2]&&r?"/":""))),r=function(e){return n(e.replace(/\?/g,"%3F").replace(/#/g,"%23"))},t.query=e[5]?[r(e[5])]:[],t.g=e[7]?[r(e[7])]:[],t},db=function(e){return e.A+(0<e.query.length?"?"+e.query.join("&"):"")+(0<e.g.length?"#"+e.g.join("&"):"")},eb=function(e,t){var n=[];if(e)for(var r in e)if(C(e,r)&&null!=e[r]){var a=t?t(e[r]):e[r];n.push(encodeURIComponent(r)+"="+encodeURIComponent(a))}return n},fb=function(e,t,n,r){return(e=I(e)).query.push.apply(e.query,eb(t,r)),e.g.push.apply(e.g,eb(n,r)),db(e)},gb=new RegExp(/\/?\??#?/.source+"("+/[\/?#]/i.source+"|"+/[\uD800-\uDBFF]/i.source+"|"+/%[c-f][0-9a-f](%[89ab][0-9a-f]){0,2}(%[89ab]?)?/i.source+"|"+/%[0-9a-f]?/i.source+")$","i"),hb=function(e,n){var r=I(n);n=r.A,r.query.length&&(n+="?"+r.query.join("")),r.g.length&&(n+="#"+r.g.join(""));var a="";2e3<n.length&&(a=n,n=(n=n.substr(0,2e3)).replace(gb,""),a=a.substr(n.length));var i=e.createElement("div");if(e=e.createElement("a"),n=(r=I(n)).A,r.query.length&&(n+="?"+r.query.join("")),r.g.length&&(n+="#"+r.g.join("")),n=new v(n,Ca),xa(e,"HTMLAnchorElement"),n=n instanceof v?n:Fa(n),e.href=Da(n),i.appendChild(e),n=i.innerHTML,r=new t(za,"Assignment to self."),va(Ba(r),"must provide justification"),ta(!/^[\s\xa0]*$/.test(Ba(r)),"must provide non-empty justification"),void 0===ya&&(ya=qa("gapi#html")),n=(r=ya)?r.createHTML(n):n,n=new w(n,null,Ga),i.tagName&&Ja[i.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+i.tagName+".");if(Ka())for(;i.lastChild;)i.removeChild(i.lastChild);return i.innerHTML=Ha(n),n=String(i.firstChild.href),i.parentNode&&i.parentNode.removeChild(i),a=(r=I(n+a)).A,r.query.length&&(a+="?"+r.query.join("")),r.g.length&&(a+="#"+r.g.join("")),a},ib=/^https?:\/\/[^\/%\\?#\s]+\/[^\s]*$/i,jb=function(e,t,n,r){x[n+"EventListener"]?x[n+"EventListener"](e,t,!1):x[r+"tachEvent"]&&x[r+"tachEvent"]("on"+e,t)},kb=function(){var e=z.readyState;return"complete"===e||"interactive"===e&&-1==navigator.userAgent.indexOf("MSIE")},nb=function(e){var t=lb;if(!kb())try{t()}catch(n){}mb(e)},mb=function(e){if(kb())e();else{var t=!1,n=function(){if(!t)return t=!0,e.apply(this,arguments)};x.addEventListener?(x.addEventListener("load",n,!1),x.addEventListener("DOMContentLoaded",n,!1)):x.attachEvent&&(x.attachEvent("onreadystatechange",(function(){kb()&&n.apply(this,arguments)})),x.attachEvent("onload",n))}},ob=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},pb={button:!0,div:!0,span:!0},K;K=A(x,"___jsl",B()),A(K,"I",0),A(K,"hel",10);var qb=function(e){return K.dpo?K.h:H(e,"jsh",K.h)},rb=function(e){var t=A(K,"sws",[]);t.push.apply(t,e)},sb=function(e){return A(K,"watt",B())[e]},tb=function(e){var t=A(K,"PQ",[]);K.PQ=[];var n=t.length;if(0===n)e();else for(var r=0,a=function(){++r===n&&e()},i=0;i<n;i++)t[i](a)},ub=function(e){return A(A(K,"H",B()),e,B())},vb=A(K,"perf",B()),wb=A(vb,"g",B()),xb=A(vb,"i",B());A(vb,"r",[]),B(),B();var yb=function(e,t,n){var r=vb.r;"function"===typeof r?r(e,t,n):r.push([e,t,n])},L=function(e,t,n){wb[e]=!t&&wb[e]||n||(new Date).getTime(),yb(e)},Ab=function(e,t,n){t&&0<t.length&&(t=zb(t),n&&0<n.length&&(t+="___"+zb(n)),28<t.length&&(t=t.substr(0,28)+(t.length-28)),n=t,t=A(xb,"_p",B()),A(t,n,B())[e]=(new Date).getTime(),yb(e,"_p",n))},zb=function(e){return e.join("__").replace(/\./g,"_").replace(/\-/g,"_").replace(/,/g,"_")},Bb=B(),N=[],O=function(e){throw Error("Bad hint"+(e?": "+e:""))};N.push(["jsl",function(e){for(var t in e)if(C(e,t)){var n=e[t];"object"==typeof n?K[t]=A(K,t,[]).concat(n):A(K,t,n)}(t=e.u)&&((e=A(K,"us",[])).push(t),(t=/^https:(.*)$/.exec(t))&&e.push("http:"+t[1]))}]);var Cb=/^(\/[a-zA-Z0-9_\-]+)+$/,Db=[/\/amp\//,/\/amp$/,/^\/amp$/],Eb=/^[a-zA-Z0-9\-_\.,!]+$/,Fb=/^gapi\.loaded_[0-9]+$/,Gb=/^[a-zA-Z0-9,._-]+$/,Kb=function(e,t,n,r){var a=e.split(";"),i=a.shift(),s=Bb[i],o=null;return s?o=s(a,t,n,r):O("no hint processor for: "+i),o||O("failed to generate load url"),n=(t=o).match(Hb),(r=t.match(Ib))&&1===r.length&&Jb.test(t)&&n&&1===n.length||O("failed sanity: "+e),o},Nb=function(e,t,n,r){e=Lb(e),Fb.test(n)||O("invalid_callback"),t=Mb(t),r=r&&r.length?Mb(r):null;var a=function(e){return encodeURIComponent(e).replace(/%2C/g,",")};return[encodeURIComponent(e.pathPrefix).replace(/%2C/g,",").replace(/%2F/g,"/"),"/k=",a(e.version),"/m=",a(t),r?"/exm="+a(r):"","/rt=j/sv=1/d=1/ed=1",e.S?"/am="+a(e.S):"",e.Z?"/rs="+a(e.Z):"",e.aa?"/t="+a(e.aa):"","/cb=",a(n)].join("")},Lb=function(e){"/"!==e.charAt(0)&&O("relative path");for(var t=e.substring(1).split("/"),n=[];t.length;){if((e=t.shift()).length&&0!=e.indexOf(".")){if(0<e.indexOf("=")){t.unshift(e);break}}else O("empty/relative directory");n.push(e)}e={};for(var r=0,a=t.length;r<a;++r){var i=t[r].split("="),s=decodeURIComponent(i[0]),o=decodeURIComponent(i[1]);2==i.length&&s&&o&&(e[s]=e[s]||o)}for(t="/"+n.join("/"),Cb.test(t)||O("invalid_prefix"),n=0,r=Db.length;n<r;++n)Db[n].test(t)&&O("invalid_prefix");return{pathPrefix:t,version:n=Ob(e,"k",!0),S:r=Ob(e,"am"),Z:a=Ob(e,"rs"),aa:e=Ob(e,"t")}},Mb=function(e){for(var t=[],n=0,r=e.length;n<r;++n){var a=e[n].replace(/\./g,"_").replace(/-/g,"_");Gb.test(a)&&t.push(a)}return t.join(",")},Ob=function(e,t,n){if(!(e=e[t])&&n&&O("missing: "+t),e){if(Eb.test(e))return e;O("invalid: "+t)}return null},Jb=/^https?:\/\/[a-z0-9_.-]+\.google(rs)?\.com(:\d+)?\/[a-zA-Z0-9_.,!=\-\/]+$/,Ib=/\/cb=/g,Hb=/\/\//g,Pb=function(){var e=qb(La.href);if(!e)throw Error("Bad hint");return e};Bb.m=function(e,t,n,r){return(e=e[0])||O("missing_hint"),"https://apis.google.com"+Nb(e,t,n,r)};var Qb=decodeURI("%73cript"),Rb=/^[-+_0-9\/A-Za-z]+={0,2}$/,Sb=function(e,t){for(var n=[],r=0;r<e.length;++r){var a=e[r];a&&0>Oa.call(t,a)&&n.push(a)}return n},Tb=function(){var e=K.nonce;return void 0!==e?e&&e===String(e)&&e.match(Rb)?e:K.nonce=null:z.querySelector&&(e=z.querySelector("script[nonce]"))?(e=e.nonce||e.getAttribute("nonce")||"")&&e===String(e)&&e.match(Rb)?K.nonce=e:K.nonce=null:null},Wb=function(e){if("loading"!=z.readyState)Ub(e);else{var t=Tb(),n="";null!==t&&(n=' nonce="'+t+'"'),e="<"+Qb+' src="'+encodeURI(e)+'"'+n+"></"+Qb+">",z.write(Vb?Vb.createHTML(e):e)}},Ub=function(e){var t=z.createElement(Qb);t.setAttribute("src",Vb?Vb.createScriptURL(e):e),null!==(e=Tb())&&t.setAttribute("nonce",e),t.async="true",(e=z.getElementsByTagName(Qb)[0])?e.parentNode.insertBefore(t,e):(z.head||z.body||z.documentElement).appendChild(t)},Xb=function(e,t){var n=t&&t._c;if(n)for(var r=0;r<N.length;r++){var a=N[r][0],i=N[r][1];i&&C(n,a)&&i(n[a],e,t)}},Zb=function(e,t,n){Yb((function(){var n=t===qb(La.href)?A(F,"_",B()):B();n=A(ub(t),"_",n),e(n)}),n)},ac=function(e,t){var n=t||{};"function"==typeof t&&((n={}).callback=t),Xb(e,n),t=e?e.split(":"):[];var r=n.h||Pb(),a=A(K,"ah",B());if(a["::"]&&t.length){e=[];for(var i=null;i=t.shift();){var s=i.split(".");s=a[i]||a[s[1]&&"ns:"+s[0]||""]||r;var o=e.length&&e[e.length-1]||null,l=o;o&&o.hint==s||(l={hint:s,V:[]},e.push(l)),l.V.push(i)}var c=e.length;if(1<c){var u=n.callback;u&&(n.callback=function(){0==--c&&u()})}for(;t=e.shift();)$b(t.V,n,t.hint)}else $b(t||[],n,r)},$b=function(e,t,n){e=Pa(e)||[];var r=t.callback,a=t.config,i=t.timeout,s=t.ontimeout,o=t.onerror,l=void 0;"function"==typeof o&&(l=o);var c=null,u=!1;if(i&&!s||!i&&s)throw"Timeout requires both the timeout parameter and ontimeout parameter to be set";o=A(ub(n),"r",[]).sort();var d=A(ub(n),"L",[]).sort(),h=[].concat(o),p=function(e,t){if(u)return 0;x.clearTimeout(c),d.push.apply(d,f);var r=((F||{}).config||{}).update;if(r?r(a):a&&A(K,"cu",[]).push(a),t){Ab("me0",e,h);try{Zb(t,n,l)}finally{Ab("me1",e,h)}}return 1};0<i&&(c=x.setTimeout((function(){u=!0,s()}),i));var f=Sb(e,d);if(f.length){f=Sb(e,o);var m=A(K,"CP",[]),g=m.length;if(m[g]=function(e){if(!e)return 0;Ab("ml1",f,h);var t=function(t){m[g]=null,p(f,e)&&tb((function(){r&&r(),t()}))},n=function(){var e=m[g+1];e&&e()};0<g&&m[g-1]?m[g]=function(){t(n)}:t(n)},f.length){var v="loaded_"+K.I++;F[v]=function(e){m[g](e),F[v]=null},e=Kb(n,f,"gapi."+v,o),o.push.apply(o,f),Ab("ml0",f,h),t.sync||x.___gapisync?Wb(e):Ub(e)}else m[g](Ma)}else p(f)&&r&&r()},Vb=qa("gapi#gapi"),Yb=function(e,t){if(K.hee&&0<K.hel)try{return e()}catch(n){t&&t(n),K.hel--,ac("debug_error",(function(){try{window.___jsl.hefn(n)}catch(e){throw n}}))}else try{return e()}catch(n){throw t&&t(n),n}};F.load=function(e,t){return Yb((function(){return ac(e,t)}))};var bc=function(e){var t=window.___jsl=window.___jsl||{};return t[e]=t[e]||[],t[e]},cc=function(e){var t=window.___jsl=window.___jsl||{};return t.cfg=!e&&t.cfg||{},t.cfg},dc=function(e){return"object"===typeof e&&/\[native code\]/.test(e.push)},P=function(e,t,n){if(t&&"object"===typeof t)for(var r in t)!Object.prototype.hasOwnProperty.call(t,r)||n&&"___goc"===r&&"undefined"===typeof t[r]||(e[r]&&t[r]&&"object"===typeof e[r]&&"object"===typeof t[r]&&!dc(e[r])&&!dc(t[r])?P(e[r],t[r]):t[r]&&"object"===typeof t[r]?(e[r]=dc(t[r])?[]:{},P(e[r],t[r])):e[r]=t[r])},ec=function(e){if(e&&!/^\s+$/.test(e)){for(;0==e.charCodeAt(e.length-1);)e=e.substring(0,e.length-1);try{var t=window.JSON.parse(e)}catch(n){}if("object"===typeof t)return t;try{t=new Function("return ("+e+"\n)")()}catch(n){}if("object"===typeof t)return t;try{t=new Function("return ({"+e+"\n})")()}catch(n){}return"object"===typeof t?t:{}}},fc=function(e,t){var n={___goc:void 0};e.length&&e[e.length-1]&&Object.hasOwnProperty.call(e[e.length-1],"___goc")&&"undefined"===typeof e[e.length-1].___goc&&(n=e.pop()),P(n,t),e.push(n)},gc=function(e){cc(!0);var t=window.___gcfg,n=bc("cu"),r=window.___gu;t&&t!==r&&(fc(n,t),window.___gu=t),t=bc("cu");var a=document.scripts||document.getElementsByTagName("script")||[];r=[];var i=[];i.push.apply(i,bc("us"));for(var s=0;s<a.length;++s)for(var o=a[s],l=0;l<i.length;++l)o.src&&0==o.src.indexOf(i[l])&&r.push(o);for(0==r.length&&0<a.length&&a[a.length-1].src&&r.push(a[a.length-1]),a=0;a<r.length;++a)r[a].getAttribute("gapi_processed")||(r[a].setAttribute("gapi_processed",!0),(i=r[a])?i=3==(s=i.nodeType)||4==s?i.nodeValue:i.textContent||i.innerText||i.innerHTML||"":i=void 0,(i=ec(i))&&t.push(i));for(e&&fc(n,e),e=0,t=(r=bc("cd")).length;e<t;++e)P(cc(),r[e],!0);for(e=0,t=(r=bc("ci")).length;e<t;++e)P(cc(),r[e],!0);for(e=0,t=n.length;e<t;++e)P(cc(),n[e],!0)},Q=function(e){var t=cc();if(!e)return t;for(var n=0,r=(e=e.split("/")).length;t&&"object"===typeof t&&n<r;++n)t=t[e[n]];return n===e.length&&void 0!==t?t:void 0},hc=function(e,t){var n;if("string"===typeof e){for(var r=n={},a=0,i=(e=e.split("/")).length;a<i-1;++a){r=r[e[a]]={}}r[e[a]]=t}else n=e;gc(n)},ic=function(){var e=window.__GOOGLEAPIS;e&&(e.googleapis&&!e["googleapis.config"]&&(e["googleapis.config"]=e.googleapis),A(K,"ci",[]).push(e),window.__GOOGLEAPIS=void 0)},jc={callback:1,clientid:1,cookiepolicy:1,openidrealm:-1,includegrantedscopes:-1,requestvisibleactions:1,scope:1},kc=!1,lc=B(),mc=function(){if(!kc){for(var e=document.getElementsByTagName("meta"),t=0;t<e.length;++t){var n=e[t].name.toLowerCase();if(0==n.lastIndexOf("google-signin-",0)){n=n.substring(14);var r=e[t].content;jc[n]&&r&&(lc[n]=r)}}if(window.self!==window.top)for(var a in e=document.location.toString(),jc)0<jc[a]&&(t=H(e,a,""))&&(lc[a]=t);kc=!0}return a=B(),D(lc,a),a},nc=function(e){return!!(e.clientid&&e.scope&&e.callback)},oc=window.console,pc=function(e){oc&&oc.log&&oc.log(e)},qc=function(){return!!K.oa},rc=function(){},R=A(K,"rw",B()),sc=function(e){for(var t in R)e(R[t])},tc=function(e,t){(e=R[e])&&e.state<t&&(e.state=t)},uc,vc=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,wc=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/b\/(\d{10,21})\//,xc=function(e){var t=Q("googleapis.config/sessionIndex");if("string"===typeof t&&254<t.length&&(t=null),null==t&&(t=window.__X_GOOG_AUTHUSER),"string"===typeof t&&254<t.length&&(t=null),null==t){var n=window.google;n&&(t=n.authuser)}return"string"===typeof t&&254<t.length&&(t=null),null==t&&(e=e||window.location.href,null==(t=H(e,"authuser")||null)&&(t=(t=e.match(vc))?t[1]:null)),null==t?null:(254<(t=String(t)).length&&(t=null),t)},yc=function(e){var t=Q("googleapis.config/sessionDelegate");return"string"===typeof t&&21<t.length&&(t=null),null==t&&(t=(e=(e||window.location.href).match(wc))?e[1]:null),null==t?null:(21<(t=String(t)).length&&(t=null),t)},zc,S,T=void 0,U=function(e){try{return m.JSON.parse.call(m.JSON,e)}catch(t){return!1}},V=function(e){return Object.prototype.toString.call(e)},Ac=V(0),Bc=V(new Date(0)),Cc=V(!0),Dc=V(""),Ec=V({}),Fc=V([]),W=function(e,t){if(t)for(var n=0,r=t.length;n<r;++n)if(e===t[n])throw new TypeError("Converting circular structure to JSON");if("undefined"!==(r=typeof e)){(n=Array.prototype.slice.call(t||[],0))[n.length]=e,t=[];var a=V(e);if(null!=e&&"function"===typeof e.toJSON&&(Object.prototype.hasOwnProperty.call(e,"toJSON")||(a!==Fc||e.constructor!==Array&&e.constructor!==Object)&&(a!==Ec||e.constructor!==Array&&e.constructor!==Object)&&a!==Dc&&a!==Ac&&a!==Cc&&a!==Bc))return W(e.toJSON.call(e),n);if(null==e)t[t.length]="null";else if(a===Ac)e=Number(e),isNaN(e)||isNaN(e-e)?e="null":-0===e&&0>1/e&&(e="-0"),t[t.length]=String(e);else if(a===Cc)t[t.length]=String(!!Number(e));else{if(a===Bc)return W(e.toISOString.call(e),n);if(a===Fc&&V(e.length)===Ac){t[t.length]="[";var i=0;for(r=Number(e.length)>>0;i<r;++i)i&&(t[t.length]=","),t[t.length]=W(e[i],n)||"null";t[t.length]="]"}else if(a==Dc&&V(e.length)===Ac){for(t[t.length]='"',i=0,n=Number(e.length)>>0;i<n;++i)r=String.prototype.charAt.call(e,i),a=String.prototype.charCodeAt.call(e,i),t[t.length]="\b"===r?"\\b":"\f"===r?"\\f":"\n"===r?"\\n":"\r"===r?"\\r":"\t"===r?"\\t":"\\"===r||'"'===r?"\\"+r:31>=a?"\\u"+(a+65536).toString(16).substr(1):32<=a&&65535>=a?r:"\ufffd";t[t.length]='"'}else{if("object"!==r)return;for(i in t[t.length]="{",r=0,e)Object.prototype.hasOwnProperty.call(e,i)&&(void 0!==(a=W(e[i],n))&&(r++&&(t[t.length]=","),t[t.length]=W(i),t[t.length]=":",t[t.length]=a));t[t.length]="}"}}return t.join("")}},Gc=/[\0-\x07\x0b\x0e-\x1f]/,Hc=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*[\0-\x1f]/,Ic=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\[^\\\/"bfnrtu]/,Jc=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\u([0-9a-fA-F]{0,3}[^0-9a-fA-F])/,Kc=/"([^\0-\x1f\\"]|\\[\\\/"bfnrt]|\\u[0-9a-fA-F]{4})*"/g,Lc=/-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][-+]?[0-9]+)?/g,Mc=/[ \t\n\r]+/g,Nc=/[^"]:/,Oc=/""/g,Pc=/true|false|null/g,Qc=/00/,Rc=/[\{]([^0\}]|0[^:])/,Sc=/(^|\[)[,:]|[,:](\]|\}|[,:]|$)/,Tc=/[^\[,:][\[\{]/,Uc=/^(\{|\}|\[|\]|,|:|0)+/,Vc=/\u2028/g,Wc=/\u2029/g,Xc=function(a){if(a=String(a),Gc.test(a)||Hc.test(a)||Ic.test(a)||Jc.test(a))return!1;var b=a.replace(Kc,'""');if(b=b.replace(Lc,"0"),b=b.replace(Mc,""),Nc.test(b))return!1;if(b=b.replace(Oc,"0"),b=b.replace(Pc,"0"),Qc.test(b)||Rc.test(b)||Sc.test(b)||Tc.test(b)||!b||(b=b.replace(Uc,"")))return!1;a=a.replace(Vc,"\\u2028").replace(Wc,"\\u2029"),b=void 0;try{b=T?[U(a)]:eval("(function (var_args) {\n  return Array.prototype.slice.call(arguments, 0);\n})(\n"+a+"\n)")}catch(c){return!1}return!(!b||1!==b.length)&&b[0]},Yc=function(){var e=((m.document||{}).scripts||[]).length;if((void 0===zc||void 0===T||S!==e)&&-1!==S){zc=T=!1,S=-1;try{try{T=!!m.JSON&&'{"a":[3,true,"1970-01-01T00:00:00.000Z"]}'===m.JSON.stringify.call(m.JSON,{a:[3,!0,new Date(0)],c:function(){}})&&!0===U("true")&&3===U('[{"a":3}]')[0].a}catch(t){}zc=T&&!U("[00]")&&!U('"\x07"')&&!U('"\\0"')&&!U('"\\v"')}finally{S=e}}},Zc=function(e){return-1!==S&&(Yc(),(zc?U:Xc)(e))},$c=function(e){if(-1!==S)return Yc(),T?m.JSON.stringify.call(m.JSON,e):W(e)},ad=!Date.prototype.toISOString||"function"!==typeof Date.prototype.toISOString||"1970-01-01T00:00:00.000Z"!==new Date(0).toISOString(),bd=function(){var e=Date.prototype.getUTCFullYear.call(this);return[0>e?"-"+String(1e6-e).substr(1):9999>=e?String(1e4+e).substr(1):"+"+String(1e6+e).substr(1),"-",String(101+Date.prototype.getUTCMonth.call(this)).substr(1),"-",String(100+Date.prototype.getUTCDate.call(this)).substr(1),"T",String(100+Date.prototype.getUTCHours.call(this)).substr(1),":",String(100+Date.prototype.getUTCMinutes.call(this)).substr(1),":",String(100+Date.prototype.getUTCSeconds.call(this)).substr(1),".",String(1e3+Date.prototype.getUTCMilliseconds.call(this)).substr(1),"Z"].join("")};Date.prototype.toISOString=ad?bd:Date.prototype.toISOString;var cd=function(){this.j=-1},dd=function(){this.j=64,this.b=[],this.G=[],this.da=[],this.C=[],this.C[0]=128;for(var e=1;e<this.j;++e)this.C[e]=0;this.D=this.o=0,this.reset()};oa(dd,cd),dd.prototype.reset=function(){this.b[0]=1732584193,this.b[1]=4023233417,this.b[2]=2562383102,this.b[3]=271733878,this.b[4]=3285377520,this.D=this.o=0};var ed=function(e,t,n){n||(n=0);var r=e.da;if("string"===typeof t)for(var a=0;16>a;a++)r[a]=t.charCodeAt(n)<<24|t.charCodeAt(n+1)<<16|t.charCodeAt(n+2)<<8|t.charCodeAt(n+3),n+=4;else for(a=0;16>a;a++)r[a]=t[n]<<24|t[n+1]<<16|t[n+2]<<8|t[n+3],n+=4;for(a=16;80>a;a++){var i=r[a-3]^r[a-8]^r[a-14]^r[a-16];r[a]=4294967295&(i<<1|i>>>31)}t=e.b[0],n=e.b[1];var s=e.b[2],o=e.b[3],l=e.b[4];for(a=0;80>a;a++){if(40>a)if(20>a){i=o^n&(s^o);var c=1518500249}else i=n^s^o,c=1859775393;else 60>a?(i=n&s|o&(n|s),c=2400959708):(i=n^s^o,c=3395469782);i=(t<<5|t>>>27)+i+l+c+r[a]&4294967295,l=o,o=s,s=4294967295&(n<<30|n>>>2),n=t,t=i}e.b[0]=e.b[0]+t&4294967295,e.b[1]=e.b[1]+n&4294967295,e.b[2]=e.b[2]+s&4294967295,e.b[3]=e.b[3]+o&4294967295,e.b[4]=e.b[4]+l&4294967295};dd.prototype.update=function(e,t){if(null!=e){void 0===t&&(t=e.length);for(var n=t-this.j,r=0,a=this.G,i=this.o;r<t;){if(0==i)for(;r<=n;)ed(this,e,r),r+=this.j;if("string"===typeof e){for(;r<t;)if(a[i]=e.charCodeAt(r),++r,++i==this.j){ed(this,a),i=0;break}}else for(;r<t;)if(a[i]=e[r],++r,++i==this.j){ed(this,a),i=0;break}}this.o=i,this.D+=t}},dd.prototype.digest=function(){var e=[],t=8*this.D;56>this.o?this.update(this.C,56-this.o):this.update(this.C,this.j-(this.o-56));for(var n=this.j-1;56<=n;n--)this.G[n]=255&t,t/=256;for(ed(this,this.G),n=t=0;5>n;n++)for(var r=24;0<=r;r-=8)e[t]=this.b[n]>>r&255,++t;return e};var fd=function(){this.O=new dd};fd.prototype.reset=function(){this.O.reset()};var gd=x.crypto,hd=!1,id=0,jd=0,kd=1,ld=0,md="",nd=function(e){var t=(e=e||x.event).screenX+e.clientX<<16;t+=e.screenY+e.clientY,t*=(new Date).getTime()%1e6,kd=kd*t%ld,0<id&&++jd==id&&jb("mousemove",nd,"remove","de")},od=function(e){for(var t=new fd,n=[],r=0,a=(e=unescape(encodeURIComponent(e))).length;r<a;++r)n.push(e.charCodeAt(r));for(t.O.update(n),t=t.O.digest(),e="",n=0;n<t.length;n++)e+="0123456789ABCDEF".charAt(Math.floor(t[n]/16))+"0123456789ABCDEF".charAt(t[n]%16);return e};hd=!!gd&&"function"==typeof gd.getRandomValues,hd||(ld=1e6*(screen.width*screen.width+screen.height),md=od(z.cookie+"|"+z.location+"|"+(new Date).getTime()+"|"+Math.random()),id=Q("random/maxObserveMousemove")||0,0!=id&&jb("mousemove",nd,"add","at"));var pd=function(){var e=kd;return e+=parseInt(md.substr(0,20),16),md=od(md),e/(ld+Math.pow(16,20))},qd=function(){var e=new x.Uint32Array(1);return gd.getRandomValues(e),Number("0."+e[0])},rd=function(){var e=K.onl;if(!e){e=B(),K.onl=e;var t=B();e.e=function(e){var n=t[e];n&&(delete t[e],n())},e.a=function(e,n){t[e]=n},e.r=function(e){delete t[e]}}return e},sd=function(e,t){return"function"===typeof(t=t.onload)?(rd().a(e,t),t):null},td=function(e){return E(/^\w+$/.test(e),"Unsupported id - "+e),rd(),'onload="window.___jsl.onl.e(&#34;'+e+'&#34;)"'},ud=function(e){rd().r(e)},vd={allowtransparency:"true",frameborder:"0",hspace:"0",marginheight:"0",marginwidth:"0",scrolling:"no",style:"",tabindex:"0",vspace:"0",width:"100%"},wd={allowtransparency:!0,onload:!0},xd=0,yd=function(e){E(!e||ib.test(e),"Illegal url for new iframe - "+e)},zd=function(e,t,n,r,a){yd(n.src);var i,s=sd(r,n),o=s?td(r):"";try{document.all&&(i=e.createElement('<iframe frameborder="'+Wa(String(n.frameborder))+'" scrolling="'+Wa(String(n.scrolling))+'" '+o+' name="'+Wa(String(n.name))+'"/>'))}catch(c){}finally{i||(i=e.createElement("iframe"),s&&(i.onload=function(){i.onload=null,s.call(this)},ud(r)))}for(var l in i.setAttribute("ng-non-bindable",""),n)e=n[l],"style"===l&&"object"===typeof e?D(e,i.style):wd[l]||i.setAttribute(l,String(e));return(l=a&&a.beforeNode||null)||a&&a.dontclear||ob(t),t.insertBefore(i,l),i=l?l.previousSibling:t.lastChild,n.allowtransparency&&(i.allowTransparency=!0),i},Ad=/^:[\w]+$/,Bd=/:([a-zA-Z_]+):/g,Cd=function(){var e=xc()||"0",t=yc(),n=xc(void 0)||e,r=yc(void 0),a="";n&&(a+="u/"+encodeURIComponent(String(n))+"/"),r&&(a+="b/"+encodeURIComponent(String(r))+"/"),n=a||null,(a=(r=!1===Q("isLoggedIn"))?"_/im/":"")&&(n="");var i=Q("iframes/:socialhost:"),s=Q("iframes/:im_socialhost:");return uc={socialhost:i,ctx_socialhost:r?s:i,session_index:e,session_delegate:t,session_prefix:n,im_prefix:a}},Dd=function(e,t){return Cd()[t]||""},Ed=function(e){return function(t,n){return e?Cd()[n]||e[n]||"":Cd()[n]||""}},Fd=function(e){var t;return e.match(/^https?%3A/i)&&(t=decodeURIComponent(e)),hb(document,t||e)},Gd=function(e){e=e||"canonical";for(var t=document.getElementsByTagName("link"),n=0,r=t.length;n<r;n++){var a=t[n],i=a.getAttribute("rel");if(i&&i.toLowerCase()==e&&(a=a.getAttribute("href"))&&(a=Fd(a))&&null!=a.match(/^https?:\/\/[\w\-_\.]+/i))return a}return window.location.href},Hd={se:"0"},Id={post:!0},Jd={style:"position:absolute;top:-10000px;width:450px;margin:0px;border-style:none"},Kd="onPlusOne _ready _close _open _resizeMe _renderstart oncircled drefresh erefresh".split(" "),Ld=A(K,"WI",B()),Md=function(e,t,n){var r,a={},i=r=e;for(var s in"plus"==e&&t.action&&(r=e+"_"+t.action,i=e+"/"+t.action),(r=Q("iframes/"+r+"/url"))||(r=":im_socialhost:/:session_prefix::im_prefix:_/widget/render/"+i+"?usegapi=1"),Hd)a[s]=s+"/"+(t[s]||Hd[s])+"/";if(a=hb(z,r.replace(Bd,Ed(a))),s="iframes/"+e+"/params/",D(t,i={}),(r=Q("lang")||Q("gwidget/lang"))&&(i.hl=r),Id[e]||(i.origin=window.location.origin||window.location.protocol+"//"+window.location.host),i.exp=Q(s+"exp"),s=Q(s+"location"))for(r=0;r<s.length;r++){var o=s[r];i[o]=x.location[o]}switch(e){case"plus":case"follow":s=i.href,r=t.action?void 0:"publisher",s=(s="string"==typeof s?s:void 0)?Fd(s):Gd(r),i.url=s,delete i.href;break;case"plusone":s=(s=t.href)?Fd(s):Gd(),i.url=s,s=t.db,r=Q(),null==s&&r&&(null==(s=r.db)&&(s=r.gwidget&&r.gwidget.db)),i.db=s||void 0,s=t.ecp,r=Q(),null==s&&r&&(null==(s=r.ecp)&&(s=r.gwidget&&r.gwidget.ecp)),i.ecp=s||void 0,delete i.href;break;case"signin":i.url=Gd()}for(var l in K.ILI&&(i.iloader="1"),delete i["data-onload"],delete i.rd,Hd)i[l]&&delete i[l];for(var c in i.gsrc=Q("iframes/:source:"),"undefined"!==typeof(l=Q("inline/css"))&&0<n&&l>=n&&(i.ic="1"),l=/^#|^fr-/,n={},i)C(i,c)&&l.test(c)&&(n[c.replace(l,"")]=i[c],delete i[c]);for(var u in c="q"==Q("iframes/"+e+"/params/si")?i:n,l=mc())!C(l,u)||C(i,u)||C(n,u)||(c[u]=l[u]);for(var d in u=[].concat(Kd),(c=Q("iframes/"+e+"/methods"))&&"object"===typeof c&&Na.test(c.push)&&(u=u.concat(c)),t)C(t,d)&&/^on/.test(d)&&("plus"!=e||"onconnect"!=d)&&(u.push(d),delete i[d]);return delete i.callback,n._methods=u.join(","),fb(a,i,n)},Nd=["style","data-gapiscan"],Pd=function(e){for(var t=B(),n=0!=e.nodeName.toLowerCase().indexOf("g:"),r=0,a=e.attributes.length;r<a;r++){var i=e.attributes[r],s=i.name,o=i.value;0<=Oa.call(Nd,s)||n&&0!=s.indexOf("data-")||"null"===o||"specified"in i&&!i.specified||(n&&(s=s.substr(5)),t[s.toLowerCase()]=o)}return e=e.style,(n=Od(e&&e.height))&&(t.height=String(n)),(e=Od(e&&e.width))&&(t.width=String(e)),t},Od=function(e){var t=void 0;return"number"===typeof e?t=e:"string"===typeof e&&(t=parseInt(e,10)),t},Rd=function(){var e=K.drw;sc((function(t){if(e!==t.id&&4!=t.state&&"share"!=t.type){var n=t.id,r=t.type,a=t.url;t=t.userParams;var i=z.getElementById(n);if(i){var s=Md(r,t,0);s?(i=i.parentNode,a.replace(/#.*/,"").replace(/(\?|&)ic=1/,"")!==s.replace(/#.*/,"").replace(/(\?|&)ic=1/,"")&&(t.dontclear=!0,t.rd=!0,t.ri=!0,t.type=r,Qd(i,t),(r=R[i.lastChild.id])&&(r.oid=n),tc(n,4))):delete R[n]}else delete R[n]}}))},Sd,Td,X,Ud,Vd,Wd=/(?:^|\s)g-((\S)*)(?:$|\s)/,Xd={plusone:!0,autocomplete:!0,profile:!0,signin:!0,signin2:!0};Sd=A(K,"SW",B()),Td=A(K,"SA",B()),X=A(K,"SM",B()),Ud=A(K,"FW",[]),Vd=null;var Zd=function(e,t){Yd(void 0,!1,e,t)},Yd=function(e,t,n,r){L("ps0",!0),n=("string"===typeof n?document.getElementById(n):n)||z;var a=z.documentMode;if(n.querySelectorAll&&(!a||8<a)){a=r?[r]:Xa(Sd).concat(Xa(Td)).concat(Xa(X));for(var i=[],s=0;s<a.length;s++){var o=a[s];i.push(".g-"+o,"g\\:"+o)}a=n.querySelectorAll(i.join(","))}else a=n.getElementsByTagName("*");for(n=B(),i=0;i<a.length;i++){var l=s=a[i];o=r;var c=l.nodeName.toLowerCase(),u=void 0;if(l.getAttribute("data-gapiscan"))o=null;else{var d=c.indexOf("g:");0==d?u=c.substr(2):(d=(d=String(l.className||l.getAttribute("class")))&&Wd.exec(d))&&(u=d[1]),o=!u||!(Sd[u]||Td[u]||X[u])||o&&u!==o?null:u}o&&(Xd[o]||0==s.nodeName.toLowerCase().indexOf("g:")||0!=Xa(Pd(s)).length)&&(s.setAttribute("data-gapiscan",!0),A(n,o,[]).push(s))}if(t)for(var h in n)for(t=n[h],r=0;r<t.length;r++)t[r].setAttribute("data-onload",!0);for(var p in n)Ud.push(p);if(L("ps1",!0),(h=Ud.join(":"))||e)try{F.load(h,e)}catch(m){return void pc(m)}if($d(Vd||{}))for(var f in n){for(p=0,t=(e=n[f]).length;p<t;p++)e[p].removeAttribute("data-gapiscan");ae(f)}else{for(f in r=[],n)for(p=0,t=(e=n[f]).length;p<t;p++)a=e[p],be(f,a,Pd(a),r,t);ce(h,r)}},de=function(e){var t=A(F,e,{});t.go||(t.go=function(t){return Zd(t,e)},t.render=function(t,n){return(n=n||{}).type=e,Qd(t,n)})},ee=function(e){Sd[e]=!0},fe=function(e){Td[e]=!0},ge=function(e){X[e]=!0},ae=function(e,t){var n=sb(e);t&&n?(n(t),(n=t.iframeNode)&&n.setAttribute("data-gapiattached",!0)):F.load(e,(function(){var n=sb(e),r=t&&t.iframeNode,a=t&&t.userParams;r&&n?(n(t),r.setAttribute("data-gapiattached",!0)):(n=F[e].go)("signin2"==e?r:r&&r.parentNode,a)}))},$d=function(){return!1},ce=function(){},be=function(e,t,n,r,a,i,s){switch(he(t,e,i)){case 0:e=X[e]?e+"_annotation":e,(r={}).iframeNode=t,r.userParams=n,ae(e,r);break;case 1:if(t.parentNode){for(var o in n)if((i=C(n,o))&&(i=!!(i=n[o])&&"object"===typeof i&&(!i.toString||i.toString===Object.prototype.toString||i.toString===Array.prototype.toString)),i)try{n[o]=$c(n[o])}catch(f){delete n[o]}if(i=!0,n.dontclear&&(i=!1),delete n.dontclear,rc(),o=Md(e,n,a),(a=s||{}).allowPost=1,a.attributes=Jd,a.dontclear=!i,(s={}).userParams=n,s.url=o,s.type=e,n.rd)var l=t;else l=document.createElement("div"),t.setAttribute("data-gapistub",!0),l.style.cssText="position:absolute;width:450px;left:-10000px;",t.parentNode.insertBefore(l,t);s.siteElement=l,l.id||(t=l,A(Ld,e,0),i="___"+e+"_"+Ld[e]++,t.id=i),(t=B())[">type"]=e,D(n,t),i=o,n=l,t=(o=a||{}).attributes||{},E(!(o.allowPost||o.forcePost)||!t.onload,"onload is not supported by post iframe (allowPost or forcePost)"),a=t=i,Ad.test(t)&&(a=Q("iframes/"+a.substring(1)+"/url"),E(!!a,"Unknown iframe url config for - "+t)),i=hb(z,a.replace(Bd,Dd)),t=n.ownerDocument||z,l=0;do{a=o.id||["I",xd++,"_",(new Date).getTime()].join("")}while(t.getElementById(a)&&5>++l);E(5>l,"Error creating iframe id"),l={};var c={};t.documentMode&&9>t.documentMode&&(l.hostiemode=t.documentMode),D(o.queryParams||{},l),D(o.fragmentParams||{},c);var u=o.pfname,d=B();Q("iframes/dropLegacyIdParam")||(d.id=a),d._gfid=a,d.parent=t.location.protocol+"//"+t.location.host;var h=H(t.location.href,"parent");if(!(u=u||"")&&h&&(h=H(t.location.href,"_gfid","")||H(t.location.href,"id",""),u=H(t.location.href,"pfname",""),u=h?u+"/"+h:""),u||(h=Zc(H(t.location.href,"jcp","")))&&"object"==typeof h&&(u=(u=h.id)?h.pfname+"/"+u:""),d.pfname=u,o.connectWithJsonParam&&((h={}).jcp=$c(d),d=h),(h=H(i,"rpctoken")||l.rpctoken||c.rpctoken)||(h=o.rpctoken||String(Math.round(1e8*(hd?qd():pd()))),d.rpctoken=h),o.rpctoken=h,D(d,o.connectWithQueryParams?l:c),h=t.location.href,d=B(),(u=H(h,"_bsh",K.bsh))&&(d._bsh=u),(h=qb(h))&&(d.jsh=h),o.hintInFragment?D(d,c):D(d,l),i=fb(i,l,c,o.paramsSerializer),c=B(),D(vd,c),D(o.attributes,c),c.name=c.id=a,c.src=i,o.eurl=i,d=!!(l=o||{}).allowPost,l.forcePost||d&&2e3<i.length){if(l=I(i),c.src="",o.dropDataPostorigin||(c["data-postorigin"]=i),i=zd(t,n,c,a),-1!=navigator.userAgent.indexOf("WebKit")){var p=i.contentWindow.document;p.open(),c=p.createElement("div"),(d={}).name=h=a+"_inner",d.src="",d.style="display:none",zd(t,c,d,h,o)}for(c=(o=l.query[0])?o.split("&"):[],o=[],d=0;d<c.length;d++)h=c[d].split("=",2),o.push([decodeURIComponent(h[0]),decodeURIComponent(h[1])]);for(l.query=[],c=db(l),E(ib.test(c),"Invalid URL: "+c),(l=t.createElement("form")).method="POST",l.target=a,l.style.display="none",a=c instanceof v?c:Fa(c),xa(l,"HTMLFormElement").action=Da(a),a=0;a<o.length;a++)(c=t.createElement("input")).type="hidden",c.name=o[a][0],c.value=o[a][1],l.appendChild(c);n.appendChild(l),l.submit(),l.parentNode.removeChild(l),p&&p.close(),p=i}else p=zd(t,n,c,a,o);s.iframeNode=p,s.id=p.getAttribute("id"),p=s.id,(n=B()).id=p,n.userParams=s.userParams,n.url=s.url,n.type=s.type,n.state=1,R[p]=n,p=s}else p=null;p&&((s=p.id)&&r.push(s),ae(e,p))}},he=function(e,t,n){if(e&&1===e.nodeType&&t){if(n)return 1;if(X[t]){if(pb[e.nodeName.toLowerCase()])return(e=e.innerHTML)&&e.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")?0:1}else{if(Td[t])return 0;if(Sd[t])return 1}}return null},Qd=function(e,t){var n=t.type;delete t.type;var r=("string"===typeof e?document.getElementById(e):e)||void 0;if(r){for(var a in e={},t)C(t,a)&&(e[a.toLowerCase()]=t[a]);e.rd=1,(t=!!e.ri)&&delete e.ri,be(n,r,e,a=[],0,t,void 0),ce(n,a)}else pc("string"==="gapi."+n+".render: missing element "+typeof e?e:"")};A(F,"platform",{}).go=Zd,$d=function(e){for(var t=["_c","jsl","h"],n=0;n<t.length&&e;n++)e=e[t[n]];return t=qb(La.href),!e||0!=e.indexOf("n;")&&0!=t.indexOf("n;")&&e!==t},ce=function(e,t){ie(e,t)};var lb=function(e){Yd(e,!0)},je=function(e,t){t=t||[];for(var n=0;n<t.length;++n)e(t[n]);for(e=0;e<t.length;e++)de(t[e])};N.push(["platform",function(e,t,n){if(Vd=n,t&&Ud.push(t),je(ee,e),je(fe,n._c.annotation),je(ge,n._c.bimodal),ic(),gc(),"explicit"!=Q("parsetags")){if(rb(e),nc(mc())&&!Q("disableRealtimeCallback")&&rc(),n&&(e=n.callback)){var r=Ya(e);delete n.callback}nb((function(){lb(r)}))}}]),F._pl=!0;var ke=function(e){if(e=(e=R[e])?e.oid:void 0){var t=z.getElementById(e);t&&t.parentNode.removeChild(t),delete R[e],ke(e)}},le=/^\{h:'/,me=/^!_/,ne="",ie=function(e,t){function n(){jb("message",r,"remove","de")}function r(r){var i=r.data,s=r.origin;if(oe(i,t)){var o=a;a=!1,o&&L("rqe"),pe(e,(function(){o&&L("rqd"),n();for(var e=A(K,"RPMQ",[]),t=0;t<e.length;t++)e[t]({data:i,origin:s})}))}}if(0!==t.length){ne=H(La.href,"pfname","");var a=!0;jb("message",r,"add","at"),ac(e,n)}},oe=function(e,t){if(e=String(e),le.test(e))return!0;var n=!1;if(me.test(e)&&(n=!0,e=e.substr(2)),!/^\{/.test(e))return!1;var r=Zc(e);if(!r)return!1;if(e=r.f,r.s&&e&&-1!=Oa.call(t,e)){if(("_renderstart"===r.s||r.s===ne+"/"+e+"::_renderstart")&&(r=r.a&&r.a[n?0:1],t=z.getElementById(e),tc(e,2),r&&t&&r.width&&r.height)){e:{if(n=t.parentNode,e=r||{},qc()){var a=t.id;if(a){if(1===(r=(r=R[a])?r.state:void 0)||4===r)break e;ke(a)}}(r=n.nextSibling)&&r.getAttribute&&r.getAttribute("data-gapistub")&&(n.parentNode.removeChild(r),n.style.cssText=""),r=e.width;var i=e.height,s=n.style;s.textIndent="0",s.margin="0",s.padding="0",s.background="transparent",s.borderStyle="none",s.cssFloat="none",s.styleFloat="none",s.lineHeight="normal",s.fontSize="1px",s.verticalAlign="baseline",(n=n.style).display="inline-block",(s=t.style).position="static",s.left="0",s.top="0",s.visibility="visible",r&&(n.width=s.width=r+"px"),i&&(n.height=s.height=i+"px"),e.verticalAlign&&(n.verticalAlign=e.verticalAlign),a&&tc(a,3)}t["data-csi-wdt"]=(new Date).getTime()}return!0}return!1},pe=function(e,t){ac(e,t)},qe=function(e,t){this.L=e,e=t||{},this.fa=Number(e.maxAge)||0,this.U=e.domain,this.X=e.path,this.ga=!!e.secure};qe.prototype.read=function(){for(var e=this.L+"=",t=document.cookie.split(/;\s*/),n=0;n<t.length;++n){var r=t[n];if(0==r.indexOf(e))return r.substr(e.length)}},qe.prototype.write=function(e,t){if(!re.test(this.L))throw"Invalid cookie name";if(!se.test(e))throw"Invalid cookie value";if(e=this.L+"="+e,this.U&&(e+=";domain="+this.U),this.X&&(e+=";path="+this.X),0<=(t="number"===typeof t?t:this.fa)){var n=new Date;n.setSeconds(n.getSeconds()+t),e+=";expires="+n.toUTCString()}return this.ga&&(e+=";secure"),document.cookie=e,!0},qe.prototype.clear=function(){this.write("",0)};var se=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,re=/^[A-Z_][A-Z0-9_]{0,63}$/;qe.iterate=function(e){for(var t=document.cookie.split(/;\s*/),n=0;n<t.length;++n){var r=t[n].split("=");e(r.shift(),r.join("="))}};var te=function(e){this.B=e};te.prototype.read=function(){if(Y.hasOwnProperty(this.B))return Y[this.B]},te.prototype.write=function(e){return Y[this.B]=e,!0},te.prototype.clear=function(){delete Y[this.B]};var Y={};te.iterate=function(e){for(var t in Y)Y.hasOwnProperty(t)&&e(t,Y[t])};var ue="https:"===window.location.protocol,ve=ue||"http:"===window.location.protocol?qe:te,we=function(e){var t=e.substr(1),n="",r=window.location.hostname;if(""!==t){if(n=parseInt(t,10),isNaN(n))return null;if((t=r.split(".")).length<n-1)return null;t.length==n-1&&(r="."+r)}else r="";return{i:"S"==e.charAt(0),domain:r,l:n}},xe=function(){var e,t=null;return ve.iterate((function(n,r){0===n.indexOf("G_AUTHUSER_")&&(n=we(n.substring(11)),!e||n.i&&!e.i||n.i==e.i&&n.l>e.l)&&(e=n,t=r)})),{ea:e,F:t}},ye=function(e){if(0!==e.indexOf("GCSC"))return null;var t={W:!1};if(!(e=e.substr(4)))return t;var n=e.charAt(0),r=(e=e.substr(1)).lastIndexOf("_");if(-1==r)return t;var a=we(e.substr(r+1));return null==a||"_"!==(e=e.substring(0,r)).charAt(0)||!(r="E"===n&&a.i)&&("U"!==n||a.i)||r&&!ue?t:{W:!0,i:r,ja:e.substr(1),domain:a.domain,l:a.l}},ze=function(e){return e&&(e=e.split("="))[1]?e[1].split("|"):[]},Ae=function(e){return{clientId:(e=e.split(":"))[0].split("=")[1],ia:ze(e[1]),la:ze(e[2]),ka:ze(e[3])}},Be=function(){var e,t=xe(),n=t.ea;if(null!==(t=t.F)&&(ve.iterate((function(t,r){(t=ye(t))&&t.W&&t.i==n.i&&t.l==n.l&&(e=r)})),e)){var r=Ae(e),a=r&&r.ia[Number(t)];if(r=r&&r.clientId,a)return{F:t,ha:a,clientId:r}}return null},Z=function(){this.T=Ce};Z.prototype.$=function(){this.K||(this.v=0,this.K=!0,this.Y())},Z.prototype.Y=function(){this.K&&(this.T()?this.v=this.R:this.v=Math.min(2*(this.v||this.R),120),window.setTimeout(na(this.Y,this),1e3*this.v))},Z.prototype.v=0,Z.prototype.R=2,Z.prototype.T=null,Z.prototype.K=!1;for(var De=0;64>De;++De);var Ee=null;qc=function(){return K.oa=!0},rc=function(){K.oa=!0;var e=Be();(e=e&&e.F)&&hc("googleapis.config/sessionIndex",e),Ee||(Ee=A(K,"ss",new Z)),(e=Ee).$&&e.$()};var Ce=function(){var e=Be(),t=e&&e.ha||null,n=e&&e.clientId;return ac("auth",{callback:function(){var e=x.gapi.auth,r={client_id:n,session_state:t};e.checkSessionState(r,(function(t){var n=r.session_state,a=Q("isLoggedIn");(a=a!=(t=!Q("debug/forceIm")&&(n&&t||!n&&!t)))&&(hc("isLoggedIn",t),rc(),Rd(),t||((t=e.signOut)?t():(t=e.setToken)&&t(null))),t=mc();var i=Q("savedUserState");i=i!=(n=e._guss(t.cookiepolicy))&&"undefined"!=typeof i,hc("savedUserState",n),(a||i)&&nc(t)&&!Q("disableRealtimeCallback")&&e._pimf(t,!0)}))}}),!0};L("bs0",!0,window.gapi._bs),L("bs1",!0),delete window.gapi._bs}.call(void 0);var gapiComplete=gapi.load("",{callback:window.gapi_onload,_c:{jsl:{ci:{deviceType:"desktop","oauth-flow":{authUrl:"https://accounts.google.com/o/oauth2/auth",proxyUrl:"https://accounts.google.com/o/oauth2/postmessageRelay",disableOpt:!0,idpIframeUrl:"https://accounts.google.com/o/oauth2/iframe",usegapi:!1},debug:{reportExceptionRate:.05,forceIm:!1,rethrowException:!1,host:"https://apis.google.com"},enableMultilogin:!0,"googleapis.config":{auth:{useFirstPartyAuthV2:!0}},isPlusUser:!1,inline:{css:1},disableRealtimeCallback:!1,drive_share:{skipInitCommand:!0},csi:{rate:.01},client:{cors:!1},isLoggedIn:!0,signInDeprecation:{rate:0},include_granted_scopes:!0,llang:"pt",iframes:{youtube:{params:{location:["search","hash"]},url:":socialhost:/:session_prefix:_/widget/render/youtube?usegapi=1",methods:["scroll","openwindow"]},ytsubscribe:{url:"https://www.youtube.com/subscribe_embed?usegapi=1"},plus_circle:{params:{url:""},url:":socialhost:/:session_prefix::se:_/widget/plus/circle?usegapi=1"},plus_share:{params:{url:""},url:":socialhost:/:session_prefix::se:_/+1/sharebutton?plusShare=true&usegapi=1"},rbr_s:{params:{url:""},url:":socialhost:/:session_prefix::se:_/widget/render/recobarsimplescroller"},":source:":"3p",playemm:{url:"https://play.google.com/work/embedded/search?usegapi=1&usegapi=1"},savetoandroidpay:{url:"https://pay.google.com/gp/v/widget/save"},blogger:{params:{location:["search","hash"]},url:":socialhost:/:session_prefix:_/widget/render/blogger?usegapi=1",methods:["scroll","openwindow"]},evwidget:{params:{url:""},url:":socialhost:/:session_prefix:_/events/widget?usegapi=1"},partnersbadge:{url:"https://www.gstatic.com/partners/badge/templates/badge.html?usegapi=1"},dataconnector:{url:"https://dataconnector.corp.google.com/:session_prefix:ui/widgetview?usegapi=1"},surveyoptin:{url:"https://www.google.com/shopping/customerreviews/optin?usegapi=1"},":socialhost:":"https://apis.google.com",shortlists:{url:""},hangout:{url:"https://talkgadget.google.com/:session_prefix:talkgadget/_/widget"},plus_followers:{params:{url:""},url:":socialhost:/_/im/_/widget/render/plus/followers?usegapi=1"},post:{params:{url:""},url:":socialhost:/:session_prefix::im_prefix:_/widget/render/post?usegapi=1"},":gplus_url:":"https://plus.google.com",signin:{params:{url:""},url:":socialhost:/:session_prefix:_/widget/render/signin?usegapi=1",methods:["onauth"]},rbr_i:{params:{url:""},url:":socialhost:/:session_prefix::se:_/widget/render/recobarinvitation"},share:{url:":socialhost:/:session_prefix::im_prefix:_/widget/render/share?usegapi=1"},plusone:{params:{count:"",size:"",url:""},url:":socialhost:/:session_prefix::se:_/+1/fastbutton?usegapi=1"},comments:{params:{location:["search","hash"]},url:":socialhost:/:session_prefix:_/widget/render/comments?usegapi=1",methods:["scroll","openwindow"]},":im_socialhost:":"https://plus.googleapis.com",backdrop:{url:"https://clients3.google.com/cast/chromecast/home/widget/backdrop?usegapi=1"},visibility:{params:{url:""},url:":socialhost:/:session_prefix:_/widget/render/visibility?usegapi=1"},autocomplete:{params:{url:""},url:":socialhost:/:session_prefix:_/widget/render/autocomplete"},additnow:{url:"https://apis.google.com/marketplace/button?usegapi=1",methods:["launchurl"]},":signuphost:":"https://plus.google.com",ratingbadge:{url:"https://www.google.com/shopping/customerreviews/badge?usegapi=1"},appcirclepicker:{url:":socialhost:/:session_prefix:_/widget/render/appcirclepicker"},follow:{url:":socialhost:/:session_prefix:_/widget/render/follow?usegapi=1"},community:{url:":ctx_socialhost:/:session_prefix::im_prefix:_/widget/render/community?usegapi=1"},sharetoclassroom:{url:"https://classroom.google.com/sharewidget?usegapi=1"},ytshare:{params:{url:""},url:":socialhost:/:session_prefix:_/widget/render/ytshare?usegapi=1"},plus:{url:":socialhost:/:session_prefix:_/widget/render/badge?usegapi=1"},family_creation:{params:{url:""},url:"https://families.google.com/webcreation?usegapi=1&usegapi=1"},commentcount:{url:":socialhost:/:session_prefix:_/widget/render/commentcount?usegapi=1"},configurator:{url:":socialhost:/:session_prefix:_/plusbuttonconfigurator?usegapi=1"},zoomableimage:{url:"https://ssl.gstatic.com/microscope/embed/"},appfinder:{url:"https://workspace.google.com/:session_prefix:marketplace/appfinder?usegapi=1"},savetowallet:{url:"https://pay.google.com/gp/v/widget/save"},person:{url:":socialhost:/:session_prefix:_/widget/render/person?usegapi=1"},savetodrive:{url:"https://drive.google.com/savetodrivebutton?usegapi=1",methods:["save"]},page:{url:":socialhost:/:session_prefix:_/widget/render/page?usegapi=1"},card:{url:":socialhost:/:session_prefix:_/hovercard/card"}}},h:"m;/_/scs/apps-static/_/js/k=oz.gapi.pt_BR.l4Bv_WkVC6g.O/am=wQE/d=1/ct=zgms/rs=AGLTcCOuH5S2uqmF6E8zOW7n3yiqiwhzNQ/m=__features__",u:"https://apis.google.com/js/platform.js",hee:!0,fp:"821a251b140e4add32f87f4a7a08f044a59aa0e9",dpo:!1},platform:["additnow","backdrop","blogger","comments","commentcount","community","donation","family_creation","follow","hangout","health","page","partnersbadge","person","playemm","playreview","plus","plusone","post","ratingbadge","savetoandroidpay","savetodrive","savetowallet","sharetoclassroom","shortlists","signin2","surveyoptin","visibility","youtube","ytsubscribe","zoomableimage"],fp:"821a251b140e4add32f87f4a7a08f044a59aa0e9",annotation:["interactivepost","recobar","signin2","autocomplete","profile"],bimodal:["signin","share"]}})},127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{})},409:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,u,d=e.match(i),h=d&&d[1]?d[1].toLowerCase():"";switch(h){case n:var f=c(e);if(!s.test(e))null===(t=null===(g=f.querySelector(r))||void 0===g?void 0:g.parentNode)||void 0===t||t.removeChild(g);if(!o.test(e))null===(u=null===(g=f.querySelector(a))||void 0===g?void 0:g.parentNode)||void 0===u||u.removeChild(g);return f.querySelectorAll(n);case r:case a:var m=l(e).querySelectorAll(h);return o.test(e)&&s.test(e)?m[0].parentNode.childNodes:m;default:return p?p(e):(g=l(e,a).querySelector(a)).childNodes;var g}};var n="html",r="head",a="body",i=/<([a-zA-Z]+[0-9]?)/,s=/<head[^]*>/i,o=/<body[^]*>/i,l=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},c=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},u="object"===typeof window&&window.DOMParser;if("function"===typeof u){var d=new u;l=c=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),d.parseFromString(e,"text/html")}}if("object"===typeof document&&document.implementation){var h=document.implementation.createHTMLDocument();l=function(e,t){if(t){var n=h.documentElement.querySelector(t);return n&&(n.innerHTML=e),h}return h.documentElement.innerHTML=e,h}}var p,f="object"===typeof document&&document.createElement("template");f&&f.content&&(p=function(e){return f.innerHTML=e,f.content.childNodes})},159:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(s),n=t?t[1]:void 0;return(0,i.formatDOM)((0,a.default)(e),null,n)};var a=r(n(409)),i=n(716),s=/<(![a-zA-Z\s]+)>/},716:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=i,t.formatDOM=function e(t,n,a){void 0===n&&(n=null);for(var o,l=[],c=0,u=t.length;c<u;c++){var d=t[c];switch(d.nodeType){case 1:var h=s(d.nodeName);(o=new r.Element(h,i(d.attributes))).children=e("template"===h?d.content.childNodes:d.childNodes,o);break;case 3:o=new r.Text(d.nodeValue);break;case 8:o=new r.Comment(d.nodeValue);break;default:continue}var p=l[c-1]||null;p&&(p.next=o),o.parent=n,o.prev=p,o.next=null,l.push(o)}a&&((o=new r.ProcessingInstruction(a.substring(0,a.indexOf(" ")).toLowerCase(),a)).next=l[0]||null,o.parent=n,l.unshift(o),l[1]&&(l[1].prev=l[0]));return l};var r=n(538),a=n(127);function i(e){for(var t={},n=0,r=e.length;n<r;n++){var a=e[n];t[a.name]=a.value}return t}function s(e){var t=function(e){return a.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase());return t||e}},538:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(776),s=n(362);a(n(362),t);var o={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"===typeof t&&(n=t,t=o),"object"===typeof e&&(t=e,e=void 0),this.callback=null!==e&&void 0!==e?e:null,this.options=null!==t&&void 0!==t?t:o,this.elementCB=null!==n&&void 0!==n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new s.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new s.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new s.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"===typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},362:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var i=n(776),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),x(this,e)},e}();t.Node=s;var o=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=o;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(o);t.Text=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(o);t.Comment=c;var u=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=i.ElementType.Directive,r}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(o);t.ProcessingInstruction=u;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=d;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=h;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=p;var f=function(e){function t(t,n,r,a){void 0===r&&(r=[]),void 0===a&&(a="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var s=e.call(this,r)||this;return s.name=t,s.attribs=n,s.type=a,s}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function m(e){return(0,i.isTag)(e)}function g(e){return e.type===i.ElementType.CDATA}function v(e){return e.type===i.ElementType.Text}function y(e){return e.type===i.ElementType.Comment}function b(e){return e.type===i.ElementType.Directive}function w(e){return e.type===i.ElementType.Root}function x(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new l(e.data);else if(y(e))n=new c(e.data);else if(m(e)){var r=t?C(e.children):[],i=new f(e.name,a({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=a({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=a({},e["x-attribsPrefix"])),n=i}else if(g(e)){r=t?C(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),n=s}else if(w(e)){r=t?C(e.children):[];var o=new p(r);r.forEach((function(e){return e.parent=o})),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),n=o}else{if(!b(e))throw new Error("Not implemented yet: ".concat(e.type));var d=new u(e.name,e.data);null!=e["x-name"]&&(d["x-name"]=e["x-name"],d["x-publicId"]=e["x-publicId"],d["x-systemId"]=e["x-systemId"]),n=d}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function C(e){for(var t=e.map((function(e){return x(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=f,t.isTag=m,t.isCDATA=g,t.isText=v,t.isComment=y,t.isDirective=b,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=x},131:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var n={},c=Boolean(e.type&&o[e.type]);for(var u in e){var d=e[u];if((0,r.isCustomAttribute)(u))n[u]=d;else{var h=u.toLowerCase(),p=l(h);if(p){var f=(0,r.getPropertyInfo)(p);switch(i.includes(p)&&s.includes(t)&&!c&&(p=l("default"+h)),n[p]=d,f&&f.type){case r.BOOLEAN:n[p]=!0;break;case r.OVERLOADED_BOOLEAN:""===d&&(n[p]=!0)}}else a.PRESERVE_CUSTOM_ATTRIBUTES&&(n[u]=d)}}return(0,a.setStyleProp)(e.style,n),n};var r=n(195),a=n(141),i=["checked","value"],s=["input","select","textarea"],o={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}},595:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){void 0===n&&(n={});for(var r=[],a="function"===typeof n.replace,c=n.transform||s.returnFirstArg,u=n.library||o,d=u.cloneElement,h=u.createElement,p=u.isValidElement,f=t.length,m=0;m<f;m++){var g=t[m];if(a){var v=n.replace(g,m);if(p(v)){f>1&&(v=d(v,{key:v.key||m})),r.push(c(v,g,m));continue}}if("text"!==g.type){var y=g,b={};l(y)?((0,s.setStyleProp)(y.attribs.style,y.attribs),b=y.attribs):y.attribs&&(b=(0,i.default)(y.attribs,y.name));var w=void 0;switch(g.type){case"script":case"style":g.children[0]&&(b.dangerouslySetInnerHTML={__html:g.children[0].data});break;case"tag":"textarea"===g.name&&g.children[0]?b.defaultValue=g.children[0].data:g.children&&g.children.length&&(w=e(g.children,n));break;default:continue}f>1&&(b.key=m),r.push(c(h(g.name,b,w),g,m))}else{var x=!g.data.trim().length;if(x&&g.parent&&!(0,s.canTextBeChildOfNode)(g.parent))continue;if(n.trim&&x)continue;r.push(c(g.data,g,m))}}return 1===r.length?r[0]:r};var a=n(791),i=r(n(131)),s=n(141),o={cloneElement:a.cloneElement,createElement:a.createElement,isValidElement:a.isValidElement};function l(e){return s.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,s.isCustomComponent)(e.name,e.attribs)}},25:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];return(0,s.default)((0,a.default)(e,(null===t||void 0===t?void 0:t.htmlparser2)||l),t)};var a=r(n(159));t.htmlToDOM=a.default;var i=r(n(131));t.attributesToProps=i.default;var s=r(n(595));t.domToReact=s.default;var o=n(936);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return o.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return o.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return o.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return o.Text}});var l={lowerCaseAttributeNames:!1}},141:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){if(!e.includes("-"))return Boolean(t&&"string"===typeof t.is);if(s.has(e))return!1;return!0},t.setStyleProp=function(e,t){if("string"!==typeof e)return;if(!e.trim())return void(t.style={});try{t.style=(0,i.default)(e,o)}catch(n){t.style={}}};var a=n(791),i=r(n(792)),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);var o={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(a.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)};t.returnFirstArg=function(e){return e}},936:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(776),s=n(262);a(n(262),t);var o={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"===typeof t&&(n=t,t=o),"object"===typeof e&&(t=e,e=void 0),this.callback=null!==e&&void 0!==e?e:null,this.options=null!==t&&void 0!==t?t:o,this.elementCB=null!==n&&void 0!==n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new s.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new s.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new s.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"===typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},262:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var i=n(776),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),x(this,e)},e}();t.Node=s;var o=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=o;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(o);t.Text=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(o);t.Comment=c;var u=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=i.ElementType.Directive,r}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(o);t.ProcessingInstruction=u;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=d;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=h;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=p;var f=function(e){function t(t,n,r,a){void 0===r&&(r=[]),void 0===a&&(a="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var s=e.call(this,r)||this;return s.name=t,s.attribs=n,s.type=a,s}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function m(e){return(0,i.isTag)(e)}function g(e){return e.type===i.ElementType.CDATA}function v(e){return e.type===i.ElementType.Text}function y(e){return e.type===i.ElementType.Comment}function b(e){return e.type===i.ElementType.Directive}function w(e){return e.type===i.ElementType.Root}function x(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new l(e.data);else if(y(e))n=new c(e.data);else if(m(e)){var r=t?C(e.children):[],i=new f(e.name,a({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=a({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=a({},e["x-attribsPrefix"])),n=i}else if(g(e)){r=t?C(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),n=s}else if(w(e)){r=t?C(e.children):[];var o=new p(r);r.forEach((function(e){return e.parent=o})),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),n=o}else{if(!b(e))throw new Error("Not implemented yet: ".concat(e.type));var d=new u(e.name,e.data);null!=e["x-name"]&&(d["x-name"]=e["x-name"],d["x-publicId"]=e["x-publicId"],d["x-systemId"]=e["x-systemId"]),n=d}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function C(e){for(var t=e.map((function(e){return x(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=f,t.isTag=m,t.isCDATA=g,t.isText=v,t.isComment=y,t.isDirective=b,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=x},65:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!==typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,h=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function f(){var e={line:d,column:h};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:d,column:h},this.source=l.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(l.source+":"+d+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=h,n.source=e,!l.silent)throw n;g.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){y(r)}function w(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return h+=2,p(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}function C(){var e=f(),n=y(a);if(n){if(x(),!y(i))return v("property missing ':'");var r=y(s),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return y(o),l}}return b(),function(){var e,t=[];for(w(t);e=C();)!1!==e&&(t.push(e),w(t));return t}()}},463:(e,t,n)=>{"use strict";var r=n(791),a=n(296);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,o={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(o[e]=t,e=0;e<t.length;e++)s.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},f={};function m(e,t,n,r,a,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(f,e)||!d.call(p,e)&&(h.test(e)?f[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),C=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),S=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),A=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var I=Symbol.iterator;function R(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=I&&e[I]||e["@@iterator"])?e:null}var M,D=Object.assign;function F(e){if(void 0===M)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var U=!1;function H(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var a=c.stack.split("\n"),i=r.stack.split("\n"),s=a.length-1,o=i.length-1;1<=s&&0<=o&&a[s]!==i[o];)o--;for(;1<=s&&0<=o;s--,o--)if(a[s]!==i[o]){if(1!==s||1!==o)do{if(s--,0>--o||a[s]!==i[o]){var l="\n"+a[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=s&&0<=o);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function z(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 1:return e=H(e.type,!0);default:return""}}function B(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case j:return"Fragment";case C:return"Portal";case N:return"Profiler";case k:return"StrictMode";case E:return"Suspense";case O:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case S:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:B(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return B(e(t))}catch(n){}}return null}function q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return B(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function J(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function $(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Q(e,t){Y(e,t);var n=V(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function X(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&J(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:V(n)}}function ie(e,t){var n=V(t.value),r=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function se(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function oe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?oe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function he(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){fe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ce=null,je=null,ke=null;function Ne(e){if(e=ba(e)){if("function"!==typeof Ce)throw Error(i(280));var t=e.stateNode;t&&(t=xa(t),Ce(e.stateNode,e.type,t))}}function _e(e){je?ke?ke.push(e):ke=[e]:je=e}function Se(){if(je){var e=je,t=ke;if(ke=je=null,Ne(e),t)for(e=0;e<t.length;e++)Ne(t[e])}}function Te(e,t){return e(t)}function Ee(){}var Oe=!1;function Pe(e,t,n){if(Oe)return e(t,n);Oe=!0;try{return Te(e,t,n)}finally{Oe=!1,(null!==je||null!==ke)&&(Ee(),Se())}}function Ae(e,t){var n=e.stateNode;if(null===n)return null;var r=xa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var Le=!1;if(u)try{var Ie={};Object.defineProperty(Ie,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch(ue){Le=!1}function Re(e,t,n,r,a,i,s,o,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Me=!1,De=null,Fe=!1,Ue=null,He={onError:function(e){Me=!0,De=e}};function ze(e,t,n,r,a,i,s,o,l){Me=!1,De=null,Re.apply(He,arguments)}function Be(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ve(e){if(Be(e)!==e)throw Error(i(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Be(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var s=a.alternate;if(null===s){if(null!==(r=a.return)){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return Ve(a),e;if(s===r)return Ve(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var o=!1,l=a.child;l;){if(l===n){o=!0,n=a,r=s;break}if(l===r){o=!0,r=a,n=s;break}l=l.sibling}if(!o){for(l=s.child;l;){if(l===n){o=!0,n=s,r=a;break}if(l===r){o=!0,r=s,n=a;break}l=l.sibling}if(!o)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?Ze(e):null}function Ze(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ze(e);if(null!==t)return t;e=e.sibling}return null}var Ke=a.unstable_scheduleCallback,Je=a.unstable_cancelCallback,Ge=a.unstable_shouldYield,$e=a.unstable_requestPaint,Ye=a.unstable_now,Qe=a.unstable_getCurrentPriorityLevel,Xe=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,it=null;var st=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ot(e)/lt|0)|0},ot=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ht(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,i=e.pingedLanes,s=268435455&n;if(0!==s){var o=s&~a;0!==o?r=dt(o):0!==(i&=s)&&(r=dt(i))}else 0!==(s=n&~a)?r=dt(s):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(i=t&-t)||16===a&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-st(t)),r|=e[n],t&=~a;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-st(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-st(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var xt,Ct,jt,kt,Nt,_t=!1,St=[],Tt=null,Et=null,Ot=null,Pt=new Map,At=new Map,Lt=[],It="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Rt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Et=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":At.delete(t.pointerId)}}function Mt(e,t,n,r,a,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[a]},null!==t&&(null!==(t=ba(t))&&Ct(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Dt(e){var t=ya(e.target);if(null!==t){var n=Be(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=qe(n)))return e.blockedOn=t,void Nt(e.priority,(function(){jt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ba(n))&&Ct(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Ut(e,t,n){Ft(e)&&n.delete(t)}function Ht(){_t=!1,null!==Tt&&Ft(Tt)&&(Tt=null),null!==Et&&Ft(Et)&&(Et=null),null!==Ot&&Ft(Ot)&&(Ot=null),Pt.forEach(Ut),At.forEach(Ut)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Ht)))}function Bt(e){function t(t){return zt(t,e)}if(0<St.length){zt(St[0],e);for(var n=1;n<St.length;n++){var r=St[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&zt(Tt,e),null!==Et&&zt(Et,e),null!==Ot&&zt(Ot,e),Pt.forEach(t),At.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)Dt(n),null===n.blockedOn&&Lt.shift()}var qt=w.ReactCurrentBatchConfig,Vt=!0;function Wt(e,t,n,r){var a=bt,i=qt.transition;qt.transition=null;try{bt=1,Kt(e,t,n,r)}finally{bt=a,qt.transition=i}}function Zt(e,t,n,r){var a=bt,i=qt.transition;qt.transition=null;try{bt=4,Kt(e,t,n,r)}finally{bt=a,qt.transition=i}}function Kt(e,t,n,r){if(Vt){var a=Gt(e,t,n,r);if(null===a)Vr(e,t,r,Jt,n),Rt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Tt=Mt(Tt,e,t,n,r,a),!0;case"dragenter":return Et=Mt(Et,e,t,n,r,a),!0;case"mouseover":return Ot=Mt(Ot,e,t,n,r,a),!0;case"pointerover":var i=a.pointerId;return Pt.set(i,Mt(Pt.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":return i=a.pointerId,At.set(i,Mt(At.get(i)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Rt(e,r),4&t&&-1<It.indexOf(e)){for(;null!==a;){var i=ba(a);if(null!==i&&xt(i),null===(i=Gt(e,t,n,r))&&Vr(e,t,r,Jt,n),i===a)break;a=i}null!==a&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var Jt=null;function Gt(e,t,n,r){if(Jt=null,null!==(e=ya(e=xe(r))))if(null===(t=Be(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Jt=e,null}function $t(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Xe:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Qt=null,Xt=null;function en(){if(Xt)return Xt;var e,t,n=Qt,r=n.length,a="value"in Yt?Yt.value:Yt.textContent,i=a.length;for(e=0;e<r&&n[e]===a[e];e++);var s=r-e;for(t=1;t<=s&&n[r-t]===a[i-t];t++);return Xt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,i){for(var s in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(s)&&(t=e[s],this[s]=t?t(a):a[s]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var sn,on,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=an(cn),dn=D({},cn,{view:0,detail:0}),hn=an(dn),pn=D({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(sn=e.screenX-ln.screenX,on=e.screenY-ln.screenY):on=sn=0,ln=e),sn)},movementY:function(e){return"movementY"in e?e.movementY:on}}),fn=an(pn),mn=an(D({},pn,{dataTransfer:0})),gn=an(D({},dn,{relatedTarget:0})),vn=an(D({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=D({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(yn),wn=an(D({},cn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},jn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=jn[e])&&!!t[e]}function Nn(){return kn}var _n=D({},dn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Sn=an(_n),Tn=an(D({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),En=an(D({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nn})),On=an(D({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=D({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),An=an(Pn),Ln=[9,13,27,32],In=u&&"CompositionEvent"in window,Rn=null;u&&"documentMode"in document&&(Rn=document.documentMode);var Mn=u&&"TextEvent"in window&&!Rn,Dn=u&&(!In||Rn&&8<Rn&&11>=Rn),Fn=String.fromCharCode(32),Un=!1;function Hn(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!qn[e.type]:"textarea"===t}function Wn(e,t,n,r){_e(r),0<(t=Zr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Zn=null,Kn=null;function Jn(e){Fr(e,0)}function Gn(e){if(K(wa(e)))return e}function $n(e,t){if("change"===e)return t}var Yn=!1;if(u){var Qn;if(u){var Xn="oninput"in document;if(!Xn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Xn="function"===typeof er.oninput}Qn=Xn}else Qn=!1;Yn=Qn&&(!document.documentMode||9<document.documentMode)}function tr(){Zn&&(Zn.detachEvent("onpropertychange",nr),Kn=Zn=null)}function nr(e){if("value"===e.propertyName&&Gn(Kn)){var t=[];Wn(t,Kn,e,xe(e)),Pe(Jn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(Zn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Kn)}function ir(e,t){if("click"===e)return Gn(t)}function sr(e,t){if("input"===e||"change"===e)return Gn(t)}var or="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(or(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!or(e[a],t[a]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hr(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function fr(e){var t=hr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,i=Math.min(r.start,a);r=void 0===r.end?i:Math.min(r.end,a),!e.extend&&i>r&&(a=r,r=i,i=a),a=ur(n,i);var s=ur(n,r);a&&s&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==J(r)||("selectionStart"in(r=gr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=Zr(vr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Cr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},jr={},kr={};function Nr(e){if(jr[e])return jr[e];if(!Cr[e])return e;var t,n=Cr[e];for(t in n)if(n.hasOwnProperty(t)&&t in kr)return jr[e]=n[t];return e}u&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete Cr.animationend.animation,delete Cr.animationiteration.animation,delete Cr.animationstart.animation),"TransitionEvent"in window||delete Cr.transitionend.transition);var _r=Nr("animationend"),Sr=Nr("animationiteration"),Tr=Nr("animationstart"),Er=Nr("transitionend"),Or=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ar(e,t){Or.set(e,t),l(t,[e])}for(var Lr=0;Lr<Pr.length;Lr++){var Ir=Pr[Lr];Ar(Ir.toLowerCase(),"on"+(Ir[0].toUpperCase()+Ir.slice(1)))}Ar(_r,"onAnimationEnd"),Ar(Sr,"onAnimationIteration"),Ar(Tr,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(Er,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Mr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rr));function Dr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,s,o,l,c){if(ze.apply(this,arguments),Me){if(!Me)throw Error(i(198));var u=De;Me=!1,De=null,Fe||(Fe=!0,Ue=u)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var o=r[s],l=o.instance,c=o.currentTarget;if(o=o.listener,l!==i&&a.isPropagationStopped())break e;Dr(a,o,c),i=l}else for(s=0;s<r.length;s++){if(l=(o=r[s]).instance,c=o.currentTarget,o=o.listener,l!==i&&a.isPropagationStopped())break e;Dr(a,o,c),i=l}}}if(Fe)throw e=Ue,Fe=!1,Ue=null,e}function Ur(e,t){var n=t[ma];void 0===n&&(n=t[ma]=new Set);var r=e+"__bubble";n.has(r)||(qr(t,e,2,!1),n.add(r))}function Hr(e,t,n){var r=0;t&&(r|=4),qr(n,e,r,t)}var zr="_reactListening"+Math.random().toString(36).slice(2);function Br(e){if(!e[zr]){e[zr]=!0,s.forEach((function(t){"selectionchange"!==t&&(Mr.has(t)||Hr(t,!1,e),Hr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zr]||(t[zr]=!0,Hr("selectionchange",!1,t))}}function qr(e,t,n,r){switch($t(t)){case 1:var a=Wt;break;case 4:a=Zt;break;default:a=Kt}n=a.bind(null,t,n,e),a=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Vr(e,t,n,r,a){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var o=r.stateNode.containerInfo;if(o===a||8===o.nodeType&&o.parentNode===a)break;if(4===s)for(s=r.return;null!==s;){var l=s.tag;if((3===l||4===l)&&((l=s.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;s=s.return}for(;null!==o;){if(null===(s=ya(o)))return;if(5===(l=s.tag)||6===l){r=i=s;continue e}o=o.parentNode}}r=r.return}Pe((function(){var r=i,a=xe(n),s=[];e:{var o=Or.get(e);if(void 0!==o){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Sn;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=En;break;case _r:case Sr:case Tr:l=vn;break;case Er:l=On;break;case"scroll":l=hn;break;case"wheel":l=An;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var u=0!==(4&t),d=!u&&"scroll"===e,h=u?null!==o?o+"Capture":null:o;u=[];for(var p,f=r;null!==f;){var m=(p=f).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==h&&(null!=(m=Ae(f,h))&&u.push(Wr(f,m,p)))),d)break;f=f.return}0<u.length&&(o=new l(o,c,null,n,a),s.push({event:o,listeners:u}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(o="mouseover"===e||"pointerover"===e)||n===we||!(c=n.relatedTarget||n.fromElement)||!ya(c)&&!c[fa])&&(l||o)&&(o=a.window===a?a:(o=a.ownerDocument)?o.defaultView||o.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?ya(c):null)&&(c!==(d=Be(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=fn,m="onMouseLeave",h="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(u=Tn,m="onPointerLeave",h="onPointerEnter",f="pointer"),d=null==l?o:wa(l),p=null==c?o:wa(c),(o=new u(m,f+"leave",l,n,a)).target=d,o.relatedTarget=p,m=null,ya(a)===r&&((u=new u(h,f+"enter",c,n,a)).target=p,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(h=c,f=0,p=u=l;p;p=Kr(p))f++;for(p=0,m=h;m;m=Kr(m))p++;for(;0<f-p;)u=Kr(u),f--;for(;0<p-f;)h=Kr(h),p--;for(;f--;){if(u===h||null!==h&&u===h.alternate)break e;u=Kr(u),h=Kr(h)}u=null}else u=null;null!==l&&Jr(s,o,l,u,!1),null!==c&&null!==d&&Jr(s,d,c,u,!0)}if("select"===(l=(o=r?wa(r):window).nodeName&&o.nodeName.toLowerCase())||"input"===l&&"file"===o.type)var g=$n;else if(Vn(o))if(Yn)g=sr;else{g=ar;var v=rr}else(l=o.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(g=ir);switch(g&&(g=g(e,r))?Wn(s,g,n,a):(v&&v(e,o,r),"focusout"===e&&(v=o._wrapperState)&&v.controlled&&"number"===o.type&&ee(o,"number",o.value)),v=r?wa(r):window,e){case"focusin":(Vn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,yr=null);break;case"focusout":yr=vr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(s,n,a);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":wr(s,n,a)}var y;if(In)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Bn?Hn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Dn&&"ko"!==n.locale&&(Bn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Bn&&(y=en()):(Qt="value"in(Yt=a)?Yt.value:Yt.textContent,Bn=!0)),0<(v=Zr(r,b)).length&&(b=new wn(b,e,null,n,a),s.push({event:b,listeners:v}),y?b.data=y:null!==(y=zn(n))&&(b.data=y))),(y=Mn?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Un=!0,Fn);case"textInput":return(e=t.data)===Fn&&Un?null:e;default:return null}}(e,n):function(e,t){if(Bn)return"compositionend"===e||!In&&Hn(e,t)?(e=en(),Xt=Qt=Yt=null,Bn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Zr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),s.push({event:a,listeners:r}),a.data=y))}Fr(s,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Zr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,i=a.stateNode;5===a.tag&&null!==i&&(a=i,null!=(i=Ae(e,n))&&r.unshift(Wr(e,i,a)),null!=(i=Ae(e,t))&&r.push(Wr(e,i,a))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Jr(e,t,n,r,a){for(var i=t._reactName,s=[];null!==n&&n!==r;){var o=n,l=o.alternate,c=o.stateNode;if(null!==l&&l===r)break;5===o.tag&&null!==c&&(o=c,a?null!=(l=Ae(n,i))&&s.unshift(Wr(n,l,o)):a||null!=(l=Ae(n,i))&&s.push(Wr(n,l,o))),n=n.return}0!==s.length&&e.push({event:t,listeners:s})}var Gr=/\r\n?/g,$r=/\u0000|\uFFFD/g;function Yr(e){return("string"===typeof e?e:""+e).replace(Gr,"\n").replace($r,"")}function Qr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(i(425))}function Xr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"===typeof setTimeout?setTimeout:void 0,aa="function"===typeof clearTimeout?clearTimeout:void 0,ia="function"===typeof Promise?Promise:void 0,sa="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ia?function(e){return ia.resolve(null).then(e).catch(oa)}:ra;function oa(e){setTimeout((function(){throw e}))}function la(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Bt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Bt(t)}function ca(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ua(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),ha="__reactFiber$"+da,pa="__reactProps$"+da,fa="__reactContainer$"+da,ma="__reactEvents$"+da,ga="__reactListeners$"+da,va="__reactHandles$"+da;function ya(e){var t=e[ha];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fa]||n[ha]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ua(e);null!==e;){if(n=e[ha])return n;e=ua(e)}return t}n=(e=n).parentNode}return null}function ba(e){return!(e=e[ha]||e[fa])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function xa(e){return e[pa]||null}var Ca=[],ja=-1;function ka(e){return{current:e}}function Na(e){0>ja||(e.current=Ca[ja],Ca[ja]=null,ja--)}function _a(e,t){ja++,Ca[ja]=e.current,e.current=t}var Sa={},Ta=ka(Sa),Ea=ka(!1),Oa=Sa;function Pa(e,t){var n=e.type.contextTypes;if(!n)return Sa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,i={};for(a in n)i[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Aa(e){return null!==(e=e.childContextTypes)&&void 0!==e}function La(){Na(Ea),Na(Ta)}function Ia(e,t,n){if(Ta.current!==Sa)throw Error(i(168));_a(Ta,t),_a(Ea,n)}function Ra(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(i(108,q(e)||"Unknown",a));return D({},n,r)}function Ma(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Sa,Oa=Ta.current,_a(Ta,e),_a(Ea,Ea.current),!0}function Da(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Ra(e,t,Oa),r.__reactInternalMemoizedMergedChildContext=e,Na(Ea),Na(Ta),_a(Ta,e)):Na(Ea),_a(Ea,n)}var Fa=null,Ua=!1,Ha=!1;function za(e){null===Fa?Fa=[e]:Fa.push(e)}function Ba(){if(!Ha&&null!==Fa){Ha=!0;var e=0,t=bt;try{var n=Fa;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fa=null,Ua=!1}catch(a){throw null!==Fa&&(Fa=Fa.slice(e+1)),Ke(Xe,Ba),a}finally{bt=t,Ha=!1}}return null}var qa=[],Va=0,Wa=null,Za=0,Ka=[],Ja=0,Ga=null,$a=1,Ya="";function Qa(e,t){qa[Va++]=Za,qa[Va++]=Wa,Wa=e,Za=t}function Xa(e,t,n){Ka[Ja++]=$a,Ka[Ja++]=Ya,Ka[Ja++]=Ga,Ga=e;var r=$a;e=Ya;var a=32-st(r)-1;r&=~(1<<a),n+=1;var i=32-st(t)+a;if(30<i){var s=a-a%5;i=(r&(1<<s)-1).toString(32),r>>=s,a-=s,$a=1<<32-st(t)+a|n<<a|r,Ya=i+e}else $a=1<<i|n<<a|r,Ya=e}function ei(e){null!==e.return&&(Qa(e,1),Xa(e,1,0))}function ti(e){for(;e===Wa;)Wa=qa[--Va],qa[Va]=null,Za=qa[--Va],qa[Va]=null;for(;e===Ga;)Ga=Ka[--Ja],Ka[Ja]=null,Ya=Ka[--Ja],Ka[Ja]=null,$a=Ka[--Ja],Ka[Ja]=null}var ni=null,ri=null,ai=!1,ii=null;function si(e,t){var n=Ac(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function oi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ni=e,ri=ca(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ni=e,ri=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ga?{id:$a,overflow:Ya}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ac(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ni=e,ri=null,!0);default:return!1}}function li(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ci(e){if(ai){var t=ri;if(t){var n=t;if(!oi(e,t)){if(li(e))throw Error(i(418));t=ca(n.nextSibling);var r=ni;t&&oi(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ai=!1,ni=e)}}else{if(li(e))throw Error(i(418));e.flags=-4097&e.flags|2,ai=!1,ni=e}}}function ui(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ni=e}function di(e){if(e!==ni)return!1;if(!ai)return ui(e),ai=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ri)){if(li(e))throw hi(),Error(i(418));for(;t;)si(e,t),t=ca(t.nextSibling)}if(ui(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ri=ca(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ri=null}}else ri=ni?ca(e.stateNode.nextSibling):null;return!0}function hi(){for(var e=ri;e;)e=ca(e.nextSibling)}function pi(){ri=ni=null,ai=!1}function fi(e){null===ii?ii=[e]:ii.push(e)}var mi=w.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var vi=ka(null),yi=null,bi=null,wi=null;function xi(){wi=bi=yi=null}function Ci(e){var t=vi.current;Na(vi),e._currentValue=t}function ji(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ki(e,t){yi=e,wi=bi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wo=!0),e.firstContext=null)}function Ni(e){var t=e._currentValue;if(wi!==e)if(e={context:e,memoizedValue:t,next:null},null===bi){if(null===yi)throw Error(i(308));bi=e,yi.dependencies={lanes:0,firstContext:e}}else bi=bi.next=e;return t}var _i=null;function Si(e){null===_i?_i=[e]:_i.push(e)}function Ti(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Si(t)):(n.next=a.next,a.next=n),t.interleaved=n,Ei(e,r)}function Ei(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Oi=!1;function Pi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ai(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Li(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ii(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&El)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Ei(e,n)}return null===(a=r.interleaved)?(t.next=t,Si(r)):(t.next=a.next,a.next=t),r.interleaved=t,Ei(e,n)}function Ri(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Mi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?a=i=s:i=i.next=s,n=n.next}while(null!==n);null===i?a=i=t:i=i.next=t}else a=i=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Di(e,t,n,r){var a=e.updateQueue;Oi=!1;var i=a.firstBaseUpdate,s=a.lastBaseUpdate,o=a.shared.pending;if(null!==o){a.shared.pending=null;var l=o,c=l.next;l.next=null,null===s?i=c:s.next=c,s=l;var u=e.alternate;null!==u&&((o=(u=u.updateQueue).lastBaseUpdate)!==s&&(null===o?u.firstBaseUpdate=c:o.next=c,u.lastBaseUpdate=l))}if(null!==i){var d=a.baseState;for(s=0,u=c=l=null,o=i;;){var h=o.lane,p=o.eventTime;if((r&h)===h){null!==u&&(u=u.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var f=e,m=o;switch(h=t,p=n,m.tag){case 1:if("function"===typeof(f=m.payload)){d=f.call(p,d,h);break e}d=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null===(h="function"===typeof(f=m.payload)?f.call(p,d,h):f)||void 0===h)break e;d=D({},d,h);break e;case 2:Oi=!0}}null!==o.callback&&0!==o.lane&&(e.flags|=64,null===(h=a.effects)?a.effects=[o]:h.push(o))}else p={eventTime:p,lane:h,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===u?(c=u=p,l=d):u=u.next=p,s|=h;if(null===(o=o.next)){if(null===(o=a.shared.pending))break;o=(h=o).next,h.next=null,a.lastBaseUpdate=h,a.shared.pending=null}}if(null===u&&(l=d),a.baseState=l,a.firstBaseUpdate=c,a.lastBaseUpdate=u,null!==(t=a.shared.interleaved)){a=t;do{s|=a.lane,a=a.next}while(a!==t)}else null===i&&(a.shared.lanes=0);Dl|=s,e.lanes=s,e.memoizedState=d}}function Fi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!==typeof a)throw Error(i(191,a));a.call(r)}}}var Ui=(new r.Component).refs;function Hi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:D({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var zi={isMounted:function(e){return!!(e=e._reactInternals)&&Be(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),a=nc(e),i=Li(r,a);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ii(e,i,a))&&(rc(t,e,a,r),Ri(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),a=nc(e),i=Li(r,a);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ii(e,i,a))&&(rc(t,e,a,r),Ri(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),a=Li(n,r);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),null!==(t=Ii(e,a,r))&&(rc(t,e,r,n),Ri(t,e,r))}};function Bi(e,t,n,r,a,i,s){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,s):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(a,i))}function qi(e,t,n){var r=!1,a=Sa,i=t.contextType;return"object"===typeof i&&null!==i?i=Ni(i):(a=Aa(t)?Oa:Ta.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Pa(e,a):Sa),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=zi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=i),t}function Vi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&zi.enqueueReplaceState(t,t.state,null)}function Wi(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Ui,Pi(e);var i=t.contextType;"object"===typeof i&&null!==i?a.context=Ni(i):(i=Aa(t)?Oa:Ta.current,a.context=Pa(e,i)),a.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(Hi(e,t,i,n),a.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(t=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&zi.enqueueReplaceState(a,a.state,null),Di(e,n,a,r),a.state=e.memoizedState),"function"===typeof a.componentDidMount&&(e.flags|=4194308)}function Zi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=r,s=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===s?t.ref:(t=function(e){var t=a.refs;t===Ui&&(t=a.refs={}),null===e?delete t[s]:t[s]=e},t._stringRef=s,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Ki(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ji(e){return(0,e._init)(e._payload)}function Gi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Ic(e,t)).index=0,e.sibling=null,e}function s(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function o(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fc(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){var i=n.type;return i===j?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===A&&Ji(i)===t.type)?((r=a(t,n.props)).ref=Zi(e,t,n),r.return=e,r):((r=Rc(n.type,n.key,n.props,null,e.mode,r)).ref=Zi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Uc(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Mc(n,e.mode,r,i)).return=e,t):((t=a(t,n)).return=e,t)}function h(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Fc(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Rc(t.type,t.key,t.props,null,e.mode,n)).ref=Zi(e,null,t),n.return=e,n;case C:return(t=Uc(t,e.mode,n)).return=e,t;case A:return h(e,(0,t._init)(t._payload),n)}if(te(t)||R(t))return(t=Mc(t,e.mode,n,null)).return=e,t;Ki(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==a?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===a?c(e,t,n,r):null;case C:return n.key===a?u(e,t,n,r):null;case A:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||R(n))return null!==a?null:d(e,t,n,r,null);Ki(e,n)}return null}function f(e,t,n,r,a){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"===typeof r&&null!==r){switch(r.$$typeof){case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case C:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case A:return f(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||R(r))return d(t,e=e.get(n)||null,r,a,null);Ki(t,r)}return null}function m(a,i,o,l){for(var c=null,u=null,d=i,m=i=0,g=null;null!==d&&m<o.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(a,d,o[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(a,d),i=s(v,i,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===o.length)return n(a,d),ai&&Qa(a,m),c;if(null===d){for(;m<o.length;m++)null!==(d=h(a,o[m],l))&&(i=s(d,i,m),null===u?c=d:u.sibling=d,u=d);return ai&&Qa(a,m),c}for(d=r(a,d);m<o.length;m++)null!==(g=f(d,a,m,o[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=s(g,i,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(a,e)})),ai&&Qa(a,m),c}function g(a,o,l,c){var u=R(l);if("function"!==typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,m=o,g=o=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(a,m,y.value,c);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(a,m),o=s(b,o,g),null===d?u=b:d.sibling=b,d=b,m=v}if(y.done)return n(a,m),ai&&Qa(a,g),u;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=h(a,y.value,c))&&(o=s(y,o,g),null===d?u=y:d.sibling=y,d=y);return ai&&Qa(a,g),u}for(m=r(a,m);!y.done;g++,y=l.next())null!==(y=f(m,a,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),o=s(y,o,g),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(a,e)})),ai&&Qa(a,g),u}return function e(r,i,s,l){if("object"===typeof s&&null!==s&&s.type===j&&null===s.key&&(s=s.props.children),"object"===typeof s&&null!==s){switch(s.$$typeof){case x:e:{for(var c=s.key,u=i;null!==u;){if(u.key===c){if((c=s.type)===j){if(7===u.tag){n(r,u.sibling),(i=a(u,s.props.children)).return=r,r=i;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===A&&Ji(c)===u.type){n(r,u.sibling),(i=a(u,s.props)).ref=Zi(r,u,s),i.return=r,r=i;break e}n(r,u);break}t(r,u),u=u.sibling}s.type===j?((i=Mc(s.props.children,r.mode,l,s.key)).return=r,r=i):((l=Rc(s.type,s.key,s.props,null,r.mode,l)).ref=Zi(r,i,s),l.return=r,r=l)}return o(r);case C:e:{for(u=s.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===s.containerInfo&&i.stateNode.implementation===s.implementation){n(r,i.sibling),(i=a(i,s.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Uc(s,r.mode,l)).return=r,r=i}return o(r);case A:return e(r,i,(u=s._init)(s._payload),l)}if(te(s))return m(r,i,s,l);if(R(s))return g(r,i,s,l);Ki(r,s)}return"string"===typeof s&&""!==s||"number"===typeof s?(s=""+s,null!==i&&6===i.tag?(n(r,i.sibling),(i=a(i,s)).return=r,r=i):(n(r,i),(i=Fc(s,r.mode,l)).return=r,r=i),o(r)):n(r,i)}}var $i=Gi(!0),Yi=Gi(!1),Qi={},Xi=ka(Qi),es=ka(Qi),ts=ka(Qi);function ns(e){if(e===Qi)throw Error(i(174));return e}function rs(e,t){switch(_a(ts,t),_a(es,e),_a(Xi,Qi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Na(Xi),_a(Xi,t)}function as(){Na(Xi),Na(es),Na(ts)}function is(e){ns(ts.current);var t=ns(Xi.current),n=le(t,e.type);t!==n&&(_a(es,e),_a(Xi,n))}function ss(e){es.current===e&&(Na(Xi),Na(es))}var os=ka(0);function ls(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var cs=[];function us(){for(var e=0;e<cs.length;e++)cs[e]._workInProgressVersionPrimary=null;cs.length=0}var ds=w.ReactCurrentDispatcher,hs=w.ReactCurrentBatchConfig,ps=0,fs=null,ms=null,gs=null,vs=!1,ys=!1,bs=0,ws=0;function xs(){throw Error(i(321))}function Cs(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!or(e[n],t[n]))return!1;return!0}function js(e,t,n,r,a,s){if(ps=s,fs=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ds.current=null===e||null===e.memoizedState?so:oo,e=n(r,a),ys){s=0;do{if(ys=!1,bs=0,25<=s)throw Error(i(301));s+=1,gs=ms=null,t.updateQueue=null,ds.current=lo,e=n(r,a)}while(ys)}if(ds.current=io,t=null!==ms&&null!==ms.next,ps=0,gs=ms=fs=null,vs=!1,t)throw Error(i(300));return e}function ks(){var e=0!==bs;return bs=0,e}function Ns(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===gs?fs.memoizedState=gs=e:gs=gs.next=e,gs}function _s(){if(null===ms){var e=fs.alternate;e=null!==e?e.memoizedState:null}else e=ms.next;var t=null===gs?fs.memoizedState:gs.next;if(null!==t)gs=t,ms=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ms=e).memoizedState,baseState:ms.baseState,baseQueue:ms.baseQueue,queue:ms.queue,next:null},null===gs?fs.memoizedState=gs=e:gs=gs.next=e}return gs}function Ss(e,t){return"function"===typeof t?t(e):t}function Ts(e){var t=_s(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ms,a=r.baseQueue,s=n.pending;if(null!==s){if(null!==a){var o=a.next;a.next=s.next,s.next=o}r.baseQueue=a=s,n.pending=null}if(null!==a){s=a.next,r=r.baseState;var l=o=null,c=null,u=s;do{var d=u.lane;if((ps&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=h,o=r):c=c.next=h,fs.lanes|=d,Dl|=d}u=u.next}while(null!==u&&u!==s);null===c?o=r:c.next=l,or(r,t.memoizedState)||(wo=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{s=a.lane,fs.lanes|=s,Dl|=s,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Es(e){var t=_s(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,s=t.memoizedState;if(null!==a){n.pending=null;var o=a=a.next;do{s=e(s,o.action),o=o.next}while(o!==a);or(s,t.memoizedState)||(wo=!0),t.memoizedState=s,null===t.baseQueue&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function Os(){}function Ps(e,t){var n=fs,r=_s(),a=t(),s=!or(r.memoizedState,a);if(s&&(r.memoizedState=a,wo=!0),r=r.queue,qs(Is.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||null!==gs&&1&gs.memoizedState.tag){if(n.flags|=2048,Fs(9,Ls.bind(null,n,r,a,t),void 0,null),null===Ol)throw Error(i(349));0!==(30&ps)||As(n,t,a)}return a}function As(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=fs.updateQueue)?(t={lastEffect:null,stores:null},fs.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ls(e,t,n,r){t.value=n,t.getSnapshot=r,Rs(t)&&Ms(e)}function Is(e,t,n){return n((function(){Rs(t)&&Ms(e)}))}function Rs(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!or(e,n)}catch(r){return!0}}function Ms(e){var t=Ei(e,1);null!==t&&rc(t,e,1,-1)}function Ds(e){var t=Ns();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ss,lastRenderedState:e},t.queue=e,e=e.dispatch=to.bind(null,fs,e),[t.memoizedState,e]}function Fs(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=fs.updateQueue)?(t={lastEffect:null,stores:null},fs.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Us(){return _s().memoizedState}function Hs(e,t,n,r){var a=Ns();fs.flags|=e,a.memoizedState=Fs(1|t,n,void 0,void 0===r?null:r)}function zs(e,t,n,r){var a=_s();r=void 0===r?null:r;var i=void 0;if(null!==ms){var s=ms.memoizedState;if(i=s.destroy,null!==r&&Cs(r,s.deps))return void(a.memoizedState=Fs(t,n,i,r))}fs.flags|=e,a.memoizedState=Fs(1|t,n,i,r)}function Bs(e,t){return Hs(8390656,8,e,t)}function qs(e,t){return zs(2048,8,e,t)}function Vs(e,t){return zs(4,2,e,t)}function Ws(e,t){return zs(4,4,e,t)}function Zs(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ks(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,zs(4,4,Zs.bind(null,t,e),n)}function Js(){}function Gs(e,t){var n=_s();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Cs(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function $s(e,t){var n=_s();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Cs(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ys(e,t,n){return 0===(21&ps)?(e.baseState&&(e.baseState=!1,wo=!0),e.memoizedState=n):(or(n,t)||(n=mt(),fs.lanes|=n,Dl|=n,e.baseState=!0),t)}function Qs(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=hs.transition;hs.transition={};try{e(!1),t()}finally{bt=n,hs.transition=r}}function Xs(){return _s().memoizedState}function eo(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},no(e))ro(t,n);else if(null!==(n=Ti(e,t,n,r))){rc(n,e,r,tc()),ao(n,t,r)}}function to(e,t,n){var r=nc(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(no(e))ro(t,a);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var s=t.lastRenderedState,o=i(s,n);if(a.hasEagerState=!0,a.eagerState=o,or(o,s)){var l=t.interleaved;return null===l?(a.next=a,Si(t)):(a.next=l.next,l.next=a),void(t.interleaved=a)}}catch(c){}null!==(n=Ti(e,t,a,r))&&(rc(n,e,r,a=tc()),ao(n,t,r))}}function no(e){var t=e.alternate;return e===fs||null!==t&&t===fs}function ro(e,t){ys=vs=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ao(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var io={readContext:Ni,useCallback:xs,useContext:xs,useEffect:xs,useImperativeHandle:xs,useInsertionEffect:xs,useLayoutEffect:xs,useMemo:xs,useReducer:xs,useRef:xs,useState:xs,useDebugValue:xs,useDeferredValue:xs,useTransition:xs,useMutableSource:xs,useSyncExternalStore:xs,useId:xs,unstable_isNewReconciler:!1},so={readContext:Ni,useCallback:function(e,t){return Ns().memoizedState=[e,void 0===t?null:t],e},useContext:Ni,useEffect:Bs,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Hs(4194308,4,Zs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Hs(4194308,4,e,t)},useInsertionEffect:function(e,t){return Hs(4,2,e,t)},useMemo:function(e,t){var n=Ns();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ns();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=eo.bind(null,fs,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ns().memoizedState=e},useState:Ds,useDebugValue:Js,useDeferredValue:function(e){return Ns().memoizedState=e},useTransition:function(){var e=Ds(!1),t=e[0];return e=Qs.bind(null,e[1]),Ns().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=fs,a=Ns();if(ai){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Ol)throw Error(i(349));0!==(30&ps)||As(r,t,n)}a.memoizedState=n;var s={value:n,getSnapshot:t};return a.queue=s,Bs(Is.bind(null,r,s,e),[e]),r.flags|=2048,Fs(9,Ls.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Ns(),t=Ol.identifierPrefix;if(ai){var n=Ya;t=":"+t+"R"+(n=($a&~(1<<32-st($a)-1)).toString(32)+n),0<(n=bs++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ws++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oo={readContext:Ni,useCallback:Gs,useContext:Ni,useEffect:qs,useImperativeHandle:Ks,useInsertionEffect:Vs,useLayoutEffect:Ws,useMemo:$s,useReducer:Ts,useRef:Us,useState:function(){return Ts(Ss)},useDebugValue:Js,useDeferredValue:function(e){return Ys(_s(),ms.memoizedState,e)},useTransition:function(){return[Ts(Ss)[0],_s().memoizedState]},useMutableSource:Os,useSyncExternalStore:Ps,useId:Xs,unstable_isNewReconciler:!1},lo={readContext:Ni,useCallback:Gs,useContext:Ni,useEffect:qs,useImperativeHandle:Ks,useInsertionEffect:Vs,useLayoutEffect:Ws,useMemo:$s,useReducer:Es,useRef:Us,useState:function(){return Es(Ss)},useDebugValue:Js,useDeferredValue:function(e){var t=_s();return null===ms?t.memoizedState=e:Ys(t,ms.memoizedState,e)},useTransition:function(){return[Es(Ss)[0],_s().memoizedState]},useMutableSource:Os,useSyncExternalStore:Ps,useId:Xs,unstable_isNewReconciler:!1};function co(e,t){try{var n="",r=t;do{n+=z(r),r=r.return}while(r);var a=n}catch(i){a="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:a,digest:null}}function uo(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ho(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var po="function"===typeof WeakMap?WeakMap:Map;function fo(e,t,n){(n=Li(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wl||(Wl=!0,Zl=r),ho(0,t)},n}function mo(e,t,n){(n=Li(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){ho(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){ho(0,t),"function"!==typeof r&&(null===Kl?Kl=new Set([this]):Kl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function go(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new po;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=_c.bind(null,e,t,n),t.then(e,e))}function vo(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yo(e,t,n,r,a){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Li(-1,1)).tag=2,Ii(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var bo=w.ReactCurrentOwner,wo=!1;function xo(e,t,n,r){t.child=null===e?Yi(t,null,n,r):$i(t,e.child,n,r)}function Co(e,t,n,r,a){n=n.render;var i=t.ref;return ki(t,a),r=js(e,t,n,r,i,a),n=ks(),null===e||wo?(ai&&n&&ei(t),t.flags|=1,xo(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Wo(e,t,a))}function jo(e,t,n,r,a){if(null===e){var i=n.type;return"function"!==typeof i||Lc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Rc(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,ko(e,t,i,r,a))}if(i=e.child,0===(e.lanes&a)){var s=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(s,r)&&e.ref===t.ref)return Wo(e,t,a)}return t.flags|=1,(e=Ic(i,r)).ref=t.ref,e.return=t,t.child=e}function ko(e,t,n,r,a){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(wo=!1,t.pendingProps=r=i,0===(e.lanes&a))return t.lanes=e.lanes,Wo(e,t,a);0!==(131072&e.flags)&&(wo=!0)}}return So(e,t,n,r,a)}function No(e,t,n){var r=t.pendingProps,a=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_a(Il,Ll),Ll|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_a(Il,Ll),Ll|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,_a(Il,Ll),Ll|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,_a(Il,Ll),Ll|=r;return xo(e,t,a,n),t.child}function _o(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function So(e,t,n,r,a){var i=Aa(n)?Oa:Ta.current;return i=Pa(t,i),ki(t,a),n=js(e,t,n,r,i,a),r=ks(),null===e||wo?(ai&&r&&ei(t),t.flags|=1,xo(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Wo(e,t,a))}function To(e,t,n,r,a){if(Aa(n)){var i=!0;Ma(t)}else i=!1;if(ki(t,a),null===t.stateNode)Vo(e,t),qi(t,n,r),Wi(t,n,r,a),r=!0;else if(null===e){var s=t.stateNode,o=t.memoizedProps;s.props=o;var l=s.context,c=n.contextType;"object"===typeof c&&null!==c?c=Ni(c):c=Pa(t,c=Aa(n)?Oa:Ta.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof s.getSnapshotBeforeUpdate;d||"function"!==typeof s.UNSAFE_componentWillReceiveProps&&"function"!==typeof s.componentWillReceiveProps||(o!==r||l!==c)&&Vi(t,s,r,c),Oi=!1;var h=t.memoizedState;s.state=h,Di(t,r,s,a),l=t.memoizedState,o!==r||h!==l||Ea.current||Oi?("function"===typeof u&&(Hi(t,n,u,r),l=t.memoizedState),(o=Oi||Bi(t,n,o,r,h,l,c))?(d||"function"!==typeof s.UNSAFE_componentWillMount&&"function"!==typeof s.componentWillMount||("function"===typeof s.componentWillMount&&s.componentWillMount(),"function"===typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"===typeof s.componentDidMount&&(t.flags|=4194308)):("function"===typeof s.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=c,r=o):("function"===typeof s.componentDidMount&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Ai(e,t),o=t.memoizedProps,c=t.type===t.elementType?o:gi(t.type,o),s.props=c,d=t.pendingProps,h=s.context,"object"===typeof(l=n.contextType)&&null!==l?l=Ni(l):l=Pa(t,l=Aa(n)?Oa:Ta.current);var p=n.getDerivedStateFromProps;(u="function"===typeof p||"function"===typeof s.getSnapshotBeforeUpdate)||"function"!==typeof s.UNSAFE_componentWillReceiveProps&&"function"!==typeof s.componentWillReceiveProps||(o!==d||h!==l)&&Vi(t,s,r,l),Oi=!1,h=t.memoizedState,s.state=h,Di(t,r,s,a);var f=t.memoizedState;o!==d||h!==f||Ea.current||Oi?("function"===typeof p&&(Hi(t,n,p,r),f=t.memoizedState),(c=Oi||Bi(t,n,c,r,h,f,l)||!1)?(u||"function"!==typeof s.UNSAFE_componentWillUpdate&&"function"!==typeof s.componentWillUpdate||("function"===typeof s.componentWillUpdate&&s.componentWillUpdate(r,f,l),"function"===typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(r,f,l)),"function"===typeof s.componentDidUpdate&&(t.flags|=4),"function"===typeof s.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof s.componentDidUpdate||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!==typeof s.getSnapshotBeforeUpdate||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),s.props=r,s.state=f,s.context=l,r=c):("function"!==typeof s.componentDidUpdate||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!==typeof s.getSnapshotBeforeUpdate||o===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Eo(e,t,n,r,i,a)}function Eo(e,t,n,r,a,i){_o(e,t);var s=0!==(128&t.flags);if(!r&&!s)return a&&Da(t,n,!1),Wo(e,t,i);r=t.stateNode,bo.current=t;var o=s&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&s?(t.child=$i(t,e.child,null,i),t.child=$i(t,null,o,i)):xo(e,t,o,i),t.memoizedState=r.state,a&&Da(t,n,!0),t.child}function Oo(e){var t=e.stateNode;t.pendingContext?Ia(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ia(0,t.context,!1),rs(e,t.containerInfo)}function Po(e,t,n,r,a){return pi(),fi(a),t.flags|=256,xo(e,t,n,r),t.child}var Ao,Lo,Io,Ro,Mo={dehydrated:null,treeContext:null,retryLane:0};function Do(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fo(e,t,n){var r,a=t.pendingProps,s=os.current,o=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&s)),r?(o=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(s|=1),_a(os,1&s),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=a.children,e=a.fallback,o?(a=t.mode,o=t.child,l={mode:"hidden",children:l},0===(1&a)&&null!==o?(o.childLanes=0,o.pendingProps=l):o=Dc(l,a,0,null),e=Mc(e,a,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Do(n),t.memoizedState=Mo,e):Uo(t,l));if(null!==(s=e.memoizedState)&&null!==(r=s.dehydrated))return function(e,t,n,r,a,s,o){if(n)return 256&t.flags?(t.flags&=-257,Ho(e,t,o,r=uo(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(s=r.fallback,a=t.mode,r=Dc({mode:"visible",children:r.children},a,0,null),(s=Mc(s,a,o,null)).flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,0!==(1&t.mode)&&$i(t,e.child,null,o),t.child.memoizedState=Do(o),t.memoizedState=Mo,s);if(0===(1&t.mode))return Ho(e,t,o,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,Ho(e,t,o,r=uo(s=Error(i(419)),r,void 0))}if(l=0!==(o&e.childLanes),wo||l){if(null!==(r=Ol)){switch(o&-o){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|o))?0:a)&&a!==s.retryLane&&(s.retryLane=a,Ei(e,a),rc(r,e,a,-1))}return gc(),Ho(e,t,o,r=uo(Error(i(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Tc.bind(null,e),a._reactRetry=t,null):(e=s.treeContext,ri=ca(a.nextSibling),ni=t,ai=!0,ii=null,null!==e&&(Ka[Ja++]=$a,Ka[Ja++]=Ya,Ka[Ja++]=Ga,$a=e.id,Ya=e.overflow,Ga=t),t=Uo(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,s,n);if(o){o=a.fallback,l=t.mode,r=(s=e.child).sibling;var c={mode:"hidden",children:a.children};return 0===(1&l)&&t.child!==s?((a=t.child).childLanes=0,a.pendingProps=c,t.deletions=null):(a=Ic(s,c)).subtreeFlags=14680064&s.subtreeFlags,null!==r?o=Ic(r,o):(o=Mc(o,l,n,null)).flags|=2,o.return=t,a.return=t,a.sibling=o,t.child=a,a=o,o=t.child,l=null===(l=e.child.memoizedState)?Do(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=Mo,a}return e=(o=e.child).sibling,a=Ic(o,{mode:"visible",children:a.children}),0===(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Uo(e,t){return(t=Dc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ho(e,t,n,r){return null!==r&&fi(r),$i(t,e.child,null,n),(e=Uo(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function zo(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ji(e.return,t,n)}function Bo(e,t,n,r,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a)}function qo(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail;if(xo(e,t,r.children,n),0!==(2&(r=os.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&zo(e,n,t);else if(19===e.tag)zo(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_a(os,r),0===(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ls(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Bo(t,!1,a,n,i);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ls(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Bo(t,!0,n,null,i);break;case"together":Bo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vo(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wo(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Dl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Ic(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ic(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Zo(e,t){if(!ai)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ko(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Jo(e,t,n){var r=t.pendingProps;switch(ti(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ko(t),null;case 1:case 17:return Aa(t.type)&&La(),Ko(t),null;case 3:return r=t.stateNode,as(),Na(Ea),Na(Ta),us(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ii&&(oc(ii),ii=null))),Lo(e,t),Ko(t),null;case 5:ss(t);var a=ns(ts.current);if(n=t.type,null!==e&&null!=t.stateNode)Io(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ko(t),null}if(e=ns(Xi.current),di(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[ha]=t,r[pa]=s,e=0!==(1&t.mode),n){case"dialog":Ur("cancel",r),Ur("close",r);break;case"iframe":case"object":case"embed":Ur("load",r);break;case"video":case"audio":for(a=0;a<Rr.length;a++)Ur(Rr[a],r);break;case"source":Ur("error",r);break;case"img":case"image":case"link":Ur("error",r),Ur("load",r);break;case"details":Ur("toggle",r);break;case"input":$(r,s),Ur("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Ur("invalid",r);break;case"textarea":ae(r,s),Ur("invalid",r)}for(var l in ye(n,s),a=null,s)if(s.hasOwnProperty(l)){var c=s[l];"children"===l?"string"===typeof c?r.textContent!==c&&(!0!==s.suppressHydrationWarning&&Qr(r.textContent,c,e),a=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==s.suppressHydrationWarning&&Qr(r.textContent,c,e),a=["children",""+c]):o.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Ur("scroll",r)}switch(n){case"input":Z(r),X(r,s,!0);break;case"textarea":Z(r),se(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=Xr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=oe(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ha]=t,e[pa]=r,Ao(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Ur("cancel",e),Ur("close",e),a=r;break;case"iframe":case"object":case"embed":Ur("load",e),a=r;break;case"video":case"audio":for(a=0;a<Rr.length;a++)Ur(Rr[a],e);a=r;break;case"source":Ur("error",e),a=r;break;case"img":case"image":case"link":Ur("error",e),Ur("load",e),a=r;break;case"details":Ur("toggle",e),a=r;break;case"input":$(e,r),a=G(e,r),Ur("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=D({},r,{value:void 0}),Ur("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Ur("invalid",e)}for(s in ye(n,a),c=a)if(c.hasOwnProperty(s)){var u=c[s];"style"===s?ge(e,u):"dangerouslySetInnerHTML"===s?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===s?"string"===typeof u?("textarea"!==n||""!==u)&&he(e,u):"number"===typeof u&&he(e,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(o.hasOwnProperty(s)?null!=u&&"onScroll"===s&&Ur("scroll",e):null!=u&&b(e,s,u,l))}switch(n){case"input":Z(e),X(e,r,!1);break;case"textarea":Z(e),se(e);break;case"option":null!=r.value&&e.setAttribute("value",""+V(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ne(e,!!r.multiple,s,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.onClick&&(e.onclick=Xr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ko(t),null;case 6:if(e&&null!=t.stateNode)Ro(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=ns(ts.current),ns(Xi.current),di(t)){if(r=t.stateNode,n=t.memoizedProps,r[ha]=t,(s=r.nodeValue!==n)&&null!==(e=ni))switch(e.tag){case 3:Qr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,0!==(1&e.mode))}s&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ha]=t,t.stateNode=r}return Ko(t),null;case 13:if(Na(os),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ai&&null!==ri&&0!==(1&t.mode)&&0===(128&t.flags))hi(),pi(),t.flags|=98560,s=!1;else if(s=di(t),null!==r&&null!==r.dehydrated){if(null===e){if(!s)throw Error(i(318));if(!(s=null!==(s=t.memoizedState)?s.dehydrated:null))throw Error(i(317));s[ha]=t}else pi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ko(t),s=!1}else null!==ii&&(oc(ii),ii=null),s=!0;if(!s)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&os.current)?0===Rl&&(Rl=3):gc())),null!==t.updateQueue&&(t.flags|=4),Ko(t),null);case 4:return as(),Lo(e,t),null===e&&Br(t.stateNode.containerInfo),Ko(t),null;case 10:return Ci(t.type._context),Ko(t),null;case 19:if(Na(os),null===(s=t.memoizedState))return Ko(t),null;if(r=0!==(128&t.flags),null===(l=s.rendering))if(r)Zo(s,!1);else{if(0!==Rl||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ls(e))){for(t.flags|=128,Zo(s,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=14680066,null===(l=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=l.childLanes,s.lanes=l.lanes,s.child=l.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=l.memoizedProps,s.memoizedState=l.memoizedState,s.updateQueue=l.updateQueue,s.type=l.type,e=l.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _a(os,1&os.current|2),t.child}e=e.sibling}null!==s.tail&&Ye()>ql&&(t.flags|=128,r=!0,Zo(s,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ls(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Zo(s,!0),null===s.tail&&"hidden"===s.tailMode&&!l.alternate&&!ai)return Ko(t),null}else 2*Ye()-s.renderingStartTime>ql&&1073741824!==n&&(t.flags|=128,r=!0,Zo(s,!1),t.lanes=4194304);s.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=s.last)?n.sibling=l:t.child=l,s.last=l)}return null!==s.tail?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ye(),t.sibling=null,n=os.current,_a(os,r?1&n|2:1&n),t):(Ko(t),null);case 22:case 23:return hc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Ll)&&(Ko(t),6&t.subtreeFlags&&(t.flags|=8192)):Ko(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Go(e,t){switch(ti(t),t.tag){case 1:return Aa(t.type)&&La(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return as(),Na(Ea),Na(Ta),us(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ss(t),null;case 13:if(Na(os),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));pi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Na(os),null;case 4:return as(),null;case 10:return Ci(t.type._context),null;case 22:case 23:return hc(),null;default:return null}}Ao=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Lo=function(){},Io=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ns(Xi.current);var i,s=null;switch(n){case"input":a=G(e,a),r=G(e,r),s=[];break;case"select":a=D({},a,{value:void 0}),r=D({},r,{value:void 0}),s=[];break;case"textarea":a=re(e,a),r=re(e,r),s=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=Xr)}for(u in ye(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u){var l=a[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(o.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(s||(s=[]),s.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(s=s||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(s=s||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(o.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Ur("scroll",e),s||l===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}},Ro=function(e,t,n,r){n!==r&&(t.flags|=4)};var $o=!1,Yo=!1,Qo="function"===typeof WeakSet?WeakSet:Set,Xo=null;function el(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Nc(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){Nc(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var i=a.destroy;a.destroy=void 0,void 0!==i&&tl(t,n,i)}a=a.next}while(a!==r)}}function al(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function sl(e){var t=e.alternate;null!==t&&(e.alternate=null,sl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ha],delete t[pa],delete t[ma],delete t[ga],delete t[va])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ol(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ol(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Xr));else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}var dl=null,hl=!1;function pl(e,t,n){for(n=n.child;null!==n;)fl(e,t,n),n=n.sibling}function fl(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(at,n)}catch(o){}switch(n.tag){case 5:Yo||el(n,t);case 6:var r=dl,a=hl;dl=null,pl(e,t,n),hl=a,null!==(dl=r)&&(hl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(hl?(e=dl,n=n.stateNode,8===e.nodeType?la(e.parentNode,n):1===e.nodeType&&la(e,n),Bt(e)):la(dl,n.stateNode));break;case 4:r=dl,a=hl,dl=n.stateNode.containerInfo,hl=!0,pl(e,t,n),dl=r,hl=a;break;case 0:case 11:case 14:case 15:if(!Yo&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var i=a,s=i.destroy;i=i.tag,void 0!==s&&(0!==(2&i)||0!==(4&i))&&tl(n,t,s),a=a.next}while(a!==r)}pl(e,t,n);break;case 1:if(!Yo&&(el(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){Nc(n,t,o)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Yo=(r=Yo)||null!==n.memoizedState,pl(e,t,n),Yo=r):pl(e,t,n);break;default:pl(e,t,n)}}function ml(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Qo),t.forEach((function(t){var r=Ec.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var s=e,o=t,l=o;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,hl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,hl=!0;break e}l=l.return}if(null===dl)throw Error(i(160));fl(s,o,a),dl=null,hl=!1;var c=a.alternate;null!==c&&(c.return=null),a.return=null}catch(u){Nc(a,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vl(t,e),t=t.sibling}function vl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),yl(e),4&r){try{rl(3,e,e.return),al(3,e)}catch(g){Nc(e,e.return,g)}try{rl(5,e,e.return)}catch(g){Nc(e,e.return,g)}}break;case 1:gl(t,e),yl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(gl(t,e),yl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var a=e.stateNode;try{he(a,"")}catch(g){Nc(e,e.return,g)}}if(4&r&&null!=(a=e.stateNode)){var s=e.memoizedProps,o=null!==n?n.memoizedProps:s,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===s.type&&null!=s.name&&Y(a,s),be(l,o);var u=be(l,s);for(o=0;o<c.length;o+=2){var d=c[o],h=c[o+1];"style"===d?ge(a,h):"dangerouslySetInnerHTML"===d?de(a,h):"children"===d?he(a,h):b(a,d,h,u)}switch(l){case"input":Q(a,s);break;case"textarea":ie(a,s);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!s.multiple;var f=s.value;null!=f?ne(a,!!s.multiple,f,!1):p!==!!s.multiple&&(null!=s.defaultValue?ne(a,!!s.multiple,s.defaultValue,!0):ne(a,!!s.multiple,s.multiple?[]:"",!1))}a[pa]=s}catch(g){Nc(e,e.return,g)}}break;case 6:if(gl(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(i(162));a=e.stateNode,s=e.memoizedProps;try{a.nodeValue=s}catch(g){Nc(e,e.return,g)}}break;case 3:if(gl(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Bt(t.containerInfo)}catch(g){Nc(e,e.return,g)}break;case 4:default:gl(t,e),yl(e);break;case 13:gl(t,e),yl(e),8192&(a=e.child).flags&&(s=null!==a.memoizedState,a.stateNode.isHidden=s,!s||null!==a.alternate&&null!==a.alternate.memoizedState||(Bl=Ye())),4&r&&ml(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Yo=(u=Yo)||d,gl(t,e),Yo=u):gl(t,e),yl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!==(1&e.mode))for(Xo=e,d=e.child;null!==d;){for(h=Xo=d;null!==Xo;){switch(f=(p=Xo).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:el(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){Nc(r,n,g)}}break;case 5:el(p,p.return);break;case 22:if(null!==p.memoizedState){Cl(h);continue}}null!==f?(f.return=p,Xo=f):Cl(h)}d=d.sibling}e:for(d=null,h=e;;){if(5===h.tag){if(null===d){d=h;try{a=h.stateNode,u?"function"===typeof(s=a.style).setProperty?s.setProperty("display","none","important"):s.display="none":(l=h.stateNode,o=void 0!==(c=h.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",o))}catch(g){Nc(e,e.return,g)}}}else if(6===h.tag){if(null===d)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(g){Nc(e,e.return,g)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:gl(t,e),yl(e),4&r&&ml(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ol(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(he(a,""),r.flags&=-33),ul(e,ll(e),a);break;case 3:case 4:var s=r.stateNode.containerInfo;cl(e,ll(e),s);break;default:throw Error(i(161))}}catch(o){Nc(e,e.return,o)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Xo=e,wl(e,t,n)}function wl(e,t,n){for(var r=0!==(1&e.mode);null!==Xo;){var a=Xo,i=a.child;if(22===a.tag&&r){var s=null!==a.memoizedState||$o;if(!s){var o=a.alternate,l=null!==o&&null!==o.memoizedState||Yo;o=$o;var c=Yo;if($o=s,(Yo=l)&&!c)for(Xo=a;null!==Xo;)l=(s=Xo).child,22===s.tag&&null!==s.memoizedState?jl(a):null!==l?(l.return=s,Xo=l):jl(a);for(;null!==i;)Xo=i,wl(i,t,n),i=i.sibling;Xo=a,$o=o,Yo=c}xl(e)}else 0!==(8772&a.subtreeFlags)&&null!==i?(i.return=a,Xo=i):xl(e)}}function xl(e){for(;null!==Xo;){var t=Xo;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Yo||al(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Yo)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:gi(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;null!==s&&Fi(t,s,r);break;case 3:var o=t.updateQueue;if(null!==o){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Fi(t,o,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var h=d.dehydrated;null!==h&&Bt(h)}}}break;default:throw Error(i(163))}Yo||512&t.flags&&il(t)}catch(p){Nc(t,t.return,p)}}if(t===e){Xo=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xo=n;break}Xo=t.return}}function Cl(e){for(;null!==Xo;){var t=Xo;if(t===e){Xo=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xo=n;break}Xo=t.return}}function jl(e){for(;null!==Xo;){var t=Xo;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{al(4,t)}catch(l){Nc(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(l){Nc(t,a,l)}}var i=t.return;try{il(t)}catch(l){Nc(t,i,l)}break;case 5:var s=t.return;try{il(t)}catch(l){Nc(t,s,l)}}}catch(l){Nc(t,t.return,l)}if(t===e){Xo=null;break}var o=t.sibling;if(null!==o){o.return=t.return,Xo=o;break}Xo=t.return}}var kl,Nl=Math.ceil,_l=w.ReactCurrentDispatcher,Sl=w.ReactCurrentOwner,Tl=w.ReactCurrentBatchConfig,El=0,Ol=null,Pl=null,Al=0,Ll=0,Il=ka(0),Rl=0,Ml=null,Dl=0,Fl=0,Ul=0,Hl=null,zl=null,Bl=0,ql=1/0,Vl=null,Wl=!1,Zl=null,Kl=null,Jl=!1,Gl=null,$l=0,Yl=0,Ql=null,Xl=-1,ec=0;function tc(){return 0!==(6&El)?Ye():-1!==Xl?Xl:Xl=Ye()}function nc(e){return 0===(1&e.mode)?1:0!==(2&El)&&0!==Al?Al&-Al:null!==mi.transition?(0===ec&&(ec=mt()),ec):0!==(e=bt)?e:e=void 0===(e=window.event)?16:$t(e.type)}function rc(e,t,n,r){if(50<Yl)throw Yl=0,Ql=null,Error(i(185));vt(e,n,r),0!==(2&El)&&e===Ol||(e===Ol&&(0===(2&El)&&(Fl|=n),4===Rl&&lc(e,Al)),ac(e,r),1===n&&0===El&&0===(1&t.mode)&&(ql=Ye()+500,Ua&&Ba()))}function ac(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-st(i),o=1<<s,l=a[s];-1===l?0!==(o&n)&&0===(o&r)||(a[s]=pt(o,t)):l<=t&&(e.expiredLanes|=o),i&=~o}}(e,t);var r=ht(e,e===Ol?Al:0);if(0===r)null!==n&&Je(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Je(n),1===t)0===e.tag?function(e){Ua=!0,za(e)}(cc.bind(null,e)):za(cc.bind(null,e)),sa((function(){0===(6&El)&&Ba()})),n=null;else{switch(wt(r)){case 1:n=Xe;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Oc(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Xl=-1,ec=0,0!==(6&El))throw Error(i(327));var n=e.callbackNode;if(jc()&&e.callbackNode!==n)return null;var r=ht(e,e===Ol?Al:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=vc(e,r);else{t=r;var a=El;El|=2;var s=mc();for(Ol===e&&Al===t||(Vl=null,ql=Ye()+500,pc(e,t));;)try{bc();break}catch(l){fc(e,l)}xi(),_l.current=s,El=a,null!==Pl?t=0:(Ol=null,Al=0,t=Rl)}if(0!==t){if(2===t&&(0!==(a=ft(e))&&(r=a,t=sc(e,a))),1===t)throw n=Ml,pc(e,0),lc(e,r),ac(e,Ye()),n;if(6===t)lc(e,r);else{if(a=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],i=a.getSnapshot;a=a.value;try{if(!or(i(),a))return!1}catch(o){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=vc(e,r))&&(0!==(s=ft(e))&&(r=s,t=sc(e,s))),1===t))throw n=Ml,pc(e,0),lc(e,r),ac(e,Ye()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:Cc(e,zl,Vl);break;case 3:if(lc(e,r),(130023424&r)===r&&10<(t=Bl+500-Ye())){if(0!==ht(e,0))break;if(((a=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(Cc.bind(null,e,zl,Vl),t);break}Cc(e,zl,Vl);break;case 4:if(lc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var o=31-st(r);s=1<<o,(o=t[o])>a&&(a=o),r&=~s}if(r=a,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Nl(r/1960))-r)){e.timeoutHandle=ra(Cc.bind(null,e,zl,Vl),r);break}Cc(e,zl,Vl);break;default:throw Error(i(329))}}}return ac(e,Ye()),e.callbackNode===n?ic.bind(null,e):null}function sc(e,t){var n=Hl;return e.current.memoizedState.isDehydrated&&(pc(e,t).flags|=256),2!==(e=vc(e,t))&&(t=zl,zl=n,null!==t&&oc(t)),e}function oc(e){null===zl?zl=e:zl.push.apply(zl,e)}function lc(e,t){for(t&=~Ul,t&=~Fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-st(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(0!==(6&El))throw Error(i(327));jc();var t=ht(e,0);if(0===(1&t))return ac(e,Ye()),null;var n=vc(e,t);if(0!==e.tag&&2===n){var r=ft(e);0!==r&&(t=r,n=sc(e,r))}if(1===n)throw n=Ml,pc(e,0),lc(e,t),ac(e,Ye()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Cc(e,zl,Vl),ac(e,Ye()),null}function uc(e,t){var n=El;El|=1;try{return e(t)}finally{0===(El=n)&&(ql=Ye()+500,Ua&&Ba())}}function dc(e){null!==Gl&&0===Gl.tag&&0===(6&El)&&jc();var t=El;El|=1;var n=Tl.transition,r=bt;try{if(Tl.transition=null,bt=1,e)return e()}finally{bt=r,Tl.transition=n,0===(6&(El=t))&&Ba()}}function hc(){Ll=Il.current,Na(Il)}function pc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Pl)for(n=Pl.return;null!==n;){var r=n;switch(ti(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&La();break;case 3:as(),Na(Ea),Na(Ta),us();break;case 5:ss(r);break;case 4:as();break;case 13:case 19:Na(os);break;case 10:Ci(r.type._context);break;case 22:case 23:hc()}n=n.return}if(Ol=e,Pl=e=Ic(e.current,null),Al=Ll=t,Rl=0,Ml=null,Ul=Fl=Dl=0,zl=Hl=null,null!==_i){for(t=0;t<_i.length;t++)if(null!==(r=(n=_i[t]).interleaved)){n.interleaved=null;var a=r.next,i=n.pending;if(null!==i){var s=i.next;i.next=a,r.next=s}n.pending=r}_i=null}return e}function fc(e,t){for(;;){var n=Pl;try{if(xi(),ds.current=io,vs){for(var r=fs.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}vs=!1}if(ps=0,gs=ms=fs=null,ys=!1,bs=0,Sl.current=null,null===n||null===n.return){Rl=1,Ml=t,Pl=null;break}e:{var s=e,o=n.return,l=n,c=t;if(t=Al,l.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=l,h=d.tag;if(0===(1&d.mode)&&(0===h||11===h||15===h)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var f=vo(o);if(null!==f){f.flags&=-257,yo(f,o,l,0,t),1&f.mode&&go(s,u,t),c=u;var m=(t=f).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(0===(1&t)){go(s,u,t),gc();break e}c=Error(i(426))}else if(ai&&1&l.mode){var v=vo(o);if(null!==v){0===(65536&v.flags)&&(v.flags|=256),yo(v,o,l,0,t),fi(co(c,l));break e}}s=c=co(c,l),4!==Rl&&(Rl=2),null===Hl?Hl=[s]:Hl.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t,Mi(s,fo(0,c,t));break e;case 1:l=c;var y=s.type,b=s.stateNode;if(0===(128&s.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Kl||!Kl.has(b)))){s.flags|=65536,t&=-t,s.lanes|=t,Mi(s,mo(s,l,t));break e}}s=s.return}while(null!==s)}xc(n)}catch(w){t=w,Pl===n&&null!==n&&(Pl=n=n.return);continue}break}}function mc(){var e=_l.current;return _l.current=io,null===e?io:e}function gc(){0!==Rl&&3!==Rl&&2!==Rl||(Rl=4),null===Ol||0===(268435455&Dl)&&0===(268435455&Fl)||lc(Ol,Al)}function vc(e,t){var n=El;El|=2;var r=mc();for(Ol===e&&Al===t||(Vl=null,pc(e,t));;)try{yc();break}catch(a){fc(e,a)}if(xi(),El=n,_l.current=r,null!==Pl)throw Error(i(261));return Ol=null,Al=0,Rl}function yc(){for(;null!==Pl;)wc(Pl)}function bc(){for(;null!==Pl&&!Ge();)wc(Pl)}function wc(e){var t=kl(e.alternate,e,Ll);e.memoizedProps=e.pendingProps,null===t?xc(e):Pl=t,Sl.current=null}function xc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Jo(n,t,Ll)))return void(Pl=n)}else{if(null!==(n=Go(n,t)))return n.flags&=32767,void(Pl=n);if(null===e)return Rl=6,void(Pl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Pl=t);Pl=t=e}while(null!==t);0===Rl&&(Rl=5)}function Cc(e,t,n){var r=bt,a=Tl.transition;try{Tl.transition=null,bt=1,function(e,t,n,r){do{jc()}while(null!==Gl);if(0!==(6&El))throw Error(i(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-st(n),i=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~i}}(e,s),e===Ol&&(Pl=Ol=null,Al=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Jl||(Jl=!0,Oc(tt,(function(){return jc(),null}))),s=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||s){s=Tl.transition,Tl.transition=null;var o=bt;bt=1;var l=El;El|=4,Sl.current=null,function(e,t){if(ea=Vt,pr(e=hr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch(x){n=null;break e}var o=0,l=-1,c=-1,u=0,d=0,h=e,p=null;t:for(;;){for(var f;h!==n||0!==a&&3!==h.nodeType||(l=o+a),h!==s||0!==r&&3!==h.nodeType||(c=o+r),3===h.nodeType&&(o+=h.nodeValue.length),null!==(f=h.firstChild);)p=h,h=f;for(;;){if(h===e)break t;if(p===n&&++u===a&&(l=o),p===s&&++d===r&&(c=o),null!==(f=h.nextSibling))break;p=(h=p).parentNode}h=f}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Vt=!1,Xo=t;null!==Xo;)if(e=(t=Xo).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Xo=e;else for(;null!==Xo;){t=Xo;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:gi(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(x){Nc(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,Xo=e;break}Xo=t.return}m=nl,nl=!1}(e,n),vl(n,e),fr(ta),Vt=!!ea,ta=ea=null,e.current=n,bl(n,e,a),$e(),El=l,bt=o,Tl.transition=s}else e.current=n;if(Jl&&(Jl=!1,Gl=e,$l=a),s=e.pendingLanes,0===s&&(Kl=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(at,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),ac(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Wl)throw Wl=!1,e=Zl,Zl=null,e;0!==(1&$l)&&0!==e.tag&&jc(),s=e.pendingLanes,0!==(1&s)?e===Ql?Yl++:(Yl=0,Ql=e):Yl=0,Ba()}(e,t,n,r)}finally{Tl.transition=a,bt=r}return null}function jc(){if(null!==Gl){var e=wt($l),t=Tl.transition,n=bt;try{if(Tl.transition=null,bt=16>e?16:e,null===Gl)var r=!1;else{if(e=Gl,Gl=null,$l=0,0!==(6&El))throw Error(i(331));var a=El;for(El|=4,Xo=e.current;null!==Xo;){var s=Xo,o=s.child;if(0!==(16&Xo.flags)){var l=s.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Xo=u;null!==Xo;){var d=Xo;switch(d.tag){case 0:case 11:case 15:rl(8,d,s)}var h=d.child;if(null!==h)h.return=d,Xo=h;else for(;null!==Xo;){var p=(d=Xo).sibling,f=d.return;if(sl(d),d===u){Xo=null;break}if(null!==p){p.return=f,Xo=p;break}Xo=f}}}var m=s.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Xo=s}}if(0!==(2064&s.subtreeFlags)&&null!==o)o.return=s,Xo=o;else e:for(;null!==Xo;){if(0!==(2048&(s=Xo).flags))switch(s.tag){case 0:case 11:case 15:rl(9,s,s.return)}var y=s.sibling;if(null!==y){y.return=s.return,Xo=y;break e}Xo=s.return}}var b=e.current;for(Xo=b;null!==Xo;){var w=(o=Xo).child;if(0!==(2064&o.subtreeFlags)&&null!==w)w.return=o,Xo=w;else e:for(o=b;null!==Xo;){if(0!==(2048&(l=Xo).flags))try{switch(l.tag){case 0:case 11:case 15:al(9,l)}}catch(C){Nc(l,l.return,C)}if(l===o){Xo=null;break e}var x=l.sibling;if(null!==x){x.return=l.return,Xo=x;break e}Xo=l.return}}if(El=a,Ba(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(at,e)}catch(C){}r=!0}return r}finally{bt=n,Tl.transition=t}}return!1}function kc(e,t,n){e=Ii(e,t=fo(0,t=co(n,t),1),1),t=tc(),null!==e&&(vt(e,1,t),ac(e,t))}function Nc(e,t,n){if(3===e.tag)kc(e,e,n);else for(;null!==t;){if(3===t.tag){kc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Kl||!Kl.has(r))){t=Ii(t,e=mo(t,e=co(n,e),1),1),e=tc(),null!==t&&(vt(t,1,e),ac(t,e));break}}t=t.return}}function _c(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,Ol===e&&(Al&n)===n&&(4===Rl||3===Rl&&(130023424&Al)===Al&&500>Ye()-Bl?pc(e,0):Ul|=n),ac(e,t)}function Sc(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var n=tc();null!==(e=Ei(e,t))&&(vt(e,t,n),ac(e,n))}function Tc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Sc(e,n)}function Ec(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Sc(e,n)}function Oc(e,t){return Ke(e,t)}function Pc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ac(e,t,n,r){return new Pc(e,t,n,r)}function Lc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ic(e,t){var n=e.alternate;return null===n?((n=Ac(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Rc(e,t,n,r,a,s){var o=2;if(r=e,"function"===typeof e)Lc(e)&&(o=1);else if("string"===typeof e)o=5;else e:switch(e){case j:return Mc(n.children,a,s,t);case k:o=8,a|=8;break;case N:return(e=Ac(12,n,t,2|a)).elementType=N,e.lanes=s,e;case E:return(e=Ac(13,n,t,a)).elementType=E,e.lanes=s,e;case O:return(e=Ac(19,n,t,a)).elementType=O,e.lanes=s,e;case L:return Dc(n,a,s,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case _:o=10;break e;case S:o=9;break e;case T:o=11;break e;case P:o=14;break e;case A:o=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Ac(o,n,t,a)).elementType=e,t.type=r,t.lanes=s,t}function Mc(e,t,n,r){return(e=Ac(7,e,r,t)).lanes=n,e}function Dc(e,t,n,r){return(e=Ac(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function Fc(e,t,n){return(e=Ac(6,e,null,t)).lanes=n,e}function Uc(e,t,n){return(t=Ac(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hc(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function zc(e,t,n,r,a,i,s,o,l){return e=new Hc(e,t,n,o,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Ac(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pi(i),e}function Bc(e){if(!e)return Sa;e:{if(Be(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Aa(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(Aa(n))return Ra(e,n,t)}return t}function qc(e,t,n,r,a,i,s,o,l){return(e=zc(n,r,!0,e,0,i,0,o,l)).context=Bc(null),n=e.current,(i=Li(r=tc(),a=nc(n))).callback=void 0!==t&&null!==t?t:null,Ii(n,i,a),e.current.lanes=a,vt(e,a,r),ac(e,r),e}function Vc(e,t,n,r){var a=t.current,i=tc(),s=nc(a);return n=Bc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Li(i,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ii(a,t,s))&&(rc(e,a,s,i),Ri(e,a,s)),s}function Wc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Zc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Kc(e,t){Zc(e,t),(e=e.alternate)&&Zc(e,t)}kl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ea.current)wo=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return wo=!1,function(e,t,n){switch(t.tag){case 3:Oo(t),pi();break;case 5:is(t);break;case 1:Aa(t.type)&&Ma(t);break;case 4:rs(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;_a(vi,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_a(os,1&os.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Fo(e,t,n):(_a(os,1&os.current),null!==(e=Wo(e,t,n))?e.sibling:null);_a(os,1&os.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return qo(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),_a(os,os.current),r)break;return null;case 22:case 23:return t.lanes=0,No(e,t,n)}return Wo(e,t,n)}(e,t,n);wo=0!==(131072&e.flags)}else wo=!1,ai&&0!==(1048576&t.flags)&&Xa(t,Za,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vo(e,t),e=t.pendingProps;var a=Pa(t,Ta.current);ki(t,n),a=js(null,t,r,e,a,n);var s=ks();return t.flags|=1,"object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Aa(r)?(s=!0,Ma(t)):s=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Pi(t),a.updater=zi,t.stateNode=a,a._reactInternals=t,Wi(t,r,e,n),t=Eo(null,t,r,!0,s,n)):(t.tag=0,ai&&s&&ei(t),xo(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Vo(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"===typeof e)return Lc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===T)return 11;if(e===P)return 14}return 2}(r),e=gi(r,e),a){case 0:t=So(null,t,r,e,n);break e;case 1:t=To(null,t,r,e,n);break e;case 11:t=Co(null,t,r,e,n);break e;case 14:t=jo(null,t,r,gi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,So(e,t,r,a=t.elementType===r?a:gi(r,a),n);case 1:return r=t.type,a=t.pendingProps,To(e,t,r,a=t.elementType===r?a:gi(r,a),n);case 3:e:{if(Oo(t),null===e)throw Error(i(387));r=t.pendingProps,a=(s=t.memoizedState).element,Ai(e,t),Di(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated){if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,256&t.flags){t=Po(e,t,r,n,a=co(Error(i(423)),t));break e}if(r!==a){t=Po(e,t,r,n,a=co(Error(i(424)),t));break e}for(ri=ca(t.stateNode.containerInfo.firstChild),ni=t,ai=!0,ii=null,n=Yi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pi(),r===a){t=Wo(e,t,n);break e}xo(e,t,r,n)}t=t.child}return t;case 5:return is(t),null===e&&ci(t),r=t.type,a=t.pendingProps,s=null!==e?e.memoizedProps:null,o=a.children,na(r,a)?o=null:null!==s&&na(r,s)&&(t.flags|=32),_o(e,t),xo(e,t,o,n),t.child;case 6:return null===e&&ci(t),null;case 13:return Fo(e,t,n);case 4:return rs(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=$i(t,null,r,n):xo(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Co(e,t,r,a=t.elementType===r?a:gi(r,a),n);case 7:return xo(e,t,t.pendingProps,n),t.child;case 8:case 12:return xo(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,s=t.memoizedProps,o=a.value,_a(vi,r._currentValue),r._currentValue=o,null!==s)if(or(s.value,o)){if(s.children===a.children&&!Ea.current){t=Wo(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var l=s.dependencies;if(null!==l){o=s.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===s.tag){(c=Li(-1,n&-n)).tag=2;var u=s.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}s.lanes|=n,null!==(c=s.alternate)&&(c.lanes|=n),ji(s.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===s.tag)o=s.type===t.type?null:s.child;else if(18===s.tag){if(null===(o=s.return))throw Error(i(341));o.lanes|=n,null!==(l=o.alternate)&&(l.lanes|=n),ji(o,n,t),o=s.sibling}else o=s.child;if(null!==o)o.return=s;else for(o=s;null!==o;){if(o===t){o=null;break}if(null!==(s=o.sibling)){s.return=o.return,o=s;break}o=o.return}s=o}xo(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,ki(t,n),r=r(a=Ni(a)),t.flags|=1,xo(e,t,r,n),t.child;case 14:return a=gi(r=t.type,t.pendingProps),jo(e,t,r,a=gi(r.type,a),n);case 15:return ko(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:gi(r,a),Vo(e,t),t.tag=1,Aa(r)?(e=!0,Ma(t)):e=!1,ki(t,n),qi(t,r,a),Wi(t,r,a,n),Eo(null,t,r,!0,e,n);case 19:return qo(e,t,n);case 22:return No(e,t,n)}throw Error(i(156,t.tag))};var Jc="function"===typeof reportError?reportError:function(e){console.error(e)};function Gc(e){this._internalRoot=e}function $c(e){this._internalRoot=e}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function eu(e,t,n,r,a){var i=n._reactRootContainer;if(i){var s=i;if("function"===typeof a){var o=a;a=function(){var e=Wc(s);o.call(e)}}Vc(t,s,e,a)}else s=function(e,t,n,r,a){if(a){if("function"===typeof r){var i=r;r=function(){var e=Wc(s);i.call(e)}}var s=qc(t,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=s,e[fa]=s.current,Br(8===e.nodeType?e.parentNode:e),dc(),s}for(;a=e.lastChild;)e.removeChild(a);if("function"===typeof r){var o=r;r=function(){var e=Wc(l);o.call(e)}}var l=zc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[fa]=l.current,Br(8===e.nodeType?e.parentNode:e),dc((function(){Vc(t,l,n,r)})),l}(n,t,e,a,r);return Wc(s)}$c.prototype.render=Gc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Vc(e,t,null,null)},$c.prototype.unmount=Gc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){Vc(null,e,null,null)})),t[fa]=null}},$c.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&Dt(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ac(t,Ye()),0===(6&El)&&(ql=Ye()+500,Ba()))}break;case 13:dc((function(){var t=Ei(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Kc(e,1)}},Ct=function(e){if(13===e.tag){var t=Ei(e,134217728);if(null!==t)rc(t,e,134217728,tc());Kc(e,134217728)}},jt=function(e){if(13===e.tag){var t=nc(e),n=Ei(e,t);if(null!==n)rc(n,e,t,tc());Kc(e,t)}},kt=function(){return bt},Nt=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Ce=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=xa(r);if(!a)throw Error(i(90));K(r),Q(r,a)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Te=uc,Ee=dc;var tu={usingClientEntryPoint:!1,Events:[ba,wa,xa,_e,Se,uc]},nu={findFiberByHostInstance:ya,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!au.isDisabled&&au.supportsFiber)try{at=au.inject(ru),it=au}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yc(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:C,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yc(e))throw Error(i(299));var n=!1,r="",a=Jc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=zc(e,1,!1,null,0,n,0,r,a),e[fa]=t.current,Br(8===e.nodeType?e.parentNode:e),new Gc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Qc(t))throw Error(i(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yc(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,a=!1,s="",o=Jc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(s=n.identifierPrefix),void 0!==n.onRecoverableError&&(o=n.onRecoverableError)),t=qc(t,null,e,1,null!=n?n:null,a,0,s,o),e[fa]=t.current,Br(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new $c(t)},t.render=function(e,t,n){if(!Qc(t))throw Error(i(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(i(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[fa]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Qc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},250:(e,t,n)=>{"use strict";var r=n(164);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},164:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(463)},195:(e,t,n)=>{"use strict";function r(e,t,n,r,a,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}const a={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{a[e]=new r(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((e=>{let[t,n]=e;a[t]=new r(t,1,!1,n,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{a[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{a[e]=new r(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{a[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{a[e]=new r(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{a[e]=new r(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{a[e]=new r(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{a[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)}));const i=/[\-\:]([a-z])/g,s=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(i,s);a[t]=new r(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(i,s);a[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(i,s);a[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{a[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)}));a.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{a[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:o,SAME:l,possibleStandardNames:c}=n(590),u=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(c).reduce(((e,t)=>{const n=c[t];return n===l?e[t]=t:n===o?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return a.hasOwnProperty(e)?a[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=d},590:(e,t)=>{t.SAME=0;t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},374:(e,t,n)=>{"use strict";var r=n(791),a=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:u,props:i,_owner:o.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},117:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var w=b.prototype=new y;w.constructor=b,m(w,v.prototype),w.isPureReactComponent=!0;var x=Array.isArray,C=Object.prototype.hasOwnProperty,j={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function N(e,t,r){var a,i={},s=null,o=null;if(null!=t)for(a in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(s=""+t.key),t)C.call(t,a)&&!k.hasOwnProperty(a)&&(i[a]=t[a]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===i[a]&&(i[a]=l[a]);return{$$typeof:n,type:e,key:s,ref:o,props:i,_owner:j.current}}function _(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var S=/\/+/g;function T(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function E(e,t,a,i,s){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var l=!1;if(null===e)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return s=s(l=e),e=""===i?"."+T(l,0):i,x(s)?(a="",null!=e&&(a=e.replace(S,"$&/")+"/"),E(s,t,a,"",(function(e){return e}))):null!=s&&(_(s)&&(s=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(s,a+(!s.key||l&&l.key===s.key?"":(""+s.key).replace(S,"$&/")+"/")+e)),t.push(s)),1;if(l=0,i=""===i?".":i+":",x(e))for(var c=0;c<e.length;c++){var u=i+T(o=e[c],c);l+=E(o,t,a,u,s)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(o=e.next()).done;)l+=E(o=o.value,t,a,u=i+T(o,c++),s);else if("object"===o)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function O(e,t,n){if(null==e)return e;var r=[],a=0;return E(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A={current:null},L={transition:null},I={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:L,ReactCurrentOwner:j};t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=a,t.Profiler=s,t.PureComponent=b,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=m({},e.props),i=e.key,s=e.ref,o=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,o=j.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)C.call(t,c)&&!k.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}return{$$typeof:n,type:e.type,key:i,ref:s,props:a,_owner:o}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=N,t.createFactory=function(e){var t=N.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return A.current.useCallback(e,t)},t.useContext=function(e){return A.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return A.current.useDeferredValue(e)},t.useEffect=function(e,t){return A.current.useEffect(e,t)},t.useId=function(){return A.current.useId()},t.useImperativeHandle=function(e,t,n){return A.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return A.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return A.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return A.current.useMemo(e,t)},t.useReducer=function(e,t,n){return A.current.useReducer(e,t,n)},t.useRef=function(e){return A.current.useRef(e)},t.useState=function(e){return A.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return A.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return A.current.useTransition()},t.version="18.2.0"},791:(e,t,n)=>{"use strict";e.exports=n(117)},184:(e,t,n)=>{"use strict";e.exports=n(374)},813:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<i(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,s=a>>>1;r<s;){var o=2*(r+1)-1,l=e[o],c=o+1,u=e[c];if(0>i(l,n))c<a&&0>i(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[o]=n,r=o);else{if(!(c<a&&0>i(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var o=Date,l=o.now();t.unstable_now=function(){return o.now()-l}}var c=[],u=[],d=1,h=null,p=3,f=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(u);null!==t;){if(null===t.callback)a(u);else{if(!(t.startTime<=e))break;a(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function x(e){if(g=!1,w(e),!m)if(null!==r(c))m=!0,L(C);else{var t=r(u);null!==t&&I(x,t.startTime-e)}}function C(e,n){m=!1,g&&(g=!1,y(_),_=-1),f=!0;var i=p;try{for(w(n),h=r(c);null!==h&&(!(h.expirationTime>n)||e&&!E());){var s=h.callback;if("function"===typeof s){h.callback=null,p=h.priorityLevel;var o=s(h.expirationTime<=n);n=t.unstable_now(),"function"===typeof o?h.callback=o:h===r(c)&&a(c),w(n)}else a(c);h=r(c)}if(null!==h)var l=!0;else{var d=r(u);null!==d&&I(x,d.startTime-n),l=!1}return l}finally{h=null,p=i,f=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var j,k=!1,N=null,_=-1,S=5,T=-1;function E(){return!(t.unstable_now()-T<S)}function O(){if(null!==N){var e=t.unstable_now();T=e;var n=!0;try{n=N(!0,e)}finally{n?j():(k=!1,N=null)}}else k=!1}if("function"===typeof b)j=function(){b(O)};else if("undefined"!==typeof MessageChannel){var P=new MessageChannel,A=P.port2;P.port1.onmessage=O,j=function(){A.postMessage(null)}}else j=function(){v(O,0)};function L(e){N=e,k||(k=!0,j())}function I(e,n){_=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,L(C))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,i){var s=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?s+i:s:i=s,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:i,expirationTime:o=i+o,sortIndex:-1},i>s?(e.sortIndex=i,n(u,e),null===r(c)&&e===r(u)&&(g?(y(_),_=-1):g=!0,I(x,i-s))):(e.sortIndex=o,n(c,e),m||f||(m=!0,L(C))),e},t.unstable_shouldYield=E,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},296:(e,t,n)=>{"use strict";e.exports=n(813)},792:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(9)),a=n(483);function i(e,t){var n={};return e&&"string"===typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,a.camelCase)(e,t)]=r)})),n):n}i.default=i,e.exports=i},483:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,a=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,o=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||a.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,l):e.replace(i,l)).replace(r,o))}},9:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n(65));t.default=function(e,t){var n=null;if(!e||"string"!==typeof e)return n;var r=(0,a.default)(e),i="function"===typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,a=e.value;i?t(r,a,e):a&&((n=n||{})[r]=a)}})),n}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.m=__webpack_modules__,(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;__webpack_require__.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"===typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"===typeof n.then)return n}var a=Object.create(null);__webpack_require__.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,__webpack_require__.d(a,i),a}})(),__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((t,n)=>(__webpack_require__.f[n](e,t),t)),[])),__webpack_require__.u=e=>"static/js/"+e+"."+{289:"a9955726",787:"3187cdcb"}[e]+".chunk.js",__webpack_require__.miniCssF=e=>{},__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="tylo-react:";__webpack_require__.l=(n,r,a,i)=>{if(e[n])e[n].push(r);else{var s,o;if(void 0!==a)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==t+a){s=u;break}}s||(o=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,__webpack_require__.nc&&s.setAttribute("nonce",__webpack_require__.nc),s.setAttribute("data-webpack",t+a),s.src=n),e[n]=[r];var d=(t,r)=>{s.onerror=s.onload=null,clearTimeout(h);var a=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),a&&a.forEach((e=>e(r))),t)return t(r)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),o&&document.head.appendChild(s)}}})(),__webpack_require__.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.p="/",(()=>{var e={179:0};__webpack_require__.f.j=(t,n)=>{var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise(((n,a)=>r=e[t]=[n,a]));n.push(r[2]=a);var i=__webpack_require__.p+__webpack_require__.u(t),s=new Error;__webpack_require__.l(i,(n=>{if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,r[1](s)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,a,i=n[0],s=n[1],o=n[2],l=0;if(i.some((t=>0!==e[t]))){for(r in s)__webpack_require__.o(s,r)&&(__webpack_require__.m[r]=s[r]);if(o)o(__webpack_require__)}for(t&&t(n);l<i.length;l++)a=i[l],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=self.webpackChunktylo_react=self.webpackChunktylo_react||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var __webpack_exports__={};(()=>{"use strict";var e={};__webpack_require__.r(e),__webpack_require__.d(e,{hasBrowserEnv:()=>Nt,hasStandardBrowserEnv:()=>_t,hasStandardBrowserWebWorkerEnv:()=>Tt});var t,n=__webpack_require__(791),r=__webpack_require__.t(n,2),a=__webpack_require__(250),i=__webpack_require__(164),s=__webpack_require__.t(i,2);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(t||(t={}));const l="popstate";function c(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function u(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function d(e,t){return{usr:e.state,key:e.key,idx:t}}function h(e,t,n,r){return void 0===n&&(n=null),o({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?f(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function p(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function f(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function m(e,n,r,a){void 0===a&&(a={});let{window:i=document.defaultView,v5Compat:s=!1}=a,u=i.history,f=t.Pop,m=null,g=v();function v(){return(u.state||{idx:null}).idx}function y(){f=t.Pop;let e=v(),n=null==e?null:e-g;g=e,m&&m({action:f,location:w.location,delta:n})}function b(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,n="string"===typeof e?e:p(e);return c(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,u.replaceState(o({},u.state,{idx:g}),""));let w={get action(){return f},get location(){return e(i,u)},listen(e){if(m)throw new Error("A history only accepts one active listener");return i.addEventListener(l,y),m=e,()=>{i.removeEventListener(l,y),m=null}},createHref:e=>n(i,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,n){f=t.Push;let a=h(w.location,e,n);r&&r(a,e),g=v()+1;let o=d(a,g),l=w.createHref(a);try{u.pushState(o,"",l)}catch(c){if(c instanceof DOMException&&"DataCloneError"===c.name)throw c;i.location.assign(l)}s&&m&&m({action:f,location:w.location,delta:1})},replace:function(e,n){f=t.Replace;let a=h(w.location,e,n);r&&r(a,e),g=v();let i=d(a,g),o=w.createHref(a);u.replaceState(i,"",o),s&&m&&m({action:f,location:w.location,delta:0})},go:e=>u.go(e)};return w}var g;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(g||(g={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function v(e,t,n){void 0===n&&(n="/");let r=P(("string"===typeof t?f(t):t).pathname||"/",n);if(null==r)return null;let a=y(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let i=null;for(let s=0;null==i&&s<a.length;++s)i=T(a[s],O(r));return i}function y(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let a=(e,a,i)=>{let s={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};s.relativePath.startsWith("/")&&(c(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(r.length));let o=M([r,s.relativePath]),l=n.concat(s);e.children&&e.children.length>0&&(c(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+o+'".'),y(e.children,t,l,o)),(null!=e.path||e.index)&&t.push({path:o,score:S(o,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of b(e.path))a(e,t,r);else a(e,t)})),t}function b(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return a?[i,""]:[i];let s=b(r.join("/")),o=[];return o.push(...s.map((e=>""===e?i:[i,e].join("/")))),a&&o.push(...s),o.map((t=>e.startsWith("/")&&""===t?"/":t))}const w=/^:\w+$/,x=3,C=2,j=1,k=10,N=-2,_=e=>"*"===e;function S(e,t){let n=e.split("/"),r=n.length;return n.some(_)&&(r+=N),t&&(r+=C),n.filter((e=>!_(e))).reduce(((e,t)=>e+(w.test(t)?x:""===t?j:k)),r)}function T(e,t){let{routesMeta:n}=e,r={},a="/",i=[];for(let s=0;s<n.length;++s){let e=n[s],o=s===n.length-1,l="/"===a?t:t.slice(a.length)||"/",c=E({path:e.relativePath,caseSensitive:e.caseSensitive,end:o},l);if(!c)return null;Object.assign(r,c.params);let u=e.route;i.push({params:r,pathname:M([a,c.pathname]),pathnameBase:D(M([a,c.pathnameBase])),route:u}),"/"!==c.pathnameBase&&(a=M([a,c.pathnameBase]))}return i}function E(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);u("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let i=new RegExp(a,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let i=a[0],s=i.replace(/(.)\/+$/,"$1"),o=a.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:a}=t;if("*"===r){let e=o[n]||"";s=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const l=o[n];return e[r]=a&&!l?void 0:function(e,t){try{return decodeURIComponent(e)}catch(n){return u(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(l||"",r),e}),{}),pathname:i,pathnameBase:s,pattern:e}}function O(e){try{return decodeURI(e)}catch(t){return u(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function P(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function A(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function L(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function I(e,t){let n=L(e);return t?n.map(((t,n)=>n===e.length-1?t.pathname:t.pathnameBase)):n.map((e=>e.pathnameBase))}function R(e,t,n,r){let a;void 0===r&&(r=!1),"string"===typeof e?a=f(e):(a=o({},e),c(!a.pathname||!a.pathname.includes("?"),A("?","pathname","search",a)),c(!a.pathname||!a.pathname.includes("#"),A("#","pathname","hash",a)),c(!a.search||!a.search.includes("#"),A("#","search","hash",a)));let i,s=""===e||""===a.pathname,l=s?"/":a.pathname;if(null==l)i=n;else{let e=t.length-1;if(!r&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}i=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:a=""}="string"===typeof e?f(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:F(r),hash:U(a)}}(a,i),d=l&&"/"!==l&&l.endsWith("/"),h=(s||"."===l)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!h||(u.pathname+="/"),u}const M=e=>e.join("/").replace(/\/\/+/g,"/"),D=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),F=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",U=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;function H(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const z=["post","put","patch","delete"],B=(new Set(z),["get",...z]);new Set(B),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q.apply(this,arguments)}const V=n.createContext(null);const W=n.createContext(null);const Z=n.createContext(null);const K=n.createContext(null);const J=n.createContext({outlet:null,matches:[],isDataRoute:!1});const G=n.createContext(null);function $(){return null!=n.useContext(K)}function Y(){return $()||c(!1),n.useContext(K).location}function Q(e){n.useContext(Z).static||n.useLayoutEffect(e)}function X(){let{isDataRoute:e}=n.useContext(J);return e?function(){let{router:e}=le(se.UseNavigateStable),t=ue(oe.UseNavigateStable),r=n.useRef(!1);return Q((()=>{r.current=!0})),n.useCallback((function(n,a){void 0===a&&(a={}),r.current&&("number"===typeof n?e.navigate(n):e.navigate(n,q({fromRouteId:t},a)))}),[e,t])}():function(){$()||c(!1);let e=n.useContext(V),{basename:t,future:r,navigator:a}=n.useContext(Z),{matches:i}=n.useContext(J),{pathname:s}=Y(),o=JSON.stringify(I(i,r.v7_relativeSplatPath)),l=n.useRef(!1);return Q((()=>{l.current=!0})),n.useCallback((function(n,r){if(void 0===r&&(r={}),!l.current)return;if("number"===typeof n)return void a.go(n);let i=R(n,JSON.parse(o),s,"path"===r.relative);null==e&&"/"!==t&&(i.pathname="/"===i.pathname?t:M([t,i.pathname])),(r.replace?a.replace:a.push)(i,r.state,r)}),[t,a,o,s,e])}()}function ee(e,r,a,i){$()||c(!1);let{navigator:s}=n.useContext(Z),{matches:o}=n.useContext(J),l=o[o.length-1],u=l?l.params:{},d=(l&&l.pathname,l?l.pathnameBase:"/");l&&l.route;let h,p=Y();if(r){var m;let e="string"===typeof r?f(r):r;"/"===d||(null==(m=e.pathname)?void 0:m.startsWith(d))||c(!1),h=e}else h=p;let g=h.pathname||"/",y=v(e,{pathname:"/"===d?g:g.slice(d.length)||"/"});let b=ie(y&&y.map((e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:M([d,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:M([d,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),o,a,i);return r&&b?n.createElement(K.Provider,{value:{location:q({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:t.Pop}},b):b}function te(){let e=function(){var e;let t=n.useContext(G),r=ce(oe.UseRouteError),a=ue(oe.UseRouteError);if(void 0!==t)return t;return null==(e=r.errors)?void 0:e[a]}(),t=H(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:a};return n.createElement(n.Fragment,null,n.createElement("h2",null,"Unexpected Application Error!"),n.createElement("h3",{style:{fontStyle:"italic"}},t),r?n.createElement("pre",{style:i},r):null,null)}const ne=n.createElement(te,null);class re extends n.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?n.createElement(J.Provider,{value:this.props.routeContext},n.createElement(G.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ae(e){let{routeContext:t,match:r,children:a}=e,i=n.useContext(V);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),n.createElement(J.Provider,{value:t},a)}function ie(e,t,r,a){var i;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===a&&(a=null),null==e){var s;if(null==(s=r)||!s.errors)return null;e=r.matches}let o=e,l=null==(i=r)?void 0:i.errors;if(null!=l){let e=o.findIndex((e=>e.route.id&&(null==l?void 0:l[e.route.id])));e>=0||c(!1),o=o.slice(0,Math.min(o.length,e+1))}let u=!1,d=-1;if(r&&a&&a.v7_partialHydration)for(let n=0;n<o.length;n++){let e=o[n];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(d=n),e.route.id){let{loaderData:t,errors:n}=r,a=e.route.loader&&void 0===t[e.route.id]&&(!n||void 0===n[e.route.id]);if(e.route.lazy||a){u=!0,o=d>=0?o.slice(0,d+1):[o[0]];break}}}return o.reduceRight(((e,a,i)=>{let s,c=!1,h=null,p=null;var f;r&&(s=l&&a.route.id?l[a.route.id]:void 0,h=a.route.errorElement||ne,u&&(d<0&&0===i?(f="route-fallback",!1||de[f]||(de[f]=!0),c=!0,p=null):d===i&&(c=!0,p=a.route.hydrateFallbackElement||null)));let m=t.concat(o.slice(0,i+1)),g=()=>{let t;return t=s?h:c?p:a.route.Component?n.createElement(a.route.Component,null):a.route.element?a.route.element:e,n.createElement(ae,{match:a,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:t})};return r&&(a.route.ErrorBoundary||a.route.errorElement||0===i)?n.createElement(re,{location:r.location,revalidation:r.revalidation,component:h,error:s,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()}),null)}var se=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(se||{}),oe=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(oe||{});function le(e){let t=n.useContext(V);return t||c(!1),t}function ce(e){let t=n.useContext(W);return t||c(!1),t}function ue(e){let t=function(e){let t=n.useContext(J);return t||c(!1),t}(),r=t.matches[t.matches.length-1];return r.route.id||c(!1),r.route.id}const de={};r.startTransition;function he(e){c(!1)}function pe(e){let{basename:r="/",children:a=null,location:i,navigationType:s=t.Pop,navigator:o,static:l=!1,future:u}=e;$()&&c(!1);let d=r.replace(/^\/*/,"/"),h=n.useMemo((()=>({basename:d,navigator:o,static:l,future:q({v7_relativeSplatPath:!1},u)})),[d,u,o,l]);"string"===typeof i&&(i=f(i));let{pathname:p="/",search:m="",hash:g="",state:v=null,key:y="default"}=i,b=n.useMemo((()=>{let e=P(p,d);return null==e?null:{location:{pathname:e,search:m,hash:g,state:v,key:y},navigationType:s}}),[d,p,m,g,v,y,s]);return null==b?null:n.createElement(Z.Provider,{value:h},n.createElement(K.Provider,{children:a,value:b}))}function fe(e){let{children:t,location:n}=e;return ee(me(t),n)}new Promise((()=>{}));n.Component;function me(e,t){void 0===t&&(t=[]);let r=[];return n.Children.forEach(e,((e,a)=>{if(!n.isValidElement(e))return;let i=[...t,a];if(e.type===n.Fragment)return void r.push.apply(r,me(e.props.children,i));e.type!==he&&c(!1),e.props.index&&e.props.children&&c(!1);let s={id:e.props.id||i.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=me(e.props.children,i)),r.push(s)})),r}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);new Map;const ge=r.startTransition;s.flushSync;function ve(e){let{basename:t,children:r,future:a,window:i}=e,s=n.useRef();var o;null==s.current&&(s.current=(void 0===(o={window:i,v5Compat:!0})&&(o={}),m((function(e,t){let{pathname:n="/",search:r="",hash:a=""}=f(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),h("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"===typeof t?t:p(t))}),(function(e,t){u("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),o)));let l=s.current,[c,d]=n.useState({action:l.action,location:l.location}),{v7_startTransition:g}=a||{},v=n.useCallback((e=>{g&&ge?ge((()=>d(e))):d(e)}),[d,g]);return n.useLayoutEffect((()=>l.listen(v)),[l,v]),n.createElement(pe,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:l,future:a})}"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var ye,be;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ye||(ye={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(be||(be={}));const we=__webpack_require__.p+"static/media/Tylo_logo.3ff55ba583e4a3e3e5cb23cf78567b27.svg";const xe=__webpack_require__.p+"static/media/Dropdown_open.5b1ba82fad239d3315af70747799f7b0.svg";const Ce=__webpack_require__.p+"static/media/Dropdown_closed.0335f561267cadb73f6b0e5ca5304b0b.svg",je=__webpack_require__.p+"static/media/Customize your tracker.2d4c91d74103f4b8fe85.PNG",ke=__webpack_require__.p+"static/media/For_You.4f93bf13d37fd742c0e4.PNG";var Ne=__webpack_require__(647);function _e(e,t){return function(){return e.apply(t,arguments)}}const{toString:Se}=Object.prototype,{getPrototypeOf:Te}=Object,Ee=(Oe=Object.create(null),e=>{const t=Se.call(e);return Oe[t]||(Oe[t]=t.slice(8,-1).toLowerCase())});var Oe;const Pe=e=>(e=e.toLowerCase(),t=>Ee(t)===e),Ae=e=>t=>typeof t===e,{isArray:Le}=Array,Ie=Ae("undefined");const Re=Pe("ArrayBuffer");const Me=Ae("string"),De=Ae("function"),Fe=Ae("number"),Ue=e=>null!==e&&"object"===typeof e,He=e=>{if("object"!==Ee(e))return!1;const t=Te(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ze=Pe("Date"),Be=Pe("File"),qe=Pe("Blob"),Ve=Pe("FileList"),We=Pe("URLSearchParams");function Ze(e,t){let n,r,{allOwnKeys:a=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),Le(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const r=a?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let s;for(n=0;n<i;n++)s=r[n],t.call(null,e[s],s,e)}}function Ke(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,a=n.length;for(;a-- >0;)if(r=n[a],t===r.toLowerCase())return r;return null}const Je="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,Ge=e=>!Ie(e)&&e!==Je;const $e=(Ye="undefined"!==typeof Uint8Array&&Te(Uint8Array),e=>Ye&&e instanceof Ye);var Ye;const Qe=Pe("HTMLFormElement"),Xe=(e=>{let{hasOwnProperty:t}=e;return(e,n)=>t.call(e,n)})(Object.prototype),et=Pe("RegExp"),tt=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ze(n,((n,a)=>{let i;!1!==(i=t(n,a,e))&&(r[a]=i||n)})),Object.defineProperties(e,r)},nt="abcdefghijklmnopqrstuvwxyz",rt="0123456789",at={DIGIT:rt,ALPHA:nt,ALPHA_DIGIT:nt+nt.toUpperCase()+rt};const it=Pe("AsyncFunction"),st={isArray:Le,isArrayBuffer:Re,isBuffer:function(e){return null!==e&&!Ie(e)&&null!==e.constructor&&!Ie(e.constructor)&&De(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||De(e.append)&&("formdata"===(t=Ee(e))||"object"===t&&De(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Re(e.buffer),t},isString:Me,isNumber:Fe,isBoolean:e=>!0===e||!1===e,isObject:Ue,isPlainObject:He,isUndefined:Ie,isDate:ze,isFile:Be,isBlob:qe,isRegExp:et,isFunction:De,isStream:e=>Ue(e)&&De(e.pipe),isURLSearchParams:We,isTypedArray:$e,isFileList:Ve,forEach:Ze,merge:function e(){const{caseless:t}=Ge(this)&&this||{},n={},r=(r,a)=>{const i=t&&Ke(n,a)||a;He(n[i])&&He(r)?n[i]=e(n[i],r):He(r)?n[i]=e({},r):Le(r)?n[i]=r.slice():n[i]=r};for(let a=0,i=arguments.length;a<i;a++)arguments[a]&&Ze(arguments[a],r);return n},extend:function(e,t,n){let{allOwnKeys:r}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Ze(t,((t,r)=>{n&&De(t)?e[r]=_e(t,n):e[r]=t}),{allOwnKeys:r}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let a,i,s;const o={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)s=a[i],r&&!r(s,e,t)||o[s]||(t[s]=e[s],o[s]=!0);e=!1!==n&&Te(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Ee,kindOfTest:Pe,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(Le(e))return e;let t=e.length;if(!Fe(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Qe,hasOwnProperty:Xe,hasOwnProp:Xe,reduceDescriptors:tt,freezeMethods:e=>{tt(e,((t,n)=>{if(De(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];De(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return Le(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:Ke,global:Je,isContextDefined:Ge,ALPHABET:at,generateString:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:at.ALPHA_DIGIT,n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&De(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Ue(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const a=Le(e)?[]:{};return Ze(e,((e,t)=>{const i=n(e,r+1);!Ie(i)&&(a[t]=i)})),t[r]=void 0,a}}return e};return n(e,0)},isAsyncFn:it,isThenable:e=>e&&(Ue(e)||De(e))&&De(e.then)&&De(e.catch)};function ot(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}st.inherits(ot,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:st.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const lt=ot.prototype,ct={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{ct[e]={value:e}})),Object.defineProperties(ot,ct),Object.defineProperty(lt,"isAxiosError",{value:!0}),ot.from=(e,t,n,r,a,i)=>{const s=Object.create(lt);return st.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ot.call(s,e.message,t,n,r,a),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const ut=ot;function dt(e){return st.isPlainObject(e)||st.isArray(e)}function ht(e){return st.endsWith(e,"[]")?e.slice(0,-2):e}function pt(e,t,n){return e?e.concat(t).map((function(e,t){return e=ht(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const ft=st.toFlatObject(st,{},null,(function(e){return/^is[A-Z]/.test(e)}));const mt=function(e,t,n){if(!st.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=st.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!st.isUndefined(t[e])}))).metaTokens,a=n.visitor||c,i=n.dots,s=n.indexes,o=(n.Blob||"undefined"!==typeof Blob&&Blob)&&st.isSpecCompliantForm(t);if(!st.isFunction(a))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(st.isDate(e))return e.toISOString();if(!o&&st.isBlob(e))throw new ut("Blob is not supported. Use a Buffer instead.");return st.isArrayBuffer(e)||st.isTypedArray(e)?o&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,a){let o=e;if(e&&!a&&"object"===typeof e)if(st.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(st.isArray(e)&&function(e){return st.isArray(e)&&!e.some(dt)}(e)||(st.isFileList(e)||st.endsWith(n,"[]"))&&(o=st.toArray(e)))return n=ht(n),o.forEach((function(e,r){!st.isUndefined(e)&&null!==e&&t.append(!0===s?pt([n],r,i):null===s?n:n+"[]",l(e))})),!1;return!!dt(e)||(t.append(pt(a,n,i),l(e)),!1)}const u=[],d=Object.assign(ft,{defaultVisitor:c,convertValue:l,isVisitable:dt});if(!st.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!st.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),st.forEach(n,(function(n,i){!0===(!(st.isUndefined(n)||null===n)&&a.call(t,n,st.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function gt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function vt(e,t){this._pairs=[],e&&mt(e,this,t)}const yt=vt.prototype;yt.append=function(e,t){this._pairs.push([e,t])},yt.toString=function(e){const t=e?function(t){return e.call(this,t,gt)}:gt;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const bt=vt;function wt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function xt(e,t,n){if(!t)return e;const r=n&&n.encode||wt,a=n&&n.serialize;let i;if(i=a?a(t,n):st.isURLSearchParams(t)?t.toString():new bt(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const Ct=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){st.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},jt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},kt={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:bt,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Nt="undefined"!==typeof window&&"undefined"!==typeof document,_t=(St="undefined"!==typeof navigator&&navigator.product,Nt&&["ReactNative","NativeScript","NS"].indexOf(St)<0);var St;const Tt="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,Et={...e,...kt};const Ot=function(e){function t(e,n,r,a){let i=e[a++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),o=a>=e.length;if(i=!i&&st.isArray(r)?r.length:i,o)return st.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&&st.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],a)&&st.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const a=n.length;let i;for(r=0;r<a;r++)i=n[r],t[i]=e[i];return t}(r[i])),!s}if(st.isFormData(e)&&st.isFunction(e.entries)){const n={};return st.forEachEntry(e,((e,r)=>{t(function(e){return st.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const Pt={transitional:jt,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,a=st.isObject(e);a&&st.isHTMLForm(e)&&(e=new FormData(e));if(st.isFormData(e))return r&&r?JSON.stringify(Ot(e)):e;if(st.isArrayBuffer(e)||st.isBuffer(e)||st.isStream(e)||st.isFile(e)||st.isBlob(e))return e;if(st.isArrayBufferView(e))return e.buffer;if(st.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return mt(e,new Et.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Et.isNode&&st.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=st.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return mt(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||r?(t.setContentType("application/json",!1),function(e,t,n){if(st.isString(e))try{return(t||JSON.parse)(e),st.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Pt.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&st.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(a){if(n){if("SyntaxError"===a.name)throw ut.from(a,ut.ERR_BAD_RESPONSE,this,null,this.response);throw a}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Et.classes.FormData,Blob:Et.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};st.forEach(["delete","get","head","post","put","patch"],(e=>{Pt.headers[e]={}}));const At=Pt,Lt=st.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),It=Symbol("internals");function Rt(e){return e&&String(e).trim().toLowerCase()}function Mt(e){return!1===e||null==e?e:st.isArray(e)?e.map(Mt):String(e)}function Dt(e,t,n,r,a){return st.isFunction(r)?r.call(this,t,n):(a&&(t=n),st.isString(t)?st.isString(r)?-1!==t.indexOf(r):st.isRegExp(r)?r.test(t):void 0:void 0)}class Ft{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function a(e,t,n){const a=Rt(t);if(!a)throw new Error("header name must be a non-empty string");const i=st.findKey(r,a);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Mt(e))}const i=(e,t)=>st.forEach(e,((e,n)=>a(e,n,t)));return st.isPlainObject(e)||e instanceof this.constructor?i(e,t):st.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const t={};let n,r,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),r=e.substring(a+1).trim(),!n||t[n]&&Lt[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&a(t,e,n),this}get(e,t){if(e=Rt(e)){const n=st.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(st.isFunction(t))return t.call(this,e,n);if(st.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Rt(e)){const n=st.findKey(this,e);return!(!n||void 0===this[n]||t&&!Dt(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function a(e){if(e=Rt(e)){const a=st.findKey(n,e);!a||t&&!Dt(0,n[a],a,t)||(delete n[a],r=!0)}}return st.isArray(e)?e.forEach(a):a(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const a=t[n];e&&!Dt(0,this[a],a,e,!0)||(delete this[a],r=!0)}return r}normalize(e){const t=this,n={};return st.forEach(this,((r,a)=>{const i=st.findKey(n,a);if(i)return t[i]=Mt(r),void delete t[a];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();s!==a&&delete t[a],t[s]=Mt(r),n[s]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return st.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&st.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,n]=e;return t+": "+n})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return r.forEach((e=>t.set(e))),t}static accessor(e){const t=(this[It]=this[It]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Rt(e);t[r]||(!function(e,t){const n=st.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,a){return this[r].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[r]=!0)}return st.isArray(e)?e.forEach(r):r(e),this}}Ft.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),st.reduceDescriptors(Ft.prototype,((e,t)=>{let{value:n}=e,r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(e){this[r]=e}}})),st.freezeMethods(Ft);const Ut=Ft;function Ht(e,t){const n=this||At,r=t||n,a=Ut.from(r.headers);let i=r.data;return st.forEach(e,(function(e){i=e.call(n,i,a.normalize(),t?t.status:void 0)})),a.normalize(),i}function zt(e){return!(!e||!e.__CANCEL__)}function Bt(e,t,n){ut.call(this,null==e?"canceled":e,ut.ERR_CANCELED,t,n),this.name="CanceledError"}st.inherits(Bt,ut,{__CANCEL__:!0});const qt=Bt;const Vt=Et.hasStandardBrowserEnv?{write(e,t,n,r,a,i){const s=[e+"="+encodeURIComponent(t)];st.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),st.isString(r)&&s.push("path="+r),st.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Wt(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Zt=Et.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=st.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};const Kt=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a,i=0,s=0;return t=void 0!==t?t:1e3,function(o){const l=Date.now(),c=r[s];a||(a=l),n[i]=o,r[i]=l;let u=s,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),l-a<t)return;const h=c&&l-c;return h?Math.round(1e3*d/h):void 0}};function Jt(e,t){let n=0;const r=Kt(50,250);return a=>{const i=a.loaded,s=a.lengthComputable?a.total:void 0,o=i-n,l=r(o);n=i;const c={loaded:i,total:s,progress:s?i/s:void 0,bytes:o,rate:l||void 0,estimated:l&&s&&i<=s?(s-i)/l:void 0,event:a};c[t?"download":"upload"]=!0,e(c)}}const Gt={http:null,xhr:"undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const a=Ut.from(e.headers).normalize();let i,s,{responseType:o,withXSRFToken:l}=e;function c(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}if(st.isFormData(r))if(Et.hasStandardBrowserEnv||Et.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if(!1!==(s=a.getContentType())){const[e,...t]=s?s.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}let u=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(t+":"+n))}const d=Wt(e.baseURL,e.url);function h(){if(!u)return;const r=Ut.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ut("Request failed with status code "+n.status,[ut.ERR_BAD_REQUEST,ut.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),c()}),(function(e){n(e),c()}),{data:o&&"text"!==o&&"json"!==o?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:e,request:u}),u=null}if(u.open(e.method.toUpperCase(),xt(d,e.params,e.paramsSerializer),!0),u.timeout=e.timeout,"onloadend"in u?u.onloadend=h:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(h)},u.onabort=function(){u&&(n(new ut("Request aborted",ut.ECONNABORTED,e,u)),u=null)},u.onerror=function(){n(new ut("Network Error",ut.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||jt;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new ut(t,r.clarifyTimeoutError?ut.ETIMEDOUT:ut.ECONNABORTED,e,u)),u=null},Et.hasStandardBrowserEnv&&(l&&st.isFunction(l)&&(l=l(e)),l||!1!==l&&Zt(d))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&Vt.read(e.xsrfCookieName);t&&a.set(e.xsrfHeaderName,t)}void 0===r&&a.setContentType(null),"setRequestHeader"in u&&st.forEach(a.toJSON(),(function(e,t){u.setRequestHeader(t,e)})),st.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),o&&"json"!==o&&(u.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&u.addEventListener("progress",Jt(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",Jt(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=t=>{u&&(n(!t||t.type?new qt(null,e,u):t),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const p=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(d);p&&-1===Et.protocols.indexOf(p)?n(new ut("Unsupported protocol "+p+":",ut.ERR_BAD_REQUEST,e)):u.send(r||null)}))}};st.forEach(Gt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const $t=e=>"- ".concat(e),Yt=e=>st.isFunction(e)||null===e||!1===e,Qt=e=>{e=st.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!Yt(n)&&(r=Gt[(t=String(n)).toLowerCase()],void 0===r))throw new ut("Unknown adapter '".concat(t,"'"));if(r)break;a[t||"#"+i]=r}if(!r){const e=Object.entries(a).map((e=>{let[t,n]=e;return"adapter ".concat(t," ")+(!1===n?"is not supported by the environment":"is not available in the build")}));let n=t?e.length>1?"since :\n"+e.map($t).join("\n"):" "+$t(e[0]):"as no adapter specified";throw new ut("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Xt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new qt(null,e)}function en(e){Xt(e),e.headers=Ut.from(e.headers),e.data=Ht.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Qt(e.adapter||At.adapter)(e).then((function(t){return Xt(e),t.data=Ht.call(e,e.transformResponse,t),t.headers=Ut.from(t.headers),t}),(function(t){return zt(t)||(Xt(e),t&&t.response&&(t.response.data=Ht.call(e,e.transformResponse,t.response),t.response.headers=Ut.from(t.response.headers))),Promise.reject(t)}))}const tn=e=>e instanceof Ut?e.toJSON():e;function nn(e,t){t=t||{};const n={};function r(e,t,n){return st.isPlainObject(e)&&st.isPlainObject(t)?st.merge.call({caseless:n},e,t):st.isPlainObject(t)?st.merge({},t):st.isArray(t)?t.slice():t}function a(e,t,n){return st.isUndefined(t)?st.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!st.isUndefined(t))return r(void 0,t)}function s(e,t){return st.isUndefined(t)?st.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function o(n,a,i){return i in t?r(n,a):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o,headers:(e,t)=>a(tn(e),tn(t),!0)};return st.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||a,s=i(e[r],t[r],r);st.isUndefined(s)&&i!==o||(n[r]=s)})),n}const rn="1.6.5",an={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{an[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const sn={};an.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.5] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,i)=>{if(!1===e)throw new ut(r(a," has been removed"+(t?" in "+t:"")),ut.ERR_DEPRECATED);return t&&!sn[a]&&(sn[a]=!0,console.warn(r(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,i)}};const on={assertOptions:function(e,t,n){if("object"!==typeof e)throw new ut("options must be an object",ut.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const i=r[a],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new ut("option "+i+" must be "+n,ut.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ut("Unknown option "+i,ut.ERR_BAD_OPTION)}},validators:an},ln=on.validators;class cn{constructor(e){this.defaults=e,this.interceptors={request:new Ct,response:new Ct}}request(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},t=nn(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:a}=t;void 0!==n&&on.assertOptions(n,{silentJSONParsing:ln.transitional(ln.boolean),forcedJSONParsing:ln.transitional(ln.boolean),clarifyTimeoutError:ln.transitional(ln.boolean)},!1),null!=r&&(st.isFunction(r)?t.paramsSerializer={serialize:r}:on.assertOptions(r,{encode:ln.function,serialize:ln.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=a&&st.merge(a.common,a[t.method]);a&&st.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=Ut.concat(i,a);const s=[];let o=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!o){const e=[en.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=s.length;let h=t;for(d=0;d<u;){const e=s[d++],t=s[d++];try{h=e(h)}catch(p){t.call(this,p);break}}try{c=en.call(this,h)}catch(p){return Promise.reject(p)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return xt(Wt((e=nn(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}st.forEach(["delete","get","head","options"],(function(e){cn.prototype[e]=function(t,n){return this.request(nn(n||{},{method:e,url:t,data:(n||{}).data}))}})),st.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,a){return this.request(nn(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}cn.prototype[e]=t(),cn.prototype[e+"Form"]=t(!0)}));const un=cn;class dn{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,a){n.reason||(n.reason=new qt(e,r,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new dn((function(t){e=t})),cancel:e}}}const hn=dn;const pn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(pn).forEach((e=>{let[t,n]=e;pn[n]=t}));const fn=pn;const mn=function e(t){const n=new un(t),r=_e(un.prototype.request,n);return st.extend(r,un.prototype,n,{allOwnKeys:!0}),st.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(nn(t,n))},r}(At);mn.Axios=un,mn.CanceledError=qt,mn.CancelToken=hn,mn.isCancel=zt,mn.VERSION=rn,mn.toFormData=mt,mn.AxiosError=ut,mn.Cancel=mn.CanceledError,mn.all=function(e){return Promise.all(e)},mn.spread=function(e){return function(t){return e.apply(null,t)}},mn.isAxiosError=function(e){return st.isObject(e)&&!0===e.isAxiosError},mn.mergeConfig=nn,mn.AxiosHeaders=Ut,mn.formToJSON=e=>Ot(st.isHTMLForm(e)?new FormData(e):e),mn.getAdapter=Qt,mn.HttpStatusCode=fn,mn.default=mn;const gn=mn;function vn(e){localStorage.setItem("token",e)}var yn=__webpack_require__(184);const bn=[{question:"1. What topics do we cover in deeptech?",answer:"We cover most deeptech topics including AI, AR/VR, quantum, autonomous driving, novel energy, advanced material & manufacturing, advanced connectivity, computational biology, robotics & drones, blockchain etc."},{question:"2. How Tylo is different from Google scholar and other paper/patent search databases?",answer:"Tylo is an information curation platform. We utilise natural language processing (NLP) algorithms to analyse both the full text and metadata of literature, creating a deep-linked knowledge graph rather than a collection of standalone papers and patents."},{question:"3. How Tylo is different from other AI research tools?",answer:"Tylo is an innovation made simple. Our business-focused innovation tool translates 'technical jargons' into plain English, making it easy for anyone to use, regardless of their background."},{question:"4. How is Tylo different from GPTs?",answer:"Unlike large language models (LLMs) such as GPTs, Tylo does not rely on complex algorithms that generate unpredictable results. Instead, we curate information based on clear, verifiable evidence stored in our comprehensive knowledge graph."},{question:"5. How accurate are the answers in Tylo?",answer:"Tylo aims for high accuracy, but like any AI, there's a margin for error. While we achieve a solid 99% success rate*, we encourage you to double-check information. That's why we promote transparency by providing source references for all information. This open approach empowers you to verify and trust the information, ultimately shaping your decisions with confidence. *estimated from internal tests, that inquire and tracker function is able to return very reasonable responses to 99% input."},{question:"6. What is Tylo not a good fit for?",answer:"Tylo shines in the academic world, expertly navigating research papers, patents, and a few other high-credential online resources. But for casual questions or topics--especially for short or general questions--it might not be your best bet."},{question:"7. What are credits?",answer:"We use a credit system, each inquiry or item in your personalised newsfeed costs one credit. Sign up to get 20 free credits. Earn more free credits by inviting users (+20 credits/invite), follow Tylo Linkedin account (+20 credits) etc. Once your credits run out, consider a paid plan for unlimited access. "},{question:"8. Who benefits from Tylo\u2019s service?",answer:"Tylo AI caters to innovation and R&D teams. Companies looking for cutting-edge deep-tech ideas and solutions to enhance their innovation processes can benefit."},{question:"9. How secure is the information processed?",answer:"We prioritize the security of user information and follows industry best practices to safeguard data. The platform complies with relevant data protection and privacy regulations, including Data Protection Act and GDPR, to ensure the confidentiality and integrity of user data."},{question:"10. Can Tylo integrate with existing innovation and R&D workflows?",answer:"Yes, Tylo is designed to seamlessly integrate with existing innovation and R&D workflows, such as ideation, desk research, feasibility study. This ensures a smooth incorporation of personalized insights and solutions into the user's existing processes."}];const wn=function(){const[e,t]=(0,n.useState)(!1),[r,a]=(0,n.useState)(!1),[i,s]=(0,n.useState)(""),[o,l]=(0,n.useState)(""),[c,u]=(0,n.useState)(""),[d,h]=(0,n.useState)(""),[p,f]=(0,n.useState)(""),m=null!==localStorage.getItem("token");console.log("About component rendering");const[g,v]=(0,n.useState)(null);console.log("State in About:",g);const y=localStorage.getItem("googleProfileImageUrl"),[b,w]=(0,n.useState)(""),[x,C]=(0,n.useState)("submit-button"),[j,k]=(0,n.useState)("Submit");console.log("About component about to render JSX"),(0,n.useEffect)((()=>{const e=document.createElement("script");e.src="https://apis.google.com/js/api.js",e.onload=()=>{Ne.M.load("auth2",(()=>{Ne.M.auth2.init({client_id:"584832623015-02ioa5kbjqp9agd30pdiifln0bhb5trb.apps.googleusercontent.com",scope:"profile email",redirect_uri:"https://tylo.ai/",cookiepolicy:"single_host_origin"})}))},document.body.appendChild(e)}),[]);const[N,_]=(0,n.useState)("Inquire"),S=e=>{_(e)},T=X();return(0,yn.jsxs)("div",{className:"about-page",children:[(0,yn.jsxs)("div",{className:"about-page-icon",children:[(0,yn.jsx)("img",{src:we,alt:"Tylo Icon",className:"tylo-icon"}),(0,yn.jsxs)("div",{className:"tabs",children:[(0,yn.jsxs)("div",{className:"top-bar-tab",children:[(0,yn.jsx)("span",{onClick:()=>{const e=localStorage.getItem("token");T(e?"/features":"/")},className:"top-bar-text_default",style:{cursor:"pointer"},children:"Features"})," "]}),(0,yn.jsxs)("div",{className:"top-bar-tab-current_page",children:[(0,yn.jsx)("a",{href:"/#about",className:"top-bar-text",children:"About Us"})," "]})]}),m?(0,yn.jsxs)(yn.Fragment,{children:[(0,yn.jsx)("img",{src:y,alt:"Profile Icon",onClick:()=>{T("/settings")},className:"profile-icon"}),(0,yn.jsx)("div",{className:"login-button",onClick:()=>{localStorage.removeItem("token");const e=Ne.M.auth2.getAuthInstance();null!=e&&e.signOut().then(e.disconnect().then((()=>{console.log("User signed out of Google."),T("/#")}))),T("/#")},children:(0,yn.jsx)("span",{className:"login-text",children:"Sign Out"})})]}):(0,yn.jsxs)("div",{className:"login-button",children:[(0,yn.jsx)("span",{className:"login-text",onClick:()=>t(!0),children:"Login / Signup"}),e&&(0,yn.jsx)("div",{className:"modal-backdrop",onClick:()=>t(!1),children:(0,yn.jsxs)("div",{className:"signin-form-modal",onClick:e=>e.stopPropagation(),children:[(0,yn.jsx)("div",{className:"signin-header",children:r?"Sign Up":"Sign In"}),(0,yn.jsxs)("div",{className:"signin-text",children:[r?"Already have an account? ":"Don\u2019t have an account? ",(0,yn.jsx)("span",{style:{color:"blue",textDecoration:"underline",cursor:"pointer"},onClick:()=>a(!r),children:r?"Sign In":"Sign Up"})]}),(0,yn.jsxs)("div",{className:"google-signin",onClick:()=>{Ne.M.auth2.getAuthInstance().signIn().then((e=>{const t=e.getBasicProfile().getImageUrl();gn.post("https://tylo-backend.azurewebsites.net/api/v1/auth",{idToken:e.xc.id_token},{headers:{"Content-Type":"application/json",Accept:"application/json"}}).then((e=>{localStorage.setItem("token",e.data.token),localStorage.setItem("tyloEmail",e.data.user.email),localStorage.setItem("googleProfileImageUrl",t),vn(e.data.token),T("features"),e.data.user.name&&(localStorage.setItem("name",e.data.user.name),localStorage.setItem("username",e.data.user.username))}))}))},children:[(0,yn.jsxs)("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",style:{marginRight:"10px"},children:[(0,yn.jsx)("path",{d:"M16.8541 7.53113H16.25V7.5H9.5V10.5H13.7386C13.1203 12.2464 11.4586 13.5 9.5 13.5C7.01487 13.5 5 11.4851 5 9C5 6.51487 7.01487 4.5 9.5 4.5C10.6471 4.5 11.6908 4.93275 12.4854 5.63962L14.6068 3.51825C13.2673 2.26987 11.4755 1.5 9.5 1.5C5.35812 1.5 2 4.85812 2 9C2 13.1419 5.35812 16.5 9.5 16.5C13.6419 16.5 17 13.1419 17 9C17 8.49713 16.9482 8.00625 16.8541 7.53113Z",fill:"#FFC107"}),(0,yn.jsx)("path",{d:"M2.86523 5.50912L5.32936 7.31625C5.99611 5.6655 7.61086 4.5 9.50048 4.5C10.6476 4.5 11.6912 4.93275 12.4859 5.63962L14.6072 3.51825C13.2677 2.26987 11.476 1.5 9.50048 1.5C6.61973 1.5 4.12148 3.12637 2.86523 5.50912Z",fill:"#FA1321"}),(0,yn.jsx)("path",{d:"M9.50012 16.5C11.4374 16.5 13.1976 15.7586 14.5285 14.553L12.2072 12.5888C11.4542 13.1591 10.5182 13.5 9.50012 13.5C7.54937 13.5 5.89299 12.2561 5.26899 10.5203L2.82324 12.4046C4.06449 14.8335 6.58524 16.5 9.50012 16.5Z",fill:"#4CAF50"}),(0,yn.jsx)("path",{d:"M16.8541 7.53113H16.25V7.5H9.5V10.5H13.7386C13.4416 11.3389 12.902 12.0622 12.206 12.5891L12.2071 12.5884L14.5284 14.5526C14.3641 14.7019 17 12.75 17 9C17 8.49713 16.9482 8.00625 16.8541 7.53113Z",fill:"#1976D2"})]}),"Continue with Google"]}),(0,yn.jsxs)("div",{className:"or-frame",children:[(0,yn.jsx)("div",{className:"or-rec"}),(0,yn.jsx)("div",{className:"or-text",children:"or"}),(0,yn.jsx)("div",{className:"or-rec"})]}),(0,yn.jsxs)("div",{className:"email-container",children:[(0,yn.jsx)("label",{htmlFor:"email",children:"Email"}),(0,yn.jsx)("input",{id:"email",type:"email",value:i,className:"text-bar",onChange:e=>s(e.target.value)})]}),(0,yn.jsxs)("div",{className:"password-container",children:[(0,yn.jsx)("label",{htmlFor:"password",children:"Password"}),(0,yn.jsx)("input",{id:"password",type:"password",value:o,className:"text-bar",onChange:e=>l(e.target.value)})]}),r&&(0,yn.jsxs)(yn.Fragment,{children:[(0,yn.jsxs)("div",{className:"password-container",children:[(0,yn.jsx)("label",{htmlFor:"confirm-password",children:"Confirm Password"}),(0,yn.jsx)("input",{id:"confirm-password",type:"password",value:c,className:"text-bar",onChange:e=>u(e.target.value)}),o!==c&&c&&(0,yn.jsx)("div",{style:{color:"red"},children:"Passwords do not match"})]}),(0,yn.jsxs)("div",{className:"email-container",children:[(0,yn.jsx)("label",{htmlFor:"organisation",children:"Organisation"}),(0,yn.jsx)("input",{id:"organisation",type:"text",value:d,className:"text-bar",onChange:e=>h(e.target.value)})]}),(0,yn.jsxs)("div",{className:"email-container",children:[(0,yn.jsx)("label",{htmlFor:"role",children:"Role"}),(0,yn.jsx)("input",{id:"role",type:"text",value:p,className:"text-bar",onChange:e=>f(e.target.value)})]})]}),(0,yn.jsx)("button",{className:"signin-button",onClick:r?()=>{gn.post("https://tylo-backend.azurewebsites.net/api/v1/auth/signup",{email:i,password:o},{headers:{"Content-Type":"application/json"}}).then((e=>{localStorage.setItem("token",e.data.token),T("/features")})).catch((e=>{var t,n;const r=(null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.message)||"Signup failed. Please try again.";console.error("Signup error",r)}))}:async()=>{if(i&&o)try{const e=await gn.post("https://tylo-backend.azurewebsites.net/api/v1/auth",{email:i,password:o},{headers:{"Content-Type":"application/json"}});e.data.token?(localStorage.setItem("token",e.data.token),localStorage.setItem("userEmail",i),T("/features")):alert("Login failed: No token received")}catch(n){var e,t;console.error("Sign-in error",n),alert("Login failed: "+((null===(e=n.response)||void 0===e||null===(t=e.data)||void 0===t?void 0:t.error)||"Password or Email wrong"))}else alert("Please enter both email and password.")},children:(0,yn.jsx)("span",{className:"signin-button-text",children:r?"Sign Up":"Sign In"})})]})})]})]}),(0,yn.jsxs)("div",{class:"common-parent",children:[(0,yn.jsx)("div",{className:"gradient-rectangle-about",children:(0,yn.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 1920 928",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M834.885 -1881.56C1135.19 -1915.23 1413.82 -1751.41 1670.48 -1591.9C1945.83 -1420.76 2261.66 -1246.21 2356.13 -936.082C2450.16 -627.366 2254.61 -319.803 2151.05 -14.1501C2049.07 286.874 2031.2 666.297 1758.14 828.947C1486.55 990.719 1151 768.088 834.885 769.833C515.997 771.594 122.4 1071.73 -95.8015 839.18C-329.527 590.083 -16.4699 182.286 -36.3625 -158.714C-48.9973 -375.299 -217.541 -559.597 -189.954 -774.79C-158.809 -1017.74 -41.2646 -1238.94 125.155 -1418.66C321.872 -1631.1 547.153 -1849.31 834.885 -1881.56Z",fill:"url(#paint0_linear_1141_6881)",fillOpacity:"0.5"}),(0,yn.jsx)("defs",{children:(0,yn.jsxs)("linearGradient",{id:"paint0_linear_1141_6881",x1:"-193",y1:"-486.081",x2:"2387.22",y2:"-484.435",gradientUnits:"userSpaceOnUse",children:[(0,yn.jsx)("stop",{stopColor:"#62ECF6"}),(0,yn.jsx)("stop",{offset:"1",stopColor:"#437AEF"})]})})]})}),(0,yn.jsxs)("div",{className:"about-info",children:[(0,yn.jsx)("h2",{className:"about-title",children:"About Us"}),(0,yn.jsx)("p",{className:"about-content",children:"Tylo is a London-based startup backed by venture capital. We leverage next-generation knowledge graph technology to extract deep-linked and actionable insights from academic publications and patents, and streamline collaborative research. We have introduced a new approach to improve enterprise evidence-based innovation performance, save time in finding collaborative R&D partnerships, and bring new technology to the market faster."}),(0,yn.jsx)("div",{className:"about-button-frame-117"})]})]}),(0,yn.jsxs)("div",{className:"about-infographic",children:[(0,yn.jsxs)("div",{className:"about-vision",children:[(0,yn.jsx)("div",{className:"vision",children:(0,yn.jsxs)("div",{className:"vision-1",children:[(0,yn.jsx)("svg",{width:"91",height:"101",viewBox:"0 0 91 101",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M42.8062 0.51709V16.3803H48.1943V0.51709H42.8057H42.8062ZM20.8045 5.28421L16.39 8.37508L25.4872 21.3662L29.8993 18.2752L20.8045 5.28421ZM70.1949 5.28421L61.1004 18.2753L65.5131 21.3662L74.6101 8.37508L70.1956 5.28421H70.1949ZM45.4991 20.7205C32.318 20.7205 21.6328 28.7247 21.6328 38.5999L35.1926 79.6649H55.808L69.3666 38.5999C69.3666 28.7249 58.682 20.7205 45.5004 20.7205H45.4991ZM2.63673 25.4813L0.795776 30.5474L15.6948 35.9718L17.5426 30.9081L2.6364 25.4813H2.63673ZM88.3627 25.4813L73.4564 30.9085L75.298 35.9728L90.2042 30.5475L88.3627 25.4813ZM16.8228 48.6408L1.50304 52.7499L2.89306 57.9507L18.2128 53.8475L16.8231 48.6408H16.8228ZM74.1766 48.6408L72.7876 53.8474L88.1074 57.9499L89.4964 52.749L74.1766 48.6406V48.6408ZM34.892 82.6584V89.7965H56.1087V82.6595H34.8921L34.892 82.6584ZM34.892 93.3449V100.483H56.1087V93.3461H34.8921L34.892 93.3449Z",fill:"#4476F1"})}),(0,yn.jsx)("h2",{className:"vision-text",children:"Vision"}),(0,yn.jsx)("p",{className:"about-content",children:"Provide innovation professionals with customised strategic insights and connections."})]})}),(0,yn.jsx)("div",{className:"vision",children:(0,yn.jsxs)("div",{className:"vision-1",children:[(0,yn.jsxs)("svg",{width:"89",height:"89",viewBox:"0 0 89 89",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M75.6797 13.3209L84.95 15.1739C85.4478 15.2735 85.8572 15.6385 86.001 16.1308C86.0736 16.3699 86.0801 16.6243 86.0197 16.8668C85.9593 17.1093 85.8343 17.3309 85.658 17.5081L78.0636 25.108C77.155 26.015 75.9236 26.5243 74.6398 26.524H68.3397L52.5203 42.3489C52.8221 43.4885 52.8776 44.6793 52.6831 45.842C52.4886 47.0047 52.0486 48.1126 51.3923 49.0919C50.7361 50.0712 49.8787 50.8994 48.8773 51.5213C47.8758 52.1432 46.7534 52.5446 45.5846 52.6988C44.4159 52.8529 43.2277 52.7562 42.0993 52.4151C40.9709 52.074 39.9281 51.4963 39.0404 50.7206C38.1528 49.9449 37.4406 48.989 36.9513 47.9164C36.4621 46.8439 36.207 45.6794 36.2031 44.5006C36.204 43.2278 36.4974 41.9722 37.0608 40.8309C37.6242 39.6896 38.4425 38.6932 39.4524 37.9185C40.4623 37.1438 41.6368 36.6117 42.8851 36.3633C44.1334 36.1149 45.4221 36.1568 46.6517 36.4858L62.4766 20.6554V14.3663C62.4766 13.0831 62.9854 11.8496 63.8926 10.9425L71.4925 3.34257C71.6697 3.16628 71.8913 3.0413 72.1338 2.98091C72.3763 2.92053 72.6306 2.92699 72.8698 2.99963C73.3621 3.14344 73.7271 3.55275 73.8267 4.05057L75.6797 13.3209Z",fill:"#4476F1"}),(0,yn.jsx)("path",{d:"M11.3122 44.4989C11.3179 49.2445 12.3413 53.9337 14.3133 58.2502C16.2853 62.5666 19.1601 66.41 22.7438 69.5209C26.3275 72.6319 30.5366 74.9381 35.0874 76.284C39.6381 77.6299 44.4246 77.9842 49.1239 77.3229C53.8232 76.6617 58.3261 75.0003 62.3287 72.4509C66.3313 69.9015 69.7407 66.5233 72.3267 62.5442C74.9128 58.5651 76.6153 54.0777 77.3197 49.3846C78.024 44.6916 77.7136 39.9021 76.4095 35.3392C76.2264 34.8061 76.1537 34.2413 76.1959 33.6792C76.238 33.1172 76.3941 32.5695 76.6546 32.0697C76.9152 31.5699 77.2747 31.1283 77.7113 30.7719C78.148 30.4154 78.6526 30.1516 79.1945 29.9964C79.7363 29.8412 80.3041 29.7979 80.8632 29.8692C81.4224 29.9404 81.9612 30.1247 82.4468 30.4108C82.9324 30.6969 83.3548 31.0789 83.6881 31.5334C84.0214 31.988 84.2587 32.5056 84.3856 33.0548C86.9107 41.8911 86.4311 51.3157 83.0218 59.85C79.6126 68.3843 73.4667 75.5454 65.5484 80.2098C57.6301 84.8742 48.3873 86.7781 39.2702 85.6227C30.1531 84.4672 21.6774 80.3179 15.173 73.8256C8.6757 67.3228 4.52192 58.8464 3.36383 49.7271C2.20575 40.6079 4.10894 31.3623 8.77461 23.4419C13.4403 15.5214 20.6042 9.37473 29.1416 5.9668C37.6791 2.55888 47.1065 2.08272 55.9439 4.61308C56.9961 4.92068 57.8839 5.63231 58.4131 6.59245C58.9422 7.55259 59.0699 8.68316 58.768 9.7371C58.4661 10.791 57.7594 11.6826 56.8021 12.2171C55.8449 12.7515 54.715 12.8852 53.6595 12.5891C48.7177 11.1713 43.5142 10.9207 38.4591 11.8572C33.404 12.7936 28.6356 14.8915 24.5296 17.9854C20.4237 21.0793 17.0926 25.0847 14.7989 29.6858C12.5052 34.2869 11.3116 39.3578 11.3122 44.4989Z",fill:"#4476F1"}),(0,yn.jsx)("path",{d:"M27.9062 44.5013C27.9065 47.5246 28.7323 50.4904 30.2944 53.0789C31.8565 55.6674 34.0957 57.7803 36.7704 59.1897C39.4452 60.5991 42.4539 61.2514 45.4722 61.0764C48.4904 60.9014 51.4036 59.9057 53.8976 58.1966C56.391 56.4833 58.3686 54.1208 59.6165 51.3648C60.8644 48.6087 61.335 45.564 60.9776 42.5598C60.8809 41.8308 60.9802 41.0892 61.2654 40.4113C61.5506 39.7335 62.0114 39.1439 62.6001 38.7033C63.1889 38.2627 63.8845 37.987 64.6153 37.9046C65.346 37.8221 66.0856 37.936 66.7577 38.2343C67.4297 38.5288 68.0116 38.9963 68.444 39.589C68.8764 40.1818 69.1439 40.8786 69.2191 41.6084C69.8201 46.742 68.8081 51.9353 66.3236 56.4676C63.839 60.9999 60.0052 64.6463 55.3542 66.9008C50.7031 69.1552 45.4657 69.9059 40.3686 69.0485C35.2716 68.1912 30.5679 65.7684 26.9104 62.1164C23.2528 58.4644 20.8229 53.7644 19.9578 48.6687C19.0927 43.573 19.8354 38.3344 22.0828 33.6799C24.3302 29.0255 27.9708 25.1861 32.4993 22.6947C37.0278 20.2032 42.2196 19.1834 47.3541 19.7766C47.9039 19.8276 48.4379 19.9878 48.925 20.2479C49.412 20.508 49.8422 20.8627 50.1904 21.2912C50.5386 21.7197 50.7977 22.2134 50.9527 22.7434C51.1076 23.2734 51.1551 23.8289 51.0925 24.3775C51.0299 24.9261 50.8585 25.4567 50.5882 25.9381C50.3179 26.4196 49.9542 26.8422 49.5184 27.1813C49.0826 27.5204 48.5836 27.7691 48.0505 27.9127C47.5173 28.0564 46.9609 28.0923 46.4138 28.0181C44.0887 27.7482 41.7329 27.9731 39.501 28.6783C37.2691 29.3834 35.2116 30.5527 33.4637 32.1095C31.7158 33.6662 30.317 35.5751 29.3592 37.7108C28.4014 39.8465 27.9062 42.1606 27.9062 44.5013Z",fill:"#4476F1"})]}),(0,yn.jsx)("h2",{className:"vision-text",children:"Mission"}),(0,yn.jsx)("p",{className:"about-content",children:"Streamline innovation."})]})})]}),(0,yn.jsx)("h2",{className:"key-data-text",children:"Key Data Points"}),(0,yn.jsxs)("div",{className:"about-vision",children:[(0,yn.jsxs)("div",{className:"key-data",children:[(0,yn.jsxs)("svg",{width:"98",height:"99",viewBox:"0 0 98 99",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M53.7706 13.057H36.7886C29.1118 13.057 25.2774 13.057 22.8921 15.4423C20.5068 17.8276 20.5068 21.6619 20.5068 29.3388V70.0434C20.5068 77.7203 20.5068 81.5546 22.8921 83.9399C25.2774 86.3252 29.1118 86.3252 36.7886 86.3252H61.2114C68.8882 86.3252 72.7226 86.3252 75.1079 83.9399C77.4932 81.5546 77.4932 77.7203 77.4932 70.0434V36.7796C77.4932 35.1189 77.4932 34.2844 77.1838 33.5395C76.8745 32.7906 76.2883 32.2004 75.1079 31.024L59.5262 15.4423C58.3458 14.2619 57.7596 13.6757 57.0147 13.3664C56.2658 13.057 55.4313 13.057 53.7706 13.057Z",stroke:"#0D1542","stroke-width":"8.14091"}),(0,yn.jsx)("path",{d:"M36.7886 53.7615H61.2114M36.7886 70.0433H53.0704",stroke:"#0D1542","stroke-width":"8.14091","stroke-linecap":"round"}),(0,yn.jsx)("path",{d:"M53.0704 13.0569V29.3388C53.0704 33.1772 53.0704 35.0944 54.2631 36.287C55.4557 37.4797 57.3729 37.4797 61.2113 37.4797H77.4932",stroke:"#0D1542","stroke-width":"8.14091"})]}),(0,yn.jsx)("h2",{className:"big-blue-text",children:"100M+"}),(0,yn.jsx)("p",{className:"grey-text",children:"Papers"})]}),(0,yn.jsxs)("div",{className:"key-data",children:[(0,yn.jsx)("svg",{width:"80",height:"79",viewBox:"0 0 80 79",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M51.4533 39.6911C59.6342 39.6911 66.1789 46.2358 66.1789 54.4167C66.1789 57.2964 65.3609 60.0125 63.921 62.2704L73.9999 72.4147L69.4513 76.9633L59.2415 66.9171C56.9836 68.3243 54.3003 69.1424 51.4533 69.1424C43.2724 69.1424 36.7277 62.5976 36.7277 54.4167C36.7277 46.2358 43.2724 39.6911 51.4533 39.6911ZM51.4533 46.2358C49.2836 46.2358 47.2028 47.0978 45.6686 48.632C44.1343 50.1662 43.2724 52.247 43.2724 54.4167C43.2724 56.5864 44.1343 58.6673 45.6686 60.2015C47.2028 61.7357 49.2836 62.5976 51.4533 62.5976C53.623 62.5976 55.7039 61.7357 57.2381 60.2015C58.7723 58.6673 59.6342 56.5864 59.6342 54.4167C59.6342 52.247 58.7723 50.1662 57.2381 48.632C55.7039 47.0978 53.623 46.2358 51.4533 46.2358ZM43.2724 13.5122V39.6911L35.0915 32.3283L26.9106 39.6911V13.5122H20.3659V65.87H33.4554C35.2224 68.5206 37.4804 70.7785 40.0982 72.4147H20.3659C18.6301 72.4147 16.9655 71.7252 15.7381 70.4978C14.5107 69.2704 13.8212 67.6058 13.8212 65.87V13.5122C13.8212 11.7765 14.5107 10.1118 15.7381 8.88443C16.9655 7.65706 18.6301 6.96753 20.3659 6.96753H59.6342C61.37 6.96753 63.0347 7.65706 64.262 8.88443C65.4894 10.1118 66.1789 11.7765 66.1789 13.5122V39.0694C64.281 37.2696 62.0885 35.797 59.6342 34.7826V13.5122H43.2724Z",fill:"#0D1542"})}),(0,yn.jsx)("h2",{className:"big-blue-text",children:"100M+"}),(0,yn.jsx)("p",{className:"grey-text",children:"Patents"})]}),(0,yn.jsxs)("div",{className:"key-data",children:[(0,yn.jsx)("svg",{width:"74",height:"75",viewBox:"0 0 74 75",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M46.8798 29.7956C49.4222 29.7956 51.4855 31.859 51.4855 34.4013V52.1635C51.4855 56.0032 49.9602 59.6856 47.2451 62.4007C44.53 65.1158 40.8476 66.6411 37.0079 66.6411C33.1682 66.6411 29.4857 65.1158 26.7706 62.4007C24.0556 59.6856 22.5302 56.0032 22.5302 52.1635V34.4013C22.5302 31.859 24.591 29.7956 27.1359 29.7956H46.8798ZM10.0238 29.7956L21.5565 29.7904C20.6081 30.9332 20.0371 32.3417 19.9221 33.8223L19.8958 34.4013V52.1635C19.8958 55.1453 20.6616 57.9508 22.0012 60.3932C20.1982 61.1799 18.2277 61.5051 16.2675 61.3397C14.3073 61.1742 12.4191 60.5231 10.7735 59.4453C9.1279 58.3675 7.77662 56.8968 6.84165 55.166C5.90668 53.4352 5.41746 51.4988 5.41815 49.5316V34.4013C5.41955 33.1798 5.9056 32.0087 6.7696 31.1452C7.6336 30.2817 8.8023 29.7963 10.0238 29.7956ZM52.4619 29.7904L63.9761 29.7956C66.5185 29.7956 68.5818 31.859 68.5818 34.4013V49.5343C68.5826 51.5007 68.0937 53.4363 67.1594 55.1665C66.225 56.8968 64.8745 58.3671 63.2298 59.4449C61.5851 60.5226 59.6979 61.1739 57.7385 61.3399C55.7791 61.506 53.8092 61.1815 52.0066 60.3958L52.154 60.1273C53.283 57.9877 53.9699 55.5769 54.0963 53.0214L54.1173 52.1635V34.4013C54.1173 32.6485 53.4962 31.0431 52.4619 29.7904ZM37 8.74109C38.2096 8.74109 39.4074 8.97935 40.525 9.44226C41.6426 9.90518 42.658 10.5837 43.5134 11.439C44.3687 12.2944 45.0472 13.3098 45.5102 14.4274C45.9731 15.545 46.2113 16.7428 46.2113 17.9525C46.2113 19.1621 45.9731 20.3599 45.5102 21.4775C45.0472 22.5951 44.3687 23.6105 43.5134 24.4659C42.658 25.3212 41.6426 25.9997 40.525 26.4626C39.4074 26.9256 38.2096 27.1638 37 27.1638C34.557 27.1638 32.214 26.1933 30.4866 24.4659C28.7591 22.7384 27.7886 20.3955 27.7886 17.9525C27.7886 15.5094 28.7591 13.1665 30.4866 11.439C32.214 9.71157 34.557 8.74109 37 8.74109ZM58.0624 11.3729C59.0993 11.3729 60.126 11.5771 61.0839 11.9739C62.0418 12.3707 62.9122 12.9523 63.6454 13.6854C64.3785 14.4186 64.9601 15.289 65.3569 16.2469C65.7537 17.2048 65.9579 18.2315 65.9579 19.2684C65.9579 20.3052 65.7537 21.3319 65.3569 22.2898C64.9601 23.2477 64.3785 24.1181 63.6454 24.8513C62.9122 25.5845 62.0418 26.166 61.0839 26.5628C60.126 26.9596 59.0993 27.1638 58.0624 27.1638C55.9684 27.1638 53.9602 26.332 52.4795 24.8513C50.9988 23.3706 50.167 21.3624 50.167 19.2684C50.167 17.1744 50.9988 15.1661 52.4795 13.6854C53.9602 12.2047 55.9684 11.3729 58.0624 11.3729ZM15.9375 11.3729C16.9744 11.3729 18.0011 11.5771 18.959 11.9739C19.9169 12.3707 20.7873 12.9523 21.5205 13.6854C22.2536 14.4186 22.8352 15.289 23.232 16.2469C23.6288 17.2048 23.833 18.2315 23.833 19.2684C23.833 20.3052 23.6288 21.3319 23.232 22.2898C22.8352 23.2477 22.2536 24.1181 21.5205 24.8513C20.7873 25.5845 19.9169 26.166 18.959 26.5628C18.0011 26.9596 16.9744 27.1638 15.9375 27.1638C13.8435 27.1638 11.8353 26.332 10.3546 24.8513C8.87392 23.3706 8.04208 21.3624 8.04208 19.2684C8.04208 17.1744 8.87392 15.1661 10.3546 13.6854C11.8353 12.2047 13.8435 11.3729 15.9375 11.3729Z",fill:"#0D1542"})}),(0,yn.jsx)("h2",{className:"big-blue-text",children:"90M+"}),(0,yn.jsx)("p",{className:"grey-text",children:"Researchers"})]}),(0,yn.jsxs)("div",{className:"key-data",children:[(0,yn.jsxs)("svg",{width:"84",height:"85",viewBox:"0 0 84 85",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M73.3841 35.7169H66.4099V14.7941H69.897V7.81989H14.103V14.7941H17.5901V35.7169H10.6159C9.69106 35.7169 8.8041 36.0843 8.15014 36.7382C7.49618 37.3922 7.12878 38.2791 7.12878 39.204V70.5881H76.8712V39.204C76.8712 38.2791 76.5038 37.3922 75.8499 36.7382C75.1959 36.0843 74.3089 35.7169 73.3841 35.7169ZM48.9742 63.6138V49.6653H35.0258V63.6138H24.5644V14.7941H59.4356V63.6138H48.9742Z",fill:"#0D1542"}),(0,yn.jsx)("path",{d:"M31.5386 21.7684H38.5128V28.7426H31.5386V21.7684ZM45.4871 21.7684H52.4613V28.7426H45.4871V21.7684ZM31.5386 35.7169H38.5128V42.6911H31.5386V35.7169ZM45.4871 35.7169H52.4613V42.6911H45.4871V35.7169Z",fill:"#0D1542"})]}),(0,yn.jsx)("h2",{className:"big-blue-text",children:"70k+"}),(0,yn.jsx)("p",{className:"grey-text",children:"Institutions"})]})]})]}),(0,yn.jsx)("div",{className:"about-features",children:(0,yn.jsxs)("div",{className:"feature-3460",children:[(0,yn.jsxs)("div",{className:"feature-3461",children:[(0,yn.jsx)("h2",{className:"feature-i-text",children:"Feature Instructions"}),(0,yn.jsxs)("div",{className:"feature-buttons",children:[(0,yn.jsx)("div",{className:"Inquire"===N?"feature-buttons-active":"feature-buttons-passive",onClick:()=>S("Inquire"),children:(0,yn.jsx)("span",{className:"Inquire"===N?"feature-text-active":"feature-text-passive",children:"Inquire"})}),(0,yn.jsx)("div",{className:"Tracker"===N?"feature-buttons-active":"feature-buttons-passive",onClick:()=>S("Tracker"),children:(0,yn.jsx)("span",{className:"Tracker"===N?"feature-text-active":"feature-text-passive",children:"Tracker"})})]})]}),(0,yn.jsx)("div",{className:"instruction-main",children:"Inquire"===N?(0,yn.jsx)("div",{className:"instruction-card",children:(0,yn.jsxs)("div",{className:"instruction-card",children:[(0,yn.jsxs)("div",{className:"inst-top-col",children:[(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"What is it for?"}),(0,yn.jsx)("div",{className:"inst-card-p",children:(0,yn.jsxs)("ul",{className:"inst-card-ul",children:[(0,yn.jsx)("li",{children:"Get an answer to deeptech questions"}),(0,yn.jsx)("li",{children:"Learn innovative technology topics or concepts"}),(0,yn.jsx)("li",{children:"Find evidence for hypothesis & assumptions"})]})})]}),(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"What is it Not a good fit for?"}),(0,yn.jsx)("div",{className:"inst-card-p",children:"Topics especially for short or general questions, it might not be your best bet. and anything that can hardly find clues from science publication and patent ocean"})]}),(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Response time:"}),(0,yn.jsx)("div",{className:"inst-card-p",children:"typically 30 to 60 seconds"})]})]}),(0,yn.jsxs)("div",{className:"inst-top-col",children:[(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Optimise your input:"}),(0,yn.jsx)("div",{className:"inst-card-p",children:(0,yn.jsxs)("ul",{className:"inst-card-ul",children:[(0,yn.jsx)("li",{children:"Be specific"}),(0,yn.jsx)("li",{children:"In the deep tech fields"}),(0,yn.jsx)("li",{children:"Include a \u2018?\u2019 mark for questions "})]})})]}),(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Input examples:"}),(0,yn.jsx)("div",{className:"inst-card-p",children:(0,yn.jsxs)("ul",{className:"inst-card-ul",children:[(0,yn.jsx)("li",{children:"Buprenorphine use in adolescent opiate addiction"}),(0,yn.jsx)("li",{children:"Best practices for designing robust optical computing hardware"}),(0,yn.jsx)("li",{children:"How to create an efficient k-means clustering algorithm on a Riemannian manifold ? "})]})})]}),(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Output accuracy:"}),(0,yn.jsx)("div",{className:"inst-card-p",children:"Like any AI, there's a margin for error. While we achieve a solid 99% success rate (output very reasonable, logic and contextual related answers) in internal tests, we encourage you to double-check information"})]})]})]})}):(0,yn.jsx)("div",{className:"instruction-card-track",children:(0,yn.jsx)("div",{className:"instruction-card-track",children:(0,yn.jsxs)("div",{className:"inst-top-col",children:[(0,yn.jsxs)("div",{className:"inst-item_track",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"What can you do"}),(0,yn.jsx)("div",{className:"inst-item_b",children:(0,yn.jsx)("div",{className:"inst-card-p",children:(0,yn.jsxs)("ul",{className:"inst-card-ul",children:[(0,yn.jsx)("li",{children:"Track specific science innovations"}),(0,yn.jsx)("li",{children:"Surf new industrial use cases"}),(0,yn.jsx)("li",{children:"Patent alerts"}),(0,yn.jsx)("li",{children:"Monitor competitor"})]})})}),(0,yn.jsx)("div",{className:"inst-card-F",children:"Personalised newsfeeds"})]}),(0,yn.jsxs)("div",{className:"inst-item_track",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Step 1"}),(0,yn.jsx)("div",{className:"inst-item_b",children:(0,yn.jsx)("img",{src:je,alt:"Tracker",style:{width:"100%",height:"auto"}})}),(0,yn.jsx)("div",{className:"inst-card-F",children:"Set up you tracker"})]}),(0,yn.jsxs)("div",{className:"inst-item_track",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Step 2"}),(0,yn.jsx)("div",{className:"inst-item_b",children:(0,yn.jsx)("img",{src:ke,alt:"For_You",style:{width:"100%",height:"auto"}})}),(0,yn.jsx)("div",{className:"inst-card-F",children:"Receive curated news"})]})]})})})})]})}),(0,yn.jsx)("div",{className:"about-page-2",children:(0,yn.jsxs)("div",{className:"faq-frame-175",children:[(0,yn.jsx)("h2",{className:"faq-text-header",children:"FAQ"}),(0,yn.jsx)("div",{className:"faq-header-separator"})," ",bn.map(((e,t)=>(0,yn.jsxs)(n.Fragment,{children:[(0,yn.jsxs)("div",{className:"faq-item",children:[(0,yn.jsxs)("div",{className:"faq-question",onClick:()=>(e=>{v(g===e?null:e),console.log("toggleFAQ handler triggered in About good")})(t),children:[(0,yn.jsx)("p",{className:"faq-text-normal",children:e.question}),(0,yn.jsx)("img",{src:g===t?xe:Ce,alt:"Dropdown Icon",className:"dropdown-icon"})]}),g===t&&(0,yn.jsx)("p",{className:"faq-answer",children:e.answer})]}),(0,yn.jsx)("div",{className:"faq-header-separator"})]},t)))]})}),(0,yn.jsxs)("div",{className:"comment",children:[(0,yn.jsx)("div",{className:"comment-container",children:(0,yn.jsx)("div",{className:"comment-text",children:"Leave a comment"})}),(0,yn.jsxs)("div",{className:"message-frame",children:[(0,yn.jsx)("div",{className:"message-header",children:"Message *"}),(0,yn.jsx)("textarea",{className:"message-box",value:b,onChange:e=>w(e.target.value),placeholder:"Type your message here..."})]}),(0,yn.jsx)("div",{className:x,onClick:()=>{const e=localStorage.getItem("token"),t={userId:localStorage.getItem("tyloEmail")};k("Submitted"),C("submit-button-green");gn.post("https://tylo-backend.azurewebsites.net/api/v1/message",{message:b,appState:JSON.stringify(t)},{headers:{Authorization:"Bearer ".concat(e),"Content-Type":"application/json"}}).then((e=>{w("")})).catch((e=>{console.error("Error submitting message:",e)})),setTimeout((()=>{k("Submit"),C("submit-button")}),3e3)},children:(0,yn.jsx)("div",{className:"feature-text-active",children:j})}),(0,yn.jsxs)("div",{className:"contact-text-combined",children:["Or reach out to us at",(0,yn.jsx)("a",{href:"mailto:contact@tylo.ai",className:"contact-email",children:" contact@tylo.ai"})]})]}),(0,yn.jsxs)("div",{className:"all-container",children:[(0,yn.jsx)("div",{className:"all-rights-text",children:"2024 Tylo AI Ltd. All rights reserved. "}),(0,yn.jsx)("div",{className:"all-rights-highlight",onClick:()=>{window.open("".concat(window.location.origin,"/#termsofuse"),"_blank")},children:"Terms of use"}),(0,yn.jsx)("div",{className:"all-rights-highlight",onClick:()=>{window.open("".concat(window.location.origin,"/#privacy"),"_blank")},children:"Privacy Policy"}),(0,yn.jsx)("a",{href:"https://www.linkedin.com/company/tyloai/",target:"_blank",rel:"noopener noreferrer",children:(0,yn.jsxs)("svg",{width:"39",height:"39",viewBox:"0 0 39 39",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsxs)("g",{"clip-path":"url(#clip0_2801_871)",children:[(0,yn.jsx)("path",{d:"M29.4609 0.75H9.53906C4.685 0.75 0.75 4.685 0.75 9.53906V29.4609C0.75 34.315 4.685 38.25 9.53906 38.25H29.4609C34.315 38.25 38.25 34.315 38.25 29.4609V9.53906C38.25 4.685 34.315 0.75 29.4609 0.75Z",fill:"white"}),(0,yn.jsx)("path",{d:"M29.4609 0.75H9.53906C4.685 0.75 0.75 4.685 0.75 9.53906V29.4609C0.75 34.315 4.685 38.25 9.53906 38.25H29.4609C34.315 38.25 38.25 34.315 38.25 29.4609V9.53906C38.25 4.685 34.315 0.75 29.4609 0.75Z",fill:"#4476F1"}),(0,yn.jsx)("path",{d:"M27.8079 32.6375H32.0955C32.2508 32.6375 32.3998 32.5757 32.5097 32.4659C32.6196 32.356 32.6814 32.207 32.6814 32.0517L32.6836 22.9928C32.6836 18.258 31.6633 14.6186 26.1302 14.6186C24.0268 14.5403 22.0433 15.6246 20.9729 17.4352C20.9677 17.444 20.9597 17.4508 20.9502 17.4546C20.9407 17.4585 20.9303 17.4591 20.9204 17.4564C20.9105 17.4538 20.9018 17.4479 20.8955 17.4398C20.8893 17.4317 20.8858 17.4218 20.8857 17.4116V15.6416C20.8857 15.4862 20.824 15.3372 20.7141 15.2273C20.6042 15.1174 20.4552 15.0557 20.2998 15.0557H16.2309C16.0755 15.0557 15.9265 15.1174 15.8166 15.2273C15.7067 15.3372 15.645 15.4862 15.645 15.6416V32.0508C15.645 32.2062 15.7067 32.3552 15.8166 32.4651C15.9265 32.575 16.0755 32.6367 16.2309 32.6367H20.5182C20.6736 32.6367 20.8226 32.575 20.9325 32.4651C21.0424 32.3552 21.1042 32.2062 21.1042 32.0508V23.9395C21.1042 21.646 21.5392 19.4249 24.3826 19.4249C27.1856 19.4249 27.2219 22.0493 27.2219 24.088V32.0515C27.2219 32.2069 27.2837 32.3559 27.3935 32.4658C27.5034 32.5757 27.6525 32.6375 27.8079 32.6375ZM6.31641 9.48457C6.31641 11.2225 7.74712 12.6524 9.48516 12.6524C11.2228 12.6523 12.6526 11.2214 12.6526 9.48384C12.6523 7.74624 11.2223 6.31641 9.48457 6.31641C7.74639 6.31641 6.31641 7.74668 6.31641 9.48457ZM7.33579 32.6375H11.6288C11.7842 32.6375 11.9332 32.5757 12.0431 32.4658C12.153 32.3559 12.2147 32.2069 12.2147 32.0515V15.6416C12.2147 15.4862 12.153 15.3372 12.0431 15.2273C11.9332 15.1174 11.7842 15.0557 11.6288 15.0557H7.33579C7.18039 15.0557 7.03136 15.1174 6.92147 15.2273C6.81159 15.3372 6.74985 15.4862 6.74985 15.6416V32.0515C6.74985 32.2069 6.81159 32.3559 6.92147 32.4658C7.03136 32.5757 7.18039 32.6375 7.33579 32.6375Z",fill:"white"})]}),(0,yn.jsx)("defs",{children:(0,yn.jsx)("clipPath",{id:"clip0_2801_871",children:(0,yn.jsx)("rect",{width:"37.5",height:"37.5",fill:"white",transform:"translate(0.75 0.75)"})})})]})})]})]})},xn=()=>new URLSearchParams(window.location.search);const Cn=function(){console.log("Features component rendering");const e=X(),[t,r]=(0,n.useState)(!1),[a,i]=(0,n.useState)(""),[s,o]=(0,n.useState)(""),[l,c]=(0,n.useState)(""),[u,d]=(0,n.useState)(""),[h,p]=(0,n.useState)(!1),[f,m]=(0,n.useState)(!1),[g,v]=(0,n.useState)(""),[y,b]=(0,n.useState)({}),[w,x]=(0,n.useState)(""),[C,j]=(0,n.useState)("submit-button"),[k,N]=(0,n.useState)("Submit"),[_,S]=(0,n.useState)(""),T=xn();return(0,n.useEffect)((()=>{const e=T.get("ref");e&&S(e);const t=document.createElement("script");t.src="https://apis.google.com/js/api.js",t.onload=()=>{Ne.M.load("auth2",(()=>{Ne.M.auth2.init({client_id:"584832623015-02ioa5kbjqp9agd30pdiifln0bhb5trb.apps.googleusercontent.com",scope:"profile email",redirect_uri:"https://tylo.ai/",cookiepolicy:"single_host_origin"})}))},document.body.appendChild(t)}),[T]),console.log("Feature component about to render JSX"),(0,yn.jsxs)("div",{className:"feature-page",children:[(0,yn.jsxs)("div",{className:"feature-page-icon",children:[(0,yn.jsx)("img",{src:we,alt:"Tylo Icon",className:"tylo-icon"}),(0,yn.jsxs)("div",{className:"tabs",children:[(0,yn.jsxs)("div",{className:"top-bar-tab-current_page",children:[(0,yn.jsx)("a",{href:"/#",className:"top-bar-text",children:"Features"})," "]}),(0,yn.jsxs)("div",{className:"top-bar-tab",children:[(0,yn.jsx)("a",{href:"/#about",className:"top-bar-text",children:"About Us"})," "]})]}),(0,yn.jsxs)("div",{className:"login-button",children:[(0,yn.jsx)("span",{className:"login-text",onClick:()=>p(!0),children:"Login / Signup"}),h&&(0,yn.jsx)("div",{className:"modal-backdrop",onClick:e=>{e.target.classList.contains("modal-backdrop")&&p(!1)},children:(0,yn.jsxs)("div",{className:"signin-form-modal",onClick:e=>e.stopPropagation(),children:[(0,yn.jsx)("div",{className:"signin-header",children:f?"Sign Up":"Sign In"}),(0,yn.jsxs)("div",{className:"signin-text",children:[f?"Already have an account? ":"Don\u2019t have an account? ",(0,yn.jsx)("span",{style:{color:"blue",textDecoration:"underline",cursor:"pointer"},onClick:()=>m(!f),children:f?"Sign In":"Sign Up"})]}),(0,yn.jsxs)("div",{className:"google-signin",onClick:()=>{Ne.M.auth2.getAuthInstance().signIn().then((t=>{const n=t.getBasicProfile().getImageUrl();gn.post("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/auth",{idToken:t.xc.id_token,referralCode:_},{headers:{"Content-Type":"application/json",Accept:"application/json"}}).then((t=>{localStorage.setItem("token",t.data.token),localStorage.setItem("tyloEmail",t.data.user.email),localStorage.setItem("tyloName",t.data.user.name),localStorage.setItem("googleProfileImageUrl",n),vn(t.data.token),e("features"),t.data.user.name&&(localStorage.setItem("name",t.data.user.name),localStorage.setItem("username",t.data.user.username))}))}))},children:[(0,yn.jsxs)("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",style:{marginRight:"10px"},children:[(0,yn.jsx)("path",{d:"M16.8541 7.53113H16.25V7.5H9.5V10.5H13.7386C13.1203 12.2464 11.4586 13.5 9.5 13.5C7.01487 13.5 5 11.4851 5 9C5 6.51487 7.01487 4.5 9.5 4.5C10.6471 4.5 11.6908 4.93275 12.4854 5.63962L14.6068 3.51825C13.2673 2.26987 11.4755 1.5 9.5 1.5C5.35812 1.5 2 4.85812 2 9C2 13.1419 5.35812 16.5 9.5 16.5C13.6419 16.5 17 13.1419 17 9C17 8.49713 16.9482 8.00625 16.8541 7.53113Z",fill:"#FFC107"}),(0,yn.jsx)("path",{d:"M2.86523 5.50912L5.32936 7.31625C5.99611 5.6655 7.61086 4.5 9.50048 4.5C10.6476 4.5 11.6912 4.93275 12.4859 5.63962L14.6072 3.51825C13.2677 2.26987 11.476 1.5 9.50048 1.5C6.61973 1.5 4.12148 3.12637 2.86523 5.50912Z",fill:"#FA1321"}),(0,yn.jsx)("path",{d:"M9.50012 16.5C11.4374 16.5 13.1976 15.7586 14.5285 14.553L12.2072 12.5888C11.4542 13.1591 10.5182 13.5 9.50012 13.5C7.54937 13.5 5.89299 12.2561 5.26899 10.5203L2.82324 12.4046C4.06449 14.8335 6.58524 16.5 9.50012 16.5Z",fill:"#4CAF50"}),(0,yn.jsx)("path",{d:"M16.8541 7.53113H16.25V7.5H9.5V10.5H13.7386C13.4416 11.3389 12.902 12.0622 12.206 12.5891L12.2071 12.5884L14.5284 14.5526C14.3641 14.7019 17 12.75 17 9C17 8.49713 16.9482 8.00625 16.8541 7.53113Z",fill:"#1976D2"})]}),"Continue with Google"]}),(0,yn.jsxs)("div",{className:"or-frame",children:[(0,yn.jsx)("div",{className:"or-rec"}),(0,yn.jsx)("div",{className:"or-text",children:"or"}),(0,yn.jsx)("div",{className:"or-rec"})]}),(0,yn.jsxs)("div",{className:"email-container",children:[(0,yn.jsx)("label",{htmlFor:"email",children:"Email"}),(0,yn.jsx)("input",{id:"email",type:"email",value:a,className:"text-bar",onChange:e=>i(e.target.value)})]}),(0,yn.jsxs)("div",{className:"password-container",children:[(0,yn.jsx)("label",{htmlFor:"password",children:"Password"}),(0,yn.jsx)("input",{id:"password",type:"password",value:s,className:"text-bar",onChange:e=>o(e.target.value)})]}),f&&(0,yn.jsxs)(yn.Fragment,{children:[(0,yn.jsxs)("div",{className:"password-container",children:[(0,yn.jsx)("label",{htmlFor:"confirm-password",children:"Confirm Password"}),(0,yn.jsx)("input",{id:"confirm-password",type:"password",value:g,className:"text-bar",onChange:e=>v(e.target.value)}),s!==g&&g&&(0,yn.jsx)("div",{style:{color:"red"},children:"Passwords do not match"})]}),(0,yn.jsxs)("div",{className:"email-container",children:[(0,yn.jsx)("label",{htmlFor:"organisation",children:"Organisation"}),(0,yn.jsx)("input",{id:"organisation",type:"text",value:l,className:"text-bar",onChange:e=>c(e.target.value)})]}),(0,yn.jsxs)("div",{className:"email-container",children:[(0,yn.jsx)("label",{htmlFor:"role",children:"Role"}),(0,yn.jsx)("input",{id:"role",type:"text",value:u,className:"text-bar",onChange:e=>d(e.target.value)})]}),(0,yn.jsx)("div",{className:"error-message",children:y.email}),(0,yn.jsx)("div",{className:"error-message",children:y.password})]}),(0,yn.jsx)("button",{className:"signin-button",onClick:f?t=>{t.preventDefault(),(()=>{let e={},t=!0;return a?/\S+@\S+\.\S+/.test(a)||(t=!1,e.email="Email is not valid"):(t=!1,e.email="Email is required"),s||(t=!1,e.password="Password is required"),s!==g&&(t=!1,e.confirmPassword="Passwords do not match"),b(e),t})()&&gn.post("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/auth/signup",{email:a,password:s},{headers:{"Content-Type":"application/json"}}).then((t=>{localStorage.setItem("token",t.data.token),e("/features")})).catch((e=>{var t,n;const r=(null===(t=e.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.message)||"Signup failed. Please try again.";console.error("Signup error",r)}))}:async()=>{if(a&&s)try{const t=await gn.post("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/auth",{email:a,password:s},{headers:{"Content-Type":"application/json"}});t.data.token?(localStorage.setItem("token",t.data.token),localStorage.setItem("userEmail",a),e("/features")):alert("Login failed: No token received")}catch(r){var t,n;console.error("Sign-in error",r),alert("Login failed: "+((null===(t=r.response)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.error)||"Password or Email wrong"))}else alert("Please enter both email and password.")},children:(0,yn.jsx)("span",{className:"signin-button-text",children:f?"Sign Up":"Sign In"})})]})})]})]}),(0,yn.jsxs)("div",{className:"gradient-rectangle",children:[(0,yn.jsx)("h2",{className:"feature-title",children:"Deeptech Innovation Assistant"}),(0,yn.jsx)("p",{className:"feature-content",children:"Sign in to unlock full features"}),(0,yn.jsxs)("div",{className:"tab-horizontal-container",children:[(0,yn.jsx)("div",{className:"sign-in",children:(0,yn.jsx)("span",{className:"sign-in-text",children:"Inquire"})}),(0,yn.jsx)("div",{className:"sign-in-disabled",children:(0,yn.jsx)("span",{className:"sign-in-text-disabled",onClick:()=>p(!0),children:"Track"})})]})]}),(0,yn.jsxs)("div",{className:"feature-page-2",children:[(0,yn.jsxs)("div",{className:"Inquire_feature-frame-108",children:[(0,yn.jsx)("h2",{className:"inquire-header",children:"Inquire Anything"}),(0,yn.jsxs)("div",{className:"inquire-frame-95",children:[(0,yn.jsxs)("div",{className:"helper-container",children:[(0,yn.jsx)("p",{className:"inquire-text-1",children:"The start point of your evidence-based innovation"}),(0,yn.jsxs)("div",{className:"instructions-container",children:[(0,yn.jsx)("div",{className:"instructions",children:"Instructions"}),(0,yn.jsx)("div",{className:"instructions-toggle dropdown-button",onClick:e=>{e.stopPropagation(),r(!t)},children:t?"\u25b2":"\u25bc"})]})]}),t&&(0,yn.jsxs)("div",{className:"instruction-card",children:[(0,yn.jsxs)("div",{className:"inst-top-col",children:[(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"What is it for"}),(0,yn.jsx)("div",{className:"inst-card-p",children:(0,yn.jsxs)("ul",{className:"inst-card-ul",children:[(0,yn.jsx)("li",{children:"Get an answer to deeptech questions"}),(0,yn.jsx)("li",{children:"Learn innovative technology topics or concepts"}),(0,yn.jsx)("li",{children:"Find evidence for hypothesis & assumptions"})]})})]}),(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"What is it not a good fit for"}),(0,yn.jsx)("div",{className:"inst-card-p",children:"topics especially for short or general questions, it might not be your best bet. and anything that can hardly find clues from science publication and patent ocean"})]}),(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Responding time"}),(0,yn.jsx)("div",{className:"inst-card-p",children:"typically 10 to 40 seconds"})]})]}),(0,yn.jsxs)("div",{className:"inst-top-col",children:[(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Optimise your input"}),(0,yn.jsx)("div",{className:"inst-card-p",children:(0,yn.jsxs)("ul",{className:"inst-card-ul",children:[(0,yn.jsx)("li",{children:"Be specific"}),(0,yn.jsx)("li",{children:"In the deep tech fields"}),(0,yn.jsx)("li",{children:"Include a \u2018?\u2019 mark for questions "})]})})]}),(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Input examples"}),(0,yn.jsx)("div",{className:"inst-card-p",children:(0,yn.jsxs)("ul",{className:"inst-card-ul",children:[(0,yn.jsx)("li",{children:"Buprenorphine use in adolescent opiate addiction"}),(0,yn.jsx)("li",{children:"Best practices for designing robust optical computing hardware"}),(0,yn.jsx)("li",{children:"How to create an efficient k-means clustering algorithm on a Riemannian manifold ? "})]})})]}),(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Output accuracy"}),(0,yn.jsx)("div",{className:"inst-card-p",children:"Like any AI, there's a margin for error. While we achieve a solid 99% success rate (output very reasonable, logic and contextual related answers) in internal tests, we encourage you to double-check information"})]})]})]}),(0,yn.jsx)("div",{className:"textarea-container",children:(0,yn.jsx)("div",{className:"inquire-textbox",onClick:()=>p(!0),children:(0,yn.jsx)("div",{className:"inquire-button",children:(0,yn.jsx)("span",{className:"sign-in-text",onClick:()=>p(!0),children:"Inquire"})})})})]}),(0,yn.jsx)("div",{className:"answer-text-box",children:(0,yn.jsx)("p",{className:"answer-text",children:"Answer:"})})]}),(0,yn.jsxs)("div",{className:"support-frame-162",children:[(0,yn.jsxs)("div",{className:"support-frame-126",children:[(0,yn.jsx)("p",{className:"support-text-blue",children:"Support Evidence"}),(0,yn.jsx)("p",{className:"mini-grey-text",children:"(20 Items Found)"}),(0,yn.jsx)("div",{className:"dropdown-box",children:(0,yn.jsx)("p",{className:"inquire-text-1",children:"Top 10 Show"})})]}),(0,yn.jsxs)("div",{className:"support-frame-107",children:[(0,yn.jsxs)("div",{className:"support-frame-95a",children:[(0,yn.jsx)("div",{className:"support-frame-135",children:(0,yn.jsx)("p",{className:"support-text",children:"Evidence"})}),(0,yn.jsx)("div",{className:"support-frame-94",children:" "}),(0,yn.jsx)("div",{className:"support-frame-135-b"}),(0,yn.jsx)("div",{className:"support-frame-94",children:" "}),(0,yn.jsx)("div",{className:"support-frame-135-b"}),(0,yn.jsx)("div",{className:"support-frame-94",children:" "}),(0,yn.jsx)("div",{className:"support-frame-135-b"})]}),(0,yn.jsxs)("div",{className:"support-frame-95a",children:[(0,yn.jsx)("div",{className:"support-frame-135",children:(0,yn.jsx)("p",{className:"support-text",children:"Reference "})}),(0,yn.jsx)("div",{className:"support-frame-94",children:" "}),(0,yn.jsx)("div",{className:"support-frame-135-b"}),(0,yn.jsx)("div",{className:"support-frame-94",children:" "}),(0,yn.jsx)("div",{className:"support-frame-135-b"}),(0,yn.jsx)("div",{className:"support-frame-94",children:" "}),(0,yn.jsx)("div",{className:"support-frame-135-b"})]}),(0,yn.jsxs)("div",{className:"support-frame-95a",children:[(0,yn.jsx)("div",{className:"support-frame-135",children:(0,yn.jsx)("p",{className:"support-text",children:"Relevance"})}),(0,yn.jsx)("div",{className:"support-frame-94",children:" "}),(0,yn.jsx)("div",{className:"support-frame-135-b"}),(0,yn.jsx)("div",{className:"support-frame-94",children:" "}),(0,yn.jsx)("div",{className:"support-frame-135-b"}),(0,yn.jsx)("div",{className:"support-frame-94",children:" "}),(0,yn.jsx)("div",{className:"support-frame-135-b"})]})]})]})]}),(0,yn.jsxs)("div",{className:"comment",children:[(0,yn.jsx)("div",{className:"comment-container",children:(0,yn.jsx)("div",{className:"comment-text",children:"Leave a comment"})}),(0,yn.jsxs)("div",{className:"message-frame",children:[(0,yn.jsx)("div",{className:"message-header",children:"Message *"}),(0,yn.jsx)("textarea",{className:"message-box",value:w,onChange:e=>x(e.target.value),placeholder:"Type your message here..."})]}),(0,yn.jsx)("div",{className:C,onClick:()=>{const e=localStorage.getItem("token"),t={userId:localStorage.getItem("tyloEmail")};N("Submitted"),j("submit-button-green");gn.post("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/message",{message:w,appState:JSON.stringify(t)},{headers:{Authorization:"Bearer ".concat(e),"Content-Type":"application/json"}}).then((e=>{x("")})).catch((e=>{console.error("Error submitting message:",e)})),setTimeout((()=>{N("Submit"),j("submit-button")}),3e3)},children:(0,yn.jsx)("div",{className:"feature-text-active",children:k})}),(0,yn.jsxs)("div",{className:"contact-text-combined",children:["Or reach out to us at",(0,yn.jsx)("a",{href:"mailto:contact@tylo.ai",className:"contact-email",children:" contact@tylo.ai"})]})]}),(0,yn.jsxs)("div",{className:"all-container",children:[(0,yn.jsx)("div",{className:"all-rights-text",children:"2024 Tylo AI Ltd. All rights reserved. "}),(0,yn.jsx)("div",{className:"all-rights-highlight",onClick:()=>{window.open("".concat(window.location.origin,"/#termsofuse"),"_blank")},children:"Terms of use"}),(0,yn.jsx)("div",{className:"all-rights-highlight",onClick:()=>{window.open("".concat(window.location.origin,"/#privacy"),"_blank")},children:"Privacy Policy"}),(0,yn.jsx)("a",{href:"https://www.linkedin.com/company/tyloai/",target:"_blank",rel:"noopener noreferrer",children:(0,yn.jsxs)("svg",{width:"39",height:"39",viewBox:"0 0 39 39",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsxs)("g",{"clip-path":"url(#clip0_2801_871)",children:[(0,yn.jsx)("path",{d:"M29.4609 0.75H9.53906C4.685 0.75 0.75 4.685 0.75 9.53906V29.4609C0.75 34.315 4.685 38.25 9.53906 38.25H29.4609C34.315 38.25 38.25 34.315 38.25 29.4609V9.53906C38.25 4.685 34.315 0.75 29.4609 0.75Z",fill:"white"}),(0,yn.jsx)("path",{d:"M29.4609 0.75H9.53906C4.685 0.75 0.75 4.685 0.75 9.53906V29.4609C0.75 34.315 4.685 38.25 9.53906 38.25H29.4609C34.315 38.25 38.25 34.315 38.25 29.4609V9.53906C38.25 4.685 34.315 0.75 29.4609 0.75Z",fill:"#4476F1"}),(0,yn.jsx)("path",{d:"M27.8079 32.6375H32.0955C32.2508 32.6375 32.3998 32.5757 32.5097 32.4659C32.6196 32.356 32.6814 32.207 32.6814 32.0517L32.6836 22.9928C32.6836 18.258 31.6633 14.6186 26.1302 14.6186C24.0268 14.5403 22.0433 15.6246 20.9729 17.4352C20.9677 17.444 20.9597 17.4508 20.9502 17.4546C20.9407 17.4585 20.9303 17.4591 20.9204 17.4564C20.9105 17.4538 20.9018 17.4479 20.8955 17.4398C20.8893 17.4317 20.8858 17.4218 20.8857 17.4116V15.6416C20.8857 15.4862 20.824 15.3372 20.7141 15.2273C20.6042 15.1174 20.4552 15.0557 20.2998 15.0557H16.2309C16.0755 15.0557 15.9265 15.1174 15.8166 15.2273C15.7067 15.3372 15.645 15.4862 15.645 15.6416V32.0508C15.645 32.2062 15.7067 32.3552 15.8166 32.4651C15.9265 32.575 16.0755 32.6367 16.2309 32.6367H20.5182C20.6736 32.6367 20.8226 32.575 20.9325 32.4651C21.0424 32.3552 21.1042 32.2062 21.1042 32.0508V23.9395C21.1042 21.646 21.5392 19.4249 24.3826 19.4249C27.1856 19.4249 27.2219 22.0493 27.2219 24.088V32.0515C27.2219 32.2069 27.2837 32.3559 27.3935 32.4658C27.5034 32.5757 27.6525 32.6375 27.8079 32.6375ZM6.31641 9.48457C6.31641 11.2225 7.74712 12.6524 9.48516 12.6524C11.2228 12.6523 12.6526 11.2214 12.6526 9.48384C12.6523 7.74624 11.2223 6.31641 9.48457 6.31641C7.74639 6.31641 6.31641 7.74668 6.31641 9.48457ZM7.33579 32.6375H11.6288C11.7842 32.6375 11.9332 32.5757 12.0431 32.4658C12.153 32.3559 12.2147 32.2069 12.2147 32.0515V15.6416C12.2147 15.4862 12.153 15.3372 12.0431 15.2273C11.9332 15.1174 11.7842 15.0557 11.6288 15.0557H7.33579C7.18039 15.0557 7.03136 15.1174 6.92147 15.2273C6.81159 15.3372 6.74985 15.4862 6.74985 15.6416V32.0515C6.74985 32.2069 6.81159 32.3559 6.92147 32.4658C7.03136 32.5757 7.18039 32.6375 7.33579 32.6375Z",fill:"white"})]}),(0,yn.jsx)("defs",{children:(0,yn.jsx)("clipPath",{id:"clip0_2801_871",children:(0,yn.jsx)("rect",{width:"37.5",height:"37.5",fill:"white",transform:"translate(0.75 0.75)"})})})]})})]})]})};var jn=__webpack_require__(25);const kn=jn.default||jn;const Nn=function(){console.log("Inquire unlocked component rendering");const[e,t]=(0,n.useState)(""),r=localStorage.getItem("googleProfileImageUrl"),a=X(),[i,s]=(0,n.useState)([]),[o,l]=(0,n.useState)([]),[c,u]=(0,n.useState)([]),[d,h]=(0,n.useState)([]),[p,f]=(0,n.useState)(!1),[m,g]=(0,n.useState)(!1),[v,y]=(0,n.useState)(0),[b,w]=(0,n.useState)("Submit"),[x,C]=(0,n.useState)("submit-button"),[j,k]=(0,n.useState)(""),N=localStorage.getItem("token"),[_,S]=(0,n.useState)(""),T=xn(),[E,O]=(0,n.useState)(!1),[P,A]=(0,n.useState)([]),[L,I]=(0,n.useState)(!1),[R,M]=(0,n.useState)("General Inquiry alt");function D(e){try{const t=new URL(e);return t.hostname.startsWith("www.")?t.hostname.substring(4):"https:"===t.protocol?t.hostname:e}catch(t){return e}}(0,n.useEffect)((()=>{const t=T.get("ref");t&&gn.post("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/generateReferral",{referralCode:t},{headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(N)}}).then((e=>{console.log("Referral user details:",e.data)})).catch((e=>{console.error("Error fetching referral details:",e)}));const n=document.createElement("script");if(n.src="https://apis.google.com/js/api.js",n.onload=()=>{Ne.M.load("auth2",(()=>{Ne.M.auth2.init({client_id:"584832623015-02ioa5kbjqp9agd30pdiifln0bhb5trb.apps.googleusercontent.com",scope:"profile email",redirect_uri:"https://tylo.ai/",cookiepolicy:"single_host_origin"})}))},document.body.appendChild(n),fetch("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/profile",{method:"GET",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(N)}}).then((e=>e.json())).then((e=>{S(e.credits)})).catch((e=>console.error("Error fetching user data:",e))),e){const t=(new DOMParser).parseFromString(e,"text/html").querySelectorAll("h1, h2, h3"),n=Array.from(t).map(((e,t)=>({id:"toc-".concat(t),text:e.textContent,level:parseInt(e.tagName.charAt(1))})));A(n)}}),[N,T,e]);const F=e=>{let t=[];const n=d.sort(((e,t)=>t.relevance-e.relevance));switch(e){case"all":t=n.slice(0,d.length);break;case"top10":default:t=n.slice(0,10);break;case"top20":t=n.slice(0,20)}U(t)},U=e=>{s([]),l([]);let t=[],n=[],r=[];e.forEach(((e,a)=>{let i=a%2===0?"support-frame-94":"support-frame-135-b";var s;const o={backgroundColor:(s=e.relevance||e.score)>=.55?"rgb(0, 225, 0)":s>=.5&&s<.55?"rgb(255, 225, 0)":"rgb(255, 0, 0)"};t.push({content:e.paragraph||e.content,className:i}),n.push({title:e.title,url:e.article_url||e.url,className:i}),r.push({style:o,className:i})})),s(t),l(n),u(r)},H=async e=>{g(!0);const n=(()=>{const e=["Initiating data gathering protocols...","Compiling raw data from diverse sources...","Analyzing information through advanced algorithms...","Synthesizing insights from complex datasets...","Applying machine learning techniques for deeper analysis...","Cross-referencing findings against existing knowledge bases...","Finalizing comprehensive results presentation...","Almost there, preparing to display findings..."];let n=0;const r=setInterval((()=>{t(e[n]),n++,n===e.length&&clearInterval(r)}),4e3);return r})();let r;y(10);r=setInterval((()=>{var e;e=10,y((t=>{const n=t+e;return n>=100?(clearInterval(r),100):n})),y((e=>(e>=60&&clearInterval(r),e)))}),3e3);const a={question:document.querySelector(".inquire-textbox").value},i=new URLSearchParams({promptType:e}),s=await fetch("".concat("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/inquiry","?").concat(i.toString()),{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(N)},body:JSON.stringify(a)});if(!s.ok)throw new Error("Network response was not ok");const o=await s.json();return console.log("Frontend Response Data:",o.message),console.log("token",N),t(o.message),clearInterval(n),g(!1),clearInterval(r),h(o.supporting_evidence),U(o.supporting_evidence),o},z={h1:{fontSize:"32px",margin:"0px 0",marginBottom:"0px"},h2:{fontSize:"26px",margin:"0px 0",marginBottom:"0px"},h3:{margin:"0px 0"},p:{lineHeight:"1.3",margin:"0px 0",marginBottom:"0px"},br:{lineHeight:"0.5",display:"block",marginBottom:"0px"},ul:{margin:"10px 0"},li:{marginBottom:"2px",lineHeight:"1.4"}};return console.log("Inquire component about to render JSX"),(0,yn.jsxs)("div",{className:"feature-page",children:[(0,yn.jsxs)("div",{className:"feature-page-icon",children:[(0,yn.jsx)("img",{src:we,alt:"Tylo Icon",className:"tylo-icon"}),(0,yn.jsxs)("div",{className:"tabs",children:[(0,yn.jsxs)("div",{className:"top-bar-tab-current_page",children:[(0,yn.jsx)("a",{href:"/#features",className:"top-bar-text",children:"Features"})," "]}),(0,yn.jsxs)("div",{className:"top-bar-tab",children:[(0,yn.jsx)("a",{href:"/#about",className:"top-bar-text",children:"About Us"})," "]})]}),(0,yn.jsx)("img",{src:r,alt:"Profile Icon",onClick:()=>{a("/settings")},className:"profile-icon"}),(0,yn.jsx)("div",{className:"login-button",onClick:()=>{localStorage.removeItem("token");const e=Ne.M.auth2.getAuthInstance();null!=e&&e.signOut().then(e.disconnect().then((()=>{console.log("User signed out of Google."),a("/#")}))),a("/#")},children:(0,yn.jsx)("span",{className:"login-text",children:"Sign Out"})})]}),(0,yn.jsxs)("div",{className:"gradient-rectangle",children:[(0,yn.jsx)("h2",{className:"feature-title",children:"Deeptech innovation Assistant"}),(0,yn.jsxs)("div",{className:"tab-horizontal-container",children:[(0,yn.jsx)("div",{className:"sign-in",children:(0,yn.jsx)("span",{className:"sign-in-text",children:"Inquire"})}),(0,yn.jsx)("div",{className:"sign-in-disabled",onClick:()=>{a("/track")},children:(0,yn.jsx)("div",{className:"sign-in-text-disabled",children:"Track"})})]})]}),(0,yn.jsxs)("div",{className:"feature-page-2 ".concat(L?"sidebar-open":""),children:[(0,yn.jsx)("button",{className:"toc-toggle",onClick:()=>{I(!L)},children:L?"\xd7":"\u2630"}),(0,yn.jsx)("div",{className:"toc-sidebar ".concat(L?"open":""),children:(0,yn.jsxs)("div",{className:"table-of-contents",children:[(0,yn.jsx)("h2",{children:"Table of Contents"}),(0,yn.jsx)("ul",{children:P.map((e=>(0,yn.jsx)("li",{className:"toc-level-".concat(e.level),children:(0,yn.jsx)("a",{href:"#".concat(e.id),children:e.text})},e.id)))})]})}),(0,yn.jsx)("div",{className:"horizontal-content-wrapper",children:(0,yn.jsxs)("div",{className:"Inquire_feature-frame-108",children:[(0,yn.jsx)("h2",{className:"inquire-header",children:"Inquire Anything"}),(0,yn.jsxs)("div",{className:"inquire-frame-95",children:[(0,yn.jsxs)("div",{className:"helper-container",children:[(0,yn.jsx)("h2",{className:"inquire-text-1",children:"The starting point of your evidence-based innovation."}),(0,yn.jsxs)("div",{className:"instructions-container",children:[(0,yn.jsx)("div",{className:"instructions",children:"Instructions"}),(0,yn.jsx)("div",{className:"instructions-toggle dropdown-button",onClick:e=>{e.stopPropagation(),O(!E)},children:E?"\u25b2":"\u25bc"})]})]}),E&&(0,yn.jsxs)("div",{className:"instruction-card",children:[(0,yn.jsxs)("div",{className:"inst-top-col",children:[(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"What is it for?"}),(0,yn.jsx)("div",{className:"inst-card-p",children:(0,yn.jsxs)("ul",{className:"inst-card-ul",children:[(0,yn.jsx)("li",{children:"Get an answer to deeptech questions"}),(0,yn.jsx)("li",{children:"Learn innovative technology topics or concepts"}),(0,yn.jsx)("li",{children:"Find evidence for hypothesis & assumptions"})]})})]}),(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"What is it not a good fit for?"}),(0,yn.jsx)("div",{className:"inst-card-p",children:"Short questions or general topics may not be your best bet. Anything that cannot find clues from science publications and patent ocean."})]}),(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Response time:"}),(0,yn.jsx)("div",{className:"inst-card-p",children:"Typically 30 to 60 seconds"})]})]}),(0,yn.jsxs)("div",{className:"inst-top-col",children:[(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Optimise your input:"}),(0,yn.jsx)("div",{className:"inst-card-p",children:(0,yn.jsxs)("ul",{className:"inst-card-ul",children:[(0,yn.jsx)("li",{children:"Be specific"}),(0,yn.jsx)("li",{children:"In the deep tech fields"}),(0,yn.jsx)("li",{children:"Include a '?' mark for questions "})]})})]}),(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Input examples:"}),(0,yn.jsx)("div",{className:"inst-card-p",children:(0,yn.jsxs)("ul",{className:"inst-card-ul",children:[(0,yn.jsx)("li",{children:"Buprenorphine use in adolescent opiate addiction"}),(0,yn.jsx)("li",{children:"Best practices for designing robust optical computing hardware"}),(0,yn.jsx)("li",{children:"How to create an efficient k-means clustering algorithm on a Riemannian manifold? "})]})})]}),(0,yn.jsxs)("div",{className:"inst-item",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Output accuracy:"}),(0,yn.jsx)("div",{className:"inst-card-p",children:"Like any AI, there's a margin for error. While we achieve a solid 99% success rate (output reasonable, logic and contextual related answers) via internal tests, we encourage you to double-check any information obtained."})]})]})]}),(0,yn.jsxs)("div",{className:"info",id:"creditDisplay",children:["Credits: ",_," "]}),(0,yn.jsxs)("div",{className:"tracker-142",children:[(0,yn.jsx)("div",{className:"info",children:"Tell us a bit more about what you are looking for"}),(0,yn.jsxs)("select",{className:"tracker-96",value:R,onChange:e=>{M(e.target.value)},children:[(0,yn.jsx)("option",{value:"General Inquiry alt",children:"General Inquiry"}),(0,yn.jsx)("option",{value:"Key findings alt",children:"Analyse key research findings"}),(0,yn.jsx)("option",{value:"SWOT alt",children:"SWOT analysis"}),(0,yn.jsx)("option",{value:"Evidenced based opinion alt",children:"Find evidence based opinion"}),(0,yn.jsx)("option",{value:"Patent alt",children:"Advanced patent analysis"})]})]}),(0,yn.jsxs)("div",{className:"textarea-container",children:[(0,yn.jsx)("textarea",{className:"inquire-textbox",placeholder:"Enter your inquiry here"}),(0,yn.jsx)("div",{className:"inquire-button_unlocked ".concat(m?"inquire-button_disabled":""),onClick:m?void 0:()=>{H(R)},children:(0,yn.jsx)("span",{className:"sign-in-text",children:m?"Processing...":"Inquire"})})]})]}),m&&(0,yn.jsx)("div",{className:"loader-bar-container",children:(0,yn.jsx)("div",{className:"loader-bar",style:{width:"".concat(v,"%")}})}),(0,yn.jsxs)("div",{className:"answer-text-box",style:{...p&&{backgroundColor:"#FFFFE0"},height:e?"650px":"316px"},children:[(0,yn.jsx)("p",{className:"answer-header",children:"Answer:"}),(0,yn.jsx)("p",{className:"answer-text",style:{...p&&{fontFamily:'"OpenDyslexic", sans-serif'}},children:kn(e,{replace:e=>"h1"===e.name?(0,yn.jsx)("h1",{style:z.h1,children:e.children[0].data}):"h2"===e.name?(0,yn.jsx)("h2",{style:z.h2,children:e.children[0].data}):"h3"===e.name?(0,yn.jsx)("h3",{style:z.h3,children:e.children[0].data}):"p"===e.name?(0,yn.jsx)("p",{style:z.p,children:e.children.map((e=>"text"===e.type?e.data:"span"===e.name?(0,yn.jsx)("span",{style:{color:e.attribs.style.split(";").find((e=>e.includes("color"))).split(":")[1].trim(),padding:e.attribs.style.split(";").find((e=>e.includes("padding"))).split(":")[1].trim(),borderRadius:e.attribs.style.split(";").find((e=>e.includes("border-radius"))).split(":")[1].trim()},children:e.children[0].data}):null))}):"br"===e.name?(0,yn.jsx)("br",{style:z.br}):void 0})})]})]})}),(0,yn.jsxs)("div",{className:"support-frame-162",children:[(0,yn.jsxs)("div",{className:"support-frame-126",children:[(0,yn.jsx)("p",{className:"support-text-blue",children:"Support Evidence"}),(0,yn.jsxs)("p",{className:"mini-grey-text",children:["(",d.length," Items Found)"]}),(0,yn.jsx)("div",{className:"dropdown-box",children:(0,yn.jsxs)("select",{className:"inquire-text-1",onChange:e=>{const t=e.target.value;F(t)},children:[(0,yn.jsx)("option",{value:"all",children:"All"}),(0,yn.jsx)("option",{value:"top10",children:"Top 10"}),(0,yn.jsx)("option",{value:"top20",children:"Top 20"})]})}),(0,yn.jsxs)("label",{children:[(0,yn.jsx)("input",{type:"checkbox",checked:p,onChange:e=>{f(e.target.checked)}}),"Use Dyslexia-Friendly Font"]})]}),(0,yn.jsxs)("div",{className:"support-frame-107",children:[(0,yn.jsxs)("div",{className:"support-frame-95a",children:[(0,yn.jsx)("div",{className:"support-frame-135",children:(0,yn.jsx)("p",{className:"support-text",children:"Support evidence"})}),i.map(((e,t)=>(0,yn.jsxs)("div",{className:"support-text-content ".concat(e.className),children:[(0,yn.jsxs)("span",{className:"evidence-number",children:[t+1,". "]}),e.content]},t)))]}),(0,yn.jsxs)("div",{className:"support-frame-95b",children:[(0,yn.jsx)("div",{className:"support-frame-135",children:(0,yn.jsx)("p",{className:"support-text",children:"Reference & sources"})}),o.map(((e,t)=>(0,yn.jsx)("div",{className:"support-text-content ".concat(e.className),children:(0,yn.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",children:[e.title," - ",D(e.url)]})},t)))]}),(0,yn.jsxs)("div",{className:"support-frame-95c",children:[(0,yn.jsx)("div",{className:"support-frame-135",children:(0,yn.jsx)("p",{className:"support-text",children:"Relevance "})}),c.map(((e,t)=>(0,yn.jsx)("div",{className:"".concat(e.className," relevance-circle"),style:e.style},t)))]})]})]})]}),(0,yn.jsxs)("div",{className:"comment",children:[(0,yn.jsx)("div",{className:"comment-container",children:(0,yn.jsx)("div",{className:"comment-text",children:"Leave a comment"})}),(0,yn.jsxs)("div",{className:"message-frame",children:[(0,yn.jsx)("div",{className:"message-header",children:"Message *"}),(0,yn.jsx)("textarea",{className:"message-box",value:j,onChange:e=>k(e.target.value),placeholder:"Type your message here..."})]}),(0,yn.jsx)("div",{className:x,onClick:()=>{const t=localStorage.getItem("token"),n=(()=>{var t=document.querySelector(".inquire-textbox").value;return{userId:localStorage.getItem("tyloEmail"),textareaValue:t,answerText:e}})();w("Submitted"),C("submit-button-green");gn.post("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/message",{message:j,appState:JSON.stringify(n)},{headers:{Authorization:"Bearer ".concat(t),"Content-Type":"application/json"}}).then((e=>{k("")})).catch((e=>{console.error("Error submitting message:",e)})),setTimeout((()=>{w("Submit"),C("submit-button")}),3e3)},children:(0,yn.jsx)("div",{className:"feature-text-active",children:b})}),(0,yn.jsxs)("div",{className:"contact-text-combined",children:["Or reach out to us at",(0,yn.jsx)("a",{href:"mailto:contact@tylo.ai",className:"contact-email",children:" contact@tylo.ai"})]})]}),(0,yn.jsxs)("div",{className:"all-container",children:[(0,yn.jsx)("div",{className:"all-rights-text",children:"2024 Tylo AI Ltd. All rights reserved. "}),(0,yn.jsx)("div",{className:"all-rights-highlight",onClick:()=>{window.open("".concat(window.location.origin,"/#termsofuse"),"_blank")},children:"Terms of use"}),(0,yn.jsx)("div",{className:"all-rights-highlight",onClick:()=>{window.open("".concat(window.location.origin,"/#privacy"),"_blank")},children:"Privacy Policy"}),(0,yn.jsx)("a",{href:"https://www.linkedin.com/company/tyloai/",target:"_blank",rel:"noopener noreferrer",children:(0,yn.jsxs)("svg",{width:"39",height:"39",viewBox:"0 0 39 39",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsxs)("g",{"clip-path":"url(#clip0_2801_871)",children:[(0,yn.jsx)("path",{d:"M29.4609 0.75H9.53906C4.685 0.75 0.75 4.685 0.75 9.53906V29.4609C0.75 34.315 4.685 38.25 9.53906 38.25H29.4609C34.315 38.25 38.25 34.315 38.25 29.4609V9.53906C38.25 4.685 34.315 0.75 29.4609 0.75Z",fill:"white"}),(0,yn.jsx)("path",{d:"M29.4609 0.75H9.53906C4.685 0.75 0.75 4.685 0.75 9.53906V29.4609C0.75 34.315 4.685 38.25 9.53906 38.25H29.4609C34.315 38.25 38.25 34.315 38.25 29.4609V9.53906C38.25 4.685 34.315 0.75 29.4609 0.75Z",fill:"#4476F1"}),(0,yn.jsx)("path",{d:"M27.8079 32.6375H32.0955C32.2508 32.6375 32.3998 32.5757 32.5097 32.4659C32.6196 32.356 32.6814 32.207 32.6814 32.0517L32.6836 22.9928C32.6836 18.258 31.6633 14.6186 26.1302 14.6186C24.0268 14.5403 22.0433 15.6246 20.9729 17.4352C20.9677 17.444 20.9597 17.4508 20.9502 17.4546C20.9407 17.4585 20.9303 17.4591 20.9204 17.4564C20.9105 17.4538 20.9018 17.4479 20.8955 17.4398C20.8893 17.4317 20.8858 17.4218 20.8857 17.4116V15.6416C20.8857 15.4862 20.824 15.3372 20.7141 15.2273C20.6042 15.1174 20.4552 15.0557 20.2998 15.0557H16.2309C16.0755 15.0557 15.9265 15.1174 15.8166 15.2273C15.7067 15.3372 15.645 15.4862 15.645 15.6416V32.0508C15.645 32.2062 15.7067 32.3552 15.8166 32.4651C15.9265 32.575 16.0755 32.6367 16.2309 32.6367H20.5182C20.6736 32.6367 20.8226 32.575 20.9325 32.4651C21.0424 32.3552 21.1042 32.2062 21.1042 32.0508V23.9395C21.1042 21.646 21.5392 19.4249 24.3826 19.4249C27.1856 19.4249 27.2219 22.0493 27.2219 24.088V32.0515C27.2219 32.2069 27.2837 32.3559 27.3935 32.4658C27.5034 32.5757 27.6525 32.6375 27.8079 32.6375ZM6.31641 9.48457C6.31641 11.2225 7.74712 12.6524 9.48516 12.6524C11.2228 12.6523 12.6526 11.2214 12.6526 9.48384C12.6523 7.74624 11.2223 6.31641 9.48457 6.31641C7.74639 6.31641 6.31641 7.74668 6.31641 9.48457ZM7.33579 32.6375H11.6288C11.7842 32.6375 11.9332 32.5757 12.0431 32.4658C12.153 32.3559 12.2147 32.2069 12.2147 32.0515V15.6416C12.2147 15.4862 12.153 15.3372 12.0431 15.2273C11.9332 15.1174 11.7842 15.0557 11.6288 15.0557H7.33579C7.18039 15.0557 7.03136 15.1174 6.92147 15.2273C6.81159 15.3372 6.74985 15.4862 6.74985 15.6416V32.0515C6.74985 32.2069 6.81159 32.3559 6.92147 32.4658C7.03136 32.5757 7.18039 32.6375 7.33579 32.6375Z",fill:"white"})]}),(0,yn.jsx)("defs",{children:(0,yn.jsx)("clipPath",{id:"clip0_2801_871",children:(0,yn.jsx)("rect",{width:"37.5",height:"37.5",fill:"white",transform:"translate(0.75 0.75)"})})})]})})]})]})};const _n=__webpack_require__.p+"static/media/tracker-close.1c770dff493c4daef1bff1ec3f6379f8.svg";class Sn extends Error{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"FunctionsError",n=arguments.length>2?arguments[2]:void 0;super(e),this.name=t,this.context=n}}class Tn extends Sn{constructor(e){super("Failed to send a request to the Edge Function","FunctionsFetchError",e)}}class En extends Sn{constructor(e){super("Relay Error invoking the Edge Function","FunctionsRelayError",e)}}class On extends Sn{constructor(e){super("Edge Function returned a non-2xx status code","FunctionsHttpError",e)}}var Pn=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function o(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,o)}l((r=r.apply(e,t||[])).next())}))};class An{constructor(e){let{headers:t={},customFetch:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.url=e,this.headers=t,this.fetch=(e=>{let t;return t=e||("undefined"===typeof fetch?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Promise.resolve().then(__webpack_require__.bind(__webpack_require__,526)).then((e=>{let{default:n}=e;return n(...t)}))}:fetch),function(){return t(...arguments)}})(n)}setAuth(e){this.headers.Authorization="Bearer ".concat(e)}invoke(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n;return Pn(this,void 0,void 0,(function*(){try{const{headers:r,method:a,body:i}=t;let s,o={};i&&(r&&!Object.prototype.hasOwnProperty.call(r,"Content-Type")||!r)&&("undefined"!==typeof Blob&&i instanceof Blob||i instanceof ArrayBuffer?(o["Content-Type"]="application/octet-stream",s=i):"string"===typeof i?(o["Content-Type"]="text/plain",s=i):"undefined"!==typeof FormData&&i instanceof FormData?s=i:(o["Content-Type"]="application/json",s=JSON.stringify(i)));const l=yield this.fetch("".concat(this.url,"/").concat(e),{method:a||"POST",headers:Object.assign(Object.assign(Object.assign({},o),this.headers),r),body:s}).catch((e=>{throw new Tn(e)})),c=l.headers.get("x-relay-error");if(c&&"true"===c)throw new En(l);if(!l.ok)throw new On(l);let u,d=(null!==(n=l.headers.get("Content-Type"))&&void 0!==n?n:"text/plain").split(";")[0].trim();return u="application/json"===d?yield l.json():"application/octet-stream"===d?yield l.blob():"multipart/form-data"===d?yield l.formData():yield l.text(),{data:u,error:null}}catch(r){return{data:null,error:r}}}))}}var Ln=__webpack_require__(526);class In extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.code=e.code}}class Rn{constructor(e){this.shouldThrowOnError=!1,this.method=e.method,this.url=e.url,this.headers=e.headers,this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=e.shouldThrowOnError,this.signal=e.signal,this.isMaybeSingle=e.isMaybeSingle,e.fetch?this.fetch=e.fetch:"undefined"===typeof fetch?this.fetch=Ln.default:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}then(e,t){void 0===this.schema||(["GET","HEAD"].includes(this.method)?this.headers["Accept-Profile"]=this.schema:this.headers["Content-Profile"]=this.schema),"GET"!==this.method&&"HEAD"!==this.method&&(this.headers["Content-Type"]="application/json");let n=(0,this.fetch)(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then((async e=>{var t,n,r;let a=null,i=null,s=null,o=e.status,l=e.statusText;if(e.ok){if("HEAD"!==this.method){const t=await e.text();""===t||(i="text/csv"===this.headers.Accept||this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?t:JSON.parse(t))}const r=null===(t=this.headers.Prefer)||void 0===t?void 0:t.match(/count=(exact|planned|estimated)/),c=null===(n=e.headers.get("content-range"))||void 0===n?void 0:n.split("/");r&&c&&c.length>1&&(s=parseInt(c[1])),this.isMaybeSingle&&"GET"===this.method&&Array.isArray(i)&&(i.length>1?(a={code:"PGRST116",details:"Results contain ".concat(i.length," rows, application/vnd.pgrst.object+json requires 1 row"),hint:null,message:"JSON object requested, multiple (or no) rows returned"},i=null,s=null,o=406,l="Not Acceptable"):i=1===i.length?i[0]:null)}else{const t=await e.text();try{a=JSON.parse(t),Array.isArray(a)&&404===e.status&&(i=[],a=null,o=200,l="OK")}catch(c){404===e.status&&""===t?(o=204,l="No Content"):a={message:t}}if(a&&this.isMaybeSingle&&(null===(r=null===a||void 0===a?void 0:a.details)||void 0===r?void 0:r.includes("0 rows"))&&(a=null,o=200,l="OK"),a&&this.shouldThrowOnError)throw new In(a)}return{error:a,data:i,count:s,status:o,statusText:l}}));return this.shouldThrowOnError||(n=n.catch((e=>{var t,n,r;return{error:{message:"".concat(null!==(t=null===e||void 0===e?void 0:e.name)&&void 0!==t?t:"FetchError",": ").concat(null===e||void 0===e?void 0:e.message),details:"".concat(null!==(n=null===e||void 0===e?void 0:e.stack)&&void 0!==n?n:""),hint:"",code:"".concat(null!==(r=null===e||void 0===e?void 0:e.code)&&void 0!==r?r:"")},data:null,count:null,status:0,statusText:""}}))),n.then(e,t)}}class Mn extends Rn{select(e){let t=!1;const n=(null!==e&&void 0!==e?e:"*").split("").map((e=>/\s/.test(e)&&!t?"":('"'===e&&(t=!t),e))).join("");return this.url.searchParams.set("select",n),this.headers.Prefer&&(this.headers.Prefer+=","),this.headers.Prefer+="return=representation",this}order(e){let{ascending:t=!0,nullsFirst:n,foreignTable:r,referencedTable:a=r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=a?"".concat(a,".order"):"order",s=this.url.searchParams.get(i);return this.url.searchParams.set(i,"".concat(s?"".concat(s,","):"").concat(e,".").concat(t?"asc":"desc").concat(void 0===n?"":n?".nullsfirst":".nullslast")),this}limit(e){let{foreignTable:t,referencedTable:n=t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r="undefined"===typeof n?"limit":"".concat(n,".limit");return this.url.searchParams.set(r,"".concat(e)),this}range(e,t){let{foreignTable:n,referencedTable:r=n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a="undefined"===typeof r?"offset":"".concat(r,".offset"),i="undefined"===typeof r?"limit":"".concat(r,".limit");return this.url.searchParams.set(a,"".concat(e)),this.url.searchParams.set(i,"".concat(t-e+1)),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.Accept="application/vnd.pgrst.object+json",this}maybeSingle(){return"GET"===this.method?this.headers.Accept="application/json":this.headers.Accept="application/vnd.pgrst.object+json",this.isMaybeSingle=!0,this}csv(){return this.headers.Accept="text/csv",this}geojson(){return this.headers.Accept="application/geo+json",this}explain(){let{analyze:e=!1,verbose:t=!1,settings:n=!1,buffers:r=!1,wal:a=!1,format:i="text"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var s;const o=[e?"analyze":null,t?"verbose":null,n?"settings":null,r?"buffers":null,a?"wal":null].filter(Boolean).join("|"),l=null!==(s=this.headers.Accept)&&void 0!==s?s:"application/json";return this.headers.Accept="application/vnd.pgrst.plan+".concat(i,'; for="').concat(l,'"; options=').concat(o,";"),this}rollback(){var e;return(null!==(e=this.headers.Prefer)&&void 0!==e?e:"").trim().length>0?this.headers.Prefer+=",tx=rollback":this.headers.Prefer="tx=rollback",this}returns(){return this}}class Dn extends Mn{eq(e,t){return this.url.searchParams.append(e,"eq.".concat(t)),this}neq(e,t){return this.url.searchParams.append(e,"neq.".concat(t)),this}gt(e,t){return this.url.searchParams.append(e,"gt.".concat(t)),this}gte(e,t){return this.url.searchParams.append(e,"gte.".concat(t)),this}lt(e,t){return this.url.searchParams.append(e,"lt.".concat(t)),this}lte(e,t){return this.url.searchParams.append(e,"lte.".concat(t)),this}like(e,t){return this.url.searchParams.append(e,"like.".concat(t)),this}likeAllOf(e,t){return this.url.searchParams.append(e,"like(all).{".concat(t.join(","),"}")),this}likeAnyOf(e,t){return this.url.searchParams.append(e,"like(any).{".concat(t.join(","),"}")),this}ilike(e,t){return this.url.searchParams.append(e,"ilike.".concat(t)),this}ilikeAllOf(e,t){return this.url.searchParams.append(e,"ilike(all).{".concat(t.join(","),"}")),this}ilikeAnyOf(e,t){return this.url.searchParams.append(e,"ilike(any).{".concat(t.join(","),"}")),this}is(e,t){return this.url.searchParams.append(e,"is.".concat(t)),this}in(e,t){const n=t.map((e=>"string"===typeof e&&new RegExp("[,()]").test(e)?'"'.concat(e,'"'):"".concat(e))).join(",");return this.url.searchParams.append(e,"in.(".concat(n,")")),this}contains(e,t){return"string"===typeof t?this.url.searchParams.append(e,"cs.".concat(t)):Array.isArray(t)?this.url.searchParams.append(e,"cs.{".concat(t.join(","),"}")):this.url.searchParams.append(e,"cs.".concat(JSON.stringify(t))),this}containedBy(e,t){return"string"===typeof t?this.url.searchParams.append(e,"cd.".concat(t)):Array.isArray(t)?this.url.searchParams.append(e,"cd.{".concat(t.join(","),"}")):this.url.searchParams.append(e,"cd.".concat(JSON.stringify(t))),this}rangeGt(e,t){return this.url.searchParams.append(e,"sr.".concat(t)),this}rangeGte(e,t){return this.url.searchParams.append(e,"nxl.".concat(t)),this}rangeLt(e,t){return this.url.searchParams.append(e,"sl.".concat(t)),this}rangeLte(e,t){return this.url.searchParams.append(e,"nxr.".concat(t)),this}rangeAdjacent(e,t){return this.url.searchParams.append(e,"adj.".concat(t)),this}overlaps(e,t){return"string"===typeof t?this.url.searchParams.append(e,"ov.".concat(t)):this.url.searchParams.append(e,"ov.{".concat(t.join(","),"}")),this}textSearch(e,t){let{config:n,type:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a="";"plain"===r?a="pl":"phrase"===r?a="ph":"websearch"===r&&(a="w");const i=void 0===n?"":"(".concat(n,")");return this.url.searchParams.append(e,"".concat(a,"fts").concat(i,".").concat(t)),this}match(e){return Object.entries(e).forEach((e=>{let[t,n]=e;this.url.searchParams.append(t,"eq.".concat(n))})),this}not(e,t,n){return this.url.searchParams.append(e,"not.".concat(t,".").concat(n)),this}or(e){let{foreignTable:t,referencedTable:n=t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=n?"".concat(n,".or"):"or";return this.url.searchParams.append(r,"(".concat(e,")")),this}filter(e,t,n){return this.url.searchParams.append(e,"".concat(t,".").concat(n)),this}}class Fn{constructor(e,t){let{headers:n={},schema:r,fetch:a}=t;this.url=e,this.headers=n,this.schema=r,this.fetch=a}select(e){let{head:t=!1,count:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=t?"HEAD":"GET";let a=!1;const i=(null!==e&&void 0!==e?e:"*").split("").map((e=>/\s/.test(e)&&!a?"":('"'===e&&(a=!a),e))).join("");return this.url.searchParams.set("select",i),n&&(this.headers.Prefer="count=".concat(n)),new Dn({method:r,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}insert(e){let{count:t,defaultToNull:n=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[];if(this.headers.Prefer&&r.push(this.headers.Prefer),t&&r.push("count=".concat(t)),n||r.push("missing=default"),this.headers.Prefer=r.join(","),Array.isArray(e)){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]);if(t.length>0){const e=[...new Set(t)].map((e=>'"'.concat(e,'"')));this.url.searchParams.set("columns",e.join(","))}}return new Dn({method:"POST",url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}upsert(e){let{onConflict:t,ignoreDuplicates:n=!1,count:r,defaultToNull:a=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=["resolution=".concat(n?"ignore":"merge","-duplicates")];if(void 0!==t&&this.url.searchParams.set("on_conflict",t),this.headers.Prefer&&i.push(this.headers.Prefer),r&&i.push("count=".concat(r)),a||i.push("missing=default"),this.headers.Prefer=i.join(","),Array.isArray(e)){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]);if(t.length>0){const e=[...new Set(t)].map((e=>'"'.concat(e,'"')));this.url.searchParams.set("columns",e.join(","))}}return new Dn({method:"POST",url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}update(e){let{count:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=[];return this.headers.Prefer&&n.push(this.headers.Prefer),t&&n.push("count=".concat(t)),this.headers.Prefer=n.join(","),new Dn({method:"PATCH",url:this.url,headers:this.headers,schema:this.schema,body:e,fetch:this.fetch,allowEmpty:!1})}delete(){let{count:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=[];return e&&t.push("count=".concat(e)),this.headers.Prefer&&t.unshift(this.headers.Prefer),this.headers.Prefer=t.join(","),new Dn({method:"DELETE",url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}}const Un={"X-Client-Info":"postgrest-js/".concat("1.9.2")};class Hn{constructor(e){let{headers:t={},schema:n,fetch:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.url=e,this.headers=Object.assign(Object.assign({},Un),t),this.schemaName=n,this.fetch=r}from(e){const t=new URL("".concat(this.url,"/").concat(e));return new Fn(t,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(e){return new Hn(this.url,{headers:this.headers,schema:e,fetch:this.fetch})}rpc(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{head:r=!1,count:a}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=new URL("".concat(this.url,"/rpc/").concat(e));let s;r?(t="HEAD",Object.entries(n).forEach((e=>{let[t,n]=e;i.searchParams.append(t,"".concat(n))}))):(t="POST",s=n);const o=Object.assign({},this.headers);return a&&(o.Prefer="count=".concat(a)),new Dn({method:t,url:i,headers:o,schema:this.schemaName,body:s,fetch:this.fetch,allowEmpty:!1})}}const zn={"X-Client-Info":"realtime-js/".concat("2.9.3")};var Bn,qn,Vn,Wn,Zn,Kn,Jn;!function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"}(Bn||(Bn={})),function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"}(qn||(qn={})),function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"}(Vn||(Vn={})),function(e){e.websocket="websocket"}(Wn||(Wn={})),function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"}(Zn||(Zn={}));class Gn{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=void 0,this.tries=0,this.callback=e,this.timerCalc=t}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout((()=>{this.tries=this.tries+1,this.callback()}),this.timerCalc(this.tries+1))}}class $n{constructor(){this.HEADER_LENGTH=1}decode(e,t){return e.constructor===ArrayBuffer?t(this._binaryDecode(e)):t("string"===typeof e?JSON.parse(e):{})}_binaryDecode(e){const t=new DataView(e),n=new TextDecoder;return this._decodeBroadcast(e,t,n)}_decodeBroadcast(e,t,n){const r=t.getUint8(1),a=t.getUint8(2);let i=this.HEADER_LENGTH+2;const s=n.decode(e.slice(i,i+r));i+=r;const o=n.decode(e.slice(i,i+a));i+=a;return{ref:null,topic:s,event:o,payload:JSON.parse(n.decode(e.slice(i,e.byteLength)))}}}class Yn{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1e4;this.channel=e,this.event=t,this.payload=n,this.timeout=r,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(e){this.timeout=e,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(e){this.payload=Object.assign(Object.assign({},this.payload),e)}receive(e,t){var n;return this._hasReceived(e)&&t(null===(n=this.receivedResp)||void 0===n?void 0:n.response),this.recHooks.push({status:e,callback:t}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);this.channel._on(this.refEvent,{},(e=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=e,this._matchReceive(e)})),this.timeoutTimer=setTimeout((()=>{this.trigger("timeout",{})}),this.timeout)}trigger(e,t){this.refEvent&&this.channel._trigger(this.refEvent,{status:e,response:t})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive(e){let{status:t,response:n}=e;this.recHooks.filter((e=>e.status===t)).forEach((e=>e.callback(n)))}_hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}}!function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"}(Kn||(Kn={}));class Qn{constructor(e,t){this.channel=e,this.state={},this.pendingDiffs=[],this.joinRef=null,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const n=(null===t||void 0===t?void 0:t.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(n.state,{},(e=>{const{onJoin:t,onLeave:n,onSync:r}=this.caller;this.joinRef=this.channel._joinRef(),this.state=Qn.syncState(this.state,e,t,n),this.pendingDiffs.forEach((e=>{this.state=Qn.syncDiff(this.state,e,t,n)})),this.pendingDiffs=[],r()})),this.channel._on(n.diff,{},(e=>{const{onJoin:t,onLeave:n,onSync:r}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(e):(this.state=Qn.syncDiff(this.state,e,t,n),r())})),this.onJoin(((e,t,n)=>{this.channel._trigger("presence",{event:"join",key:e,currentPresences:t,newPresences:n})})),this.onLeave(((e,t,n)=>{this.channel._trigger("presence",{event:"leave",key:e,currentPresences:t,leftPresences:n})})),this.onSync((()=>{this.channel._trigger("presence",{event:"sync"})}))}static syncState(e,t,n,r){const a=this.cloneDeep(e),i=this.transformState(t),s={},o={};return this.map(a,((e,t)=>{i[e]||(o[e]=t)})),this.map(i,((e,t)=>{const n=a[e];if(n){const r=t.map((e=>e.presence_ref)),a=n.map((e=>e.presence_ref)),i=t.filter((e=>a.indexOf(e.presence_ref)<0)),l=n.filter((e=>r.indexOf(e.presence_ref)<0));i.length>0&&(s[e]=i),l.length>0&&(o[e]=l)}else s[e]=t})),this.syncDiff(a,{joins:s,leaves:o},n,r)}static syncDiff(e,t,n,r){const{joins:a,leaves:i}={joins:this.transformState(t.joins),leaves:this.transformState(t.leaves)};return n||(n=()=>{}),r||(r=()=>{}),this.map(a,((t,r)=>{var a;const i=null!==(a=e[t])&&void 0!==a?a:[];if(e[t]=this.cloneDeep(r),i.length>0){const n=e[t].map((e=>e.presence_ref)),r=i.filter((e=>n.indexOf(e.presence_ref)<0));e[t].unshift(...r)}n(t,i,r)})),this.map(i,((t,n)=>{let a=e[t];if(!a)return;const i=n.map((e=>e.presence_ref));a=a.filter((e=>i.indexOf(e.presence_ref)<0)),e[t]=a,r(t,a,n),0===a.length&&delete e[t]})),e}static map(e,t){return Object.getOwnPropertyNames(e).map((n=>t(n,e[n])))}static transformState(e){return e=this.cloneDeep(e),Object.getOwnPropertyNames(e).reduce(((t,n)=>{const r=e[n];return t[n]="metas"in r?r.metas.map((e=>(e.presence_ref=e.phx_ref,delete e.phx_ref,delete e.phx_ref_prev,e))):r,t}),{})}static cloneDeep(e){return JSON.parse(JSON.stringify(e))}onJoin(e){this.caller.onJoin=e}onLeave(e){this.caller.onLeave=e}onSync(e){this.caller.onSync=e}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}!function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"}(Jn||(Jn={}));const Xn=function(e,t){var n;const r=null!==(n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipTypes)&&void 0!==n?n:[];return Object.keys(t).reduce(((n,a)=>(n[a]=er(a,e,t,r),n)),{})},er=(e,t,n,r)=>{const a=t.find((t=>t.name===e)),i=null===a||void 0===a?void 0:a.type,s=n[e];return i&&!r.includes(i)?tr(i,s):nr(s)},tr=(e,t)=>{if("_"===e.charAt(0)){const n=e.slice(1,e.length);return sr(t,n)}switch(e){case Jn.bool:return rr(t);case Jn.float4:case Jn.float8:case Jn.int2:case Jn.int4:case Jn.int8:case Jn.numeric:case Jn.oid:return ar(t);case Jn.json:case Jn.jsonb:return ir(t);case Jn.timestamp:return or(t);case Jn.abstime:case Jn.date:case Jn.daterange:case Jn.int4range:case Jn.int8range:case Jn.money:case Jn.reltime:case Jn.text:case Jn.time:case Jn.timestamptz:case Jn.timetz:case Jn.tsrange:case Jn.tstzrange:default:return nr(t)}},nr=e=>e,rr=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},ar=e=>{if("string"===typeof e){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},ir=e=>{if("string"===typeof e)try{return JSON.parse(e)}catch(t){return console.log("JSON parse error: ".concat(t)),e}return e},sr=(e,t)=>{if("string"!==typeof e)return e;const n=e.length-1,r=e[n];if("{"===e[0]&&"}"===r){let r;const i=e.slice(1,n);try{r=JSON.parse("["+i+"]")}catch(a){r=i?i.split(","):[]}return r.map((e=>tr(t,e)))}return e},or=e=>"string"===typeof e?e.replace(" ","T"):e;var lr,cr,ur;!function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"}(lr||(lr={})),function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes"}(cr||(cr={})),function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"}(ur||(ur={}));class dr{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{config:{}},n=arguments.length>2?arguments[2]:void 0;this.topic=e,this.params=t,this.socket=n,this.bindings={},this.state=qn.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=e.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:""}},t.config),this.timeout=this.socket.timeout,this.joinPush=new Yn(this,Vn.join,this.params,this.timeout),this.rejoinTimer=new Gn((()=>this._rejoinUntilConnected()),this.socket.reconnectAfterMs),this.joinPush.receive("ok",(()=>{this.state=qn.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach((e=>e.send())),this.pushBuffer=[]})),this._onClose((()=>{this.rejoinTimer.reset(),this.socket.log("channel","close ".concat(this.topic," ").concat(this._joinRef())),this.state=qn.closed,this.socket._remove(this)})),this._onError((e=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel","error ".concat(this.topic),e),this.state=qn.errored,this.rejoinTimer.scheduleTimeout())})),this.joinPush.receive("timeout",(()=>{this._isJoining()&&(this.socket.log("channel","timeout ".concat(this.topic),this.joinPush.timeout),this.state=qn.errored,this.rejoinTimer.scheduleTimeout())})),this._on(Vn.reply,{},((e,t)=>{this._trigger(this._replyEventName(t),e)})),this.presence=new Qn(this),this.broadcastEndpointURL=this._broadcastEndpointURL()}subscribe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.timeout;var n,r;if(this.socket.isConnected()||this.socket.connect(),this.joinedOnce)throw"tried to subscribe multiple times. 'subscribe' can only be called a single time per channel instance";{const{config:{broadcast:a,presence:i}}=this.params;this._onError((t=>e&&e("CHANNEL_ERROR",t))),this._onClose((()=>e&&e("CLOSED")));const s={},o={broadcast:a,presence:i,postgres_changes:null!==(r=null===(n=this.bindings.postgres_changes)||void 0===n?void 0:n.map((e=>e.filter)))&&void 0!==r?r:[]};this.socket.accessToken&&(s.access_token=this.socket.accessToken),this.updateJoinPayload(Object.assign({config:o},s)),this.joinedOnce=!0,this._rejoin(t),this.joinPush.receive("ok",(t=>{let{postgres_changes:n}=t;var r;if(this.socket.accessToken&&this.socket.setAuth(this.socket.accessToken),void 0!==n){const t=this.bindings.postgres_changes,a=null!==(r=null===t||void 0===t?void 0:t.length)&&void 0!==r?r:0,i=[];for(let r=0;r<a;r++){const a=t[r],{filter:{event:s,schema:o,table:l,filter:c}}=a,u=n&&n[r];if(!u||u.event!==s||u.schema!==o||u.table!==l||u.filter!==c)return this.unsubscribe(),void(e&&e("CHANNEL_ERROR",new Error("mismatch between server and client bindings for postgres changes")));i.push(Object.assign(Object.assign({},a),{id:u.id}))}return this.bindings.postgres_changes=i,void(e&&e("SUBSCRIBED"))}e&&e("SUBSCRIBED")})).receive("error",(t=>{e&&e("CHANNEL_ERROR",new Error(JSON.stringify(Object.values(t).join(", ")||"error")))})).receive("timeout",(()=>{e&&e("TIMED_OUT")}))}return this}presenceState(){return this.presence.state}async track(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return await this.send({type:"presence",event:"track",payload:e},t.timeout||this.timeout)}async untrack(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return await this.send({type:"presence",event:"untrack"},e)}on(e,t,n){return this._on(e,t,n)}async send(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n,r;if(this._canPush()||"broadcast"!==e.type)return new Promise((n=>{var r,a,i;const s=this._push(e.type,e,t.timeout||this.timeout);"broadcast"!==e.type||(null===(i=null===(a=null===(r=this.params)||void 0===r?void 0:r.config)||void 0===a?void 0:a.broadcast)||void 0===i?void 0:i.ack)||n("ok"),s.receive("ok",(()=>n("ok"))),s.receive("timeout",(()=>n("timed out")))}));{const{event:i,payload:s}=e,o={method:"POST",headers:{apikey:null!==(n=this.socket.apiKey)&&void 0!==n?n:"","Content-Type":"application/json"},body:JSON.stringify({messages:[{topic:this.subTopic,event:i,payload:s}]})};try{return(await this._fetchWithTimeout(this.broadcastEndpointURL,o,null!==(r=t.timeout)&&void 0!==r?r:this.timeout)).ok?"ok":"error"}catch(a){return"AbortError"===a.name?"timed out":"error"}}}updateJoinPayload(e){this.joinPush.updatePayload(e)}unsubscribe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.timeout;this.state=qn.leaving;const t=()=>{this.socket.log("channel","leave ".concat(this.topic)),this._trigger(Vn.close,"leave",this._joinRef())};return this.rejoinTimer.reset(),this.joinPush.destroy(),new Promise((n=>{const r=new Yn(this,Vn.leave,{},e);r.receive("ok",(()=>{t(),n("ok")})).receive("timeout",(()=>{t(),n("timed out")})).receive("error",(()=>{n("error")})),r.send(),this._canPush()||r.trigger("ok",{})}))}_broadcastEndpointURL(){let e=this.socket.endPoint;return e=e.replace(/^ws/i,"http"),e=e.replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,""),e.replace(/\/+$/,"")+"/api/broadcast"}async _fetchWithTimeout(e,t,n){const r=new AbortController,a=setTimeout((()=>r.abort()),n),i=await this.socket.fetch(e,Object.assign(Object.assign({},t),{signal:r.signal}));return clearTimeout(a),i}_push(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.timeout;if(!this.joinedOnce)throw"tried to push '".concat(e,"' to '").concat(this.topic,"' before joining. Use channel.subscribe() before pushing events");let r=new Yn(this,e,t,n);return this._canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}_onMessage(e,t,n){return t}_isMember(e){return this.topic===e}_joinRef(){return this.joinPush.ref}_trigger(e,t,n){var r,a;const i=e.toLocaleLowerCase(),{close:s,error:o,leave:l,join:c}=Vn;if(n&&[s,o,l,c].indexOf(i)>=0&&n!==this._joinRef())return;let u=this._onMessage(i,t,n);if(t&&!u)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(i)?null===(r=this.bindings.postgres_changes)||void 0===r||r.filter((e=>{var t,n,r;return"*"===(null===(t=e.filter)||void 0===t?void 0:t.event)||(null===(r=null===(n=e.filter)||void 0===n?void 0:n.event)||void 0===r?void 0:r.toLocaleLowerCase())===i})).map((e=>e.callback(u,n))):null===(a=this.bindings[i])||void 0===a||a.filter((e=>{var n,r,a,s,o,l;if(["broadcast","presence","postgres_changes"].includes(i)){if("id"in e){const i=e.id,s=null===(n=e.filter)||void 0===n?void 0:n.event;return i&&(null===(r=t.ids)||void 0===r?void 0:r.includes(i))&&("*"===s||(null===s||void 0===s?void 0:s.toLocaleLowerCase())===(null===(a=t.data)||void 0===a?void 0:a.type.toLocaleLowerCase()))}{const n=null===(o=null===(s=null===e||void 0===e?void 0:e.filter)||void 0===s?void 0:s.event)||void 0===o?void 0:o.toLocaleLowerCase();return"*"===n||n===(null===(l=null===t||void 0===t?void 0:t.event)||void 0===l?void 0:l.toLocaleLowerCase())}}return e.type.toLocaleLowerCase()===i})).map((e=>{if("object"===typeof u&&"ids"in u){const e=u.data,{schema:t,table:n,commit_timestamp:r,type:a,errors:i}=e,s={schema:t,table:n,commit_timestamp:r,eventType:a,new:{},old:{},errors:i};u=Object.assign(Object.assign({},s),this._getPayloadRecords(e))}e.callback(u,n)}))}_isClosed(){return this.state===qn.closed}_isJoined(){return this.state===qn.joined}_isJoining(){return this.state===qn.joining}_isLeaving(){return this.state===qn.leaving}_replyEventName(e){return"chan_reply_".concat(e)}_on(e,t,n){const r=e.toLocaleLowerCase(),a={type:r,filter:t,callback:n};return this.bindings[r]?this.bindings[r].push(a):this.bindings[r]=[a],this}_off(e,t){const n=e.toLocaleLowerCase();return this.bindings[n]=this.bindings[n].filter((e=>{var r;return!((null===(r=e.type)||void 0===r?void 0:r.toLocaleLowerCase())===n&&dr.isEqual(e.filter,t))})),this}static isEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(e){this._on(Vn.close,{},e)}_onError(e){this._on(Vn.error,{},(t=>e(t)))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.timeout;this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=qn.joining,this.joinPush.resend(e))}_getPayloadRecords(e){const t={new:{},old:{}};return"INSERT"!==e.type&&"UPDATE"!==e.type||(t.new=Xn(e.columns,e.record)),"UPDATE"!==e.type&&"DELETE"!==e.type||(t.old=Xn(e.columns,e.old_record)),t}}const hr=()=>{},pr="undefined"!==typeof WebSocket;class fr{constructor(e,t){var n;this.accessToken=null,this.apiKey=null,this.channels=[],this.endPoint="",this.headers=zn,this.params={},this.timeout=1e4,this.heartbeatIntervalMs=3e4,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.ref=0,this.logger=hr,this.conn=null,this.sendBuffer=[],this.serializer=new $n,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this._resolveFetch=e=>{let t;return t=e||("undefined"===typeof fetch?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Promise.resolve().then(__webpack_require__.bind(__webpack_require__,526)).then((e=>{let{default:n}=e;return n(...t)}))}:fetch),function(){return t(...arguments)}},this.endPoint="".concat(e,"/").concat(Wn.websocket),(null===t||void 0===t?void 0:t.transport)?this.transport=t.transport:this.transport=null,(null===t||void 0===t?void 0:t.params)&&(this.params=t.params),(null===t||void 0===t?void 0:t.headers)&&(this.headers=Object.assign(Object.assign({},this.headers),t.headers)),(null===t||void 0===t?void 0:t.timeout)&&(this.timeout=t.timeout),(null===t||void 0===t?void 0:t.logger)&&(this.logger=t.logger),(null===t||void 0===t?void 0:t.heartbeatIntervalMs)&&(this.heartbeatIntervalMs=t.heartbeatIntervalMs);const r=null===(n=null===t||void 0===t?void 0:t.params)||void 0===n?void 0:n.apikey;r&&(this.accessToken=r,this.apiKey=r),this.reconnectAfterMs=(null===t||void 0===t?void 0:t.reconnectAfterMs)?t.reconnectAfterMs:e=>[1e3,2e3,5e3,1e4][e-1]||1e4,this.encode=(null===t||void 0===t?void 0:t.encode)?t.encode:(e,t)=>t(JSON.stringify(e)),this.decode=(null===t||void 0===t?void 0:t.decode)?t.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new Gn((async()=>{this.disconnect(),this.connect()}),this.reconnectAfterMs),this.fetch=this._resolveFetch(null===t||void 0===t?void 0:t.fetch)}connect(){if(!this.conn)if(this.transport)this.conn=new this.transport(this._endPointURL(),void 0,{headers:this.headers});else{if(pr)return this.conn=new WebSocket(this._endPointURL()),void this.setupConnection();this.conn=new mr(this._endPointURL(),void 0,{close:()=>{this.conn=null}}),__webpack_require__.e(289).then(__webpack_require__.t.bind(__webpack_require__,289,23)).then((e=>{let{default:t}=e;this.conn=new t(this._endPointURL(),void 0,{headers:this.headers}),this.setupConnection()}))}}disconnect(e,t){this.conn&&(this.conn.onclose=function(){},e?this.conn.close(e,null!==t&&void 0!==t?t:""):this.conn.close(),this.conn=null,this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.reset())}getChannels(){return this.channels}async removeChannel(e){const t=await e.unsubscribe();return 0===this.channels.length&&this.disconnect(),t}async removeAllChannels(){const e=await Promise.all(this.channels.map((e=>e.unsubscribe())));return this.disconnect(),e}log(e,t,n){this.logger(e,t,n)}connectionState(){switch(this.conn&&this.conn.readyState){case Bn.connecting:return Zn.Connecting;case Bn.open:return Zn.Open;case Bn.closing:return Zn.Closing;default:return Zn.Closed}}isConnected(){return this.connectionState()===Zn.Open}channel(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{config:{}};const n=new dr("realtime:".concat(e),t,this);return this.channels.push(n),n}push(e){const{topic:t,event:n,payload:r,ref:a}=e,i=()=>{this.encode(e,(e=>{var t;null===(t=this.conn)||void 0===t||t.send(e)}))};this.log("push","".concat(t," ").concat(n," (").concat(a,")"),r),this.isConnected()?i():this.sendBuffer.push(i)}setAuth(e){this.accessToken=e,this.channels.forEach((t=>{e&&t.updateJoinPayload({access_token:e}),t.joinedOnce&&t._isJoined()&&t._push(Vn.access_token,{access_token:e})}))}_makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}_leaveOpenTopic(e){let t=this.channels.find((t=>t.topic===e&&(t._isJoined()||t._isJoining())));t&&(this.log("transport",'leaving duplicate topic "'.concat(e,'"')),t.unsubscribe())}_remove(e){this.channels=this.channels.filter((t=>t._joinRef()!==e._joinRef()))}setupConnection(){this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=e=>this._onConnError(e),this.conn.onmessage=e=>this._onConnMessage(e),this.conn.onclose=e=>this._onConnClose(e))}_endPointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:"1.0.0"}))}_onConnMessage(e){this.decode(e.data,(e=>{let{topic:t,event:n,payload:r,ref:a}=e;(a&&a===this.pendingHeartbeatRef||n===(null===r||void 0===r?void 0:r.type))&&(this.pendingHeartbeatRef=null),this.log("receive","".concat(r.status||""," ").concat(t," ").concat(n," ").concat(a&&"("+a+")"||""),r),this.channels.filter((e=>e._isMember(t))).forEach((e=>e._trigger(n,r,a))),this.stateChangeCallbacks.message.forEach((t=>t(e)))}))}_onConnOpen(){this.log("transport","connected to ".concat(this._endPointURL())),this._flushSendBuffer(),this.reconnectTimer.reset(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval((()=>this._sendHeartbeat()),this.heartbeatIntervalMs),this.stateChangeCallbacks.open.forEach((e=>e()))}_onConnClose(e){this.log("transport","close",e),this._triggerChanError(),this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach((t=>t(e)))}_onConnError(e){this.log("transport",e.message),this._triggerChanError(),this.stateChangeCallbacks.error.forEach((t=>t(e)))}_triggerChanError(){this.channels.forEach((e=>e._trigger(Vn.error)))}_appendParams(e,t){if(0===Object.keys(t).length)return e;const n=e.match(/\?/)?"&":"?",r=new URLSearchParams(t);return"".concat(e).concat(n).concat(r)}_flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach((e=>e())),this.sendBuffer=[])}_sendHeartbeat(){var e;if(this.isConnected()){if(this.pendingHeartbeatRef)return this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),void(null===(e=this.conn)||void 0===e||e.close(1e3,"hearbeat timeout"));this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.setAuth(this.accessToken)}}}class mr{constructor(e,t,n){this.binaryType="arraybuffer",this.onclose=()=>{},this.onerror=()=>{},this.onmessage=()=>{},this.onopen=()=>{},this.readyState=Bn.connecting,this.send=()=>{},this.url=null,this.url=e,this.close=n.close}}class gr extends Error{constructor(e){super(e),this.__isStorageError=!0,this.name="StorageError"}}function vr(e){return"object"===typeof e&&null!==e&&"__isStorageError"in e}class yr extends gr{constructor(e,t){super(e),this.name="StorageApiError",this.status=t}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class br extends gr{constructor(e,t){super(e),this.name="StorageUnknownError",this.originalError=t}}var wr=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function o(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,o)}l((r=r.apply(e,t||[])).next())}))};const xr=e=>{let t;return t=e||("undefined"===typeof fetch?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Promise.resolve().then(__webpack_require__.bind(__webpack_require__,526)).then((e=>{let{default:n}=e;return n(...t)}))}:fetch),function(){return t(...arguments)}};var Cr=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function o(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,o)}l((r=r.apply(e,t||[])).next())}))};const jr=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),kr=(e,t)=>Cr(void 0,void 0,void 0,(function*(){const n=yield wr(void 0,void 0,void 0,(function*(){return"undefined"===typeof Response?(yield Promise.resolve().then(__webpack_require__.bind(__webpack_require__,526))).Response:Response}));e instanceof n?e.json().then((n=>{t(new yr(jr(n),e.status||500))})).catch((e=>{t(new br(jr(e),e))})):t(new br(jr(e),e))})),Nr=(e,t,n,r)=>{const a={method:e,headers:(null===t||void 0===t?void 0:t.headers)||{}};return"GET"===e?a:(a.headers=Object.assign({"Content-Type":"application/json"},null===t||void 0===t?void 0:t.headers),a.body=JSON.stringify(r),Object.assign(Object.assign({},a),n))};function _r(e,t,n,r,a,i){return Cr(this,void 0,void 0,(function*(){return new Promise(((s,o)=>{e(n,Nr(t,r,a,i)).then((e=>{if(!e.ok)throw e;return(null===r||void 0===r?void 0:r.noResolveJson)?e:e.json()})).then((e=>s(e))).catch((e=>kr(e,o)))}))}))}function Sr(e,t,n,r){return Cr(this,void 0,void 0,(function*(){return _r(e,"GET",t,n,r)}))}function Tr(e,t,n,r,a){return Cr(this,void 0,void 0,(function*(){return _r(e,"POST",t,r,a,n)}))}function Er(e,t,n,r,a){return Cr(this,void 0,void 0,(function*(){return _r(e,"DELETE",t,r,a,n)}))}var Or=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function o(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,o)}l((r=r.apply(e,t||[])).next())}))};const Pr={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},Ar={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class Lr{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;this.url=e,this.headers=t,this.bucketId=n,this.fetch=xr(r)}uploadOrUpdate(e,t,n,r){return Or(this,void 0,void 0,(function*(){try{let a;const i=Object.assign(Object.assign({},Ar),r),s=Object.assign(Object.assign({},this.headers),"POST"===e&&{"x-upsert":String(i.upsert)});"undefined"!==typeof Blob&&n instanceof Blob?(a=new FormData,a.append("cacheControl",i.cacheControl),a.append("",n)):"undefined"!==typeof FormData&&n instanceof FormData?(a=n,a.append("cacheControl",i.cacheControl)):(a=n,s["cache-control"]="max-age=".concat(i.cacheControl),s["content-type"]=i.contentType);const o=this._removeEmptyFolders(t),l=this._getFinalPath(o),c=yield this.fetch("".concat(this.url,"/object/").concat(l),Object.assign({method:e,body:a,headers:s},(null===i||void 0===i?void 0:i.duplex)?{duplex:i.duplex}:{})),u=yield c.json();if(c.ok)return{data:{path:o,id:u.Id,fullPath:u.Key},error:null};return{data:null,error:u}}catch(a){if(vr(a))return{data:null,error:a};throw a}}))}upload(e,t,n){return Or(this,void 0,void 0,(function*(){return this.uploadOrUpdate("POST",e,t,n)}))}uploadToSignedUrl(e,t,n,r){return Or(this,void 0,void 0,(function*(){const a=this._removeEmptyFolders(e),i=this._getFinalPath(a),s=new URL(this.url+"/object/upload/sign/".concat(i));s.searchParams.set("token",t);try{let e;const t=Object.assign({upsert:Ar.upsert},r),i=Object.assign(Object.assign({},this.headers),{"x-upsert":String(t.upsert)});"undefined"!==typeof Blob&&n instanceof Blob?(e=new FormData,e.append("cacheControl",t.cacheControl),e.append("",n)):"undefined"!==typeof FormData&&n instanceof FormData?(e=n,e.append("cacheControl",t.cacheControl)):(e=n,i["cache-control"]="max-age=".concat(t.cacheControl),i["content-type"]=t.contentType);const o=yield this.fetch(s.toString(),{method:"PUT",body:e,headers:i}),l=yield o.json();if(o.ok)return{data:{path:a,fullPath:l.Key},error:null};return{data:null,error:l}}catch(o){if(vr(o))return{data:null,error:o};throw o}}))}createSignedUploadUrl(e){return Or(this,void 0,void 0,(function*(){try{let t=this._getFinalPath(e);const n=yield Tr(this.fetch,"".concat(this.url,"/object/upload/sign/").concat(t),{},{headers:this.headers}),r=new URL(this.url+n.url),a=r.searchParams.get("token");if(!a)throw new gr("No token returned by API");return{data:{signedUrl:r.toString(),path:e,token:a},error:null}}catch(t){if(vr(t))return{data:null,error:t};throw t}}))}update(e,t,n){return Or(this,void 0,void 0,(function*(){return this.uploadOrUpdate("PUT",e,t,n)}))}move(e,t){return Or(this,void 0,void 0,(function*(){try{return{data:yield Tr(this.fetch,"".concat(this.url,"/object/move"),{bucketId:this.bucketId,sourceKey:e,destinationKey:t},{headers:this.headers}),error:null}}catch(n){if(vr(n))return{data:null,error:n};throw n}}))}copy(e,t){return Or(this,void 0,void 0,(function*(){try{return{data:{path:(yield Tr(this.fetch,"".concat(this.url,"/object/copy"),{bucketId:this.bucketId,sourceKey:e,destinationKey:t},{headers:this.headers})).Key},error:null}}catch(n){if(vr(n))return{data:null,error:n};throw n}}))}createSignedUrl(e,t,n){return Or(this,void 0,void 0,(function*(){try{let r=this._getFinalPath(e),a=yield Tr(this.fetch,"".concat(this.url,"/object/sign/").concat(r),Object.assign({expiresIn:t},(null===n||void 0===n?void 0:n.transform)?{transform:n.transform}:{}),{headers:this.headers});const i=(null===n||void 0===n?void 0:n.download)?"&download=".concat(!0===n.download?"":n.download):"";return a={signedUrl:encodeURI("".concat(this.url).concat(a.signedURL).concat(i))},{data:a,error:null}}catch(r){if(vr(r))return{data:null,error:r};throw r}}))}createSignedUrls(e,t,n){return Or(this,void 0,void 0,(function*(){try{const r=yield Tr(this.fetch,"".concat(this.url,"/object/sign/").concat(this.bucketId),{expiresIn:t,paths:e},{headers:this.headers}),a=(null===n||void 0===n?void 0:n.download)?"&download=".concat(!0===n.download?"":n.download):"";return{data:r.map((e=>Object.assign(Object.assign({},e),{signedUrl:e.signedURL?encodeURI("".concat(this.url).concat(e.signedURL).concat(a)):null}))),error:null}}catch(r){if(vr(r))return{data:null,error:r};throw r}}))}download(e,t){return Or(this,void 0,void 0,(function*(){const n="undefined"!==typeof(null===t||void 0===t?void 0:t.transform)?"render/image/authenticated":"object",r=this.transformOptsToQueryString((null===t||void 0===t?void 0:t.transform)||{}),a=r?"?".concat(r):"";try{const t=this._getFinalPath(e),r=yield Sr(this.fetch,"".concat(this.url,"/").concat(n,"/").concat(t).concat(a),{headers:this.headers,noResolveJson:!0});return{data:yield r.blob(),error:null}}catch(i){if(vr(i))return{data:null,error:i};throw i}}))}getPublicUrl(e,t){const n=this._getFinalPath(e),r=[],a=(null===t||void 0===t?void 0:t.download)?"download=".concat(!0===t.download?"":t.download):"";""!==a&&r.push(a);const i="undefined"!==typeof(null===t||void 0===t?void 0:t.transform)?"render/image":"object",s=this.transformOptsToQueryString((null===t||void 0===t?void 0:t.transform)||{});""!==s&&r.push(s);let o=r.join("&");return""!==o&&(o="?".concat(o)),{data:{publicUrl:encodeURI("".concat(this.url,"/").concat(i,"/public/").concat(n).concat(o))}}}remove(e){return Or(this,void 0,void 0,(function*(){try{return{data:yield Er(this.fetch,"".concat(this.url,"/object/").concat(this.bucketId),{prefixes:e},{headers:this.headers}),error:null}}catch(t){if(vr(t))return{data:null,error:t};throw t}}))}list(e,t,n){return Or(this,void 0,void 0,(function*(){try{const r=Object.assign(Object.assign(Object.assign({},Pr),t),{prefix:e||""});return{data:yield Tr(this.fetch,"".concat(this.url,"/object/list/").concat(this.bucketId),r,{headers:this.headers},n),error:null}}catch(r){if(vr(r))return{data:null,error:r};throw r}}))}_getFinalPath(e){return"".concat(this.bucketId,"/").concat(e)}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(e){const t=[];return e.width&&t.push("width=".concat(e.width)),e.height&&t.push("height=".concat(e.height)),e.resize&&t.push("resize=".concat(e.resize)),e.format&&t.push("format=".concat(e.format)),e.quality&&t.push("quality=".concat(e.quality)),t.join("&")}}const Ir={"X-Client-Info":"storage-js/".concat("2.5.5")};var Rr=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function o(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,o)}l((r=r.apply(e,t||[])).next())}))};class Mr{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;this.url=e,this.headers=Object.assign(Object.assign({},Ir),t),this.fetch=xr(n)}listBuckets(){return Rr(this,void 0,void 0,(function*(){try{return{data:yield Sr(this.fetch,"".concat(this.url,"/bucket"),{headers:this.headers}),error:null}}catch(e){if(vr(e))return{data:null,error:e};throw e}}))}getBucket(e){return Rr(this,void 0,void 0,(function*(){try{return{data:yield Sr(this.fetch,"".concat(this.url,"/bucket/").concat(e),{headers:this.headers}),error:null}}catch(t){if(vr(t))return{data:null,error:t};throw t}}))}createBucket(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{public:!1};return Rr(this,void 0,void 0,(function*(){try{return{data:yield Tr(this.fetch,"".concat(this.url,"/bucket"),{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:this.headers}),error:null}}catch(n){if(vr(n))return{data:null,error:n};throw n}}))}updateBucket(e,t){return Rr(this,void 0,void 0,(function*(){try{const n=yield function(e,t,n,r,a){return Cr(this,void 0,void 0,(function*(){return _r(e,"PUT",t,r,a,n)}))}(this.fetch,"".concat(this.url,"/bucket/").concat(e),{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:this.headers});return{data:n,error:null}}catch(n){if(vr(n))return{data:null,error:n};throw n}}))}emptyBucket(e){return Rr(this,void 0,void 0,(function*(){try{return{data:yield Tr(this.fetch,"".concat(this.url,"/bucket/").concat(e,"/empty"),{},{headers:this.headers}),error:null}}catch(t){if(vr(t))return{data:null,error:t};throw t}}))}deleteBucket(e){return Rr(this,void 0,void 0,(function*(){try{return{data:yield Er(this.fetch,"".concat(this.url,"/bucket/").concat(e),{},{headers:this.headers}),error:null}}catch(t){if(vr(t))return{data:null,error:t};throw t}}))}}class Dr extends Mr{constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},arguments.length>2?arguments[2]:void 0)}from(e){return new Lr(this.url,this.headers,e,this.fetch)}}let Fr="";Fr="undefined"!==typeof Deno?"deno":"undefined"!==typeof document?"web":"undefined"!==typeof navigator&&"ReactNative"===navigator.product?"react-native":"node";const Ur={"X-Client-Info":"supabase-js-".concat(Fr,"/").concat("2.39.3")};var Hr=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function o(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,o)}l((r=r.apply(e,t||[])).next())}))};const zr=e=>{let t;return t=e||("undefined"===typeof fetch?Ln.default:fetch),function(){return t(...arguments)}},Br=(e,t,n)=>{const r=zr(n),a="undefined"===typeof Headers?Ln.Headers:Headers;return(n,i)=>Hr(void 0,void 0,void 0,(function*(){var s;const o=null!==(s=yield t())&&void 0!==s?s:e;let l=new a(null===i||void 0===i?void 0:i.headers);return l.has("apikey")||l.set("apikey",e),l.has("Authorization")||l.set("Authorization","Bearer ".concat(o)),r(n,Object.assign(Object.assign({},i),{headers:l}))}))};const qr=()=>"undefined"!==typeof document,Vr={tested:!1,writable:!1},Wr=()=>{if(!qr())return!1;try{if("object"!==typeof globalThis.localStorage)return!1}catch(t){return!1}if(Vr.tested)return Vr.writable;const e="lswt-".concat(Math.random()).concat(Math.random());try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),Vr.tested=!0,Vr.writable=!0}catch(t){Vr.tested=!0,Vr.writable=!1}return Vr.writable};function Zr(e){const t={},n=new URL(e);if(n.hash&&"#"===n.hash[0])try{new URLSearchParams(n.hash.substring(1)).forEach(((e,n)=>{t[n]=e}))}catch(r){}return n.searchParams.forEach(((e,n)=>{t[n]=e})),t}const Kr=e=>{let t;return t=e||("undefined"===typeof fetch?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Promise.resolve().then(__webpack_require__.bind(__webpack_require__,526)).then((e=>{let{default:n}=e;return n(...t)}))}:fetch),function(){return t(...arguments)}},Jr=e=>"object"===typeof e&&null!==e&&"status"in e&&"ok"in e&&"json"in e&&"function"===typeof e.json,Gr=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},$r=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch(r){return n}},Yr=async(e,t)=>{await e.removeItem(t)};class Qr{constructor(){this.promise=new Qr.promiseConstructor(((e,t)=>{this.resolve=e,this.reject=t}))}}function Xr(e){const t=e.split(".");if(3!==t.length)throw new Error("JWT is not valid: not a JWT structure");if(!/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}=?$|[a-z0-9_-]{2}(==)?$)$/i.test(t[1]))throw new Error("JWT is not valid: payload is not in base64url format");const n=t[1];return JSON.parse(function(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let n,r,a,i,s,o,l,c="",u=0;for(e=e.replace("-","+").replace("_","/");u<e.length;)i=t.indexOf(e.charAt(u++)),s=t.indexOf(e.charAt(u++)),o=t.indexOf(e.charAt(u++)),l=t.indexOf(e.charAt(u++)),n=i<<2|s>>4,r=(15&s)<<4|o>>2,a=(3&o)<<6|l,c+=String.fromCharCode(n),64!=o&&0!=r&&(c+=String.fromCharCode(r)),64!=l&&0!=a&&(c+=String.fromCharCode(a));return c}(n))}function ea(e){return("0"+e.toString(16)).substr(-2)}function ta(){const e=new Uint32Array(56);if("undefined"===typeof crypto){const e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",t=e.length;let n="";for(let r=0;r<56;r++)n+=e.charAt(Math.floor(Math.random()*t));return n}return crypto.getRandomValues(e),Array.from(e,ea).join("")}async function na(e){if(!("undefined"!==typeof crypto&&"undefined"!==typeof crypto.subtle&&"undefined"!==typeof TextEncoder))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const t=await async function(e){const t=(new TextEncoder).encode(e),n=await crypto.subtle.digest("SHA-256",t),r=new Uint8Array(n);return Array.from(r).map((e=>String.fromCharCode(e))).join("")}(e);return btoa(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}Qr.promiseConstructor=Promise;class ra extends Error{constructor(e,t){super(e),this.__isAuthError=!0,this.name="AuthError",this.status=t}}function aa(e){return"object"===typeof e&&null!==e&&"__isAuthError"in e}class ia extends ra{constructor(e,t){super(e,t),this.name="AuthApiError",this.status=t}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class sa extends ra{constructor(e,t){super(e),this.name="AuthUnknownError",this.originalError=t}}class oa extends ra{constructor(e,t,n){super(e),this.name=t,this.status=n}toJSON(){return{name:this.name,message:this.message,status:this.status}}}class la extends oa{constructor(){super("Auth session missing!","AuthSessionMissingError",400)}}class ca extends oa{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500)}}class ua extends oa{constructor(e){super(e,"AuthInvalidCredentialsError",400)}}class da extends oa{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;super(e,"AuthImplicitGrantRedirectError",500),this.details=null,this.details=t}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class ha extends oa{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;super(e,"AuthPKCEGrantCodeExchangeError",500),this.details=null,this.details=t}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class pa extends oa{constructor(e,t){super(e,"AuthRetryableFetchError",t)}}function fa(e){return aa(e)&&"AuthRetryableFetchError"===e.name}class ma extends oa{constructor(e,t,n){super(e,"AuthWeakPasswordError",t),this.reasons=n}}var ga=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};const va=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),ya=[502,503,504];async function ba(e){if(!Jr(e))throw new pa(va(e),0);if(ya.includes(e.status))throw new pa(va(e),e.status);let t;try{t=await e.json()}catch(n){throw new sa(va(n),n)}if("object"===typeof t&&t&&"object"===typeof t.weak_password&&t.weak_password&&Array.isArray(t.weak_password.reasons)&&t.weak_password.reasons.length&&t.weak_password.reasons.reduce(((e,t)=>e&&"string"===typeof t),!0))throw new ma(va(t),e.status,t.weak_password.reasons);throw new ia(va(t),e.status||500)}const wa=(e,t,n,r)=>{const a={method:e,headers:(null===t||void 0===t?void 0:t.headers)||{}};return"GET"===e?a:(a.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},null===t||void 0===t?void 0:t.headers),a.body=JSON.stringify(r),Object.assign(Object.assign({},a),n))};async function xa(e,t,n,r){var a;const i=Object.assign({},null===r||void 0===r?void 0:r.headers);(null===r||void 0===r?void 0:r.jwt)&&(i.Authorization="Bearer ".concat(r.jwt));const s=null!==(a=null===r||void 0===r?void 0:r.query)&&void 0!==a?a:{};(null===r||void 0===r?void 0:r.redirectTo)&&(s.redirect_to=r.redirectTo);const o=Object.keys(s).length?"?"+new URLSearchParams(s).toString():"",l=await async function(e,t,n,r,a,i){const s=wa(t,r,a,i);let o;try{o=await e(n,s)}catch(l){throw console.error(l),new pa(va(l),0)}o.ok||await ba(o);if(null===r||void 0===r?void 0:r.noResolveJson)return o;try{return await o.json()}catch(l){await ba(l)}}(e,t,n+o,{headers:i,noResolveJson:null===r||void 0===r?void 0:r.noResolveJson},{},null===r||void 0===r?void 0:r.body);return(null===r||void 0===r?void 0:r.xform)?null===r||void 0===r?void 0:r.xform(l):{data:Object.assign({},l),error:null}}function Ca(e){var t;let n=null;var r;(function(e){return e.access_token&&e.refresh_token&&e.expires_in})(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=(r=e.expires_in,Math.round(Date.now()/1e3)+r)));return{data:{session:n,user:null!==(t=e.user)&&void 0!==t?t:e},error:null}}function ja(e){const t=Ca(e);return!t.error&&e.weak_password&&"object"===typeof e.weak_password&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&"string"===typeof e.weak_password.message&&e.weak_password.reasons.reduce(((e,t)=>e&&"string"===typeof t),!0)&&(t.data.weak_password=e.weak_password),t}function ka(e){var t;return{data:{user:null!==(t=e.user)&&void 0!==t?t:e},error:null}}function Na(e){return{data:e,error:null}}function _a(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:a,verification_type:i}=e,s=ga(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]);return{data:{properties:{action_link:t,email_otp:n,hashed_token:r,redirect_to:a,verification_type:i},user:Object.assign({},s)},error:null}}function Sa(e){return e}var Ta=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};class Ea{constructor(e){let{url:t="",headers:n={},fetch:r}=e;this.url=t,this.headers=n,this.fetch=Kr(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)}}async signOut(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";try{return await xa(this.fetch,"POST","".concat(this.url,"/logout?scope=").concat(t),{headers:this.headers,jwt:e,noResolveJson:!0}),{data:null,error:null}}catch(n){if(aa(n))return{data:null,error:n};throw n}}async inviteUserByEmail(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{return await xa(this.fetch,"POST","".concat(this.url,"/invite"),{body:{email:e,data:t.data},headers:this.headers,redirectTo:t.redirectTo,xform:ka})}catch(n){if(aa(n))return{data:{user:null},error:n};throw n}}async generateLink(e){try{const{options:t}=e,n=Ta(e,["options"]),r=Object.assign(Object.assign({},n),t);return"newEmail"in n&&(r.new_email=null===n||void 0===n?void 0:n.newEmail,delete r.newEmail),await xa(this.fetch,"POST","".concat(this.url,"/admin/generate_link"),{body:r,headers:this.headers,xform:_a,redirectTo:null===t||void 0===t?void 0:t.redirectTo})}catch(t){if(aa(t))return{data:{properties:null,user:null},error:t};throw t}}async createUser(e){try{return await xa(this.fetch,"POST","".concat(this.url,"/admin/users"),{body:e,headers:this.headers,xform:ka})}catch(t){if(aa(t))return{data:{user:null},error:t};throw t}}async listUsers(e){var t,n,r,a,i,s,o;try{const l={nextPage:null,lastPage:0,total:0},c=await xa(this.fetch,"GET","".concat(this.url,"/admin/users"),{headers:this.headers,noResolveJson:!0,query:{page:null!==(n=null===(t=null===e||void 0===e?void 0:e.page)||void 0===t?void 0:t.toString())&&void 0!==n?n:"",per_page:null!==(a=null===(r=null===e||void 0===e?void 0:e.perPage)||void 0===r?void 0:r.toString())&&void 0!==a?a:""},xform:Sa});if(c.error)throw c.error;const u=await c.json(),d=null!==(i=c.headers.get("x-total-count"))&&void 0!==i?i:0,h=null!==(o=null===(s=c.headers.get("link"))||void 0===s?void 0:s.split(","))&&void 0!==o?o:[];return h.length>0&&(h.forEach((e=>{const t=parseInt(e.split(";")[0].split("=")[1].substring(0,1)),n=JSON.parse(e.split(";")[1].split("=")[1]);l["".concat(n,"Page")]=t})),l.total=parseInt(d)),{data:Object.assign(Object.assign({},u),l),error:null}}catch(l){if(aa(l))return{data:{users:[]},error:l};throw l}}async getUserById(e){try{return await xa(this.fetch,"GET","".concat(this.url,"/admin/users/").concat(e),{headers:this.headers,xform:ka})}catch(t){if(aa(t))return{data:{user:null},error:t};throw t}}async updateUserById(e,t){try{return await xa(this.fetch,"PUT","".concat(this.url,"/admin/users/").concat(e),{body:t,headers:this.headers,xform:ka})}catch(n){if(aa(n))return{data:{user:null},error:n};throw n}}async deleteUser(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{return await xa(this.fetch,"DELETE","".concat(this.url,"/admin/users/").concat(e),{headers:this.headers,body:{should_soft_delete:t},xform:ka})}catch(n){if(aa(n))return{data:{user:null},error:n};throw n}}async _listFactors(e){try{const{data:t,error:n}=await xa(this.fetch,"GET","".concat(this.url,"/admin/users/").concat(e.userId,"/factors"),{headers:this.headers,xform:e=>({data:{factors:e},error:null})});return{data:t,error:n}}catch(t){if(aa(t))return{data:null,error:t};throw t}}async _deleteFactor(e){try{return{data:await xa(this.fetch,"DELETE","".concat(this.url,"/admin/users/").concat(e.userId,"/factors/").concat(e.id),{headers:this.headers}),error:null}}catch(t){if(aa(t))return{data:null,error:t};throw t}}}const Oa="2.62.0",Pa={"X-Client-Info":"gotrue-js/".concat(Oa)},Aa={getItem:e=>Wr()?globalThis.localStorage.getItem(e):null,setItem:(e,t)=>{Wr()&&globalThis.localStorage.setItem(e,t)},removeItem:e=>{Wr()&&globalThis.localStorage.removeItem(e)}};function La(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}const Ia=!!(globalThis&&Wr()&&globalThis.localStorage&&"true"===globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug"));class Ra extends Error{constructor(e){super(e),this.isAcquireTimeout=!0}}class Ma extends Ra{}async function Da(e,t,n){Ia&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);const r=new globalThis.AbortController;return t>0&&setTimeout((()=>{r.abort(),Ia&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)}),t),await globalThis.navigator.locks.request(e,0===t?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:r.signal},(async r=>{if(!r){if(0===t)throw Ia&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new Ma('Acquiring an exclusive Navigator LockManager lock "'.concat(e,'" immediately failed'));if(Ia)try{const e=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(e,null,"  "))}catch(a){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",a)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await n()}Ia&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,r.name);try{return await n()}finally{Ia&&console.log("@supabase/gotrue-js: navigatorLock: released",e,r.name)}}))}!function(){if("object"!==typeof globalThis)try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){"undefined"!==typeof self&&(self.globalThis=self)}}();const Fa={url:"http://localhost:9999",storageKey:"supabase.auth.token",autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:Pa,flowType:"implicit",debug:!1},Ua=3e4;async function Ha(e,t,n){return await n()}class za{constructor(e){var t,n;this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=za.nextInstanceID,za.nextInstanceID+=1,this.instanceID>0&&qr()&&console.warn("Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.");const r=Object.assign(Object.assign({},Fa),e);if(this.logDebugMessages=!!r.debug,"function"===typeof r.debug&&(this.logger=r.debug),this.persistSession=r.persistSession,this.storageKey=r.storageKey,this.autoRefreshToken=r.autoRefreshToken,this.admin=new Ea({url:r.url,headers:r.headers,fetch:r.fetch}),this.url=r.url,this.headers=r.headers,this.fetch=Kr(r.fetch),this.lock=r.lock||Ha,this.detectSessionInUrl=r.detectSessionInUrl,this.flowType=r.flowType,r.lock?this.lock=r.lock:qr()&&(null===(t=null===globalThis||void 0===globalThis?void 0:globalThis.navigator)||void 0===t?void 0:t.locks)?this.lock=Da:this.lock=Ha,this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession?r.storage?this.storage=r.storage:Wr()?this.storage=Aa:(this.memoryStorage={},this.storage=La(this.memoryStorage)):(this.memoryStorage={},this.storage=La(this.memoryStorage)),qr()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(a){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",a)}null===(n=this.broadcastChannel)||void 0===n||n.addEventListener("message",(async e=>{this._debug("received broadcast notification from other tab or client",e),await this._notifyAllSubscribers(e.data.event,e.data.session,!1)}))}this.initialize()}_debug(){if(this.logDebugMessages){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.logger("GoTrueClient@".concat(this.instanceID," (").concat(Oa,") ").concat((new Date).toISOString()),...t)}return this}async initialize(){return this.initializePromise||(this.initializePromise=(async()=>await this._acquireLock(-1,(async()=>await this._initialize())))()),await this.initializePromise}async _initialize(){try{const e=!!qr()&&await this._isPKCEFlow();if(this._debug("#_initialize()","begin","is PKCE flow",e),e||this.detectSessionInUrl&&this._isImplicitGrantFlow()){const{data:t,error:n}=await this._getSessionFromURL(e);if(n)return this._debug("#_initialize()","error detecting session from URL",n),"Identity is already linked"===(null===n||void 0===n?void 0:n.message)||"Identity is already linked to another user"===(null===n||void 0===n?void 0:n.message)||await this._removeSession(),{error:n};const{session:r,redirectType:a}=t;return this._debug("#_initialize()","detected session in URL",r,"redirect type",a),await this._saveSession(r),setTimeout((async()=>{"recovery"===a?await this._notifyAllSubscribers("PASSWORD_RECOVERY",r):await this._notifyAllSubscribers("SIGNED_IN",r)}),0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(e){return aa(e)?{error:e}:{error:new sa("Unexpected error during initialization",e)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signUp(e){var t,n,r;try{let a;if(await this._removeSession(),"email"in e){const{email:n,password:r,options:i}=e;let s=null,o=null;if("pkce"===this.flowType){const e=ta();await Gr(this.storage,"".concat(this.storageKey,"-code-verifier"),e),s=await na(e),o=e===s?"plain":"s256"}a=await xa(this.fetch,"POST","".concat(this.url,"/signup"),{headers:this.headers,redirectTo:null===i||void 0===i?void 0:i.emailRedirectTo,body:{email:n,password:r,data:null!==(t=null===i||void 0===i?void 0:i.data)&&void 0!==t?t:{},gotrue_meta_security:{captcha_token:null===i||void 0===i?void 0:i.captchaToken},code_challenge:s,code_challenge_method:o},xform:Ca})}else{if(!("phone"in e))throw new ua("You must provide either an email or phone number and a password");{const{phone:t,password:i,options:s}=e;a=await xa(this.fetch,"POST","".concat(this.url,"/signup"),{headers:this.headers,body:{phone:t,password:i,data:null!==(n=null===s||void 0===s?void 0:s.data)&&void 0!==n?n:{},channel:null!==(r=null===s||void 0===s?void 0:s.channel)&&void 0!==r?r:"sms",gotrue_meta_security:{captcha_token:null===s||void 0===s?void 0:s.captchaToken}},xform:Ca})}}const{data:i,error:s}=a;if(s||!i)return{data:{user:null,session:null},error:s};const o=i.session,l=i.user;return i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",o)),{data:{user:l,session:o},error:null}}catch(a){if(aa(a))return{data:{user:null,session:null},error:a};throw a}}async signInWithPassword(e){try{let t;if(await this._removeSession(),"email"in e){const{email:n,password:r,options:a}=e;t=await xa(this.fetch,"POST","".concat(this.url,"/token?grant_type=password"),{headers:this.headers,body:{email:n,password:r,gotrue_meta_security:{captcha_token:null===a||void 0===a?void 0:a.captchaToken}},xform:ja})}else{if(!("phone"in e))throw new ua("You must provide either an email or phone number and a password");{const{phone:n,password:r,options:a}=e;t=await xa(this.fetch,"POST","".concat(this.url,"/token?grant_type=password"),{headers:this.headers,body:{phone:n,password:r,gotrue_meta_security:{captcha_token:null===a||void 0===a?void 0:a.captchaToken}},xform:ja})}}const{data:n,error:r}=t;return r?{data:{user:null,session:null},error:r}:n&&n.session&&n.user?(n.session&&(await this._saveSession(n.session),await this._notifyAllSubscribers("SIGNED_IN",n.session)),{data:Object.assign({user:n.user,session:n.session},n.weak_password?{weakPassword:n.weak_password}:null),error:r}):{data:{user:null,session:null},error:new ca}}catch(t){if(aa(t))return{data:{user:null,session:null},error:t};throw t}}async signInWithOAuth(e){var t,n,r,a;return await this._removeSession(),await this._handleProviderSignIn(e.provider,{redirectTo:null===(t=e.options)||void 0===t?void 0:t.redirectTo,scopes:null===(n=e.options)||void 0===n?void 0:n.scopes,queryParams:null===(r=e.options)||void 0===r?void 0:r.queryParams,skipBrowserRedirect:null===(a=e.options)||void 0===a?void 0:a.skipBrowserRedirect})}async exchangeCodeForSession(e){return await this.initializePromise,this._acquireLock(-1,(async()=>this._exchangeCodeForSession(e)))}async _exchangeCodeForSession(e){const t=await $r(this.storage,"".concat(this.storageKey,"-code-verifier")),[n,r]=(null!==t&&void 0!==t?t:"").split("/"),{data:a,error:i}=await xa(this.fetch,"POST","".concat(this.url,"/token?grant_type=pkce"),{headers:this.headers,body:{auth_code:e,code_verifier:n},xform:Ca});return await Yr(this.storage,"".concat(this.storageKey,"-code-verifier")),i?{data:{user:null,session:null,redirectType:null},error:i}:a&&a.session&&a.user?(a.session&&(await this._saveSession(a.session),await this._notifyAllSubscribers("SIGNED_IN",a.session)),{data:Object.assign(Object.assign({},a),{redirectType:null!==r&&void 0!==r?r:null}),error:i}):{data:{user:null,session:null,redirectType:null},error:new ca}}async signInWithIdToken(e){await this._removeSession();try{const{options:t,provider:n,token:r,access_token:a,nonce:i}=e,s=await xa(this.fetch,"POST","".concat(this.url,"/token?grant_type=id_token"),{headers:this.headers,body:{provider:n,id_token:r,access_token:a,nonce:i,gotrue_meta_security:{captcha_token:null===t||void 0===t?void 0:t.captchaToken}},xform:Ca}),{data:o,error:l}=s;return l?{data:{user:null,session:null},error:l}:o&&o.session&&o.user?(o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",o.session)),{data:o,error:l}):{data:{user:null,session:null},error:new ca}}catch(t){if(aa(t))return{data:{user:null,session:null},error:t};throw t}}async signInWithOtp(e){var t,n,r,a,i;try{if(await this._removeSession(),"email"in e){const{email:r,options:a}=e;let i=null,s=null;if("pkce"===this.flowType){const e=ta();await Gr(this.storage,"".concat(this.storageKey,"-code-verifier"),e),i=await na(e),s=e===i?"plain":"s256"}const{error:o}=await xa(this.fetch,"POST","".concat(this.url,"/otp"),{headers:this.headers,body:{email:r,data:null!==(t=null===a||void 0===a?void 0:a.data)&&void 0!==t?t:{},create_user:null===(n=null===a||void 0===a?void 0:a.shouldCreateUser)||void 0===n||n,gotrue_meta_security:{captcha_token:null===a||void 0===a?void 0:a.captchaToken},code_challenge:i,code_challenge_method:s},redirectTo:null===a||void 0===a?void 0:a.emailRedirectTo});return{data:{user:null,session:null},error:o}}if("phone"in e){const{phone:t,options:n}=e,{data:s,error:o}=await xa(this.fetch,"POST","".concat(this.url,"/otp"),{headers:this.headers,body:{phone:t,data:null!==(r=null===n||void 0===n?void 0:n.data)&&void 0!==r?r:{},create_user:null===(a=null===n||void 0===n?void 0:n.shouldCreateUser)||void 0===a||a,gotrue_meta_security:{captcha_token:null===n||void 0===n?void 0:n.captchaToken},channel:null!==(i=null===n||void 0===n?void 0:n.channel)&&void 0!==i?i:"sms"}});return{data:{user:null,session:null,messageId:null===s||void 0===s?void 0:s.message_id},error:o}}throw new ua("You must provide either an email or phone number.")}catch(s){if(aa(s))return{data:{user:null,session:null},error:s};throw s}}async verifyOtp(e){var t,n;try{let r,a;"email_change"!==e.type&&"phone_change"!==e.type&&await this._removeSession(),"options"in e&&(r=null===(t=e.options)||void 0===t?void 0:t.redirectTo,a=null===(n=e.options)||void 0===n?void 0:n.captchaToken);const{data:i,error:s}=await xa(this.fetch,"POST","".concat(this.url,"/verify"),{headers:this.headers,body:Object.assign(Object.assign({},e),{gotrue_meta_security:{captcha_token:a}}),redirectTo:r,xform:Ca});if(s)throw s;if(!i)throw new Error("An error occurred on token verification.");const o=i.session,l=i.user;return(null===o||void 0===o?void 0:o.access_token)&&(await this._saveSession(o),await this._notifyAllSubscribers("SIGNED_IN",o)),{data:{user:l,session:o},error:null}}catch(r){if(aa(r))return{data:{user:null,session:null},error:r};throw r}}async signInWithSSO(e){var t,n,r;try{await this._removeSession();let a=null,i=null;if("pkce"===this.flowType){const e=ta();await Gr(this.storage,"".concat(this.storageKey,"-code-verifier"),e),a=await na(e),i=e===a?"plain":"s256"}return await xa(this.fetch,"POST","".concat(this.url,"/sso"),{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in e?{provider_id:e.providerId}:null),"domain"in e?{domain:e.domain}:null),{redirect_to:null!==(n=null===(t=e.options)||void 0===t?void 0:t.redirectTo)&&void 0!==n?n:void 0}),(null===(r=null===e||void 0===e?void 0:e.options)||void 0===r?void 0:r.captchaToken)?{gotrue_meta_security:{captcha_token:e.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:a,code_challenge_method:i}),headers:this.headers,xform:Na})}catch(a){if(aa(a))return{data:null,error:a};throw a}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(-1,(async()=>await this._reauthenticate()))}async _reauthenticate(){try{return await this._useSession((async e=>{const{data:{session:t},error:n}=e;if(n)throw n;if(!t)throw new la;const{error:r}=await xa(this.fetch,"GET","".concat(this.url,"/reauthenticate"),{headers:this.headers,jwt:t.access_token});return{data:{user:null,session:null},error:r}}))}catch(e){if(aa(e))return{data:{user:null,session:null},error:e};throw e}}async resend(e){try{"email_change"!=e.type&&"phone_change"!=e.type&&await this._removeSession();const t="".concat(this.url,"/resend");if("email"in e){const{email:n,type:r,options:a}=e,{error:i}=await xa(this.fetch,"POST",t,{headers:this.headers,body:{email:n,type:r,gotrue_meta_security:{captcha_token:null===a||void 0===a?void 0:a.captchaToken}},redirectTo:null===a||void 0===a?void 0:a.emailRedirectTo});return{data:{user:null,session:null},error:i}}if("phone"in e){const{phone:n,type:r,options:a}=e,{data:i,error:s}=await xa(this.fetch,"POST",t,{headers:this.headers,body:{phone:n,type:r,gotrue_meta_security:{captcha_token:null===a||void 0===a?void 0:a.captchaToken}}});return{data:{user:null,session:null,messageId:null===i||void 0===i?void 0:i.message_id},error:s}}throw new ua("You must provide either an email or phone number and a type")}catch(t){if(aa(t))return{data:{user:null,session:null},error:t};throw t}}async getSession(){return await this.initializePromise,this._acquireLock(-1,(async()=>this._useSession((async e=>e))))}async _acquireLock(e,t){this._debug("#_acquireLock","begin",e);try{if(this.lockAcquired){const e=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),n=(async()=>(await e,await t()))();return this.pendingInLock.push((async()=>{try{await n}catch(e){}})()),n}return await this.lock("lock:".concat(this.storageKey),e,(async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const e=t();for(this.pendingInLock.push((async()=>{try{await e}catch(t){}})()),await e;this.pendingInLock.length;){const e=[...this.pendingInLock];await Promise.all(e),this.pendingInLock.splice(0,e.length)}return await e}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}}))}finally{this._debug("#_acquireLock","end")}}async _useSession(e){this._debug("#_useSession","begin");try{const t=await this.__loadSession();return await e(t)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",(new Error).stack);try{let e=null;const t=await $r(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",t),null!==t&&(this._isValidSession(t)?e=t:(this._debug("#getSession()","session from storage is not valid"),await this._removeSession())),!e)return{data:{session:null},error:null};const n=!!e.expires_at&&e.expires_at<=Date.now()/1e3;if(this._debug("#__loadSession()","session has".concat(n?"":" not"," expired"),"expires_at",e.expires_at),!n)return{data:{session:e},error:null};const{session:r,error:a}=await this._callRefreshToken(e.refresh_token);return a?{data:{session:null},error:a}:{data:{session:r},error:null}}finally{this._debug("#__loadSession()","end")}}async getUser(e){return e?await this._getUser(e):(await this.initializePromise,this._acquireLock(-1,(async()=>await this._getUser())))}async _getUser(e){try{return e?await xa(this.fetch,"GET","".concat(this.url,"/user"),{headers:this.headers,jwt:e,xform:ka}):await this._useSession((async e=>{var t,n;const{data:r,error:a}=e;if(a)throw a;return await xa(this.fetch,"GET","".concat(this.url,"/user"),{headers:this.headers,jwt:null!==(n=null===(t=r.session)||void 0===t?void 0:t.access_token)&&void 0!==n?n:void 0,xform:ka})}))}catch(t){if(aa(t))return{data:{user:null},error:t};throw t}}async updateUser(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return await this.initializePromise,await this._acquireLock(-1,(async()=>await this._updateUser(e,t)))}async _updateUser(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{return await this._useSession((async n=>{const{data:r,error:a}=n;if(a)throw a;if(!r.session)throw new la;const i=r.session;let s=null,o=null;if("pkce"===this.flowType&&null!=e.email){const e=ta();await Gr(this.storage,"".concat(this.storageKey,"-code-verifier"),e),s=await na(e),o=e===s?"plain":"s256"}const{data:l,error:c}=await xa(this.fetch,"PUT","".concat(this.url,"/user"),{headers:this.headers,redirectTo:null===t||void 0===t?void 0:t.emailRedirectTo,body:Object.assign(Object.assign({},e),{code_challenge:s,code_challenge_method:o}),jwt:i.access_token,xform:ka});if(c)throw c;return i.user=l.user,await this._saveSession(i),await this._notifyAllSubscribers("USER_UPDATED",i),{data:{user:i.user},error:null}}))}catch(n){if(aa(n))return{data:{user:null},error:n};throw n}}_decodeJWT(e){return Xr(e)}async setSession(e){return await this.initializePromise,await this._acquireLock(-1,(async()=>await this._setSession(e)))}async _setSession(e){try{if(!e.access_token||!e.refresh_token)throw new la;const t=Date.now()/1e3;let n=t,r=!0,a=null;const i=Xr(e.access_token);if(i.exp&&(n=i.exp,r=n<=t),r){const{session:t,error:n}=await this._callRefreshToken(e.refresh_token);if(n)return{data:{user:null,session:null},error:n};if(!t)return{data:{user:null,session:null},error:null};a=t}else{const{data:r,error:i}=await this._getUser(e.access_token);if(i)throw i;a={access_token:e.access_token,refresh_token:e.refresh_token,user:r.user,token_type:"bearer",expires_in:n-t,expires_at:n},await this._saveSession(a),await this._notifyAllSubscribers("SIGNED_IN",a)}return{data:{user:a.user,session:a},error:null}}catch(t){if(aa(t))return{data:{session:null,user:null},error:t};throw t}}async refreshSession(e){return await this.initializePromise,await this._acquireLock(-1,(async()=>await this._refreshSession(e)))}async _refreshSession(e){try{return await this._useSession((async t=>{var n;if(!e){const{data:r,error:a}=t;if(a)throw a;e=null!==(n=r.session)&&void 0!==n?n:void 0}if(!(null===e||void 0===e?void 0:e.refresh_token))throw new la;const{session:r,error:a}=await this._callRefreshToken(e.refresh_token);return a?{data:{user:null,session:null},error:a}:r?{data:{user:r.user,session:r},error:null}:{data:{user:null,session:null},error:null}}))}catch(t){if(aa(t))return{data:{user:null,session:null},error:t};throw t}}async _getSessionFromURL(e){try{if(!qr())throw new da("No browser detected.");if("implicit"===this.flowType&&!this._isImplicitGrantFlow())throw new da("Not a valid implicit grant flow url.");if("pkce"==this.flowType&&!e)throw new ha("Not a valid PKCE flow url.");const t=Zr(window.location.href);if(e){if(!t.code)throw new ha("No code detected.");const{data:e,error:n}=await this._exchangeCodeForSession(t.code);if(n)throw n;const r=new URL(window.location.href);return r.searchParams.delete("code"),window.history.replaceState(window.history.state,"",r.toString()),{data:{session:e.session,redirectType:null},error:null}}if(t.error||t.error_description||t.error_code)throw new da(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});const{provider_token:n,provider_refresh_token:r,access_token:a,refresh_token:i,expires_in:s,expires_at:o,token_type:l}=t;if(!a||!s||!i||!l)throw new da("No session defined in URL");const c=Math.round(Date.now()/1e3),u=parseInt(s);let d=c+u;o&&(d=parseInt(o));const h=d-c;1e3*h<=Ua&&console.warn("@supabase/gotrue-js: Session as retrieved from URL expires in ".concat(h,"s, should have been closer to ").concat(u,"s"));const p=d-u;c-p>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",p,d,c):c-p<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clok for skew",p,d,c);const{data:f,error:m}=await this._getUser(a);if(m)throw m;const g={provider_token:n,provider_refresh_token:r,access_token:a,expires_in:u,expires_at:d,refresh_token:i,token_type:l,user:f.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:g,redirectType:t.type},error:null}}catch(t){if(aa(t))return{data:{session:null,redirectType:null},error:t};throw t}}_isImplicitGrantFlow(){const e=Zr(window.location.href);return!(!qr()||!e.access_token&&!e.error_description)}async _isPKCEFlow(){const e=Zr(window.location.href),t=await $r(this.storage,"".concat(this.storageKey,"-code-verifier"));return!(!e.code||!t)}async signOut(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{scope:"global"};return await this.initializePromise,await this._acquireLock(-1,(async()=>await this._signOut(e)))}async _signOut(){let{scope:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{scope:"global"};return await this._useSession((async t=>{var n;const{data:r,error:a}=t;if(a)return{error:a};const i=null===(n=r.session)||void 0===n?void 0:n.access_token;if(i){const{error:t}=await this.admin.signOut(i,e);if(t&&(!function(e){return aa(e)&&"AuthApiError"===e.name}(t)||404!==t.status&&401!==t.status))return{error:t}}return"others"!==e&&(await this._removeSession(),await Yr(this.storage,"".concat(this.storageKey,"-code-verifier")),await this._notifyAllSubscribers("SIGNED_OUT",null)),{error:null}}))}onAuthStateChange(e){const t="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})),n={id:t,callback:e,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",t),this.stateChangeEmitters.delete(t)}};return this._debug("#onAuthStateChange()","registered callback with id",t),this.stateChangeEmitters.set(t,n),(async()=>{await this.initializePromise,await this._acquireLock(-1,(async()=>{this._emitInitialSession(t)}))})(),{data:{subscription:n}}}async _emitInitialSession(e){return await this._useSession((async t=>{var n,r;try{const{data:{session:r},error:a}=t;if(a)throw a;await(null===(n=this.stateChangeEmitters.get(e))||void 0===n?void 0:n.callback("INITIAL_SESSION",r)),this._debug("INITIAL_SESSION","callback id",e,"session",r)}catch(a){await(null===(r=this.stateChangeEmitters.get(e))||void 0===r?void 0:r.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",e,"error",a),console.error(a)}}))}async resetPasswordForEmail(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null;if("pkce"===this.flowType){const e=ta();await Gr(this.storage,"".concat(this.storageKey,"-code-verifier"),"".concat(e,"/PASSWORD_RECOVERY")),n=await na(e),r=e===n?"plain":"s256"}try{return await xa(this.fetch,"POST","".concat(this.url,"/recover"),{body:{email:e,code_challenge:n,code_challenge_method:r,gotrue_meta_security:{captcha_token:t.captchaToken}},headers:this.headers,redirectTo:t.redirectTo})}catch(a){if(aa(a))return{data:null,error:a};throw a}}async getUserIdentities(){var e;try{const{data:t,error:n}=await this.getUser();if(n)throw n;return{data:{identities:null!==(e=t.user.identities)&&void 0!==e?e:[]},error:null}}catch(t){if(aa(t))return{data:null,error:t};throw t}}async linkIdentity(e){var t;try{const{data:n,error:r}=await this._useSession((async t=>{var n,r,a,i,s;const{data:o,error:l}=t;if(l)throw l;const c=await this._getUrlForProvider("".concat(this.url,"/user/identities/authorize"),e.provider,{redirectTo:null===(n=e.options)||void 0===n?void 0:n.redirectTo,scopes:null===(r=e.options)||void 0===r?void 0:r.scopes,queryParams:null===(a=e.options)||void 0===a?void 0:a.queryParams,skipBrowserRedirect:!0});return await xa(this.fetch,"GET",c,{headers:this.headers,jwt:null!==(s=null===(i=o.session)||void 0===i?void 0:i.access_token)&&void 0!==s?s:void 0})}));if(r)throw r;return qr()&&!(null===(t=e.options)||void 0===t?void 0:t.skipBrowserRedirect)&&window.location.assign(null===n||void 0===n?void 0:n.url),{data:{provider:e.provider,url:null===n||void 0===n?void 0:n.url},error:null}}catch(n){if(aa(n))return{data:{provider:e.provider,url:null},error:n};throw n}}async unlinkIdentity(e){try{return await this._useSession((async t=>{var n,r;const{data:a,error:i}=t;if(i)throw i;return await xa(this.fetch,"DELETE","".concat(this.url,"/user/identities/").concat(e.identity_id),{headers:this.headers,jwt:null!==(r=null===(n=a.session)||void 0===n?void 0:n.access_token)&&void 0!==r?r:void 0})}))}catch(t){if(aa(t))return{data:null,error:t};throw t}}async _refreshAccessToken(e){const t="#_refreshAccessToken(".concat(e.substring(0,5),"...)");this._debug(t,"begin");try{const a=Date.now();return await(n=async n=>(await async function(e){return await new Promise((t=>{setTimeout((()=>t(null)),e)}))}(200*n),this._debug(t,"refreshing attempt",n),await xa(this.fetch,"POST","".concat(this.url,"/token?grant_type=refresh_token"),{body:{refresh_token:e},headers:this.headers,xform:Ca})),r=(e,t,n)=>n&&n.error&&fa(n.error)&&Date.now()+200*(e+1)-a<Ua,new Promise(((e,t)=>{(async()=>{for(let i=0;i<1/0;i++)try{const t=await n(i);if(!r(i,null,t))return void e(t)}catch(a){if(!r(i,a))return void t(a)}})()})))}catch(a){if(this._debug(t,"error",a),aa(a))return{data:{session:null,user:null},error:a};throw a}finally{this._debug(t,"end")}var n,r}_isValidSession(e){return"object"===typeof e&&null!==e&&"access_token"in e&&"refresh_token"in e&&"expires_at"in e}async _handleProviderSignIn(e,t){const n=await this._getUrlForProvider("".concat(this.url,"/authorize"),e,{redirectTo:t.redirectTo,scopes:t.scopes,queryParams:t.queryParams});return this._debug("#_handleProviderSignIn()","provider",e,"options",t,"url",n),qr()&&!t.skipBrowserRedirect&&window.location.assign(n),{data:{provider:e,url:n},error:null}}async _recoverAndRefresh(){var e;const t="#_recoverAndRefresh()";this._debug(t,"begin");try{const n=await $r(this.storage,this.storageKey);if(this._debug(t,"session from storage",n),!this._isValidSession(n))return this._debug(t,"session is not valid"),void(null!==n&&await this._removeSession());const r=Math.round(Date.now()/1e3),a=(null!==(e=n.expires_at)&&void 0!==e?e:1/0)<r+10;if(this._debug(t,"session has".concat(a?"":" not"," expired with margin of ").concat(10,"s")),a){if(this.autoRefreshToken&&n.refresh_token){const{error:e}=await this._callRefreshToken(n.refresh_token);e&&(console.error(e),fa(e)||(this._debug(t,"refresh failed with a non-retryable error, removing the session",e),await this._removeSession()))}}else await this._notifyAllSubscribers("SIGNED_IN",n)}catch(n){return this._debug(t,"error",n),void console.error(n)}finally{this._debug(t,"end")}}async _callRefreshToken(e){var t,n;if(!e)throw new la;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const r="#_callRefreshToken(".concat(e.substring(0,5),"...)");this._debug(r,"begin");try{this.refreshingDeferred=new Qr;const{data:t,error:n}=await this._refreshAccessToken(e);if(n)throw n;if(!t.session)throw new la;await this._saveSession(t.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",t.session);const r={session:t.session,error:null};return this.refreshingDeferred.resolve(r),r}catch(a){if(this._debug(r,"error",a),aa(a)){const e={session:null,error:a};return fa(a)||(await this._removeSession(),await this._notifyAllSubscribers("SIGNED_OUT",null)),null===(t=this.refreshingDeferred)||void 0===t||t.resolve(e),e}throw null===(n=this.refreshingDeferred)||void 0===n||n.reject(a),a}finally{this.refreshingDeferred=null,this._debug(r,"end")}}async _notifyAllSubscribers(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r="#_notifyAllSubscribers(".concat(e,")");this._debug(r,"begin",t,"broadcast = ".concat(n));try{this.broadcastChannel&&n&&this.broadcastChannel.postMessage({event:e,session:t});const r=[],a=Array.from(this.stateChangeEmitters.values()).map((async n=>{try{await n.callback(e,t)}catch(a){r.push(a)}}));if(await Promise.all(a),r.length>0){for(let e=0;e<r.length;e+=1)console.error(r[e]);throw r[0]}}finally{this._debug(r,"end")}}async _saveSession(e){this._debug("#_saveSession()",e),await Gr(this.storage,this.storageKey,e)}async _removeSession(){this._debug("#_removeSession()"),await Yr(this.storage,this.storageKey)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const e=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{e&&qr()&&(null===window||void 0===window?void 0:window.removeEventListener)&&window.removeEventListener("visibilitychange",e)}catch(t){console.error("removing visibilitychange callback failed",t)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const e=setInterval((()=>this._autoRefreshTokenTick()),Ua);this.autoRefreshTicker=e,e&&"object"===typeof e&&"function"===typeof e.unref?e.unref():"undefined"!==typeof Deno&&"function"===typeof Deno.unrefTimer&&Deno.unrefTimer(e),setTimeout((async()=>{await this.initializePromise,await this._autoRefreshTokenTick()}),0)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const e=this.autoRefreshTicker;this.autoRefreshTicker=null,e&&clearInterval(e)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,(async()=>{try{const t=Date.now();try{return await this._useSession((async e=>{const{data:{session:n}}=e;if(!n||!n.refresh_token||!n.expires_at)return void this._debug("#_autoRefreshTokenTick()","no session");const r=Math.floor((1e3*n.expires_at-t)/Ua);this._debug("#_autoRefreshTokenTick()","access token expires in ".concat(r," ticks, a tick lasts ").concat(Ua,"ms, refresh threshold is ").concat(3," ticks")),r<=3&&await this._callRefreshToken(n.refresh_token)}))}catch(e){console.error("Auto refresh tick failed with error. This is likely a transient error.",e)}}finally{this._debug("#_autoRefreshTokenTick()","end")}}))}catch(e){if(!(e.isAcquireTimeout||e instanceof Ra))throw e;this._debug("auto refresh token tick lock not available")}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!qr()||!(null===window||void 0===window?void 0:window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>await this._onVisibilityChanged(!1),null===window||void 0===window||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(e){console.error("_handleVisibilityChange",e)}}async _onVisibilityChanged(e){const t="#_onVisibilityChanged(".concat(e,")");this._debug(t,"visibilityState",document.visibilityState),"visible"===document.visibilityState?(this.autoRefreshToken&&this._startAutoRefresh(),e||(await this.initializePromise,await this._acquireLock(-1,(async()=>{"visible"===document.visibilityState?await this._recoverAndRefresh():this._debug(t,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting")})))):"hidden"===document.visibilityState&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(e,t,n){const r=["provider=".concat(encodeURIComponent(t))];if((null===n||void 0===n?void 0:n.redirectTo)&&r.push("redirect_to=".concat(encodeURIComponent(n.redirectTo))),(null===n||void 0===n?void 0:n.scopes)&&r.push("scopes=".concat(encodeURIComponent(n.scopes))),"pkce"===this.flowType){const e=ta();await Gr(this.storage,"".concat(this.storageKey,"-code-verifier"),e);const t=await na(e),n=e===t?"plain":"s256";this._debug("PKCE","code verifier","".concat(e.substring(0,5),"..."),"code challenge",t,"method",n);const a=new URLSearchParams({code_challenge:"".concat(encodeURIComponent(t)),code_challenge_method:"".concat(encodeURIComponent(n))});r.push(a.toString())}if(null===n||void 0===n?void 0:n.queryParams){const e=new URLSearchParams(n.queryParams);r.push(e.toString())}return(null===n||void 0===n?void 0:n.skipBrowserRedirect)&&r.push("skip_http_redirect=".concat(n.skipBrowserRedirect)),"".concat(e,"?").concat(r.join("&"))}async _unenroll(e){try{return await this._useSession((async t=>{var n;const{data:r,error:a}=t;return a?{data:null,error:a}:await xa(this.fetch,"DELETE","".concat(this.url,"/factors/").concat(e.factorId),{headers:this.headers,jwt:null===(n=null===r||void 0===r?void 0:r.session)||void 0===n?void 0:n.access_token})}))}catch(t){if(aa(t))return{data:null,error:t};throw t}}async _enroll(e){try{return await this._useSession((async t=>{var n,r;const{data:a,error:i}=t;if(i)return{data:null,error:i};const{data:s,error:o}=await xa(this.fetch,"POST","".concat(this.url,"/factors"),{body:{friendly_name:e.friendlyName,factor_type:e.factorType,issuer:e.issuer},headers:this.headers,jwt:null===(n=null===a||void 0===a?void 0:a.session)||void 0===n?void 0:n.access_token});return o?{data:null,error:o}:((null===(r=null===s||void 0===s?void 0:s.totp)||void 0===r?void 0:r.qr_code)&&(s.totp.qr_code="data:image/svg+xml;utf-8,".concat(s.totp.qr_code)),{data:s,error:null})}))}catch(t){if(aa(t))return{data:null,error:t};throw t}}async _verify(e){return this._acquireLock(-1,(async()=>{try{return await this._useSession((async t=>{var n;const{data:r,error:a}=t;if(a)return{data:null,error:a};const{data:i,error:s}=await xa(this.fetch,"POST","".concat(this.url,"/factors/").concat(e.factorId,"/verify"),{body:{code:e.code,challenge_id:e.challengeId},headers:this.headers,jwt:null===(n=null===r||void 0===r?void 0:r.session)||void 0===n?void 0:n.access_token});return s?{data:null,error:s}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+i.expires_in},i)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",i),{data:i,error:s})}))}catch(t){if(aa(t))return{data:null,error:t};throw t}}))}async _challenge(e){return this._acquireLock(-1,(async()=>{try{return await this._useSession((async t=>{var n;const{data:r,error:a}=t;return a?{data:null,error:a}:await xa(this.fetch,"POST","".concat(this.url,"/factors/").concat(e.factorId,"/challenge"),{headers:this.headers,jwt:null===(n=null===r||void 0===r?void 0:r.session)||void 0===n?void 0:n.access_token})}))}catch(t){if(aa(t))return{data:null,error:t};throw t}}))}async _challengeAndVerify(e){const{data:t,error:n}=await this._challenge({factorId:e.factorId});return n?{data:null,error:n}:await this._verify({factorId:e.factorId,challengeId:t.id,code:e.code})}async _listFactors(){const{data:{user:e},error:t}=await this.getUser();if(t)return{data:null,error:t};const n=(null===e||void 0===e?void 0:e.factors)||[],r=n.filter((e=>"totp"===e.factor_type&&"verified"===e.status));return{data:{all:n,totp:r},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,(async()=>await this._useSession((async e=>{var t,n;const{data:{session:r},error:a}=e;if(a)return{data:null,error:a};if(!r)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const i=this._decodeJWT(r.access_token);let s=null;i.aal&&(s=i.aal);let o=s;(null!==(n=null===(t=r.user.factors)||void 0===t?void 0:t.filter((e=>"verified"===e.status)))&&void 0!==n?n:[]).length>0&&(o="aal2");return{data:{currentLevel:s,nextLevel:o,currentAuthenticationMethods:i.amr||[]},error:null}}))))}}za.nextInstanceID=0;class Ba extends za{constructor(e){super(e)}}var qa=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function o(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,o)}l((r=r.apply(e,t||[])).next())}))};const Va={headers:Ur},Wa={schema:"public"},Za={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},Ka={};class Ja{constructor(e,t,n){var r,a,i,s,o,l,c,u,d=this;if(this.supabaseUrl=e,this.supabaseKey=t,this.from=e=>this.rest.from(e),this.schema=e=>this.rest.schema(e),this.rpc=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return d.rest.rpc(e,t,n)},!e)throw new Error("supabaseUrl is required.");if(!t)throw new Error("supabaseKey is required.");const h=e.replace(/\/$/,"");this.realtimeUrl="".concat(h,"/realtime/v1").replace(/^http/i,"ws"),this.authUrl="".concat(h,"/auth/v1"),this.storageUrl="".concat(h,"/storage/v1"),this.functionsUrl="".concat(h,"/functions/v1");const p="sb-".concat(new URL(this.authUrl).hostname.split(".")[0],"-auth-token"),f=function(e,t){const{db:n,auth:r,realtime:a,global:i}=e,{db:s,auth:o,realtime:l,global:c}=t;return{db:Object.assign(Object.assign({},s),n),auth:Object.assign(Object.assign({},o),r),realtime:Object.assign(Object.assign({},l),a),global:Object.assign(Object.assign({},c),i)}}(null!==n&&void 0!==n?n:{},{db:Wa,realtime:Ka,auth:Object.assign(Object.assign({},Za),{storageKey:p}),global:Va});this.storageKey=null!==(a=null===(r=f.auth)||void 0===r?void 0:r.storageKey)&&void 0!==a?a:"",this.headers=null!==(s=null===(i=f.global)||void 0===i?void 0:i.headers)&&void 0!==s?s:{},this.auth=this._initSupabaseAuthClient(null!==(o=f.auth)&&void 0!==o?o:{},this.headers,null===(l=f.global)||void 0===l?void 0:l.fetch),this.fetch=Br(t,this._getAccessToken.bind(this),null===(c=f.global)||void 0===c?void 0:c.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers},f.realtime)),this.rest=new Hn("".concat(h,"/rest/v1"),{headers:this.headers,schema:null===(u=f.db)||void 0===u?void 0:u.schema,fetch:this.fetch}),this._listenForAuthEvents()}get functions(){return new An(this.functionsUrl,{headers:this.headers,customFetch:this.fetch})}get storage(){return new Dr(this.storageUrl,this.headers,this.fetch)}channel(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{config:{}};return this.realtime.channel(e,t)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}_getAccessToken(){var e,t;return qa(this,void 0,void 0,(function*(){const{data:n}=yield this.auth.getSession();return null!==(t=null===(e=n.session)||void 0===e?void 0:e.access_token)&&void 0!==t?t:null}))}_initSupabaseAuthClient(e,t,n){let{autoRefreshToken:r,persistSession:a,detectSessionInUrl:i,storage:s,storageKey:o,flowType:l,debug:c}=e;const u={Authorization:"Bearer ".concat(this.supabaseKey),apikey:"".concat(this.supabaseKey)};return new Ba({url:this.authUrl,headers:Object.assign(Object.assign({},u),t),storageKey:o,autoRefreshToken:r,persistSession:a,detectSessionInUrl:i,storage:s,flowType:l,debug:c,fetch:n})}_initRealtimeClient(e){return new fr(this.realtimeUrl,Object.assign(Object.assign({},e),{params:Object.assign({apikey:this.supabaseKey},null===e||void 0===e?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange(((e,t)=>{this._handleTokenChanged(e,"CLIENT",null===t||void 0===t?void 0:t.access_token)}))}_handleTokenChanged(e,t,n){"TOKEN_REFRESHED"!==e&&"SIGNED_IN"!==e||this.changedAccessToken===n?"SIGNED_OUT"===e&&(this.realtime.setAuth(this.supabaseKey),"STORAGE"==t&&this.auth.signOut(),this.changedAccessToken=void 0):(this.realtime.setAuth(null!==n&&void 0!==n?n:null),this.changedAccessToken=n)}}const Ga=function(){console.log("Track component rendering");const e=localStorage.getItem("googleProfileImageUrl"),t=X(),[r,a]=(0,n.useState)(!1),[i,s]=(0,n.useState)(!1),[o,l]=(0,n.useState)({Research:0,UseCase:0,News:0,Researcher:0,Patent:0,Organization:0,Collaboration:0}),[c,u]=(0,n.useState)(""),[d,h]=(0,n.useState)(""),[p,f]=(0,n.useState)(""),[m,g]=(0,n.useState)(""),[v,y]=(0,n.useState)(""),[b,w]=(0,n.useState)(""),[x,C]=(0,n.useState)(""),[j,k]=(0,n.useState)("Research"),[N,_]=(0,n.useState)("Patent"),[S,T]=(0,n.useState)("Use case"),[E,O]=(0,n.useState)("Researcher"),[P,A]=(0,n.useState)("Organization"),[L,I]=(0,n.useState)("News"),[R,M]=(0,n.useState)("Collaboration"),[D,F]=(0,n.useState)([]),[U,H]=(0,n.useState)([]),[z,B]=(0,n.useState)([]),[q,V]=(0,n.useState)([]),[W,Z]=(0,n.useState)([]),[K,J]=(0,n.useState)([]),[G,$]=(0,n.useState)([]),[Y,Q]=(0,n.useState)("Research"),[ee,te]=(0,n.useState)("Use case"),[ne,re]=(0,n.useState)("News"),[ae,ie]=(0,n.useState)(""),[se,oe]=(0,n.useState)("Submit"),[le,ce]=(0,n.useState)("submit-button"),[ue,de]=(0,n.useState)("Body Here"),[he,pe]=(0,n.useState)(!1),[fe,me]=(0,n.useState)([]),[ge,ve]=(0,n.useState)([]),[ye,be]=(0,n.useState)([]),[xe,Ce]=(0,n.useState)([]),[_e,Se]=(0,n.useState)([]),[Te,Ee]=(0,n.useState)([]),[Oe,Pe]=(0,n.useState)([]),Ae=localStorage.getItem("token"),[Le,Ie]=(0,n.useState)(""),Re=new Ja("https://cyurqurlcxlyihpxzxyk.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImN5dXJxdXJsY3hseWlocHh6eHlrIiwicm9sZSI6ImFub24iLCJpYXQiOjE2ODgxNDEwNDQsImV4cCI6MjAwMzcxNzA0NH0.CdUPlN6gZQ6aA4kFiZuBXoAc4W_zXj4ywH0oaDAV70o",Me);var Me;const De=e=>new Date(e).toLocaleDateString("en-GB",{day:"2-digit",month:"2-digit",year:"2-digit"}),Fe=e=>{let t=Le;t=parseFloat((t-e).toFixed(2)),(e=>{document.getElementById("creditDisplay").innerText="Credits: ".concat(e)})(t),Ue(t)},Ue=async e=>{try{const t=localStorage.getItem("token"),n=await gn.post("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/updateCredits",{credits:e},{headers:{Authorization:"Bearer ".concat(t)}});Ie(n.data.credits)}catch(t){console.error("Error updating credits:",t)}};(0,n.useEffect)((()=>{const e=document.createElement("script");e.src="https://apis.google.com/js/api.js",e.onload=()=>{Ne.M.load("auth2",(()=>{Ne.M.auth2.init({client_id:"584832623015-02ioa5kbjqp9agd30pdiifln0bhb5trb.apps.googleusercontent.com",scope:"profile email",redirect_uri:"https://tylo.ai/",cookiepolicy:"single_host_origin"})}))},document.body.appendChild(e);const t=JSON.parse(localStorage.getItem("researchResults"))||[];0===t.length?console.log("No research results found."):me(t);const n=JSON.parse(localStorage.getItem("useCaseResults"))||[];0===n.length?console.log("No Use Case results found."):ve(n);const r=JSON.parse(localStorage.getItem("researcherResults"))||[];0===r.length?console.log("No Researcher results found."):be(r);const a=JSON.parse(localStorage.getItem("newsResults"))||[];0===a.length?console.log("No News results found."):Ce(a);const i=JSON.parse(localStorage.getItem("patentResults"))||[];0===i.length?console.log("No Patent results found."):Se(i);const s=JSON.parse(localStorage.getItem("orgResults"))||[];0===s.length?console.log("No Org results found."):Ee(s);const o=JSON.parse(localStorage.getItem("collabResults"))||[];0===o.length?console.log("No Collab results found."):Pe(o),fetch("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/profile",{method:"GET",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(Ae)}}).then((e=>e.json())).then((e=>{Ie(e.credits)})).catch((e=>console.error("Error fetching user data:",e)))}),[Ae]);const He="sk-proj-LKlabXBS5K9Pt6bT7ArPT3BlbkFJbpEvOqNloIdqU3iEgFTu",ze=async(e,t)=>{const n=[{role:"system",content:"Answer the following prompt using the context given "},{role:"user",content:"Prompt: ".concat(e," \nContext: ").concat(t)}];try{const e=await fetch("https://api.openai.com/v1/chat/completions",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(He)},body:JSON.stringify({model:"gpt-3.5-turbo-16k",messages:n,temperature:.7,max_tokens:4096,top_p:1,frequency_penalty:0,presence_penalty:0})});if(!e.ok)throw new Error("HTTP error! Status: ".concat(e.status));Fe(1);return(await e.json()).choices[0].message.content}catch(r){return console.error("Error calling OpenAI API:",r),null}},Be=()=>a(!1),qe=(e,t)=>{console.log("selector called");const n=t.target.value;switch(e){case 1:k(n);break;case 2:_(n);break;case 3:T(n);break;case 4:O(n);break;case 5:A(n);break;case 6:I(n);break;case 7:M(n)}},Ve=async e=>{Q("Research");let t="".concat(Y," in ").concat(e);try{const n=await async function(e,t,n){const r={question:e},a=new URLSearchParams({promptType:t}),i=await fetch("".concat("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/track","?").concat(a.toString()),{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(n)},body:JSON.stringify(r)});if(!i.ok)throw new Error("Network response was not ok");return await i.json()}(t,"Research",Ae);if(n.message&&n.supporting_evidence){let t=n.message;if(t){const n={id:Date.now()+Math.floor(1e3*Math.random()),title:"Research into ".concat(e),body:t,date:(new Date).toISOString()};F((e=>[...e,n])),de(t),console.log("output text ".concat(ue));let r=JSON.parse(localStorage.getItem("researchResults"));Array.isArray(r)||"object"!==typeof r?r||(r=[]):(console.log("Correcting the structure of existingResults"),r=[r]);const a=Date.now()+Math.floor(1e3*Math.random());r.push({id:a,title:"Research into ".concat(e),body:t,date:(new Date).toISOString()}),localStorage.setItem("researchResults",JSON.stringify(r))}else console.error("Response message is empty or not in the expected format")}else console.error("Backend response is empty or not in the expected format")}catch(n){console.error("There has been a problem with your fetch operation:",n)}},We=async e=>{te("Use Case");let t="".concat(ee," of ").concat(e),n=encodeURIComponent(t),r="https://archive.tylo.ai/google_scholar/google?question=".concat(n);try{const t=await fetch(r);if(!t.ok)throw new Error("Network response was not ok.");const n=await t.json();if(n&&n.length>0){let t=n.reduce(((e,t)=>e.relevance>t.relevance?e:t),n[0]);const r={title:t.title,id:t.id,articleUrl:t.article_url,paragraph:t.paragraph},a=await(async(e,t)=>{const n=[{role:"system",content:"Answer the following prompt using the context given "},{role:"user",content:"Prompt: ".concat(e," \nContext: ").concat(t)}];try{const e=await fetch("https://api.openai.com/v1/chat/completions",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(He)},body:JSON.stringify({model:"gpt-3.5-turbo-16k",messages:n,temperature:.7,max_tokens:4096,top_p:1,frequency_penalty:0,presence_penalty:0})});if(!e.ok)throw new Error("HTTP error! Status: ".concat(e.status));return Fe(1),(await e.json()).choices[0].message.content}catch(r){return console.error("Error calling OpenAI API:",r),null}})("Present a use case and be direct and confident like an professional on",r.paragraph);if(a){const t={id:Date.now()+Math.floor(1e3*Math.random()),title:"Use Case of ".concat(e),body:a,date:(new Date).toISOString(),ref:r.articleUrl};H((e=>[...e,t]));let n=JSON.parse(localStorage.getItem("useCaseResults"));Array.isArray(n)||"object"!==typeof n?n||(n=[]):(console.log("Correcting the structure of existingResults"),n=[n]);const i=Date.now()+Math.floor(1e3*Math.random());n.push({id:i,title:"Use Case of ".concat(e),body:a,date:(new Date).toISOString(),ref:r.articleUrl}),localStorage.setItem("useCaseResults",JSON.stringify(n))}else console.error("OpenAI response is empty or not in the expected format")}}catch(a){console.error("There has been a problem with your fetch operation:",a)}},Ze=async e=>{const{recentTitle:t,recentParagraph:n}=await async function(e){let t=0,n=0,r="",a="";for(let i=2023;i>=2010;i--){const s="arxiv_".concat(i);let{data:o,error:l}=await Re.from(s).select("id, title, paragraph").ilike("authors","%".concat(e,"%")).order("id",{ascending:!1});if(l)console.error("Error fetching data from ".concat(s,":"),l);else if(o.length>0){const e=o[0];(i>t||e.id>n)&&(t=i,n=e.id,r=e.title,a=e.paragraph)}}return n>0?console.log("Most recent paper by ".concat(e," found in arxiv_").concat(t,":"),{Title:r,Paragraph:a}):console.log("No papers found by author: ".concat(e)),{recentTitle:r,recentParagraph:a}}(e);let r=JSON.parse(localStorage.getItem("researcherResults"));Array.isArray(r)||"object"!==typeof r?r||(r=[]):(console.log("Correcting the structure of existingResults"),r=[r]);const a={id:Date.now()+Math.floor(1e3*Math.random()),title:"".concat(t),body:n,date:(new Date).toISOString()};V((e=>[...e,a])),r.push({id:Date.now()+Math.floor(1e3*Math.random()),title:"".concat(t),body:n,date:(new Date).toISOString()}),localStorage.setItem("researcherResults",JSON.stringify(r))},Ke=async e=>{re("News");let t="".concat(ne," on ").concat(e),n=encodeURIComponent(t),r="https://archive.tylo.ai/google_query/google?question=".concat(n);try{const t=await fetch(r);if(!t.ok)throw new Error("Network response was not ok.");const n=await t.json();if(n&&n.length>0){if(n.filter((e=>e.id.startsWith("news"))).length>0){let t=n.reduce(((e,t)=>e.relevance>t.relevance?e:t),n[0]);const r={title:t.title,id:t.id,articleUrl:t.article_url,full_text:t.full_text},a=await(async(e,t)=>{const n=[{role:"system",content:"Answer the following prompt using the context given "},{role:"user",content:"Prompt: ".concat(e," \nContext: ").concat(t)}];try{const e=await fetch("https://api.openai.com/v1/chat/completions",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(He)},body:JSON.stringify({model:"gpt-3.5-turbo-16k",messages:n,temperature:.7,max_tokens:4096,top_p:1,frequency_penalty:0,presence_penalty:0})});if(!e.ok)throw new Error("HTTP error! Status: ".concat(e.status));return Fe(1),(await e.json()).choices[0].message.content}catch(r){return console.error("Error calling OpenAI API:",r),null}})("Summarise this like a news article",r.full_text);if(a){const t={id:Date.now()+Math.floor(1e3*Math.random()),title:"News on ".concat(e),body:a,date:(new Date).toISOString(),ref:r.articleUrl};B((e=>[...e,t]));let n=JSON.parse(localStorage.getItem("newsResults"));Array.isArray(n)||"object"!==typeof n?n||(n=[]):(console.log("Correcting the structure of existingResults"),n=[n]),n.push({id:Date.now()+Math.floor(1e3*Math.random()),title:"News on ".concat(e),body:a,date:(new Date).toISOString(),ref:r.articleUrl}),localStorage.setItem("newsResults",JSON.stringify(n))}else console.error("OpenAI response is empty or not in the expected format")}else console.log('No articles found with ID starting with "news"')}}catch(a){console.error("There has been a problem with your fetch operation:",a)}},Je=async e=>{let t=encodeURIComponent(e),n="https://archive.tylo.ai/google_patent/google?question=".concat(t);try{const t=await fetch(n);if(!t.ok)throw new Error("Network response was not ok.");const r=await t.json();if(r&&r.length>0){const t=r.filter((e=>e.id.startsWith("patent")));if(t.length>0){let n=t.reduce(((e,t)=>e.relevance>t.relevance?e:t),t[0]);const r={title:n.title,id:n.id,articleUrl:n.article_url,full_text:n.full_text},a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16e3;return e.length<=t?e:e.substring(0,t)}(r.full_text,16e3);console.log("extracted text ",a);const i=await(async(e,t)=>{const n=[{role:"system",content:"Answer the following prompt using the context given "},{role:"user",content:"Prompt: ".concat(e," \nContext: ").concat(t)}];try{const e=await fetch("https://api.openai.com/v1/chat/completions",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(He)},body:JSON.stringify({model:"gpt-3.5-turbo-16k",messages:n,temperature:.7,max_tokens:4096,top_p:1,frequency_penalty:0,presence_penalty:0})});if(!e.ok)throw new Error("HTTP error! Status: ".concat(e.status));return Fe(1),(await e.json()).choices[0].message.content}catch(r){return console.error("Error calling OpenAI API:",r),null}})("Present this patent information professionally, add abstract, Introduction, Description of Invention, Key Features, conclusions etc",a);if(console.log("full text",r.full_text),i){const t={id:Date.now()+Math.floor(1e3*Math.random()),title:"Patent information on ".concat(e),body:i,date:(new Date).toISOString(),ref:r.articleUrl};J((e=>[...e,t]));let n=JSON.parse(localStorage.getItem("patentResults"));Array.isArray(n)||"object"!==typeof n?n||(n=[]):(console.log("Correcting the structure of existingResults"),n=[n]),n.push({id:Date.now()+Math.floor(1e3*Math.random()),title:"Patent information on ".concat(e),body:i,date:(new Date).toISOString(),ref:r.articleUrl}),localStorage.setItem("patentResults",JSON.stringify(n))}else console.error("OpenAI response is empty or not in the expected format")}else console.log('No articles found with ID starting with "org"')}}catch(r){console.error("There has been a problem with your fetch operation:",r)}},Ge=async e=>{let t="Latest Advancements in ".concat(e),n=encodeURIComponent(t),r="https://archive.tylo.ai/google_org/google?question=".concat(n);try{const t=await fetch(r);if(!t.ok)throw new Error("Network response was not ok.");const n=await t.json();if(n&&n.length>0){const t=n.filter((e=>e.id.startsWith("org")));if(t.length>0){let n=t.reduce(((e,t)=>e.relevance>t.relevance?e:t),t[0]);const r={title:n.title,id:n.id,articleUrl:n.article_url,full_text:n.full_text},a=await ze("Present the information on the organisation like an expert",r.title);if(a){const t={id:Date.now()+Math.floor(1e3*Math.random()),title:"Latest Advancements in ".concat(e," "),body:a,date:(new Date).toISOString(),ref:r.articleUrl};Z((e=>[...e,t]));let n=JSON.parse(localStorage.getItem("orgResults"));Array.isArray(n)||"object"!==typeof n?n||(n=[]):(console.log("Correcting the structure of existingResults"),n=[n]),n.push({id:Date.now()+Math.floor(1e3*Math.random()),title:"Latest Advancements in ".concat(e),body:a,date:(new Date).toISOString(),ref:r.articleUrl}),localStorage.setItem("orgResults",JSON.stringify(n))}else console.error("OpenAI response is empty or not in the expected format")}else console.log('No articles found with ID starting with "org"')}}catch(a){console.error("There has been a problem with your fetch operation:",a)}},$e=async e=>{let t="Recent collaborations with ".concat(e),n=encodeURIComponent(t),r="https://archive.tylo.ai/google_org/google?question=".concat(n);try{const t=await fetch(r);if(!t.ok)throw new Error("Network response was not ok.");const n=await t.json();if(n&&n.length>0){const t=n.filter((e=>e.id.startsWith("collab")));if(t.length>0){let n=t.reduce(((e,t)=>e.relevance>t.relevance?e:t),t[0]);const r={title:n.title,id:n.id,articleUrl:n.article_url,full_text:n.full_text},a=await ze("Present the information on the Collaborations like an expert",r.title);if(a){const t={id:Date.now()+Math.floor(1e3*Math.random()),title:"Recent collaborations with ".concat(e),body:a,date:(new Date).toISOString(),ref:r.articleUrl};$((e=>[...e,t]));let n=JSON.parse(localStorage.getItem("collabResults"));Array.isArray(n)||"object"!==typeof n?n||(n=[]):(console.log("Correcting the structure of existingResults"),n=[n]),n.push({id:Date.now()+Math.floor(1e3*Math.random()),title:"Recent collaborations with ".concat(e),body:a,date:(new Date).toISOString(),ref:r.articleUrl}),localStorage.setItem("collabResults",JSON.stringify(n))}else console.error("OpenAI response is empty or not in the expected format")}else console.log('No articles found with ID starting with "collab"')}}catch(a){console.error("There has been a problem with your fetch operation:",a)}},Ye=e=>{F((t=>t.filter((t=>t.id!==e))))};return console.log("Track component about to render JSX"),(0,yn.jsxs)("div",{className:"feature-page",children:[(0,yn.jsxs)("div",{className:"feature-page-icon",children:[(0,yn.jsx)("img",{src:we,alt:"Tylo Icon",className:"tylo-icon"}),(0,yn.jsxs)("div",{className:"tabs",children:[(0,yn.jsxs)("div",{className:"top-bar-tab-current_page",children:[(0,yn.jsx)("a",{href:"/#features",className:"top-bar-text",children:"Features"})," "]}),(0,yn.jsxs)("div",{className:"top-bar-tab",children:[(0,yn.jsx)("a",{href:"/#about",className:"top-bar-text",children:"About Us"})," "]})]}),(0,yn.jsx)("img",{src:e,alt:"Profile Icon",onClick:()=>{t("/settings")},className:"profile-icon"}),(0,yn.jsx)("div",{className:"login-button",onClick:()=>{localStorage.removeItem("token");const e=Ne.M.auth2.getAuthInstance();null!=e&&e.signOut().then(e.disconnect().then((()=>{console.log("User signed out of Google."),t("/#")}))),t("/#")},children:(0,yn.jsx)("span",{className:"login-text",children:"Sign Out"})})]}),(0,yn.jsxs)("div",{className:"gradient-rectangle",children:[(0,yn.jsx)("h2",{className:"feature-title",children:"Deeptech innovation Assistant"}),(0,yn.jsxs)("div",{className:"tab-horizontal-container",children:[(0,yn.jsx)("div",{className:"sign-in-disabled",onClick:()=>{t("/features")},children:(0,yn.jsx)("a",{href:"/#features",className:"sign-in-text-disabled",children:"Inquire"})}),(0,yn.jsx)("div",{className:"sign-in",children:(0,yn.jsx)("span",{className:"sign-in-text",children:"Track"})})]})]}),(0,yn.jsxs)("div",{className:"feature-page-2",children:[(0,yn.jsxs)("div",{className:"track-frame-main",children:[(0,yn.jsx)("h2",{className:"inquire-header",children:"Track anything"}),(0,yn.jsxs)("div",{className:"helper-container",children:[(0,yn.jsx)("p",{className:"inquire-text-1",children:"Stay at the frontier of technology development."}),(0,yn.jsxs)("div",{className:"instructions-container",children:[(0,yn.jsx)("div",{className:"instructions",children:"Instructions"}),(0,yn.jsx)("div",{className:"instructions-toggle dropdown-button",onClick:e=>{e.stopPropagation(),s(!i)},children:i?"\u25b2":"\u25bc"})]})]}),i&&(0,yn.jsx)("div",{className:"instruction-card-track",children:(0,yn.jsxs)("div",{className:"inst-top-col",children:[(0,yn.jsxs)("div",{className:"inst-item_track",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"What is it for?"}),(0,yn.jsx)("div",{className:"inst-item_b",children:(0,yn.jsx)("div",{className:"inst-card-p",children:(0,yn.jsxs)("ul",{className:"inst-card-ul",children:[(0,yn.jsx)("li",{children:"Track specific science innovations"}),(0,yn.jsx)("li",{children:"Surf new industrial use cases"}),(0,yn.jsx)("li",{children:"Patent alerts"}),(0,yn.jsx)("li",{children:"Monitor competitor"})]})})}),(0,yn.jsx)("div",{className:"inst-card-F",children:"Personalised newsfeeds"})]}),(0,yn.jsxs)("div",{className:"inst-item_track",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Step 1"}),(0,yn.jsx)("div",{className:"inst-item_b",children:(0,yn.jsx)("img",{src:je,alt:"Tracker",style:{width:"100%",height:"auto"}})}),(0,yn.jsx)("div",{className:"inst-card-F",children:"Set up you tracker"})]}),(0,yn.jsxs)("div",{className:"inst-item_track",children:[(0,yn.jsx)("h1",{className:"inst-card-H",children:"Step 2"}),(0,yn.jsx)("div",{className:"inst-item_b",children:(0,yn.jsx)("img",{src:ke,alt:"For_You",style:{width:"100%",height:"auto"}})}),(0,yn.jsx)("div",{className:"inst-card-F",children:"Receive curated news"})]})]})})]}),(0,yn.jsxs)("div",{className:"info",id:"creditDisplay",children:["Credits: ",Le]}),(0,yn.jsxs)("div",{className:"track-frame-mainb",children:[(0,yn.jsx)("div",{className:"track-for-you"}),(0,yn.jsxs)("div",{className:"buttons-container",children:[(0,yn.jsx)("div",{className:"track-button-1",children:(0,yn.jsx)("h2",{className:"track-button-1-text",children:"Add Email Push (coming soon)"})}),(0,yn.jsx)("div",{className:"track-button-2",onClick:()=>a(!0),children:(0,yn.jsx)("h2",{className:"track-button-2-text",children:"Tracker"})})]})]}),(0,yn.jsx)("div",{id:"trackerModal",style:{display:r?"block":"none"},class:"backdrop-background",children:(0,yn.jsxs)("div",{className:"customise-tracker-background",children:[(0,yn.jsxs)("div",{className:"customise-tracker-container",children:[(0,yn.jsx)("h2",{className:"customise-tracker-font",children:"Customize your Tracker"}),(0,yn.jsx)("div",{className:"close-button",onClick:Be,children:(0,yn.jsx)("img",{src:_n,alt:"Close"})})]}),(0,yn.jsxs)("div",{className:"item-container-205",children:[(0,yn.jsxs)("div",{className:"item-container-100",children:[(0,yn.jsx)("div",{className:"tracker-135",children:(0,yn.jsx)("h2",{className:"item-font",children:"Track"})}),(0,yn.jsxs)("div",{className:"tracker-142",children:[(0,yn.jsxs)("select",{className:"tracker-96",value:j,onChange:e=>qe(1,e),children:[(0,yn.jsx)("option",{value:"Research",children:"Research"}),(0,yn.jsx)("option",{value:"Patent",children:"Patent"}),(0,yn.jsx)("option",{value:"Use Case",children:"Use Case"}),(0,yn.jsx)("option",{value:"Researcher",children:"Researcher"}),(0,yn.jsx)("option",{value:"Organization",children:"Organization"}),(0,yn.jsx)("option",{value:"News",children:"News"}),(0,yn.jsx)("option",{value:"Collaboration",children:"Collaboration"})]}),(0,yn.jsx)("span",{className:"tracker-font-of",children:"Of"}),(0,yn.jsx)("input",{type:"text",className:"tracker-94",value:c,onChange:e=>u(e.target.value)})]}),(0,yn.jsxs)("div",{className:"tracker-142",children:[(0,yn.jsxs)("select",{className:"tracker-96",value:N,onChange:e=>qe(2,e),children:[(0,yn.jsx)("option",{value:"Patent",children:"Patent"}),(0,yn.jsx)("option",{value:"Research",children:"Research"}),(0,yn.jsx)("option",{value:"Use Case",children:"Use Case"}),(0,yn.jsx)("option",{value:"Researcher",children:"Researcher"}),(0,yn.jsx)("option",{value:"Organization",children:"Organization"}),(0,yn.jsx)("option",{value:"News",children:"News"}),(0,yn.jsx)("option",{value:"Collaboration",children:"Collaboration"})]}),(0,yn.jsx)("span",{className:"tracker-font-of",children:"Of"}),(0,yn.jsx)("input",{type:"text",className:"tracker-94",value:d,onChange:e=>h(e.target.value)})]}),(0,yn.jsxs)("div",{className:"tracker-142",children:[(0,yn.jsxs)("select",{className:"tracker-96",value:S,onChange:e=>qe(3,e),children:[(0,yn.jsx)("option",{value:"Use Case",children:"Use Case"}),(0,yn.jsx)("option",{value:"Research",children:"Research"}),(0,yn.jsx)("option",{value:"Patent",children:"Patent"}),(0,yn.jsx)("option",{value:"Researcher",children:"Researcher"}),(0,yn.jsx)("option",{value:"Organization",children:"Organization"}),(0,yn.jsx)("option",{value:"News",children:"News"}),(0,yn.jsx)("option",{value:"Collaboration",children:"Collaboration"})]}),(0,yn.jsx)("span",{className:"tracker-font-of",children:"Of"}),(0,yn.jsx)("input",{type:"text",className:"tracker-94",value:p,onChange:e=>f(e.target.value)})]}),(0,yn.jsxs)("div",{className:"tracker-142",children:[(0,yn.jsxs)("select",{className:"tracker-96",value:E,onChange:e=>qe(4,e),children:[(0,yn.jsx)("option",{value:"Researcher",children:"Researcher"}),(0,yn.jsx)("option",{value:"Research",children:"Research"}),(0,yn.jsx)("option",{value:"Patent",children:"Patent"}),(0,yn.jsx)("option",{value:"Use Case",children:"Use Case"}),(0,yn.jsx)("option",{value:"Organization",children:"Organization"}),(0,yn.jsx)("option",{value:"News",children:"News"}),(0,yn.jsx)("option",{value:"Collaboration",children:"Collaboration"})]}),(0,yn.jsx)("span",{className:"tracker-font-of",children:"Of"}),(0,yn.jsx)("input",{type:"text",className:"tracker-94",value:m,onChange:e=>g(e.target.value)})]}),(0,yn.jsxs)("div",{className:"tracker-142",children:[(0,yn.jsxs)("select",{className:"tracker-96",value:P,onChange:e=>qe(5,e),children:[(0,yn.jsx)("option",{value:"Organization",children:"Organization"}),(0,yn.jsx)("option",{value:"Research",children:"Research"}),(0,yn.jsx)("option",{value:"Patent",children:"Patent"}),(0,yn.jsx)("option",{value:"Use Case",children:"Use Case"}),(0,yn.jsx)("option",{value:"Researcher",children:"Researcher"}),(0,yn.jsx)("option",{value:"News",children:"News"}),(0,yn.jsx)("option",{value:"Collaboration",children:"Collaboration"})]}),(0,yn.jsx)("span",{className:"tracker-font-of",children:"Of"}),(0,yn.jsx)("input",{type:"text",className:"tracker-94",value:v,onChange:e=>y(e.target.value)})]}),(0,yn.jsxs)("div",{className:"tracker-142",children:[(0,yn.jsxs)("select",{className:"tracker-96",value:L,onChange:e=>qe(6,e),children:[(0,yn.jsx)("option",{value:"News",children:"News"}),(0,yn.jsx)("option",{value:"Research",children:"Research"}),(0,yn.jsx)("option",{value:"Patent",children:"Patent"}),(0,yn.jsx)("option",{value:"Use Case",children:"Use Case"}),(0,yn.jsx)("option",{value:"Researcher",children:"Researcher"}),(0,yn.jsx)("option",{value:"Organization",children:"Organization"}),(0,yn.jsx)("option",{value:"Collaboration",children:"Collaboration"})]}),(0,yn.jsx)("span",{className:"tracker-font-of",children:"Of"}),(0,yn.jsx)("input",{type:"text",className:"tracker-94",value:b,onChange:e=>w(e.target.value)})]}),(0,yn.jsxs)("div",{className:"tracker-142",children:[(0,yn.jsxs)("select",{className:"tracker-96",value:R,onChange:e=>qe(7,e),children:[(0,yn.jsx)("option",{value:"Collaboration",children:"Collaboration"}),(0,yn.jsx)("option",{value:"News",children:"News"}),(0,yn.jsx)("option",{value:"Research",children:"Research"}),(0,yn.jsx)("option",{value:"Patent",children:"Patent"}),(0,yn.jsx)("option",{value:"Use Case",children:"Use Case"}),(0,yn.jsx)("option",{value:"Researcher",children:"Researcher"}),(0,yn.jsx)("option",{value:"Organization",children:"Organization"})]}),(0,yn.jsx)("span",{className:"tracker-font-of",children:"Of"}),(0,yn.jsx)("input",{type:"text",className:"tracker-94",value:x,onChange:e=>C(e.target.value)})]})]}),(0,yn.jsxs)("div",{className:"item-container-98",children:[(0,yn.jsx)("div",{className:"frequency-135",children:(0,yn.jsx)("h2",{className:"item-font",children:"Frequency(coming soon)"})}),(0,yn.jsx)("div",{className:"frequency-136",children:(0,yn.jsx)("div",{className:"frequency-96",children:(0,yn.jsx)("h2",{className:"tracker-font",children:"Weekly"})})}),(0,yn.jsx)("div",{className:"frequency-136",children:(0,yn.jsx)("div",{className:"frequency-96",children:(0,yn.jsx)("h2",{className:"tracker-font",children:"Weekly"})})}),(0,yn.jsx)("div",{className:"frequency-136",children:(0,yn.jsx)("div",{className:"frequency-96",children:(0,yn.jsx)("h2",{className:"tracker-font",children:"Weekly"})})}),(0,yn.jsx)("div",{className:"frequency-136",children:(0,yn.jsx)("div",{className:"frequency-96",children:(0,yn.jsx)("h2",{className:"tracker-font",children:"Weekly"})})}),(0,yn.jsx)("div",{className:"frequency-136",children:(0,yn.jsx)("div",{className:"frequency-96",children:(0,yn.jsx)("h2",{className:"tracker-font",children:"Weekly"})})}),(0,yn.jsx)("div",{className:"frequency-136",children:(0,yn.jsx)("div",{className:"frequency-96",children:(0,yn.jsx)("h2",{className:"tracker-font",children:"Weekly"})})}),(0,yn.jsx)("div",{className:"frequency-136",children:(0,yn.jsx)("div",{className:"frequency-96",children:(0,yn.jsx)("h2",{className:"tracker-font",children:"Weekly"})})})]}),(0,yn.jsx)("div",{className:"bin-column"})]}),(0,yn.jsx)("div",{className:"save-bar",children:(0,yn.jsx)("div",{className:"save-button",onClick:async()=>{Be();const e={...o},t=[j,N,S,E,P,L,R],n=[c,d,p,m,v,b,x];console.log("selected option is",j);for(let r=0;r<t.length;r++){const a=t[r],i=n[r].trim();if(console.log("selected option",[r],"is",a),console.log("Current body",[r],"is",i),""!==i)switch(void 0!==e[a]&&(e[a]=0),a){case"Research":await Ve(i),e.Research+=1;break;case"Use Case":await We(i),e.UseCase+=1;break;case"News":await Ke(i),e.News+=1;break;case"Researcher":await Ze(i),e.Researcher+=1;break;case"Organization":await Ge(i),e.Organization+=1;break;case"Patent":await Je(i),e.Patent+=1;break;case"Collaboration":await $e(i),e.Collaboration+=1}}l(e)},children:(0,yn.jsx)("span",{className:"save-button-text",children:"Save"})})})]})}),(0,yn.jsxs)("div",{className:"track-frame-154",children:[(0,yn.jsx)("div",{className:"vector-68"}),(0,yn.jsxs)("div",{className:"track-frame-150",children:[D.map(((e,t)=>(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>Ye(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"Research"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(e.date)})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsx)("span",{className:"track-ref-font",children:" (Ref here)"})]})})]})]},e.id))),U.map(((e,t)=>(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>Ye(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"Use Case"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(e.date)})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsxs)("span",{className:"track-ref-font",children:[" (",e.ref,")"]})]})})]})]},e.id))),K.map(((e,t)=>(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>Ye(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"Patent"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(e.date)})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsxs)("span",{className:"track-ref-font",children:["(",e.ref,")"]})]})})]})]},e.id)))]}),(0,yn.jsxs)("div",{className:"track-frame-150",children:[q.map(((e,t)=>(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>Ye(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"Researcher"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(e.date)})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsx)("span",{className:"track-ref-font"})]})})]})]},e.id))),z.map(((e,t)=>(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>Ye(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"News"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(e.date)})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsxs)("span",{className:"track-ref-font",children:[" (",e.ref,")"]})]})})]})]},e.id))),W.map(((e,t)=>(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>Ye(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"Organization"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(e.date)})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsxs)("span",{className:"track-ref-font",children:[" (",e.ref,")"]})]})})]})]},e.id))),G.map(((e,t)=>(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>Ye(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"Collaboration"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(e.date)})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsxs)("span",{className:"track-ref-font",children:[" (",e.ref,")"]})]})})]})]},e.id)))]}),(0,yn.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",gap:"20px"},children:[(0,yn.jsx)("div",{style:{color:"var(--Primary, #4476F1)",fontFamily:"Inter",fontSize:"22px",fontStyle:"normal",fontWeight:"700",textDecorationLine:"underline",cursor:"pointer"},onClick:()=>pe(!he),children:"See Previous Content"}),(0,yn.jsx)("button",{style:{fontFamily:"Inter",fontSize:"18px",fontStyle:"normal",fontWeight:"700",color:"var(--Primary, #4476F1)",cursor:"pointer",textDecoration:"underline",backgroundColor:"transparent",border:"none",padding:"0",flex:"1 0 0"},onClick:()=>{localStorage.removeItem("researchResults"),localStorage.removeItem("useCaseResults"),localStorage.removeItem("researcherResults"),localStorage.removeItem("newsResults"),localStorage.removeItem("patentResults"),localStorage.removeItem("orgResults"),localStorage.removeItem("collabResults"),me([]),ve([]),be([]),Ce([]),Se([]),Ee([]),Pe([])},children:"Clear All"})]}),he&&(0,yn.jsxs)("div",{className:"track-frame-154",children:[(0,yn.jsxs)("div",{className:"track-frame-150",children:[Array.isArray(fe)&&fe.length>0?fe.map(((e,t)=>e&&(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>(e=>{const t=fe.filter((t=>t.id!==e));me(t),localStorage.setItem("researchResults",JSON.stringify(t))})(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"Research"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(new Date(e.date))})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsx)("span",{className:"track-ref-font",children:" (Ref here)"})]})})]})]},t))):(0,yn.jsx)("div",{}),Array.isArray(ge)&&ge.length>0?ge.map(((e,t)=>e&&(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>(e=>{const t=ge.filter((t=>t.id!==e));ve(t),localStorage.setItem("useCaseResults",JSON.stringify(t))})(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"Researcher"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(new Date(e.date))})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsxs)("span",{className:"track-ref-font",children:[" (",e.ref,")"]})]})})]})]},t))):(0,yn.jsx)("div",{}),Array.isArray(ye)&&ye.length>0?ye.map(((e,t)=>e&&(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>(e=>{const t=ye.filter((t=>t.id!==e));ve(t),localStorage.setItem("researcherResults",JSON.stringify(t))})(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"Use Case"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(new Date(e.date))})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsx)("span",{className:"track-ref-font",children:" "})]})})]})]},t))):(0,yn.jsx)("div",{})]}),(0,yn.jsxs)("div",{className:"track-frame-150",children:[Array.isArray(xe)&&xe.length>0?xe.map(((e,t)=>e&&(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>(e=>{const t=xe.filter((t=>t.id!==e));ve(t),localStorage.setItem("newsResults",JSON.stringify(t))})(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"News"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(new Date(e.date))})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsxs)("span",{className:"track-ref-font",children:[" (",e.ref,")"]})]})})]})]},t))):(0,yn.jsx)("div",{}),Array.isArray(_e)&&_e.length>0?_e.map(((e,t)=>e&&(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>(e=>{const t=_e.filter((t=>t.id!==e));ve(t),localStorage.setItem("patentResults",JSON.stringify(t))})(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"Patent"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(new Date(e.date))})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsxs)("span",{className:"track-ref-font",children:[" (",e.ref,")"]})]})})]})]},t))):(0,yn.jsx)("div",{}),Array.isArray(Te)&&Te.length>0?Te.map(((e,t)=>e&&(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>(e=>{const t=Te.filter((t=>t.id!==e));ve(t),localStorage.setItem("orgResults",JSON.stringify(t))})(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"Organization"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(new Date(e.date))})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsxs)("span",{className:"track-ref-font",children:[" (",e.ref,")"]})]})})]})]},t))):(0,yn.jsx)("div",{}),Array.isArray(Oe)&&Oe.length>0?Oe.map(((e,t)=>e&&(0,yn.jsxs)("div",{className:"track-frame-15-card",children:[(0,yn.jsx)("div",{className:"close-button",onClick:()=>(e=>{const t=Oe.filter((t=>t.id!==e));ve(t),localStorage.setItem("collabResults",JSON.stringify(t))})(e.id),children:(0,yn.jsx)("img",{src:_n,alt:"Close"})}),(0,yn.jsxs)("div",{className:"track-frame-42",children:[(0,yn.jsxs)("div",{className:"track-frame-207",children:[(0,yn.jsx)("div",{className:"track-frame-43",children:(0,yn.jsx)("h2",{className:"track-text-header",children:"Collaboration"})}),(0,yn.jsx)("h2",{className:"track-text-date",children:De(new Date(e.date))})]}),(0,yn.jsx)("h2",{className:"track-title-font",children:e.title}),(0,yn.jsx)("div",{className:"track-body",children:(0,yn.jsxs)("section",{className:"track-body-font",children:[e.body,(0,yn.jsxs)("span",{className:"track-ref-font",children:[" (",e.ref,")"]})]})})]})]},t))):(0,yn.jsx)("div",{})]})]})]})]}),(0,yn.jsxs)("div",{className:"comment",children:[(0,yn.jsx)("div",{className:"comment-container",children:(0,yn.jsx)("div",{className:"comment-text",children:"Leave a comment"})}),(0,yn.jsxs)("div",{className:"message-frame",children:[(0,yn.jsx)("div",{className:"message-header",children:"Message *"}),(0,yn.jsx)("textarea",{className:"message-box",value:ae,onChange:e=>ie(e.target.value),placeholder:"Type your message here..."})]}),(0,yn.jsx)("div",{className:le,onClick:()=>{const e=localStorage.getItem("token"),t={userId:localStorage.getItem("tyloEmail")};oe("Submitted"),ce("submit-button-green");gn.post("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/message",{message:ae,appState:JSON.stringify(t)},{headers:{Authorization:"Bearer ".concat(e),"Content-Type":"application/json"}}).then((e=>{console.log("Message submitted:",e.data),ie("")})).catch((e=>{console.error("Error submitting message:",e)})),setTimeout((()=>{oe("Submit"),ce("submit-button")}),3e3)},children:(0,yn.jsx)("div",{className:"feature-text-active",children:se})}),(0,yn.jsxs)("div",{className:"contact-text-combined",children:["Or reach out to us at",(0,yn.jsx)("a",{href:"mailto:contact@tylo.ai",className:"contact-email",children:" contact@tylo.ai"})]})]}),(0,yn.jsxs)("div",{className:"all-container",children:[(0,yn.jsx)("div",{className:"all-rights-text",children:"2024 Tylo AI Ltd. All rights reserved. "}),(0,yn.jsx)("div",{className:"all-rights-highlight",onClick:()=>{window.open("".concat(window.location.origin,"/#termsofuse"),"_blank")},children:"Terms of use"}),(0,yn.jsx)("div",{className:"all-rights-highlight",onClick:()=>{window.open("".concat(window.location.origin,"/#privacy"),"_blank")},children:"Privacy Policy"}),(0,yn.jsx)("a",{href:"https://www.linkedin.com/company/tyloai/",target:"_blank",rel:"noopener noreferrer",children:(0,yn.jsxs)("svg",{width:"39",height:"39",viewBox:"0 0 39 39",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsxs)("g",{"clip-path":"url(#clip0_2801_871)",children:[(0,yn.jsx)("path",{d:"M29.4609 0.75H9.53906C4.685 0.75 0.75 4.685 0.75 9.53906V29.4609C0.75 34.315 4.685 38.25 9.53906 38.25H29.4609C34.315 38.25 38.25 34.315 38.25 29.4609V9.53906C38.25 4.685 34.315 0.75 29.4609 0.75Z",fill:"white"}),(0,yn.jsx)("path",{d:"M29.4609 0.75H9.53906C4.685 0.75 0.75 4.685 0.75 9.53906V29.4609C0.75 34.315 4.685 38.25 9.53906 38.25H29.4609C34.315 38.25 38.25 34.315 38.25 29.4609V9.53906C38.25 4.685 34.315 0.75 29.4609 0.75Z",fill:"#4476F1"}),(0,yn.jsx)("path",{d:"M27.8079 32.6375H32.0955C32.2508 32.6375 32.3998 32.5757 32.5097 32.4659C32.6196 32.356 32.6814 32.207 32.6814 32.0517L32.6836 22.9928C32.6836 18.258 31.6633 14.6186 26.1302 14.6186C24.0268 14.5403 22.0433 15.6246 20.9729 17.4352C20.9677 17.444 20.9597 17.4508 20.9502 17.4546C20.9407 17.4585 20.9303 17.4591 20.9204 17.4564C20.9105 17.4538 20.9018 17.4479 20.8955 17.4398C20.8893 17.4317 20.8858 17.4218 20.8857 17.4116V15.6416C20.8857 15.4862 20.824 15.3372 20.7141 15.2273C20.6042 15.1174 20.4552 15.0557 20.2998 15.0557H16.2309C16.0755 15.0557 15.9265 15.1174 15.8166 15.2273C15.7067 15.3372 15.645 15.4862 15.645 15.6416V32.0508C15.645 32.2062 15.7067 32.3552 15.8166 32.4651C15.9265 32.575 16.0755 32.6367 16.2309 32.6367H20.5182C20.6736 32.6367 20.8226 32.575 20.9325 32.4651C21.0424 32.3552 21.1042 32.2062 21.1042 32.0508V23.9395C21.1042 21.646 21.5392 19.4249 24.3826 19.4249C27.1856 19.4249 27.2219 22.0493 27.2219 24.088V32.0515C27.2219 32.2069 27.2837 32.3559 27.3935 32.4658C27.5034 32.5757 27.6525 32.6375 27.8079 32.6375ZM6.31641 9.48457C6.31641 11.2225 7.74712 12.6524 9.48516 12.6524C11.2228 12.6523 12.6526 11.2214 12.6526 9.48384C12.6523 7.74624 11.2223 6.31641 9.48457 6.31641C7.74639 6.31641 6.31641 7.74668 6.31641 9.48457ZM7.33579 32.6375H11.6288C11.7842 32.6375 11.9332 32.5757 12.0431 32.4658C12.153 32.3559 12.2147 32.2069 12.2147 32.0515V15.6416C12.2147 15.4862 12.153 15.3372 12.0431 15.2273C11.9332 15.1174 11.7842 15.0557 11.6288 15.0557H7.33579C7.18039 15.0557 7.03136 15.1174 6.92147 15.2273C6.81159 15.3372 6.74985 15.4862 6.74985 15.6416V32.0515C6.74985 32.2069 6.81159 32.3559 6.92147 32.4658C7.03136 32.5757 7.18039 32.6375 7.33579 32.6375Z",fill:"white"})]}),(0,yn.jsx)("defs",{children:(0,yn.jsx)("clipPath",{id:"clip0_2801_871",children:(0,yn.jsx)("rect",{width:"37.5",height:"37.5",fill:"white",transform:"translate(0.75 0.75)"})})})]})})]})]})};const $a=function(){return console.log("privacy component about to render JSX"),(0,yn.jsxs)("div",{className:"feature-page",children:[(0,yn.jsxs)("div",{className:"feature-page-icon",children:[(0,yn.jsx)("img",{src:we,alt:"Tylo Icon",className:"tylo-icon"}),(0,yn.jsxs)("div",{className:"tabs",children:[(0,yn.jsxs)("div",{className:"top-bar-tab-current_page",children:[(0,yn.jsx)("a",{href:"/#features",className:"top-bar-text",children:"Features"})," "]}),(0,yn.jsxs)("div",{className:"top-bar-tab",children:[(0,yn.jsx)("a",{href:"/#about",className:"top-bar-text",children:"About Us"})," "]})]})]}),(0,yn.jsxs)("div",{className:"gradient-rectangle",children:[(0,yn.jsx)("h2",{className:"feature-title",children:"Privacy Policy"}),(0,yn.jsx)("p",{className:"privacy-update",children:"update Date: 15 November 2023"})]}),(0,yn.jsxs)("div",{className:"privacy-page",children:[(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Scope of Privacy Policy"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"The data collected from you when you use the Tylo.ai website and services (\u201cTylo.ai\u201d) is used in line with this Privacy Policy. This Privacy Policy complies with the Data Protection Act 2018 and General Data Protection Regulation (\u201cGDPR\u201d) and other applicable global privacy laws. By accessing Tylo.ai and using it, you consent to the privacy practices of Tylo AI Ltd (\u201cTylo AI\u201d, \u201cwe\u201d, \u201cus\u201d or \u201cour\u201d).\xa0 This Privacy Policy is in addition to other applicable policies and agreements applicable to Tylo.ai \u2013 some of which are referenced in this document (and also found at the footer of the website). Please, review and agree to them along with this Privacy Policy."}),(0,yn.jsx)("div",{className:"grey-tab",children:(0,yn.jsx)("p",{className:"privacy-main-bold",children:"Please, note that if you are using Tylo.ai as an organisation\u2019s representative, you represent that this Privacy Policy applies to the organisation and any other individual using it on behalf of the organisation."})})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Information about us"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We are Tylo AI Ltd, a company registered in the United Kingdom (see below for our company information). We are responsible for the data you provide when you use tylo.ai. Under the GDPR and similar privacy laws, we are referred to as your \u2018Data Controller\u2019. If you have any concerns, issues, requests, complaints or enquiries regarding this Privacy policy, please use the information below to contact us:"}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsx)("div",{className:"grey-tab",children:(0,yn.jsx)("h2",{className:"privacy-sub-header",children:"Tylo AI"})}),(0,yn.jsxs)("div",{className:"grey-tab",children:[(0,yn.jsx)("h2",{className:"privacy-sub-header",children:"Reg No:"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"14734333"})]}),(0,yn.jsxs)("div",{className:"grey-tab",children:[(0,yn.jsx)("h2",{className:"privacy-sub-header",children:"Email:"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"contact@tylo.ai"})]}),(0,yn.jsxs)("div",{className:"grey-tab",children:[(0,yn.jsx)("h2",{className:"privacy-sub-header",children:"Address:"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"7 Bell Yard, London, England, WC2A 2JR, United Kingdom"})]})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"The data we collect"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"Depending on how you interact with Tylo.ai, we will collect data under the following categories:"}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Registration and profile data: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" This may include your name, organisation name, email address, password, picture and any data you provide when you create an account or update your profile."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Contact data: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" This may include the email address submitted as part of your registration information for communication and verification purposes."})]})]})]}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Contact data: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" This may include your name, organisation name, email address, password, picture and any data you provide when you create an account or update your profile."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Payment method data: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" This may include any data contained in any payment method you provide when you subscribe to use Tylo.ai (for example, if you use a credit/debit card, we may ask for your card numbers and billing address)."})]})]})]}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Transaction data: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" This may include data concerning your subscription, including the plan you subscribe to, the payment method used and the time and date of expiry."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Device data: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" This may include your device IP Address, geolocation, internet service provider, browser type, operating system and other device identifiers."})]})]})]}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Usage and behaviourial data: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" This may include data about your search terms, features accessed, duration of use, referring URL and any other anonymous data about your behaviour on Tylo.ai."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Sensitive data: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" Some of the data we collect may be termed sensitive under certain privacy laws (for example, your payment method data). Such data are subject to additional handling precautions."})]})]})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"How we collect your data"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"We may collect the data described above in 2 major ways:"}),(0,yn.jsxs)("div",{className:"grey-tab",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["The data you give to us ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" This may include any data you willingly submit to us, especially via forms on Tylo.ai. (for example, the sign up form, contact us form, etc.)."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["The data we collect automatically ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" The data we collect automatically When you access Tylo.ai, including as a visitor, we use cookies, beacons, pixels, and third-party analytics and tracking tools to gather anonymous data that identifies your behaviours."})]})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Our legal bases for processing your data"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"In accordance with the GDPR and other applicable privacy laws, Tylo AI relies on the following legal bases when we process personal data:"}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M7.56266 14.1459H14.4377M7.56266 18.7292H11.0002M1.8335 3.83335V22.1667C1.8335 22.7745 2.07494 23.3574 2.50471 23.7871C2.93448 24.2169 3.51738 24.4584 4.12516 24.4584H17.8752C18.483 24.4584 19.0658 24.2169 19.4956 23.7871C19.9254 23.3574 20.1668 22.7745 20.1668 22.1667V8.80856C20.1668 8.50327 20.1058 8.20105 19.9873 7.91968C19.8688 7.6383 19.6954 7.38342 19.477 7.17002L14.3895 2.19481C13.9614 1.77619 13.3864 1.54176 12.7877 1.54169H4.12516C3.51738 1.54169 2.93448 1.78313 2.50471 2.2129C2.07494 2.64267 1.8335 3.22557 1.8335 3.83335Z",stroke:"#4476F1","stroke-width":"2.29167","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M13.292 1.54169V6.12502C13.292 6.73281 13.5334 7.3157 13.9632 7.74547C14.393 8.17524 14.9759 8.41669 15.5837 8.41669H20.167",stroke:"#4476F1","stroke-width":"2.29167","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Consent: "})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We mostly rely on consent when we process personal data. This means that you are aware and have given us consent to use the data for the purposes communicated. You have the option to withdraw any given consent at any time.\xa0"})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M7.56266 14.1459H14.4377M7.56266 18.7292H11.0002M1.8335 3.83335V22.1667C1.8335 22.7745 2.07494 23.3574 2.50471 23.7871C2.93448 24.2169 3.51738 24.4584 4.12516 24.4584H17.8752C18.483 24.4584 19.0658 24.2169 19.4956 23.7871C19.9254 23.3574 20.1668 22.7745 20.1668 22.1667V8.80856C20.1668 8.50327 20.1058 8.20105 19.9873 7.91968C19.8688 7.6383 19.6954 7.38342 19.477 7.17002L14.3895 2.19481C13.9614 1.77619 13.3864 1.54176 12.7877 1.54169H4.12516C3.51738 1.54169 2.93448 1.78313 2.50471 2.2129C2.07494 2.64267 1.8335 3.22557 1.8335 3.83335Z",stroke:"#4476F1","stroke-width":"2.29167","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M13.292 1.54169V6.12502C13.292 6.73281 13.5334 7.3157 13.9632 7.74547C14.393 8.17524 14.9759 8.41669 15.5837 8.41669H20.167",stroke:"#4476F1","stroke-width":"2.29167","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Contract performance:  "})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We may also process your data because we need it to perform a contract with you (for example, we need your inputs on the question box to provide relevant answers)."})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M7.56266 14.1459H14.4377M7.56266 18.7292H11.0002M1.8335 3.83335V22.1667C1.8335 22.7745 2.07494 23.3574 2.50471 23.7871C2.93448 24.2169 3.51738 24.4584 4.12516 24.4584H17.8752C18.483 24.4584 19.0658 24.2169 19.4956 23.7871C19.9254 23.3574 20.1668 22.7745 20.1668 22.1667V8.80856C20.1668 8.50327 20.1058 8.20105 19.9873 7.91968C19.8688 7.6383 19.6954 7.38342 19.477 7.17002L14.3895 2.19481C13.9614 1.77619 13.3864 1.54176 12.7877 1.54169H4.12516C3.51738 1.54169 2.93448 1.78313 2.50471 2.2129C2.07494 2.64267 1.8335 3.22557 1.8335 3.83335Z",stroke:"#4476F1","stroke-width":"2.29167","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M13.292 1.54169V6.12502C13.292 6.73281 13.5334 7.3157 13.9632 7.74547C14.393 8.17524 14.9759 8.41669 15.5837 8.41669H20.167",stroke:"#4476F1","stroke-width":"2.29167","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Legal obligation:  "})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We may process some of your data because we are required by law to do so (for example, we are required to keep records of transactions)."})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M7.56266 14.1459H14.4377M7.56266 18.7292H11.0002M1.8335 3.83335V22.1667C1.8335 22.7745 2.07494 23.3574 2.50471 23.7871C2.93448 24.2169 3.51738 24.4584 4.12516 24.4584H17.8752C18.483 24.4584 19.0658 24.2169 19.4956 23.7871C19.9254 23.3574 20.1668 22.7745 20.1668 22.1667V8.80856C20.1668 8.50327 20.1058 8.20105 19.9873 7.91968C19.8688 7.6383 19.6954 7.38342 19.477 7.17002L14.3895 2.19481C13.9614 1.77619 13.3864 1.54176 12.7877 1.54169H4.12516C3.51738 1.54169 2.93448 1.78313 2.50471 2.2129C2.07494 2.64267 1.8335 3.22557 1.8335 3.83335Z",stroke:"#4476F1","stroke-width":"2.29167","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M13.292 1.54169V6.12502C13.292 6.73281 13.5334 7.3157 13.9632 7.74547C14.393 8.17524 14.9759 8.41669 15.5837 8.41669H20.167",stroke:"#4476F1","stroke-width":"2.29167","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Legitimate interest: "})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We may process personal data based on our legitimate interests, including where it helps us to detect violations, make Tylo.ai secure, and improve and enhance its functionality."})]})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"How we Use your data"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"In summary, we collect your data to provide and improve Tylo.ai, communicate with you and comply with applicable laws. Specifically, we use your data for the following purposes:"}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"01"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To provide you with an account, a profile, and provide you access to features on Tylo.ai"})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"02"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To notify you of stuff related to your account and use of Tylo.ai"})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"03"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To detect and monitor violations of and enforce our Terms of Use"})]})]}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"04"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To verify your account and identify you"})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"05"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To notify you of promotions, bonuses and marketing messages if you consent"})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"06"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To learn about your behaviours to further personalize Tylo.ai to you"})]})]}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"07"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To secure your account from unauthorized access"})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"08"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To process your subscription payments and maintain records"})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"09"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To gather analytics and improve Tylo.ai."})]})]}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"10"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To communicate with you, including responding to your inquiries and updating you about any news or events about Tylo.ai"})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"11"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To comply with applicable laws and regulations"})]})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"How we may disclose your data"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"We do not disclose your data except as described below:"}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"28",height:"24",viewBox:"0 0 28 24",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.4968 10.4121L13.9998 9.27275L16.4968 8.13336L17.6362 5.63639L18.7756 8.13336L21.2726 9.27275L18.7756 10.4121L17.6362 12.9091L16.4968 10.4121ZM4.30287 15.3334L5.44226 12.8364L7.93923 11.697L5.44226 10.5576L4.30287 8.06063L3.16347 10.5576L0.666504 11.697L3.16347 12.8364L4.30287 15.3334ZM9.75741 9.27275L11.0786 6.35154L13.9998 5.03033L11.0786 3.70911L9.75741 0.787903L8.4362 3.70911L5.51499 5.03033L8.4362 6.35154L9.75741 9.27275ZM4.90893 23.2121L12.1817 15.9273L17.0301 20.7758L27.3332 9.1879L25.6241 7.47881L17.0301 17.1394L12.1817 12.2909L3.09075 21.394L4.90893 23.2121Z",fill:"#4476F1"})})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Third-party service providers"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We may use third parties to provide some of the Tylo.ai functionality, including payment processing, website hosting, data storage and marketing. These parties may access personal data to perform their services for us. However, they are obligated (through business agreements) to only use the data for Tylo.ai purposes."})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M10.9165 3.33331V9.83331C10.9165 11.0304 8.73359 12 6.0415 12C3.34942 12 1.1665 11.0304 1.1665 9.83331V3.33331",stroke:"#4476F1","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M10.9165 6.58335C10.9165 7.78044 8.73359 8.75002 6.0415 8.75002C3.34942 8.75002 1.1665 7.78044 1.1665 6.58335M16.3332 2.25002H19.5832C20.1578 2.25002 20.7089 2.47829 21.1152 2.88462C21.5216 3.29095 21.7498 3.84205 21.7498 4.41669V7.66669M7.6665 21.75H4.4165C3.84187 21.75 3.29077 21.5217 2.88444 21.1154C2.47811 20.7091 2.24984 20.158 2.24984 19.5834V16.3334M10.9165 3.33335C10.9165 4.53044 8.73359 5.50002 6.0415 5.50002C3.34942 5.50002 1.1665 4.53044 1.1665 3.33335C1.1665 2.13627 3.34942 1.16669 6.0415 1.16669C8.73359 1.16669 10.9165 2.13627 10.9165 3.33335Z",stroke:"#4476F1","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M17.9583 17.4167C19.4541 17.4167 20.6667 16.2041 20.6667 14.7083C20.6667 13.2126 19.4541 12 17.9583 12C16.4626 12 15.25 13.2126 15.25 14.7083C15.25 16.2041 16.4626 17.4167 17.9583 17.4167Z",stroke:"#4476F1","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M22.833 22.8334H13.083C13.083 22.1932 13.2091 21.5593 13.4541 20.9678C13.6991 20.3763 14.0582 19.8389 14.5109 19.3862C14.9635 18.9335 15.501 18.5745 16.0924 18.3295C16.6839 18.0845 17.3178 17.9584 17.958 17.9584C18.5982 17.9584 19.2321 18.0845 19.8236 18.3295C20.4151 18.5745 20.9525 18.9335 21.4052 19.3862C21.8578 19.8389 22.2169 20.3763 22.4619 20.9678C22.7069 21.5593 22.833 22.1932 22.833 22.8334Z",stroke:"#4476F1","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"At your request"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We may also transfer your data based on your request or consent. For example, if you request to use the share and review feature that allows you to share content with specific people or groups, those people or groups will see your data."})]})]}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M7.56266 14.1459H14.4377M7.56266 18.7292H11.0002M1.8335 3.83335V22.1667C1.8335 22.7745 2.07494 23.3574 2.50471 23.7871C2.93448 24.2169 3.51738 24.4584 4.12516 24.4584H17.8752C18.483 24.4584 19.0658 24.2169 19.4956 23.7871C19.9254 23.3574 20.1668 22.7745 20.1668 22.1667V8.80856C20.1668 8.50327 20.1058 8.20105 19.9873 7.91968C19.8688 7.6383 19.6954 7.38342 19.477 7.17002L14.3895 2.19481C13.9614 1.77619 13.3864 1.54176 12.7877 1.54169H4.12516C3.51738 1.54169 2.93448 1.78313 2.50471 2.2129C2.07494 2.64267 1.8335 3.22557 1.8335 3.83335Z",stroke:"#4476F1","stroke-width":"2.29167","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M13.292 1.54175V6.12508C13.292 6.73287 13.5334 7.31576 13.9632 7.74553C14.393 8.17531 14.9759 8.41675 15.5837 8.41675H20.167",stroke:"#4476F1","stroke-width":"2.29167","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Legal requirements"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We may disclose personal data in good faith belief if it is necessary to (i) comply with a legal obligation; (ii) protect and defend our rights and intellectual property and those of other users or third parties; (iii) prevent or investigate possible wrongdoing in connection with Tylo.ai; (iv) protect the personal safety of Tylo.ai users or the public; or (v) protect against legal liability."})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M18.5106 22.4166V21.1146M18.5106 15.9062V14.6041M5.48975 1.58331V22.4166M5.48975 22.4166L1.5835 18.5104M5.48975 22.4166L9.396 18.5104M18.5106 9.39581V1.58331M18.5106 1.58331L14.6043 5.48956M18.5106 1.58331L22.4168 5.48956",stroke:"#4476F1","stroke-width":"1.95312","stroke-linecap":"round","stroke-linejoin":"round"})})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Business transfers"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"If we are involved in a merger, consolidation, acquisition or asset sale, or we are subject to bankruptcy, we may disclose your data to the companies involved. We will provide notice before your data is transferred and becomes subject to a different privacy policy."})]})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M0.916504 13C0.916504 7.30394 0.916504 4.4559 2.6855 2.68569C4.45692 0.916687 7.30375 0.916687 12.9998 0.916687C18.6959 0.916687 21.544 0.916687 23.313 2.68569C25.0832 4.4571 25.0832 7.30394 25.0832 13C25.0832 18.6961 25.0832 21.5441 23.313 23.3131C21.5452 25.0834 18.6959 25.0834 12.9998 25.0834C7.30375 25.0834 4.45571 25.0834 2.6855 23.3131C0.916504 21.5454 0.916504 18.6961 0.916504 13Z",stroke:"#4476F1","stroke-width":"1.8125"}),(0,yn.jsx)("path",{d:"M6.95801 15.4167L9.72872 12.646C9.95531 12.4195 10.2626 12.2922 10.583 12.2922C10.9034 12.2922 11.2107 12.4195 11.4373 12.646L13.3537 14.5624C13.5803 14.7889 13.8876 14.9162 14.208 14.9162C14.5284 14.9162 14.8357 14.7889 15.0623 14.5624L19.0413 10.5834M19.0413 10.5834V13.6042M19.0413 10.5834H16.0205",stroke:"#4476F1","stroke-width":"1.8125","stroke-linecap":"round","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Analytics partners"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We may use tools from third parties to gather analytics and obtain insights about how users use Tylo.ai, we then use the data for personalization and improvement. These parties may have anonymous data about users\u2019 devices and other behavioural data described in the data collection section of this Privacy Policy (for example, we may use Google Analytics, from Google, or any other third-party analytics tool). You can opt out from Google Analytics tracking by downloading the Google Analytics Opt-out\xa0 Browser Add-on."})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"How we secure your data"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We are committed to ensuring the security of your data. We implement various measures to safeguard the confidentiality, integrity and availability of your data. We use Secure Socket Layer (SSL) Encryption to ensure all data transmitted between your device and Tylo.ai is secured and private to external parties. We ensure third parties we use sign Non-Disclosure Agreements to prevent them from using your data for anything other than our offerings. We limit access to your data on a need-to-know basis, including with our employees."}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Furthermore, we may use trusted payment processors to process your subscription. If you provide any payment method data, it is directly collected by our processors and used to process your payments. We only collect the data we need to provide Tylo.ai."}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"However, despite our security measures, it may not be possible to prevent all unauthorised access attempts, as no data transmission or storage is entirely foolproof. Therefore, while we strive to protect your data, we cannot guarantee its absolute security."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"How long we retain your data"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Our retention period depends on the type of data and its uses. However, we generally retain data until its purpose of collection is achieved. Once you request the deletion of your data, we take steps to delete it within 30 days. For example, we retain your account data until your account is closed. Your payment method may be retained by our payment processing partner until you decide to request the deletion. Information about your device and behaviour on Tylo.ai is usually retained and deleted automatically after 18 months."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"International transfer of personal data"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"As a Data Controller, we are registered in and operate in the United Kingdom, and we process personal data in accordance with the Data Protection Act 2018 and GDPR. However, we may use third parties in other locations and share data with them. This means that they may process the data in accordance with laws different from the Data Protection Act 2018 and GDPR. By using Tylo.ai, you consent to the international transfer of your data. However, we take all reasonable steps to comply with the requirements of regulations regarding the international transfer of data. We ensure the third parties are bound by confidentiality agreements, they are reputable, and where relevant, we use Standard Contractual Clauses provided by the European Commission."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Cookies and similar technologies"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"Tylo AI uses cookies, web beacons, pixels and similar tracking technologies to enhance your experience, gather behavioural data, secure Tylo.ai and enable certain functionalities. Cookies are tiny, harmless data that is attached to your browser when you access a website."}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Cookie consent banner ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" Upon visiting Tylo.ai, you might encounter a cookie consent banner. This banner provides you with the option to accept or reject the use of cookies on Tylo.ai. By accepting our use of cookies on the cookie banner, you agree to our use of all cookies mentioned in this section."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Types of cookies used ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" Session cookies: Session cookies are temporary and are used to maintain session information for the user during their visit to Tylo.ai. These cookies are essential for the proper functioning of Tylo.ai and ensure a seamless user experience. They are automatically deleted from your device when you close your browser."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Analytical cookies: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" Analytical cookies collect data about how visitors use Tylo.ai and help analyze website performance and user behaviour. These cookies provide us with valuable insights into how users interact with Tylo.ai. The information collected is used to improve Tylo.ai\u2019s functionality, content, and overall user experience."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Functional cookies: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" Functional cookies enable certain functionalities on Tylo.ai, such as remembering user inputs. These cookies enhance Tylo.ai\u2019s usability by remembering your preferences and choices, contributing to a more personalised and convenient browsing experience."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Third-party cookies ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" These cookies are set by our third parties that perform certain tasks on our behalf. For example, Google, Microsoft Azure and Stripe may embed cookies on Tylo.ai to enable them to provide their services for us."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Managing cookies ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" If you do not want your online activities monitored via cookies, you can manage your preferences on the cookie consent banner or simply go to your browser privacy settings section. Please refer to your browser's help documentation for information on how to disable or delete cookies. Keep in mind that disabling cookies may limit your smooth experience on Tylo.ai."})]})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Our marketing practices"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"Tylo AI uses cookies, web beacons, pixels and similar tracking technologies to enhance your experience, gather behavioural data, secure Tylo.ai and enable certain functionalities. Cookies are tiny, harmless data that is attached to your browser when you access a website."}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"28",height:"24",viewBox:"0 0 28 24",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.4968 10.4121L13.9998 9.27275L16.4968 8.13336L17.6362 5.63639L18.7756 8.13336L21.2726 9.27275L18.7756 10.4121L17.6362 12.9091L16.4968 10.4121ZM4.30287 15.3334L5.44226 12.8364L7.93923 11.697L5.44226 10.5576L4.30287 8.06063L3.16347 10.5576L0.666504 11.697L3.16347 12.8364L4.30287 15.3334ZM9.75741 9.27275L11.0786 6.35154L13.9998 5.03033L11.0786 3.70911L9.75741 0.787903L8.4362 3.70911L5.51499 5.03033L8.4362 6.35154L9.75741 9.27275ZM4.90893 23.2121L12.1817 15.9273L17.0301 20.7758L27.3332 9.1879L25.6241 7.47881L17.0301 17.1394L12.1817 12.2909L3.09075 21.394L4.90893 23.2121Z",fill:"#4476F1"})})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Email marketing"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We engage in email marketing where we send occasional marketing emails about offers, promotions and news we think may interest you. We send marketing emails based on your consent (i.e., when you submit your email address in the opt-in form), and we also provide an opt-out means if you wish to withdraw your consent. You can use the \u201cunsubscribe\u201d link at the bottom of any email from us to opt out. Please be aware that marketing emails do not relate to administrative emails, such as updates and notices about your account."})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M10.9165 3.33331V9.83331C10.9165 11.0304 8.73359 12 6.0415 12C3.34942 12 1.1665 11.0304 1.1665 9.83331V3.33331",stroke:"#4476F1","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M10.9165 6.58335C10.9165 7.78044 8.73359 8.75002 6.0415 8.75002C3.34942 8.75002 1.1665 7.78044 1.1665 6.58335M16.3332 2.25002H19.5832C20.1578 2.25002 20.7089 2.47829 21.1152 2.88462C21.5216 3.29095 21.7498 3.84205 21.7498 4.41669V7.66669M7.6665 21.75H4.4165C3.84187 21.75 3.29077 21.5217 2.88444 21.1154C2.47811 20.7091 2.24984 20.158 2.24984 19.5834V16.3334M10.9165 3.33335C10.9165 4.53044 8.73359 5.50002 6.0415 5.50002C3.34942 5.50002 1.1665 4.53044 1.1665 3.33335C1.1665 2.13627 3.34942 1.16669 6.0415 1.16669C8.73359 1.16669 10.9165 2.13627 10.9165 3.33335Z",stroke:"#4476F1","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M17.9583 17.4167C19.4541 17.4167 20.6667 16.2041 20.6667 14.7083C20.6667 13.2126 19.4541 12 17.9583 12C16.4626 12 15.25 13.2126 15.25 14.7083C15.25 16.2041 16.4626 17.4167 17.9583 17.4167Z",stroke:"#4476F1","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M22.833 22.8334H13.083C13.083 22.1932 13.2091 21.5593 13.4541 20.9678C13.6991 20.3763 14.0582 19.8389 14.5109 19.3862C14.9635 18.9335 15.501 18.5745 16.0924 18.3295C16.6839 18.0845 17.3178 17.9584 17.958 17.9584C18.5982 17.9584 19.2321 18.0845 19.8236 18.3295C20.4151 18.5745 20.9525 18.9335 21.4052 19.3862C21.8578 19.8389 22.2169 20.3763 22.4619 20.9678C22.7069 21.5593 22.833 22.1932 22.833 22.8334Z",stroke:"#4476F1","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Interest-based advertising"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We may work with ad networks and network advertisers to provide us with traffic analytics and advertise Tylo.ai on their platforms and across other websites. We may allow these third parties to collect data about your behaviours on Tylo.ai. We may also share the usage and behavioural data we have anonymously gathered with them. Then they may gather the same data about you on other platforms you visit and use it to show you interest-based adverts."})]})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsx)("div",{className:"grey-sub-container",children:(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"You can opt out of interest-based advertising by doing any of the following:"})}),(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M2.06683 13.9336C1.59016 13.9336 1.18225 13.764 0.843096 13.4248C0.503941 13.0857 0.334074 12.6775 0.333496 12.2002V1.80023C0.333496 1.32356 0.503363 0.91565 0.843096 0.576494C1.18283 0.237339 1.59074 0.0674723 2.06683 0.0668945H15.9335C16.4102 0.0668945 16.8184 0.236761 17.1581 0.576494C17.4978 0.916228 17.6674 1.32414 17.6668 1.80023V12.2002C17.6668 12.6769 17.4972 13.0851 17.1581 13.4248C16.8189 13.7646 16.4107 13.9341 15.9335 13.9336H2.06683ZM3.80016 11.3336H14.2002C14.4457 11.3336 14.6517 11.2504 14.8181 11.084C14.9845 10.9176 15.0674 10.7119 15.0668 10.4669C15.0668 10.2213 14.9836 10.0156 14.8172 9.84983C14.6508 9.684 14.4451 9.6008 14.2002 9.60023H3.80016C3.55461 9.60023 3.34892 9.68343 3.1831 9.84983C3.01727 10.0162 2.93407 10.2219 2.9335 10.4669C2.9335 10.7124 3.0167 10.9184 3.1831 11.0848C3.3495 11.2512 3.55518 11.3341 3.80016 11.3336ZM3.80016 7.86689H14.2002C14.4457 7.86689 14.6517 7.78369 14.8181 7.61729C14.9845 7.45089 15.0674 7.2452 15.0668 7.00023C15.0668 6.75467 14.9836 6.54898 14.8172 6.38316C14.6508 6.21734 14.4451 6.13414 14.2002 6.13356H3.80016C3.55461 6.13356 3.34892 6.21676 3.1831 6.38316C3.01727 6.54956 2.93407 6.75525 2.9335 7.00023C2.9335 7.24578 3.0167 7.45176 3.1831 7.61816C3.3495 7.78456 3.55518 7.86747 3.80016 7.86689ZM3.80016 4.40023H10.7335C10.979 4.40023 11.185 4.31703 11.3514 4.15063C11.5178 3.98423 11.6007 3.77854 11.6002 3.53356C11.6002 3.28801 11.517 3.08232 11.3506 2.91649C11.1842 2.75067 10.9785 2.66747 10.7335 2.66689H3.80016C3.55461 2.66689 3.34892 2.75009 3.1831 2.91649C3.01727 3.08289 2.93407 3.28858 2.9335 3.53356C2.9335 3.77912 3.0167 3.98509 3.1831 4.15149C3.3495 4.31789 3.55518 4.4008 3.80016 4.40023Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Ad choices tools: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" Many of the ad network companies belong to self-regulatory programs, such as the Digital Advertising Alliance (DAA), Network Advertising Initiative (NAI), and European Interactive Digital Advertising Alliance (EDAA). Click on the respective links to learn more, including how to opt out."})]})]}),(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"14",viewBox:"0 0 18 14",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M2.06683 13.9336C1.59016 13.9336 1.18225 13.764 0.843096 13.4248C0.503941 13.0857 0.334074 12.6775 0.333496 12.2002V1.80023C0.333496 1.32356 0.503363 0.91565 0.843096 0.576494C1.18283 0.237339 1.59074 0.0674723 2.06683 0.0668945H15.9335C16.4102 0.0668945 16.8184 0.236761 17.1581 0.576494C17.4978 0.916228 17.6674 1.32414 17.6668 1.80023V12.2002C17.6668 12.6769 17.4972 13.0851 17.1581 13.4248C16.8189 13.7646 16.4107 13.9341 15.9335 13.9336H2.06683ZM3.80016 11.3336H14.2002C14.4457 11.3336 14.6517 11.2504 14.8181 11.084C14.9845 10.9176 15.0674 10.7119 15.0668 10.4669C15.0668 10.2213 14.9836 10.0156 14.8172 9.84983C14.6508 9.684 14.4451 9.6008 14.2002 9.60023H3.80016C3.55461 9.60023 3.34892 9.68343 3.1831 9.84983C3.01727 10.0162 2.93407 10.2219 2.9335 10.4669C2.9335 10.7124 3.0167 10.9184 3.1831 11.0848C3.3495 11.2512 3.55518 11.3341 3.80016 11.3336ZM3.80016 7.86689H14.2002C14.4457 7.86689 14.6517 7.78369 14.8181 7.61729C14.9845 7.45089 15.0674 7.2452 15.0668 7.00023C15.0668 6.75467 14.9836 6.54898 14.8172 6.38316C14.6508 6.21734 14.4451 6.13414 14.2002 6.13356H3.80016C3.55461 6.13356 3.34892 6.21676 3.1831 6.38316C3.01727 6.54956 2.93407 6.75525 2.9335 7.00023C2.9335 7.24578 3.0167 7.45176 3.1831 7.61816C3.3495 7.78456 3.55518 7.86747 3.80016 7.86689ZM3.80016 4.40023H10.7335C10.979 4.40023 11.185 4.31703 11.3514 4.15063C11.5178 3.98423 11.6007 3.77854 11.6002 3.53356C11.6002 3.28801 11.517 3.08232 11.3506 2.91649C11.1842 2.75067 10.9785 2.66747 10.7335 2.66689H3.80016C3.55461 2.66689 3.34892 2.75009 3.1831 2.91649C3.01727 3.08289 2.93407 3.28858 2.9335 3.53356C2.9335 3.77912 3.0167 3.98509 3.1831 4.15149C3.3495 4.31789 3.55518 4.4008 3.80016 4.40023Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Browser settings: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" You can manage your privacy settings to block third-party cookies and tracking."})]})]}),(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M17.0103 2.96957C17.0035 2.9627 15.6098 4.34029 12.8363 7.10922L10.8903 5.16317L15.0368 1.01665C12.8546 -0.29676 10.0513 0.0401881 8.23364 1.85787C7.53882 2.5523 7.03881 3.41721 6.78374 4.36586C6.52868 5.31452 6.52753 6.31356 6.78041 7.2628L6.82167 7.41637L0.323382 13.9124C0.181268 14.0545 0.181268 14.2883 0.323382 14.4304L3.5645 17.6715C3.70662 17.8136 3.94042 17.8136 4.08253 17.6715L10.5762 11.1778L10.7298 11.2191C12.6483 11.7302 14.709 11.1984 16.1393 9.76813C17.9593 7.95045 18.2962 5.14713 17.0103 2.96957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Privacy-focused browsers and tools: ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" Consider using browsers that are privacy-focused. You can also download privacy-focused browser extensions."})]})]})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Children privacy"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Tylo.ai is not targeted at people under the age of majority. We do not knowingly collect or solicit data from individuals under 18 years of age. By using Tylo.ai, you confirm that you are at least 18 years of age. If you are under 18 years of age, you may only use Tylo.ai under a parent or legal guardian\u2019s supervision. If you are a parent or legal guardian whose child has submitted personal data, please reach out to us at contact@tylo.ai to have us delete it."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Third-party links and adverts"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Tylo.ai may contain adverts, links, and content that lead to other websites, software, apps, and services. This Privacy Policy does not describe the privacy practices of the respective third parties. If you submit any data to any website, software or app outside of Tylo.ai, you release us from any liabilities."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Rights and choices"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"In addition to other rights already provided, you have the following rights and choices with respect to how we process your data:"}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Right to access ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" You have the right to request access to the personal data we hold about you. This includes information about the purposes of the processing, the categories of personal data involved and the recipients or categories of recipients to whom the data has been or will be disclosed. You can see the \u201cHow we may disclose data\u201d section of this Privacy Policy to see how we may disclose your data, or you can reach out to us at contact@tylo.ai."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Right to rectification ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" If the personal data we hold about you is inaccurate or incomplete, you have the right to request corrections or updates. You can do this by using the account management feature in your account to edit any inaccurate data."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Right to erasure (Right to be forgotten) ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" You have the right to request the deletion of your data under certain circumstances. This right is not absolute and may not apply in certain situations, such as when processing is necessary for compliance with a legal obligation. You can use the \u201cDelete Account\u201d button via the account management section of your account to request the erasure of your data."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Right to restriction of processing ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" You have the right to request the restriction of processing of your data under certain circumstances, such as when the accuracy of the data is contested, or the processing is unlawful."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Right to object ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" You have the right to object to the processing of personal data for certain purposes, such as direct marketing or processing based on legitimate interests. We will assess your objection and cease processing unless we have compelling legitimate grounds for the processing that override your interests, rights and freedoms."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Right to data portability ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" You have the right to receive a copy of your data in a structured, commonly used and machine-readable format and to transmit that data to another data controller without hindrance from us."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Right to withdraw consent ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" If we rely on your consent for the processing of your data, you have the right to withdraw that consent at any time. The withdrawal of consent does not affect the lawfulness of processing based on consent before its withdrawal."})]})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsxs)("p",{className:"privacy-main-bold",children:["Right to reporting ",(0,yn.jsx)("p",{className:"privacy-main-text",children:" If you believe we are unlawfully processing your data, you have the right to report us to any data protection authority in your location. For example, UK users can report to the Report to the Information Commissioner\u2019s Office (ICO)."})]})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Sale of personal data"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We are not in the business of selling personal data to third parties for their direct marketing purposes. However, under certain laws, such as the California Consumer Privacy Act (CCPA), as amended by the California Privacy Rights Act (CPRA), the sharing of personal data with third parties in connection with advertising Tylo.ai (specifically interest-based advertising) is regarded a \u201csale of personal data\u201d for monetary consideration. We are required to provide an opt-out means for you to opt out. You can click on the \u201cDo Not Sell My Information\u201d banner to learn more. You may also contact us at contact@tylo.ai for more."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Do Not Track signals"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We do not currently respond to Do Not Track signals from your browser, as this feature is currently not consistent among industry participants.\xa0"})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Updates"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:'We may update this Privacy Policy from time to time to reflect changes in our practices, technology, legal requirements and for other reasons. If we make changes, we will revise the "Effective Date" at the top of this Privacy Policy. We may notify you of changes via a pop-up banner or a mail to your account email address. We encourage you to review this Privacy Policy periodically to stay informed about how we are protecting your data. Your continued use of Tylo.ai after the posting of any updated Privacy Policy shall constitute your agreement to be bound by any such changes.'})]})]}),(0,yn.jsxs)("div",{className:"all-container",children:[(0,yn.jsx)("div",{className:"all-rights-text",children:"2024 Tylo AI Ltd. All rights reserved. "}),(0,yn.jsx)("div",{className:"all-rights-highlight",onClick:()=>{window.open("".concat(window.location.origin,"/#termsofuse"),"_blank")},children:"Terms of use"}),(0,yn.jsx)("div",{className:"all-rights-highlight",onClick:()=>{window.open("".concat(window.location.origin,"/#privacy"),"_blank")},children:"Privacy Policy"}),(0,yn.jsx)("a",{href:"https://www.linkedin.com/company/tyloai/",target:"_blank",rel:"noopener noreferrer",children:(0,yn.jsxs)("svg",{width:"39",height:"39",viewBox:"0 0 39 39",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsxs)("g",{"clip-path":"url(#clip0_2801_871)",children:[(0,yn.jsx)("path",{d:"M29.4609 0.75H9.53906C4.685 0.75 0.75 4.685 0.75 9.53906V29.4609C0.75 34.315 4.685 38.25 9.53906 38.25H29.4609C34.315 38.25 38.25 34.315 38.25 29.4609V9.53906C38.25 4.685 34.315 0.75 29.4609 0.75Z",fill:"white"}),(0,yn.jsx)("path",{d:"M29.4609 0.75H9.53906C4.685 0.75 0.75 4.685 0.75 9.53906V29.4609C0.75 34.315 4.685 38.25 9.53906 38.25H29.4609C34.315 38.25 38.25 34.315 38.25 29.4609V9.53906C38.25 4.685 34.315 0.75 29.4609 0.75Z",fill:"#4476F1"}),(0,yn.jsx)("path",{d:"M27.8079 32.6375H32.0955C32.2508 32.6375 32.3998 32.5757 32.5097 32.4659C32.6196 32.356 32.6814 32.207 32.6814 32.0517L32.6836 22.9928C32.6836 18.258 31.6633 14.6186 26.1302 14.6186C24.0268 14.5403 22.0433 15.6246 20.9729 17.4352C20.9677 17.444 20.9597 17.4508 20.9502 17.4546C20.9407 17.4585 20.9303 17.4591 20.9204 17.4564C20.9105 17.4538 20.9018 17.4479 20.8955 17.4398C20.8893 17.4317 20.8858 17.4218 20.8857 17.4116V15.6416C20.8857 15.4862 20.824 15.3372 20.7141 15.2273C20.6042 15.1174 20.4552 15.0557 20.2998 15.0557H16.2309C16.0755 15.0557 15.9265 15.1174 15.8166 15.2273C15.7067 15.3372 15.645 15.4862 15.645 15.6416V32.0508C15.645 32.2062 15.7067 32.3552 15.8166 32.4651C15.9265 32.575 16.0755 32.6367 16.2309 32.6367H20.5182C20.6736 32.6367 20.8226 32.575 20.9325 32.4651C21.0424 32.3552 21.1042 32.2062 21.1042 32.0508V23.9395C21.1042 21.646 21.5392 19.4249 24.3826 19.4249C27.1856 19.4249 27.2219 22.0493 27.2219 24.088V32.0515C27.2219 32.2069 27.2837 32.3559 27.3935 32.4658C27.5034 32.5757 27.6525 32.6375 27.8079 32.6375ZM6.31641 9.48457C6.31641 11.2225 7.74712 12.6524 9.48516 12.6524C11.2228 12.6523 12.6526 11.2214 12.6526 9.48384C12.6523 7.74624 11.2223 6.31641 9.48457 6.31641C7.74639 6.31641 6.31641 7.74668 6.31641 9.48457ZM7.33579 32.6375H11.6288C11.7842 32.6375 11.9332 32.5757 12.0431 32.4658C12.153 32.3559 12.2147 32.2069 12.2147 32.0515V15.6416C12.2147 15.4862 12.153 15.3372 12.0431 15.2273C11.9332 15.1174 11.7842 15.0557 11.6288 15.0557H7.33579C7.18039 15.0557 7.03136 15.1174 6.92147 15.2273C6.81159 15.3372 6.74985 15.4862 6.74985 15.6416V32.0515C6.74985 32.2069 6.81159 32.3559 6.92147 32.4658C7.03136 32.5757 7.18039 32.6375 7.33579 32.6375Z",fill:"white"})]}),(0,yn.jsx)("defs",{children:(0,yn.jsx)("clipPath",{id:"clip0_2801_871",children:(0,yn.jsx)("rect",{width:"37.5",height:"37.5",fill:"white",transform:"translate(0.75 0.75)"})})})]})})]})]})};const Ya=function(){return(0,yn.jsxs)("div",{className:"feature-page",children:[(0,yn.jsxs)("div",{className:"feature-page-icon",children:[(0,yn.jsx)("img",{src:we,alt:"Tylo Icon",className:"tylo-icon"}),(0,yn.jsxs)("div",{className:"tabs",children:[(0,yn.jsxs)("div",{className:"top-bar-tab-current_page",children:[(0,yn.jsx)("a",{href:"/#features",className:"top-bar-text",children:"Features"})," "]}),(0,yn.jsxs)("div",{className:"top-bar-tab",children:[(0,yn.jsx)("a",{href:"/#about",className:"top-bar-text",children:"About Us"})," "]})]})]}),(0,yn.jsxs)("div",{className:"gradient-rectangle",children:[(0,yn.jsx)("h2",{className:"feature-title",children:"Terms of Use"}),(0,yn.jsx)("p",{className:"privacy-update",children:"update Date: 15 November 2023"})]}),(0,yn.jsxs)("div",{className:"privacy-page",children:[(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Welcome"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Whether you an individual user, an academic institution or an organisation, these Terms of Use (\u201cTerms\u201d) apply to you. Please read and agree to them as they represent the conditions of your use of the tylo.ai website and associated research insight services (\u201cTylo.ai\u201d). These Terms form a binding agreement between you and Tylo AI Ltd (\u201cwe\u201d, \u201cus\u201d or \u201cour\u201d). By using Tylo.ai, you agree to these Terms in their entirety. If you are unable to agree with these Terms, please do not create an account or use Tylo.ai."}),(0,yn.jsx)("div",{className:"grey-tab",children:(0,yn.jsx)("p",{className:"privacy-main-bold",children:"If you are using Tylo.ai as an organisation representative, you represent, warrant and confirm to us that you have the authority to bound that business or organisation to these Terms."})})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"About Us"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We are Tylo AI Ltd, a company registered in the United Kingdom (see below for company information). If you have any concerns, issues, requests, complaints or enquiries regarding these Terms or Tylo.ai, please use the information below to contact us:"}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsx)("div",{className:"grey-tab",children:(0,yn.jsx)("h2",{className:"privacy-sub-header",children:"Tylo AI"})}),(0,yn.jsxs)("div",{className:"grey-tab",children:[(0,yn.jsx)("h2",{className:"privacy-sub-header",children:"Reg No:"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"14734333"})]}),(0,yn.jsxs)("div",{className:"grey-tab",children:[(0,yn.jsx)("h2",{className:"privacy-sub-header",children:"Email:"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"contact@tylo.ai"})]}),(0,yn.jsxs)("div",{className:"grey-tab",children:[(0,yn.jsx)("h2",{className:"privacy-sub-header",children:"Address:"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"7 Bell Yard, London, England, WC2A 2JR, United Kingdom"})]})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Tylo.ai Services"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Tylo.ai is provided as a research-focused Artificial Intelligence (AI) that extracts insights and provides answers to questions from research publications. The content provided by Tylo.ai are linked to existing publications and have not been curated or checked by us for reliability or accuracy. The content is provided \u201cas is\u201d \u2013 we are not the provider. Therefore, when using Tylo.ai, thread with caution and make further research. Tylo AI Ltd is not responsible for any inaccuracies or liabilities you may suffer from your reliance on the content or results from your use of Tylo.ai."}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"Please bear in mind that:"}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsx)("p",{className:"privacy-main-text",children:" The results generated may not always be accurate, complete or factual. You should not use Tylo.ai or solely rely on it as your primary and only source of information."})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsx)("p",{className:"privacy-main-text",children:" Tylo.ai rely on existing works from databases and generates its answers based on these databases."})]})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Usage Eligibility"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To use Tylo.ai, you must be at least 18 years of age (or the age of majority in your location) and have the legal capacity to enter into a binding agreement. In summary, your use of Tylo.ai must not be in violation of any applicable laws or regulations. You are responsible for ensuring that Tylo.ai does go against any applicable laws of your jurisdiction. By using Tylo.ai, you warrant that you meet the foregoing eligibility requirements."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Account and Access"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"To enjoy certain Tylo.ai features, you must create an account and provide identifying data about you (and company). You must provide accurate, current and compete data and ensure you update your profile when the need arises. You are responsible for maintaining the confidentiality of your account credentials, and you agree not to disclose your password to any third party (except with respect to members in your organisation) without written permission from us. You are solely responsible for any activities or actions taken under your account. If you believe that any individual other than you or your authorised staff has access to your account, please notify us at contact@tylo.ai immediately."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Data Protection and Privacy"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We care about your privacy. Our data protection and practices related to privacy are described in our Privacy Policy. It describes the data we collect when you use Tylo.ai and how we use that data. By using Tylo.ai, you agree to our data protection and privacy practices."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Intellectual Property Ownership"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"(Aside from the content generated by Tylo.ai from publications and databases) The content on Tylo.ai, including all images, videos, audio, features and functionality are our property and respective licensors and are subject to copyright in the United Kingdom and other locations."}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"All trademarks, service marks, logos, graphics, icons and trade names displayed on Tylo.ai are the property of Tylo AI Ltd or third-party licensors. You are not permitted to use these marks without Tylo AI Ltd\u2019s prior written consent or the respective owner. You may not use our trademarks, including with another product or service, in any manner that may cause confusion or disparage or discredits us."}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"All our intellectual property, including copyrights, patent right and trademarks are protected in the UK and other locations. We reserve all rights not granted to you concerning our intellectual property."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Your License to Use Tylo.ai"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Subject to your compliance with these Terms, we hereby grant you a limited, non-exclusive, non-transferable, revocable license to access and use Tylo.ai for your personal or internal business purposes. This license does not grant you any ownership rights in Tylo.ai."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Prohibited Uses"}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"Concerning our intellectual property and your use of Tylo.ai, you shall NOT:"}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"01"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"License, copy, distribute, publicly display or perform, publish, transmit, edit, adapt or create derivative works from any of our intellectual property."})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"02"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"(Except for individuals within your organisation) use or share your account password or other credentials with a third party."})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"03"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Attempt to circumvent or disable any security features or measures implemented by us."})]})]}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"04"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Infringe on our intellectual property rights or those of others, including copyrights, trademarks, patent or trade secret rights."})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"05"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Interfere with Tylo.ai\u2019s proper running, including introducing viruses, malware or other disruptive code."})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"06"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Use Tylo.ai in any location or transfer it to any location where the law prohibits its use."})]})]}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"07"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Decompile, reverse-engineer, disassemble or otherwise attempt to know the source code or programs that make up Tylo.ai."})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"08"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Copy, reproduce, modify, distribute or create derivative works based on Tylo.ai without explicit written consent from us."})]})]}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"09"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Attempt to access areas on Tylo.ai, networks or servers that are not intended for your use or attempt to bypass any measures implemented to restrict access."})]}),(0,yn.jsxs)("div",{className:"grey-sub-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:"10"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Engage in data mining, data scraping or any other unauthorised collection of data or information from Tylo.ai."})]})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Feedback"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:'If you provide any feedback, suggestions or ideas regarding Tylo.ai ("Feedback"), you agree that we may use, modify or incorporate the Feedback into Tylo.ai or other products or services without any obligation or compensation to you.'})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Subscription, Payments and Refunds"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Tylo.ai offers a subscription model with its plan charged for specified durations. By subscribing to Tylo.ai, you agree to pay the applicable subscription fees as outlined on the payment page. Subscription fees are exclusive of any applicable taxes. You are responsible for paying any taxes imposed on your subscription payments."}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"You agree to make payments through the supported payment methods (including credit/debit cards). By submitting any payment method, you warrant that the information is accurate, and you authorise Tylo AI Ltd through its third-party payment processor(s) to charge the designated payment method for the subscription fees."}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Your subscription fees may be billed on a recurring basis according to the applicable duration or period (e.g., monthly, annually). For the avoidance of doubt, your subscription may automatically renew at the end of each billing cycle unless you cancel it before that date (you can cancel your subscription on the billing page). By not cancelling your subscription before the end date, you authorise us to charge the next subscription fees from your payment method."}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Our subscription fees, features and plans may be changed at any time. Any changes will be communicated in advance and will not affect any current or active subscription."}),(0,yn.jsx)("div",{className:"grey-tab",children:(0,yn.jsx)("p",{className:"privacy-main-bold",children:"PLEASE BE AWARE THAT WE DO NOT PROVIDE REFUNDS EXCEPT WHERE REQUIRED BY LAW."})})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Term and Termination"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"These Terms commence when you create an account and continue until you close your account or stop using Tylo.ai. You may terminate your account at any time by using the \u201cDelete Account\u201d button under your account management area."}),(0,yn.jsx)("p",{className:"privacy-main-bold",children:"We also may terminate your account at any time for any reason, including if:"}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsx)("p",{className:"privacy-main-text",children:" You breach these Terms and any applicable policy or rules"})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsx)("p",{className:"privacy-main-text",children:" We are required by law to do so"})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsx)("p",{className:"privacy-main-text",children:" You violate any applicable laws or regulations"})]}),(0,yn.jsxs)("div",{className:"grey-tab-full",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:(0,yn.jsx)("path",{d:"M16.1078 0.901957C15.8102 0.736394 15.483 0.631107 15.1447 0.592116C14.8065 0.553125 14.4638 0.581194 14.1364 0.67472C13.809 0.768245 13.5033 0.925392 13.2367 1.13717C12.9701 1.34895 12.7478 1.61121 12.5826 1.90896L7.77052 10.5689L5.01649 7.81489C4.77739 7.56732 4.49137 7.36985 4.17514 7.23401C3.8589 7.09816 3.51877 7.02666 3.17461 7.02367C2.83044 7.02068 2.48912 7.08626 2.17057 7.21659C1.85202 7.34692 1.56262 7.53939 1.31924 7.78276C1.07587 8.02613 0.883407 8.31553 0.753078 8.63408C0.622748 8.95263 0.557166 9.29395 0.560156 9.63812C0.563147 9.98229 0.634651 10.3224 0.770497 10.6386C0.906342 10.9549 1.10381 11.2409 1.35137 11.48L6.53542 16.6641C7.02531 17.1552 7.68628 17.4248 8.36798 17.4248L8.72698 17.3989C9.12427 17.3433 9.50324 17.1963 9.83406 16.9694C10.1649 16.7425 10.4385 16.4419 10.6334 16.0912L17.1135 4.42711C17.2789 4.12961 17.3841 3.80244 17.4231 3.46428C17.4621 3.12611 17.4341 2.78358 17.3407 2.45623C17.2473 2.12889 17.0904 1.82315 16.8788 1.55646C16.6673 1.28978 16.4053 1.06738 16.1078 0.901957Z",fill:"#4476F1"})})}),(0,yn.jsx)("p",{className:"privacy-main-text",children:" Your account remains inactive for a specified period of time."})]})]})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Survival of Term"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"The termination or expiration of your use of Tylo.ai does not affect the continued applicability and binding nature of certain provisions outlined in these Terms. These provisions may include Intellectual Property Ownership, Prohibited Uses, Third-Party Services, Disclaimer of Warranties, Limitation of Liability, Indemnification, Governing Law and Jurisdiction, General Terms, etc."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Electronic Communications"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"By using Tylo.ai, you consent to receive communications from us electronically. These electronic communications may include notices, updates, alerts and information about your account or changes to Tylo.ai. We may use the email address associated with your account to send you important information about Tylo.ai."}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"By using Tylo.ai, you agree that all agreements, notices, disclosures and other communications that we provide electronically satisfy any legal requirement that such communications be in writing."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Disclaimer of Warranties"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"THE CONTENT, INFORMATION, MATERIALS AND FEATURES ON TYLO.AI ARE PROVIDED \u201cAS IS\u201d AND \u201cAS AVAILABLE\u201d WITHOUT WARRANTIES OF ANY KIND \u2013 WHETHER EXPRESSED OR IMPLIED. TO THE FULLEST EXTENT PERMISSIBLE BY LAW, TYLO AI LTD DISCLAIMS ALL WARRANTIES OF MERCHANTABILITY, ACCURACY, FITNESS FOR A PURPOSE, TITLE AND NON-INFRINGEMENT."}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"WE DO NOT WARRANT THAT TYLO.AI IS ACCURATE, RELIABLE AND SUITABLE FOR YOUR NEEDS OR THAT IT WILL MEET YOUR EXPECTATIONS. WE DO NOT WARRANT THAT TYLO.AI WILL BE WITHOUT ERRORS OR WILL RUN WITHOUT INTERRUPTIONS. WE FURTHER MAKE NO WARRANTIES THAT TYLO.AI IS FREE FROM VIRUSES, BUGS OR OTHER HARMFUL COMPONENTS OR THAT IT IS SECURE."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Limitation of Liability"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"UNDER NO CIRCUMSTANCES SHALL TYLO AI LTD OR ITS OWNERS, EMPLOYEES, DIRECTORS, AGENTS OR AFFILIATES BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY INDIRECT, INCIDENTAL, CONSEQUENTIAL OR PUNITIVE DAMAGES THAT MAY ARISE FROM YOUR USE OF TYLO.AI (INCLUDING DAMAGES OF LOSS OF PROFIT, DATA, TIME, INTEGRITY, GOODWILL OR ANY INTANGIBLE LOSSES) \u2013 EVEN IF TYLO AI LTD MAY HAVE BEEN HINTED OF THE POSSIBILITY."}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"IN THE EVENT THAT WE ARE FOUND LIABLE FOR ANY DAMAGE WHATSOEVER RELATED TO TYLO.AI AND THESE TERMS, OUR MAXIMUM LIABILITY SHALL NOT EXCEED THE GREATER BETWEEN THE SUM OF YOUR SUBSCRIPTION FEES IN THE PREVIOUS 3 MONTHS BEFORE THE CLAIM OR A FIXED SUM OF \xa3100."}),(0,yn.jsx)("div",{className:"grey-tab",children:(0,yn.jsx)("p",{className:"privacy-main-bold",children:"Certain location laws do not allow the limitations on implied warranties. If this applies to you, some or all of the limitations above may not apply to you, and you may have added rights."})})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Indemnification"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"You hereby agree to defend, indemnify and hold harmless Tylo AI Ltd and its licensors, officers, employees, agents and affiliates harmless from and against any claims, liabilities, damages, losses and expenses (including without limitation, reasonable legal and accounting fees) arising out of or in any way connected with your use of Tylo.ai, your violation of these Terms or your violation of any rights of another party."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Governing Law and Jurisdiction"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"These Terms and your use of Tylo.ai shall be governed by and construed in accordance with the English law without regard to its conflict of law principles. Any legal action or proceeding arising out of or related to these Terms or your use of Tylo.ai shall be brought exclusively in the courts located in England. You consent to the jurisdiction of such courts and waive any objection to the laying of venue in any such court."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Third-Party Services"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"By using Tylo.ai, you acknowledge and agree that it may contain links to third-party websites, applications or services. We do not endorse or assume responsibility for the content or practices of any third-party websites. These Terms do not govern their practices. Your use of third-party links is at your own risk, and we are not responsible for the availability or accuracy of content on linked third-party websites."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"Updates and Modifications"}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We may update and modify these Terms periodically, and it is your responsibility to review them regularly. Any updates or modifications to these Terms shall go live immediately, and the Effective Date above shall be updated to confirm the date of update."}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"We may, however, notify you of updates or modifications by displaying a notice banner or mailing your email address. Nevertheless, you should frequently review this page for updates."}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Your continued use of Tylo.ai after any modifications indicate your acceptance of the updated Terms. If you do not agree with the changes, please cease using Tylo.ai."})]}),(0,yn.jsxs)("div",{className:"privacy-frame-32",children:[(0,yn.jsx)("h2",{className:"privacy-main-header",children:"General Terms"}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M7.56266 14.1459H14.4377M7.56266 18.7292H11.0002M1.8335 3.83335V22.1667C1.8335 22.7745 2.07494 23.3574 2.50471 23.7871C2.93448 24.2169 3.51738 24.4584 4.12516 24.4584H17.8752C18.483 24.4584 19.0658 24.2169 19.4956 23.7871C19.9254 23.3574 20.1668 22.7745 20.1668 22.1667V8.80856C20.1668 8.50327 20.1058 8.20105 19.9873 7.91968C19.8688 7.6383 19.6954 7.38342 19.477 7.17002L14.3895 2.19481C13.9614 1.77619 13.3864 1.54176 12.7877 1.54169H4.12516C3.51738 1.54169 2.93448 1.78313 2.50471 2.2129C2.07494 2.64267 1.8335 3.22557 1.8335 3.83335Z",stroke:"#4476F1","stroke-width":"2.29167","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M13.292 1.54175V6.12508C13.292 6.73287 13.5334 7.31576 13.9632 7.74553C14.393 8.17531 14.9759 8.41675 15.5837 8.41675H20.167",stroke:"#4476F1","stroke-width":"2.29167","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Entire Agreement"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"These Terms constitute the entire agreement between you and Tylo AI Ltd regarding your use of Tylo.ai, and they supersede any prior agreements or understandings, whether oral or written."})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M7.56266 14.1459H14.4377M7.56266 18.7292H11.0002M1.8335 3.83335V22.1667C1.8335 22.7745 2.07494 23.3574 2.50471 23.7871C2.93448 24.2169 3.51738 24.4584 4.12516 24.4584H17.8752C18.483 24.4584 19.0658 24.2169 19.4956 23.7871C19.9254 23.3574 20.1668 22.7745 20.1668 22.1667V8.80856C20.1668 8.50327 20.1058 8.20105 19.9873 7.91968C19.8688 7.6383 19.6954 7.38342 19.477 7.17002L14.3895 2.19481C13.9614 1.77619 13.3864 1.54176 12.7877 1.54169H4.12516C3.51738 1.54169 2.93448 1.78313 2.50471 2.2129C2.07494 2.64267 1.8335 3.22557 1.8335 3.83335Z",stroke:"#4476F1","stroke-width":"2.29167","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M13.292 1.54175V6.12508C13.292 6.73287 13.5334 7.31576 13.9632 7.74553C14.393 8.17531 14.9759 8.41675 15.5837 8.41675H20.167",stroke:"#4476F1","stroke-width":"2.29167","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Severability"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"If any provision of these Terms is found to be unenforceable or invalid, that provision will be limited or eliminated to the minimum extent necessary, and the remaining provisions will remain in full force and effect."})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M7.56266 14.1459H14.4377M7.56266 18.7292H11.0002M1.8335 3.83335V22.1667C1.8335 22.7745 2.07494 23.3574 2.50471 23.7871C2.93448 24.2169 3.51738 24.4584 4.12516 24.4584H17.8752C18.483 24.4584 19.0658 24.2169 19.4956 23.7871C19.9254 23.3574 20.1668 22.7745 20.1668 22.1667V8.80856C20.1668 8.50327 20.1058 8.20105 19.9873 7.91968C19.8688 7.6383 19.6954 7.38342 19.477 7.17002L14.3895 2.19481C13.9614 1.77619 13.3864 1.54176 12.7877 1.54169H4.12516C3.51738 1.54169 2.93448 1.78313 2.50471 2.2129C2.07494 2.64267 1.8335 3.22557 1.8335 3.83335Z",stroke:"#4476F1","stroke-width":"2.29167","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M13.292 1.54175V6.12508C13.292 6.73287 13.5334 7.31576 13.9632 7.74553C14.393 8.17531 14.9759 8.41675 15.5837 8.41675H20.167",stroke:"#4476F1","stroke-width":"2.29167","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Waiver"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"The failure of Tylo AI Ltd to enforce any right or provision of these Terms shall not be deemed a waiver of such right or provision. No waiver shall be binding unless they be in writing."})]})]}),(0,yn.jsxs)("div",{className:"grey-container",children:[(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M7.56266 14.1459H14.4377M7.56266 18.7292H11.0002M1.8335 3.83335V22.1667C1.8335 22.7745 2.07494 23.3574 2.50471 23.7871C2.93448 24.2169 3.51738 24.4584 4.12516 24.4584H17.8752C18.483 24.4584 19.0658 24.2169 19.4956 23.7871C19.9254 23.3574 20.1668 22.7745 20.1668 22.1667V8.80856C20.1668 8.50327 20.1058 8.20105 19.9873 7.91968C19.8688 7.6383 19.6954 7.38342 19.477 7.17002L14.3895 2.19481C13.9614 1.77619 13.3864 1.54176 12.7877 1.54169H4.12516C3.51738 1.54169 2.93448 1.78313 2.50471 2.2129C2.07494 2.64267 1.8335 3.22557 1.8335 3.83335Z",stroke:"#4476F1","stroke-width":"2.29167","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M13.292 1.54175V6.12508C13.292 6.73287 13.5334 7.31576 13.9632 7.74553C14.393 8.17531 14.9759 8.41675 15.5837 8.41675H20.167",stroke:"#4476F1","stroke-width":"2.29167","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Assignment"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Tylo AI Ltd may assign or transfer its rights under these Terms, in whole or in part, without your consent. You may not assign or transfer these Terms without our prior written consent."})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M7.56266 14.1459H14.4377M7.56266 18.7292H11.0002M1.8335 3.83335V22.1667C1.8335 22.7745 2.07494 23.3574 2.50471 23.7871C2.93448 24.2169 3.51738 24.4584 4.12516 24.4584H17.8752C18.483 24.4584 19.0658 24.2169 19.4956 23.7871C19.9254 23.3574 20.1668 22.7745 20.1668 22.1667V8.80856C20.1668 8.50327 20.1058 8.20105 19.9873 7.91968C19.8688 7.6383 19.6954 7.38342 19.477 7.17002L14.3895 2.19481C13.9614 1.77619 13.3864 1.54176 12.7877 1.54169H4.12516C3.51738 1.54169 2.93448 1.78313 2.50471 2.2129C2.07494 2.64267 1.8335 3.22557 1.8335 3.83335Z",stroke:"#4476F1","stroke-width":"2.29167","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M13.292 1.54175V6.12508C13.292 6.73287 13.5334 7.31576 13.9632 7.74553C14.393 8.17531 14.9759 8.41675 15.5837 8.41675H20.167",stroke:"#4476F1","stroke-width":"2.29167","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Headings"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"The headings used in these Terms are for convenience only and do not affect the interpretation of the provisions."})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M7.56266 14.1459H14.4377M7.56266 18.7292H11.0002M1.8335 3.83335V22.1667C1.8335 22.7745 2.07494 23.3574 2.50471 23.7871C2.93448 24.2169 3.51738 24.4584 4.12516 24.4584H17.8752C18.483 24.4584 19.0658 24.2169 19.4956 23.7871C19.9254 23.3574 20.1668 22.7745 20.1668 22.1667V8.80856C20.1668 8.50327 20.1058 8.20105 19.9873 7.91968C19.8688 7.6383 19.6954 7.38342 19.477 7.17002L14.3895 2.19481C13.9614 1.77619 13.3864 1.54176 12.7877 1.54169H4.12516C3.51738 1.54169 2.93448 1.78313 2.50471 2.2129C2.07494 2.64267 1.8335 3.22557 1.8335 3.83335Z",stroke:"#4476F1","stroke-width":"2.29167","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M13.292 1.54175V6.12508C13.292 6.73287 13.5334 7.31576 13.9632 7.74553C14.393 8.17531 14.9759 8.41675 15.5837 8.41675H20.167",stroke:"#4476F1","stroke-width":"2.29167","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"No Third-Party Beneficiaries"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"These Terms do not confer any rights or benefits upon any third party unless expressly stated otherwise."})]})]}),(0,yn.jsxs)("div",{className:"grey-row",children:[(0,yn.jsxs)("div",{className:"grey-sub-container",children:[(0,yn.jsx)("div",{className:"circle-check",children:(0,yn.jsxs)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsx)("path",{d:"M7.56266 14.1459H14.4377M7.56266 18.7292H11.0002M1.8335 3.83335V22.1667C1.8335 22.7745 2.07494 23.3574 2.50471 23.7871C2.93448 24.2169 3.51738 24.4584 4.12516 24.4584H17.8752C18.483 24.4584 19.0658 24.2169 19.4956 23.7871C19.9254 23.3574 20.1668 22.7745 20.1668 22.1667V8.80856C20.1668 8.50327 20.1058 8.20105 19.9873 7.91968C19.8688 7.6383 19.6954 7.38342 19.477 7.17002L14.3895 2.19481C13.9614 1.77619 13.3864 1.54176 12.7877 1.54169H4.12516C3.51738 1.54169 2.93448 1.78313 2.50471 2.2129C2.07494 2.64267 1.8335 3.22557 1.8335 3.83335Z",stroke:"#4476F1","stroke-width":"2.29167","stroke-linecap":"round","stroke-linejoin":"round"}),(0,yn.jsx)("path",{d:"M13.292 1.54175V6.12508C13.292 6.73287 13.5334 7.31576 13.9632 7.74553C14.393 8.17531 14.9759 8.41675 15.5837 8.41675H20.167",stroke:"#4476F1","stroke-width":"2.29167","stroke-linejoin":"round"})]})}),(0,yn.jsx)("p",{className:"privacy-sub-bold",children:"Force Majeure"})]}),(0,yn.jsx)("p",{className:"privacy-main-text",children:"Tylo AI Ltd shall not be liable to you for any failure or delay in the performance of its obligations due to events beyond its reasonable control, including but not limited to acts of God, war, terrorism, pandemics, labor disputes or technical failures."})]})]})]}),(0,yn.jsxs)("div",{className:"all-container",children:[(0,yn.jsx)("div",{className:"all-rights-text",children:"2024 Tylo AI Ltd. All rights reserved. "}),(0,yn.jsx)("div",{className:"all-rights-highlight",onClick:()=>{window.open("".concat(window.location.origin,"/#termsofuse"),"_blank")},children:"Terms of use"}),(0,yn.jsx)("div",{className:"all-rights-highlight",onClick:()=>{window.open("".concat(window.location.origin,"/#privacy"),"_blank")},children:"Privacy Policy"}),(0,yn.jsx)("a",{href:"https://www.linkedin.com/company/tyloai/",target:"_blank",rel:"noopener noreferrer",children:(0,yn.jsxs)("svg",{width:"39",height:"39",viewBox:"0 0 39 39",fill:"none",xmlns:"https://www.w3.org/2000/svg",children:[(0,yn.jsxs)("g",{"clip-path":"url(#clip0_2801_871)",children:[(0,yn.jsx)("path",{d:"M29.4609 0.75H9.53906C4.685 0.75 0.75 4.685 0.75 9.53906V29.4609C0.75 34.315 4.685 38.25 9.53906 38.25H29.4609C34.315 38.25 38.25 34.315 38.25 29.4609V9.53906C38.25 4.685 34.315 0.75 29.4609 0.75Z",fill:"white"}),(0,yn.jsx)("path",{d:"M29.4609 0.75H9.53906C4.685 0.75 0.75 4.685 0.75 9.53906V29.4609C0.75 34.315 4.685 38.25 9.53906 38.25H29.4609C34.315 38.25 38.25 34.315 38.25 29.4609V9.53906C38.25 4.685 34.315 0.75 29.4609 0.75Z",fill:"#4476F1"}),(0,yn.jsx)("path",{d:"M27.8079 32.6375H32.0955C32.2508 32.6375 32.3998 32.5757 32.5097 32.4659C32.6196 32.356 32.6814 32.207 32.6814 32.0517L32.6836 22.9928C32.6836 18.258 31.6633 14.6186 26.1302 14.6186C24.0268 14.5403 22.0433 15.6246 20.9729 17.4352C20.9677 17.444 20.9597 17.4508 20.9502 17.4546C20.9407 17.4585 20.9303 17.4591 20.9204 17.4564C20.9105 17.4538 20.9018 17.4479 20.8955 17.4398C20.8893 17.4317 20.8858 17.4218 20.8857 17.4116V15.6416C20.8857 15.4862 20.824 15.3372 20.7141 15.2273C20.6042 15.1174 20.4552 15.0557 20.2998 15.0557H16.2309C16.0755 15.0557 15.9265 15.1174 15.8166 15.2273C15.7067 15.3372 15.645 15.4862 15.645 15.6416V32.0508C15.645 32.2062 15.7067 32.3552 15.8166 32.4651C15.9265 32.575 16.0755 32.6367 16.2309 32.6367H20.5182C20.6736 32.6367 20.8226 32.575 20.9325 32.4651C21.0424 32.3552 21.1042 32.2062 21.1042 32.0508V23.9395C21.1042 21.646 21.5392 19.4249 24.3826 19.4249C27.1856 19.4249 27.2219 22.0493 27.2219 24.088V32.0515C27.2219 32.2069 27.2837 32.3559 27.3935 32.4658C27.5034 32.5757 27.6525 32.6375 27.8079 32.6375ZM6.31641 9.48457C6.31641 11.2225 7.74712 12.6524 9.48516 12.6524C11.2228 12.6523 12.6526 11.2214 12.6526 9.48384C12.6523 7.74624 11.2223 6.31641 9.48457 6.31641C7.74639 6.31641 6.31641 7.74668 6.31641 9.48457ZM7.33579 32.6375H11.6288C11.7842 32.6375 11.9332 32.5757 12.0431 32.4658C12.153 32.3559 12.2147 32.2069 12.2147 32.0515V15.6416C12.2147 15.4862 12.153 15.3372 12.0431 15.2273C11.9332 15.1174 11.7842 15.0557 11.6288 15.0557H7.33579C7.18039 15.0557 7.03136 15.1174 6.92147 15.2273C6.81159 15.3372 6.74985 15.4862 6.74985 15.6416V32.0515C6.74985 32.2069 6.81159 32.3559 6.92147 32.4658C7.03136 32.5757 7.18039 32.6375 7.33579 32.6375Z",fill:"white"})]}),(0,yn.jsx)("defs",{children:(0,yn.jsx)("clipPath",{id:"clip0_2801_871",children:(0,yn.jsx)("rect",{width:"37.5",height:"37.5",fill:"white",transform:"translate(0.75 0.75)"})})})]})})]})]})};const Qa=function(){const e=localStorage.getItem("googleProfileImageUrl"),t=X(),[r,a]=(0,n.useState)(""),[i,s]=(0,n.useState)(""),o=localStorage.getItem("token"),l=localStorage.getItem("tyloName"),[c,u]=(0,n.useState)("");(0,n.useEffect)((()=>{const e=document.createElement("script");e.src="https://apis.google.com/js/api.js",e.onload=()=>{Ne.M.load("auth2",(()=>{Ne.M.auth2.init({client_id:"584832623015-02ioa5kbjqp9agd30pdiifln0bhb5trb.apps.googleusercontent.com",scope:"profile email",redirect_uri:"https://tylo.ai/",cookiepolicy:"single_host_origin"})}))},document.body.appendChild(e),fetch("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/profile",{method:"GET",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(o)}}).then((e=>e.json())).then((e=>{a(e.username),s(e.email),u(e.credits),console.log("email:",e.email)})).catch((e=>console.error("Error fetching user data:",e)))}));const d=async()=>{const e=c+20;try{await(async e=>{try{const t=localStorage.getItem("token"),n=await gn.post("https://backend-dot-tylo-project.nw.r.appspot.com/api/v1/updateCredits",{credits:e},{headers:{Authorization:"Bearer ".concat(t)}});u(n.data.credits)}catch(t){console.error("Error updating credits:",t)}})(e),alert("Thank you for sharing! 20 credits have been added to your account.")}catch(t){console.error("Failed to update credits:",t),alert("Failed to update credits. Please try again.")}};return(0,yn.jsxs)("div",{className:"feature-page",children:[(0,yn.jsxs)("div",{className:"feature-page-icon",children:[(0,yn.jsx)("img",{src:we,alt:"Tylo Icon",className:"tylo-icon"}),(0,yn.jsxs)("div",{className:"tabs",children:[(0,yn.jsxs)("div",{className:"top-bar-tab-current_page",children:[(0,yn.jsx)("a",{href:"/#features",className:"top-bar-text",children:"Features"})," "]}),(0,yn.jsxs)("div",{className:"top-bar-tab",children:[(0,yn.jsx)("a",{href:"/#about",className:"top-bar-text",children:"About Us"})," "]})]}),(0,yn.jsx)("img",{src:e,alt:"Profile Icon",onClick:()=>{t("/settings")},className:"profile-icon"}),(0,yn.jsx)("div",{className:"login-button",onClick:()=>{localStorage.removeItem("token");const e=Ne.M.auth2.getAuthInstance();null!=e&&e.signOut().then(e.disconnect().then((()=>{console.log("User signed out of Google."),t("/#")}))),t("/#")},children:(0,yn.jsx)("span",{className:"login-text",children:"Sign Out"})})]}),(0,yn.jsx)("div",{className:"gradient-rectangle",children:(0,yn.jsx)("h2",{className:"feature-title",children:"Settings"})}),(0,yn.jsx)("div",{className:"profile-main",children:(0,yn.jsxs)("div",{className:"profile-container",children:[(0,yn.jsxs)("div",{className:"name-header",children:[(0,yn.jsx)("img",{src:e,alt:"Profile Icon",className:"name-image"}),(0,yn.jsx)("h1",{className:"name-text",children:l})]}),(0,yn.jsx)("div",{className:"settings-tabs",children:(0,yn.jsxs)("div",{className:"settings-sub-tab",children:[(0,yn.jsx)("h2",{className:"sub-tab-header",children:"Username"}),(0,yn.jsx)("p",{className:"grey-text",children:r||"Loading..."}),(0,yn.jsx)("div",{className:"sub-tab-end",children:(0,yn.jsx)("p",{className:"change",children:"change"})})]})}),(0,yn.jsx)("div",{className:"settings-tabs",children:(0,yn.jsxs)("div",{className:"settings-sub-tab",children:[(0,yn.jsx)("h2",{className:"sub-tab-header",children:"Email"}),(0,yn.jsx)("p",{className:"grey-text",children:i||"Loading..."}),(0,yn.jsx)("div",{className:"sub-tab-end",children:(0,yn.jsx)("p",{className:"change",children:"change"})})]})}),(0,yn.jsx)("div",{className:"settings-tabs",children:(0,yn.jsxs)("div",{className:"settings-sub-tab",children:[(0,yn.jsx)("h2",{className:"sub-tab-header",children:"Credits"}),(0,yn.jsx)("p",{className:"grey-text",children:c||"Loading..."}),(0,yn.jsx)("div",{className:"sub-tab-end",children:(0,yn.jsx)("p",{className:"change",onClick:async()=>{const e="https://www.linkedin.com/sharing/share-offsite/?url=".concat(encodeURIComponent("https://www.tylo.ai/?ref="));window.open(e,"_blank","toolbar=yes,scrollbars=yes,resizable=yes,top=500,left=500,width=400,height=400"),setTimeout((()=>{window.confirm("Please confirm that you have shared on LinkedIn to receive your credits.")?d(20):alert("Credits can only be added if you confirm sharing on LinkedIn.")}),4e3)},children:"add more"})})]})}),(0,yn.jsx)("div",{className:"settings-tabs"})]})})]})};const Xa=function(){return console.log("App component rendering"),(0,yn.jsx)(ve,{children:(0,yn.jsx)("div",{children:(0,yn.jsxs)(fe,{children:[(0,yn.jsx)(he,{exact:!0,path:"/about",element:(0,yn.jsx)(wn,{})}),(0,yn.jsx)(he,{exact:!0,path:"/",element:(0,yn.jsx)(Cn,{})}),(0,yn.jsx)(he,{exact:!0,path:"/features",element:(0,yn.jsx)(Nn,{})}),(0,yn.jsx)(he,{exact:!0,path:"/track",element:(0,yn.jsx)(Ga,{})}),(0,yn.jsx)(he,{exact:!0,path:"/privacy",element:(0,yn.jsx)($a,{})}),(0,yn.jsx)(he,{exact:!0,path:"/termsofuse",element:(0,yn.jsx)(Ya,{})}),(0,yn.jsx)(he,{exact:!0,path:"/settings",element:(0,yn.jsx)(Qa,{})})]})})})},ei=e=>{e&&e instanceof Function&&__webpack_require__.e(787).then(__webpack_require__.bind(__webpack_require__,787)).then((t=>{let{getCLS:n,getFID:r,getFCP:a,getLCP:i,getTTFB:s}=t;n(e),r(e),a(e),i(e),s(e)}))};console.log("Rendering App to DOM");a.createRoot(document.getElementById("root")).render((0,yn.jsx)(n.StrictMode,{children:(0,yn.jsx)(Xa,{})})),"undefined"===typeof process&&(__webpack_require__.g.process={env:{NODE_ENV:"development"},nextTick:function(e){setTimeout(e,0)}}),ei()})()})();
//# sourceMappingURL=main.9e6e8bd7.js.map