99 lines
3.7 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{93865:function(Y,et,en){"use strict";function ei(Y){if(Y.sheet)return Y.sheet;for(var et=0;et<document.styleSheets.length;et++)if(document.styleSheets[et].ownerNode===Y)return document.styleSheets[et]}function eo(Y){var et=document.createElement("style");return et.setAttribute("data-emotion",Y.key),void 0!==Y.nonce&&et.setAttribute("nonce",Y.nonce),et.appendChild(document.createTextNode("")),et.setAttribute("data-s",""),et}en.d(et,{Z:function(){return tw}});var ea=function(){function Y(Y){var et=this;this._insertTag=function(Y){var en;en=0===et.tags.length?et.insertionPoint?et.insertionPoint.nextSibling:et.prepend?et.container.firstChild:et.before:et.tags[et.tags.length-1].nextSibling,et.container.insertBefore(Y,en),et.tags.push(Y)},this.isSpeedy=void 0===Y.speedy||Y.speedy,this.tags=[],this.ctr=0,this.nonce=Y.nonce,this.key=Y.key,this.container=Y.container,this.prepend=Y.prepend,this.insertionPoint=Y.insertionPoint,this.before=null}var et=Y.prototype;return et.hydrate=function(Y){Y.forEach(this._insertTag)},et.insert=function(Y){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(eo(this));var et=this.tags[this.tags.length-1];if(this.isSpeedy){var en=ei(et);try{en.insertRule(Y,en.cssRules.length)}catch(Y){}}else et.appendChild(document.createTextNode(Y));this.ctr++},et.flush=function(){this.tags.forEach(function(Y){return Y.parentNode&&Y.parentNode.removeChild(Y)}),this.tags=[],this.ctr=0},Y}(),eu=Math.abs,ec=String.fromCharCode,ed=Object.assign;function ef(Y,et){return 45^ey(Y,0)?(((et<<2^ey(Y,0))<<2^ey(Y,1))<<2^ey(Y,2))<<2^ey(Y,3):0}function eh(Y){return Y.trim()}function ep(Y,et){return(Y=et.exec(Y))?Y[0]:Y}function em(Y,et,en){return Y.replace(et,en)}function eg(Y,et){return Y.indexOf(et)}function ey(Y,et){return 0|Y.charCodeAt(et)}function eb(Y,et,en){return Y.slice(et,en)}function ek(Y){return Y.length}function ew(Y){return Y.length}function e_(Y,et){return et.push(Y),Y}function eE(Y,et){return Y.map(et).join("")}var eC=1,eT=1,eS=0,eA=0,eM=0,eP="";function ej(Y,et,en,ei,eo,ea,eu){return{value:Y,root:et,parent:en,type:ei,props:eo,children:ea,line:eC,column:eT,length:eu,return:""}}function eO(Y,et){return ed(ej("",null,null,"",null,null,0),Y,{length:-Y.length},et)}function eI(){return eM}function eN(){return eM=eA>0?ey(eP,--eA):0,eT--,10===eM&&(eT=1,eC--),eM}function eL(){return eM=eA<eS?ey(eP,eA++):0,eT++,10===eM&&(eT=1,eC++),eM}function eR(){return ey(eP,eA)}function eD(){return eA}function eF(Y,et){return eb(eP,Y,et)}function eB(Y){switch(Y){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ez(Y){return eC=eT=1,eS=ek(eP=Y),eA=0,[]}function eU(Y){return eP="",Y}function eH(Y){return eh(eF(eA-1,eW(91===Y?Y+2:40===Y?Y+1:Y)))}function eG(Y){for(;eM=eR();)if(eM<33)eL();else break;return eB(Y)>2||eB(eM)>3?"":" "}function eV(Y,et){for(;--et&&eL()&&!(eM<48)&&!(eM>102)&&(!(eM>57)||!(eM<65))&&(!(eM>70)||!(eM<97)););return eF(Y,eD()+(et<6&&32==eR()&&32==eL()))}function eW(Y){for(;eL();)switch(eM){case Y:return eA;case 34:case 39:34!==Y&&39!==Y&&eW(eM);break;case 40:41===Y&&eW(Y);break;case 92:eL()}return eA}function eZ(Y,et){for(;eL();)if(Y+eM===57)break;else if(Y+eM===84&&47===eR())break;return"/*"+eF(et,eA-1)+"*"+ec(47===Y?Y:eL())}function eK(Y){for(;!eB(eR());)eL();return eF(Y,eA)}var e$="-ms-",eY="-moz-",eQ="-webkit-",eX="comm",eJ="rule",e0="decl",e9="@import",e5="@keyframes",e4="@layer";function e3(Y,et){for(var en="",ei=ew(Y),eo=0;eo<ei;eo++)en+=et(Y[eo],eo,Y,et)||"";return en}function e6(Y,et,en,ei){switch(Y.type){case e4:if(Y.children.length)break;case e9:case e0:return Y.return=Y.return||Y.value;case eX:return"";case e5:return Y.return=Y.value+"{"+e3(Y.children,ei)+"}";case eJ:Y.value=Y.props.join(",")}return ek(en=e3(Y.children,ei))?Y.return=Y.value+"{"+en+"}":""}function e7(Y){var et=ew(Y);return function(en,ei,eo,ea){for(var eu="",ec=0;ec<et;ec++)eu+=Y[ec](en,ei,eo,ea)||"";return eu}}function e8(Y){return function(et){!et.root&&(et=et.return)&&Y(et)}}function tt(Y){return eU(ta("",null,null,null,[""],Y=ez(Y),0,[0],Y))}function ta(Y,et,en,ei,eo,ea,eu,ed,ef){for(var eh=0,ep=0,eb=eu,ew=0,eE=0,eC=0,eT=1,eS=1,eA=1,eM=0,eP="",ej=eo,eO=ea,eI=ei,eF=eP;eS;)switch(eC=eM,eM=eL()){case 40:if(108!=eC&&58==ey(eF,eb-1)){-1!=eg(eF+=em(eH(eM),"&","&\f"),"&\f")&&(eA=-1);break}case 34:case 39:case 91:eF+=eH(eM);break;case 9:case 10:case 13:case 32:eF+=eG(eC);break;case 92:eF+=eV(eD()-1,7);continue;case 47:switch(eR()){case 42:case 47:e_(tc(eZ(eL(),eD()),et,en),ef);break;default:eF+="/"}break;case 123*eT:ed[eh++]=ek(eF)*eA;case 125*eT:case 59:case 0:switch(eM){case 0:case 125:eS=0;case 59+ep:-1==eA&&(eF=em(eF,/\f/g,"")),eE>0&&ek(eF)-eb&&e_(eE>32?td(eF+";",ei,en,eb-1):td(em(eF," ","")+";",ei,en,eb-2),ef);break;case 59:eF+=";";default:if(e_(eI=tu(eF,et,en,eh,ep,eo,ed,eP,ej=[],eO=[],eb),ea),123===eM){if(0===ep)ta(eF,et,eI,eI,ej,ea,eb,ed,eO);else switch(99===ew&&110===ey(eF,3)?100:ew){case 100:case 108:case 109:case 115:ta(Y,eI,eI,ei&&e_(tu(Y,eI,eI,0,0,eo,ed,eP,eo,ej=[],eb),eO),eo,eO,eb,ed,ei?ej:eO);break;default:ta(eF,eI,eI,eI,[""],eO,0,ed,eO)}}}eh=ep=eE=0,eT=eA=1,eP=eF="",eb=eu;break;case 58:eb=1+ek(eF),eE=eC;default:if(eT<1){if(123==eM)--eT;else if(125==eM&&0==eT++&&125==eN())continue}switch(eF+=ec(eM),eM*eT){case 38:eA=ep>0?1:(eF+="\f",-1);break;case 44:ed[eh++]=(ek(eF)-1)*eA,eA=1;break;case 64:45===eR()&&(eF+=eH(eL())),ew=eR(),ep=eb=ek(eP=eF+=eK(eD())),eM++;break;case 45:45===eC&&2==ek(eF)&&(eT=0)}}return ea}function tu(Y,et,en,ei,eo,ea,ec,ed,ef,ep,eg){for(var ey=eo-1,ek=0===eo?ea:[""],e_=ew(ek),eE=0,eC=0,eT=0;eE<ei;++eE)for(var eS=0,eA=eb(Y,ey+1,ey=eu(eC=ec[eE])),eM=Y;eS<e_;++eS)(eM=eh(eC>0?ek[eS]+" "+eA:em(eA,/&\f/g,ek[eS])))&&(ef[eT++]=eM);return ej(Y,et,en,0===eo?eJ:ed,ef,ep,eg)}function tc(Y,et,en){return ej(Y,et,en,eX,ec(eI()),eb(Y,2,-2),0)}function td(Y,et,en,ei){return ej(Y,et,en,e0,eb(Y,0,ei),eb(Y,ei+1,-1),ei)}var tf=function(Y,et,en){for(var ei=0,eo=0;ei=eo,eo=eR(),38===ei&&12===eo&&(et[en]=1),!eB(eo);)eL();return eF(Y,eA)},th=function(Y,et){var en=-1,ei=44;do switch(eB(ei)){case 0:38===ei&&12===eR()&&(et[en]=1),Y[en]+=tf(eA-1,et,en);break;case 2:Y[en]+=eH(ei);break;case 4:if(44===ei){Y[++en]=58===eR()?"&\f":"",et[en]=Y[en].length;break}default:Y[en]+=ec(ei)}while(ei=eL());return Y},tp=function(Y,et){return eU(th(ez(Y),et))},tm=new WeakMap,tg=function(Y){if("rule"===Y.type&&Y.parent&&!(Y.length<1)){for(var et=Y.value,en=Y.parent,ei=Y.column===en.column&&Y.line===en.line;"rule"!==en.type;)if(!(en=en.parent))return;if((1!==Y.props.length||58===et.charCodeAt(0)||tm.get(en))&&!ei){tm.set(Y,!0);for(var eo=[],ea=tp(et,eo),eu=en.props,ec=0,ed=0;ec<ea.length;ec++)for(var ef=0;ef<eu.length;ef++,ed++)Y.props[ed]=eo[ec]?ea[ec].replace(/&\f/g,eu[ef]):eu[ef]+" "+ea[ec]}}},tv=function(Y){if("decl"===Y.type){var et=Y.value;108===et.charCodeAt(0)&&98===et.charCodeAt(2)&&(Y.return="",Y.value="")}};function tb(Y,et){switch(ef(Y,et)){case 5103:return eQ+"print-"+Y+Y;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return eQ+Y+Y;case 5349:case 4246:case 4810:case 6968:case 2756:return eQ+Y+eY+Y+e$+Y+Y;case 6828:case 4268:return eQ+Y+e$+Y+Y;case 6165:return eQ+Y+e$+"flex-"+Y+Y;case 5187:return eQ+Y+em(Y,/(\w+).+(:[^]+)/,eQ+"box-$1$2"+e$+"flex-$1$2")+Y;case 5443:return eQ+Y+e$+"flex-item-"+em(Y,/flex-|-self/,"")+Y;case 4675:return eQ+Y+e$+"flex-line-pack"+em(Y,/align-content|flex-|-self/,"")+Y;case 5548:return eQ+Y+e$+em(Y,"shrink","negative")+Y;case 5292:return eQ+Y+e$+em(Y,"basis","preferred-size")+Y;case 6060:return eQ+"box-"+em(Y,"-grow","")+eQ+Y+e$+em(Y,"grow","positive")+Y;case 4554:return eQ+em(Y,/([^-])(transform)/g,"$1"+eQ+"$2")+Y;case 6187:return em(em(em(Y,/(zoom-|grab)/,eQ+"$1"),/(image-set)/,eQ+"$1"),Y,"")+Y;case 5495:case 3959:return em(Y,/(image-set\([^]*)/,eQ+"$1$`$1");case 4968:return em(em(Y,/(.+:)(flex-)?(.*)/,eQ+"box-pack:$3"+e$+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eQ+Y+Y;case 4095:case 3583:case 4068:case 2532:return em(Y,/(.+)-inline(.+)/,eQ+"$1$2")+Y;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ek(Y)-1-et>6)switch(ey(Y,et+1)){case 109:if(45!==ey(Y,et+4))break;case 102:return em(Y,/(.+:)(.+)-([^]+)/,"$1"+eQ+"$2-$3$1"+eY+(108==ey(Y,et+3)?"$3":"$2-$3"))+Y;case 115:return~eg(Y,"stretch")?tb(em(Y,"stretch","fill-available"),et)+Y:Y}break;case 4949:if(115!==ey(Y,et+1))break;case 6444:switch(ey(Y,ek(Y)-3-(~eg(Y,"!important")&&10))){case 107:return em(Y,":",":"+eQ)+Y;case 101:return em(Y,/(.+:)([^;!]+)(;|!.+)?/,"$1"+eQ+(45===ey(Y,14)?"inline-":"")+"box$3$1"+eQ+"$2$3$1"+e$+"$2box$3")+Y}break;case 5936:switch(ey(Y,et+11)){case 114:return eQ+Y+e$+em(Y,/[svh]\w+-[tblr]{2}/,"tb")+Y;case 108:return eQ+Y+e$+em(Y,/[svh]\w+-[tblr]{2}/,"tb-rl")+Y;case 45:return eQ+Y+e$+em(Y,/[svh]\w+-[tblr]{2}/,"lr")+Y}return eQ+Y+e$+Y+Y}return Y}var tk=[function(Y,et,en,ei){if(Y.length>-1&&!Y.return)switch(Y.type){case e0:Y.return=tb(Y.value,Y.length);break;case e5:return e3([eO(Y,{value:em(Y.value,"@","@"+eQ)})],ei);case eJ:if(Y.length)return eE(Y.props,function(et){switch(ep(et,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return e3([eO(Y,{props:[em(et,/:(read-\w+)/,":"+eY+"$1")]})],ei);case"::placeholder":return e3([eO(Y,{props:[em(et,/:(plac\w+)/,":"+eQ+"input-$1")]}),eO(Y,{props:[em(et,/:(plac\w+)/,":"+eY+"$1")]}),eO(Y,{props:[em(et,/:(plac\w+)/,e$+"input-$1")]})],ei)}return""})}}],tw=function(Y){var et,en,ei,eo=Y.key;if("css"===eo){var eu=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(eu,function(Y){-1!==Y.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(Y),Y.setAttribute("data-s",""))})}var ec=Y.stylisPlugins||tk,ed={},ef=[];et=Y.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+eo+' "]'),function(Y){for(var et=Y.getAttribute("data-emotion").split(" "),en=1;en<et.length;en++)ed[et[en]]=!0;ef.push(Y)});var eh=e7([tg,tv].concat(ec,[e6,e8(function(Y){ei.insert(Y)})])),ep=function(Y){return e3(tt(Y),eh)};en=function(Y,et,en,eo){ei=en,ep(Y?Y+"{"+et.styles+"}":et.styles),eo&&(em.inserted[et.name]=!0)};var em={key:eo,sheet:new ea({key:eo,container:et,nonce:Y.nonce,speedy:Y.speedy,prepend:Y.prepend,insertionPoint:Y.insertionPoint}),nonce:Y.nonce,inserted:ed,registered:{},insert:en};return em.sheet.hydrate(ef),em}},61404:function(Y,et,en){"use strict";function ei(Y){for(var et,en=0,ei=0,eo=Y.length;eo>=4;++ei,eo-=4)et=(65535&(et=255&Y.charCodeAt(ei)|(255&Y.charCodeAt(++ei))<<8|(255&Y.charCodeAt(++ei))<<16|(255&Y.charCodeAt(++ei))<<24))*1540483477+((et>>>16)*59797<<16),et^=et>>>24,en=(65535&et)*1540483477+((et>>>16)*59797<<16)^(65535&en)*1540483477+((en>>>16)*59797<<16);switch(eo){case 3:en^=(255&Y.charCodeAt(ei+2))<<16;case 2:en^=(255&Y.charCodeAt(ei+1))<<8;case 1:en^=255&Y.charCodeAt(ei),en=(65535&en)*1540483477+((en>>>16)*59797<<16)}return en^=en>>>13,(((en=(65535&en)*1540483477+((en>>>16)*59797<<16))^en>>>15)>>>0).toString(36)}en.d(et,{O:function(){return eb}});var eo,ea={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},eu=/[A-Z]|^ms/g,ec=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ed=function(Y){return 45===Y.charCodeAt(1)},ef=function(Y){return null!=Y&&"boolean"!=typeof Y},eh=function(Y){var et=Object.create(null);return function(en){return void 0===et[en]&&(et[en]=Y(en)),et[en]}}(function(Y){return ed(Y)?Y:Y.replace(eu,"-$&").toLowerCase()}),ep=function(Y,et){switch(Y){case"animation":case"animationName":if("string"==typeof et)return et.replace(ec,function(Y,et,en){return eo={name:et,styles:en,next:eo},et})}return 1===ea[Y]||ed(Y)||"number"!=typeof et||0===et?et:et+"px"};function em(Y,et,en){if(null==en)return"";if(void 0!==en.__emotion_styles)return en;switch(typeof en){case"boolean":return"";case"object":if(1===en.anim)return eo={name:en.name,styles:en.styles,next:eo},en.name;if(void 0!==en.styles){var ei=en.next;if(void 0!==ei)for(;void 0!==ei;)eo={name:ei.name,styles:ei.styles,next:eo},ei=ei.next;return en.styles+";"}return eg(Y,et,en);case"function":if(void 0!==Y){var ea=eo,eu=en(Y);return eo=ea,em(Y,et,eu)}}if(null==et)return en;var ec=et[en];return void 0!==ec?ec:en}function eg(Y,et,en){var ei="";if(Array.isArray(en))for(var eo=0;eo<en.length;eo++)ei+=em(Y,et,en[eo])+";";else for(var ea in en){var eu=en[ea];if("object"!=typeof eu)null!=et&&void 0!==et[eu]?ei+=ea+"{"+et[eu]+"}":ef(eu)&&(ei+=eh(ea)+":"+ep(ea,eu)+";");else if(Array.isArray(eu)&&"string"==typeof eu[0]&&(null==et||void 0===et[eu[0]]))for(var ec=0;ec<eu.length;ec++)ef(eu[ec])&&(ei+=eh(ea)+":"+ep(ea,eu[ec])+";");else{var ed=em(Y,et,eu);switch(ea){case"animation":case"animationName":ei+=eh(ea)+":"+ed+";";break;default:ei+=ea+"{"+ed+"}"}}}return ei}var ey=/label:\s*([^\s;\n{]+)\s*(;|$)/g,eb=function(Y,et,en){if(1===Y.length&&"object"==typeof Y[0]&&null!==Y[0]&&void 0!==Y[0].styles)return Y[0];var ea,eu=!0,ec="";eo=void 0;var ed=Y[0];null==ed||void 0===ed.raw?(eu=!1,ec+=em(en,et,ed)):ec+=ed[0];for(var ef=1;ef<Y.length;ef++)ec+=em(en,et,Y[ef]),eu&&(ec+=ed[ef]);ey.lastIndex=0;for(var eh="";null!==(ea=ey.exec(ec));)eh+="-"+ea[1];return{name:ei(ec)+eh,styles:ec,next:eo}}},66347:function(Y,et,en){"use strict";en.d(et,{My:function(){return eu},fp:function(){return eo},hC:function(){return ea}});var ei=!0;function eo(Y,et,en){var ei="";return en.split(" ").forEach(function(en){void 0!==Y[en]?et.push(Y[en]+";"):ei+=en+" "}),ei}var ea=function(Y,et,en){var eo=Y.key+"-"+et.name;(!1===en||!1===ei)&&void 0===Y.registered[eo]&&(Y.registered[eo]=et.styles)},eu=function(Y,et,en){ea(Y,et,en);var ei=Y.key+"-"+et.name;if(void 0===Y.inserted[et.name]){var eo=et;do Y.insert(et===eo?"."+ei:"",eo,Y.sheet,!0),eo=eo.next;while(void 0!==eo)}}},53936:function(Y,et,en){"use strict";function ei(Y,et,en){if(void 0===en&&(en=Error),!Y)throw new en(et)}en.d(et,{kG:function(){return ei}})},34239:function(Y,et,en){"use strict";function ei(Y,et){var en=et&&et.cache?et.cache:eg,ei=et&&et.serializer?et.serializer:ep;return(et&&et.strategy?et.strategy:ed)(Y,{cache:en,serializer:ei})}function eo(Y){return null==Y||"number"==typeof Y||"boolean"==typeof Y}function ea(Y,et,en,ei){var ea=eo(ei)?ei:en(ei),eu=et.get(ea);return void 0===eu&&(eu=Y.call(this,ei),et.set(ea,eu)),eu}function eu(Y,et,en){var ei=Array.prototype.slice.call(arguments,3),eo=en(ei),ea=et.get(eo);return void 0===ea&&(ea=Y.apply(this,ei),et.set(eo,ea)),ea}function ec(Y,et,en,ei,eo){return en.bind(et,Y,ei,eo)}function ed(Y,et){var en=1===Y.length?ea:eu;return ec(Y,this,en,et.cache.create(),et.serializer)}function ef(Y,et){return ec(Y,this,eu,et.cache.create(),et.serializer)}function eh(Y,et){return ec(Y,this,ea,et.cache.create(),et.serializer)}en.d(et,{A:function(){return ey},H:function(){return ei}});var ep=function(){return JSON.stringify(arguments)};function em(){this.cache=Object.create(null)}em.prototype.get=function(Y){return this.cache[Y]},em.prototype.set=function(Y,et){this.cache[Y]=et};var eg={create:function(){return new em}},ey={variadic:ef,monadic:eh}},83608:function(Y,et,en){"use strict";en.d(et,{wD:function(){return eo},VG:function(){return eh},rp:function(){return em},Ii:function(){return eE},O4:function(){return ef},uf:function(){return ep},Wh:function(){return e_},Jo:function(){return eb},yx:function(){return ek},Wi:function(){return ey},HI:function(){return ew},pe:function(){return eg},Qc:function(){return tg}});var ei,eo,ea,eu,ec,ed=en(38104);function ef(Y){return Y.type===eo.literal}function eh(Y){return Y.type===eo.argument}function ep(Y){return Y.type===eo.number}function em(Y){return Y.type===eo.date}function eg(Y){return Y.type===eo.time}function ey(Y){return Y.type===eo.select}function eb(Y){return Y.type===eo.plural}function ek(Y){return Y.type===eo.pound}function ew(Y){return Y.type===eo.tag}function e_(Y){return!!(Y&&"object"==typeof Y&&Y.type===ea.number)}function eE(Y){return!!(Y&&"object"==typeof Y&&Y.type===ea.dateTime)}!function(Y){Y[Y.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Y[Y.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Y[Y.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Y[Y.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Y[Y.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Y[Y.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Y[Y.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Y[Y.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Y[Y.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Y[Y.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Y[Y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Y[Y.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Y[Y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Y[Y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Y[Y.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Y[Y.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Y[Y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Y[Y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Y[Y.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Y[Y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Y[Y.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Y[Y.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Y[Y.INVALID_TAG=23]="INVALID_TAG",Y[Y.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Y[Y.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Y[Y.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(ei||(ei={})),function(Y){Y[Y.literal=0]="literal",Y[Y.argument=1]="argument",Y[Y.number=2]="number",Y[Y.date=3]="date",Y[Y.time=4]="time",Y[Y.select=5]="select",Y[Y.plural=6]="plural",Y[Y.pound=7]="pound",Y[Y.tag=8]="tag"}(eo||(eo={})),function(Y){Y[Y.number=0]="number",Y[Y.dateTime=1]="dateTime"}(ea||(ea={}));var eC=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,eT=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function eS(Y){var et={};return Y.replace(eT,function(Y){var en=Y.length;switch(Y[0]){case"G":et.era=4===en?"long":5===en?"narrow":"short";break;case"y":et.year=2===en?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":et.month=["numeric","2-digit","short","long","narrow"][en-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":et.day=["numeric","2-digit"][en-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":et.weekday=4===en?"short":5===en?"narrow":"short";break;case"e":if(en<4)throw RangeError("`e..eee` (weekday) patterns are not supported");et.weekday=["short","long","narrow","short"][en-4];break;case"c":if(en<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");et.weekday=["short","long","narrow","short"][en-4];break;case"a":et.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":et.hourCycle="h12",et.hour=["numeric","2-digit"][en-1];break;case"H":et.hourCycle="h23",et.hour=["numeric","2-digit"][en-1];break;case"K":et.hourCycle="h11",et.hour=["numeric","2-digit"][en-1];break;case"k":et.hourCycle="h24",et.hour=["numeric","2-digit"][en-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":et.minute=["numeric","2-digit"][en-1];break;case"s":et.second=["numeric","2-digit"][en-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":et.timeZoneName=en<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),et}var eA=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function eM(Y){if(0===Y.length)throw Error("Number skeleton cannot be empty");for(var et=Y.split(eA).filter(function(Y){return Y.length>0}),en=[],ei=0,eo=et;ei<eo.length;ei++){var ea=eo[ei].split("/");if(0===ea.length)throw Error("Invalid number skeleton");for(var eu=ea[0],ec=ea.slice(1),ed=0,ef=ec;ed<ef.length;ed++)if(0===ef[ed].length)throw Error("Invalid number skeleton");en.push({stem:eu,options:ec})}return en}function eP(Y){return Y.replace(/^(.*?)-/,"")}var ej=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,eO=/^(@+)?(\+|#+)?[rs]?$/g,eI=/(\*)(0+)|(#+)(0+)|(0+)/g,eN=/^(0+)$/;function eL(Y){var et={};return"r"===Y[Y.length-1]?et.roundingPriority="morePrecision":"s"===Y[Y.length-1]&&(et.roundingPriority="lessPrecision"),Y.replace(eO,function(Y,en,ei){return"string"!=typeof ei?(et.minimumSignificantDigits=en.length,et.maximumSignificantDigits=en.length):"+"===ei?et.minimumSignificantDigits=en.length:"#"===en[0]?et.maximumSignificantDigits=en.length:(et.minimumSignificantDigits=en.length,et.maximumSignificantDigits=en.length+("string"==typeof ei?ei.length:0)),""}),et}function eR(Y){switch(Y){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function eD(Y){var et;if("E"===Y[0]&&"E"===Y[1]?(et={notation:"engineering"},Y=Y.slice(2)):"E"===Y[0]&&(et={notation:"scientific"},Y=Y.slice(1)),et){var en=Y.slice(0,2);if("+!"===en?(et.signDisplay="always",Y=Y.slice(2)):"+?"===en&&(et.signDisplay="exceptZero",Y=Y.slice(2)),!eN.test(Y))throw Error("Malformed concise eng/scientific notation");et.minimumIntegerDigits=Y.length}return et}function eF(Y){var et={};return eR(Y)||et}function eB(Y){for(var et={},en=0,ei=Y;en<ei.length;en++){var eo=ei[en];switch(eo.stem){case"percent":case"%":et.style="percent";continue;case"%x100":et.style="percent",et.scale=100;continue;case"currency":et.style="currency",et.currency=eo.options[0];continue;case"group-off":case",_":et.useGrouping=!1;continue;case"precision-integer":case".":et.maximumFractionDigits=0;continue;case"measure-unit":case"unit":et.style="unit",et.unit=eP(eo.options[0]);continue;case"compact-short":case"K":et.notation="compact",et.compactDisplay="short";continue;case"compact-long":case"KK":et.notation="compact",et.compactDisplay="long";continue;case"scientific":et=(0,ed.pi)((0,ed.pi)((0,ed.pi)({},et),{notation:"scientific"}),eo.options.reduce(function(Y,et){return(0,ed.pi)((0,ed.pi)({},Y),eF(et))},{}));continue;case"engineering":et=(0,ed.pi)((0,ed.pi)((0,ed.pi)({},et),{notation:"engineering"}),eo.options.reduce(function(Y,et){return(0,ed.pi)((0,ed.pi)({},Y),eF(et))},{}));continue;case"notation-simple":et.notation="standard";continue;case"unit-width-narrow":et.currencyDisplay="narrowSymbol",et.unitDisplay="narrow";continue;case"unit-width-short":et.currencyDisplay="code",et.unitDisplay="short";continue;case"unit-width-full-name":et.currencyDisplay="name",et.unitDisplay="long";continue;case"unit-width-iso-code":et.currencyDisplay="symbol";continue;case"scale":et.scale=parseFloat(eo.options[0]);continue;case"integer-width":if(eo.options.length>1)throw RangeError("integer-width stems only accept a single optional option");eo.options[0].replace(eI,function(Y,en,ei,eo,ea,eu){if(en)et.minimumIntegerDigits=ei.length;else if(eo&&ea)throw Error("We currently do not support maximum integer digits");else if(eu)throw Error("We currently do not support exact integer digits");return""});continue}if(eN.test(eo.stem)){et.minimumIntegerDigits=eo.stem.length;continue}if(ej.test(eo.stem)){if(eo.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");eo.stem.replace(ej,function(Y,en,ei,eo,ea,eu){return"*"===ei?et.minimumFractionDigits=en.length:eo&&"#"===eo[0]?et.maximumFractionDigits=eo.length:ea&&eu?(et.minimumFractionDigits=ea.length,et.maximumFractionDigits=ea.length+eu.length):(et.minimumFractionDigits=en.length,et.maximumFractionDigits=en.length),""});var ea=eo.options[0];"w"===ea?et=(0,ed.pi)((0,ed.pi)({},et),{trailingZeroDisplay:"stripIfInteger"}):ea&&(et=(0,ed.pi)((0,ed.pi)({},et),eL(ea)));continue}if(eO.test(eo.stem)){et=(0,ed.pi)((0,ed.pi)({},et),eL(eo.stem));continue}var eu=eR(eo.stem);eu&&(et=(0,ed.pi)((0,ed.pi)({},et),eu));var ec=eD(eo.stem);ec&&(et=(0,ed.pi)((0,ed.pi)({},et),ec))}return et}var ez={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function eU(Y,et){for(var en="",ei=0;ei<Y.length;ei++){var eo=Y.charAt(ei);if("j"===eo){for(var ea=0;ei+1<Y.length&&Y.charAt(ei+1)===eo;)ea++,ei++;var eu=1+(1&ea),ec=ea<2?1:3+(ea>>1),ed="a",ef=eH(et);for(("H"==ef||"k"==ef)&&(ec=0);ec-- >0;)en+=ed;for(;eu-- >0;)en=ef+en}else"J"===eo?en+="H":en+=eo}return en}function eH(Y){var et,en=Y.hourCycle;if(void 0===en&&Y.hourCycles&&Y.hourCycles.length&&(en=Y.hourCycles[0]),en)switch(en){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var ei=Y.language;return"root"!==ei&&(et=Y.maximize().region),(ez[et||""]||ez[ei||""]||ez["".concat(ei,"-001")]||ez["001"])[0]}var eG=new RegExp("^".concat(eC.source,"*")),eV=new RegExp("".concat(eC.source,"*$"));function eW(Y,et){return{start:Y,end:et}}var eZ=!!String.prototype.startsWith,eK=!!String.fromCodePoint,e$=!!Object.fromEntries,eY=!!String.prototype.codePointAt,eQ=!!String.prototype.trimStart,eX=!!String.prototype.trimEnd,eJ=Number.isSafeInteger?Number.isSafeInteger:function(Y){return"number"==typeof Y&&isFinite(Y)&&Math.floor(Y)===Y&&9007199254740991>=Math.abs(Y)},e0=!0;try{var e9=tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");e0=(null===(eu=e9.exec("a"))||void 0===eu?void 0:eu[0])==="a"}catch(Y){e0=!1}var e5=eZ?function(Y,et,en){return Y.startsWith(et,en)}:function(Y,et,en){return Y.slice(en,en+et.length)===et},e4=eK?String.fromCodePoint:function(){for(var Y,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];for(var ei="",eo=et.length,ea=0;eo>ea;){if((Y=et[ea++])>1114111)throw RangeError(Y+" is not a valid code point");ei+=Y<65536?String.fromCharCode(Y):String.fromCharCode(((Y-=65536)>>10)+55296,Y%1024+56320)}return ei},e3=e$?Object.fromEntries:function(Y){for(var et={},en=0,ei=Y;en<ei.length;en++){var eo=ei[en],ea=eo[0],eu=eo[1];et[ea]=eu}return et},e6=eY?function(Y,et){return Y.codePointAt(et)}:function(Y,et){var en,ei=Y.length;if(!(et<0)&&!(et>=ei)){var eo=Y.charCodeAt(et);return eo<55296||eo>56319||et+1===ei||(en=Y.charCodeAt(et+1))<56320||en>57343?eo:(eo-55296<<10)+(en-56320)+65536}},e7=eQ?function(Y){return Y.trimStart()}:function(Y){return Y.replace(eG,"")},e8=eX?function(Y){return Y.trimEnd()}:function(Y){return Y.replace(eV,"")};function tt(Y,et){return new RegExp(Y,et)}if(e0){var ta=tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ec=function(Y,et){var en;return ta.lastIndex=et,null!==(en=ta.exec(Y)[1])&&void 0!==en?en:""}}else ec=function(Y,et){for(var en=[];;){var ei=e6(Y,et);if(void 0===ei||th(ei)||tp(ei))break;en.push(ei),et+=ei>=65536?2:1}return e4.apply(void 0,en)};var tu=function(){function Y(Y,et){void 0===et&&(et={}),this.message=Y,this.position={offset:0,line:1,column:1},this.ignoreTag=!!et.ignoreTag,this.locale=et.locale,this.requiresOtherClause=!!et.requiresOtherClause,this.shouldParseSkeletons=!!et.shouldParseSkeletons}return Y.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Y.prototype.parseMessage=function(Y,et,en){for(var ea=[];!this.isEOF();){var eu=this.char();if(123===eu){var ec=this.parseArgument(Y,en);if(ec.err)return ec;ea.push(ec.val)}else if(125===eu&&Y>0)break;else if(35===eu&&("plural"===et||"selectordinal"===et)){var ed=this.clonePosition();this.bump(),ea.push({type:eo.pound,location:eW(ed,this.clonePosition())})}else if(60!==eu||this.ignoreTag||47!==this.peek()){if(60===eu&&!this.ignoreTag&&tc(this.peek()||0)){var ec=this.parseTag(Y,et);if(ec.err)return ec;ea.push(ec.val)}else{var ec=this.parseLiteral(Y,et);if(ec.err)return ec;ea.push(ec.val)}}else{if(!en)return this.error(ei.UNMATCHED_CLOSING_TAG,eW(this.clonePosition(),this.clonePosition()));break}}return{val:ea,err:null}},Y.prototype.parseTag=function(Y,et){var en=this.clonePosition();this.bump();var ea=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:eo.literal,value:"<".concat(ea,"/>"),location:eW(en,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(ei.INVALID_TAG,eW(en,this.clonePosition()));var eu=this.parseMessage(Y+1,et,!0);if(eu.err)return eu;var ec=eu.val,ed=this.clonePosition();if(!this.bumpIf("</"))return this.error(ei.UNCLOSED_TAG,eW(en,this.clonePosition()));if(this.isEOF()||!tc(this.char()))return this.error(ei.INVALID_TAG,eW(ed,this.clonePosition()));var ef=this.clonePosition();return ea!==this.parseTagName()?this.error(ei.UNMATCHED_CLOSING_TAG,eW(ef,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:eo.tag,value:ea,children:ec,location:eW(en,this.clonePosition())},err:null}:this.error(ei.INVALID_TAG,eW(ed,this.clonePosition()))},Y.prototype.parseTagName=function(){var Y=this.offset();for(this.bump();!this.isEOF()&&tf(this.char());)this.bump();return this.message.slice(Y,this.offset())},Y.prototype.parseLiteral=function(Y,et){for(var en=this.clonePosition(),ei="";;){var ea=this.tryParseQuote(et);if(ea){ei+=ea;continue}var eu=this.tryParseUnquoted(Y,et);if(eu){ei+=eu;continue}var ec=this.tryParseLeftAngleBracket();if(ec){ei+=ec;continue}break}var ed=eW(en,this.clonePosition());return{val:{type:eo.literal,value:ei,location:ed},err:null}},Y.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&td(this.peek()||0)?null:(this.bump(),"<")},Y.prototype.tryParseQuote=function(Y){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===Y||"selectordinal"===Y)break;return null;default:return null}this.bump();var et=[this.char()];for(this.bump();!this.isEOF();){var en=this.char();if(39===en){if(39===this.peek())et.push(39),this.bump();else{this.bump();break}}else et.push(en);this.bump()}return e4.apply(void 0,et)},Y.prototype.tryParseUnquoted=function(Y,et){if(this.isEOF())return null;var en=this.char();return 60===en||123===en||35===en&&("plural"===et||"selectordinal"===et)||125===en&&Y>0?null:(this.bump(),e4(en))},Y.prototype.parseArgument=function(Y,et){var en=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ei.EXPECT_ARGUMENT_CLOSING_BRACE,eW(en,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ei.EMPTY_ARGUMENT,eW(en,this.clonePosition()));var ea=this.parseIdentifierIfPossible().value;if(!ea)return this.error(ei.MALFORMED_ARGUMENT,eW(en,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ei.EXPECT_ARGUMENT_CLOSING_BRACE,eW(en,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:eo.argument,value:ea,location:eW(en,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ei.EXPECT_ARGUMENT_CLOSING_BRACE,eW(en,this.clonePosition()));return this.parseArgumentOptions(Y,et,ea,en);default:return this.error(ei.MALFORMED_ARGUMENT,eW(en,this.clonePosition()))}},Y.prototype.parseIdentifierIfPossible=function(){var Y=this.clonePosition(),et=this.offset(),en=ec(this.message,et),ei=et+en.length;return this.bumpTo(ei),{value:en,location:eW(Y,this.clonePosition())}},Y.prototype.parseArgumentOptions=function(Y,et,en,eu){var ec,ef=this.clonePosition(),eh=this.parseIdentifierIfPossible().value,ep=this.clonePosition();switch(eh){case"":return this.error(ei.EXPECT_ARGUMENT_TYPE,eW(ef,ep));case"number":case"date":case"time":this.bumpSpace();var em=null;if(this.bumpIf(",")){this.bumpSpace();var eg=this.clonePosition(),ey=this.parseSimpleArgStyleIfPossible();if(ey.err)return ey;var eb=e8(ey.val);if(0===eb.length)return this.error(ei.EXPECT_ARGUMENT_STYLE,eW(this.clonePosition(),this.clonePosition()));em={style:eb,styleLocation:eW(eg,this.clonePosition())}}var ek=this.tryParseArgumentClose(eu);if(ek.err)return ek;var ew=eW(eu,this.clonePosition());if(em&&e5(null==em?void 0:em.style,"::",0)){var e_=e7(em.style.slice(2));if("number"===eh){var ey=this.parseNumberSkeletonFromString(e_,em.styleLocation);if(ey.err)return ey;return{val:{type:eo.number,value:en,location:ew,style:ey.val},err:null}}if(0===e_.length)return this.error(ei.EXPECT_DATE_TIME_SKELETON,ew);var eE=e_;this.locale&&(eE=eU(e_,this.locale));var eb={type:ea.dateTime,pattern:eE,location:em.styleLocation,parsedOptions:this.shouldParseSkeletons?eS(eE):{}};return{val:{type:"date"===eh?eo.date:eo.time,value:en,location:ew,style:eb},err:null}}return{val:{type:"number"===eh?eo.number:"date"===eh?eo.date:eo.time,value:en,location:ew,style:null!==(ec=null==em?void 0:em.style)&&void 0!==ec?ec:null},err:null};case"plural":case"selectordinal":case"select":var eC=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ei.EXPECT_SELECT_ARGUMENT_OPTIONS,eW(eC,(0,ed.pi)({},eC)));this.bumpSpace();var eT=this.parseIdentifierIfPossible(),eA=0;if("select"!==eh&&"offset"===eT.value){if(!this.bumpIf(":"))return this.error(ei.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,eW(this.clonePosition(),this.clonePosition()));this.bumpSpace();var ey=this.tryParseDecimalInteger(ei.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ei.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(ey.err)return ey;this.bumpSpace(),eT=this.parseIdentifierIfPossible(),eA=ey.val}var eM=this.tryParsePluralOrSelectOptions(Y,eh,et,eT);if(eM.err)return eM;var ek=this.tryParseArgumentClose(eu);if(ek.err)return ek;var eP=eW(eu,this.clonePosition());if("select"===eh)return{val:{type:eo.select,value:en,options:e3(eM.val),location:eP},err:null};return{val:{type:eo.plural,value:en,options:e3(eM.val),offset:eA,pluralType:"plural"===eh?"cardinal":"ordinal",location:eP},err:null};default:return this.error(ei.INVALID_ARGUMENT_TYPE,eW(ef,ep))}},Y.prototype.tryParseArgumentClose=function(Y){return this.isEOF()||125!==this.char()?this.error(ei.EXPECT_ARGUMENT_CLOSING_BRACE,eW(Y,this.clonePosition())):(this.bump(),{val:!0,err:null})},Y.prototype.parseSimpleArgStyleIfPossible=function(){for(var Y=0,et=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var en=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ei.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,eW(en,this.clonePosition()));this.bump();break;case 123:Y+=1,this.bump();break;case 125:if(!(Y>0))return{val:this.message.slice(et.offset,this.offset()),err:null};Y-=1;break;default:this.bump()}return{val:this.message.slice(et.offset,this.offset()),err:null}},Y.prototype.parseNumberSkeletonFromString=function(Y,et){var en=[];try{en=eM(Y)}catch(Y){return this.error(ei.INVALID_NUMBER_SKELETON,et)}return{val:{type:ea.number,tokens:en,location:et,parsedOptions:this.shouldParseSkeletons?eB(en):{}},err:null}},Y.prototype.tryParsePluralOrSelectOptions=function(Y,et,en,eo){for(var ea,eu=!1,ec=[],ed=new Set,ef=eo.value,eh=eo.location;;){if(0===ef.length){var ep=this.clonePosition();if("select"!==et&&this.bumpIf("=")){var em=this.tryParseDecimalInteger(ei.EXPECT_PLURAL_ARGUMENT_SELECTOR,ei.INVALID_PLURAL_ARGUMENT_SELECTOR);if(em.err)return em;eh=eW(ep,this.clonePosition()),ef=this.message.slice(ep.offset,this.offset())}else break}if(ed.has(ef))return this.error("select"===et?ei.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ei.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,eh);"other"===ef&&(eu=!0),this.bumpSpace();var eg=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===et?ei.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ei.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,eW(this.clonePosition(),this.clonePosition()));var ey=this.parseMessage(Y+1,et,en);if(ey.err)return ey;var eb=this.tryParseArgumentClose(eg);if(eb.err)return eb;ec.push([ef,{value:ey.val,location:eW(eg,this.clonePosition())}]),ed.add(ef),this.bumpSpace(),ef=(ea=this.parseIdentifierIfPossible()).value,eh=ea.location}return 0===ec.length?this.error("select"===et?ei.EXPECT_SELECT_ARGUMENT_SELECTOR:ei.EXPECT_PLURAL_ARGUMENT_SELECTOR,eW(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!eu?this.error(ei.MISSING_OTHER_CLAUSE,eW(this.clonePosition(),this.clonePosition())):{val:ec,err:null}},Y.prototype.tryParseDecimalInteger=function(Y,et){var en=1,ei=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(en=-1);for(var eo=!1,ea=0;!this.isEOF();){var eu=this.char();if(eu>=48&&eu<=57)eo=!0,ea=10*ea+(eu-48),this.bump();else break}var ec=eW(ei,this.clonePosition());return eo?eJ(ea*=en)?{val:ea,err:null}:this.error(et,ec):this.error(Y,ec)},Y.prototype.offset=function(){return this.position.offset},Y.prototype.isEOF=function(){return this.offset()===this.message.length},Y.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Y.prototype.char=function(){var Y=this.position.offset;if(Y>=this.message.length)throw Error("out of bound");var et=e6(this.message,Y);if(void 0===et)throw Error("Offset ".concat(Y," is at invalid UTF-16 code unit boundary"));return et},Y.prototype.error=function(Y,et){return{val:null,err:{kind:Y,message:this.message,location:et}}},Y.prototype.bump=function(){if(!this.isEOF()){var Y=this.char();10===Y?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=Y<65536?1:2)}},Y.prototype.bumpIf=function(Y){if(e5(this.message,Y,this.offset())){for(var et=0;et<Y.length;et++)this.bump();return!0}return!1},Y.prototype.bumpUntil=function(Y){var et=this.offset(),en=this.message.indexOf(Y,et);return en>=0?(this.bumpTo(en),!0):(this.bumpTo(this.message.length),!1)},Y.prototype.bumpTo=function(Y){if(this.offset()>Y)throw Error("targetOffset ".concat(Y," must be greater than or equal to the current offset ").concat(this.offset()));for(Y=Math.min(Y,this.message.length);;){var et=this.offset();if(et===Y)break;if(et>Y)throw Error("targetOffset ".concat(Y," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},Y.prototype.bumpSpace=function(){for(;!this.isEOF()&&th(this.char());)this.bump()},Y.prototype.peek=function(){if(this.isEOF())return null;var Y=this.char(),et=this.offset(),en=this.message.charCodeAt(et+(Y>=65536?2:1));return null!=en?en:null},Y}();function tc(Y){return Y>=97&&Y<=122||Y>=65&&Y<=90}function td(Y){return tc(Y)||47===Y}function tf(Y){return 45===Y||46===Y||Y>=48&&Y<=57||95===Y||Y>=97&&Y<=122||Y>=65&&Y<=90||183==Y||Y>=192&&Y<=214||Y>=216&&Y<=246||Y>=248&&Y<=893||Y>=895&&Y<=8191||Y>=8204&&Y<=8205||Y>=8255&&Y<=8256||Y>=8304&&Y<=8591||Y>=11264&&Y<=12271||Y>=12289&&Y<=55295||Y>=63744&&Y<=64975||Y>=65008&&Y<=65533||Y>=65536&&Y<=983039}function th(Y){return Y>=9&&Y<=13||32===Y||133===Y||Y>=8206&&Y<=8207||8232===Y||8233===Y}function tp(Y){return Y>=33&&Y<=35||36===Y||Y>=37&&Y<=39||40===Y||41===Y||42===Y||43===Y||44===Y||45===Y||Y>=46&&Y<=47||Y>=58&&Y<=59||Y>=60&&Y<=62||Y>=63&&Y<=64||91===Y||92===Y||93===Y||94===Y||96===Y||123===Y||124===Y||125===Y||126===Y||161===Y||Y>=162&&Y<=165||166===Y||167===Y||169===Y||171===Y||172===Y||174===Y||176===Y||177===Y||182===Y||187===Y||191===Y||215===Y||247===Y||Y>=8208&&Y<=8213||Y>=8214&&Y<=8215||8216===Y||8217===Y||8218===Y||Y>=8219&&Y<=8220||8221===Y||8222===Y||8223===Y||Y>=8224&&Y<=8231||Y>=8240&&Y<=8248||8249===Y||8250===Y||Y>=8251&&Y<=8254||Y>=8257&&Y<=8259||8260===Y||8261===Y||8262===Y||Y>=8263&&Y<=8273||8274===Y||8275===Y||Y>=8277&&Y<=8286||Y>=8592&&Y<=8596||Y>=8597&&Y<=8601||Y>=8602&&Y<=8603||Y>=8604&&Y<=8607||8608===Y||Y>=8609&&Y<=8610||8611===Y||Y>=8612&&Y<=8613||8614===Y||Y>=8615&&Y<=8621||8622===Y||Y>=8623&&Y<=8653||Y>=8654&&Y<=8655||Y>=8656&&Y<=8657||8658===Y||8659===Y||8660===Y||Y>=8661&&Y<=8691||Y>=8692&&Y<=8959||Y>=8960&&Y<=8967||8968===Y||8969===Y||8970===Y||8971===Y||Y>=8972&&Y<=8991||Y>=8992&&Y<=8993||Y>=8994&&Y<=9e3||9001===Y||9002===Y||Y>=9003&&Y<=9083||9084===Y||Y>=9085&&Y<=9114||Y>=9115&&Y<=9139||Y>=9140&&Y<=9179||Y>=9180&&Y<=9185||Y>=9186&&Y<=9254||Y>=9255&&Y<=9279||Y>=9280&&Y<=9290||Y>=9291&&Y<=9311||Y>=9472&&Y<=9654||9655===Y||Y>=9656&&Y<=9664||9665===Y||Y>=9666&&Y<=9719||Y>=9720&&Y<=9727||Y>=9728&&Y<=9838||9839===Y||Y>=9840&&Y<=10087||10088===Y||10089===Y||10090===Y||10091===Y||10092===Y||10093===Y||10094===Y||10095===Y||10096===Y||10097===Y||10098===Y||10099===Y||10100===Y||10101===Y||Y>=10132&&Y<=10175||Y>=10176&&Y<=10180||10181===Y||10182===Y||Y>=10183&&Y<=10213||10214===Y||10215===Y||10216===Y||10217===Y||10218===Y||10219===Y||10220===Y||10221===Y||10222===Y||10223===Y||Y>=10224&&Y<=10239||Y>=10240&&Y<=10495||Y>=10496&&Y<=10626||10627===Y||10628===Y||10629===Y||10630===Y||10631===Y||10632===Y||10633===Y||10634===Y||10635===Y||10636===Y||10637===Y||10638===Y||10639===Y||10640===Y||10641===Y||10642===Y||10643===Y||10644===Y||10645===Y||10646===Y||10647===Y||10648===Y||Y>=10649&&Y<=10711||10712===Y||10713===Y||10714===Y||10715===Y||Y>=10716&&Y<=10747||10748===Y||10749===Y||Y>=10750&&Y<=11007||Y>=11008&&Y<=11055||Y>=11056&&Y<=11076||Y>=11077&&Y<=11078||Y>=11079&&Y<=11084||Y>=11085&&Y<=11123||Y>=11124&&Y<=11125||Y>=11126&&Y<=11157||11158===Y||Y>=11159&&Y<=11263||Y>=11776&&Y<=11777||11778===Y||11779===Y||11780===Y||11781===Y||Y>=11782&&Y<=11784||11785===Y||11786===Y||11787===Y||11788===Y||11789===Y||Y>=11790&&Y<=11798||11799===Y||Y>=11800&&Y<=11801||11802===Y||11803===Y||11804===Y||11805===Y||Y>=11806&&Y<=11807||11808===Y||11809===Y||11810===Y||11811===Y||11812===Y||11813===Y||11814===Y||11815===Y||11816===Y||11817===Y||Y>=11818&&Y<=11822||11823===Y||Y>=11824&&Y<=11833||Y>=11834&&Y<=11835||Y>=11836&&Y<=11839||11840===Y||11841===Y||11842===Y||Y>=11843&&Y<=11855||Y>=11856&&Y<=11857||11858===Y||Y>=11859&&Y<=11903||Y>=12289&&Y<=12291||12296===Y||12297===Y||12298===Y||12299===Y||12300===Y||12301===Y||12302===Y||12303===Y||12304===Y||12305===Y||Y>=12306&&Y<=12307||12308===Y||12309===Y||12310===Y||12311===Y||12312===Y||12313===Y||12314===Y||12315===Y||12316===Y||12317===Y||Y>=12318&&Y<=12319||12320===Y||12336===Y||64830===Y||64831===Y||Y>=65093&&Y<=65094}function tm(Y){Y.forEach(function(Y){if(delete Y.location,ey(Y)||eb(Y))for(var et in Y.options)delete Y.options[et].location,tm(Y.options[et].value);else ep(Y)&&e_(Y.style)?delete Y.style.location:(em(Y)||eg(Y))&&eE(Y.style)?delete Y.style.location:ew(Y)&&tm(Y.children)})}function tg(Y,et){void 0===et&&(et={}),et=(0,ed.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},et);var en=new tu(Y,et).parse();if(en.err){var eo=SyntaxError(ei[en.err.kind]);throw eo.location=en.err.location,eo.originalMessage=en.err.message,eo}return(null==et?void 0:et.captureLocation)||tm(en.val),en.val}},89199:function(Y,et,en){"use strict";en.d(et,{$6:function(){return ep},OV:function(){return ec},Qe:function(){return ef},X9:function(){return eh},gb:function(){return ed},wI:function(){return eu}});var ei,eo=en(38104);!function(Y){Y.FORMAT_ERROR="FORMAT_ERROR",Y.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",Y.INVALID_CONFIG="INVALID_CONFIG",Y.MISSING_DATA="MISSING_DATA",Y.MISSING_TRANSLATION="MISSING_TRANSLATION"}(ei||(ei={}));var ea=function(Y){function et(en,ei,eo){var ea=this,eu=eo?eo instanceof Error?eo:Error(String(eo)):void 0;return(ea=Y.call(this,"[@formatjs/intl Error ".concat(en,"] ").concat(ei,"\n").concat(eu?"\n".concat(eu.message,"\n").concat(eu.stack):""))||this).code=en,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(ea,et),ea}return(0,eo.ZT)(et,Y),et}(Error),eu=function(Y){function et(et,en){return Y.call(this,ei.UNSUPPORTED_FORMATTER,et,en)||this}return(0,eo.ZT)(et,Y),et}(ea),ec=function(Y){function et(et,en){return Y.call(this,ei.INVALID_CONFIG,et,en)||this}return(0,eo.ZT)(et,Y),et}(ea),ed=function(Y){function et(et,en){return Y.call(this,ei.MISSING_DATA,et,en)||this}return(0,eo.ZT)(et,Y),et}(ea),ef=function(Y){function et(et,en,eo){var ea=Y.call(this,ei.FORMAT_ERROR,"".concat(et,"\nLocale: ").concat(en,"\n"),eo)||this;return ea.locale=en,ea}return(0,eo.ZT)(et,Y),et}(ea),eh=function(Y){function et(et,en,ei,eo){var ea=Y.call(this,"".concat(et,"\nMessageID: ").concat(null==ei?void 0:ei.id,"\nDefault Message: ").concat(null==ei?void 0:ei.defaultMessage,"\nDescription: ").concat(null==ei?void 0:ei.description,"\n"),en,eo)||this;return ea.descriptor=ei,ea.locale=en,ea}return(0,eo.ZT)(et,Y),et}(ef),ep=function(Y){function et(et,en){var eo=Y.call(this,ei.MISSING_TRANSLATION,'Missing message: "'.concat(et.id,'" for locale "').concat(en,'", using ').concat(et.defaultMessage?"default message (".concat("string"==typeof et.defaultMessage?et.defaultMessage:et.defaultMessage.map(function(Y){var et;return null!==(et=Y.value)&&void 0!==et?et:JSON.stringify(Y)}).join(),")"):"id"," as fallback."))||this;return eo.descriptor=et,eo}return(0,eo.ZT)(et,Y),et}(ea)},96733:function(Y,et,en){"use strict";en.d(et,{L6:function(){return ec},Sn:function(){return ef},TB:function(){return em},Z0:function(){return ed},ax:function(){return ep}});var ei=en(38104),eo=en(10283),ea=en(34239),eu=en(89199);function ec(Y,et,en){return void 0===en&&(en={}),et.reduce(function(et,ei){return ei in Y?et[ei]=Y[ei]:ei in en&&(et[ei]=en[ei]),et},{})}var ed={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(Y){},onWarn:function(Y){}};function ef(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function eh(Y){return{create:function(){return{get:function(et){return Y[et]},set:function(et,en){Y[et]=en}}}}}function ep(Y){void 0===Y&&(Y=ef());var et=Intl.RelativeTimeFormat,en=Intl.ListFormat,eu=Intl.DisplayNames,ec=(0,ea.H)(function(){for(var Y,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];return new((Y=Intl.DateTimeFormat).bind.apply(Y,(0,ei.ev)([void 0],et,!1)))},{cache:eh(Y.dateTime),strategy:ea.A.variadic}),ed=(0,ea.H)(function(){for(var Y,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];return new((Y=Intl.NumberFormat).bind.apply(Y,(0,ei.ev)([void 0],et,!1)))},{cache:eh(Y.number),strategy:ea.A.variadic}),ep=(0,ea.H)(function(){for(var Y,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];return new((Y=Intl.PluralRules).bind.apply(Y,(0,ei.ev)([void 0],et,!1)))},{cache:eh(Y.pluralRules),strategy:ea.A.variadic});return{getDateTimeFormat:ec,getNumberFormat:ed,getMessageFormat:(0,ea.H)(function(Y,et,en,ea){return new eo.C(Y,et,en,(0,ei.pi)({formatters:{getNumberFormat:ed,getDateTimeFormat:ec,getPluralRules:ep}},ea||{}))},{cache:eh(Y.message),strategy:ea.A.variadic}),getRelativeTimeFormat:(0,ea.H)(function(){for(var Y=[],en=0;en<arguments.length;en++)Y[en]=arguments[en];return new(et.bind.apply(et,(0,ei.ev)([void 0],Y,!1)))},{cache:eh(Y.relativeTime),strategy:ea.A.variadic}),getPluralRules:ep,getListFormat:(0,ea.H)(function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return new(en.bind.apply(en,(0,ei.ev)([void 0],Y,!1)))},{cache:eh(Y.list),strategy:ea.A.variadic}),getDisplayNames:(0,ea.H)(function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return new(eu.bind.apply(eu,(0,ei.ev)([void 0],Y,!1)))},{cache:eh(Y.displayNames),strategy:ea.A.variadic})}}function em(Y,et,en,ei){var eo,ea=Y&&Y[et];if(ea&&(eo=ea[en]),eo)return eo;ei(new eu.wI("No ".concat(et," format named: ").concat(en)))}},18796:function(Y,et,en){"use strict";en.d(et,{c:function(){return eg}});var ei=en(87212),eo=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu},ea=function(Y,et,en){if(en||2==arguments.length)for(var ei,eo=0,ea=et.length;eo<ea;eo++)!ei&&eo in et||(ei||(ei=Array.prototype.slice.call(et,0,eo)),ei[eo]=et[eo]);return Y.concat(ei||Array.prototype.slice.call(et))},eu=function(){function Y(){}return Y.prototype.active=function(){return ei.I},Y.prototype.with=function(Y,et,en){for(var ei=[],eu=3;eu<arguments.length;eu++)ei[eu-3]=arguments[eu];return et.call.apply(et,ea([en],eo(ei),!1))},Y.prototype.bind=function(Y,et){return et},Y.prototype.enable=function(){return this},Y.prototype.disable=function(){return this},Y}(),ec=en(36248),ed=en(42611),ef=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu},eh=function(Y,et,en){if(en||2==arguments.length)for(var ei,eo=0,ea=et.length;eo<ea;eo++)!ei&&eo in et||(ei||(ei=Array.prototype.slice.call(et,0,eo)),ei[eo]=et[eo]);return Y.concat(ei||Array.prototype.slice.call(et))},ep="context",em=new eu,eg=function(){function Y(){}return Y.getInstance=function(){return this._instance||(this._instance=new Y),this._instance},Y.prototype.setGlobalContextManager=function(Y){return(0,ec.TG)(ep,Y,ed.G.instance())},Y.prototype.active=function(){return this._getContextManager().active()},Y.prototype.with=function(Y,et,en){for(var ei,eo=[],ea=3;ea<arguments.length;ea++)eo[ea-3]=arguments[ea];return(ei=this._getContextManager()).with.apply(ei,eh([Y,et,en],ef(eo),!1))},Y.prototype.bind=function(Y,et){return this._getContextManager().bind(Y,et)},Y.prototype._getContextManager=function(){return(0,ec.Rd)(ep)||em},Y.prototype.disable=function(){this._getContextManager().disable(),(0,ec.J_)(ep,ed.G.instance())},Y}()},42611:function(Y,et,en){"use strict";en.d(et,{G:function(){return eg}});var ei=en(36248),eo=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu},ea=function(Y,et,en){if(en||2==arguments.length)for(var ei,eo=0,ea=et.length;eo<ea;eo++)!ei&&eo in et||(ei||(ei=Array.prototype.slice.call(et,0,eo)),ei[eo]=et[eo]);return Y.concat(ei||Array.prototype.slice.call(et))},eu=function(){function Y(Y){this._namespace=Y.namespace||"DiagComponentLogger"}return Y.prototype.debug=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return ec("debug",this._namespace,Y)},Y.prototype.error=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return ec("error",this._namespace,Y)},Y.prototype.info=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return ec("info",this._namespace,Y)},Y.prototype.warn=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return ec("warn",this._namespace,Y)},Y.prototype.verbose=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return ec("verbose",this._namespace,Y)},Y}();function ec(Y,et,en){var eu=(0,ei.Rd)("diag");if(eu)return en.unshift(et),eu[Y].apply(eu,ea([],eo(en),!1))}var ed=en(76443);function ef(Y,et){function en(en,ei){var eo=et[en];return"function"==typeof eo&&Y>=ei?eo.bind(et):function(){}}return Y<ed.n.NONE?Y=ed.n.NONE:Y>ed.n.ALL&&(Y=ed.n.ALL),et=et||{},{error:en("error",ed.n.ERROR),warn:en("warn",ed.n.WARN),info:en("info",ed.n.INFO),debug:en("debug",ed.n.DEBUG),verbose:en("verbose",ed.n.VERBOSE)}}var eh=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu},ep=function(Y,et,en){if(en||2==arguments.length)for(var ei,eo=0,ea=et.length;eo<ea;eo++)!ei&&eo in et||(ei||(ei=Array.prototype.slice.call(et,0,eo)),ei[eo]=et[eo]);return Y.concat(ei||Array.prototype.slice.call(et))},em="diag",eg=function(){function Y(){function Y(Y){return function(){for(var et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];var eo=(0,ei.Rd)("diag");if(eo)return eo[Y].apply(eo,ep([],eh(et),!1))}}var et=this,en=function(Y,en){if(void 0===en&&(en={logLevel:ed.n.INFO}),Y===et){var eo,ea,eu,ec=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return et.error(null!==(eo=ec.stack)&&void 0!==eo?eo:ec.message),!1}"number"==typeof en&&(en={logLevel:en});var eh=(0,ei.Rd)("diag"),ep=ef(null!==(ea=en.logLevel)&&void 0!==ea?ea:ed.n.INFO,Y);if(eh&&!en.suppressOverrideMessage){var em=null!==(eu=Error().stack)&&void 0!==eu?eu:"<failed to generate stacktrace>";eh.warn("Current logger will be overwritten from "+em),ep.warn("Current logger will overwrite one already registered from "+em)}return(0,ei.TG)("diag",ep,et,!0)};et.setLogger=en,et.disable=function(){(0,ei.J_)(em,et)},et.createComponentLogger=function(Y){return new eu(Y)},et.verbose=Y("verbose"),et.debug=Y("debug"),et.info=Y("info"),et.warn=Y("warn"),et.error=Y("error")}return Y.instance=function(){return this._instance||(this._instance=new Y),this._instance},Y}()},55398:function(Y,et,en){"use strict";en.d(et,{D:function(){return ei}});var ei=en(18796).c.getInstance()},87212:function(Y,et,en){"use strict";function ei(Y){return Symbol.for(Y)}en.d(et,{I:function(){return eo},Y:function(){return ei}});var eo=new(function(){function Y(et){var en=this;en._currentContext=et?new Map(et):new Map,en.getValue=function(Y){return en._currentContext.get(Y)},en.setValue=function(et,ei){var eo=new Y(en._currentContext);return eo._currentContext.set(et,ei),eo},en.deleteValue=function(et){var ei=new Y(en._currentContext);return ei._currentContext.delete(et),ei}}return Y}())},76443:function(Y,et,en){"use strict";var ei;en.d(et,{n:function(){return ei}}),function(Y){Y[Y.NONE=0]="NONE",Y[Y.ERROR=30]="ERROR",Y[Y.WARN=50]="WARN",Y[Y.INFO=60]="INFO",Y[Y.DEBUG=70]="DEBUG",Y[Y.VERBOSE=80]="VERBOSE",Y[Y.ALL=9999]="ALL"}(ei||(ei={}))},36248:function(Y,et,en){"use strict";en.d(et,{Rd:function(){return eh},TG:function(){return ef},J_:function(){return ep}});var ei="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof en.g?en.g:{},eo="1.6.0",ea=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/,eu=function(Y){var et=new Set([Y]),en=new Set,ei=Y.match(ea);if(!ei)return function(){return!1};var eo={major:+ei[1],minor:+ei[2],patch:+ei[3],prerelease:ei[4]};if(null!=eo.prerelease)return function(et){return et===Y};function eu(Y){return en.add(Y),!1}function ec(Y){return et.add(Y),!0}return function(Y){if(et.has(Y))return!0;if(en.has(Y))return!1;var ei=Y.match(ea);if(!ei)return eu(Y);var ed={major:+ei[1],minor:+ei[2],patch:+ei[3],prerelease:ei[4]};return null!=ed.prerelease||eo.major!==ed.major?eu(Y):0===eo.major?eo.minor===ed.minor&&eo.patch<=ed.patch?ec(Y):eu(Y):eo.minor<=ed.minor?ec(Y):eu(Y)}}(eo),ec=Symbol.for("opentelemetry.js.api."+eo.split(".")[0]),ed=ei;function ef(Y,et,en,ei){void 0===ei&&(ei=!1);var ea,eu=ed[ec]=null!==(ea=ed[ec])&&void 0!==ea?ea:{version:eo};if(!ei&&eu[Y]){var ef=Error("@opentelemetry/api: Attempted duplicate registration of API: "+Y);return en.error(ef.stack||ef.message),!1}if(eu.version!==eo){var ef=Error("@opentelemetry/api: Registration of version v"+eu.version+" for "+Y+" does not match previously registered API v"+eo);return en.error(ef.stack||ef.message),!1}return eu[Y]=et,en.debug("@opentelemetry/api: Registered a global for "+Y+" v"+eo+"."),!0}function eh(Y){var et,en,ei=null===(et=ed[ec])||void 0===et?void 0:et.version;if(ei&&eu(ei))return null===(en=ed[ec])||void 0===en?void 0:en[Y]}function ep(Y,et){et.debug("@opentelemetry/api: Unregistering a global for "+Y+" v"+eo+".");var en=ed[ec];en&&delete en[Y]}},31294:function(Y,et,en){"use strict";en.d(et,{g:function(){return eM}});var ei=en(36248),eo=en(18796),ea=en(87212),eu=en(54967),ec=(0,ea.Y)("OpenTelemetry Context Key SPAN");function ed(Y){return Y.getValue(ec)||void 0}function ef(){return ed(eo.c.getInstance().active())}function eh(Y,et){return Y.setValue(ec,et)}function ep(Y){return Y.deleteValue(ec)}function em(Y,et){return eh(Y,new eu.s(et))}function eg(Y){var et;return null===(et=ed(Y))||void 0===et?void 0:et.spanContext()}var ey=en(91176),eb=eo.c.getInstance(),ek=function(){function Y(){}return Y.prototype.startSpan=function(Y,et,en){if(void 0===en&&(en=eb.active()),null==et?void 0:et.root)return new eu.s;var ei=en&&eg(en);return ew(ei)&&(0,ey.BM)(ei)?new eu.s(ei):new eu.s},Y.prototype.startActiveSpan=function(Y,et,en,ei){if(!(arguments.length<2)){2==arguments.length?eu=et:3==arguments.length?(eo=et,eu=en):(eo=et,ea=en,eu=ei);var eo,ea,eu,ec=null!=ea?ea:eb.active(),ed=this.startSpan(Y,eo,ec),ef=eh(ec,ed);return eb.with(ef,eu,void 0,ed)}},Y}();function ew(Y){return"object"==typeof Y&&"string"==typeof Y.spanId&&"string"==typeof Y.traceId&&"number"==typeof Y.traceFlags}var e_=new ek,eE=function(){function Y(Y,et,en,ei){this._provider=Y,this.name=et,this.version=en,this.options=ei}return Y.prototype.startSpan=function(Y,et,en){return this._getTracer().startSpan(Y,et,en)},Y.prototype.startActiveSpan=function(Y,et,en,ei){var eo=this._getTracer();return Reflect.apply(eo.startActiveSpan,eo,arguments)},Y.prototype._getTracer=function(){if(this._delegate)return this._delegate;var Y=this._provider.getDelegateTracer(this.name,this.version,this.options);return Y?(this._delegate=Y,this._delegate):e_},Y}(),eC=new(function(){function Y(){}return Y.prototype.getTracer=function(Y,et,en){return new ek},Y}()),eT=function(){function Y(){}return Y.prototype.getTracer=function(Y,et,en){var ei;return null!==(ei=this.getDelegateTracer(Y,et,en))&&void 0!==ei?ei:new eE(this,Y,et,en)},Y.prototype.getDelegate=function(){var Y;return null!==(Y=this._delegate)&&void 0!==Y?Y:eC},Y.prototype.setDelegate=function(Y){this._delegate=Y},Y.prototype.getDelegateTracer=function(Y,et,en){var ei;return null===(ei=this._delegate)||void 0===ei?void 0:ei.getTracer(Y,et,en)},Y}(),eS=en(42611),eA="trace",eM=(function(){function Y(){this._proxyTracerProvider=new eT,this.wrapSpanContext=ey.kw,this.isSpanContextValid=ey.BM,this.deleteSpan=ep,this.getSpan=ed,this.getActiveSpan=ef,this.getSpanContext=eg,this.setSpan=eh,this.setSpanContext=em}return Y.getInstance=function(){return this._instance||(this._instance=new Y),this._instance},Y.prototype.setGlobalTracerProvider=function(Y){var et=(0,ei.TG)(eA,this._proxyTracerProvider,eS.G.instance());return et&&this._proxyTracerProvider.setDelegate(Y),et},Y.prototype.getTracerProvider=function(){return(0,ei.Rd)(eA)||this._proxyTracerProvider},Y.prototype.getTracer=function(Y,et){return this.getTracerProvider().getTracer(Y,et)},Y.prototype.disable=function(){(0,ei.J_)(eA,eS.G.instance()),this._proxyTracerProvider=new eT},Y})().getInstance()},54967:function(Y,et,en){"use strict";en.d(et,{s:function(){return eo}});var ei=en(58634),eo=function(){function Y(Y){void 0===Y&&(Y=ei.Rr),this._spanContext=Y}return Y.prototype.spanContext=function(){return this._spanContext},Y.prototype.setAttribute=function(Y,et){return this},Y.prototype.setAttributes=function(Y){return this},Y.prototype.addEvent=function(Y,et){return this},Y.prototype.setStatus=function(Y){return this},Y.prototype.updateName=function(Y){return this},Y.prototype.end=function(Y){},Y.prototype.isRecording=function(){return!1},Y.prototype.recordException=function(Y,et){},Y}()},58634:function(Y,et,en){"use strict";en.d(et,{AE:function(){return ea},Rr:function(){return eu},fQ:function(){return eo}});var ei=en(19959),eo="0000000000000000",ea="00000000000000000000000000000000",eu={traceId:ea,spanId:eo,traceFlags:ei.r.NONE}},91176:function(Y,et,en){"use strict";en.d(et,{BM:function(){return ef},jN:function(){return ec},kw:function(){return eh}});var ei=en(58634),eo=en(54967),ea=/^([0-9a-f]{32})$/i,eu=/^[0-9a-f]{16}$/i;function ec(Y){return ea.test(Y)&&Y!==ei.AE}function ed(Y){return eu.test(Y)&&Y!==ei.fQ}function ef(Y){return ec(Y.traceId)&&ed(Y.spanId)}function eh(Y){return new eo.s(Y)}},19959:function(Y,et,en){"use strict";var ei;en.d(et,{r:function(){return ei}}),function(Y){Y[Y.NONE=0]="NONE",Y[Y.SAMPLED=1]="SAMPLED"}(ei||(ei={}))},72901:function(Y,et,en){"use strict";function ei(Y,et,{checkForDefaultPrevented:en=!0}={}){return function(ei){if(null==Y||Y(ei),!1===en||!ei.defaultPrevented)return null==et?void 0:et(ei)}}en.d(et,{M:function(){return ei}})},68539:function(Y,et,en){"use strict";en.d(et,{B:function(){return ec}});var ei=en(70079),eo=en(36646),ea=en(49270),eu=en(94251);function ec(Y){let et=Y+"CollectionProvider",[en,ec]=(0,eo.b)(et),[ed,ef]=en(et,{collectionRef:{current:null},itemMap:new Map}),eh=Y=>{let{scope:et,children:en}=Y,eo=ei.useRef(null),ea=ei.useRef(new Map).current;return ei.createElement(ed,{scope:et,itemMap:ea,collectionRef:eo},en)},ep=Y+"CollectionSlot",em=ei.forwardRef((Y,et)=>{let{scope:en,children:eo}=Y,ec=ef(ep,en),ed=(0,ea.e)(et,ec.collectionRef);return ei.createElement(eu.g7,{ref:ed},eo)}),eg=Y+"CollectionItemSlot",ey="data-radix-collection-item",eb=ei.forwardRef((Y,et)=>{let{scope:en,children:eo,...ec}=Y,ed=ei.useRef(null),eh=(0,ea.e)(et,ed),ep=ef(eg,en);return ei.useEffect(()=>(ep.itemMap.set(ed,{ref:ed,...ec}),()=>void ep.itemMap.delete(ed))),ei.createElement(eu.g7,{[ey]:"",ref:eh},eo)});return[{Provider:eh,Slot:em,ItemSlot:eb},function(et){let en=ef(Y+"CollectionConsumer",et),eo=ei.useCallback(()=>{let Y=en.collectionRef.current;if(!Y)return[];let et=Array.from(Y.querySelectorAll(`[${ey}]`)),ei=Array.from(en.itemMap.values()),eo=ei.sort((Y,en)=>et.indexOf(Y.ref.current)-et.indexOf(en.ref.current));return eo},[en.collectionRef,en.itemMap]);return eo},ec]}},49270:function(Y,et,en){"use strict";en.d(et,{F:function(){return ea},e:function(){return eu}});var ei=en(70079);function eo(Y,et){"function"==typeof Y?Y(et):null!=Y&&(Y.current=et)}function ea(...Y){return et=>Y.forEach(Y=>eo(Y,et))}function eu(...Y){return(0,ei.useCallback)(ea(...Y),Y)}},36646:function(Y,et,en){"use strict";en.d(et,{b:function(){return ea},k:function(){return eo}});var ei=en(70079);function eo(Y,et){let en=(0,ei.createContext)(et);function eo(Y){let{children:et,...eo}=Y,ea=(0,ei.useMemo)(()=>eo,Object.values(eo));return(0,ei.createElement)(en.Provider,{value:ea},et)}function ea(eo){let ea=(0,ei.useContext)(en);if(ea)return ea;if(void 0!==et)return et;throw Error(`\`${eo}\` must be used within \`${Y}\``)}return eo.displayName=Y+"Provider",[eo,ea]}function ea(Y,et=[]){let en=[];function eo(et,eo){let ea=(0,ei.createContext)(eo),eu=en.length;function ec(et){let{scope:en,children:eo,...ec}=et,ed=(null==en?void 0:en[Y][eu])||ea,ef=(0,ei.useMemo)(()=>ec,Object.values(ec));return(0,ei.createElement)(ed.Provider,{value:ef},eo)}function ed(en,ec){let ed=(null==ec?void 0:ec[Y][eu])||ea,ef=(0,ei.useContext)(ed);if(ef)return ef;if(void 0!==eo)return eo;throw Error(`\`${en}\` must be used within \`${et}\``)}return en=[...en,eo],ec.displayName=et+"Provider",[ec,ed]}let ea=()=>{let et=en.map(Y=>(0,ei.createContext)(Y));return function(en){let eo=(null==en?void 0:en[Y])||et;return(0,ei.useMemo)(()=>({[`__scope${Y}`]:{...en,[Y]:eo}}),[en,eo])}};return ea.scopeName=Y,[eo,eu(ea,...et)]}function eu(...Y){let et=Y[0];if(1===Y.length)return et;let en=()=>{let en=Y.map(Y=>({useScope:Y(),scopeName:Y.scopeName}));return function(Y){let eo=en.reduce((et,{useScope:en,scopeName:ei})=>{let eo=en(Y),ea=eo[`__scope${ei}`];return{...et,...ea}},{});return(0,ei.useMemo)(()=>({[`__scope${et.scopeName}`]:eo}),[eo])}};return en.scopeName=et.scopeName,en}},71950:function(Y,et,en){"use strict";en.d(et,{Dx:function(){return e7},VY:function(){return e6},aV:function(){return e3},dk:function(){return e8},fC:function(){return e9},h_:function(){return e4},x8:function(){return tt},xz:function(){return e5}});var ei=en(45675),eo=en(70079),ea=en(72901),eu=en(49270),ec=en(36646),ed=en(88817),ef=en(86004),eh=en(49515),ep=en(44480),em=en(67323),eg=en(55691),ey=en(39073),eb=en(54386),ek=en(54239),ew=en(66546),e_=en(94251);let eE="Dialog",[eC,eT]=(0,ec.b)(eE),[eS,eA]=eC(eE),eM=Y=>{let{__scopeDialog:et,children:en,open:ei,defaultOpen:ea,onOpenChange:eu,modal:ec=!0}=Y,eh=(0,eo.useRef)(null),ep=(0,eo.useRef)(null),[em=!1,eg]=(0,ef.T)({prop:ei,defaultProp:ea,onChange:eu});return(0,eo.createElement)(eS,{scope:et,triggerRef:eh,contentRef:ep,contentId:(0,ed.M)(),titleId:(0,ed.M)(),descriptionId:(0,ed.M)(),open:em,onOpenChange:eg,onOpenToggle:(0,eo.useCallback)(()=>eg(Y=>!Y),[eg]),modal:ec},en)},eP="DialogTrigger",ej=(0,eo.forwardRef)((Y,et)=>{let{__scopeDialog:en,...ec}=Y,ed=eA(eP,en),ef=(0,eu.e)(et,ed.triggerRef);return(0,eo.createElement)(ey.WV.button,(0,ei.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":ed.open,"aria-controls":ed.contentId,"data-state":eQ(ed.open)},ec,{ref:ef,onClick:(0,ea.M)(Y.onClick,ed.onOpenToggle)}))}),eO="DialogPortal",[eI,eN]=eC(eO,{forceMount:void 0}),eL=Y=>{let{__scopeDialog:et,forceMount:en,children:ei,container:ea}=Y,eu=eA(eO,et);return(0,eo.createElement)(eI,{scope:et,forceMount:en},eo.Children.map(ei,Y=>(0,eo.createElement)(eg.z,{present:en||eu.open},(0,eo.createElement)(em.h,{asChild:!0,container:ea},Y))))},eR="DialogOverlay",eD=(0,eo.forwardRef)((Y,et)=>{let en=eN(eR,Y.__scopeDialog),{forceMount:ea=en.forceMount,...eu}=Y,ec=eA(eR,Y.__scopeDialog);return ec.modal?(0,eo.createElement)(eg.z,{present:ea||ec.open},(0,eo.createElement)(eF,(0,ei.Z)({},eu,{ref:et}))):null}),eF=(0,eo.forwardRef)((Y,et)=>{let{__scopeDialog:en,...ea}=Y,eu=eA(eR,en);return(0,eo.createElement)(ek.Z,{as:e_.g7,allowPinchZoom:!0,shards:[eu.contentRef]},(0,eo.createElement)(ey.WV.div,(0,ei.Z)({"data-state":eQ(eu.open)},ea,{ref:et,style:{pointerEvents:"auto",...ea.style}})))}),eB="DialogContent",ez=(0,eo.forwardRef)((Y,et)=>{let en=eN(eB,Y.__scopeDialog),{forceMount:ea=en.forceMount,...eu}=Y,ec=eA(eB,Y.__scopeDialog);return(0,eo.createElement)(eg.z,{present:ea||ec.open},ec.modal?(0,eo.createElement)(eU,(0,ei.Z)({},eu,{ref:et})):(0,eo.createElement)(eH,(0,ei.Z)({},eu,{ref:et})))}),eU=(0,eo.forwardRef)((Y,et)=>{let en=eA(eB,Y.__scopeDialog),ec=(0,eo.useRef)(null),ed=(0,eu.e)(et,en.contentRef,ec);return(0,eo.useEffect)(()=>{let Y=ec.current;if(Y)return(0,ew.Ry)(Y)},[]),(0,eo.createElement)(eG,(0,ei.Z)({},Y,{ref:ed,trapFocus:en.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,ea.M)(Y.onCloseAutoFocus,Y=>{var et;Y.preventDefault(),null===(et=en.triggerRef.current)||void 0===et||et.focus()}),onPointerDownOutside:(0,ea.M)(Y.onPointerDownOutside,Y=>{let et=Y.detail.originalEvent,en=0===et.button&&!0===et.ctrlKey,ei=2===et.button||en;ei&&Y.preventDefault()}),onFocusOutside:(0,ea.M)(Y.onFocusOutside,Y=>Y.preventDefault())}))}),eH=(0,eo.forwardRef)((Y,et)=>{let en=eA(eB,Y.__scopeDialog),ea=(0,eo.useRef)(!1);return(0,eo.createElement)(eG,(0,ei.Z)({},Y,{ref:et,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:et=>{var ei,eo;null===(ei=Y.onCloseAutoFocus)||void 0===ei||ei.call(Y,et),et.defaultPrevented||(ea.current||null===(eo=en.triggerRef.current)||void 0===eo||eo.focus(),et.preventDefault()),ea.current=!1},onInteractOutside:et=>{var ei,eo;null===(ei=Y.onInteractOutside)||void 0===ei||ei.call(Y,et),et.defaultPrevented||(ea.current=!0);let eu=et.target,ec=null===(eo=en.triggerRef.current)||void 0===eo?void 0:eo.contains(eu);ec&&et.preventDefault()}}))}),eG=(0,eo.forwardRef)((Y,et)=>{let{__scopeDialog:en,trapFocus:ea,onOpenAutoFocus:ec,onCloseAutoFocus:ed,...ef}=Y,em=eA(eB,en),eg=(0,eo.useRef)(null),ey=(0,eu.e)(et,eg);return(0,eb.EW)(),(0,eo.createElement)(eo.Fragment,null,(0,eo.createElement)(ep.M,{asChild:!0,loop:!0,trapped:ea,onMountAutoFocus:ec,onUnmountAutoFocus:ed},(0,eo.createElement)(eh.XB,(0,ei.Z)({role:"dialog",id:em.contentId,"aria-describedby":em.descriptionId,"aria-labelledby":em.titleId,"data-state":eQ(em.open)},ef,{ref:ey,onDismiss:()=>em.onOpenChange(!1)}))),!1)}),eV="DialogTitle",eW=(0,eo.forwardRef)((Y,et)=>{let{__scopeDialog:en,...ea}=Y,eu=eA(eV,en);return(0,eo.createElement)(ey.WV.h2,(0,ei.Z)({id:eu.titleId},ea,{ref:et}))}),eZ="DialogDescription",eK=(0,eo.forwardRef)((Y,et)=>{let{__scopeDialog:en,...ea}=Y,eu=eA(eZ,en);return(0,eo.createElement)(ey.WV.p,(0,ei.Z)({id:eu.descriptionId},ea,{ref:et}))}),e$="DialogClose",eY=(0,eo.forwardRef)((Y,et)=>{let{__scopeDialog:en,...eu}=Y,ec=eA(e$,en);return(0,eo.createElement)(ey.WV.button,(0,ei.Z)({type:"button"},eu,{ref:et,onClick:(0,ea.M)(Y.onClick,()=>ec.onOpenChange(!1))}))});function eQ(Y){return Y?"open":"closed"}let eX="DialogTitleWarning",[eJ,e0]=(0,ec.k)(eX,{contentName:eB,titleName:eV,docsSlug:"dialog"}),e9=eM,e5=ej,e4=eL,e3=eD,e6=ez,e7=eW,e8=eK,tt=eY},28036:function(Y,et,en){"use strict";en.d(et,{gm:function(){return ea}});var ei=en(70079);let eo=(0,ei.createContext)(void 0);function ea(Y){let et=(0,ei.useContext)(eo);return Y||et||"ltr"}},49515:function(Y,et,en){"use strict";let ei;en.d(et,{XB:function(){return eb}});var eo=en(5527),ea=en(70079),eu=en(72901),ec=en(39073),ed=en(49270),ef=en(9137);function eh(Y,et=null==globalThis?void 0:globalThis.document){let en=(0,ef.W)(Y);(0,ea.useEffect)(()=>{let Y=Y=>{"Escape"===Y.key&&en(Y)};return et.addEventListener("keydown",Y),()=>et.removeEventListener("keydown",Y)},[en,et])}let ep="dismissableLayer.update",em="dismissableLayer.pointerDownOutside",eg="dismissableLayer.focusOutside",ey=(0,ea.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),eb=(0,ea.forwardRef)((Y,et)=>{var en;let{disableOutsidePointerEvents:ef=!1,onEscapeKeyDown:em,onPointerDownOutside:eg,onFocusOutside:eb,onInteractOutside:eE,onDismiss:eC,...eT}=Y,eS=(0,ea.useContext)(ey),[eA,eM]=(0,ea.useState)(null),eP=null!==(en=null==eA?void 0:eA.ownerDocument)&&void 0!==en?en:null==globalThis?void 0:globalThis.document,[,ej]=(0,ea.useState)({}),eO=(0,ed.e)(et,Y=>eM(Y)),eI=Array.from(eS.layers),[eN]=[...eS.layersWithOutsidePointerEventsDisabled].slice(-1),eL=eI.indexOf(eN),eR=eA?eI.indexOf(eA):-1,eD=eS.layersWithOutsidePointerEventsDisabled.size>0,eF=eR>=eL,eB=ek(Y=>{let et=Y.target,en=[...eS.branches].some(Y=>Y.contains(et));!eF||en||(null==eg||eg(Y),null==eE||eE(Y),Y.defaultPrevented||null==eC||eC())},eP),ez=ew(Y=>{let et=Y.target,en=[...eS.branches].some(Y=>Y.contains(et));en||(null==eb||eb(Y),null==eE||eE(Y),Y.defaultPrevented||null==eC||eC())},eP);return eh(Y=>{let et=eR===eS.layers.size-1;et&&(null==em||em(Y),!Y.defaultPrevented&&eC&&(Y.preventDefault(),eC()))},eP),(0,ea.useEffect)(()=>{if(eA)return ef&&(0===eS.layersWithOutsidePointerEventsDisabled.size&&(ei=eP.body.style.pointerEvents,eP.body.style.pointerEvents="none"),eS.layersWithOutsidePointerEventsDisabled.add(eA)),eS.layers.add(eA),e_(),()=>{ef&&1===eS.layersWithOutsidePointerEventsDisabled.size&&(eP.body.style.pointerEvents=ei)}},[eA,eP,ef,eS]),(0,ea.useEffect)(()=>()=>{eA&&(eS.layers.delete(eA),eS.layersWithOutsidePointerEventsDisabled.delete(eA),e_())},[eA,eS]),(0,ea.useEffect)(()=>{let Y=()=>ej({});return document.addEventListener(ep,Y),()=>document.removeEventListener(ep,Y)},[]),(0,ea.createElement)(ec.WV.div,(0,eo.Z)({},eT,{ref:eO,style:{pointerEvents:eD?eF?"auto":"none":void 0,...Y.style},onFocusCapture:(0,eu.M)(Y.onFocusCapture,ez.onFocusCapture),onBlurCapture:(0,eu.M)(Y.onBlurCapture,ez.onBlurCapture),onPointerDownCapture:(0,eu.M)(Y.onPointerDownCapture,eB.onPointerDownCapture)}))});function ek(Y,et=null==globalThis?void 0:globalThis.document){let en=(0,ef.W)(Y),ei=(0,ea.useRef)(!1),eo=(0,ea.useRef)(()=>{});return(0,ea.useEffect)(()=>{let Y=Y=>{if(Y.target&&!ei.current){let ei={originalEvent:Y};function ea(){eE(em,en,ei,{discrete:!0})}"touch"===Y.pointerType?(et.removeEventListener("click",eo.current),eo.current=ea,et.addEventListener("click",eo.current,{once:!0})):ea()}ei.current=!1},ea=window.setTimeout(()=>{et.addEventListener("pointerdown",Y)},0);return()=>{window.clearTimeout(ea),et.removeEventListener("pointerdown",Y),et.removeEventListener("click",eo.current)}},[et,en]),{onPointerDownCapture:()=>ei.current=!0}}function ew(Y,et=null==globalThis?void 0:globalThis.document){let en=(0,ef.W)(Y),ei=(0,ea.useRef)(!1);return(0,ea.useEffect)(()=>{let Y=Y=>{if(Y.target&&!ei.current){let et={originalEvent:Y};eE(eg,en,et,{discrete:!1})}};return et.addEventListener("focusin",Y),()=>et.removeEventListener("focusin",Y)},[et,en]),{onFocusCapture:()=>ei.current=!0,onBlurCapture:()=>ei.current=!1}}function e_(){let Y=new CustomEvent(ep);document.dispatchEvent(Y)}function eE(Y,et,en,{discrete:ei}){let eo=en.originalEvent.target,ea=new CustomEvent(Y,{bubbles:!1,cancelable:!0,detail:en});et&&eo.addEventListener(Y,et,{once:!0}),ei?(0,ec.jH)(eo,ea):eo.dispatchEvent(ea)}},47428:function(Y,et,en){"use strict";en.d(et,{VY:function(){return nj},ZA:function(){return nO},ck:function(){return nN},wU:function(){return nD},__:function(){return nI},Uv:function(){return nP},Ee:function(){return nL},Rk:function(){return nR},fC:function(){return nA},Z0:function(){return nF},Tr:function(){return nB},tu:function(){return nU},fF:function(){return nz},xz:function(){return nM}});var ei=en(45675),eo=en(70079),ea=en(72901),eu=en(49270),ec=en(36646),ed=en(86004),ef=en(39073),eh=en(5527),ep=en(68539),em=en(28036),eg=en(49515),ey=en(54386),eb=en(44480),ek=en(88817),ew=en(25373),e_=en(67323),eE=en(55691),eC=en(83208),eT=en(94251),eS=en(9137),eA=en(66546),eM=en(54239);let eP=["Enter"," "],ej=["ArrowDown","PageUp","Home"],eO=["ArrowUp","PageDown","End"],eI=[...ej,...eO],eN={ltr:[...eP,"ArrowRight"],rtl:[...eP,"ArrowLeft"]},eL={ltr:["ArrowLeft"],rtl:["ArrowRight"]},eR="Menu",[eD,eF,eB]=(0,ep.B)(eR),[ez,eU]=(0,ec.b)(eR,[eB,ew.D7,eC.Pc]),eH=(0,ew.D7)(),eG=(0,eC.Pc)(),[eV,eW]=ez(eR),[eZ,eK]=ez(eR),e$=Y=>{let{__scopeMenu:et,open:en=!1,children:ei,dir:ea,onOpenChange:eu,modal:ec=!0}=Y,ed=eH(et),[ef,eh]=(0,eo.useState)(null),ep=(0,eo.useRef)(!1),eg=(0,eS.W)(eu),ey=(0,em.gm)(ea);return(0,eo.useEffect)(()=>{let Y=()=>{ep.current=!0,document.addEventListener("pointerdown",et,{capture:!0,once:!0}),document.addEventListener("pointermove",et,{capture:!0,once:!0})},et=()=>ep.current=!1;return document.addEventListener("keydown",Y,{capture:!0}),()=>{document.removeEventListener("keydown",Y,{capture:!0}),document.removeEventListener("pointerdown",et,{capture:!0}),document.removeEventListener("pointermove",et,{capture:!0})}},[]),(0,eo.createElement)(ew.fC,ed,(0,eo.createElement)(eV,{scope:et,open:en,onOpenChange:eg,content:ef,onContentChange:eh},(0,eo.createElement)(eZ,{scope:et,onClose:(0,eo.useCallback)(()=>eg(!1),[eg]),isUsingKeyboardRef:ep,dir:ey,modal:ec},ei)))},eY=(0,eo.forwardRef)((Y,et)=>{let{__scopeMenu:en,...ei}=Y,ea=eH(en);return(0,eo.createElement)(ew.ee,(0,eh.Z)({},ea,ei,{ref:et}))}),eQ="MenuPortal",[eX,eJ]=ez(eQ,{forceMount:void 0}),e0=Y=>{let{__scopeMenu:et,forceMount:en,children:ei,container:ea}=Y,eu=eW(eQ,et);return(0,eo.createElement)(eX,{scope:et,forceMount:en},(0,eo.createElement)(eE.z,{present:en||eu.open},(0,eo.createElement)(e_.h,{asChild:!0,container:ea},ei)))},e9="MenuContent",[e5,e4]=ez(e9),e3=(0,eo.forwardRef)((Y,et)=>{let en=eJ(e9,Y.__scopeMenu),{forceMount:ei=en.forceMount,...ea}=Y,eu=eW(e9,Y.__scopeMenu),ec=eK(e9,Y.__scopeMenu);return(0,eo.createElement)(eD.Provider,{scope:Y.__scopeMenu},(0,eo.createElement)(eE.z,{present:ei||eu.open},(0,eo.createElement)(eD.Slot,{scope:Y.__scopeMenu},ec.modal?(0,eo.createElement)(e6,(0,eh.Z)({},ea,{ref:et})):(0,eo.createElement)(e7,(0,eh.Z)({},ea,{ref:et})))))}),e6=(0,eo.forwardRef)((Y,et)=>{let en=eW(e9,Y.__scopeMenu),ei=(0,eo.useRef)(null),ec=(0,eu.e)(et,ei);return(0,eo.useEffect)(()=>{let Y=ei.current;if(Y)return(0,eA.Ry)(Y)},[]),(0,eo.createElement)(e8,(0,eh.Z)({},Y,{ref:ec,trapFocus:en.open,disableOutsidePointerEvents:en.open,disableOutsideScroll:!0,onFocusOutside:(0,ea.M)(Y.onFocusOutside,Y=>Y.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>en.onOpenChange(!1)}))}),e7=(0,eo.forwardRef)((Y,et)=>{let en=eW(e9,Y.__scopeMenu);return(0,eo.createElement)(e8,(0,eh.Z)({},Y,{ref:et,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>en.onOpenChange(!1)}))}),e8=(0,eo.forwardRef)((Y,et)=>{let{__scopeMenu:en,loop:ei=!1,trapFocus:ec,onOpenAutoFocus:ed,onCloseAutoFocus:ef,disableOutsidePointerEvents:ep,onEntryFocus:em,onEscapeKeyDown:ek,onPointerDownOutside:e_,onFocusOutside:eE,onInteractOutside:eS,onDismiss:eA,disableOutsideScroll:eP,...ej}=Y,eN=eW(e9,en),eL=eK(e9,en),eR=eH(en),eD=eG(en),eB=eF(en),[ez,eU]=(0,eo.useState)(null),eV=(0,eo.useRef)(null),eZ=(0,eu.e)(et,eV,eN.onContentChange),e$=(0,eo.useRef)(0),eY=(0,eo.useRef)(""),eQ=(0,eo.useRef)(0),eX=(0,eo.useRef)(null),eJ=(0,eo.useRef)("right"),e0=(0,eo.useRef)(0),e4=eP?eM.Z:eo.Fragment,e3=eP?{as:eT.g7,allowPinchZoom:!0}:void 0,e6=Y=>{var et,en;let ei=eY.current+Y,eo=eB().filter(Y=>!Y.disabled),ea=document.activeElement,eu=null===(et=eo.find(Y=>Y.ref.current===ea))||void 0===et?void 0:et.textValue,ec=eo.map(Y=>Y.textValue),ed=tH(ec,ei,eu),ef=null===(en=eo.find(Y=>Y.textValue===ed))||void 0===en?void 0:en.ref.current;!function Y(et){eY.current=et,window.clearTimeout(e$.current),""!==et&&(e$.current=window.setTimeout(()=>Y(""),1e3))}(ei),ef&&setTimeout(()=>ef.focus())};(0,eo.useEffect)(()=>()=>window.clearTimeout(e$.current),[]),(0,ey.EW)();let e7=(0,eo.useCallback)(Y=>{var et,en;let ei=eJ.current===(null===(et=eX.current)||void 0===et?void 0:et.side);return ei&&tV(Y,null===(en=eX.current)||void 0===en?void 0:en.area)},[]);return(0,eo.createElement)(e5,{scope:en,searchRef:eY,onItemEnter:(0,eo.useCallback)(Y=>{e7(Y)&&Y.preventDefault()},[e7]),onItemLeave:(0,eo.useCallback)(Y=>{var et;e7(Y)||(null===(et=eV.current)||void 0===et||et.focus(),eU(null))},[e7]),onTriggerLeave:(0,eo.useCallback)(Y=>{e7(Y)&&Y.preventDefault()},[e7]),pointerGraceTimerRef:eQ,onPointerGraceIntentChange:(0,eo.useCallback)(Y=>{eX.current=Y},[])},(0,eo.createElement)(e4,e3,(0,eo.createElement)(eb.M,{asChild:!0,trapped:ec,onMountAutoFocus:(0,ea.M)(ed,Y=>{var et;Y.preventDefault(),null===(et=eV.current)||void 0===et||et.focus()}),onUnmountAutoFocus:ef},(0,eo.createElement)(eg.XB,{asChild:!0,disableOutsidePointerEvents:ep,onEscapeKeyDown:ek,onPointerDownOutside:e_,onFocusOutside:eE,onInteractOutside:eS,onDismiss:eA},(0,eo.createElement)(eC.fC,(0,eh.Z)({asChild:!0},eD,{dir:eL.dir,orientation:"vertical",loop:ei,currentTabStopId:ez,onCurrentTabStopIdChange:eU,onEntryFocus:(0,ea.M)(em,Y=>{eL.isUsingKeyboardRef.current||Y.preventDefault()})}),(0,eo.createElement)(ew.VY,(0,eh.Z)({role:"menu","aria-orientation":"vertical","data-state":tR(eN.open),"data-radix-menu-content":"",dir:eL.dir},eR,ej,{ref:eZ,style:{outline:"none",...ej.style},onKeyDown:(0,ea.M)(ej.onKeyDown,Y=>{let et=Y.target,en=et.closest("[data-radix-menu-content]")===Y.currentTarget,ei=Y.ctrlKey||Y.altKey||Y.metaKey,eo=1===Y.key.length;en&&("Tab"===Y.key&&Y.preventDefault(),!ei&&eo&&e6(Y.key));let ea=eV.current;if(Y.target!==ea||!eI.includes(Y.key))return;Y.preventDefault();let eu=eB().filter(Y=>!Y.disabled),ec=eu.map(Y=>Y.ref.current);eO.includes(Y.key)&&ec.reverse(),tB(ec)}),onBlur:(0,ea.M)(Y.onBlur,Y=>{Y.currentTarget.contains(Y.target)||(window.clearTimeout(e$.current),eY.current="")}),onPointerMove:(0,ea.M)(Y.onPointerMove,tW(Y=>{let et=Y.target,en=e0.current!==Y.clientX;if(Y.currentTarget.contains(et)&&en){let et=Y.clientX>e0.current?"right":"left";eJ.current=et,e0.current=Y.clientX}}))})))))))}),tt=(0,eo.forwardRef)((Y,et)=>{let{__scopeMenu:en,...ei}=Y;return(0,eo.createElement)(ef.WV.div,(0,eh.Z)({role:"group"},ei,{ref:et}))}),ta=(0,eo.forwardRef)((Y,et)=>{let{__scopeMenu:en,...ei}=Y;return(0,eo.createElement)(ef.WV.div,(0,eh.Z)({},ei,{ref:et}))}),tu="MenuItem",tc="menu.itemSelect",td=(0,eo.forwardRef)((Y,et)=>{let{disabled:en=!1,onSelect:ei,...ec}=Y,ed=(0,eo.useRef)(null),ep=eK(tu,Y.__scopeMenu),em=e4(tu,Y.__scopeMenu),eg=(0,eu.e)(et,ed),ey=(0,eo.useRef)(!1),eb=()=>{let Y=ed.current;if(!en&&Y){let et=new CustomEvent(tc,{bubbles:!0,cancelable:!0});Y.addEventListener(tc,Y=>null==ei?void 0:ei(Y),{once:!0}),(0,ef.jH)(Y,et),et.defaultPrevented?ey.current=!1:ep.onClose()}};return(0,eo.createElement)(tf,(0,eh.Z)({},ec,{ref:eg,disabled:en,onClick:(0,ea.M)(Y.onClick,eb),onPointerDown:et=>{var en;null===(en=Y.onPointerDown)||void 0===en||en.call(Y,et),ey.current=!0},onPointerUp:(0,ea.M)(Y.onPointerUp,Y=>{var et;ey.current||null===(et=Y.currentTarget)||void 0===et||et.click()}),onKeyDown:(0,ea.M)(Y.onKeyDown,Y=>{let et=""!==em.searchRef.current;!en&&(!et||" "!==Y.key)&&eP.includes(Y.key)&&(Y.currentTarget.click(),Y.preventDefault())})}))}),tf=(0,eo.forwardRef)((Y,et)=>{let{__scopeMenu:en,disabled:ei=!1,textValue:ec,...ed}=Y,ep=e4(tu,en),em=eG(en),eg=(0,eo.useRef)(null),ey=(0,eu.e)(et,eg),[eb,ek]=(0,eo.useState)(!1),[ew,e_]=(0,eo.useState)("");return(0,eo.useEffect)(()=>{let Y=eg.current;if(Y){var et;e_((null!==(et=Y.textContent)&&void 0!==et?et:"").trim())}},[ed.children]),(0,eo.createElement)(eD.ItemSlot,{scope:en,disabled:ei,textValue:null!=ec?ec:ew},(0,eo.createElement)(eC.ck,(0,eh.Z)({asChild:!0},em,{focusable:!ei}),(0,eo.createElement)(ef.WV.div,(0,eh.Z)({role:"menuitem","data-highlighted":eb?"":void 0,"aria-disabled":ei||void 0,"data-disabled":ei?"":void 0},ed,{ref:ey,onPointerMove:(0,ea.M)(Y.onPointerMove,tW(Y=>{if(ei)ep.onItemLeave(Y);else if(ep.onItemEnter(Y),!Y.defaultPrevented){let et=Y.currentTarget;et.focus()}})),onPointerLeave:(0,ea.M)(Y.onPointerLeave,tW(Y=>ep.onItemLeave(Y))),onFocus:(0,ea.M)(Y.onFocus,()=>ek(!0)),onBlur:(0,ea.M)(Y.onBlur,()=>ek(!1))}))))}),th=(0,eo.forwardRef)((Y,et)=>{let{checked:en=!1,onCheckedChange:ei,...eu}=Y;return(0,eo.createElement)(t_,{scope:Y.__scopeMenu,checked:en},(0,eo.createElement)(td,(0,eh.Z)({role:"menuitemcheckbox","aria-checked":tD(en)?"mixed":en},eu,{ref:et,"data-state":tF(en),onSelect:(0,ea.M)(eu.onSelect,()=>null==ei?void 0:ei(!!tD(en)||!en),{checkForDefaultPrevented:!1})})))}),tp="MenuRadioGroup",[tm,tg]=ez(tp,{value:void 0,onValueChange:()=>{}}),tv=(0,eo.forwardRef)((Y,et)=>{let{value:en,onValueChange:ei,...ea}=Y,eu=(0,eS.W)(ei);return(0,eo.createElement)(tm,{scope:Y.__scopeMenu,value:en,onValueChange:eu},(0,eo.createElement)(tt,(0,eh.Z)({},ea,{ref:et})))}),tb="MenuRadioItem",tk=(0,eo.forwardRef)((Y,et)=>{let{value:en,...ei}=Y,eu=tg(tb,Y.__scopeMenu),ec=en===eu.value;return(0,eo.createElement)(t_,{scope:Y.__scopeMenu,checked:ec},(0,eo.createElement)(td,(0,eh.Z)({role:"menuitemradio","aria-checked":ec},ei,{ref:et,"data-state":tF(ec),onSelect:(0,ea.M)(ei.onSelect,()=>{var Y;return null===(Y=eu.onValueChange)||void 0===Y?void 0:Y.call(eu,en)},{checkForDefaultPrevented:!1})})))}),tw="MenuItemIndicator",[t_,tE]=ez(tw,{checked:!1}),tC=(0,eo.forwardRef)((Y,et)=>{let{__scopeMenu:en,forceMount:ei,...ea}=Y,eu=tE(tw,en);return(0,eo.createElement)(eE.z,{present:ei||tD(eu.checked)||!0===eu.checked},(0,eo.createElement)(ef.WV.span,(0,eh.Z)({},ea,{ref:et,"data-state":tF(eu.checked)})))}),tT=(0,eo.forwardRef)((Y,et)=>{let{__scopeMenu:en,...ei}=Y;return(0,eo.createElement)(ef.WV.div,(0,eh.Z)({role:"separator","aria-orientation":"horizontal"},ei,{ref:et}))}),tS=(0,eo.forwardRef)((Y,et)=>{let{__scopeMenu:en,...ei}=Y,ea=eH(en);return(0,eo.createElement)(ew.Eh,(0,eh.Z)({},ea,ei,{ref:et}))}),tA="MenuSub",[tM,tP]=ez(tA),tj=Y=>{let{__scopeMenu:et,children:en,open:ei=!1,onOpenChange:ea}=Y,eu=eW(tA,et),ec=eH(et),[ed,ef]=(0,eo.useState)(null),[eh,ep]=(0,eo.useState)(null),em=(0,eS.W)(ea);return(0,eo.useEffect)(()=>(!1===eu.open&&em(!1),()=>em(!1)),[eu.open,em]),(0,eo.createElement)(ew.fC,ec,(0,eo.createElement)(eV,{scope:et,open:ei,onOpenChange:em,content:eh,onContentChange:ep},(0,eo.createElement)(tM,{scope:et,contentId:(0,ek.M)(),triggerId:(0,ek.M)(),trigger:ed,onTriggerChange:ef},en)))},tO="MenuSubTrigger",tI=(0,eo.forwardRef)((Y,et)=>{let en=eW(tO,Y.__scopeMenu),ei=eK(tO,Y.__scopeMenu),ec=tP(tO,Y.__scopeMenu),ed=e4(tO,Y.__scopeMenu),ef=(0,eo.useRef)(null),{pointerGraceTimerRef:ep,onPointerGraceIntentChange:em}=ed,eg={__scopeMenu:Y.__scopeMenu},ey=(0,eo.useCallback)(()=>{ef.current&&window.clearTimeout(ef.current),ef.current=null},[]);return(0,eo.useEffect)(()=>ey,[ey]),(0,eo.useEffect)(()=>{let Y=ep.current;return()=>{window.clearTimeout(Y),em(null)}},[ep,em]),(0,eo.createElement)(eY,(0,eh.Z)({asChild:!0},eg),(0,eo.createElement)(tf,(0,eh.Z)({id:ec.triggerId,"aria-haspopup":"menu","aria-expanded":en.open,"aria-controls":ec.contentId,"data-state":tR(en.open)},Y,{ref:(0,eu.F)(et,ec.onTriggerChange),onClick:et=>{var ei;null===(ei=Y.onClick)||void 0===ei||ei.call(Y,et),Y.disabled||et.defaultPrevented||(et.currentTarget.focus(),en.open||en.onOpenChange(!0))},onPointerMove:(0,ea.M)(Y.onPointerMove,tW(et=>{ed.onItemEnter(et),et.defaultPrevented||Y.disabled||en.open||ef.current||(ed.onPointerGraceIntentChange(null),ef.current=window.setTimeout(()=>{en.onOpenChange(!0),ey()},100))})),onPointerLeave:(0,ea.M)(Y.onPointerLeave,tW(Y=>{var et,ei;ey();let eo=null===(et=en.content)||void 0===et?void 0:et.getBoundingClientRect();if(eo){let et=null===(ei=en.content)||void 0===ei?void 0:ei.dataset.side,ea="right"===et,eu=ea?-5:5,ec=eo[ea?"left":"right"],ef=eo[ea?"right":"left"];ed.onPointerGraceIntentChange({area:[{x:Y.clientX+eu,y:Y.clientY},{x:ec,y:eo.top},{x:ef,y:eo.top},{x:ef,y:eo.bottom},{x:ec,y:eo.bottom}],side:et}),window.clearTimeout(ep.current),ep.current=window.setTimeout(()=>ed.onPointerGraceIntentChange(null),300)}else{if(ed.onTriggerLeave(Y),Y.defaultPrevented)return;ed.onPointerGraceIntentChange(null)}})),onKeyDown:(0,ea.M)(Y.onKeyDown,et=>{let eo=""!==ed.searchRef.current;if(!Y.disabled&&(!eo||" "!==et.key)&&eN[ei.dir].includes(et.key)){var ea;en.onOpenChange(!0),null===(ea=en.content)||void 0===ea||ea.focus(),et.preventDefault()}})})))}),tN="MenuSubContent",tL=(0,eo.forwardRef)((Y,et)=>{let en=eJ(e9,Y.__scopeMenu),{forceMount:ei=en.forceMount,...ec}=Y,ed=eW(e9,Y.__scopeMenu),ef=eK(e9,Y.__scopeMenu),ep=tP(tN,Y.__scopeMenu),em=(0,eo.useRef)(null),eg=(0,eu.e)(et,em);return(0,eo.createElement)(eD.Provider,{scope:Y.__scopeMenu},(0,eo.createElement)(eE.z,{present:ei||ed.open},(0,eo.createElement)(eD.Slot,{scope:Y.__scopeMenu},(0,eo.createElement)(e8,(0,eh.Z)({id:ep.contentId,"aria-labelledby":ep.triggerId},ec,{ref:eg,align:"start",side:"rtl"===ef.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:Y=>{var et;ef.isUsingKeyboardRef.current&&(null===(et=em.current)||void 0===et||et.focus()),Y.preventDefault()},onCloseAutoFocus:Y=>Y.preventDefault(),onFocusOutside:(0,ea.M)(Y.onFocusOutside,Y=>{Y.target!==ep.trigger&&ed.onOpenChange(!1)}),onEscapeKeyDown:(0,ea.M)(Y.onEscapeKeyDown,Y=>{ef.onClose(),Y.preventDefault()}),onKeyDown:(0,ea.M)(Y.onKeyDown,Y=>{let et=Y.currentTarget.contains(Y.target),en=eL[ef.dir].includes(Y.key);if(et&&en){var ei;ed.onOpenChange(!1),null===(ei=ep.trigger)||void 0===ei||ei.focus(),Y.preventDefault()}})})))))});function tR(Y){return Y?"open":"closed"}function tD(Y){return"indeterminate"===Y}function tF(Y){return tD(Y)?"indeterminate":Y?"checked":"unchecked"}function tB(Y){let et=document.activeElement;for(let en of Y)if(en===et||(en.focus(),document.activeElement!==et))return}function tU(Y,et){return Y.map((en,ei)=>Y[(et+ei)%Y.length])}function tH(Y,et,en){let ei=et.length>1&&Array.from(et).every(Y=>Y===et[0]),eo=ei?et[0]:et,ea=en?Y.indexOf(en):-1,eu=tU(Y,Math.max(ea,0)),ec=1===eo.length;ec&&(eu=eu.filter(Y=>Y!==en));let ed=eu.find(Y=>Y.toLowerCase().startsWith(eo.toLowerCase()));return ed!==en?ed:void 0}function tG(Y,et){let{x:en,y:ei}=Y,eo=!1;for(let Y=0,ea=et.length-1;Y<et.length;ea=Y++){let eu=et[Y].x,ec=et[Y].y,ed=et[ea].x,ef=et[ea].y,eh=ec>ei!=ef>ei&&en<(ed-eu)*(ei-ec)/(ef-ec)+eu;eh&&(eo=!eo)}return eo}function tV(Y,et){if(!et)return!1;let en={x:Y.clientX,y:Y.clientY};return tG(en,et)}function tW(Y){return et=>"mouse"===et.pointerType?Y(et):void 0}let tq=e$,tZ=eY,tK=e0,t$=e3,tY=tt,tQ=ta,tX=td,tJ=tv,t9=tk,t5=tC,t4=tT,t3=tj,t6=tI,t7=tL,t8="DropdownMenu",[nt,nn]=(0,ec.b)(t8,[eU]),ni=eU(),[na,nu]=nt(t8),nd=Y=>{let{__scopeDropdownMenu:et,children:en,dir:ea,open:eu,defaultOpen:ec,onOpenChange:ef,modal:eh=!0}=Y,ep=ni(et),em=(0,eo.useRef)(null),[eg=!1,ey]=(0,ed.T)({prop:eu,defaultProp:ec,onChange:ef});return(0,eo.createElement)(na,{scope:et,triggerId:(0,ek.M)(),triggerRef:em,contentId:(0,ek.M)(),open:eg,onOpenChange:ey,onOpenToggle:(0,eo.useCallback)(()=>ey(Y=>!Y),[ey]),modal:eh},(0,eo.createElement)(tq,(0,ei.Z)({},ep,{open:eg,onOpenChange:ey,dir:ea,modal:eh}),en))},nf="DropdownMenuTrigger",nh=(0,eo.forwardRef)((Y,et)=>{let{__scopeDropdownMenu:en,disabled:ec=!1,...ed}=Y,eh=nu(nf,en),ep=ni(en);return(0,eo.createElement)(tZ,(0,ei.Z)({asChild:!0},ep),(0,eo.createElement)(ef.WV.button,(0,ei.Z)({type:"button",id:eh.triggerId,"aria-haspopup":"menu","aria-expanded":eh.open,"aria-controls":eh.open?eh.contentId:void 0,"data-state":eh.open?"open":"closed","data-disabled":ec?"":void 0,disabled:ec},ed,{ref:(0,eu.F)(et,eh.triggerRef),onPointerDown:(0,ea.M)(Y.onPointerDown,Y=>{ec||0!==Y.button||!1!==Y.ctrlKey||(eh.onOpenToggle(),eh.open||Y.preventDefault())}),onKeyDown:(0,ea.M)(Y.onKeyDown,Y=>{!ec&&(["Enter"," "].includes(Y.key)&&eh.onOpenToggle(),"ArrowDown"===Y.key&&eh.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(Y.key)&&Y.preventDefault())})})))}),np=Y=>{let{__scopeDropdownMenu:et,...en}=Y,ea=ni(et);return(0,eo.createElement)(tK,(0,ei.Z)({},ea,en))},ng="DropdownMenuContent",nv=(0,eo.forwardRef)((Y,et)=>{let{__scopeDropdownMenu:en,...eu}=Y,ec=nu(ng,en),ed=ni(en),ef=(0,eo.useRef)(!1);return(0,eo.createElement)(t$,(0,ei.Z)({id:ec.contentId,"aria-labelledby":ec.triggerId},ed,eu,{ref:et,onCloseAutoFocus:(0,ea.M)(Y.onCloseAutoFocus,Y=>{var et;ef.current||null===(et=ec.triggerRef.current)||void 0===et||et.focus(),ef.current=!1,Y.preventDefault()}),onInteractOutside:(0,ea.M)(Y.onInteractOutside,Y=>{let et=Y.detail.originalEvent,en=0===et.button&&!0===et.ctrlKey,ei=2===et.button||en;(!ec.modal||ei)&&(ef.current=!0)}),style:{...Y.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),ny=(0,eo.forwardRef)((Y,et)=>{let{__scopeDropdownMenu:en,...ea}=Y,eu=ni(en);return(0,eo.createElement)(tY,(0,ei.Z)({},eu,ea,{ref:et}))}),nb=(0,eo.forwardRef)((Y,et)=>{let{__scopeDropdownMenu:en,...ea}=Y,eu=ni(en);return(0,eo.createElement)(tQ,(0,ei.Z)({},eu,ea,{ref:et}))}),nx=(0,eo.forwardRef)((Y,et)=>{let{__scopeDropdownMenu:en,...ea}=Y,eu=ni(en);return(0,eo.createElement)(tX,(0,ei.Z)({},eu,ea,{ref:et}))}),nk=(0,eo.forwardRef)((Y,et)=>{let{__scopeDropdownMenu:en,...ea}=Y,eu=ni(en);return(0,eo.createElement)(tJ,(0,ei.Z)({},eu,ea,{ref:et}))}),nw=(0,eo.forwardRef)((Y,et)=>{let{__scopeDropdownMenu:en,...ea}=Y,eu=ni(en);return(0,eo.createElement)(t9,(0,ei.Z)({},eu,ea,{ref:et}))}),n_=(0,eo.forwardRef)((Y,et)=>{let{__scopeDropdownMenu:en,...ea}=Y,eu=ni(en);return(0,eo.createElement)(t5,(0,ei.Z)({},eu,ea,{ref:et}))}),nE=(0,eo.forwardRef)((Y,et)=>{let{__scopeDropdownMenu:en,...ea}=Y,eu=ni(en);return(0,eo.createElement)(t4,(0,ei.Z)({},eu,ea,{ref:et}))}),nC=Y=>{let{__scopeDropdownMenu:et,children:en,open:ea,onOpenChange:eu,defaultOpen:ec}=Y,ef=ni(et),[eh=!1,ep]=(0,ed.T)({prop:ea,defaultProp:ec,onChange:eu});return(0,eo.createElement)(t3,(0,ei.Z)({},ef,{open:eh,onOpenChange:ep}),en)},nT=(0,eo.forwardRef)((Y,et)=>{let{__scopeDropdownMenu:en,...ea}=Y,eu=ni(en);return(0,eo.createElement)(t6,(0,ei.Z)({},eu,ea,{ref:et}))}),nS=(0,eo.forwardRef)((Y,et)=>{let{__scopeDropdownMenu:en,...ea}=Y,eu=ni(en);return(0,eo.createElement)(t7,(0,ei.Z)({},eu,ea,{ref:et,style:{...Y.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),nA=nd,nM=nh,nP=np,nj=nv,nO=ny,nI=nb,nN=nx,nL=nk,nR=nw,nD=n_,nF=nE,nB=nC,nz=nT,nU=nS},54386:function(Y,et,en){"use strict";en.d(et,{EW:function(){return ea}});var ei=en(70079);let eo=0;function ea(){(0,ei.useEffect)(()=>{var Y,et;let en=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(Y=en[0])&&void 0!==Y?Y:eu()),document.body.insertAdjacentElement("beforeend",null!==(et=en[1])&&void 0!==et?et:eu()),eo++,()=>{1===eo&&document.querySelectorAll("[data-radix-focus-guard]").forEach(Y=>Y.remove()),eo--}},[])}function eu(){let Y=document.createElement("span");return Y.setAttribute("data-radix-focus-guard",""),Y.tabIndex=0,Y.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",Y}},44480:function(Y,et,en){"use strict";en.d(et,{M:function(){return ep}});var ei=en(5527),eo=en(70079),ea=en(49270),eu=en(39073),ec=en(9137);let ed="focusScope.autoFocusOnMount",ef="focusScope.autoFocusOnUnmount",eh={bubbles:!1,cancelable:!0},ep=(0,eo.forwardRef)((Y,et)=>{let{loop:en=!1,trapped:ep=!1,onMountAutoFocus:eb,onUnmountAutoFocus:ek,...ew}=Y,[eC,eT]=(0,eo.useState)(null),eA=(0,ec.W)(eb),eM=(0,ec.W)(ek),eP=(0,eo.useRef)(null),ej=(0,ea.e)(et,Y=>eT(Y)),eO=(0,eo.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,eo.useEffect)(()=>{if(ep){function Y(Y){if(eO.paused||!eC)return;let et=Y.target;eC.contains(et)?eP.current=et:e_(eP.current,{select:!0})}function et(Y){eO.paused||!eC||eC.contains(Y.relatedTarget)||e_(eP.current,{select:!0})}return document.addEventListener("focusin",Y),document.addEventListener("focusout",et),()=>{document.removeEventListener("focusin",Y),document.removeEventListener("focusout",et)}}},[ep,eC,eO.paused]),(0,eo.useEffect)(()=>{if(eC){eE.add(eO);let Y=document.activeElement,et=eC.contains(Y);if(!et){let et=new CustomEvent(ed,eh);eC.addEventListener(ed,eA),eC.dispatchEvent(et),et.defaultPrevented||(em(eS(ey(eC)),{select:!0}),document.activeElement===Y&&e_(eC))}return()=>{eC.removeEventListener(ed,eA),setTimeout(()=>{let et=new CustomEvent(ef,eh);eC.addEventListener(ef,eM),eC.dispatchEvent(et),et.defaultPrevented||e_(null!=Y?Y:document.body,{select:!0}),eC.removeEventListener(ef,eM),eE.remove(eO)},0)}}},[eC,eA,eM,eO]);let eI=(0,eo.useCallback)(Y=>{if(!en&&!ep||eO.paused)return;let et="Tab"===Y.key&&!Y.altKey&&!Y.ctrlKey&&!Y.metaKey,ei=document.activeElement;if(et&&ei){let et=Y.currentTarget,[eo,ea]=eg(et),eu=eo&&ea;eu?Y.shiftKey||ei!==ea?Y.shiftKey&&ei===eo&&(Y.preventDefault(),en&&e_(ea,{select:!0})):(Y.preventDefault(),en&&e_(eo,{select:!0})):ei===et&&Y.preventDefault()}},[en,ep,eO.paused]);return(0,eo.createElement)(eu.WV.div,(0,ei.Z)({tabIndex:-1},ew,{ref:ej,onKeyDown:eI}))});function em(Y,{select:et=!1}={}){let en=document.activeElement;for(let ei of Y)if(e_(ei,{select:et}),document.activeElement!==en)return}function eg(Y){let et=ey(Y),en=eb(et,Y),ei=eb(et.reverse(),Y);return[en,ei]}function ey(Y){let et=[],en=document.createTreeWalker(Y,NodeFilter.SHOW_ELEMENT,{acceptNode:Y=>{let et="INPUT"===Y.tagName&&"hidden"===Y.type;return Y.disabled||Y.hidden||et?NodeFilter.FILTER_SKIP:Y.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;en.nextNode();)et.push(en.currentNode);return et}function eb(Y,et){for(let en of Y)if(!ek(en,{upTo:et}))return en}function ek(Y,{upTo:et}){if("hidden"===getComputedStyle(Y).visibility)return!0;for(;Y&&(void 0===et||Y!==et);){if("none"===getComputedStyle(Y).display)return!0;Y=Y.parentElement}return!1}function ew(Y){return Y instanceof HTMLInputElement&&"select"in Y}function e_(Y,{select:et=!1}={}){if(Y&&Y.focus){let en=document.activeElement;Y.focus({preventScroll:!0}),Y!==en&&ew(Y)&&et&&Y.select()}}let eE=eC();function eC(){let Y=[];return{add(et){let en=Y[0];et!==en&&(null==en||en.pause()),(Y=eT(Y,et)).unshift(et)},remove(et){var en;null===(en=(Y=eT(Y,et))[0])||void 0===en||en.resume()}}}function eT(Y,et){let en=[...Y],ei=en.indexOf(et);return -1!==ei&&en.splice(ei,1),en}function eS(Y){return Y.filter(Y=>"A"!==Y.tagName)}},88817:function(Y,et,en){"use strict";en.d(et,{M:function(){return ed}});var ei,eo=en(70079),ea=en(79388);let eu=(ei||(ei=en.t(eo,2)))["useId".toString()]||(()=>void 0),ec=0;function ed(Y){let[et,en]=eo.useState(eu());return(0,ea.b)(()=>{Y||en(Y=>null!=Y?Y:String(ec++))},[Y]),Y||(et?`radix-${et}`:"")}},6013:function(Y,et,en){"use strict";en.d(et,{VY:function(){return eK},fC:function(){return eV},h_:function(){return eZ},xz:function(){return eW}});var ei=en(45675),eo=en(70079),ea=en(72901),eu=en(49270),ec=en(36646),ed=en(49515),ef=en(54386),eh=en(44480),ep=en(88817),em=en(25373),eg=en(67323),ey=en(55691),eb=en(39073),ek=en(94251),ew=en(86004),e_=en(66546),eE=en(54239);let eC="Popover",[eT,eS]=(0,ec.b)(eC,[em.D7]),eA=(0,em.D7)(),[eM,eP]=eT(eC),ej=Y=>{let{__scopePopover:et,children:en,open:ei,defaultOpen:ea,onOpenChange:eu,modal:ec=!1}=Y,ed=eA(et),ef=(0,eo.useRef)(null),[eh,eg]=(0,eo.useState)(!1),[ey=!1,eb]=(0,ew.T)({prop:ei,defaultProp:ea,onChange:eu});return(0,eo.createElement)(em.fC,ed,(0,eo.createElement)(eM,{scope:et,contentId:(0,ep.M)(),triggerRef:ef,open:ey,onOpenChange:eb,onOpenToggle:(0,eo.useCallback)(()=>eb(Y=>!Y),[eb]),hasCustomAnchor:eh,onCustomAnchorAdd:(0,eo.useCallback)(()=>eg(!0),[]),onCustomAnchorRemove:(0,eo.useCallback)(()=>eg(!1),[]),modal:ec},en))},eO="PopoverTrigger",eI=(0,eo.forwardRef)((Y,et)=>{let{__scopePopover:en,...ec}=Y,ed=eP(eO,en),ef=eA(en),eh=(0,eu.e)(et,ed.triggerRef),ep=(0,eo.createElement)(eb.WV.button,(0,ei.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":ed.open,"aria-controls":ed.contentId,"data-state":eG(ed.open)},ec,{ref:eh,onClick:(0,ea.M)(Y.onClick,ed.onOpenToggle)}));return ed.hasCustomAnchor?ep:(0,eo.createElement)(em.ee,(0,ei.Z)({asChild:!0},ef),ep)}),eN="PopoverPortal",[eL,eR]=eT(eN,{forceMount:void 0}),eD=Y=>{let{__scopePopover:et,forceMount:en,children:ei,container:ea}=Y,eu=eP(eN,et);return(0,eo.createElement)(eL,{scope:et,forceMount:en},(0,eo.createElement)(ey.z,{present:en||eu.open},(0,eo.createElement)(eg.h,{asChild:!0,container:ea},ei)))},eF="PopoverContent",eB=(0,eo.forwardRef)((Y,et)=>{let en=eR(eF,Y.__scopePopover),{forceMount:ea=en.forceMount,...eu}=Y,ec=eP(eF,Y.__scopePopover);return(0,eo.createElement)(ey.z,{present:ea||ec.open},ec.modal?(0,eo.createElement)(ez,(0,ei.Z)({},eu,{ref:et})):(0,eo.createElement)(eU,(0,ei.Z)({},eu,{ref:et})))}),ez=(0,eo.forwardRef)((Y,et)=>{let en=eP(eF,Y.__scopePopover),ec=(0,eo.useRef)(null),ed=(0,eu.e)(et,ec),ef=(0,eo.useRef)(!1);return(0,eo.useEffect)(()=>{let Y=ec.current;if(Y)return(0,e_.Ry)(Y)},[]),(0,eo.createElement)(eE.Z,{as:ek.g7,allowPinchZoom:!0},(0,eo.createElement)(eH,(0,ei.Z)({},Y,{ref:ed,trapFocus:en.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,ea.M)(Y.onCloseAutoFocus,Y=>{var et;Y.preventDefault(),ef.current||null===(et=en.triggerRef.current)||void 0===et||et.focus()}),onPointerDownOutside:(0,ea.M)(Y.onPointerDownOutside,Y=>{let et=Y.detail.originalEvent,en=0===et.button&&!0===et.ctrlKey,ei=2===et.button||en;ef.current=ei},{checkForDefaultPrevented:!1}),onFocusOutside:(0,ea.M)(Y.onFocusOutside,Y=>Y.preventDefault(),{checkForDefaultPrevented:!1})})))}),eU=(0,eo.forwardRef)((Y,et)=>{let en=eP(eF,Y.__scopePopover),ea=(0,eo.useRef)(!1);return(0,eo.createElement)(eH,(0,ei.Z)({},Y,{ref:et,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:et=>{var ei,eo;null===(ei=Y.onCloseAutoFocus)||void 0===ei||ei.call(Y,et),et.defaultPrevented||(ea.current||null===(eo=en.triggerRef.current)||void 0===eo||eo.focus(),et.preventDefault()),ea.current=!1},onInteractOutside:et=>{var ei,eo;null===(ei=Y.onInteractOutside)||void 0===ei||ei.call(Y,et),et.defaultPrevented||(ea.current=!0);let eu=et.target,ec=null===(eo=en.triggerRef.current)||void 0===eo?void 0:eo.contains(eu);ec&&et.preventDefault()}}))}),eH=(0,eo.forwardRef)((Y,et)=>{let{__scopePopover:en,trapFocus:ea,onOpenAutoFocus:eu,onCloseAutoFocus:ec,disableOutsidePointerEvents:ep,onEscapeKeyDown:eg,onPointerDownOutside:ey,onFocusOutside:eb,onInteractOutside:ek,...ew}=Y,e_=eP(eF,en),eE=eA(en);return(0,ef.EW)(),(0,eo.createElement)(eh.M,{asChild:!0,loop:!0,trapped:ea,onMountAutoFocus:eu,onUnmountAutoFocus:ec},(0,eo.createElement)(ed.XB,{asChild:!0,disableOutsidePointerEvents:ep,onInteractOutside:ek,onEscapeKeyDown:eg,onPointerDownOutside:ey,onFocusOutside:eb,onDismiss:()=>e_.onOpenChange(!1)},(0,eo.createElement)(em.VY,(0,ei.Z)({"data-state":eG(e_.open),role:"dialog",id:e_.contentId},eE,ew,{ref:et,style:{...ew.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function eG(Y){return Y?"open":"closed"}let eV=ej,eW=eI,eZ=eD,eK=eB},25373:function(Y,et,en){"use strict";en.d(et,{ee:function(){return t5},Eh:function(){return t3},VY:function(){return t4},fC:function(){return t9},D7:function(){return tI}});var ei=en(5527),eo=en(70079);function ea(Y){return Y.split("-")[0]}function eu(Y){return Y.split("-")[1]}function ec(Y){return["top","bottom"].includes(ea(Y))?"x":"y"}function ed(Y){return"y"===Y?"height":"width"}function ef(Y,et,en){let ei,{reference:eo,floating:ef}=Y,eh=eo.x+eo.width/2-ef.width/2,ep=eo.y+eo.height/2-ef.height/2,em=ec(et),eg=ed(em),ey=eo[eg]/2-ef[eg]/2,eb="x"===em;switch(ea(et)){case"top":ei={x:eh,y:eo.y-ef.height};break;case"bottom":ei={x:eh,y:eo.y+eo.height};break;case"right":ei={x:eo.x+eo.width,y:ep};break;case"left":ei={x:eo.x-ef.width,y:ep};break;default:ei={x:eo.x,y:eo.y}}switch(eu(et)){case"start":ei[em]-=ey*(en&&eb?-1:1);break;case"end":ei[em]+=ey*(en&&eb?-1:1)}return ei}let eh=async(Y,et,en)=>{let{placement:ei="bottom",strategy:eo="absolute",middleware:ea=[],platform:eu}=en,ec=await (null==eu.isRTL?void 0:eu.isRTL(et)),ed=await eu.getElementRects({reference:Y,floating:et,strategy:eo}),{x:eh,y:ep}=ef(ed,ei,ec),em=ei,eg={},ey=0;for(let en=0;en<ea.length;en++){let{name:eb,fn:ek}=ea[en],{x:ew,y:e_,data:eE,reset:eC}=await ek({x:eh,y:ep,initialPlacement:ei,placement:em,strategy:eo,middlewareData:eg,rects:ed,platform:eu,elements:{reference:Y,floating:et}});eh=null!=ew?ew:eh,ep=null!=e_?e_:ep,eg={...eg,[eb]:{...eg[eb],...eE}},eC&&ey<=50&&(ey++,"object"==typeof eC&&(eC.placement&&(em=eC.placement),eC.rects&&(ed=!0===eC.rects?await eu.getElementRects({reference:Y,floating:et,strategy:eo}):eC.rects),{x:eh,y:ep}=ef(ed,em,ec)),en=-1)}return{x:eh,y:ep,placement:em,strategy:eo,middlewareData:eg}};function ep(Y){return"number"!=typeof Y?function(Y){return{top:0,right:0,bottom:0,left:0,...Y}}(Y):{top:Y,right:Y,bottom:Y,left:Y}}function em(Y){return{...Y,top:Y.y,left:Y.x,right:Y.x+Y.width,bottom:Y.y+Y.height}}async function eg(Y,et){var en;void 0===et&&(et={});let{x:ei,y:eo,platform:ea,rects:eu,elements:ec,strategy:ed}=Y,{boundary:ef="clippingAncestors",rootBoundary:eh="viewport",elementContext:eg="floating",altBoundary:ey=!1,padding:eb=0}=et,ek=ep(eb),ew=ec[ey?"floating"===eg?"reference":"floating":eg],e_=em(await ea.getClippingRect({element:null==(en=await (null==ea.isElement?void 0:ea.isElement(ew)))||en?ew:ew.contextElement||await (null==ea.getDocumentElement?void 0:ea.getDocumentElement(ec.floating)),boundary:ef,rootBoundary:eh,strategy:ed})),eE=em(ea.convertOffsetParentRelativeRectToViewportRelativeRect?await ea.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===eg?{...eu.floating,x:ei,y:eo}:eu.reference,offsetParent:await (null==ea.getOffsetParent?void 0:ea.getOffsetParent(ec.floating)),strategy:ed}):eu[eg]);return{top:e_.top-eE.top+ek.top,bottom:eE.bottom-e_.bottom+ek.bottom,left:e_.left-eE.left+ek.left,right:eE.right-e_.right+ek.right}}let ey=Math.min,eb=Math.max;function ek(Y,et,en){return eb(Y,ey(et,en))}let ew=Y=>({name:"arrow",options:Y,async fn(et){let{element:en,padding:ei=0}=null!=Y?Y:{},{x:eo,y:ea,placement:ef,rects:eh,platform:em}=et;if(null==en)return{};let eg=ep(ei),ey={x:eo,y:ea},eb=ec(ef),ew=eu(ef),e_=ed(eb),eE=await em.getDimensions(en),eC="y"===eb?"top":"left",eT="y"===eb?"bottom":"right",eS=eh.reference[e_]+eh.reference[eb]-ey[eb]-eh.floating[e_],eA=ey[eb]-eh.reference[eb],eM=await (null==em.getOffsetParent?void 0:em.getOffsetParent(en)),eP=eM?"y"===eb?eM.clientHeight||0:eM.clientWidth||0:0;0===eP&&(eP=eh.floating[e_]);let ej=eS/2-eA/2,eO=eg[eC],eI=eP-eE[e_]-eg[eT],eN=eP/2-eE[e_]/2+ej,eL=ek(eO,eN,eI),eR=("start"===ew?eg[eC]:eg[eT])>0&&eN!==eL&&eh.reference[e_]<=eh.floating[e_];return{[eb]:ey[eb]-(eR?eN<eO?eO-eN:eI-eN:0),data:{[eb]:eL,centerOffset:eN-eL}}}}),e_={left:"right",right:"left",bottom:"top",top:"bottom"};function eE(Y){return Y.replace(/left|right|bottom|top/g,Y=>e_[Y])}function eC(Y,et,en){void 0===en&&(en=!1);let ei=eu(Y),eo=ec(Y),ea=ed(eo),ef="x"===eo?ei===(en?"end":"start")?"right":"left":"start"===ei?"bottom":"top";return et.reference[ea]>et.floating[ea]&&(ef=eE(ef)),{main:ef,cross:eE(ef)}}let eT={start:"end",end:"start"};function eS(Y){return Y.replace(/start|end/g,Y=>eT[Y])}let eA=["top","right","bottom","left"];eA.reduce((Y,et)=>Y.concat(et,et+"-start",et+"-end"),[]);let eM=function(Y){return void 0===Y&&(Y={}),{name:"flip",options:Y,async fn(et){var en,ei,eo,eu;let{placement:ec,middlewareData:ed,rects:ef,initialPlacement:eh,platform:ep,elements:em}=et,{mainAxis:ey=!0,crossAxis:eb=!0,fallbackPlacements:ek,fallbackStrategy:ew="bestFit",flipAlignment:e_=!0,...eT}=Y,eA=ea(ec),eM=ek||(eA!==eh&&e_?function(Y){let et=eE(Y);return[eS(Y),et,eS(et)]}(eh):[eE(eh)]),eP=[eh,...eM],ej=await eg(et,eT),eO=[],eI=(null==(en=ed.flip)?void 0:en.overflows)||[];if(ey&&eO.push(ej[eA]),eb){let{main:Y,cross:et}=eC(ec,ef,await (null==ep.isRTL?void 0:ep.isRTL(em.floating)));eO.push(ej[Y],ej[et])}if(eI=[...eI,{placement:ec,overflows:eO}],!eO.every(Y=>Y<=0)){let Y=(null!=(ei=null==(eo=ed.flip)?void 0:eo.index)?ei:0)+1,et=eP[Y];if(et)return{data:{index:Y,overflows:eI},reset:{placement:et}};let en="bottom";switch(ew){case"bestFit":{let Y=null==(eu=eI.map(Y=>[Y,Y.overflows.filter(Y=>Y>0).reduce((Y,et)=>Y+et,0)]).sort((Y,et)=>Y[1]-et[1])[0])?void 0:eu[0].placement;Y&&(en=Y);break}case"initialPlacement":en=eh}if(ec!==en)return{reset:{placement:en}}}return{}}}};function eP(Y,et){return{top:Y.top-et.height,right:Y.right-et.width,bottom:Y.bottom-et.height,left:Y.left-et.width}}function ej(Y){return eA.some(et=>Y[et]>=0)}let eO=function(Y){let{strategy:et="referenceHidden",...en}=void 0===Y?{}:Y;return{name:"hide",async fn(Y){let{rects:ei}=Y;switch(et){case"referenceHidden":{let et=eP(await eg(Y,{...en,elementContext:"reference"}),ei.reference);return{data:{referenceHiddenOffsets:et,referenceHidden:ej(et)}}}case"escaped":{let et=eP(await eg(Y,{...en,altBoundary:!0}),ei.floating);return{data:{escapedOffsets:et,escaped:ej(et)}}}default:return{}}}}},eI=function(Y){return void 0===Y&&(Y=0),{name:"offset",options:Y,async fn(et){let{x:en,y:ei}=et,eo=await async function(Y,et){let{placement:en,platform:ei,elements:eo}=Y,ed=await (null==ei.isRTL?void 0:ei.isRTL(eo.floating)),ef=ea(en),eh=eu(en),ep="x"===ec(en),em=["left","top"].includes(ef)?-1:1,eg=ed&&ep?-1:1,ey="function"==typeof et?et(Y):et,{mainAxis:eb,crossAxis:ek,alignmentAxis:ew}="number"==typeof ey?{mainAxis:ey,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...ey};return eh&&"number"==typeof ew&&(ek="end"===eh?-1*ew:ew),ep?{x:ek*eg,y:eb*em}:{x:eb*em,y:ek*eg}}(et,Y);return{x:en+eo.x,y:ei+eo.y,data:eo}}}};function eN(Y){return"x"===Y?"y":"x"}let eL=function(Y){return void 0===Y&&(Y={}),{name:"shift",options:Y,async fn(et){let{x:en,y:ei,placement:eo}=et,{mainAxis:eu=!0,crossAxis:ed=!1,limiter:ef={fn:Y=>{let{x:et,y:en}=Y;return{x:et,y:en}}},...eh}=Y,ep={x:en,y:ei},em=await eg(et,eh),ey=ec(ea(eo)),eb=eN(ey),ew=ep[ey],e_=ep[eb];if(eu){let Y="y"===ey?"bottom":"right";ew=ek(ew+em["y"===ey?"top":"left"],ew,ew-em[Y])}if(ed){let Y="y"===eb?"bottom":"right";e_=ek(e_+em["y"===eb?"top":"left"],e_,e_-em[Y])}let eE=ef.fn({...et,[ey]:ew,[eb]:e_});return{...eE,data:{x:eE.x-en,y:eE.y-ei}}}}},eR=function(Y){return void 0===Y&&(Y={}),{options:Y,fn(et){let{x:en,y:ei,placement:eo,rects:eu,middlewareData:ed}=et,{offset:ef=0,mainAxis:eh=!0,crossAxis:ep=!0}=Y,em={x:en,y:ei},eg=ec(eo),ey=eN(eg),eb=em[eg],ek=em[ey],ew="function"==typeof ef?ef({...eu,placement:eo}):ef,e_="number"==typeof ew?{mainAxis:ew,crossAxis:0}:{mainAxis:0,crossAxis:0,...ew};if(eh){let Y="y"===eg?"height":"width",et=eu.reference[eg]-eu.floating[Y]+e_.mainAxis,en=eu.reference[eg]+eu.reference[Y]-e_.mainAxis;eb<et?eb=et:eb>en&&(eb=en)}if(ep){var eE,eC,eT,eS;let Y="y"===eg?"width":"height",et=["top","left"].includes(ea(eo)),en=eu.reference[ey]-eu.floating[Y]+(et&&null!=(eE=null==(eC=ed.offset)?void 0:eC[ey])?eE:0)+(et?0:e_.crossAxis),ei=eu.reference[ey]+eu.reference[Y]+(et?0:null!=(eT=null==(eS=ed.offset)?void 0:eS[ey])?eT:0)-(et?e_.crossAxis:0);ek<en?ek=en:ek>ei&&(ek=ei)}return{[eg]:eb,[ey]:ek}}}},eD=function(Y){return void 0===Y&&(Y={}),{name:"size",options:Y,async fn(et){let en,ei;let{placement:eo,rects:ec,platform:ed,elements:ef}=et,{apply:eh,...ep}=Y,em=await eg(et,ep),ey=ea(eo),ek=eu(eo);"top"===ey||"bottom"===ey?(en=ey,ei=ek===(await (null==ed.isRTL?void 0:ed.isRTL(ef.floating))?"start":"end")?"left":"right"):(ei=ey,en="end"===ek?"top":"bottom");let ew=eb(em.left,0),e_=eb(em.right,0),eE=eb(em.top,0),eC=eb(em.bottom,0),eT={availableHeight:ec.floating.height-(["left","right"].includes(eo)?2*(0!==eE||0!==eC?eE+eC:eb(em.top,em.bottom)):em[en]),availableWidth:ec.floating.width-(["top","bottom"].includes(eo)?2*(0!==ew||0!==e_?ew+e_:eb(em.left,em.right)):em[ei])},eS=await ed.getDimensions(ef.floating);null==eh||eh({...et,...eT});let eA=await ed.getDimensions(ef.floating);return eS.width!==eA.width||eS.height!==eA.height?{reset:{rects:!0}}:{}}}};function eF(Y){return Y&&Y.document&&Y.location&&Y.alert&&Y.setInterval}function eB(Y){if(null==Y)return window;if(!eF(Y)){let et=Y.ownerDocument;return et&&et.defaultView||window}return Y}function ez(Y){return eB(Y).getComputedStyle(Y)}function eU(Y){return eF(Y)?"":Y?(Y.nodeName||"").toLowerCase():""}function eH(){let Y=navigator.userAgentData;return null!=Y&&Y.brands?Y.brands.map(Y=>Y.brand+"/"+Y.version).join(" "):navigator.userAgent}function eG(Y){return Y instanceof eB(Y).HTMLElement}function eV(Y){return Y instanceof eB(Y).Element}function eW(Y){return"undefined"!=typeof ShadowRoot&&(Y instanceof eB(Y).ShadowRoot||Y instanceof ShadowRoot)}function eZ(Y){let{overflow:et,overflowX:en,overflowY:ei}=ez(Y);return/auto|scroll|overlay|hidden/.test(et+ei+en)}function eK(Y){return["table","td","th"].includes(eU(Y))}function e$(Y){let et=/firefox/i.test(eH()),en=ez(Y);return"none"!==en.transform||"none"!==en.perspective||"paint"===en.contain||["transform","perspective"].includes(en.willChange)||et&&"filter"===en.willChange||et&&!!en.filter&&"none"!==en.filter}function eY(){return!/^((?!chrome|android).)*safari/i.test(eH())}let eQ=Math.min,eX=Math.max,eJ=Math.round;function e0(Y,et,en){var ei,eo,ea,eu;void 0===et&&(et=!1),void 0===en&&(en=!1);let ec=Y.getBoundingClientRect(),ed=1,ef=1;et&&eG(Y)&&(ed=Y.offsetWidth>0&&eJ(ec.width)/Y.offsetWidth||1,ef=Y.offsetHeight>0&&eJ(ec.height)/Y.offsetHeight||1);let eh=eV(Y)?eB(Y):window,ep=!eY()&&en,em=(ec.left+(ep&&null!=(ei=null==(eo=eh.visualViewport)?void 0:eo.offsetLeft)?ei:0))/ed,eg=(ec.top+(ep&&null!=(ea=null==(eu=eh.visualViewport)?void 0:eu.offsetTop)?ea:0))/ef,ey=ec.width/ed,eb=ec.height/ef;return{width:ey,height:eb,top:eg,right:em+ey,bottom:eg+eb,left:em,x:em,y:eg}}function e9(Y){var et;return(((et=Y)instanceof eB(et).Node?Y.ownerDocument:Y.document)||window.document).documentElement}function e5(Y){return eV(Y)?{scrollLeft:Y.scrollLeft,scrollTop:Y.scrollTop}:{scrollLeft:Y.pageXOffset,scrollTop:Y.pageYOffset}}function e4(Y){return e0(e9(Y)).left+e5(Y).scrollLeft}function e3(Y,et,en){let ei=eG(et),eo=e9(et),ea=e0(Y,ei&&function(Y){let et=e0(Y);return eJ(et.width)!==Y.offsetWidth||eJ(et.height)!==Y.offsetHeight}(et),"fixed"===en),eu={scrollLeft:0,scrollTop:0},ec={x:0,y:0};if(ei||!ei&&"fixed"!==en){if(("body"!==eU(et)||eZ(eo))&&(eu=e5(et)),eG(et)){let Y=e0(et,!0);ec.x=Y.x+et.clientLeft,ec.y=Y.y+et.clientTop}else eo&&(ec.x=e4(eo))}return{x:ea.left+eu.scrollLeft-ec.x,y:ea.top+eu.scrollTop-ec.y,width:ea.width,height:ea.height}}function e6(Y){return"html"===eU(Y)?Y:Y.assignedSlot||Y.parentNode||(eW(Y)?Y.host:null)||e9(Y)}function e7(Y){return eG(Y)&&"fixed"!==getComputedStyle(Y).position?Y.offsetParent:null}function e8(Y){let et=eB(Y),en=e7(Y);for(;en&&eK(en)&&"static"===getComputedStyle(en).position;)en=e7(en);return en&&("html"===eU(en)||"body"===eU(en)&&"static"===getComputedStyle(en).position&&!e$(en))?et:en||function(Y){let et=e6(Y);for(eW(et)&&(et=et.host);eG(et)&&!["html","body"].includes(eU(et));){if(e$(et))return et;et=et.parentNode}return null}(Y)||et}function tt(Y){if(eG(Y))return{width:Y.offsetWidth,height:Y.offsetHeight};let et=e0(Y);return{width:et.width,height:et.height}}function ta(Y){let et=e6(Y);return["html","body","#document"].includes(eU(et))?Y.ownerDocument.body:eG(et)&&eZ(et)?et:ta(et)}function tu(Y,et){var en;void 0===et&&(et=[]);let ei=ta(Y),eo=ei===(null==(en=Y.ownerDocument)?void 0:en.body),ea=eB(ei),eu=eo?[ea].concat(ea.visualViewport||[],eZ(ei)?ei:[]):ei,ec=et.concat(eu);return eo?ec:ec.concat(tu(eu))}function tc(Y,et,en){return"viewport"===et?em(function(Y,et){let en=eB(Y),ei=e9(Y),eo=en.visualViewport,ea=ei.clientWidth,eu=ei.clientHeight,ec=0,ed=0;if(eo){ea=eo.width,eu=eo.height;let Y=eY();(Y||!Y&&"fixed"===et)&&(ec=eo.offsetLeft,ed=eo.offsetTop)}return{width:ea,height:eu,x:ec,y:ed}}(Y,en)):eV(et)?function(Y,et){let en=e0(Y,!1,"fixed"===et),ei=en.top+Y.clientTop,eo=en.left+Y.clientLeft;return{top:ei,left:eo,x:eo,y:ei,right:eo+Y.clientWidth,bottom:ei+Y.clientHeight,width:Y.clientWidth,height:Y.clientHeight}}(et,en):em(function(Y){var et;let en=e9(Y),ei=e5(Y),eo=null==(et=Y.ownerDocument)?void 0:et.body,ea=eX(en.scrollWidth,en.clientWidth,eo?eo.scrollWidth:0,eo?eo.clientWidth:0),eu=eX(en.scrollHeight,en.clientHeight,eo?eo.scrollHeight:0,eo?eo.clientHeight:0),ec=-ei.scrollLeft+e4(Y),ed=-ei.scrollTop;return"rtl"===ez(eo||en).direction&&(ec+=eX(en.clientWidth,eo?eo.clientWidth:0)-ea),{width:ea,height:eu,x:ec,y:ed}}(e9(Y)))}function td(Y){let et=tu(Y),en=["absolute","fixed"].includes(ez(Y).position)&&eG(Y)?e8(Y):Y;return eV(en)?et.filter(Y=>eV(Y)&&function(Y,et){let en=null==et.getRootNode?void 0:et.getRootNode();if(Y.contains(et))return!0;if(en&&eW(en)){let en=et;do{if(en&&Y===en)return!0;en=en.parentNode||en.host}while(en)}return!1}(Y,en)&&"body"!==eU(Y)):[]}let tf={getClippingRect:function(Y){let{element:et,boundary:en,rootBoundary:ei,strategy:eo}=Y,ea=[..."clippingAncestors"===en?td(et):[].concat(en),ei],eu=ea[0],ec=ea.reduce((Y,en)=>{let ei=tc(et,en,eo);return Y.top=eX(ei.top,Y.top),Y.right=eQ(ei.right,Y.right),Y.bottom=eQ(ei.bottom,Y.bottom),Y.left=eX(ei.left,Y.left),Y},tc(et,eu,eo));return{width:ec.right-ec.left,height:ec.bottom-ec.top,x:ec.left,y:ec.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(Y){let{rect:et,offsetParent:en,strategy:ei}=Y,eo=eG(en),ea=e9(en);if(en===ea)return et;let eu={scrollLeft:0,scrollTop:0},ec={x:0,y:0};if((eo||!eo&&"fixed"!==ei)&&(("body"!==eU(en)||eZ(ea))&&(eu=e5(en)),eG(en))){let Y=e0(en,!0);ec.x=Y.x+en.clientLeft,ec.y=Y.y+en.clientTop}return{...et,x:et.x-eu.scrollLeft+ec.x,y:et.y-eu.scrollTop+ec.y}},isElement:eV,getDimensions:tt,getOffsetParent:e8,getDocumentElement:e9,getElementRects:Y=>{let{reference:et,floating:en,strategy:ei}=Y;return{reference:e3(et,e8(en),ei),floating:{...tt(en),x:0,y:0}}},getClientRects:Y=>Array.from(Y.getClientRects()),isRTL:Y=>"rtl"===ez(Y).direction};function th(Y,et,en,ei){void 0===ei&&(ei={});let{ancestorScroll:eo=!0,ancestorResize:ea=!0,elementResize:eu=!0,animationFrame:ec=!1}=ei,ed=eo&&!ec,ef=ea&&!ec,eh=ed||ef?[...eV(Y)?tu(Y):[],...tu(et)]:[];eh.forEach(Y=>{ed&&Y.addEventListener("scroll",en,{passive:!0}),ef&&Y.addEventListener("resize",en)});let ep,em=null;if(eu){let ei=!0;em=new ResizeObserver(()=>{ei||en(),ei=!1}),eV(Y)&&!ec&&em.observe(Y),em.observe(et)}let eg=ec?e0(Y):null;return ec&&function et(){let ei=e0(Y);eg&&(ei.x!==eg.x||ei.y!==eg.y||ei.width!==eg.width||ei.height!==eg.height)&&en(),eg=ei,ep=requestAnimationFrame(et)}(),en(),()=>{var Y;eh.forEach(Y=>{ed&&Y.removeEventListener("scroll",en),ef&&Y.removeEventListener("resize",en)}),null==(Y=em)||Y.disconnect(),em=null,ec&&cancelAnimationFrame(ep)}}let tp=(Y,et,en)=>eh(Y,et,{platform:tf,...en});var tm=en(99581),tg="undefined"!=typeof document?eo.useLayoutEffect:eo.useEffect;function tv(Y,et){let en,ei,eo;if(Y===et)return!0;if(typeof Y!=typeof et)return!1;if("function"==typeof Y&&Y.toString()===et.toString())return!0;if(Y&&et&&"object"==typeof Y){if(Array.isArray(Y)){if((en=Y.length)!=et.length)return!1;for(ei=en;0!=ei--;)if(!tv(Y[ei],et[ei]))return!1;return!0}if((en=(eo=Object.keys(Y)).length)!==Object.keys(et).length)return!1;for(ei=en;0!=ei--;)if(!Object.prototype.hasOwnProperty.call(et,eo[ei]))return!1;for(ei=en;0!=ei--;){let en=eo[ei];if(("_owner"!==en||!Y.$$typeof)&&!tv(Y[en],et[en]))return!1}return!0}return Y!=Y&&et!=et}function tb(Y){let et=eo.useRef(Y);return tg(()=>{et.current=Y}),et}function tk(Y){let{middleware:et,placement:en="bottom",strategy:ei="absolute",whileElementsMounted:ea}=void 0===Y?{}:Y,eu=eo.useRef(null),ec=eo.useRef(null),ed=tb(ea),ef=eo.useRef(null),[eh,ep]=eo.useState({x:null,y:null,strategy:ei,placement:en,middlewareData:{}}),[em,eg]=eo.useState(et);tv(null==em?void 0:em.map(Y=>{let{options:et}=Y;return et}),null==et?void 0:et.map(Y=>{let{options:et}=Y;return et}))||eg(et);let ey=eo.useCallback(()=>{eu.current&&ec.current&&tp(eu.current,ec.current,{middleware:em,placement:en,strategy:ei}).then(Y=>{eb.current&&tm.flushSync(()=>{ep(Y)})})},[em,en,ei]);tg(()=>{eb.current&&ey()},[ey]);let eb=eo.useRef(!1);tg(()=>(eb.current=!0,()=>{eb.current=!1}),[]);let ek=eo.useCallback(()=>{if("function"==typeof ef.current&&(ef.current(),ef.current=null),eu.current&&ec.current){if(ed.current){let Y=ed.current(eu.current,ec.current,ey);ef.current=Y}else ey()}},[ey,ed]),ew=eo.useCallback(Y=>{eu.current=Y,ek()},[ek]),e_=eo.useCallback(Y=>{ec.current=Y,ek()},[ek]),eE=eo.useMemo(()=>({reference:eu,floating:ec}),[]);return eo.useMemo(()=>({...eh,update:ey,refs:eE,reference:ew,floating:e_}),[eh,ey,eE,ew,e_])}let tw=Y=>{let{element:et,padding:en}=Y;function ei(Y){return Object.prototype.hasOwnProperty.call(Y,"current")}return{name:"arrow",options:Y,fn(Y){if(ei(et)){if(null!=et.current)return ew({element:et.current,padding:en}).fn(Y)}else if(et)return ew({element:et,padding:en}).fn(Y);return{}}}};var t_=en(39073);let tE=(0,eo.forwardRef)((Y,et)=>{let{children:en,width:ea=10,height:eu=5,...ec}=Y;return(0,eo.createElement)(t_.WV.svg,(0,ei.Z)({},ec,{ref:et,width:ea,height:eu,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),Y.asChild?en:(0,eo.createElement)("polygon",{points:"0,0 30,0 15,10"}))}),tC=tE;var tT=en(49270),tS=en(36646),tA=en(9137),tM=en(79388),tP=en(82094);let tj="Popper",[tO,tI]=(0,tS.b)(tj),[tN,tL]=tO(tj),tR=Y=>{let{__scopePopper:et,children:en}=Y,[ei,ea]=(0,eo.useState)(null);return(0,eo.createElement)(tN,{scope:et,anchor:ei,onAnchorChange:ea},en)},tD="PopperAnchor",tF=(0,eo.forwardRef)((Y,et)=>{let{__scopePopper:en,virtualRef:ea,...eu}=Y,ec=tL(tD,en),ed=(0,eo.useRef)(null),ef=(0,tT.e)(et,ed);return(0,eo.useEffect)(()=>{ec.onAnchorChange((null==ea?void 0:ea.current)||ed.current)}),ea?null:(0,eo.createElement)(t_.WV.div,(0,ei.Z)({},eu,{ref:ef}))}),tB="PopperContent",[tU,tH]=tO(tB),[tG,tV]=tO(tB,{hasParent:!1,positionUpdateFns:new Set}),tW=(0,eo.forwardRef)((Y,et)=>{var en,ei,ea,eu,ec,ed,ef,eh;let{__scopePopper:ep,side:em="bottom",sideOffset:eg=0,align:ey="center",alignOffset:eb=0,arrowPadding:ek=0,collisionBoundary:ew=[],collisionPadding:e_=0,sticky:eE="partial",hideWhenDetached:eC=!1,avoidCollisions:eT=!0,onPlaced:eS,...eA}=Y,eP=tL(tB,ep),[ej,eN]=(0,eo.useState)(null),eF=(0,tT.e)(et,Y=>eN(Y)),[eB,ez]=(0,eo.useState)(null),eU=(0,tP.t)(eB),eH=null!==(en=null==eU?void 0:eU.width)&&void 0!==en?en:0,eG=null!==(ei=null==eU?void 0:eU.height)&&void 0!==ei?ei:0,eV=em+("center"!==ey?"-"+ey:""),eW="number"==typeof e_?e_:{top:0,right:0,bottom:0,left:0,...e_},eZ=Array.isArray(ew)?ew:[ew],eK=eZ.length>0,e$={padding:eW,boundary:eZ.filter(tY),altBoundary:eK},{reference:eY,floating:eQ,strategy:eX,x:eJ,y:e0,placement:e9,middlewareData:e5,update:e4}=tk({strategy:"fixed",placement:eV,whileElementsMounted:th,middleware:[tQ(),eI({mainAxis:eg+eG,alignmentAxis:eb}),eT?eL({mainAxis:!0,crossAxis:!1,limiter:"partial"===eE?eR():void 0,...e$}):void 0,eB?tw({element:eB,padding:ek}):void 0,eT?eM({...e$}):void 0,eD({...e$,apply:({elements:Y,availableWidth:et,availableHeight:en})=>{Y.floating.style.setProperty("--radix-popper-available-width",`${et}px`),Y.floating.style.setProperty("--radix-popper-available-height",`${en}px`)}}),tX({arrowWidth:eH,arrowHeight:eG}),eC?eO({strategy:"referenceHidden"}):void 0].filter(t$)});(0,tM.b)(()=>{eY(eP.anchor)},[eY,eP.anchor]);let e3=null!==eJ&&null!==e0,[e6,e7]=tJ(e9),e8=(0,tA.W)(eS);(0,tM.b)(()=>{e3&&(null==e8||e8())},[e3,e8]);let tt=null===(ea=e5.arrow)||void 0===ea?void 0:ea.x,ta=null===(eu=e5.arrow)||void 0===eu?void 0:eu.y,tu=(null===(ec=e5.arrow)||void 0===ec?void 0:ec.centerOffset)!==0,[tc,td]=(0,eo.useState)();(0,tM.b)(()=>{ej&&td(window.getComputedStyle(ej).zIndex)},[ej]);let{hasParent:tf,positionUpdateFns:tp}=tV(tB,ep),tm=!tf;(0,eo.useLayoutEffect)(()=>{if(!tm)return tp.add(e4),()=>{tp.delete(e4)}},[tm,tp,e4]),(0,tM.b)(()=>{tm&&e3&&Array.from(tp).reverse().forEach(Y=>requestAnimationFrame(Y))},[tm,e3,tp]);let tg={"data-side":e6,"data-align":e7,...eA,ref:eF,style:{...eA.style,animation:e3?void 0:"none",opacity:null!==(ed=e5.hide)&&void 0!==ed&&ed.referenceHidden?0:void 0}};return(0,eo.createElement)("div",{ref:eQ,"data-radix-popper-content-wrapper":"",style:{position:eX,left:0,top:0,transform:e3?`translate3d(${Math.round(eJ)}px, ${Math.round(e0)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:tc,"--radix-popper-transform-origin":[null===(ef=e5.transformOrigin)||void 0===ef?void 0:ef.x,null===(eh=e5.transformOrigin)||void 0===eh?void 0:eh.y].join(" ")},dir:Y.dir},(0,eo.createElement)(tU,{scope:ep,placedSide:e6,onArrowChange:ez,arrowX:tt,arrowY:ta,shouldHideArrow:tu},tm?(0,eo.createElement)(tG,{scope:ep,hasParent:!0,positionUpdateFns:tp},(0,eo.createElement)(t_.WV.div,tg)):(0,eo.createElement)(t_.WV.div,tg)))}),tq="PopperArrow",tZ={top:"bottom",right:"left",bottom:"top",left:"right"},tK=(0,eo.forwardRef)(function(Y,et){let{__scopePopper:en,...ea}=Y,eu=tH(tq,en),ec=tZ[eu.placedSide];return(0,eo.createElement)("span",{ref:eu.onArrowChange,style:{position:"absolute",left:eu.arrowX,top:eu.arrowY,[ec]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[eu.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[eu.placedSide],visibility:eu.shouldHideArrow?"hidden":void 0}},(0,eo.createElement)(tC,(0,ei.Z)({},ea,{ref:et,style:{...ea.style,display:"block"}})))});function t$(Y){return void 0!==Y}function tY(Y){return null!==Y}let tQ=()=>({name:"anchorCssProperties",fn(Y){let{rects:et,elements:en}=Y,{width:ei,height:eo}=et.reference;return en.floating.style.setProperty("--radix-popper-anchor-width",`${ei}px`),en.floating.style.setProperty("--radix-popper-anchor-height",`${eo}px`),{}}}),tX=Y=>({name:"transformOrigin",options:Y,fn(et){var en,ei,eo,ea,eu;let{placement:ec,rects:ed,middlewareData:ef}=et,eh=(null===(en=ef.arrow)||void 0===en?void 0:en.centerOffset)!==0,ep=eh,em=ep?0:Y.arrowWidth,eg=ep?0:Y.arrowHeight,[ey,eb]=tJ(ec),ek={start:"0%",center:"50%",end:"100%"}[eb],ew=(null!==(ei=null===(eo=ef.arrow)||void 0===eo?void 0:eo.x)&&void 0!==ei?ei:0)+em/2,e_=(null!==(ea=null===(eu=ef.arrow)||void 0===eu?void 0:eu.y)&&void 0!==ea?ea:0)+eg/2,eE="",eC="";return"bottom"===ey?(eE=ep?ek:`${ew}px`,eC=`${-eg}px`):"top"===ey?(eE=ep?ek:`${ew}px`,eC=`${ed.floating.height+eg}px`):"right"===ey?(eE=`${-eg}px`,eC=ep?ek:`${e_}px`):"left"===ey&&(eE=`${ed.floating.width+eg}px`,eC=ep?ek:`${e_}px`),{data:{x:eE,y:eC}}}});function tJ(Y){let[et,en="center"]=Y.split("-");return[et,en]}let t9=tR,t5=tF,t4=tW,t3=tK},67323:function(Y,et,en){"use strict";en.d(et,{h:function(){return ec}});var ei=en(5527),eo=en(70079),ea=en(99581),eu=en(39073);let ec=(0,eo.forwardRef)((Y,et)=>{var en;let{container:ec=null==globalThis?void 0:null===(en=globalThis.document)||void 0===en?void 0:en.body,...ed}=Y;return ec?ea.createPortal((0,eo.createElement)(eu.WV.div,(0,ei.Z)({},ed,{ref:et})),ec):null})},55691:function(Y,et,en){"use strict";en.d(et,{z:function(){return ed}});var ei=en(70079),eo=en(99581),ea=en(49270),eu=en(79388);function ec(Y,et){return(0,ei.useReducer)((Y,en)=>{let ei=et[Y][en];return null!=ei?ei:Y},Y)}let ed=Y=>{let{present:et,children:en}=Y,eo=ef(et),eu="function"==typeof en?en({present:eo.isPresent}):ei.Children.only(en),ec=(0,ea.e)(eo.ref,eu.ref),ed="function"==typeof en;return ed||eo.isPresent?(0,ei.cloneElement)(eu,{ref:ec}):null};function ef(Y){let[et,en]=(0,ei.useState)(),ea=(0,ei.useRef)({}),ed=(0,ei.useRef)(Y),ef=(0,ei.useRef)("none"),ep=Y?"mounted":"unmounted",[em,eg]=ec(ep,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,ei.useEffect)(()=>{let Y=eh(ea.current);ef.current="mounted"===em?Y:"none"},[em]),(0,eu.b)(()=>{let et=ea.current,en=ed.current,ei=en!==Y;if(ei){let ei=ef.current,eo=eh(et);if(Y)eg("MOUNT");else if("none"===eo||(null==et?void 0:et.display)==="none")eg("UNMOUNT");else{let Y=ei!==eo;en&&Y?eg("ANIMATION_OUT"):eg("UNMOUNT")}ed.current=Y}},[Y,eg]),(0,eu.b)(()=>{if(et){let Y=Y=>{let en=eh(ea.current),ei=en.includes(Y.animationName);Y.target===et&&ei&&(0,eo.flushSync)(()=>eg("ANIMATION_END"))},en=Y=>{Y.target===et&&(ef.current=eh(ea.current))};return et.addEventListener("animationstart",en),et.addEventListener("animationcancel",Y),et.addEventListener("animationend",Y),()=>{et.removeEventListener("animationstart",en),et.removeEventListener("animationcancel",Y),et.removeEventListener("animationend",Y)}}eg("ANIMATION_END")},[et,eg]),{isPresent:["mounted","unmountSuspended"].includes(em),ref:(0,ei.useCallback)(Y=>{Y&&(ea.current=getComputedStyle(Y)),en(Y)},[])}}function eh(Y){return(null==Y?void 0:Y.animationName)||"none"}ed.displayName="Presence"},39073:function(Y,et,en){"use strict";en.d(et,{WV:function(){return ed},jH:function(){return ef}});var ei=en(5527),eo=en(70079),ea=en(99581),eu=en(94251);let ec=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ed=ec.reduce((Y,et)=>{let en=(0,eo.forwardRef)((Y,en)=>{let{asChild:ea,...ec}=Y,ed=ea?eu.g7:et;return(0,eo.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,eo.createElement)(ed,(0,ei.Z)({},ec,{ref:en}))});return en.displayName=`Primitive.${et}`,{...Y,[et]:en}},{});function ef(Y,et){Y&&(0,ea.flushSync)(()=>Y.dispatchEvent(et))}},83208:function(Y,et,en){"use strict";en.d(et,{Pc:function(){return eT},ck:function(){return eB},fC:function(){return eF}});var ei=en(5527),eo=en(70079),ea=en(72901),eu=en(68539),ec=en(49270),ed=en(36646),ef=en(88817),eh=en(39073),ep=en(9137),em=en(86004),eg=en(28036);let ey="rovingFocusGroup.onEntryFocus",eb={bubbles:!1,cancelable:!0},ek="RovingFocusGroup",[ew,e_,eE]=(0,eu.B)(ek),[eC,eT]=(0,ed.b)(ek,[eE]),[eS,eA]=eC(ek),eM=(0,eo.forwardRef)((Y,et)=>(0,eo.createElement)(ew.Provider,{scope:Y.__scopeRovingFocusGroup},(0,eo.createElement)(ew.Slot,{scope:Y.__scopeRovingFocusGroup},(0,eo.createElement)(eP,(0,ei.Z)({},Y,{ref:et}))))),eP=(0,eo.forwardRef)((Y,et)=>{let{__scopeRovingFocusGroup:en,orientation:eu,loop:ed=!1,dir:ef,currentTabStopId:ek,defaultCurrentTabStopId:ew,onCurrentTabStopIdChange:eE,onEntryFocus:eC,...eT}=Y,eA=(0,eo.useRef)(null),eM=(0,ec.e)(et,eA),eP=(0,eg.gm)(ef),[ej=null,eO]=(0,em.T)({prop:ek,defaultProp:ew,onChange:eE}),[eI,eN]=(0,eo.useState)(!1),eL=(0,ep.W)(eC),eD=e_(en),eF=(0,eo.useRef)(!1),[eB,ez]=(0,eo.useState)(0);return(0,eo.useEffect)(()=>{let Y=eA.current;if(Y)return Y.addEventListener(ey,eL),()=>Y.removeEventListener(ey,eL)},[eL]),(0,eo.createElement)(eS,{scope:en,orientation:eu,dir:eP,loop:ed,currentTabStopId:ej,onItemFocus:(0,eo.useCallback)(Y=>eO(Y),[eO]),onItemShiftTab:(0,eo.useCallback)(()=>eN(!0),[]),onFocusableItemAdd:(0,eo.useCallback)(()=>ez(Y=>Y+1),[]),onFocusableItemRemove:(0,eo.useCallback)(()=>ez(Y=>Y-1),[])},(0,eo.createElement)(eh.WV.div,(0,ei.Z)({tabIndex:eI||0===eB?-1:0,"data-orientation":eu},eT,{ref:eM,style:{outline:"none",...Y.style},onMouseDown:(0,ea.M)(Y.onMouseDown,()=>{eF.current=!0}),onFocus:(0,ea.M)(Y.onFocus,Y=>{let et=!eF.current;if(Y.target===Y.currentTarget&&et&&!eI){let et=new CustomEvent(ey,eb);if(Y.currentTarget.dispatchEvent(et),!et.defaultPrevented){let Y=eD().filter(Y=>Y.focusable),et=Y.find(Y=>Y.active),en=Y.find(Y=>Y.id===ej),ei=[et,en,...Y].filter(Boolean),eo=ei.map(Y=>Y.ref.current);eR(eo)}}eF.current=!1}),onBlur:(0,ea.M)(Y.onBlur,()=>eN(!1))})))}),ej="RovingFocusGroupItem",eO=(0,eo.forwardRef)((Y,et)=>{let{__scopeRovingFocusGroup:en,focusable:eu=!0,active:ec=!1,tabStopId:ed,...ep}=Y,em=(0,ef.M)(),eg=ed||em,ey=eA(ej,en),eb=ey.currentTabStopId===eg,ek=e_(en),{onFocusableItemAdd:eE,onFocusableItemRemove:eC}=ey;return(0,eo.useEffect)(()=>{if(eu)return eE(),()=>eC()},[eu,eE,eC]),(0,eo.createElement)(ew.ItemSlot,{scope:en,id:eg,focusable:eu,active:ec},(0,eo.createElement)(eh.WV.span,(0,ei.Z)({tabIndex:eb?0:-1,"data-orientation":ey.orientation},ep,{ref:et,onMouseDown:(0,ea.M)(Y.onMouseDown,Y=>{eu?ey.onItemFocus(eg):Y.preventDefault()}),onFocus:(0,ea.M)(Y.onFocus,()=>ey.onItemFocus(eg)),onKeyDown:(0,ea.M)(Y.onKeyDown,Y=>{if("Tab"===Y.key&&Y.shiftKey){ey.onItemShiftTab();return}if(Y.target!==Y.currentTarget)return;let et=eL(Y,ey.orientation,ey.dir);if(void 0!==et){Y.preventDefault();let en=ek().filter(Y=>Y.focusable),ei=en.map(Y=>Y.ref.current);if("last"===et)ei.reverse();else if("prev"===et||"next"===et){"prev"===et&&ei.reverse();let en=ei.indexOf(Y.currentTarget);ei=ey.loop?eD(ei,en+1):ei.slice(en+1)}setTimeout(()=>eR(ei))}})})))}),eI={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function eN(Y,et){return"rtl"!==et?Y:"ArrowLeft"===Y?"ArrowRight":"ArrowRight"===Y?"ArrowLeft":Y}function eL(Y,et,en){let ei=eN(Y.key,en);if(!("vertical"===et&&["ArrowLeft","ArrowRight"].includes(ei))&&!("horizontal"===et&&["ArrowUp","ArrowDown"].includes(ei)))return eI[ei]}function eR(Y){let et=document.activeElement;for(let en of Y)if(en===et||(en.focus(),document.activeElement!==et))return}function eD(Y,et){return Y.map((en,ei)=>Y[(et+ei)%Y.length])}let eF=eM,eB=eO},94251:function(Y,et,en){"use strict";en.d(et,{A4:function(){return ed},g7:function(){return eu}});var ei=en(5527),eo=en(70079),ea=en(49270);let eu=(0,eo.forwardRef)((Y,et)=>{let{children:en,...ea}=Y,eu=eo.Children.toArray(en),ed=eu.find(ef);if(ed){let Y=ed.props.children,en=eu.map(et=>et!==ed?et:eo.Children.count(Y)>1?eo.Children.only(null):(0,eo.isValidElement)(Y)?Y.props.children:null);return(0,eo.createElement)(ec,(0,ei.Z)({},ea,{ref:et}),(0,eo.isValidElement)(Y)?(0,eo.cloneElement)(Y,void 0,en):null)}return(0,eo.createElement)(ec,(0,ei.Z)({},ea,{ref:et}),en)});eu.displayName="Slot";let ec=(0,eo.forwardRef)((Y,et)=>{let{children:en,...ei}=Y;return(0,eo.isValidElement)(en)?(0,eo.cloneElement)(en,{...eh(ei,en.props),ref:(0,ea.F)(et,en.ref)}):eo.Children.count(en)>1?eo.Children.only(null):null});ec.displayName="SlotClone";let ed=({children:Y})=>(0,eo.createElement)(eo.Fragment,null,Y);function ef(Y){return(0,eo.isValidElement)(Y)&&Y.type===ed}function eh(Y,et){let en={...et};for(let ei in et){let eo=Y[ei],ea=et[ei],eu=/^on[A-Z]/.test(ei);eu?eo&&ea?en[ei]=(...Y)=>{ea(...Y),eo(...Y)}:eo&&(en[ei]=eo):"style"===ei?en[ei]={...eo,...ea}:"className"===ei&&(en[ei]=[eo,ea].filter(Boolean).join(" "))}return{...Y,...en}}},65374:function(Y,et,en){"use strict";en.d(et,{VY:function(){return eR},aV:function(){return eN},fC:function(){return eI},xz:function(){return eL}});var ei=en(45675),eo=en(70079),ea=en(72901),eu=en(36646),ec=en(83208),ed=en(55691),ef=en(39073),eh=en(28036),ep=en(86004),em=en(88817);let eg="Tabs",[ey,eb]=(0,eu.b)(eg,[ec.Pc]),ek=(0,ec.Pc)(),[ew,e_]=ey(eg),eE=(0,eo.forwardRef)((Y,et)=>{let{__scopeTabs:en,value:ea,onValueChange:eu,defaultValue:ec,orientation:ed="horizontal",dir:eg,activationMode:ey="automatic",...eb}=Y,ek=(0,eh.gm)(eg),[e_,eE]=(0,ep.T)({prop:ea,onChange:eu,defaultProp:ec});return(0,eo.createElement)(ew,{scope:en,baseId:(0,em.M)(),value:e_,onValueChange:eE,orientation:ed,dir:ek,activationMode:ey},(0,eo.createElement)(ef.WV.div,(0,ei.Z)({dir:ek,"data-orientation":ed},eb,{ref:et})))}),eC="TabsList",eT=(0,eo.forwardRef)((Y,et)=>{let{__scopeTabs:en,loop:ea=!0,...eu}=Y,ed=e_(eC,en),eh=ek(en);return(0,eo.createElement)(ec.fC,(0,ei.Z)({asChild:!0},eh,{orientation:ed.orientation,dir:ed.dir,loop:ea}),(0,eo.createElement)(ef.WV.div,(0,ei.Z)({role:"tablist","aria-orientation":ed.orientation},eu,{ref:et})))}),eS="TabsTrigger",eA=(0,eo.forwardRef)((Y,et)=>{let{__scopeTabs:en,value:eu,disabled:ed=!1,...eh}=Y,ep=e_(eS,en),em=ek(en),eg=ej(ep.baseId,eu),ey=eO(ep.baseId,eu),eb=eu===ep.value;return(0,eo.createElement)(ec.ck,(0,ei.Z)({asChild:!0},em,{focusable:!ed,active:eb}),(0,eo.createElement)(ef.WV.button,(0,ei.Z)({type:"button",role:"tab","aria-selected":eb,"aria-controls":ey,"data-state":eb?"active":"inactive","data-disabled":ed?"":void 0,disabled:ed,id:eg},eh,{ref:et,onMouseDown:(0,ea.M)(Y.onMouseDown,Y=>{ed||0!==Y.button||!1!==Y.ctrlKey?Y.preventDefault():ep.onValueChange(eu)}),onKeyDown:(0,ea.M)(Y.onKeyDown,Y=>{[" ","Enter"].includes(Y.key)&&ep.onValueChange(eu)}),onFocus:(0,ea.M)(Y.onFocus,()=>{let Y="manual"!==ep.activationMode;eb||ed||!Y||ep.onValueChange(eu)})})))}),eM="TabsContent",eP=(0,eo.forwardRef)((Y,et)=>{let{__scopeTabs:en,value:ea,forceMount:eu,children:ec,...eh}=Y,ep=e_(eM,en),em=ej(ep.baseId,ea),eg=eO(ep.baseId,ea),ey=ea===ep.value,eb=(0,eo.useRef)(ey);return(0,eo.useEffect)(()=>{let Y=requestAnimationFrame(()=>eb.current=!1);return()=>cancelAnimationFrame(Y)},[]),(0,eo.createElement)(ed.z,{present:eu||ey},({present:en})=>(0,eo.createElement)(ef.WV.div,(0,ei.Z)({"data-state":ey?"active":"inactive","data-orientation":ep.orientation,role:"tabpanel","aria-labelledby":em,hidden:!en,id:eg,tabIndex:0},eh,{ref:et,style:{...Y.style,animationDuration:eb.current?"0s":void 0}}),en&&ec))});function ej(Y,et){return`${Y}-trigger-${et}`}function eO(Y,et){return`${Y}-content-${et}`}let eI=eE,eN=eT,eL=eA,eR=eP},22444:function(Y,et,en){"use strict";en.d(et,{Eh:function(){return tt},VY:function(){return e8},h_:function(){return e7},zt:function(){return e4},fC:function(){return e3},xz:function(){return e6}});var ei=en(45675),eo=en(70079),ea=en(72901),eu=en(49270),ec=en(36646),ed=en(49515),ef=en(88817),eh=en(25373),ep=en(67323),em=en(55691),eg=en(39073),ey=en(94251),eb=en(86004),ek=en(5527);let ew=(0,eo.forwardRef)((Y,et)=>(0,eo.createElement)(eg.WV.span,(0,ek.Z)({},Y,{ref:et,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...Y.style}}))),e_=ew,[eE,eC]=(0,ec.b)("Tooltip",[eh.D7]),eT=(0,eh.D7)(),eS="TooltipProvider",eA=700,eM="tooltip.open",[eP,ej]=eE(eS),eO=Y=>{let{__scopeTooltip:et,delayDuration:en=eA,skipDelayDuration:ei=300,disableHoverableContent:ea=!1,children:eu}=Y,[ec,ed]=(0,eo.useState)(!0),ef=(0,eo.useRef)(!1),eh=(0,eo.useRef)(0);return(0,eo.useEffect)(()=>{let Y=eh.current;return()=>window.clearTimeout(Y)},[]),(0,eo.createElement)(eP,{scope:et,isOpenDelayed:ec,delayDuration:en,onOpen:(0,eo.useCallback)(()=>{window.clearTimeout(eh.current),ed(!1)},[]),onClose:(0,eo.useCallback)(()=>{window.clearTimeout(eh.current),eh.current=window.setTimeout(()=>ed(!0),ei)},[ei]),isPointerInTransitRef:ef,onPointerInTransitChange:(0,eo.useCallback)(Y=>{ef.current=Y},[]),disableHoverableContent:ea},eu)},eI="Tooltip",[eN,eL]=eE(eI),eR=Y=>{let{__scopeTooltip:et,children:en,open:ei,defaultOpen:ea=!1,onOpenChange:eu,disableHoverableContent:ec,delayDuration:ed}=Y,ep=ej(eI,Y.__scopeTooltip),em=eT(et),[eg,ey]=(0,eo.useState)(null),ek=(0,ef.M)(),ew=(0,eo.useRef)(0),e_=null!=ec?ec:ep.disableHoverableContent,eE=null!=ed?ed:ep.delayDuration,eC=(0,eo.useRef)(!1),[eS=!1,eA]=(0,eb.T)({prop:ei,defaultProp:ea,onChange:Y=>{Y?(ep.onOpen(),document.dispatchEvent(new CustomEvent(eM))):ep.onClose(),null==eu||eu(Y)}}),eP=(0,eo.useMemo)(()=>eS?eC.current?"delayed-open":"instant-open":"closed",[eS]),eO=(0,eo.useCallback)(()=>{window.clearTimeout(ew.current),eC.current=!1,eA(!0)},[eA]),eL=(0,eo.useCallback)(()=>{window.clearTimeout(ew.current),eA(!1)},[eA]),eR=(0,eo.useCallback)(()=>{window.clearTimeout(ew.current),ew.current=window.setTimeout(()=>{eC.current=!0,eA(!0)},eE)},[eE,eA]);return(0,eo.useEffect)(()=>()=>window.clearTimeout(ew.current),[]),(0,eo.createElement)(eh.fC,em,(0,eo.createElement)(eN,{scope:et,contentId:ek,open:eS,stateAttribute:eP,trigger:eg,onTriggerChange:ey,onTriggerEnter:(0,eo.useCallback)(()=>{ep.isOpenDelayed?eR():eO()},[ep.isOpenDelayed,eR,eO]),onTriggerLeave:(0,eo.useCallback)(()=>{e_?eL():window.clearTimeout(ew.current)},[eL,e_]),onOpen:eO,onClose:eL,disableHoverableContent:e_},en))},eD="TooltipTrigger",eF=(0,eo.forwardRef)((Y,et)=>{let{__scopeTooltip:en,...ec}=Y,ed=eL(eD,en),ef=ej(eD,en),ep=eT(en),em=(0,eo.useRef)(null),ey=(0,eu.e)(et,em,ed.onTriggerChange),eb=(0,eo.useRef)(!1),ek=(0,eo.useRef)(!1),ew=(0,eo.useCallback)(()=>eb.current=!1,[]);return(0,eo.useEffect)(()=>()=>document.removeEventListener("pointerup",ew),[ew]),(0,eo.createElement)(eh.ee,(0,ei.Z)({asChild:!0},ep),(0,eo.createElement)(eg.WV.button,(0,ei.Z)({"aria-describedby":ed.open?ed.contentId:void 0,"data-state":ed.stateAttribute},ec,{ref:ey,onPointerMove:(0,ea.M)(Y.onPointerMove,Y=>{"touch"===Y.pointerType||ek.current||ef.isPointerInTransitRef.current||(ed.onTriggerEnter(),ek.current=!0)}),onPointerLeave:(0,ea.M)(Y.onPointerLeave,()=>{ed.onTriggerLeave(),ek.current=!1}),onPointerDown:(0,ea.M)(Y.onPointerDown,()=>{eb.current=!0,document.addEventListener("pointerup",ew,{once:!0})}),onFocus:(0,ea.M)(Y.onFocus,()=>{eb.current||ed.onOpen()}),onBlur:(0,ea.M)(Y.onBlur,ed.onClose),onClick:(0,ea.M)(Y.onClick,ed.onClose)})))}),eB="TooltipPortal",[ez,eU]=eE(eB,{forceMount:void 0}),eH=Y=>{let{__scopeTooltip:et,forceMount:en,children:ei,container:ea}=Y,eu=eL(eB,et);return(0,eo.createElement)(ez,{scope:et,forceMount:en},(0,eo.createElement)(em.z,{present:en||eu.open},(0,eo.createElement)(ep.h,{asChild:!0,container:ea},ei)))},eG="TooltipContent",eV=(0,eo.forwardRef)((Y,et)=>{let en=eU(eG,Y.__scopeTooltip),{forceMount:ea=en.forceMount,side:eu="top",...ec}=Y,ed=eL(eG,Y.__scopeTooltip);return(0,eo.createElement)(em.z,{present:ea||ed.open},ed.disableHoverableContent?(0,eo.createElement)(e$,(0,ei.Z)({side:eu},ec,{ref:et})):(0,eo.createElement)(eW,(0,ei.Z)({side:eu},ec,{ref:et})))}),eW=(0,eo.forwardRef)((Y,et)=>{let en=eL(eG,Y.__scopeTooltip),ea=ej(eG,Y.__scopeTooltip),ec=(0,eo.useRef)(null),ed=(0,eu.e)(et,ec),[ef,eh]=(0,eo.useState)(null),{trigger:ep,onClose:em}=en,eg=ec.current,{onPointerInTransitChange:ey}=ea,eb=(0,eo.useCallback)(()=>{eh(null),ey(!1)},[ey]),ek=(0,eo.useCallback)((Y,et)=>{let en=Y.currentTarget,ei={x:Y.clientX,y:Y.clientY},eo=eX(ei,en.getBoundingClientRect()),ea="right"===eo||"bottom"===eo?-5:5,eu="right"===eo||"left"===eo,ec=eu?{x:Y.clientX+ea,y:Y.clientY}:{x:Y.clientX,y:Y.clientY+ea},ed=eJ(et.getBoundingClientRect()),ef=e9([ec,...ed]);eh(ef),ey(!0)},[ey]);return(0,eo.useEffect)(()=>()=>eb(),[eb]),(0,eo.useEffect)(()=>{if(ep&&eg){let Y=Y=>ek(Y,eg),et=Y=>ek(Y,ep);return ep.addEventListener("pointerleave",Y),eg.addEventListener("pointerleave",et),()=>{ep.removeEventListener("pointerleave",Y),eg.removeEventListener("pointerleave",et)}}},[ep,eg,ek,eb]),(0,eo.useEffect)(()=>{if(ef){let Y=Y=>{let et=Y.target,en={x:Y.clientX,y:Y.clientY},ei=(null==ep?void 0:ep.contains(et))||(null==eg?void 0:eg.contains(et)),eo=!e0(en,ef);ei?eb():eo&&(eb(),em())};return document.addEventListener("pointermove",Y),()=>document.removeEventListener("pointermove",Y)}},[ep,eg,ef,em,eb]),(0,eo.createElement)(e$,(0,ei.Z)({},Y,{ref:ed}))}),[eZ,eK]=eE(eI,{isInside:!1}),e$=(0,eo.forwardRef)((Y,et)=>{let{__scopeTooltip:en,children:ea,"aria-label":eu,onEscapeKeyDown:ec,onPointerDownOutside:ef,...ep}=Y,em=eL(eG,en),eg=eT(en),{onClose:eb}=em;return(0,eo.useEffect)(()=>(document.addEventListener(eM,eb),()=>document.removeEventListener(eM,eb)),[eb]),(0,eo.useEffect)(()=>{if(em.trigger){let Y=Y=>{let et=Y.target;null!=et&&et.contains(em.trigger)&&eb()};return window.addEventListener("scroll",Y,{capture:!0}),()=>window.removeEventListener("scroll",Y,{capture:!0})}},[em.trigger,eb]),(0,eo.createElement)(ed.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:ec,onPointerDownOutside:ef,onFocusOutside:Y=>Y.preventDefault(),onDismiss:eb},(0,eo.createElement)(eh.VY,(0,ei.Z)({"data-state":em.stateAttribute},eg,ep,{ref:et,style:{...ep.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),(0,eo.createElement)(ey.A4,null,ea),(0,eo.createElement)(eZ,{scope:en,isInside:!0},(0,eo.createElement)(e_,{id:em.contentId,role:"tooltip"},eu||ea))))}),eY="TooltipArrow",eQ=(0,eo.forwardRef)((Y,et)=>{let{__scopeTooltip:en,...ea}=Y,eu=eT(en),ec=eK(eY,en);return ec.isInside?null:(0,eo.createElement)(eh.Eh,(0,ei.Z)({},eu,ea,{ref:et}))});function eX(Y,et){let en=Math.abs(et.top-Y.y),ei=Math.abs(et.bottom-Y.y),eo=Math.abs(et.right-Y.x),ea=Math.abs(et.left-Y.x);switch(Math.min(en,ei,eo,ea)){case ea:return"left";case eo:return"right";case en:return"top";case ei:return"bottom";default:return null}}function eJ(Y){let{top:et,right:en,bottom:ei,left:eo}=Y;return[{x:eo,y:et},{x:en,y:et},{x:en,y:ei},{x:eo,y:ei}]}function e0(Y,et){let{x:en,y:ei}=Y,eo=!1;for(let Y=0,ea=et.length-1;Y<et.length;ea=Y++){let eu=et[Y].x,ec=et[Y].y,ed=et[ea].x,ef=et[ea].y,eh=ec>ei!=ef>ei&&en<(ed-eu)*(ei-ec)/(ef-ec)+eu;eh&&(eo=!eo)}return eo}function e9(Y){let et=Y.slice();return et.sort((Y,et)=>Y.x<et.x?-1:Y.x>et.x?1:Y.y<et.y?-1:Y.y>et.y?1:0),e5(et)}function e5(Y){if(Y.length<=1)return Y.slice();let et=[];for(let en=0;en<Y.length;en++){let ei=Y[en];for(;et.length>=2;){let Y=et[et.length-1],en=et[et.length-2];if((Y.x-en.x)*(ei.y-en.y)>=(Y.y-en.y)*(ei.x-en.x))et.pop();else break}et.push(ei)}et.pop();let en=[];for(let et=Y.length-1;et>=0;et--){let ei=Y[et];for(;en.length>=2;){let Y=en[en.length-1],et=en[en.length-2];if((Y.x-et.x)*(ei.y-et.y)>=(Y.y-et.y)*(ei.x-et.x))en.pop();else break}en.push(ei)}return(en.pop(),1===et.length&&1===en.length&&et[0].x===en[0].x&&et[0].y===en[0].y)?et:et.concat(en)}let e4=eO,e3=eR,e6=eF,e7=eH,e8=eV,tt=eQ},9137:function(Y,et,en){"use strict";en.d(et,{W:function(){return eo}});var ei=en(70079);function eo(Y){let et=(0,ei.useRef)(Y);return(0,ei.useEffect)(()=>{et.current=Y}),(0,ei.useMemo)(()=>(...Y)=>{var en;return null===(en=et.current)||void 0===en?void 0:en.call(et,...Y)},[])}},86004:function(Y,et,en){"use strict";en.d(et,{T:function(){return ea}});var ei=en(70079),eo=en(9137);function ea({prop:Y,defaultProp:et,onChange:en=()=>{}}){let[ea,ec]=eu({defaultProp:et,onChange:en}),ed=void 0!==Y,ef=ed?Y:ea,eh=(0,eo.W)(en),ep=(0,ei.useCallback)(et=>{if(ed){let en=et,ei="function"==typeof et?en(Y):et;ei!==Y&&eh(ei)}else ec(et)},[ed,Y,ec,eh]);return[ef,ep]}function eu({defaultProp:Y,onChange:et}){let en=(0,ei.useState)(Y),[ea]=en,eu=(0,ei.useRef)(ea),ec=(0,eo.W)(et);return(0,ei.useEffect)(()=>{eu.current!==ea&&(ec(ea),eu.current=ea)},[ea,eu,ec]),en}},79388:function(Y,et,en){"use strict";en.d(et,{b:function(){return eo}});var ei=en(70079);let eo=(null==globalThis?void 0:globalThis.document)?ei.useLayoutEffect:()=>{}},82094:function(Y,et,en){"use strict";en.d(et,{t:function(){return ea}});var ei=en(70079),eo=en(79388);function ea(Y){let[et,en]=(0,ei.useState)(void 0);return(0,eo.b)(()=>{if(Y){en({width:Y.offsetWidth,height:Y.offsetHeight});let et=new ResizeObserver(et=>{let ei,eo;if(!Array.isArray(et)||!et.length)return;let ea=et[0];if("borderBoxSize"in ea){let Y=ea.borderBoxSize,et=Array.isArray(Y)?Y[0]:Y;ei=et.inlineSize,eo=et.blockSize}else ei=Y.offsetWidth,eo=Y.offsetHeight;en({width:ei,height:eo})});return et.observe(Y,{box:"border-box"}),()=>et.unobserve(Y)}en(void 0)},[Y]),et}},10620:function(Y,et,en){"use strict";function ei(Y,et){return new Promise(function(en,ei){var eo=setTimeout(function(){ei(Error("Promise timed out"))},et);Y.then(function(Y){return clearTimeout(eo),en(Y)}).catch(ei)})}function eo(Y){return new Promise(function(et){return setTimeout(et,Y)})}function ea(Y,et,en){var ea=function(){try{return Promise.resolve(et(Y))}catch(Y){return Promise.reject(Y)}};return eo(en).then(function(){return ei(ea(),1e3)}).catch(function(et){null==Y||Y.log("warn","Callback Error",{error:et}),null==Y||Y.stats.increment("callback_error")}).then(function(){return Y})}en.d(et,{FJ:function(){return ei},UI:function(){return ea}})},61120:function(Y,et,en){"use strict";en.d(et,{Y:function(){return ed},_:function(){return ef}});var ei=en(33591),eo=en(60696),ea=en(38104),eu=function(){function Y(){this._logs=[]}return Y.prototype.log=function(Y,et,en){var ei=new Date;this._logs.push({level:Y,message:et,time:ei,extras:en})},Object.defineProperty(Y.prototype,"logs",{get:function(){return this._logs},enumerable:!1,configurable:!0}),Y.prototype.flush=function(){if(this.logs.length>1){var Y=this._logs.reduce(function(Y,et){var en,ei,eo,eu=(0,ea.pi)((0,ea.pi)({},et),{json:JSON.stringify(et.extras,null," "),extras:et.extras});delete eu.time;var ec=null!==(eo=null===(ei=et.time)||void 0===ei?void 0:ei.toISOString())&&void 0!==eo?eo:"";return Y[ec]&&(ec="".concat(ec,"-").concat(Math.random())),(0,ea.pi)((0,ea.pi)({},Y),((en={})[ec]=eu,en))},{});console.table?console.table(Y):console.log(Y)}else this.logs.forEach(function(Y){var et=Y.level,en=Y.message,ei=Y.extras;"info"===et||"debug"===et?console.log(en,null!=ei?ei:""):console[et](en,null!=ei?ei:"")});this._logs=[]},Y}(),ec=en(87968),ed=function(){return function(Y){var et,en,ei;this.retry=null===(et=Y.retry)||void 0===et||et,this.type=null!==(en=Y.type)&&void 0!==en?en:"plugin Error",this.reason=null!==(ei=Y.reason)&&void 0!==ei?ei:""}}(),ef=function(){function Y(Y,et,en,eo){void 0===et&&(et=(0,ei.v4)()),void 0===en&&(en=new ec.i),void 0===eo&&(eo=new eu),this.attempts=0,this.event=Y,this._id=et,this.logger=eo,this.stats=en}return Y.system=function(){},Y.prototype.isSame=function(Y){return Y.id===this.id},Y.prototype.cancel=function(Y){if(Y)throw Y;throw new ed({reason:"Context Cancel"})},Y.prototype.log=function(Y,et,en){this.logger.log(Y,et,en)},Object.defineProperty(Y.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Y.prototype.updateEvent=function(Y,et){var en;if("integrations"===Y.split(".")[0]){var ei=Y.split(".")[1];if((null===(en=this.event.integrations)||void 0===en?void 0:en[ei])===!1)return this.event}return(0,eo.N)(this.event,Y,et),this.event},Y.prototype.failedDelivery=function(){return this._failedDelivery},Y.prototype.setFailedDelivery=function(Y){this._failedDelivery=Y},Y.prototype.logs=function(){return this.logger.logs},Y.prototype.flush=function(){this.logger.flush(),this.stats.flush()},Y.prototype.toJSON=function(){return{id:this._id,event:this.event,logs:this.logger.logs,metrics:this.stats.metrics}},Y}()},97352:function(Y,et,en){"use strict";en.d(et,{Q:function(){return ei}});var ei=function(){function Y(){this.callbacks={}}return Y.prototype.on=function(Y,et){return this.callbacks[Y]?this.callbacks[Y].push(et):this.callbacks[Y]=[et],this},Y.prototype.once=function(Y,et){var en=this,ei=function(){for(var eo=[],ea=0;ea<arguments.length;ea++)eo[ea]=arguments[ea];en.off(Y,ei),et.apply(en,eo)};return this.on(Y,ei),this},Y.prototype.off=function(Y,et){var en,ei=(null!==(en=this.callbacks[Y])&&void 0!==en?en:[]).filter(function(Y){return Y!==et});return this.callbacks[Y]=ei,this},Y.prototype.emit=function(Y){for(var et,en=this,ei=[],eo=1;eo<arguments.length;eo++)ei[eo-1]=arguments[eo];return(null!==(et=this.callbacks[Y])&&void 0!==et?et:[]).forEach(function(Y){Y.apply(en,ei)}),this},Y}()},56769:function(Y,et,en){"use strict";en.d(et,{M:function(){return eu},Z:function(){return ec}});var ei=en(38104),eo=en(97352);function ea(Y){var et=Math.random()+1,en=Y.minTimeout,ei=void 0===en?500:en,eo=Y.factor,ea=void 0===eo?2:eo,eu=Y.attempt,ec=Y.maxTimeout;return Math.min(et*ei*Math.pow(ea,eu),void 0===ec?1/0:ec)}var eu="onRemoveFromFuture",ec=function(Y){function et(et,en,ei){var eo=Y.call(this)||this;return eo.future=[],eo.maxAttempts=et,eo.queue=en,eo.seen=null!=ei?ei:{},eo}return(0,ei.ZT)(et,Y),et.prototype.push=function(){for(var Y=this,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];var ei=et.map(function(et){return!(Y.updateAttempts(et)>Y.maxAttempts||Y.includes(et))&&(Y.queue.push(et),!0)});return this.queue=this.queue.sort(function(et,en){return Y.getAttempts(et)-Y.getAttempts(en)}),ei},et.prototype.pushWithBackoff=function(Y){var et=this;if(0===this.getAttempts(Y))return this.push(Y)[0];var en=this.updateAttempts(Y);return!(en>this.maxAttempts||this.includes(Y))&&(setTimeout(function(){et.queue.push(Y),et.future=et.future.filter(function(et){return et.id!==Y.id}),et.emit(eu)},ea({attempt:en-1})),this.future.push(Y),!0)},et.prototype.getAttempts=function(Y){var et;return null!==(et=this.seen[Y.id])&&void 0!==et?et:0},et.prototype.updateAttempts=function(Y){return this.seen[Y.id]=this.getAttempts(Y)+1,this.getAttempts(Y)},et.prototype.includes=function(Y){return this.queue.includes(Y)||this.future.includes(Y)||!!this.queue.find(function(et){return et.id===Y.id})||!!this.future.find(function(et){return et.id===Y.id})},et.prototype.pop=function(){return this.queue.shift()},Object.defineProperty(et.prototype,"length",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"todo",{get:function(){return this.queue.length+this.future.length},enumerable:!1,configurable:!0}),et}(eo.Q)},57389:function(Y,et,en){"use strict";en.d(et,{a:function(){return eu},z:function(){return ec}});var ei=en(38104),eo=en(61120);function ea(Y){return(0,ei.mG)(this,void 0,void 0,function(){return(0,ei.Jh)(this,function(et){switch(et.label){case 0:return et.trys.push([0,2,,3]),[4,Y()];case 1:return[2,et.sent()];case 2:return[2,Promise.reject(et.sent())];case 3:return[2]}})})}function eu(Y,et){Y.log("debug","plugin",{plugin:et.name});var en=new Date().getTime(),ei=et[Y.event.type];return void 0===ei?Promise.resolve(Y):ea(function(){return ei.apply(et,[Y])}).then(function(Y){var ei=new Date().getTime()-en;return Y.stats.gauge("plugin_time",ei,["plugin:".concat(et.name)]),Y}).catch(function(en){if(en instanceof eo.Y&&"middleware_cancellation"===en.type)throw en;return en instanceof eo.Y?(Y.log("warn",en.type,{plugin:et.name,error:en}),en):(Y.log("error","plugin Error",{plugin:et.name,error:en}),Y.stats.increment("plugin_error",1,["plugin:".concat(et.name)]),en)})}function ec(Y,et){return eu(Y,et).then(function(et){if(et instanceof eo._)return et;Y.log("debug","Context canceled"),Y.stats.increment("context_canceled"),Y.cancel(et)})}},87968:function(Y,et,en){"use strict";en.d(et,{i:function(){return eu},s:function(){return ea}});var ei=en(38104),eo=function(Y){return({gauge:"g",counter:"c"})[Y]},ea=function(){function Y(){this.metrics=[]}return Y.prototype.increment=function(Y,et,en){void 0===et&&(et=1),this.metrics.push({metric:Y,value:et,tags:null!=en?en:[],type:"counter",timestamp:Date.now()})},Y.prototype.gauge=function(Y,et,en){this.metrics.push({metric:Y,value:et,tags:null!=en?en:[],type:"gauge",timestamp:Date.now()})},Y.prototype.flush=function(){var Y=this.metrics.map(function(Y){return(0,ei.pi)((0,ei.pi)({},Y),{tags:Y.tags.join(",")})});console.table?console.table(Y):console.log(Y),this.metrics=[]},Y.prototype.serialize=function(){return this.metrics.map(function(Y){return{m:Y.metric,v:Y.value,t:Y.tags,k:eo(Y.type),e:Y.timestamp}})},Y}(),eu=function(Y){function et(){return null!==Y&&Y.apply(this,arguments)||this}return(0,ei.ZT)(et,Y),et.prototype.gauge=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et]},et.prototype.increment=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et]},et.prototype.flush=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et]},et.prototype.serialize=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return[]},et}(ea)},62462:function(Y,et,en){"use strict";function ei(Y){return"string"==typeof Y}function eo(Y){return"number"==typeof Y}function ea(Y){return"function"==typeof Y}function eu(Y){return null!=Y}function ec(Y){return"object"===Object.prototype.toString.call(Y).slice(8,-1).toLowerCase()}en.d(et,{Gg:function(){return eu},HD:function(){return ei},PO:function(){return ec},hj:function(){return eo},mf:function(){return ea}})},26915:function(Y,et,en){"use strict";en.d(et,{G:function(){return eo},s:function(){return ea}});var ei=en(89034);function eo(){return!(0,ei.j)()||window.navigator.onLine}function ea(){return!eo()}},47554:function(Y,et,en){"use strict";en.d(et,{U:function(){return ei}});var ei="api.segment.io/v1"},78985:function(Y,et,en){"use strict";en.d(et,{_:function(){return eu}});var ei=en(38104),eo=en(61120),ea=en(45472),eu=function(Y){function et(et,en){return Y.call(this,et,en,new ea.j)||this}return(0,ei.ZT)(et,Y),et.system=function(){return new this({type:"track",event:"system"})},et}(eo._)},89034:function(Y,et,en){"use strict";function ei(){return"undefined"!=typeof window}function eo(){return!ei()}en.d(et,{j:function(){return ei},s:function(){return eo}})},90476:function(Y,et,en){"use strict";function ei(Y){try{return decodeURIComponent(Y.replace(/\+/g," "))}catch(et){return Y}}en.d(et,{a:function(){return ei}})},45472:function(Y,et,en){"use strict";en.d(et,{j:function(){return eg}});var ei,eo=en(38104),ea=en(87968),eu=en(76340),ec=en(65699),ed=en(32),ef=en(47554),eh=function(Y,et,en){var ei=et.reduce(function(Y,et){var en=et.split(":"),ei=en[0],eo=en[1];return Y[ei]=eo,Y},{});return{type:"Counter",metric:Y,value:1,tags:(0,eo.pi)((0,eo.pi)({},ei),{library:"analytics.js",library_version:"web"===en?"next-".concat(ec.i):"npm:next-".concat(ec.i)})}};function ep(Y){console.error("Error sending segment performance metrics",Y)}var em=function(){function Y(Y){var et,en,ei,eo,ea=this;if(this.host=null!==(et=null==Y?void 0:Y.host)&&void 0!==et?et:ef.U,this.sampleRate=null!==(en=null==Y?void 0:Y.sampleRate)&&void 0!==en?en:1,this.flushTimer=null!==(ei=null==Y?void 0:Y.flushTimer)&&void 0!==ei?ei:3e4,this.maxQueueSize=null!==(eo=null==Y?void 0:Y.maxQueueSize)&&void 0!==eo?eo:20,this.queue=[],this.sampleRate>0){var eu=!1,ec=function(){eu||(eu=!0,ea.flush().catch(ep),eu=!1,setTimeout(ec,ea.flushTimer))};ec()}}return Y.prototype.increment=function(Y,et){if(!(!Y.includes("analytics_js.")||0===et.length||Math.random()>this.sampleRate)&&!(this.queue.length>=this.maxQueueSize)){var en=eh(Y,et,(0,ed.B)());this.queue.push(en),Y.includes("error")&&this.flush().catch(ep)}},Y.prototype.flush=function(){return(0,eo.mG)(this,void 0,void 0,function(){var Y=this;return(0,eo.Jh)(this,function(et){switch(et.label){case 0:if(this.queue.length<=0)return[2];return[4,this.send().catch(function(et){ep(et),Y.sampleRate=0})];case 1:return et.sent(),[2]}})})},Y.prototype.send=function(){return(0,eo.mG)(this,void 0,void 0,function(){var Y,et,en;return(0,eo.Jh)(this,function(ei){return Y={series:this.queue},this.queue=[],et={"Content-Type":"text/plain"},en="https://".concat(this.host,"/m"),[2,(0,eu.h)(en,{headers:et,body:JSON.stringify(Y),method:"POST"})]})})},Y}(),eg=function(Y){function et(){return null!==Y&&Y.apply(this,arguments)||this}return(0,eo.ZT)(et,Y),et.initRemoteMetrics=function(Y){ei=new em(Y)},et.prototype.increment=function(et,en,eo){Y.prototype.increment.call(this,et,en,eo),null==ei||ei.increment(et,null!=eo?eo:[])},et}(ea.s)},65699:function(Y,et,en){"use strict";en.d(et,{i:function(){return ei}});var ei="1.56.0"},76340:function(Y,et,en){"use strict";en.d(et,{h:function(){return eu}});var ei=en(97135),eo=en.n(ei),ea=en(4964),eu=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];var en=(0,ea.R)();return(en&&en.fetch||eo()).apply(void 0,Y)}},4964:function(Y,et,en){"use strict";en.d(et,{R:function(){return ei}});var ei=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==en.g?en.g:null}},20890:function(Y,et,en){"use strict";en.d(et,{jV:function(){return ea},ql:function(){return eu},wI:function(){return eo}});var ei="analytics";function eo(){return window[ei]}function ea(Y){ei=Y}function eu(Y){window[ei]=Y}},47019:function(Y,et,en){"use strict";function ei(Y){return Array.prototype.slice.call(window.document.querySelectorAll("script")).find(function(et){return et.src===Y})}function eo(Y,et){var en=ei(Y);if(void 0!==en){var eo=null==en?void 0:en.getAttribute("status");if("loaded"===eo)return Promise.resolve(en);if("loading"===eo)return new Promise(function(Y,et){en.addEventListener("load",function(){return Y(en)}),en.addEventListener("error",function(Y){return et(Y)})})}return new Promise(function(en,ei){var eo,ea=window.document.createElement("script");ea.type="text/javascript",ea.src=Y,ea.async=!0,ea.setAttribute("status","loading");for(var eu=0,ec=Object.entries(null!=et?et:{});eu<ec.length;eu++){var ed=ec[eu],ef=ed[0],eh=ed[1];ea.setAttribute(ef,eh)}ea.onload=function(){ea.onerror=ea.onload=null,ea.setAttribute("status","loaded"),en(ea)},ea.onerror=function(){ea.onerror=ea.onload=null,ea.setAttribute("status","error"),ei(Error("Failed to load ".concat(Y)))};var ep=window.document.getElementsByTagName("script")[0];null===(eo=ep.parentElement)||void 0===eo||eo.insertBefore(ea,ep)})}function ea(Y){var et=ei(Y);return void 0!==et&&et.remove(),Promise.resolve()}en.d(et,{t:function(){return ea},v:function(){return eo}})},30318:function(Y,et,en){"use strict";en.d(et,{o:function(){return eo}});var ei=en(38104);function eo(Y,et){var en,eo=Object.entries(null!==(en=et.integrations)&&void 0!==en?en:{}).reduce(function(Y,et){var en,eo,ea=et[0],eu=et[1];return"object"==typeof eu?(0,ei.pi)((0,ei.pi)({},Y),((en={})[ea]=eu,en)):(0,ei.pi)((0,ei.pi)({},Y),((eo={})[ea]={},eo))},{});return Object.entries(Y.integrations).reduce(function(Y,et){var en,ea=et[0],eu=et[1];return(0,ei.pi)((0,ei.pi)({},Y),((en={})[ea]=(0,ei.pi)((0,ei.pi)({},eu),eo[ea]),en))},{})}},83070:function(Y,et,en){"use strict";en.d(et,{x:function(){return eo}});var ei=en(38104),eo=function(Y,et){return(0,ei.mG)(void 0,void 0,void 0,function(){var en;return(0,ei.Jh)(this,function(eo){return[2,(en=function(eo){return(0,ei.mG)(void 0,void 0,void 0,function(){var ea;return(0,ei.Jh)(this,function(ei){switch(ei.label){case 0:if(!Y(eo))return[3,2];return ea=en,[4,et()];case 1:return[2,ea.apply(void 0,[ei.sent()])];case 2:return[2]}})})})(void 0)]})})}},71265:function(Y,et,en){"use strict";en.d(et,{Kg:function(){return eh},UH:function(){return ed},Vl:function(){return ef}});var ei,eo=en(20890),ea=/(https:\/\/.*)\/analytics\.js\/v1\/(?:.*?)\/(?:platform|analytics.*)?/,eu=function(){var Y;return Array.prototype.slice.call(document.querySelectorAll("script")).forEach(function(et){var en,ei=null!==(en=et.getAttribute("src"))&&void 0!==en?en:"",eo=ea.exec(ei);eo&&eo[1]&&(Y=eo[1])}),Y},ec=function(){var Y;return null!=ei?ei:null===(Y=(0,eo.wI)())||void 0===Y?void 0:Y._cdn},ed=function(Y){var et=(0,eo.wI)();et&&(et._cdn=Y),ei=Y},ef=function(){var Y=ec();return Y?Y:eu()||"https://cdn.segment.com"},eh=function(){var Y=ef();return"".concat(Y,"/next-integrations")}},15595:function(Y,et,en){"use strict";en.d(et,{$:function(){return eb}});var ei=en(38104),eo=en(56769),ea=en(78985),eu=en(89034),ec={getItem:function(){},setItem:function(){},removeItem:function(){}};try{ec=(0,eu.j)()&&window.localStorage?window.localStorage:ec}catch(Y){console.warn("Unable to access localStorage",Y)}function ed(Y){var et=ec.getItem(Y);return(et?JSON.parse(et):[]).map(function(Y){return new ea._(Y.event,Y.id)})}function ef(Y,et){var en=ed(Y),eo=(0,ei.ev)((0,ei.ev)([],et,!0),en,!0).reduce(function(Y,et){var en;return(0,ei.pi)((0,ei.pi)({},Y),((en={})[et.id]=et,en))},{});ec.setItem(Y,JSON.stringify(Object.values(eo)))}function eh(Y){var et=ec.getItem(Y);return et?JSON.parse(et):{}}function ep(Y,et){var en=eh(Y);ec.setItem(Y,JSON.stringify((0,ei.pi)((0,ei.pi)({},en),et)))}function em(Y){ec.removeItem(Y)}var eg=function(){return new Date().getTime()};function ey(Y,et,en){void 0===en&&(en=0);var ei=50,eo="persisted-queue:v1:".concat(Y,":lock"),ea=function(Y){return new Date().getTime()>Y},eu=ec.getItem(eo),ed=eu?JSON.parse(eu):null,ef=null===ed||ea(ed);if(ef){ec.setItem(eo,JSON.stringify(eg()+ei)),et(),ec.removeItem(eo);return}!ef&&en<3?setTimeout(function(){ey(Y,et,en+1)},ei):console.error("Unable to retrieve lock")}var eb=function(Y){function et(et,en){var eo=Y.call(this,et,[])||this,ea="persisted-queue:v1:".concat(en,":items"),eu="persisted-queue:v1:".concat(en,":seen"),ec=[],eg={};return ey(en,function(){try{ec=ed(ea),eg=eh(eu),em(ea),em(eu),eo.queue=(0,ei.ev)((0,ei.ev)([],ec,!0),eo.queue,!0),eo.seen=(0,ei.pi)((0,ei.pi)({},eg),eo.seen)}catch(Y){console.error(Y)}}),window.addEventListener("pagehide",function(){if(eo.todo>0){var Y=(0,ei.ev)((0,ei.ev)([],eo.queue,!0),eo.future,!0);try{ey(en,function(){ef(ea,Y),ep(eu,eo.seen)})}catch(Y){console.error(Y)}}}),eo}return(0,ei.ZT)(et,Y),et}(eo.Z)},38843:function(Y,et,en){"use strict";en.d(et,{D:function(){return eo}});var ei=en(69639);function eo(Y,et){var en=new ei.Facade(Y,et);return"track"===Y.type&&(en=new ei.Track(Y,et)),"identify"===Y.type&&(en=new ei.Identify(Y,et)),"page"===Y.type&&(en=new ei.Page(Y,et)),"alias"===Y.type&&(en=new ei.Alias(Y,et)),"group"===Y.type&&(en=new ei.Group(Y,et)),"screen"===Y.type&&(en=new ei.Screen(Y,et)),Object.defineProperty(en,"obj",{value:Y,writable:!0}),en}},32:function(Y,et,en){"use strict";en.d(et,{B:function(){return eo}});var ei="npm";function eo(){return ei}},44126:function(Y,et,en){"use strict";en.r(et),en.d(et,{applyDestinationMiddleware:function(){return eu},sourceMiddlewarePlugin:function(){return ec}});var ei=en(38104),eo=en(61120),ea=en(38843);function eu(Y,et,en){return(0,ei.mG)(this,void 0,void 0,function(){var eo,eu,ec,ed;function ef(et,en){return(0,ei.mG)(this,void 0,void 0,function(){var eo,eu,ec;return(0,ei.Jh)(this,function(ed){switch(ed.label){case 0:return eo=!1,eu=null,[4,en({payload:(0,ea.D)(et,{clone:!0,traverse:!1}),integration:Y,next:function(Y){eo=!0,null===Y&&(eu=null),Y&&(eu=Y.obj)}})];case 1:return ed.sent(),eo||null===eu||(eu.integrations=(0,ei.pi)((0,ei.pi)({},et.integrations),((ec={})[Y]=!1,ec))),[2,eu]}})})}return(0,ei.Jh)(this,function(Y){switch(Y.label){case 0:eo=(0,ea.D)(et,{clone:!0,traverse:!1}).rawEvent(),eu=0,ec=en,Y.label=1;case 1:if(!(eu<ec.length))return[3,4];return[4,ef(eo,ec[eu])];case 2:if(null===(ed=Y.sent()))return[2,null];eo=ed,Y.label=3;case 3:return eu++,[3,1];case 4:return[2,eo]}})})}function ec(Y,et){function en(en){return(0,ei.mG)(this,void 0,void 0,function(){var eu;return(0,ei.Jh)(this,function(ei){switch(ei.label){case 0:return eu=!1,[4,Y({payload:(0,ea.D)(en.event,{clone:!0,traverse:!1}),integrations:null!=et?et:{},next:function(Y){eu=!0,Y&&(en.event=Y.obj)}})];case 1:if(ei.sent(),!eu)throw new eo.Y({retry:!1,type:"middleware_cancellation",reason:"Middleware `next` function skipped"});return[2,en]}})})}return{name:"Source Middleware ".concat(Y.name),type:"before",version:"0.1.0",isLoaded:function(){return!0},load:function(Y){return Promise.resolve(Y)},track:en,page:en,identify:en,alias:en,group:en}}},8476:function(Y,et,en){"use strict";var ei=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0});var eo=ei(en(66435));function ea(Y,et){return function(){var en=this.traits(),ei=this.properties?this.properties():{};return eo.default(en,"address."+Y)||eo.default(en,Y)||(et?eo.default(en,"address."+et):null)||(et?eo.default(en,et):null)||eo.default(ei,"address."+Y)||eo.default(ei,Y)||(et?eo.default(ei,"address."+et):null)||(et?eo.default(ei,et):null)}}function eu(Y){Y.zip=ea("postalCode","zip"),Y.country=ea("country"),Y.street=ea("street"),Y.state=ea("state"),Y.city=ea("city"),Y.region=ea("region")}et.default=eu},55431:function(Y,et,en){"use strict";var ei=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0}),et.Alias=void 0;var eo=ei(en(89118)),ea=en(91373);function eu(Y,et){ea.Facade.call(this,Y,et)}et.Alias=eu,eo.default(eu,ea.Facade),eu.prototype.action=function(){return"alias"},eu.prototype.type=eu.prototype.action,eu.prototype.previousId=function(){return this.field("previousId")||this.field("from")},eu.prototype.from=eu.prototype.previousId,eu.prototype.userId=function(){return this.field("userId")||this.field("to")},eu.prototype.to=eu.prototype.userId},65992:function(Y,et){"use strict";function en(Y){if("object"!=typeof Y)return Y;if("[object Object]"===Object.prototype.toString.call(Y)){var et={};for(var ei in Y)Object.prototype.hasOwnProperty.call(Y,ei)&&(et[ei]=en(Y[ei]));return et}return Array.isArray(Y)?Y.map(en):Y}Object.defineProperty(et,"__esModule",{value:!0}),et.clone=void 0,et.clone=en},67027:function(Y,et,en){"use strict";var ei=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0}),et.Delete=void 0;var eo=ei(en(89118)),ea=en(91373);function eu(Y,et){ea.Facade.call(this,Y,et)}et.Delete=eu,eo.default(eu,ea.Facade),eu.prototype.type=function(){return"delete"}},91373:function(Y,et,en){"use strict";var ei=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0}),et.Facade=void 0;var eo=ei(en(8476)),ea=en(65992),eu=ei(en(18545)),ec=ei(en(10653)),ed=ei(en(66435)),ef=ei(en(81372));function eh(Y,et){et=et||{},this.raw=ea.clone(Y),"clone"in et||(et.clone=!0),et.clone&&(Y=ea.clone(Y)),"traverse"in et||(et.traverse=!0),"timestamp"in Y?Y.timestamp=ec.default(Y.timestamp):Y.timestamp=new Date,et.traverse&&ef.default(Y),this.opts=et,this.obj=Y}et.Facade=eh;var ep=eh.prototype;function em(Y){return ea.clone(Y)}ep.proxy=function(Y){var et=Y.split("."),en=this[Y=et.shift()]||this.obj[Y];return en?("function"==typeof en&&(en=en.call(this)||{}),0===et.length||(en=ed.default(en,et.join("."))),this.opts.clone?em(en):en):en},ep.field=function(Y){var et=this.obj[Y];return this.opts.clone?em(et):et},eh.proxy=function(Y){return function(){return this.proxy(Y)}},eh.field=function(Y){return function(){return this.field(Y)}},eh.multi=function(Y){return function(){var et=this.proxy(Y+"s");if(Array.isArray(et))return et;var en=this.proxy(Y);return en&&(en=[this.opts.clone?ea.clone(en):en]),en||[]}},eh.one=function(Y){return function(){var et=this.proxy(Y);if(et)return et;var en=this.proxy(Y+"s");if(Array.isArray(en))return en[0]}},ep.json=function(){var Y=this.opts.clone?ea.clone(this.obj):this.obj;return this.type&&(Y.type=this.type()),Y},ep.rawEvent=function(){return this.raw},ep.options=function(Y){var et=this.obj.options||this.obj.context||{},en=this.opts.clone?ea.clone(et):et;if(!Y)return en;if(this.enabled(Y)){var ei=this.integrations(),eo=ei[Y]||ed.default(ei,Y);return"object"!=typeof eo&&(eo=ed.default(this.options(),Y)),"object"==typeof eo?eo:{}}},ep.context=ep.options,ep.enabled=function(Y){var et=this.proxy("options.providers.all");"boolean"!=typeof et&&(et=this.proxy("options.all")),"boolean"!=typeof et&&(et=this.proxy("integrations.all")),"boolean"!=typeof et&&(et=!0);var en=et&&eu.default(Y),ei=this.integrations();if(ei.providers&&ei.providers.hasOwnProperty(Y)&&(en=ei.providers[Y]),ei.hasOwnProperty(Y)){var eo=ei[Y];en="boolean"!=typeof eo||eo}return!!en},ep.integrations=function(){return this.obj.integrations||this.proxy("options.providers")||this.options()},ep.active=function(){var Y=this.proxy("options.active");return null==Y&&(Y=!0),Y},ep.anonymousId=function(){return this.field("anonymousId")||this.field("sessionId")},ep.sessionId=ep.anonymousId,ep.groupId=eh.proxy("options.groupId"),ep.traits=function(Y){var et=this.proxy("options.traits")||{},en=this.userId();for(var ei in Y=Y||{},en&&(et.id=en),Y)if(Object.prototype.hasOwnProperty.call(Y,ei)){var eo=null==this[ei]?this.proxy("options.traits."+ei):this[ei]();if(null==eo)continue;et[Y[ei]]=eo,delete et[ei]}return et},ep.library=function(){var Y=this.proxy("options.library");return Y?"string"==typeof Y?{name:Y,version:null}:Y:{name:"unknown",version:null}},ep.device=function(){var Y=this.proxy("context.device");("object"!=typeof Y||null===Y)&&(Y={});var et=this.library().name;return Y.type||(et.indexOf("ios")>-1&&(Y.type="ios"),et.indexOf("android")>-1&&(Y.type="android")),Y},ep.userAgent=eh.proxy("context.userAgent"),ep.timezone=eh.proxy("context.timezone"),ep.timestamp=eh.field("timestamp"),ep.channel=eh.field("channel"),ep.ip=eh.proxy("context.ip"),ep.userId=eh.field("userId"),eo.default(ep)},56072:function(Y,et,en){"use strict";var ei=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0}),et.Group=void 0;var eo=ei(en(89118)),ea=ei(en(15649)),eu=ei(en(10653)),ec=en(91373);function ed(Y,et){ec.Facade.call(this,Y,et)}et.Group=ed,eo.default(ed,ec.Facade);var ef=ed.prototype;ef.action=function(){return"group"},ef.type=ef.action,ef.groupId=ec.Facade.field("groupId"),ef.created=function(){var Y=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(Y)return eu.default(Y)},ef.email=function(){var Y=this.proxy("traits.email");if(Y)return Y;var et=this.groupId();if(ea.default(et))return et},ef.traits=function(Y){var et=this.properties(),en=this.groupId();for(var ei in Y=Y||{},en&&(et.id=en),Y)if(Object.prototype.hasOwnProperty.call(Y,ei)){var eo=null==this[ei]?this.proxy("traits."+ei):this[ei]();if(null==eo)continue;et[Y[ei]]=eo,delete et[ei]}return et},ef.name=ec.Facade.proxy("traits.name"),ef.industry=ec.Facade.proxy("traits.industry"),ef.employees=ec.Facade.proxy("traits.employees"),ef.properties=function(){return this.field("traits")||this.field("properties")||{}}},73281:function(Y,et,en){"use strict";var ei=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0}),et.Identify=void 0;var eo=en(91373),ea=ei(en(66435)),eu=ei(en(89118)),ec=ei(en(15649)),ed=ei(en(10653)),ef=function(Y){return Y.trim()};function eh(Y,et){eo.Facade.call(this,Y,et)}et.Identify=eh,eu.default(eh,eo.Facade);var ep=eh.prototype;ep.action=function(){return"identify"},ep.type=ep.action,ep.traits=function(Y){var et=this.field("traits")||{},en=this.userId();for(var ei in Y=Y||{},en&&(et.id=en),Y){var eo=null==this[ei]?this.proxy("traits."+ei):this[ei]();null!=eo&&(et[Y[ei]]=eo,ei!==Y[ei]&&delete et[ei])}return et},ep.email=function(){var Y=this.proxy("traits.email");if(Y)return Y;var et=this.userId();if(ec.default(et))return et},ep.created=function(){var Y=this.proxy("traits.created")||this.proxy("traits.createdAt");if(Y)return ed.default(Y)},ep.companyCreated=function(){var Y=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(Y)return ed.default(Y)},ep.companyName=function(){return this.proxy("traits.company.name")},ep.name=function(){var Y=this.proxy("traits.name");if("string"==typeof Y)return ef(Y);var et=this.firstName(),en=this.lastName();if(et&&en)return ef(et+" "+en)},ep.firstName=function(){var Y=this.proxy("traits.firstName");if("string"==typeof Y)return ef(Y);var et=this.proxy("traits.name");if("string"==typeof et)return ef(et).split(" ")[0]},ep.lastName=function(){var Y=this.proxy("traits.lastName");if("string"==typeof Y)return ef(Y);var et=this.proxy("traits.name");if("string"==typeof et){var en=ef(et).indexOf(" ");if(-1!==en)return ef(et.substr(en+1))}},ep.uid=function(){return this.userId()||this.username()||this.email()},ep.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")},ep.age=function(){var Y=this.birthday(),et=ea.default(this.traits(),"age");if(null!=et)return et;if(Y instanceof Date){var en=new Date;return en.getFullYear()-Y.getFullYear()}},ep.avatar=function(){var Y=this.traits();return ea.default(Y,"avatar")||ea.default(Y,"photoUrl")||ea.default(Y,"avatarUrl")},ep.position=function(){var Y=this.traits();return ea.default(Y,"position")||ea.default(Y,"jobTitle")},ep.username=eo.Facade.proxy("traits.username"),ep.website=eo.Facade.one("traits.website"),ep.websites=eo.Facade.multi("traits.website"),ep.phone=eo.Facade.one("traits.phone"),ep.phones=eo.Facade.multi("traits.phone"),ep.address=eo.Facade.proxy("traits.address"),ep.gender=eo.Facade.proxy("traits.gender"),ep.birthday=eo.Facade.proxy("traits.birthday")},69639:function(Y,et,en){"use strict";var ei=this&&this.__assign||function(){return(ei=Object.assign||function(Y){for(var et,en=1,ei=arguments.length;en<ei;en++)for(var eo in et=arguments[en])Object.prototype.hasOwnProperty.call(et,eo)&&(Y[eo]=et[eo]);return Y}).apply(this,arguments)};Object.defineProperty(et,"__esModule",{value:!0}),et.Delete=et.Screen=et.Page=et.Track=et.Identify=et.Group=et.Alias=et.Facade=void 0;var eo=en(91373);Object.defineProperty(et,"Facade",{enumerable:!0,get:function(){return eo.Facade}});var ea=en(55431);Object.defineProperty(et,"Alias",{enumerable:!0,get:function(){return ea.Alias}});var eu=en(56072);Object.defineProperty(et,"Group",{enumerable:!0,get:function(){return eu.Group}});var ec=en(73281);Object.defineProperty(et,"Identify",{enumerable:!0,get:function(){return ec.Identify}});var ed=en(53460);Object.defineProperty(et,"Track",{enumerable:!0,get:function(){return ed.Track}});var ef=en(90504);Object.defineProperty(et,"Page",{enumerable:!0,get:function(){return ef.Page}});var eh=en(4467);Object.defineProperty(et,"Screen",{enumerable:!0,get:function(){return eh.Screen}});var ep=en(67027);Object.defineProperty(et,"Delete",{enumerable:!0,get:function(){return ep.Delete}}),et.default=ei(ei({},eo.Facade),{Alias:ea.Alias,Group:eu.Group,Identify:ec.Identify,Track:ed.Track,Page:ef.Page,Screen:eh.Screen,Delete:ep.Delete})},15649:function(Y,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0});var en=/.+\@.+\..+/;function ei(Y){return en.test(Y)}et.default=ei},18545:function(Y,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0});var en={Salesforce:!0};function ei(Y){return!en[Y]}et.default=ei},90504:function(Y,et,en){"use strict";var ei=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0}),et.Page=void 0;var eo=ei(en(89118)),ea=en(91373),eu=en(53460),ec=ei(en(15649));function ed(Y,et){ea.Facade.call(this,Y,et)}et.Page=ed,eo.default(ed,ea.Facade);var ef=ed.prototype;ef.action=function(){return"page"},ef.type=ef.action,ef.category=ea.Facade.field("category"),ef.name=ea.Facade.field("name"),ef.title=ea.Facade.proxy("properties.title"),ef.path=ea.Facade.proxy("properties.path"),ef.url=ea.Facade.proxy("properties.url"),ef.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},ef.properties=function(Y){var et=this.field("properties")||{},en=this.category(),ei=this.name();for(var eo in Y=Y||{},en&&(et.category=en),ei&&(et.name=ei),Y)if(Object.prototype.hasOwnProperty.call(Y,eo)){var ea=null==this[eo]?this.proxy("properties."+eo):this[eo]();if(null==ea)continue;et[Y[eo]]=ea,eo!==Y[eo]&&delete et[eo]}return et},ef.email=function(){var Y=this.proxy("context.traits.email")||this.proxy("properties.email");if(Y)return Y;var et=this.userId();if(ec.default(et))return et},ef.fullName=function(){var Y=this.category(),et=this.name();return et&&Y?Y+" "+et:et},ef.event=function(Y){return Y?"Viewed "+Y+" Page":"Loaded a Page"},ef.track=function(Y){var et=this.json();return et.event=this.event(Y),et.timestamp=this.timestamp(),et.properties=this.properties(),new eu.Track(et,this.opts)}},4467:function(Y,et,en){"use strict";var ei=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0}),et.Screen=void 0;var eo=ei(en(89118)),ea=en(90504),eu=en(53460);function ec(Y,et){ea.Page.call(this,Y,et)}et.Screen=ec,eo.default(ec,ea.Page),ec.prototype.action=function(){return"screen"},ec.prototype.type=ec.prototype.action,ec.prototype.event=function(Y){return Y?"Viewed "+Y+" Screen":"Loaded a Screen"},ec.prototype.track=function(Y){var et=this.json();return et.event=this.event(Y),et.timestamp=this.timestamp(),et.properties=this.properties(),new eu.Track(et,this.opts)}},53460:function(Y,et,en){"use strict";var ei=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0}),et.Track=void 0;var eo=ei(en(89118)),ea=en(91373),eu=en(73281),ec=ei(en(15649)),ed=ei(en(66435));function ef(Y,et){ea.Facade.call(this,Y,et)}et.Track=ef,eo.default(ef,ea.Facade);var eh=ef.prototype;function ep(Y){if(Y&&("number"==typeof Y||"string"==typeof Y&&!isNaN(Y=parseFloat(Y=Y.replace(/\$/g,"")))))return Y}eh.action=function(){return"track"},eh.type=eh.action,eh.event=ea.Facade.field("event"),eh.value=ea.Facade.proxy("properties.value"),eh.category=ea.Facade.proxy("properties.category"),eh.id=ea.Facade.proxy("properties.id"),eh.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")},eh.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")},eh.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")},eh.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")},eh.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")},eh.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")},eh.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")},eh.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")},eh.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")},eh.sku=ea.Facade.proxy("properties.sku"),eh.tax=ea.Facade.proxy("properties.tax"),eh.name=ea.Facade.proxy("properties.name"),eh.price=ea.Facade.proxy("properties.price"),eh.total=ea.Facade.proxy("properties.total"),eh.repeat=ea.Facade.proxy("properties.repeat"),eh.coupon=ea.Facade.proxy("properties.coupon"),eh.shipping=ea.Facade.proxy("properties.shipping"),eh.discount=ea.Facade.proxy("properties.discount"),eh.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")},eh.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")},eh.description=ea.Facade.proxy("properties.description"),eh.plan=ea.Facade.proxy("properties.plan"),eh.subtotal=function(){var Y=ed.default(this.properties(),"subtotal"),et=this.total()||this.revenue();if(Y)return Y;if(!et)return 0;if(this.total()){var en=this.tax();en&&(et-=en),(en=this.shipping())&&(et-=en),(en=this.discount())&&(et+=en)}return et},eh.products=function(){var Y=this.properties(),et=ed.default(Y,"products");return Array.isArray(et)?et.filter(function(Y){return null!==Y}):[]},eh.quantity=function(){return(this.obj.properties||{}).quantity||1},eh.currency=function(){return(this.obj.properties||{}).currency||"USD"},eh.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},eh.query=ea.Facade.proxy("options.query"),eh.properties=function(Y){var et=this.field("properties")||{};for(var en in Y=Y||{})if(Object.prototype.hasOwnProperty.call(Y,en)){var ei=null==this[en]?this.proxy("properties."+en):this[en]();if(null==ei)continue;et[Y[en]]=ei,delete et[en]}return et},eh.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()},eh.email=function(){var Y=this.proxy("traits.email")||this.proxy("properties.email")||this.proxy("options.traits.email");if(Y)return Y;var et=this.userId();if(ec.default(et))return et},eh.revenue=function(){var Y=this.proxy("properties.revenue"),et=this.event(),en=/^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i;return!Y&&et&&et.match(en)&&(Y=this.proxy("properties.total")),ep(Y)},eh.cents=function(){var Y=this.revenue();return"number"!=typeof Y?this.value()||0:100*Y},eh.identify=function(){var Y=this.json();return Y.traits=this.traits(),new eu.Identify(Y,this.opts)}},81372:function(Y,et,en){"use strict";var ei=en(72282);function eo(Y,et){return(void 0===et&&(et=!0),Y&&"object"==typeof Y)?ea(Y,et):Array.isArray(Y)?eu(Y,et):ei.is(Y,et)?ei.parse(Y):Y}function ea(Y,et){return Object.keys(Y).forEach(function(en){Y[en]=eo(Y[en],et)}),Y}function eu(Y,et){return Y.forEach(function(en,ei){Y[ei]=eo(en,et)}),Y}Y.exports=eo},72282:function(Y,et){"use strict";var en=/^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;et.parse=function(Y){var et=[1,5,6,7,11,12],ei=en.exec(Y),eo=0;if(!ei)return new Date(Y);for(var ea,eu=0;ea=et[eu];eu++)ei[ea]=parseInt(ei[ea],10)||0;ei[2]=parseInt(ei[2],10)||1,ei[3]=parseInt(ei[3],10)||1,ei[2]--,ei[8]=ei[8]?(ei[8]+"00").substring(0,3):0," "===ei[4]?eo=new Date().getTimezoneOffset():"Z"!==ei[9]&&ei[10]&&(eo=60*ei[11]+ei[12],"+"===ei[10]&&(eo=0-eo));var ec=Date.UTC(ei[1],ei[2],ei[3],ei[5],ei[6]+eo,ei[7],ei[8]);return new Date(ec)},et.is=function(Y,et){return"string"==typeof Y&&(!et||!1!==/^\d{4}-\d{2}-\d{2}/.test(Y))&&en.test(Y)}},66546:function(Y,et,en){"use strict";en.d(et,{Ry:function(){return ep}});var ei=function(Y){return"undefined"==typeof document?null:(Array.isArray(Y)?Y[0]:Y).ownerDocument.body},eo=new WeakMap,ea=new WeakMap,eu={},ec=0,ed=function(Y){return Y&&(Y.host||ed(Y.parentNode))},ef=function(Y,et){return et.map(function(et){if(Y.contains(et))return et;var en=ed(et);return en&&Y.contains(en)?en:(console.error("aria-hidden",et,"in not contained inside",Y,". Doing nothing"),null)}).filter(function(Y){return!!Y})},eh=function(Y,et,en,ei){var ed=ef(et,Array.isArray(Y)?Y:[Y]);eu[en]||(eu[en]=new WeakMap);var eh=eu[en],ep=[],em=new Set,eg=new Set(ed),ey=function(Y){!Y||em.has(Y)||(em.add(Y),ey(Y.parentNode))};ed.forEach(ey);var eb=function(Y){!Y||eg.has(Y)||Array.prototype.forEach.call(Y.children,function(Y){if(em.has(Y))eb(Y);else{var et=Y.getAttribute(ei),eu=null!==et&&"false"!==et,ec=(eo.get(Y)||0)+1,ed=(eh.get(Y)||0)+1;eo.set(Y,ec),eh.set(Y,ed),ep.push(Y),1===ec&&eu&&ea.set(Y,!0),1===ed&&Y.setAttribute(en,"true"),eu||Y.setAttribute(ei,"true")}})};return eb(et),em.clear(),ec++,function(){ep.forEach(function(Y){var et=eo.get(Y)-1,eu=eh.get(Y)-1;eo.set(Y,et),eh.set(Y,eu),et||(ea.has(Y)||Y.removeAttribute(ei),ea.delete(Y)),eu||Y.removeAttribute(en)}),--ec||(eo=new WeakMap,eo=new WeakMap,ea=new WeakMap,eu={})}},ep=function(Y,et,en){void 0===en&&(en="data-aria-hidden");var eo=Array.from(Array.isArray(Y)?Y:[Y]),ea=et||ei(Y);return ea?(eo.push.apply(eo,Array.from(ea.querySelectorAll("[aria-live]"))),eh(eo,ea,en,"aria-hidden")):function(){return null}}},84829:function(Y,et,en){"use strict";var ei,eo,ea=en(44675);function eu(Y){return(eu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}function ec(Y,et){if(!(Y instanceof et))throw TypeError("Cannot call a class as a function")}var ed=en(18114).codes,ef=ed.ERR_AMBIGUOUS_ARGUMENT,eh=ed.ERR_INVALID_ARG_TYPE,ep=ed.ERR_INVALID_ARG_VALUE,em=ed.ERR_INVALID_RETURN_VALUE,eg=ed.ERR_MISSING_ARGS,ey=en(24924),eb=en(35210).inspect,ek=en(35210).types,ew=ek.isPromise,e_=ek.isRegExp,eE=Object.assign?Object.assign:en(37593).assign,eC=Object.is?Object.is:en(96959);function eT(){var Y=en(55375);ei=Y.isDeepEqual,eo=Y.isDeepStrictEqual}var eS=!1,eA=Y.exports=eI,eM={};function eP(Y){if(Y.message instanceof Error)throw Y.message;throw new ey(Y)}function ej(Y,et,en,ei,eo){var eu,ec=arguments.length;if(0===ec?eu="Failed":1===ec?(en=Y,Y=void 0):(!1===eS&&(eS=!0,(ea.emitWarning?ea.emitWarning:console.warn.bind(console))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")),2===ec&&(ei="!=")),en instanceof Error)throw en;var ed={actual:Y,expected:et,operator:void 0===ei?"fail":ei,stackStartFn:eo||ej};void 0!==en&&(ed.message=en);var ef=new ey(ed);throw eu&&(ef.message=eu,ef.generatedMessage=!0),ef}function eO(Y,et,en,ei){if(!en){var eo=!1;if(0===et)eo=!0,ei="No value argument passed to `assert.ok()`";else if(ei instanceof Error)throw ei;var ea=new ey({actual:en,expected:!0,message:ei,operator:"==",stackStartFn:Y});throw ea.generatedMessage=eo,ea}}function eI(){for(var Y=arguments.length,et=Array(Y),en=0;en<Y;en++)et[en]=arguments[en];eO.apply(void 0,[eI,et.length].concat(et))}function eN(Y,et,en){if(arguments.length<2)throw new eg("actual","expected");void 0===ei&&eT(),eo(Y,et)&&eP({actual:Y,expected:et,message:en,operator:"notDeepStrictEqual",stackStartFn:eN})}eA.fail=ej,eA.AssertionError=ey,eA.ok=eI,eA.equal=function Y(et,en,ei){if(arguments.length<2)throw new eg("actual","expected");et!=en&&eP({actual:et,expected:en,message:ei,operator:"==",stackStartFn:Y})},eA.notEqual=function Y(et,en,ei){if(arguments.length<2)throw new eg("actual","expected");et==en&&eP({actual:et,expected:en,message:ei,operator:"!=",stackStartFn:Y})},eA.deepEqual=function Y(et,en,eo){if(arguments.length<2)throw new eg("actual","expected");void 0===ei&&eT(),ei(et,en)||eP({actual:et,expected:en,message:eo,operator:"deepEqual",stackStartFn:Y})},eA.notDeepEqual=function Y(et,en,eo){if(arguments.length<2)throw new eg("actual","expected");void 0===ei&&eT(),ei(et,en)&&eP({actual:et,expected:en,message:eo,operator:"notDeepEqual",stackStartFn:Y})},eA.deepStrictEqual=function Y(et,en,ea){if(arguments.length<2)throw new eg("actual","expected");void 0===ei&&eT(),eo(et,en)||eP({actual:et,expected:en,message:ea,operator:"deepStrictEqual",stackStartFn:Y})},eA.notDeepStrictEqual=eN,eA.strictEqual=function Y(et,en,ei){if(arguments.length<2)throw new eg("actual","expected");eC(et,en)||eP({actual:et,expected:en,message:ei,operator:"strictEqual",stackStartFn:Y})},eA.notStrictEqual=function Y(et,en,ei){if(arguments.length<2)throw new eg("actual","expected");eC(et,en)&&eP({actual:et,expected:en,message:ei,operator:"notStrictEqual",stackStartFn:Y})};var eL=function Y(et,en,ei){var eo=this;ec(this,Y),en.forEach(function(Y){Y in et&&(void 0!==ei&&"string"==typeof ei[Y]&&e_(et[Y])&&et[Y].test(ei[Y])?eo[Y]=ei[Y]:eo[Y]=et[Y])})};function eR(Y,et,en,ei,ea,eu){if(!(en in Y)||!eo(Y[en],et[en])){if(!ei){var ec=new eL(Y,ea),ed=new eL(et,ea,Y),ef=new ey({actual:ec,expected:ed,operator:"deepStrictEqual",stackStartFn:eu});throw ef.actual=Y,ef.expected=et,ef.operator=eu.name,ef}eP({actual:Y,expected:et,message:ei,operator:eu.name,stackStartFn:eu})}}function eD(Y,et,en,eo){if("function"!=typeof et){if(e_(et))return et.test(Y);if(2==arguments.length)throw new eh("expected",["Function","RegExp"],et);if("object"!==eu(Y)||null===Y){var ea=new ey({actual:Y,expected:et,message:en,operator:"deepStrictEqual",stackStartFn:eo});throw ea.operator=eo.name,ea}var ec=Object.keys(et);if(et instanceof Error)ec.push("name","message");else if(0===ec.length)throw new ep("error",et,"may not be an empty object");return void 0===ei&&eT(),ec.forEach(function(ei){"string"==typeof Y[ei]&&e_(et[ei])&&et[ei].test(Y[ei])||eR(Y,et,ei,en,ec,eo)}),!0}return void 0!==et.prototype&&Y instanceof et||!Error.isPrototypeOf(et)&&!0===et.call({},Y)}function eF(Y){if("function"!=typeof Y)throw new eh("fn","Function",Y);try{Y()}catch(Y){return Y}return eM}function eB(Y){return ew(Y)||null!==Y&&"object"===eu(Y)&&"function"==typeof Y.then&&"function"==typeof Y.catch}function ez(Y){return Promise.resolve().then(function(){var et;if("function"==typeof Y){if(!eB(et=Y()))throw new em("instance of Promise","promiseFn",et)}else if(eB(Y))et=Y;else throw new eh("promiseFn",["Function","Promise"],Y);return Promise.resolve().then(function(){return et}).then(function(){return eM}).catch(function(Y){return Y})})}function eU(Y,et,en,ei){if("string"==typeof en){if(4==arguments.length)throw new eh("error",["Object","Error","Function","RegExp"],en);if("object"===eu(et)&&null!==et){if(et.message===en)throw new ef("error/message",'The error message "'.concat(et.message,'" is identical to the message.'))}else if(et===en)throw new ef("error/message",'The error "'.concat(et,'" is identical to the message.'));ei=en,en=void 0}else if(null!=en&&"object"!==eu(en)&&"function"!=typeof en)throw new eh("error",["Object","Error","Function","RegExp"],en);if(et===eM){var eo="";en&&en.name&&(eo+=" (".concat(en.name,")")),eo+=ei?": ".concat(ei):".";var ea="rejects"===Y.name?"rejection":"exception";eP({actual:void 0,expected:en,operator:Y.name,message:"Missing expected ".concat(ea).concat(eo),stackStartFn:Y})}if(en&&!eD(et,en,ei,Y))throw et}function eH(Y,et,en,ei){if(et!==eM){if("string"==typeof en&&(ei=en,en=void 0),!en||eD(et,en)){var eo=ei?": ".concat(ei):".",ea="doesNotReject"===Y.name?"rejection":"exception";eP({actual:et,expected:en,operator:Y.name,message:"Got unwanted ".concat(ea).concat(eo,"\n")+'Actual message: "'.concat(et&&et.message,'"'),stackStartFn:Y})}throw et}}function eG(){for(var Y=arguments.length,et=Array(Y),en=0;en<Y;en++)et[en]=arguments[en];eO.apply(void 0,[eG,et.length].concat(et))}eA.throws=function Y(et){for(var en=arguments.length,ei=Array(en>1?en-1:0),eo=1;eo<en;eo++)ei[eo-1]=arguments[eo];eU.apply(void 0,[Y,eF(et)].concat(ei))},eA.rejects=function Y(et){for(var en=arguments.length,ei=Array(en>1?en-1:0),eo=1;eo<en;eo++)ei[eo-1]=arguments[eo];return ez(et).then(function(et){return eU.apply(void 0,[Y,et].concat(ei))})},eA.doesNotThrow=function Y(et){for(var en=arguments.length,ei=Array(en>1?en-1:0),eo=1;eo<en;eo++)ei[eo-1]=arguments[eo];eH.apply(void 0,[Y,eF(et)].concat(ei))},eA.doesNotReject=function Y(et){for(var en=arguments.length,ei=Array(en>1?en-1:0),eo=1;eo<en;eo++)ei[eo-1]=arguments[eo];return ez(et).then(function(et){return eH.apply(void 0,[Y,et].concat(ei))})},eA.ifError=function Y(et){if(null!=et){var en="ifError got unwanted exception: ";"object"===eu(et)&&"string"==typeof et.message?0===et.message.length&&et.constructor?en+=et.constructor.name:en+=et.message:en+=eb(et);var ei=new ey({actual:et,expected:null,operator:"ifError",message:en,stackStartFn:Y}),eo=et.stack;if("string"==typeof eo){var ea=eo.split("\n");ea.shift();for(var ec=ei.stack.split("\n"),ed=0;ed<ea.length;ed++){var ef=ec.indexOf(ea[ed]);if(-1!==ef){ec=ec.slice(0,ef);break}}ei.stack="".concat(ec.join("\n"),"\n").concat(ea.join("\n"))}throw ei}},eA.strict=eE(eG,eA,{equal:eA.strictEqual,deepEqual:eA.deepStrictEqual,notEqual:eA.notStrictEqual,notDeepEqual:eA.notDeepStrictEqual}),eA.strict.strict=eA.strict},24924:function(Y,et,en){"use strict";var ei=en(44675);function eo(Y){for(var et=1;et<arguments.length;et++){var en=null!=arguments[et]?arguments[et]:{},ei=Object.keys(en);"function"==typeof Object.getOwnPropertySymbols&&(ei=ei.concat(Object.getOwnPropertySymbols(en).filter(function(Y){return Object.getOwnPropertyDescriptor(en,Y).enumerable}))),ei.forEach(function(et){ea(Y,et,en[et])})}return Y}function ea(Y,et,en){return et in Y?Object.defineProperty(Y,et,{value:en,enumerable:!0,configurable:!0,writable:!0}):Y[et]=en,Y}function eu(Y,et){if(!(Y instanceof et))throw TypeError("Cannot call a class as a function")}function ec(Y,et){for(var en=0;en<et.length;en++){var ei=et[en];ei.enumerable=ei.enumerable||!1,ei.configurable=!0,"value"in ei&&(ei.writable=!0),Object.defineProperty(Y,ei.key,ei)}}function ed(Y,et,en){return et&&ec(Y.prototype,et),en&&ec(Y,en),Y}function ef(Y,et){return et&&("object"===e_(et)||"function"==typeof et)?et:eh(Y)}function eh(Y){if(void 0===Y)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return Y}function ep(Y,et){if("function"!=typeof et&&null!==et)throw TypeError("Super expression must either be null or a function");Y.prototype=Object.create(et&&et.prototype,{constructor:{value:Y,writable:!0,configurable:!0}}),et&&ek(Y,et)}function em(Y){var et="function"==typeof Map?new Map:void 0;return(em=function(Y){if(null===Y||!eb(Y))return Y;if("function"!=typeof Y)throw TypeError("Super expression must either be null or a function");if(void 0!==et){if(et.has(Y))return et.get(Y);et.set(Y,en)}function en(){return ey(Y,arguments,ew(this).constructor)}return en.prototype=Object.create(Y.prototype,{constructor:{value:en,enumerable:!1,writable:!0,configurable:!0}}),ek(en,Y)})(Y)}function eg(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Y){return!1}}function ey(Y,et,en){return(ey=eg()?Reflect.construct:function(Y,et,en){var ei=[null];ei.push.apply(ei,et);var eo=new(Function.bind.apply(Y,ei));return en&&ek(eo,en.prototype),eo}).apply(null,arguments)}function eb(Y){return -1!==Function.toString.call(Y).indexOf("[native code]")}function ek(Y,et){return(ek=Object.setPrototypeOf||function(Y,et){return Y.__proto__=et,Y})(Y,et)}function ew(Y){return(ew=Object.setPrototypeOf?Object.getPrototypeOf:function(Y){return Y.__proto__||Object.getPrototypeOf(Y)})(Y)}function e_(Y){return(e_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}var eE=en(35210).inspect,eC=en(18114).codes.ERR_INVALID_ARG_TYPE;function eT(Y,et,en){return(void 0===en||en>Y.length)&&(en=Y.length),Y.substring(en-et.length,en)===et}function eS(Y,et){if(et=Math.floor(et),0==Y.length||0==et)return"";var en=Y.length*et;for(et=Math.floor(Math.log(et)/Math.log(2));et;)Y+=Y,et--;return Y+Y.substring(0,en-Y.length)}var eA="",eM="",eP="",ej="",eO={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},eI=10;function eN(Y){var et=Object.keys(Y),en=Object.create(Object.getPrototypeOf(Y));return et.forEach(function(et){en[et]=Y[et]}),Object.defineProperty(en,"message",{value:Y.message}),en}function eL(Y){return eE(Y,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function eR(Y,et,en){var eo="",ea="",eu=0,ec="",ed=!1,ef=eL(Y),eh=ef.split("\n"),ep=eL(et).split("\n"),em=0,eg="";if("strictEqual"===en&&"object"===e_(Y)&&"object"===e_(et)&&null!==Y&&null!==et&&(en="strictEqualObject"),1===eh.length&&1===ep.length&&eh[0]!==ep[0]){var ey=eh[0].length+ep[0].length;if(ey<=eI){if(("object"!==e_(Y)||null===Y)&&("object"!==e_(et)||null===et)&&(0!==Y||0!==et))return"".concat(eO[en],"\n\n")+"".concat(eh[0]," !== ").concat(ep[0],"\n")}else if("strictEqualObject"!==en&&ey<(ei.stderr&&ei.stderr.isTTY?ei.stderr.columns:80)){for(;eh[0][em]===ep[0][em];)em++;em>2&&(eg="\n ".concat(eS(" ",em),"^"),em=0)}}for(var eb=eh[eh.length-1],ek=ep[ep.length-1];eb===ek&&(em++<2?ec="\n ".concat(eb).concat(ec):eo=eb,eh.pop(),ep.pop(),0!==eh.length&&0!==ep.length);)eb=eh[eh.length-1],ek=ep[ep.length-1];var ew=Math.max(eh.length,ep.length);if(0===ew){var eE=ef.split("\n");if(eE.length>30)for(eE[26]="".concat(eA,"...").concat(ej);eE.length>27;)eE.pop();return"".concat(eO.notIdentical,"\n\n").concat(eE.join("\n"),"\n")}em>3&&(ec="\n".concat(eA,"...").concat(ej).concat(ec),ed=!0),""!==eo&&(ec="\n ".concat(eo).concat(ec),eo="");var eC=0,eN=eO[en]+"\n".concat(eM,"+ actual").concat(ej," ").concat(eP,"- expected").concat(ej),eR=" ".concat(eA,"...").concat(ej," Lines skipped");for(em=0;em<ew;em++){var eD=em-eu;if(eh.length<em+1)eD>1&&em>2&&(eD>4?(ea+="\n".concat(eA,"...").concat(ej),ed=!0):eD>3&&(ea+="\n ".concat(ep[em-2]),eC++),ea+="\n ".concat(ep[em-1]),eC++),eu=em,eo+="\n".concat(eP,"-").concat(ej," ").concat(ep[em]),eC++;else if(ep.length<em+1)eD>1&&em>2&&(eD>4?(ea+="\n".concat(eA,"...").concat(ej),ed=!0):eD>3&&(ea+="\n ".concat(eh[em-2]),eC++),ea+="\n ".concat(eh[em-1]),eC++),eu=em,ea+="\n".concat(eM,"+").concat(ej," ").concat(eh[em]),eC++;else{var eF=ep[em],eB=eh[em],ez=eB!==eF&&(!eT(eB,",")||eB.slice(0,-1)!==eF);ez&&eT(eF,",")&&eF.slice(0,-1)===eB&&(ez=!1,eB+=","),ez?(eD>1&&em>2&&(eD>4?(ea+="\n".concat(eA,"...").concat(ej),ed=!0):eD>3&&(ea+="\n ".concat(eh[em-2]),eC++),ea+="\n ".concat(eh[em-1]),eC++),eu=em,ea+="\n".concat(eM,"+").concat(ej," ").concat(eB),eo+="\n".concat(eP,"-").concat(ej," ").concat(eF),eC+=2):(ea+=eo,eo="",(1===eD||0===em)&&(ea+="\n ".concat(eB),eC++))}if(eC>20&&em<ew-2)return"".concat(eN).concat(eR,"\n").concat(ea,"\n").concat(eA,"...").concat(ej).concat(eo,"\n")+"".concat(eA,"...").concat(ej)}return"".concat(eN).concat(ed?eR:"","\n").concat(ea).concat(eo).concat(ec).concat(eg)}var eD=function(Y){function et(Y){if(eu(this,et),"object"!==e_(Y)||null===Y)throw new eC("options","Object",Y);var en,eo=Y.message,ea=Y.operator,ec=Y.stackStartFn,ed=Y.actual,ep=Y.expected,em=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=eo)en=ef(this,ew(et).call(this,String(eo)));else if(ei.stderr&&ei.stderr.isTTY&&(ei.stderr&&ei.stderr.getColorDepth&&1!==ei.stderr.getColorDepth()?(eA="\x1b[34m",eM="\x1b[32m",ej="\x1b[39m",eP="\x1b[31m"):(eA="",eM="",ej="",eP="")),"object"===e_(ed)&&null!==ed&&"object"===e_(ep)&&null!==ep&&"stack"in ed&&ed instanceof Error&&"stack"in ep&&ep instanceof Error&&(ed=eN(ed),ep=eN(ep)),"deepStrictEqual"===ea||"strictEqual"===ea)en=ef(this,ew(et).call(this,eR(ed,ep,ea)));else if("notDeepStrictEqual"===ea||"notStrictEqual"===ea){var eg=eO[ea],ey=eL(ed).split("\n");if("notStrictEqual"===ea&&"object"===e_(ed)&&null!==ed&&(eg=eO.notStrictEqualObject),ey.length>30)for(ey[26]="".concat(eA,"...").concat(ej);ey.length>27;)ey.pop();en=1===ey.length?ef(this,ew(et).call(this,"".concat(eg," ").concat(ey[0]))):ef(this,ew(et).call(this,"".concat(eg,"\n\n").concat(ey.join("\n"),"\n")))}else{var eb=eL(ed),ek="",eE=eO[ea];"notDeepEqual"===ea||"notEqual"===ea?(eb="".concat(eO[ea],"\n\n").concat(eb)).length>1024&&(eb="".concat(eb.slice(0,1021),"...")):(ek="".concat(eL(ep)),eb.length>512&&(eb="".concat(eb.slice(0,509),"...")),ek.length>512&&(ek="".concat(ek.slice(0,509),"...")),"deepEqual"===ea||"equal"===ea?eb="".concat(eE,"\n\n").concat(eb,"\n\nshould equal\n\n"):ek=" ".concat(ea," ").concat(ek)),en=ef(this,ew(et).call(this,"".concat(eb).concat(ek)))}return Error.stackTraceLimit=em,en.generatedMessage=!eo,Object.defineProperty(eh(en),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),en.code="ERR_ASSERTION",en.actual=ed,en.expected=ep,en.operator=ea,Error.captureStackTrace&&Error.captureStackTrace(eh(en),ec),en.stack,en.name="AssertionError",ef(en)}return ep(et,Y),ed(et,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:eE.custom,value:function(Y,et){return eE(this,eo({},et,{customInspect:!1,depth:0}))}}]),et}(em(Error));Y.exports=eD},18114:function(Y,et,en){"use strict";function ei(Y){return(ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}function eo(Y,et){if(!(Y instanceof et))throw TypeError("Cannot call a class as a function")}function ea(Y,et){return et&&("object"===ei(et)||"function"==typeof et)?et:eu(Y)}function eu(Y){if(void 0===Y)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return Y}function ec(Y){return(ec=Object.setPrototypeOf?Object.getPrototypeOf:function(Y){return Y.__proto__||Object.getPrototypeOf(Y)})(Y)}function ed(Y,et){if("function"!=typeof et&&null!==et)throw TypeError("Super expression must either be null or a function");Y.prototype=Object.create(et&&et.prototype,{constructor:{value:Y,writable:!0,configurable:!0}}),et&&ef(Y,et)}function ef(Y,et){return(ef=Object.setPrototypeOf||function(Y,et){return Y.__proto__=et,Y})(Y,et)}var eh,ep,em={};function eg(Y,et,en){function ei(Y,en,ei){return"string"==typeof et?et:et(Y,en,ei)}en||(en=Error);var eu=function(et){function en(et,eu,ed){var ef;return eo(this,en),(ef=ea(this,ec(en).call(this,ei(et,eu,ed)))).code=Y,ef}return ed(en,et),en}(en);em[Y]=eu}function ey(Y,et){if(!Array.isArray(Y))return"of ".concat(et," ").concat(String(Y));var en=Y.length;return(Y=Y.map(function(Y){return String(Y)}),en>2)?"one of ".concat(et," ").concat(Y.slice(0,en-1).join(", "),", or ")+Y[en-1]:2===en?"one of ".concat(et," ").concat(Y[0]," or ").concat(Y[1]):"of ".concat(et," ").concat(Y[0])}function eb(Y,et,en){return Y.substr(!en||en<0?0:+en,et.length)===et}function ek(Y,et,en){return(void 0===en||en>Y.length)&&(en=Y.length),Y.substring(en-et.length,en)===et}function ew(Y,et,en){return"number"!=typeof en&&(en=0),!(en+et.length>Y.length)&&-1!==Y.indexOf(et,en)}eg("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),eg("ERR_INVALID_ARG_TYPE",function(Y,et,eo){if(void 0===eh&&(eh=en(84829)),eh("string"==typeof Y,"'name' must be a string"),"string"==typeof et&&eb(et,"not ")?(ea="must not be",et=et.replace(/^not /,"")):ea="must be",ek(Y," argument"))eu="The ".concat(Y," ").concat(ea," ").concat(ey(et,"type"));else{var ea,eu,ec=ew(Y,".")?"property":"argument";eu='The "'.concat(Y,'" ').concat(ec," ").concat(ea," ").concat(ey(et,"type"))}return eu+". Received type ".concat(ei(eo))},TypeError),eg("ERR_INVALID_ARG_VALUE",function(Y,et){var ei=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===ep&&(ep=en(35210));var eo=ep.inspect(et);return eo.length>128&&(eo="".concat(eo.slice(0,128),"...")),"The argument '".concat(Y,"' ").concat(ei,". Received ").concat(eo)},TypeError,RangeError),eg("ERR_INVALID_RETURN_VALUE",function(Y,et,en){var eo;return eo=en&&en.constructor&&en.constructor.name?"instance of ".concat(en.constructor.name):"type ".concat(ei(en)),"Expected ".concat(Y,' to be returned from the "').concat(et,'"')+" function but got ".concat(eo,".")},TypeError),eg("ERR_MISSING_ARGS",function(){for(var Y=arguments.length,et=Array(Y),ei=0;ei<Y;ei++)et[ei]=arguments[ei];void 0===eh&&(eh=en(84829)),eh(et.length>0,"At least one arg needs to be specified");var eo="The ",ea=et.length;switch(et=et.map(function(Y){return'"'.concat(Y,'"')}),ea){case 1:eo+="".concat(et[0]," argument");break;case 2:eo+="".concat(et[0]," and ").concat(et[1]," arguments");break;default:eo+=et.slice(0,ea-1).join(", ")+", and ".concat(et[ea-1]," arguments")}return"".concat(eo," must be specified")},TypeError),Y.exports.codes=em},55375:function(Y,et,en){"use strict";function ei(Y,et){return eu(Y)||ea(Y,et)||eo()}function eo(){throw TypeError("Invalid attempt to destructure non-iterable instance")}function ea(Y,et){var en=[],ei=!0,eo=!1,ea=void 0;try{for(var eu,ec=Y[Symbol.iterator]();!(ei=(eu=ec.next()).done)&&(en.push(eu.value),!et||en.length!==et);ei=!0);}catch(Y){eo=!0,ea=Y}finally{try{ei||null==ec.return||ec.return()}finally{if(eo)throw ea}}return en}function eu(Y){if(Array.isArray(Y))return Y}function ec(Y){return(ec="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}var ed=void 0!==/a/g.flags,ef=function(Y){var et=[];return Y.forEach(function(Y){return et.push(Y)}),et},eh=function(Y){var et=[];return Y.forEach(function(Y,en){return et.push([en,Y])}),et},ep=Object.is?Object.is:en(96959),em=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},eg=Number.isNaN?Number.isNaN:en(74300);function ey(Y){return Y.call.bind(Y)}var eb=ey(Object.prototype.hasOwnProperty),ek=ey(Object.prototype.propertyIsEnumerable),ew=ey(Object.prototype.toString),e_=en(35210).types,eE=e_.isAnyArrayBuffer,eC=e_.isArrayBufferView,eT=e_.isDate,eS=e_.isMap,eA=e_.isRegExp,eM=e_.isSet,eP=e_.isNativeError,ej=e_.isBoxedPrimitive,eO=e_.isNumberObject,eI=e_.isStringObject,eN=e_.isBooleanObject,eL=e_.isBigIntObject,eR=e_.isSymbolObject,eD=e_.isFloat32Array,eF=e_.isFloat64Array;function eB(Y){if(0===Y.length||Y.length>10)return!0;for(var et=0;et<Y.length;et++){var en=Y.charCodeAt(et);if(en<48||en>57)return!0}return 10===Y.length&&Y>=4294967296}function ez(Y){return Object.keys(Y).filter(eB).concat(em(Y).filter(Object.prototype.propertyIsEnumerable.bind(Y)))}/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/function eU(Y,et){if(Y===et)return 0;for(var en=Y.length,ei=et.length,eo=0,ea=Math.min(en,ei);eo<ea;++eo)if(Y[eo]!==et[eo]){en=Y[eo],ei=et[eo];break}return en<ei?-1:ei<en?1:0}var eH=void 0,eG=!0,eV=!1,eW=0,eZ=1,eK=2,e$=3;function eY(Y,et){return ed?Y.source===et.source&&Y.flags===et.flags:RegExp.prototype.toString.call(Y)===RegExp.prototype.toString.call(et)}function eQ(Y,et){if(Y.byteLength!==et.byteLength)return!1;for(var en=0;en<Y.byteLength;en++)if(Y[en]!==et[en])return!1;return!0}function eX(Y,et){return Y.byteLength===et.byteLength&&0===eU(new Uint8Array(Y.buffer,Y.byteOffset,Y.byteLength),new Uint8Array(et.buffer,et.byteOffset,et.byteLength))}function eJ(Y,et){return Y.byteLength===et.byteLength&&0===eU(new Uint8Array(Y),new Uint8Array(et))}function e0(Y,et){return eO(Y)?eO(et)&&ep(Number.prototype.valueOf.call(Y),Number.prototype.valueOf.call(et)):eI(Y)?eI(et)&&String.prototype.valueOf.call(Y)===String.prototype.valueOf.call(et):eN(Y)?eN(et)&&Boolean.prototype.valueOf.call(Y)===Boolean.prototype.valueOf.call(et):eL(Y)?eL(et)&&BigInt.prototype.valueOf.call(Y)===BigInt.prototype.valueOf.call(et):eR(et)&&Symbol.prototype.valueOf.call(Y)===Symbol.prototype.valueOf.call(et)}function e9(Y,et,en,ei){if(Y===et)return 0!==Y||!en||ep(Y,et);if(en){if("object"!==ec(Y))return"number"==typeof Y&&eg(Y)&&eg(et);if("object"!==ec(et)||null===Y||null===et||Object.getPrototypeOf(Y)!==Object.getPrototypeOf(et))return!1}else{if(null===Y||"object"!==ec(Y))return(null===et||"object"!==ec(et))&&Y==et;if(null===et||"object"!==ec(et))return!1}var eo=ew(Y);if(eo!==ew(et))return!1;if(Array.isArray(Y)){if(Y.length!==et.length)return!1;var ea=ez(Y,eH),eu=ez(et,eH);return ea.length===eu.length&&e4(Y,et,en,ei,eZ,ea)}if("[object Object]"===eo&&(!eS(Y)&&eS(et)||!eM(Y)&&eM(et)))return!1;if(eT(Y)){if(!eT(et)||Date.prototype.getTime.call(Y)!==Date.prototype.getTime.call(et))return!1}else if(eA(Y)){if(!eA(et)||!eY(Y,et))return!1}else if(eP(Y)||Y instanceof Error){if(Y.message!==et.message||Y.name!==et.name)return!1}else if(eC(Y)){if(!en&&(eD(Y)||eF(Y))){if(!eQ(Y,et))return!1}else if(!eX(Y,et))return!1;var ed=ez(Y,eH),ef=ez(et,eH);return ed.length===ef.length&&e4(Y,et,en,ei,eW,ed)}else if(eM(Y))return!!eM(et)&&Y.size===et.size&&e4(Y,et,en,ei,eK);else if(eS(Y))return!!eS(et)&&Y.size===et.size&&e4(Y,et,en,ei,e$);else if(eE(Y)){if(!eJ(Y,et))return!1}else if(ej(Y)&&!e0(Y,et))return!1;return e4(Y,et,en,ei,eW)}function e5(Y,et){return et.filter(function(et){return ek(Y,et)})}function e4(Y,et,en,ei,eo,ea){if(5==arguments.length){ea=Object.keys(Y);var eu=Object.keys(et);if(ea.length!==eu.length)return!1}for(var ec=0;ec<ea.length;ec++)if(!eb(et,ea[ec]))return!1;if(en&&5==arguments.length){var ed=em(Y);if(0!==ed.length){var ef=0;for(ec=0;ec<ed.length;ec++){var eh=ed[ec];if(ek(Y,eh)){if(!ek(et,eh))return!1;ea.push(eh),ef++}else if(ek(et,eh))return!1}var ep=em(et);if(ed.length!==ep.length&&e5(et,ep).length!==ef)return!1}else{var eg=em(et);if(0!==eg.length&&0!==e5(et,eg).length)return!1}}if(0===ea.length&&(eo===eW||eo===eZ&&0===Y.length||0===Y.size))return!0;if(void 0===ei)ei={val1:new Map,val2:new Map,position:0};else{var ey=ei.val1.get(Y);if(void 0!==ey){var ew=ei.val2.get(et);if(void 0!==ew)return ey===ew}ei.position++}ei.val1.set(Y,ei.position),ei.val2.set(et,ei.position);var e_=tc(Y,et,en,ea,ei,eo);return ei.val1.delete(Y),ei.val2.delete(et),e_}function e3(Y,et,en,ei){for(var eo=ef(Y),ea=0;ea<eo.length;ea++){var eu=eo[ea];if(e9(et,eu,en,ei))return Y.delete(eu),!0}return!1}function e6(Y){switch(ec(Y)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":Y=+Y;case"number":if(eg(Y))return!1}return!0}function e7(Y,et,en){var ei=e6(en);return null!=ei?ei:et.has(ei)&&!Y.has(ei)}function e8(Y,et,en,ei,eo){var ea=e6(en);if(null!=ea)return ea;var eu=et.get(ea);return!!((void 0!==eu||et.has(ea))&&e9(ei,eu,!1,eo))&&!Y.has(ea)&&e9(ei,eu,!1,eo)}function tt(Y,et,en,ei){for(var eo=null,ea=ef(Y),eu=0;eu<ea.length;eu++){var ed=ea[eu];if("object"===ec(ed)&&null!==ed)null===eo&&(eo=new Set),eo.add(ed);else if(!et.has(ed)){if(en||!e7(Y,et,ed))return!1;null===eo&&(eo=new Set),eo.add(ed)}}if(null!==eo){for(var eh=ef(et),ep=0;ep<eh.length;ep++){var em=eh[ep];if("object"===ec(em)&&null!==em){if(!e3(eo,em,en,ei))return!1}else if(!en&&!Y.has(em)&&!e3(eo,em,en,ei))return!1}return 0===eo.size}return!0}function ta(Y,et,en,ei,eo,ea){for(var eu=ef(Y),ec=0;ec<eu.length;ec++){var ed=eu[ec];if(e9(en,ed,eo,ea)&&e9(ei,et.get(ed),eo,ea))return Y.delete(ed),!0}return!1}function tu(Y,et,en,eo){for(var ea=null,eu=eh(Y),ed=0;ed<eu.length;ed++){var ef=ei(eu[ed],2),ep=ef[0],em=ef[1];if("object"===ec(ep)&&null!==ep)null===ea&&(ea=new Set),ea.add(ep);else{var eg=et.get(ep);if(void 0===eg&&!et.has(ep)||!e9(em,eg,en,eo)){if(en||!e8(Y,et,ep,em,eo))return!1;null===ea&&(ea=new Set),ea.add(ep)}}}if(null!==ea){for(var ey=eh(et),eb=0;eb<ey.length;eb++){var ek=ei(ey[eb],2),ep=ek[0],ew=ek[1];if("object"===ec(ep)&&null!==ep){if(!ta(ea,Y,ep,ew,en,eo))return!1}else if(!en&&(!Y.has(ep)||!e9(Y.get(ep),ew,!1,eo))&&!ta(ea,Y,ep,ew,!1,eo))return!1}return 0===ea.size}return!0}function tc(Y,et,en,ei,eo,ea){var eu=0;if(ea===eK){if(!tt(Y,et,en,eo))return!1}else if(ea===e$){if(!tu(Y,et,en,eo))return!1}else if(ea===eZ)for(;eu<Y.length;eu++)if(eb(Y,eu)){if(!eb(et,eu)||!e9(Y[eu],et[eu],en,eo))return!1}else{if(eb(et,eu))return!1;for(var ec=Object.keys(Y);eu<ec.length;eu++){var ed=ec[eu];if(!eb(et,ed)||!e9(Y[ed],et[ed],en,eo))return!1}if(ec.length!==Object.keys(et).length)return!1;return!0}for(eu=0;eu<ei.length;eu++){var ef=ei[eu];if(!e9(Y[ef],et[ef],en,eo))return!1}return!0}function td(Y,et){return e9(Y,et,eV)}function tf(Y,et){return e9(Y,et,eG)}Y.exports={isDeepEqual:td,isDeepStrictEqual:tf}},97325:function(Y,et){"use strict";var en;en=!0,et.Z=function(Y,et){if(Y&&et){var en=Array.isArray(et)?et:et.split(","),ei=Y.name||"",eo=(Y.type||"").toLowerCase(),ea=eo.replace(/\/.*$/,"");return en.some(function(Y){var et=Y.trim().toLowerCase();return"."===et.charAt(0)?ei.toLowerCase().endsWith(et):et.endsWith("/*")?ea===et.replace(/\/.*$/,""):eo===et})}return!0}},50683:function(Y,et){"use strict";et.byteLength=ef,et.toByteArray=ep,et.fromByteArray=ey;for(var en=[],ei=[],eo="undefined"!=typeof Uint8Array?Uint8Array:Array,ea="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",eu=0,ec=ea.length;eu<ec;++eu)en[eu]=ea[eu],ei[ea.charCodeAt(eu)]=eu;function ed(Y){var et=Y.length;if(et%4>0)throw Error("Invalid string. Length must be a multiple of 4");var en=Y.indexOf("=");-1===en&&(en=et);var ei=en===et?0:4-en%4;return[en,ei]}function ef(Y){var et=ed(Y),en=et[0],ei=et[1];return(en+ei)*3/4-ei}function eh(Y,et,en){return(et+en)*3/4-en}function ep(Y){var et,en,ea=ed(Y),eu=ea[0],ec=ea[1],ef=new eo(eh(Y,eu,ec)),ep=0,em=ec>0?eu-4:eu;for(en=0;en<em;en+=4)et=ei[Y.charCodeAt(en)]<<18|ei[Y.charCodeAt(en+1)]<<12|ei[Y.charCodeAt(en+2)]<<6|ei[Y.charCodeAt(en+3)],ef[ep++]=et>>16&255,ef[ep++]=et>>8&255,ef[ep++]=255&et;return 2===ec&&(et=ei[Y.charCodeAt(en)]<<2|ei[Y.charCodeAt(en+1)]>>4,ef[ep++]=255&et),1===ec&&(et=ei[Y.charCodeAt(en)]<<10|ei[Y.charCodeAt(en+1)]<<4|ei[Y.charCodeAt(en+2)]>>2,ef[ep++]=et>>8&255,ef[ep++]=255&et),ef}function em(Y){return en[Y>>18&63]+en[Y>>12&63]+en[Y>>6&63]+en[63&Y]}function eg(Y,et,en){for(var ei=[],eo=et;eo<en;eo+=3)ei.push(em((Y[eo]<<16&16711680)+(Y[eo+1]<<8&65280)+(255&Y[eo+2])));return ei.join("")}function ey(Y){for(var et,ei=Y.length,eo=ei%3,ea=[],eu=16383,ec=0,ed=ei-eo;ec<ed;ec+=eu)ea.push(eg(Y,ec,ec+eu>ed?ed:ec+eu));return 1===eo?ea.push(en[(et=Y[ei-1])>>2]+en[et<<4&63]+"=="):2===eo&&ea.push(en[(et=(Y[ei-2]<<8)+Y[ei-1])>>10]+en[et>>4&63]+en[et<<2&63]+"="),ea.join("")}ei["-".charCodeAt(0)]=62,ei["_".charCodeAt(0)]=63},14984:function(Y,et,en){"use strict";var ei;/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/let eo=en(50683),ea=en(32093),eu="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;et.lW=eh,ei=eT,et.h2=50;let ec=2147483647;function ed(){try{let Y=new Uint8Array(1),et={foo:function(){return 42}};return Object.setPrototypeOf(et,Uint8Array.prototype),Object.setPrototypeOf(Y,et),42===Y.foo()}catch(Y){return!1}}function ef(Y){if(Y>ec)throw RangeError('The value "'+Y+'" is invalid for option "size"');let et=new Uint8Array(Y);return Object.setPrototypeOf(et,eh.prototype),et}function eh(Y,et,en){if("number"==typeof Y){if("string"==typeof et)throw TypeError('The "string" argument must be of type string. Received type number');return ey(Y)}return ep(Y,et,en)}function ep(Y,et,en){if("string"==typeof Y)return eb(Y,et);if(ArrayBuffer.isView(Y))return ew(Y);if(null==Y)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Y);if(tf(Y,ArrayBuffer)||Y&&tf(Y.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(tf(Y,SharedArrayBuffer)||Y&&tf(Y.buffer,SharedArrayBuffer)))return e_(Y,et,en);if("number"==typeof Y)throw TypeError('The "value" argument must not be of type number. Received type number');let ei=Y.valueOf&&Y.valueOf();if(null!=ei&&ei!==Y)return eh.from(ei,et,en);let eo=eE(Y);if(eo)return eo;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof Y[Symbol.toPrimitive])return eh.from(Y[Symbol.toPrimitive]("string"),et,en);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Y)}function em(Y){if("number"!=typeof Y)throw TypeError('"size" argument must be of type number');if(Y<0)throw RangeError('The value "'+Y+'" is invalid for option "size"')}function eg(Y,et,en){return(em(Y),Y<=0)?ef(Y):void 0!==et?"string"==typeof en?ef(Y).fill(et,en):ef(Y).fill(et):ef(Y)}function ey(Y){return em(Y),ef(Y<0?0:0|eC(Y))}function eb(Y,et){if(("string"!=typeof et||""===et)&&(et="utf8"),!eh.isEncoding(et))throw TypeError("Unknown encoding: "+et);let en=0|eS(Y,et),ei=ef(en),eo=ei.write(Y,et);return eo!==en&&(ei=ei.slice(0,eo)),ei}function ek(Y){let et=Y.length<0?0:0|eC(Y.length),en=ef(et);for(let ei=0;ei<et;ei+=1)en[ei]=255&Y[ei];return en}function ew(Y){if(tf(Y,Uint8Array)){let et=new Uint8Array(Y);return e_(et.buffer,et.byteOffset,et.byteLength)}return ek(Y)}function e_(Y,et,en){let ei;if(et<0||Y.byteLength<et)throw RangeError('"offset" is outside of buffer bounds');if(Y.byteLength<et+(en||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(ei=void 0===et&&void 0===en?new Uint8Array(Y):void 0===en?new Uint8Array(Y,et):new Uint8Array(Y,et,en),eh.prototype),ei}function eE(Y){if(eh.isBuffer(Y)){let et=0|eC(Y.length),en=ef(et);return 0===en.length||Y.copy(en,0,0,et),en}return void 0!==Y.length?"number"!=typeof Y.length||th(Y.length)?ef(0):ek(Y):"Buffer"===Y.type&&Array.isArray(Y.data)?ek(Y.data):void 0}function eC(Y){if(Y>=ec)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ec.toString(16)+" bytes");return 0|Y}function eT(Y){return+Y!=Y&&(Y=0),eh.alloc(+Y)}function eS(Y,et){if(eh.isBuffer(Y))return Y.length;if(ArrayBuffer.isView(Y)||tf(Y,ArrayBuffer))return Y.byteLength;if("string"!=typeof Y)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Y);let en=Y.length,ei=arguments.length>2&&!0===arguments[2];if(!ei&&0===en)return 0;let eo=!1;for(;;)switch(et){case"ascii":case"latin1":case"binary":return en;case"utf8":case"utf-8":return tt(Y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*en;case"hex":return en>>>1;case"base64":return tc(Y).length;default:if(eo)return ei?-1:tt(Y).length;et=(""+et).toLowerCase(),eo=!0}}function eA(Y,et,en){let ei=!1;if((void 0===et||et<0)&&(et=0),et>this.length||((void 0===en||en>this.length)&&(en=this.length),en<=0||(en>>>=0)<=(et>>>=0)))return"";for(Y||(Y="utf8");;)switch(Y){case"hex":return eG(this,et,en);case"utf8":case"utf-8":return eF(this,et,en);case"ascii":return eU(this,et,en);case"latin1":case"binary":return eH(this,et,en);case"base64":return eD(this,et,en);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return eV(this,et,en);default:if(ei)throw TypeError("Unknown encoding: "+Y);Y=(Y+"").toLowerCase(),ei=!0}}function eM(Y,et,en){let ei=Y[et];Y[et]=Y[en],Y[en]=ei}function eP(Y,et,en,ei,eo){if(0===Y.length)return -1;if("string"==typeof en?(ei=en,en=0):en>2147483647?en=2147483647:en<-2147483648&&(en=-2147483648),th(en=+en)&&(en=eo?0:Y.length-1),en<0&&(en=Y.length+en),en>=Y.length){if(eo)return -1;en=Y.length-1}else if(en<0){if(!eo)return -1;en=0}if("string"==typeof et&&(et=eh.from(et,ei)),eh.isBuffer(et))return 0===et.length?-1:ej(Y,et,en,ei,eo);if("number"==typeof et)return(et&=255,"function"==typeof Uint8Array.prototype.indexOf)?eo?Uint8Array.prototype.indexOf.call(Y,et,en):Uint8Array.prototype.lastIndexOf.call(Y,et,en):ej(Y,[et],en,ei,eo);throw TypeError("val must be string, number or Buffer")}function ej(Y,et,en,ei,eo){let ea,eu=1,ec=Y.length,ed=et.length;if(void 0!==ei&&("ucs2"===(ei=String(ei).toLowerCase())||"ucs-2"===ei||"utf16le"===ei||"utf-16le"===ei)){if(Y.length<2||et.length<2)return -1;eu=2,ec/=2,ed/=2,en/=2}function ef(Y,et){return 1===eu?Y[et]:Y.readUInt16BE(et*eu)}if(eo){let ei=-1;for(ea=en;ea<ec;ea++)if(ef(Y,ea)===ef(et,-1===ei?0:ea-ei)){if(-1===ei&&(ei=ea),ea-ei+1===ed)return ei*eu}else -1!==ei&&(ea-=ea-ei),ei=-1}else for(en+ed>ec&&(en=ec-ed),ea=en;ea>=0;ea--){let en=!0;for(let ei=0;ei<ed;ei++)if(ef(Y,ea+ei)!==ef(et,ei)){en=!1;break}if(en)return ea}return -1}function eO(Y,et,en,ei){let eo;en=Number(en)||0;let ea=Y.length-en;ei?(ei=Number(ei))>ea&&(ei=ea):ei=ea;let eu=et.length;for(ei>eu/2&&(ei=eu/2),eo=0;eo<ei;++eo){let ei=parseInt(et.substr(2*eo,2),16);if(th(ei))break;Y[en+eo]=ei}return eo}function eI(Y,et,en,ei){return td(tt(et,Y.length-en),Y,en,ei)}function eN(Y,et,en,ei){return td(ta(et),Y,en,ei)}function eL(Y,et,en,ei){return td(tc(et),Y,en,ei)}function eR(Y,et,en,ei){return td(tu(et,Y.length-en),Y,en,ei)}function eD(Y,et,en){return 0===et&&en===Y.length?eo.fromByteArray(Y):eo.fromByteArray(Y.slice(et,en))}function eF(Y,et,en){en=Math.min(Y.length,en);let ei=[],eo=et;for(;eo<en;){let et=Y[eo],ea=null,eu=et>239?4:et>223?3:et>191?2:1;if(eo+eu<=en){let en,ei,ec,ed;switch(eu){case 1:et<128&&(ea=et);break;case 2:(192&(en=Y[eo+1]))==128&&(ed=(31&et)<<6|63&en)>127&&(ea=ed);break;case 3:en=Y[eo+1],ei=Y[eo+2],(192&en)==128&&(192&ei)==128&&(ed=(15&et)<<12|(63&en)<<6|63&ei)>2047&&(ed<55296||ed>57343)&&(ea=ed);break;case 4:en=Y[eo+1],ei=Y[eo+2],ec=Y[eo+3],(192&en)==128&&(192&ei)==128&&(192&ec)==128&&(ed=(15&et)<<18|(63&en)<<12|(63&ei)<<6|63&ec)>65535&&ed<1114112&&(ea=ed)}}null===ea?(ea=65533,eu=1):ea>65535&&(ea-=65536,ei.push(ea>>>10&1023|55296),ea=56320|1023&ea),ei.push(ea),eo+=eu}return ez(ei)}ei=ec,eh.TYPED_ARRAY_SUPPORT=ed(),eh.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(eh.prototype,"parent",{enumerable:!0,get:function(){if(eh.isBuffer(this))return this.buffer}}),Object.defineProperty(eh.prototype,"offset",{enumerable:!0,get:function(){if(eh.isBuffer(this))return this.byteOffset}}),eh.poolSize=8192,eh.from=function(Y,et,en){return ep(Y,et,en)},Object.setPrototypeOf(eh.prototype,Uint8Array.prototype),Object.setPrototypeOf(eh,Uint8Array),eh.alloc=function(Y,et,en){return eg(Y,et,en)},eh.allocUnsafe=function(Y){return ey(Y)},eh.allocUnsafeSlow=function(Y){return ey(Y)},eh.isBuffer=function(Y){return null!=Y&&!0===Y._isBuffer&&Y!==eh.prototype},eh.compare=function(Y,et){if(tf(Y,Uint8Array)&&(Y=eh.from(Y,Y.offset,Y.byteLength)),tf(et,Uint8Array)&&(et=eh.from(et,et.offset,et.byteLength)),!eh.isBuffer(Y)||!eh.isBuffer(et))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Y===et)return 0;let en=Y.length,ei=et.length;for(let eo=0,ea=Math.min(en,ei);eo<ea;++eo)if(Y[eo]!==et[eo]){en=Y[eo],ei=et[eo];break}return en<ei?-1:ei<en?1:0},eh.isEncoding=function(Y){switch(String(Y).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},eh.concat=function(Y,et){let en;if(!Array.isArray(Y))throw TypeError('"list" argument must be an Array of Buffers');if(0===Y.length)return eh.alloc(0);if(void 0===et)for(en=0,et=0;en<Y.length;++en)et+=Y[en].length;let ei=eh.allocUnsafe(et),eo=0;for(en=0;en<Y.length;++en){let et=Y[en];if(tf(et,Uint8Array))eo+et.length>ei.length?(eh.isBuffer(et)||(et=eh.from(et)),et.copy(ei,eo)):Uint8Array.prototype.set.call(ei,et,eo);else if(eh.isBuffer(et))et.copy(ei,eo);else throw TypeError('"list" argument must be an Array of Buffers');eo+=et.length}return ei},eh.byteLength=eS,eh.prototype._isBuffer=!0,eh.prototype.swap16=function(){let Y=this.length;if(Y%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let et=0;et<Y;et+=2)eM(this,et,et+1);return this},eh.prototype.swap32=function(){let Y=this.length;if(Y%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let et=0;et<Y;et+=4)eM(this,et,et+3),eM(this,et+1,et+2);return this},eh.prototype.swap64=function(){let Y=this.length;if(Y%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let et=0;et<Y;et+=8)eM(this,et,et+7),eM(this,et+1,et+6),eM(this,et+2,et+5),eM(this,et+3,et+4);return this},eh.prototype.toString=function(){let Y=this.length;return 0===Y?"":0==arguments.length?eF(this,0,Y):eA.apply(this,arguments)},eh.prototype.toLocaleString=eh.prototype.toString,eh.prototype.equals=function(Y){if(!eh.isBuffer(Y))throw TypeError("Argument must be a Buffer");return this===Y||0===eh.compare(this,Y)},eh.prototype.inspect=function(){let Y="",en=et.h2;return Y=this.toString("hex",0,en).replace(/(.{2})/g,"$1 ").trim(),this.length>en&&(Y+=" ... "),"<Buffer "+Y+">"},eu&&(eh.prototype[eu]=eh.prototype.inspect),eh.prototype.compare=function(Y,et,en,ei,eo){if(tf(Y,Uint8Array)&&(Y=eh.from(Y,Y.offset,Y.byteLength)),!eh.isBuffer(Y))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Y);if(void 0===et&&(et=0),void 0===en&&(en=Y?Y.length:0),void 0===ei&&(ei=0),void 0===eo&&(eo=this.length),et<0||en>Y.length||ei<0||eo>this.length)throw RangeError("out of range index");if(ei>=eo&&et>=en)return 0;if(ei>=eo)return -1;if(et>=en)return 1;if(et>>>=0,en>>>=0,ei>>>=0,eo>>>=0,this===Y)return 0;let ea=eo-ei,eu=en-et,ec=Math.min(ea,eu),ed=this.slice(ei,eo),ef=Y.slice(et,en);for(let Y=0;Y<ec;++Y)if(ed[Y]!==ef[Y]){ea=ed[Y],eu=ef[Y];break}return ea<eu?-1:eu<ea?1:0},eh.prototype.includes=function(Y,et,en){return -1!==this.indexOf(Y,et,en)},eh.prototype.indexOf=function(Y,et,en){return eP(this,Y,et,en,!0)},eh.prototype.lastIndexOf=function(Y,et,en){return eP(this,Y,et,en,!1)},eh.prototype.write=function(Y,et,en,ei){if(void 0===et)ei="utf8",en=this.length,et=0;else if(void 0===en&&"string"==typeof et)ei=et,en=this.length,et=0;else if(isFinite(et))et>>>=0,isFinite(en)?(en>>>=0,void 0===ei&&(ei="utf8")):(ei=en,en=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let eo=this.length-et;if((void 0===en||en>eo)&&(en=eo),Y.length>0&&(en<0||et<0)||et>this.length)throw RangeError("Attempt to write outside buffer bounds");ei||(ei="utf8");let ea=!1;for(;;)switch(ei){case"hex":return eO(this,Y,et,en);case"utf8":case"utf-8":return eI(this,Y,et,en);case"ascii":case"latin1":case"binary":return eN(this,Y,et,en);case"base64":return eL(this,Y,et,en);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return eR(this,Y,et,en);default:if(ea)throw TypeError("Unknown encoding: "+ei);ei=(""+ei).toLowerCase(),ea=!0}},eh.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};let eB=4096;function ez(Y){let et=Y.length;if(et<=eB)return String.fromCharCode.apply(String,Y);let en="",ei=0;for(;ei<et;)en+=String.fromCharCode.apply(String,Y.slice(ei,ei+=eB));return en}function eU(Y,et,en){let ei="";en=Math.min(Y.length,en);for(let eo=et;eo<en;++eo)ei+=String.fromCharCode(127&Y[eo]);return ei}function eH(Y,et,en){let ei="";en=Math.min(Y.length,en);for(let eo=et;eo<en;++eo)ei+=String.fromCharCode(Y[eo]);return ei}function eG(Y,et,en){let ei=Y.length;(!et||et<0)&&(et=0),(!en||en<0||en>ei)&&(en=ei);let eo="";for(let ei=et;ei<en;++ei)eo+=tp[Y[ei]];return eo}function eV(Y,et,en){let ei=Y.slice(et,en),eo="";for(let Y=0;Y<ei.length-1;Y+=2)eo+=String.fromCharCode(ei[Y]+256*ei[Y+1]);return eo}function eW(Y,et,en){if(Y%1!=0||Y<0)throw RangeError("offset is not uint");if(Y+et>en)throw RangeError("Trying to access beyond buffer length")}function eZ(Y,et,en,ei,eo,ea){if(!eh.isBuffer(Y))throw TypeError('"buffer" argument must be a Buffer instance');if(et>eo||et<ea)throw RangeError('"value" argument is out of bounds');if(en+ei>Y.length)throw RangeError("Index out of range")}function eK(Y,et,en,ei,eo){e4(et,ei,eo,Y,en,7);let ea=Number(et&BigInt(4294967295));Y[en++]=ea,ea>>=8,Y[en++]=ea,ea>>=8,Y[en++]=ea,ea>>=8,Y[en++]=ea;let eu=Number(et>>BigInt(32)&BigInt(4294967295));return Y[en++]=eu,eu>>=8,Y[en++]=eu,eu>>=8,Y[en++]=eu,eu>>=8,Y[en++]=eu,en}function e$(Y,et,en,ei,eo){e4(et,ei,eo,Y,en,7);let ea=Number(et&BigInt(4294967295));Y[en+7]=ea,ea>>=8,Y[en+6]=ea,ea>>=8,Y[en+5]=ea,ea>>=8,Y[en+4]=ea;let eu=Number(et>>BigInt(32)&BigInt(4294967295));return Y[en+3]=eu,eu>>=8,Y[en+2]=eu,eu>>=8,Y[en+1]=eu,eu>>=8,Y[en]=eu,en+8}function eY(Y,et,en,ei,eo,ea){if(en+ei>Y.length||en<0)throw RangeError("Index out of range")}function eQ(Y,et,en,ei,eo){return et=+et,en>>>=0,eo||eY(Y,et,en,4,34028234663852886e22,-34028234663852886e22),ea.write(Y,et,en,ei,23,4),en+4}function eX(Y,et,en,ei,eo){return et=+et,en>>>=0,eo||eY(Y,et,en,8,17976931348623157e292,-17976931348623157e292),ea.write(Y,et,en,ei,52,8),en+8}eh.prototype.slice=function(Y,et){let en=this.length;Y=~~Y,et=void 0===et?en:~~et,Y<0?(Y+=en)<0&&(Y=0):Y>en&&(Y=en),et<0?(et+=en)<0&&(et=0):et>en&&(et=en),et<Y&&(et=Y);let ei=this.subarray(Y,et);return Object.setPrototypeOf(ei,eh.prototype),ei},eh.prototype.readUintLE=eh.prototype.readUIntLE=function(Y,et,en){Y>>>=0,et>>>=0,en||eW(Y,et,this.length);let ei=this[Y],eo=1,ea=0;for(;++ea<et&&(eo*=256);)ei+=this[Y+ea]*eo;return ei},eh.prototype.readUintBE=eh.prototype.readUIntBE=function(Y,et,en){Y>>>=0,et>>>=0,en||eW(Y,et,this.length);let ei=this[Y+--et],eo=1;for(;et>0&&(eo*=256);)ei+=this[Y+--et]*eo;return ei},eh.prototype.readUint8=eh.prototype.readUInt8=function(Y,et){return Y>>>=0,et||eW(Y,1,this.length),this[Y]},eh.prototype.readUint16LE=eh.prototype.readUInt16LE=function(Y,et){return Y>>>=0,et||eW(Y,2,this.length),this[Y]|this[Y+1]<<8},eh.prototype.readUint16BE=eh.prototype.readUInt16BE=function(Y,et){return Y>>>=0,et||eW(Y,2,this.length),this[Y]<<8|this[Y+1]},eh.prototype.readUint32LE=eh.prototype.readUInt32LE=function(Y,et){return Y>>>=0,et||eW(Y,4,this.length),(this[Y]|this[Y+1]<<8|this[Y+2]<<16)+16777216*this[Y+3]},eh.prototype.readUint32BE=eh.prototype.readUInt32BE=function(Y,et){return Y>>>=0,et||eW(Y,4,this.length),16777216*this[Y]+(this[Y+1]<<16|this[Y+2]<<8|this[Y+3])},eh.prototype.readBigUInt64LE=tm(function(Y){e3(Y>>>=0,"offset");let et=this[Y],en=this[Y+7];(void 0===et||void 0===en)&&e6(Y,this.length-8);let ei=et+256*this[++Y]+65536*this[++Y]+16777216*this[++Y],eo=this[++Y]+256*this[++Y]+65536*this[++Y]+16777216*en;return BigInt(ei)+(BigInt(eo)<<BigInt(32))}),eh.prototype.readBigUInt64BE=tm(function(Y){e3(Y>>>=0,"offset");let et=this[Y],en=this[Y+7];(void 0===et||void 0===en)&&e6(Y,this.length-8);let ei=16777216*et+65536*this[++Y]+256*this[++Y]+this[++Y],eo=16777216*this[++Y]+65536*this[++Y]+256*this[++Y]+en;return(BigInt(ei)<<BigInt(32))+BigInt(eo)}),eh.prototype.readIntLE=function(Y,et,en){Y>>>=0,et>>>=0,en||eW(Y,et,this.length);let ei=this[Y],eo=1,ea=0;for(;++ea<et&&(eo*=256);)ei+=this[Y+ea]*eo;return ei>=(eo*=128)&&(ei-=Math.pow(2,8*et)),ei},eh.prototype.readIntBE=function(Y,et,en){Y>>>=0,et>>>=0,en||eW(Y,et,this.length);let ei=et,eo=1,ea=this[Y+--ei];for(;ei>0&&(eo*=256);)ea+=this[Y+--ei]*eo;return ea>=(eo*=128)&&(ea-=Math.pow(2,8*et)),ea},eh.prototype.readInt8=function(Y,et){return(Y>>>=0,et||eW(Y,1,this.length),128&this[Y])?-((255-this[Y]+1)*1):this[Y]},eh.prototype.readInt16LE=function(Y,et){Y>>>=0,et||eW(Y,2,this.length);let en=this[Y]|this[Y+1]<<8;return 32768&en?4294901760|en:en},eh.prototype.readInt16BE=function(Y,et){Y>>>=0,et||eW(Y,2,this.length);let en=this[Y+1]|this[Y]<<8;return 32768&en?4294901760|en:en},eh.prototype.readInt32LE=function(Y,et){return Y>>>=0,et||eW(Y,4,this.length),this[Y]|this[Y+1]<<8|this[Y+2]<<16|this[Y+3]<<24},eh.prototype.readInt32BE=function(Y,et){return Y>>>=0,et||eW(Y,4,this.length),this[Y]<<24|this[Y+1]<<16|this[Y+2]<<8|this[Y+3]},eh.prototype.readBigInt64LE=tm(function(Y){e3(Y>>>=0,"offset");let et=this[Y],en=this[Y+7];(void 0===et||void 0===en)&&e6(Y,this.length-8);let ei=this[Y+4]+256*this[Y+5]+65536*this[Y+6]+(en<<24);return(BigInt(ei)<<BigInt(32))+BigInt(et+256*this[++Y]+65536*this[++Y]+16777216*this[++Y])}),eh.prototype.readBigInt64BE=tm(function(Y){e3(Y>>>=0,"offset");let et=this[Y],en=this[Y+7];(void 0===et||void 0===en)&&e6(Y,this.length-8);let ei=(et<<24)+65536*this[++Y]+256*this[++Y]+this[++Y];return(BigInt(ei)<<BigInt(32))+BigInt(16777216*this[++Y]+65536*this[++Y]+256*this[++Y]+en)}),eh.prototype.readFloatLE=function(Y,et){return Y>>>=0,et||eW(Y,4,this.length),ea.read(this,Y,!0,23,4)},eh.prototype.readFloatBE=function(Y,et){return Y>>>=0,et||eW(Y,4,this.length),ea.read(this,Y,!1,23,4)},eh.prototype.readDoubleLE=function(Y,et){return Y>>>=0,et||eW(Y,8,this.length),ea.read(this,Y,!0,52,8)},eh.prototype.readDoubleBE=function(Y,et){return Y>>>=0,et||eW(Y,8,this.length),ea.read(this,Y,!1,52,8)},eh.prototype.writeUintLE=eh.prototype.writeUIntLE=function(Y,et,en,ei){if(Y=+Y,et>>>=0,en>>>=0,!ei){let ei=Math.pow(2,8*en)-1;eZ(this,Y,et,en,ei,0)}let eo=1,ea=0;for(this[et]=255&Y;++ea<en&&(eo*=256);)this[et+ea]=Y/eo&255;return et+en},eh.prototype.writeUintBE=eh.prototype.writeUIntBE=function(Y,et,en,ei){if(Y=+Y,et>>>=0,en>>>=0,!ei){let ei=Math.pow(2,8*en)-1;eZ(this,Y,et,en,ei,0)}let eo=en-1,ea=1;for(this[et+eo]=255&Y;--eo>=0&&(ea*=256);)this[et+eo]=Y/ea&255;return et+en},eh.prototype.writeUint8=eh.prototype.writeUInt8=function(Y,et,en){return Y=+Y,et>>>=0,en||eZ(this,Y,et,1,255,0),this[et]=255&Y,et+1},eh.prototype.writeUint16LE=eh.prototype.writeUInt16LE=function(Y,et,en){return Y=+Y,et>>>=0,en||eZ(this,Y,et,2,65535,0),this[et]=255&Y,this[et+1]=Y>>>8,et+2},eh.prototype.writeUint16BE=eh.prototype.writeUInt16BE=function(Y,et,en){return Y=+Y,et>>>=0,en||eZ(this,Y,et,2,65535,0),this[et]=Y>>>8,this[et+1]=255&Y,et+2},eh.prototype.writeUint32LE=eh.prototype.writeUInt32LE=function(Y,et,en){return Y=+Y,et>>>=0,en||eZ(this,Y,et,4,4294967295,0),this[et+3]=Y>>>24,this[et+2]=Y>>>16,this[et+1]=Y>>>8,this[et]=255&Y,et+4},eh.prototype.writeUint32BE=eh.prototype.writeUInt32BE=function(Y,et,en){return Y=+Y,et>>>=0,en||eZ(this,Y,et,4,4294967295,0),this[et]=Y>>>24,this[et+1]=Y>>>16,this[et+2]=Y>>>8,this[et+3]=255&Y,et+4},eh.prototype.writeBigUInt64LE=tm(function(Y,et=0){return eK(this,Y,et,BigInt(0),BigInt("0xffffffffffffffff"))}),eh.prototype.writeBigUInt64BE=tm(function(Y,et=0){return e$(this,Y,et,BigInt(0),BigInt("0xffffffffffffffff"))}),eh.prototype.writeIntLE=function(Y,et,en,ei){if(Y=+Y,et>>>=0,!ei){let ei=Math.pow(2,8*en-1);eZ(this,Y,et,en,ei-1,-ei)}let eo=0,ea=1,eu=0;for(this[et]=255&Y;++eo<en&&(ea*=256);)Y<0&&0===eu&&0!==this[et+eo-1]&&(eu=1),this[et+eo]=(Y/ea>>0)-eu&255;return et+en},eh.prototype.writeIntBE=function(Y,et,en,ei){if(Y=+Y,et>>>=0,!ei){let ei=Math.pow(2,8*en-1);eZ(this,Y,et,en,ei-1,-ei)}let eo=en-1,ea=1,eu=0;for(this[et+eo]=255&Y;--eo>=0&&(ea*=256);)Y<0&&0===eu&&0!==this[et+eo+1]&&(eu=1),this[et+eo]=(Y/ea>>0)-eu&255;return et+en},eh.prototype.writeInt8=function(Y,et,en){return Y=+Y,et>>>=0,en||eZ(this,Y,et,1,127,-128),Y<0&&(Y=255+Y+1),this[et]=255&Y,et+1},eh.prototype.writeInt16LE=function(Y,et,en){return Y=+Y,et>>>=0,en||eZ(this,Y,et,2,32767,-32768),this[et]=255&Y,this[et+1]=Y>>>8,et+2},eh.prototype.writeInt16BE=function(Y,et,en){return Y=+Y,et>>>=0,en||eZ(this,Y,et,2,32767,-32768),this[et]=Y>>>8,this[et+1]=255&Y,et+2},eh.prototype.writeInt32LE=function(Y,et,en){return Y=+Y,et>>>=0,en||eZ(this,Y,et,4,2147483647,-2147483648),this[et]=255&Y,this[et+1]=Y>>>8,this[et+2]=Y>>>16,this[et+3]=Y>>>24,et+4},eh.prototype.writeInt32BE=function(Y,et,en){return Y=+Y,et>>>=0,en||eZ(this,Y,et,4,2147483647,-2147483648),Y<0&&(Y=4294967295+Y+1),this[et]=Y>>>24,this[et+1]=Y>>>16,this[et+2]=Y>>>8,this[et+3]=255&Y,et+4},eh.prototype.writeBigInt64LE=tm(function(Y,et=0){return eK(this,Y,et,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),eh.prototype.writeBigInt64BE=tm(function(Y,et=0){return e$(this,Y,et,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),eh.prototype.writeFloatLE=function(Y,et,en){return eQ(this,Y,et,!0,en)},eh.prototype.writeFloatBE=function(Y,et,en){return eQ(this,Y,et,!1,en)},eh.prototype.writeDoubleLE=function(Y,et,en){return eX(this,Y,et,!0,en)},eh.prototype.writeDoubleBE=function(Y,et,en){return eX(this,Y,et,!1,en)},eh.prototype.copy=function(Y,et,en,ei){if(!eh.isBuffer(Y))throw TypeError("argument should be a Buffer");if(en||(en=0),ei||0===ei||(ei=this.length),et>=Y.length&&(et=Y.length),et||(et=0),ei>0&&ei<en&&(ei=en),ei===en||0===Y.length||0===this.length)return 0;if(et<0)throw RangeError("targetStart out of bounds");if(en<0||en>=this.length)throw RangeError("Index out of range");if(ei<0)throw RangeError("sourceEnd out of bounds");ei>this.length&&(ei=this.length),Y.length-et<ei-en&&(ei=Y.length-et+en);let eo=ei-en;return this===Y&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(et,en,ei):Uint8Array.prototype.set.call(Y,this.subarray(en,ei),et),eo},eh.prototype.fill=function(Y,et,en,ei){let eo;if("string"==typeof Y){if("string"==typeof et?(ei=et,et=0,en=this.length):"string"==typeof en&&(ei=en,en=this.length),void 0!==ei&&"string"!=typeof ei)throw TypeError("encoding must be a string");if("string"==typeof ei&&!eh.isEncoding(ei))throw TypeError("Unknown encoding: "+ei);if(1===Y.length){let et=Y.charCodeAt(0);("utf8"===ei&&et<128||"latin1"===ei)&&(Y=et)}}else"number"==typeof Y?Y&=255:"boolean"==typeof Y&&(Y=Number(Y));if(et<0||this.length<et||this.length<en)throw RangeError("Out of range index");if(en<=et)return this;if(et>>>=0,en=void 0===en?this.length:en>>>0,Y||(Y=0),"number"==typeof Y)for(eo=et;eo<en;++eo)this[eo]=Y;else{let ea=eh.isBuffer(Y)?Y:eh.from(Y,ei),eu=ea.length;if(0===eu)throw TypeError('The value "'+Y+'" is invalid for argument "value"');for(eo=0;eo<en-et;++eo)this[eo+et]=ea[eo%eu]}return this};let eJ={};function e0(Y,et,en){eJ[Y]=class extends en{constructor(){super(),Object.defineProperty(this,"message",{value:et.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${Y}]`,this.stack,delete this.name}get code(){return Y}set code(Y){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Y,writable:!0})}toString(){return`${this.name} [${Y}]: ${this.message}`}}}function e9(Y){let et="",en=Y.length,ei="-"===Y[0]?1:0;for(;en>=ei+4;en-=3)et=`_${Y.slice(en-3,en)}${et}`;return`${Y.slice(0,en)}${et}`}function e5(Y,et,en){e3(et,"offset"),(void 0===Y[et]||void 0===Y[et+en])&&e6(et,Y.length-(en+1))}function e4(Y,et,en,ei,eo,ea){if(Y>en||Y<et){let ei;let eo="bigint"==typeof et?"n":"";throw ei=ea>3?0===et||et===BigInt(0)?`>= 0${eo} and < 2${eo} ** ${(ea+1)*8}${eo}`:`>= -(2${eo} ** ${(ea+1)*8-1}${eo}) and < 2 ** ${(ea+1)*8-1}${eo}`:`>= ${et}${eo} and <= ${en}${eo}`,new eJ.ERR_OUT_OF_RANGE("value",ei,Y)}e5(ei,eo,ea)}function e3(Y,et){if("number"!=typeof Y)throw new eJ.ERR_INVALID_ARG_TYPE(et,"number",Y)}function e6(Y,et,en){if(Math.floor(Y)!==Y)throw e3(Y,en),new eJ.ERR_OUT_OF_RANGE(en||"offset","an integer",Y);if(et<0)throw new eJ.ERR_BUFFER_OUT_OF_BOUNDS;throw new eJ.ERR_OUT_OF_RANGE(en||"offset",`>= ${en?1:0} and <= ${et}`,Y)}e0("ERR_BUFFER_OUT_OF_BOUNDS",function(Y){return Y?`${Y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),e0("ERR_INVALID_ARG_TYPE",function(Y,et){return`The "${Y}" argument must be of type number. Received type ${typeof et}`},TypeError),e0("ERR_OUT_OF_RANGE",function(Y,et,en){let ei=`The value of "${Y}" is out of range.`,eo=en;return Number.isInteger(en)&&Math.abs(en)>4294967296?eo=e9(String(en)):"bigint"==typeof en&&(eo=String(en),(en>BigInt(2)**BigInt(32)||en<-(BigInt(2)**BigInt(32)))&&(eo=e9(eo)),eo+="n"),ei+=` It must be ${et}. Received ${eo}`},RangeError);let e7=/[^+/0-9A-Za-z-_]/g;function e8(Y){if((Y=(Y=Y.split("=")[0]).trim().replace(e7,"")).length<2)return"";for(;Y.length%4!=0;)Y+="=";return Y}function tt(Y,et){let en;et=et||1/0;let ei=Y.length,eo=null,ea=[];for(let eu=0;eu<ei;++eu){if((en=Y.charCodeAt(eu))>55295&&en<57344){if(!eo){if(en>56319||eu+1===ei){(et-=3)>-1&&ea.push(239,191,189);continue}eo=en;continue}if(en<56320){(et-=3)>-1&&ea.push(239,191,189),eo=en;continue}en=(eo-55296<<10|en-56320)+65536}else eo&&(et-=3)>-1&&ea.push(239,191,189);if(eo=null,en<128){if((et-=1)<0)break;ea.push(en)}else if(en<2048){if((et-=2)<0)break;ea.push(en>>6|192,63&en|128)}else if(en<65536){if((et-=3)<0)break;ea.push(en>>12|224,en>>6&63|128,63&en|128)}else if(en<1114112){if((et-=4)<0)break;ea.push(en>>18|240,en>>12&63|128,en>>6&63|128,63&en|128)}else throw Error("Invalid code point")}return ea}function ta(Y){let et=[];for(let en=0;en<Y.length;++en)et.push(255&Y.charCodeAt(en));return et}function tu(Y,et){let en,ei;let eo=[];for(let ea=0;ea<Y.length&&!((et-=2)<0);++ea)ei=(en=Y.charCodeAt(ea))>>8,eo.push(en%256),eo.push(ei);return eo}function tc(Y){return eo.toByteArray(e8(Y))}function td(Y,et,en,ei){let eo;for(eo=0;eo<ei&&!(eo+en>=et.length)&&!(eo>=Y.length);++eo)et[eo+en]=Y[eo];return eo}function tf(Y,et){return Y instanceof et||null!=Y&&null!=Y.constructor&&null!=Y.constructor.name&&Y.constructor.name===et.name}function th(Y){return Y!=Y}let tp=function(){let Y="0123456789abcdef",et=Array(256);for(let en=0;en<16;++en){let ei=16*en;for(let eo=0;eo<16;++eo)et[ei+eo]=Y[en]+Y[eo]}return et}();function tm(Y){return"undefined"==typeof BigInt?tg:Y}function tg(){throw Error("BigInt not supported")}},57372:function(Y,et,en){"use strict";var ei=en(38514),eo=en(5806),ea=eo(ei("String.prototype.indexOf"));Y.exports=function(Y,et){var en=ei(Y,!!et);return"function"==typeof en&&ea(Y,".prototype.")>-1?eo(en):en}},5806:function(Y,et,en){"use strict";var ei=en(4148),eo=en(38514),ea=eo("%Function.prototype.apply%"),eu=eo("%Function.prototype.call%"),ec=eo("%Reflect.apply%",!0)||ei.call(eu,ea),ed=eo("%Object.getOwnPropertyDescriptor%",!0),ef=eo("%Object.defineProperty%",!0),eh=eo("%Math.max%");if(ef)try{ef({},"a",{value:1})}catch(Y){ef=null}Y.exports=function(Y){var et=ec(ei,eu,arguments);return ed&&ef&&ed(et,"length").configurable&&ef(et,"length",{value:1+eh(0,Y.length-(arguments.length-1))}),et};var ep=function(){return ec(ei,ea,arguments)};ef?ef(Y.exports,"apply",{value:ep}):Y.exports.apply=ep},65443:function(Y,et){var en;/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var ei={}.hasOwnProperty;function eo(){for(var Y=[],et=0;et<arguments.length;et++){var en=arguments[et];if(en){var ea=typeof en;if("string"===ea||"number"===ea)Y.push(en);else if(Array.isArray(en)){if(en.length){var eu=eo.apply(null,en);eu&&Y.push(eu)}}else if("object"===ea){if(en.toString===Object.prototype.toString)for(var ec in en)ei.call(en,ec)&&en[ec]&&Y.push(ec);else Y.push(en.toString())}}}return Y.join(" ")}Y.exports?(eo.default=eo,Y.exports=eo):void 0!==(en=(function(){return eo}).apply(et,[]))&&(Y.exports=en)}()},19841:function(Y,et,en){"use strict";function ei(Y){var et,en,eo="";if("string"==typeof Y||"number"==typeof Y)eo+=Y;else if("object"==typeof Y){if(Array.isArray(Y))for(et=0;et<Y.length;et++)Y[et]&&(en=ei(Y[et]))&&(eo&&(eo+=" "),eo+=en);else for(et in Y)Y[et]&&(eo&&(eo+=" "),eo+=et)}return eo}function eo(){for(var Y,et,en=0,eo="";en<arguments.length;)(Y=arguments[en++])&&(et=ei(Y))&&(eo&&(eo+=" "),eo+=et);return eo}en.r(et),en.d(et,{clsx:function(){return eo}}),et.default=eo},92507:function(Y,et){"use strict";/*!
* cookie
* Copyright(c) 2012-2014 Roman Shtylman
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/et.parse=ea,et.serialize=eu;var en=decodeURIComponent,ei=encodeURIComponent,eo=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ea(Y,et){if("string"!=typeof Y)throw TypeError("argument str must be a string");for(var ei={},eo=et||{},ea=Y.split(";"),eu=eo.decode||en,ed=0;ed<ea.length;ed++){var ef=ea[ed],eh=ef.indexOf("=");if(!(eh<0)){var ep=ef.substring(0,eh).trim();if(void 0==ei[ep]){var em=ef.substring(eh+1,ef.length).trim();'"'===em[0]&&(em=em.slice(1,-1)),ei[ep]=ec(em,eu)}}}return ei}function eu(Y,et,en){var ea=en||{},eu=ea.encode||ei;if("function"!=typeof eu)throw TypeError("option encode is invalid");if(!eo.test(Y))throw TypeError("argument name is invalid");var ec=eu(et);if(ec&&!eo.test(ec))throw TypeError("argument val is invalid");var ed=Y+"="+ec;if(null!=ea.maxAge){var ef=ea.maxAge-0;if(isNaN(ef)||!isFinite(ef))throw TypeError("option maxAge is invalid");ed+="; Max-Age="+Math.floor(ef)}if(ea.domain){if(!eo.test(ea.domain))throw TypeError("option domain is invalid");ed+="; Domain="+ea.domain}if(ea.path){if(!eo.test(ea.path))throw TypeError("option path is invalid");ed+="; Path="+ea.path}if(ea.expires){if("function"!=typeof ea.expires.toUTCString)throw TypeError("option expires is invalid");ed+="; Expires="+ea.expires.toUTCString()}if(ea.httpOnly&&(ed+="; HttpOnly"),ea.secure&&(ed+="; Secure"),ea.sameSite)switch("string"==typeof ea.sameSite?ea.sameSite.toLowerCase():ea.sameSite){case!0:case"strict":ed+="; SameSite=Strict";break;case"lax":ed+="; SameSite=Lax";break;case"none":ed+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return ed}function ec(Y,et){try{return et(Y)}catch(et){return Y}}},44544:function(Y,et,en){"use strict";var ei=this&&this.__assign||function(){return(ei=Object.assign||function(Y){for(var et,en=1,ei=arguments.length;en<ei;en++)for(var eo in et=arguments[en])Object.prototype.hasOwnProperty.call(et,eo)&&(Y[eo]=et[eo]);return Y}).apply(this,arguments)},eo=this&&this.__rest||function(Y,et){var en={};for(var ei in Y)Object.prototype.hasOwnProperty.call(Y,ei)&&0>et.indexOf(ei)&&(en[ei]=Y[ei]);if(null!=Y&&"function"==typeof Object.getOwnPropertySymbols)for(var eo=0,ei=Object.getOwnPropertySymbols(Y);eo<ei.length;eo++)0>et.indexOf(ei[eo])&&Object.prototype.propertyIsEnumerable.call(Y,ei[eo])&&(en[ei[eo]]=Y[ei[eo]]);return en};Object.defineProperty(et,"__esModule",{value:!0}),et.checkCookies=et.hasCookie=et.removeCookies=et.deleteCookie=et.setCookies=et.setCookie=et.getCookie=et.getCookies=void 0;var ea=en(92507),eu=function(){return"undefined"!=typeof window},ec=function(Y){return"true"===Y||"false"!==Y&&("undefined"!==Y?"null"===Y?null:Y:void 0)},ed=function(Y){void 0===Y&&(Y="");try{var et=JSON.stringify(Y);return/^[\{\[]/.test(et)?et:Y}catch(et){return Y}},ef=function(Y){return Y?Y.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent):Y},eh=function(Y){if(Y&&(et=Y.req),!eu())return et&&et.cookies?et.cookies:et&&et.headers&&et.headers.cookie?(0,ea.parse)(et.headers.cookie):{};for(var et,en={},ei=document.cookie?document.cookie.split("; "):[],eo=0,ec=ei.length;eo<ec;eo++){var ed=ei[eo].split("="),ef=ed.slice(1).join("=");en[ed[0]]=ef}return en};et.getCookies=eh;var ep=function(Y,en){var ei=(0,et.getCookies)(en)[Y];if(void 0!==ei)return ec(ef(ei))};et.getCookie=ep;var em=function(Y,et,en){if(en){var ec,ef,eh,ep=en.req,em=en.res,eg=eo(en,["req","res"]);ef=ep,eh=em,ec=eg}var ey=(0,ea.serialize)(Y,ed(et),ei({path:"/"},ec));if(eu())document.cookie=ey;else if(eh&&ef){var eb=eh.getHeader("Set-Cookie");if(Array.isArray(eb)||(eb=eb?[String(eb)]:[]),eh.setHeader("Set-Cookie",eb.concat(ey)),ef&&ef.cookies){var ek=ef.cookies;""===et?delete ek[Y]:ek[Y]=ed(et)}if(ef&&ef.headers&&ef.headers.cookie){var ek=(0,ea.parse)(ef.headers.cookie);""===et?delete ek[Y]:ek[Y]=ed(et),ef.headers.cookie=Object.entries(ek).reduce(function(Y,et){return Y.concat("".concat(et[0],"=").concat(et[1],";"))},"")}}};et.setCookie=em;var eg=function(Y,en,ei){return console.warn("[WARN]: setCookies was deprecated. It will be deleted in the new version. Use setCookie instead."),(0,et.setCookie)(Y,en,ei)};et.setCookies=eg;var ey=function(Y,en){return(0,et.setCookie)(Y,"",ei(ei({},en),{maxAge:-1}))};et.deleteCookie=ey;var eb=function(Y,en){return console.warn("[WARN]: removeCookies was deprecated. It will be deleted in the new version. Use deleteCookie instead."),(0,et.deleteCookie)(Y,en)};et.removeCookies=eb;var ek=function(Y,en){return!!Y&&(0,et.getCookies)(en).hasOwnProperty(Y)};et.hasCookie=ek;var ew=function(Y,en){return console.warn("[WARN]: checkCookies was deprecated. It will be deleted in the new version. Use hasCookie instead."),(0,et.hasCookie)(Y,en)};et.checkCookies=ew},69197:function(Y,et,en){var ei=en(33427);Y.exports=ei},78993:function(Y,et,en){var ei=en(52417);Y.exports=ei},79418:function(Y,et,en){var ei=en(11863);Y.exports=ei},99926:function(Y,et,en){var ei=en(6559);Y.exports=ei},470:function(Y,et,en){var ei=en(74263);Y.exports=ei},6182:function(Y,et,en){var ei=en(89586);en(28338),Y.exports=ei},53719:function(Y,et,en){en(13834),en(66166);var ei=en(3103);Y.exports=ei.Array.from},65757:function(Y,et,en){en(73163);var ei=en(3103);Y.exports=ei.Array.isArray},44248:function(Y,et,en){en(57163);var ei=en(55621);Y.exports=ei("Array").concat},20578:function(Y,et,en){en(15659);var ei=en(55621);Y.exports=ei("Array").filter},666:function(Y,et,en){en(48354);var ei=en(55621);Y.exports=ei("Array").forEach},38276:function(Y,et,en){en(41463);var ei=en(55621);Y.exports=ei("Array").indexOf},41054:function(Y,et,en){en(92302);var ei=en(55621);Y.exports=ei("Array").slice},55427:function(Y,et,en){en(77148);var ei=en(55621);Y.exports=ei("Array").splice},23106:function(Y,et,en){en(38632);var ei=en(3103);Y.exports=ei.Date.now},3751:function(Y,et,en){en(38063),en(13834);var ei=en(21478);Y.exports=ei},63968:function(Y,et,en){var ei=en(62527),eo=en(44248),ea=Array.prototype;Y.exports=function(Y){var et=Y.concat;return Y===ea||ei(ea,Y)&&et===ea.concat?eo:et}},93793:function(Y,et,en){var ei=en(62527),eo=en(20578),ea=Array.prototype;Y.exports=function(Y){var et=Y.filter;return Y===ea||ei(ea,Y)&&et===ea.filter?eo:et}},25695:function(Y,et,en){var ei=en(62527),eo=en(38276),ea=Array.prototype;Y.exports=function(Y){var et=Y.indexOf;return Y===ea||ei(ea,Y)&&et===ea.indexOf?eo:et}},95454:function(Y,et,en){var ei=en(62527),eo=en(41054),ea=Array.prototype;Y.exports=function(Y){var et=Y.slice;return Y===ea||ei(ea,Y)&&et===ea.slice?eo:et}},64904:function(Y,et,en){var ei=en(62527),eo=en(55427),ea=Array.prototype;Y.exports=function(Y){var et=Y.splice;return Y===ea||ei(ea,Y)&&et===ea.splice?eo:et}},74681:function(Y,et,en){en(693);var ei=en(3103);Y.exports=ei.Math.sign},4231:function(Y,et,en){en(83694);var ei=en(3103).Object,eo=Y.exports=function(Y,et){return ei.defineProperties(Y,et)};ei.defineProperties.sham&&(eo.sham=!0)},59306:function(Y,et,en){en(75031);var ei=en(3103).Object,eo=Y.exports=function(Y,et,en){return ei.defineProperty(Y,et,en)};ei.defineProperty.sham&&(eo.sham=!0)},16252:function(Y,et,en){en(15606);var ei=en(3103).Object,eo=Y.exports=function(Y,et){return ei.getOwnPropertyDescriptor(Y,et)};ei.getOwnPropertyDescriptor.sham&&(eo.sham=!0)},75737:function(Y,et,en){en(70116);var ei=en(3103);Y.exports=ei.Object.getOwnPropertyDescriptors},35729:function(Y,et,en){en(52366);var ei=en(3103);Y.exports=ei.Object.getOwnPropertySymbols},63389:function(Y,et,en){en(76278);var ei=en(3103);Y.exports=ei.Object.keys},53352:function(Y,et,en){en(57163),en(44992),en(52366),en(20435),en(61162),en(79951),en(80376),en(9495),en(99922),en(49856),en(48760),en(32269),en(24230),en(97454),en(44612),en(89956),en(17862),en(99674),en(86667),en(95708);var ei=en(3103);Y.exports=ei.Symbol},53047:function(Y,et,en){Y.exports=en(92530)},42721:function(Y,et,en){Y.exports=en(52447)},7857:function(Y,et,en){Y.exports=en(25899)},39013:function(Y,et,en){Y.exports=en(83259)},84450:function(Y,et,en){Y.exports=en(62189)},39154:function(Y,et,en){Y.exports=en(21066)},92530:function(Y,et,en){var ei=en(69197);Y.exports=ei},52447:function(Y,et,en){var ei=en(78993);Y.exports=ei},25899:function(Y,et,en){var ei=en(79418);Y.exports=ei},83259:function(Y,et,en){var ei=en(99926);Y.exports=ei},62189:function(Y,et,en){var ei=en(470);Y.exports=ei},21066:function(Y,et,en){var ei=en(6182);en(72594),en(74591),en(83114),en(94440),en(57495),en(54997),en(13992),en(94507),en(41569),Y.exports=ei},6620:function(Y,et,en){var ei=en(66977),eo=en(98242),ea=TypeError;Y.exports=function(Y){if(ei(Y))return Y;throw ea(eo(Y)+" is not a function")}},50278:function(Y,et,en){var ei=en(66977),eo=String,ea=TypeError;Y.exports=function(Y){if("object"==typeof Y||ei(Y))return Y;throw ea("Can't set "+eo(Y)+" as a prototype")}},12322:function(Y){Y.exports=function(){}},9465:function(Y,et,en){var ei=en(66407),eo=String,ea=TypeError;Y.exports=function(Y){if(ei(Y))return Y;throw ea(eo(Y)+" is not an object")}},72358:function(Y,et,en){"use strict";var ei=en(8906).forEach,eo=en(50769)("forEach");Y.exports=eo?[].forEach:function(Y){return ei(this,Y,arguments.length>1?arguments[1]:void 0)}},83449:function(Y,et,en){"use strict";var ei=en(88753),eo=en(7131),ea=en(44072),eu=en(5513),ec=en(60621),ed=en(97515),ef=en(20691),eh=en(26938),ep=en(93639),em=en(21478),eg=Array;Y.exports=function(Y){var et,en,ey,eb,ek,ew,e_=ea(Y),eE=ed(this),eC=arguments.length,eT=eC>1?arguments[1]:void 0,eS=void 0!==eT;eS&&(eT=ei(eT,eC>2?arguments[2]:void 0));var eA=em(e_),eM=0;if(eA&&!(this===eg&&ec(eA)))for(ek=(eb=ep(e_,eA)).next,en=eE?new this:[];!(ey=eo(ek,eb)).done;eM++)ew=eS?eu(eb,eT,[ey.value,eM],!0):ey.value,eh(en,eM,ew);else for(et=ef(e_),en=eE?new this(et):eg(et);et>eM;eM++)ew=eS?eT(e_[eM],eM):e_[eM],eh(en,eM,ew);return en.length=eM,en}},47396:function(Y,et,en){var ei=en(58793),eo=en(3874),ea=en(20691),eu=function(Y){return function(et,en,eu){var ec,ed=ei(et),ef=ea(ed),eh=eo(eu,ef);if(Y&&en!=en){for(;ef>eh;)if((ec=ed[eh++])!=ec)return!0}else for(;ef>eh;eh++)if((Y||eh in ed)&&ed[eh]===en)return Y||eh||0;return!Y&&-1}};Y.exports={includes:eu(!0),indexOf:eu(!1)}},8906:function(Y,et,en){var ei=en(88753),eo=en(57043),ea=en(19833),eu=en(44072),ec=en(20691),ed=en(90646),ef=eo([].push),eh=function(Y){var et=1==Y,en=2==Y,eo=3==Y,eh=4==Y,ep=6==Y,em=7==Y,eg=5==Y||ep;return function(ey,eb,ek,ew){for(var e_,eE,eC=eu(ey),eT=ea(eC),eS=ei(eb,ek),eA=ec(eT),eM=0,eP=ew||ed,ej=et?eP(ey,eA):en||em?eP(ey,0):void 0;eA>eM;eM++)if((eg||eM in eT)&&(eE=eS(e_=eT[eM],eM,eC),Y)){if(et)ej[eM]=eE;else if(eE)switch(Y){case 3:return!0;case 5:return e_;case 6:return eM;case 2:ef(ej,e_)}else switch(Y){case 4:return!1;case 7:ef(ej,e_)}}return ep?-1:eo||eh?eh:ej}};Y.exports={forEach:eh(0),map:eh(1),filter:eh(2),some:eh(3),every:eh(4),find:eh(5),findIndex:eh(6),filterReject:eh(7)}},75089:function(Y,et,en){var ei=en(32879),eo=en(52126),ea=en(66564),eu=eo("species");Y.exports=function(Y){return ea>=51||!ei(function(){var et=[];return(et.constructor={})[eu]=function(){return{foo:1}},1!==et[Y](Boolean).foo})}},50769:function(Y,et,en){"use strict";var ei=en(32879);Y.exports=function(Y,et){var en=[][Y];return!!en&&ei(function(){en.call(null,et||function(){return 1},1)})}},58286:function(Y,et,en){"use strict";var ei=en(23419),eo=en(18066),ea=TypeError,eu=Object.getOwnPropertyDescriptor,ec=ei&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(Y){return Y instanceof TypeError}}();Y.exports=ec?function(Y,et){if(eo(Y)&&!eu(Y,"length").writable)throw ea("Cannot set read only .length");return Y.length=et}:function(Y,et){return Y.length=et}},45926:function(Y,et,en){var ei=en(3874),eo=en(20691),ea=en(26938),eu=Array,ec=Math.max;Y.exports=function(Y,et,en){for(var ed=eo(Y),ef=ei(et,ed),eh=ei(void 0===en?ed:en,ed),ep=eu(ec(eh-ef,0)),em=0;ef<eh;ef++,em++)ea(ep,em,Y[ef]);return ep.length=em,ep}},98256:function(Y,et,en){var ei=en(57043);Y.exports=ei([].slice)},49571:function(Y,et,en){var ei=en(18066),eo=en(97515),ea=en(66407),eu=en(52126)("species"),ec=Array;Y.exports=function(Y){var et;return ei(Y)&&(eo(et=Y.constructor)&&(et===ec||ei(et.prototype))?et=void 0:ea(et)&&null===(et=et[eu])&&(et=void 0)),void 0===et?ec:et}},90646:function(Y,et,en){var ei=en(49571);Y.exports=function(Y,et){return new(ei(Y))(0===et?0:et)}},5513:function(Y,et,en){var ei=en(9465),eo=en(21556);Y.exports=function(Y,et,en,ea){try{return ea?et(ei(en)[0],en[1]):et(en)}catch(et){eo(Y,"throw",et)}}},57885:function(Y,et,en){var ei=en(52126)("iterator"),eo=!1;try{var ea=0,eu={next:function(){return{done:!!ea++}},return:function(){eo=!0}};eu[ei]=function(){return this},Array.from(eu,function(){throw 2})}catch(Y){}Y.exports=function(Y,et){if(!et&&!eo)return!1;var en=!1;try{var ea={};ea[ei]=function(){return{next:function(){return{done:en=!0}}}},Y(ea)}catch(Y){}return en}},87601:function(Y,et,en){var ei=en(57043),eo=ei({}.toString),ea=ei("".slice);Y.exports=function(Y){return ea(eo(Y),8,-1)}},85153:function(Y,et,en){var ei=en(11053),eo=en(66977),ea=en(87601),eu=en(52126)("toStringTag"),ec=Object,ed="Arguments"==ea(function(){return arguments}()),ef=function(Y,et){try{return Y[et]}catch(Y){}};Y.exports=ei?ea:function(Y){var et,en,ei;return void 0===Y?"Undefined":null===Y?"Null":"string"==typeof(en=ef(et=ec(Y),eu))?en:ed?ea(et):"Object"==(ei=ea(et))&&eo(et.callee)?"Arguments":ei}},67078:function(Y,et,en){var ei=en(32879);Y.exports=!ei(function(){function Y(){}return Y.prototype.constructor=null,Object.getPrototypeOf(new Y)!==Y.prototype})},70996:function(Y){Y.exports=function(Y,et){return{value:Y,done:et}}},44414:function(Y,et,en){var ei=en(23419),eo=en(54229),ea=en(30896);Y.exports=ei?function(Y,et,en){return eo.f(Y,et,ea(1,en))}:function(Y,et,en){return Y[et]=en,Y}},30896:function(Y){Y.exports=function(Y,et){return{enumerable:!(1&Y),configurable:!(2&Y),writable:!(4&Y),value:et}}},26938:function(Y,et,en){"use strict";var ei=en(78396),eo=en(54229),ea=en(30896);Y.exports=function(Y,et,en){var eu=ei(et);eu in Y?eo.f(Y,eu,ea(0,en)):Y[eu]=en}},79112:function(Y,et,en){var ei=en(54229);Y.exports=function(Y,et,en){return ei.f(Y,et,en)}},63197:function(Y,et,en){var ei=en(44414);Y.exports=function(Y,et,en,eo){return eo&&eo.enumerable?Y[et]=en:ei(Y,et,en),Y}},83440:function(Y,et,en){var ei=en(9419),eo=Object.defineProperty;Y.exports=function(Y,et){try{eo(ei,Y,{value:et,configurable:!0,writable:!0})}catch(en){ei[Y]=et}return et}},69945:function(Y,et,en){"use strict";var ei=en(98242),eo=TypeError;Y.exports=function(Y,et){if(!delete Y[et])throw eo("Cannot delete property "+ei(et)+" of "+ei(Y))}},23419:function(Y,et,en){var ei=en(32879);Y.exports=!ei(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},59167:function(Y){var et="object"==typeof document&&document.all,en=void 0===et&&void 0!==et;Y.exports={all:et,IS_HTMLDDA:en}},33635:function(Y,et,en){var ei=en(9419),eo=en(66407),ea=ei.document,eu=eo(ea)&&eo(ea.createElement);Y.exports=function(Y){return eu?ea.createElement(Y):{}}},91966:function(Y){var et=TypeError,en=9007199254740991;Y.exports=function(Y){if(Y>en)throw et("Maximum allowed index exceeded");return Y}},11593:function(Y){Y.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},6085:function(Y){Y.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},15065:function(Y){Y.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},66564:function(Y,et,en){var ei,eo,ea=en(9419),eu=en(15065),ec=ea.process,ed=ea.Deno,ef=ec&&ec.versions||ed&&ed.version,eh=ef&&ef.v8;eh&&(eo=(ei=eh.split("."))[0]>0&&ei[0]<4?1:+(ei[0]+ei[1])),!eo&&eu&&(!(ei=eu.match(/Edge\/(\d+)/))||ei[1]>=74)&&(ei=eu.match(/Chrome\/(\d+)/))&&(eo=+ei[1]),Y.exports=eo},55621:function(Y,et,en){var ei=en(3103);Y.exports=function(Y){return ei[Y+"Prototype"]}},74365:function(Y){Y.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},46946:function(Y,et,en){"use strict";var ei=en(9419),eo=en(9757),ea=en(56103),eu=en(66977),ec=en(44696).f,ed=en(4466),ef=en(3103),eh=en(88753),ep=en(44414),em=en(53461),eg=function(Y){var et=function(en,ei,ea){if(this instanceof et){switch(arguments.length){case 0:return new Y;case 1:return new Y(en);case 2:return new Y(en,ei)}return new Y(en,ei,ea)}return eo(Y,this,arguments)};return et.prototype=Y.prototype,et};Y.exports=function(Y,et){var en,eo,ey,eb,ek,ew,e_,eE,eC,eT=Y.target,eS=Y.global,eA=Y.stat,eM=Y.proto,eP=eS?ei:eA?ei[eT]:(ei[eT]||{}).prototype,ej=eS?ef:ef[eT]||ep(ef,eT,{})[eT],eO=ej.prototype;for(eb in et)eo=!(en=ed(eS?eb:eT+(eA?".":"#")+eb,Y.forced))&&eP&&em(eP,eb),ew=ej[eb],eo&&(e_=Y.dontCallGetSet?(eC=ec(eP,eb))&&eC.value:eP[eb]),ek=eo&&e_?e_:et[eb],(!eo||typeof ew!=typeof ek)&&(eE=Y.bind&&eo?eh(ek,ei):Y.wrap&&eo?eg(ek):eM&&eu(ek)?ea(ek):ek,(Y.sham||ek&&ek.sham||ew&&ew.sham)&&ep(eE,"sham",!0),ep(ej,eb,eE),eM&&(em(ef,ey=eT+"Prototype")||ep(ef,ey,{}),ep(ef[ey],eb,ek),Y.real&&eO&&(en||!eO[eb])&&ep(eO,eb,ek)))}},32879:function(Y){Y.exports=function(Y){try{return!!Y()}catch(Y){return!0}}},9757:function(Y,et,en){var ei=en(89215),eo=Function.prototype,ea=eo.apply,eu=eo.call;Y.exports="object"==typeof Reflect&&Reflect.apply||(ei?eu.bind(ea):function(){return eu.apply(ea,arguments)})},88753:function(Y,et,en){var ei=en(56103),eo=en(6620),ea=en(89215),eu=ei(ei.bind);Y.exports=function(Y,et){return eo(Y),void 0===et?Y:ea?eu(Y,et):function(){return Y.apply(et,arguments)}}},89215:function(Y,et,en){var ei=en(32879);Y.exports=!ei(function(){var Y=(function(){}).bind();return"function"!=typeof Y||Y.hasOwnProperty("prototype")})},7131:function(Y,et,en){var ei=en(89215),eo=Function.prototype.call;Y.exports=ei?eo.bind(eo):function(){return eo.apply(eo,arguments)}},15591:function(Y,et,en){var ei=en(23419),eo=en(53461),ea=Function.prototype,eu=ei&&Object.getOwnPropertyDescriptor,ec=eo(ea,"name"),ed=ec&&"something"===(function(){}).name,ef=ec&&(!ei||ei&&eu(ea,"name").configurable);Y.exports={EXISTS:ec,PROPER:ed,CONFIGURABLE:ef}},10006:function(Y,et,en){var ei=en(57043),eo=en(6620);Y.exports=function(Y,et,en){try{return ei(eo(Object.getOwnPropertyDescriptor(Y,et)[en]))}catch(Y){}}},56103:function(Y,et,en){var ei=en(87601),eo=en(57043);Y.exports=function(Y){if("Function"===ei(Y))return eo(Y)}},57043:function(Y,et,en){var ei=en(89215),eo=Function.prototype,ea=eo.call,eu=ei&&eo.bind.bind(ea,ea);Y.exports=ei?eu:function(Y){return function(){return ea.apply(Y,arguments)}}},43585:function(Y,et,en){var ei=en(3103),eo=en(9419),ea=en(66977),eu=function(Y){return ea(Y)?Y:void 0};Y.exports=function(Y,et){return arguments.length<2?eu(ei[Y])||eu(eo[Y]):ei[Y]&&ei[Y][et]||eo[Y]&&eo[Y][et]}},21478:function(Y,et,en){var ei=en(85153),eo=en(13689),ea=en(14875),eu=en(52752),ec=en(52126)("iterator");Y.exports=function(Y){if(!ea(Y))return eo(Y,ec)||eo(Y,"@@iterator")||eu[ei(Y)]}},93639:function(Y,et,en){var ei=en(7131),eo=en(6620),ea=en(9465),eu=en(98242),ec=en(21478),ed=TypeError;Y.exports=function(Y,et){var en=arguments.length<2?ec(Y):et;if(eo(en))return ea(ei(en,Y));throw ed(eu(Y)+" is not iterable")}},3798:function(Y,et,en){var ei=en(57043),eo=en(18066),ea=en(66977),eu=en(87601),ec=en(51774),ed=ei([].push);Y.exports=function(Y){if(ea(Y))return Y;if(eo(Y)){for(var et=Y.length,en=[],ei=0;ei<et;ei++){var ef=Y[ei];"string"==typeof ef?ed(en,ef):("number"==typeof ef||"Number"==eu(ef)||"String"==eu(ef))&&ed(en,ec(ef))}var eh=en.length,ep=!0;return function(Y,et){if(ep)return ep=!1,et;if(eo(this))return et;for(var ei=0;ei<eh;ei++)if(en[ei]===Y)return et}}}},13689:function(Y,et,en){var ei=en(6620),eo=en(14875);Y.exports=function(Y,et){var en=Y[et];return eo(en)?void 0:ei(en)}},9419:function(Y,et,en){var ei=function(Y){return Y&&Y.Math==Math&&Y};Y.exports=ei("object"==typeof globalThis&&globalThis)||ei("object"==typeof window&&window)||ei("object"==typeof self&&self)||ei("object"==typeof en.g&&en.g)||function(){return this}()||this||Function("return this")()},53461:function(Y,et,en){var ei=en(57043),eo=en(44072),ea=ei({}.hasOwnProperty);Y.exports=Object.hasOwn||function(Y,et){return ea(eo(Y),et)}},40895:function(Y){Y.exports={}},84845:function(Y,et,en){var ei=en(43585);Y.exports=ei("document","documentElement")},3138:function(Y,et,en){var ei=en(23419),eo=en(32879),ea=en(33635);Y.exports=!ei&&!eo(function(){return 7!=Object.defineProperty(ea("div"),"a",{get:function(){return 7}}).a})},19833:function(Y,et,en){var ei=en(57043),eo=en(32879),ea=en(87601),eu=Object,ec=ei("".split);Y.exports=eo(function(){return!eu("z").propertyIsEnumerable(0)})?function(Y){return"String"==ea(Y)?ec(Y,""):eu(Y)}:eu},81864:function(Y,et,en){var ei=en(57043),eo=en(66977),ea=en(52738),eu=ei(Function.toString);eo(ea.inspectSource)||(ea.inspectSource=function(Y){return eu(Y)}),Y.exports=ea.inspectSource},87236:function(Y,et,en){var ei,eo,ea,eu=en(42470),ec=en(9419),ed=en(66407),ef=en(44414),eh=en(53461),ep=en(52738),em=en(29913),eg=en(40895),ey="Object already initialized",eb=ec.TypeError,ek=ec.WeakMap,ew=function(Y){return ea(Y)?eo(Y):ei(Y,{})},e_=function(Y){return function(et){var en;if(!ed(et)||(en=eo(et)).type!==Y)throw eb("Incompatible receiver, "+Y+" required");return en}};if(eu||ep.state){var eE=ep.state||(ep.state=new ek);eE.get=eE.get,eE.has=eE.has,eE.set=eE.set,ei=function(Y,et){if(eE.has(Y))throw eb(ey);return et.facade=Y,eE.set(Y,et),et},eo=function(Y){return eE.get(Y)||{}},ea=function(Y){return eE.has(Y)}}else{var eC=em("state");eg[eC]=!0,ei=function(Y,et){if(eh(Y,eC))throw eb(ey);return et.facade=Y,ef(Y,eC,et),et},eo=function(Y){return eh(Y,eC)?Y[eC]:{}},ea=function(Y){return eh(Y,eC)}}Y.exports={set:ei,get:eo,has:ea,enforce:ew,getterFor:e_}},60621:function(Y,et,en){var ei=en(52126),eo=en(52752),ea=ei("iterator"),eu=Array.prototype;Y.exports=function(Y){return void 0!==Y&&(eo.Array===Y||eu[ea]===Y)}},18066:function(Y,et,en){var ei=en(87601);Y.exports=Array.isArray||function(Y){return"Array"==ei(Y)}},66977:function(Y,et,en){var ei=en(59167),eo=ei.all;Y.exports=ei.IS_HTMLDDA?function(Y){return"function"==typeof Y||Y===eo}:function(Y){return"function"==typeof Y}},97515:function(Y,et,en){var ei=en(57043),eo=en(32879),ea=en(66977),eu=en(85153),ec=en(43585),ed=en(81864),ef=function(){},eh=[],ep=ec("Reflect","construct"),em=/^\s*(?:class|function)\b/,eg=ei(em.exec),ey=!em.exec(ef),eb=function(Y){if(!ea(Y))return!1;try{return ep(ef,eh,Y),!0}catch(Y){return!1}},ek=function(Y){if(!ea(Y))return!1;switch(eu(Y)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ey||!!eg(em,ed(Y))}catch(Y){return!0}};ek.sham=!0,Y.exports=!ep||eo(function(){var Y;return eb(eb.call)||!eb(Object)||!eb(function(){Y=!0})||Y})?ek:eb},4466:function(Y,et,en){var ei=en(32879),eo=en(66977),ea=/#|\.prototype\./,eu=function(Y,et){var en=ed[ec(Y)];return en==eh||en!=ef&&(eo(et)?ei(et):!!et)},ec=eu.normalize=function(Y){return String(Y).replace(ea,".").toLowerCase()},ed=eu.data={},ef=eu.NATIVE="N",eh=eu.POLYFILL="P";Y.exports=eu},14875:function(Y){Y.exports=function(Y){return null==Y}},66407:function(Y,et,en){var ei=en(66977),eo=en(59167),ea=eo.all;Y.exports=eo.IS_HTMLDDA?function(Y){return"object"==typeof Y?null!==Y:ei(Y)||Y===ea}:function(Y){return"object"==typeof Y?null!==Y:ei(Y)}},24763:function(Y){Y.exports=!0},77412:function(Y,et,en){var ei=en(43585),eo=en(66977),ea=en(62527),eu=en(5356),ec=Object;Y.exports=eu?function(Y){return"symbol"==typeof Y}:function(Y){var et=ei("Symbol");return eo(et)&&ea(et.prototype,ec(Y))}},21556:function(Y,et,en){var ei=en(7131),eo=en(9465),ea=en(13689);Y.exports=function(Y,et,en){var eu,ec;eo(Y);try{if(!(eu=ea(Y,"return"))){if("throw"===et)throw en;return en}eu=ei(eu,Y)}catch(Y){ec=!0,eu=Y}if("throw"===et)throw en;if(ec)throw eu;return eo(eu),en}},69665:function(Y,et,en){"use strict";var ei=en(90596).IteratorPrototype,eo=en(16356),ea=en(30896),eu=en(95388),ec=en(52752),ed=function(){return this};Y.exports=function(Y,et,en,ef){var eh=et+" Iterator";return Y.prototype=eo(ei,{next:ea(+!ef,en)}),eu(Y,eh,!1,!0),ec[eh]=ed,Y}},52190:function(Y,et,en){"use strict";var ei=en(46946),eo=en(7131),ea=en(24763),eu=en(15591),ec=en(66977),ed=en(69665),ef=en(81115),eh=en(47838),ep=en(95388),em=en(44414),eg=en(63197),ey=en(52126),eb=en(52752),ek=en(90596),ew=eu.PROPER,e_=eu.CONFIGURABLE,eE=ek.IteratorPrototype,eC=ek.BUGGY_SAFARI_ITERATORS,eT=ey("iterator"),eS="keys",eA="values",eM="entries",eP=function(){return this};Y.exports=function(Y,et,en,eu,ey,ek,ej){ed(en,et,eu);var eO,eI,eN,eL=function(Y){if(Y===ey&&ez)return ez;if(!eC&&Y in eF)return eF[Y];switch(Y){case eS:case eA:case eM:return function(){return new en(this,Y)}}return function(){return new en(this)}},eR=et+" Iterator",eD=!1,eF=Y.prototype,eB=eF[eT]||eF["@@iterator"]||ey&&eF[ey],ez=!eC&&eB||eL(ey),eU="Array"==et&&eF.entries||eB;if(eU&&(eO=ef(eU.call(new Y)))!==Object.prototype&&eO.next&&(ea||ef(eO)===eE||(eh?eh(eO,eE):ec(eO[eT])||eg(eO,eT,eP)),ep(eO,eR,!0,!0),ea&&(eb[eR]=eP)),ew&&ey==eA&&eB&&eB.name!==eA&&(!ea&&e_?em(eF,"name",eA):(eD=!0,ez=function(){return eo(eB,this)})),ey){if(eI={values:eL(eA),keys:ek?ez:eL(eS),entries:eL(eM)},ej)for(eN in eI)!eC&&!eD&&eN in eF||eg(eF,eN,eI[eN]);else ei({target:et,proto:!0,forced:eC||eD},eI)}return(!ea||ej)&&eF[eT]!==ez&&eg(eF,eT,ez,{name:ey}),eb[et]=ez,eI}},90596:function(Y,et,en){"use strict";var ei,eo,ea,eu=en(32879),ec=en(66977),ed=en(66407),ef=en(16356),eh=en(81115),ep=en(63197),em=en(52126),eg=en(24763),ey=em("iterator"),eb=!1;[].keys&&("next"in(ea=[].keys())?(eo=eh(eh(ea)))!==Object.prototype&&(ei=eo):eb=!0),!ed(ei)||eu(function(){var Y={};return ei[ey].call(Y)!==Y})?ei={}:eg&&(ei=ef(ei)),ec(ei[ey])||ep(ei,ey,function(){return this}),Y.exports={IteratorPrototype:ei,BUGGY_SAFARI_ITERATORS:eb}},52752:function(Y){Y.exports={}},20691:function(Y,et,en){var ei=en(43216);Y.exports=function(Y){return ei(Y.length)}},54069:function(Y){Y.exports=Math.sign||function(Y){var et=+Y;return 0==et||et!=et?et:et<0?-1:1}},9554:function(Y){var et=Math.ceil,en=Math.floor;Y.exports=Math.trunc||function(Y){var ei=+Y;return(ei>0?en:et)(ei)}},16356:function(Y,et,en){var ei,eo=en(9465),ea=en(74125),eu=en(74365),ec=en(40895),ed=en(84845),ef=en(33635),eh=en(29913),ep=">",em="<",eg="prototype",ey="script",eb=eh("IE_PROTO"),ek=function(){},ew=function(Y){return em+ey+ep+Y+em+"/"+ey+ep},e_=function(Y){Y.write(ew("")),Y.close();var et=Y.parentWindow.Object;return Y=null,et},eE=function(){var Y,et=ef("iframe"),en="java"+ey+":";return et.style.display="none",ed.appendChild(et),et.src=String(en),(Y=et.contentWindow.document).open(),Y.write(ew("document.F=Object")),Y.close(),Y.F},eC=function(){try{ei=new ActiveXObject("htmlfile")}catch(Y){}eC="undefined"!=typeof document?document.domain&&ei?e_(ei):eE():e_(ei);for(var Y=eu.length;Y--;)delete eC[eg][eu[Y]];return eC()};ec[eb]=!0,Y.exports=Object.create||function(Y,et){var en;return null!==Y?(ek[eg]=eo(Y),en=new ek,ek[eg]=null,en[eb]=Y):en=eC(),void 0===et?en:ea.f(en,et)}},74125:function(Y,et,en){var ei=en(23419),eo=en(93990),ea=en(54229),eu=en(9465),ec=en(58793),ed=en(70793);et.f=ei&&!eo?Object.defineProperties:function(Y,et){eu(Y);for(var en,ei=ec(et),eo=ed(et),ef=eo.length,eh=0;ef>eh;)ea.f(Y,en=eo[eh++],ei[en]);return Y}},54229:function(Y,et,en){var ei=en(23419),eo=en(3138),ea=en(93990),eu=en(9465),ec=en(78396),ed=TypeError,ef=Object.defineProperty,eh=Object.getOwnPropertyDescriptor,ep="enumerable",em="configurable",eg="writable";et.f=ei?ea?function(Y,et,en){if(eu(Y),et=ec(et),eu(en),"function"==typeof Y&&"prototype"===et&&"value"in en&&eg in en&&!en[eg]){var ei=eh(Y,et);ei&&ei[eg]&&(Y[et]=en.value,en={configurable:em in en?en[em]:ei[em],enumerable:ep in en?en[ep]:ei[ep],writable:!1})}return ef(Y,et,en)}:ef:function(Y,et,en){if(eu(Y),et=ec(et),eu(en),eo)try{return ef(Y,et,en)}catch(Y){}if("get"in en||"set"in en)throw ed("Accessors not supported");return"value"in en&&(Y[et]=en.value),Y}},44696:function(Y,et,en){var ei=en(23419),eo=en(7131),ea=en(59876),eu=en(30896),ec=en(58793),ed=en(78396),ef=en(53461),eh=en(3138),ep=Object.getOwnPropertyDescriptor;et.f=ei?ep:function(Y,et){if(Y=ec(Y),et=ed(et),eh)try{return ep(Y,et)}catch(Y){}if(ef(Y,et))return eu(!eo(ea.f,Y,et),Y[et])}},37037:function(Y,et,en){var ei=en(87601),eo=en(58793),ea=en(80157).f,eu=en(45926),ec="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ed=function(Y){try{return ea(Y)}catch(Y){return eu(ec)}};Y.exports.f=function(Y){return ec&&"Window"==ei(Y)?ed(Y):ea(eo(Y))}},80157:function(Y,et,en){var ei=en(5733),eo=en(74365).concat("length","prototype");et.f=Object.getOwnPropertyNames||function(Y){return ei(Y,eo)}},4496:function(Y,et){et.f=Object.getOwnPropertySymbols},81115:function(Y,et,en){var ei=en(53461),eo=en(66977),ea=en(44072),eu=en(29913),ec=en(67078),ed=eu("IE_PROTO"),ef=Object,eh=ef.prototype;Y.exports=ec?ef.getPrototypeOf:function(Y){var et=ea(Y);if(ei(et,ed))return et[ed];var en=et.constructor;return eo(en)&&et instanceof en?en.prototype:et instanceof ef?eh:null}},62527:function(Y,et,en){var ei=en(57043);Y.exports=ei({}.isPrototypeOf)},5733:function(Y,et,en){var ei=en(57043),eo=en(53461),ea=en(58793),eu=en(47396).indexOf,ec=en(40895),ed=ei([].push);Y.exports=function(Y,et){var en,ei=ea(Y),ef=0,eh=[];for(en in ei)!eo(ec,en)&&eo(ei,en)&&ed(eh,en);for(;et.length>ef;)eo(ei,en=et[ef++])&&(~eu(eh,en)||ed(eh,en));return eh}},70793:function(Y,et,en){var ei=en(5733),eo=en(74365);Y.exports=Object.keys||function(Y){return ei(Y,eo)}},59876:function(Y,et){"use strict";var en={}.propertyIsEnumerable,ei=Object.getOwnPropertyDescriptor,eo=ei&&!en.call({1:2},1);et.f=eo?function(Y){var et=ei(this,Y);return!!et&&et.enumerable}:en},47838:function(Y,et,en){var ei=en(10006),eo=en(9465),ea=en(50278);Y.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Y,et=!1,en={};try{(Y=ei(Object.prototype,"__proto__","set"))(en,[]),et=en instanceof Array}catch(Y){}return function(en,ei){return eo(en),ea(ei),et?Y(en,ei):en.__proto__=ei,en}}():void 0)},90148:function(Y,et,en){"use strict";var ei=en(11053),eo=en(85153);Y.exports=ei?({}).toString:function(){return"[object "+eo(this)+"]"}},84814:function(Y,et,en){var ei=en(7131),eo=en(66977),ea=en(66407),eu=TypeError;Y.exports=function(Y,et){var en,ec;if("string"===et&&eo(en=Y.toString)&&!ea(ec=ei(en,Y))||eo(en=Y.valueOf)&&!ea(ec=ei(en,Y))||"string"!==et&&eo(en=Y.toString)&&!ea(ec=ei(en,Y)))return ec;throw eu("Can't convert object to primitive value")}},80497:function(Y,et,en){var ei=en(43585),eo=en(57043),ea=en(80157),eu=en(4496),ec=en(9465),ed=eo([].concat);Y.exports=ei("Reflect","ownKeys")||function(Y){var et=ea.f(ec(Y)),en=eu.f;return en?ed(et,en(Y)):et}},3103:function(Y){Y.exports={}},21309:function(Y,et,en){var ei=en(14875),eo=TypeError;Y.exports=function(Y){if(ei(Y))throw eo("Can't call method on "+Y);return Y}},68515:function(Y,et,en){"use strict";var ei=en(9419),eo=en(9757),ea=en(66977),eu=en(6085),ec=en(15065),ed=en(98256),ef=en(31404),eh=ei.Function,ep=/MSIE .\./.test(ec)||eu&&function(){var Y=ei.Bun.version.split(".");return Y.length<3||0==Y[0]&&(Y[1]<3||3==Y[1]&&0==Y[2])}();Y.exports=function(Y,et){var en=et?2:1;return ep?function(ei,eu){var ec=ef(arguments.length,1)>en,ep=ea(ei)?ei:eh(ei),em=ec?ed(arguments,en):[],eg=ec?function(){eo(ep,this,em)}:ep;return et?Y(eg,eu):Y(eg)}:Y}},95388:function(Y,et,en){var ei=en(11053),eo=en(54229).f,ea=en(44414),eu=en(53461),ec=en(90148),ed=en(52126)("toStringTag");Y.exports=function(Y,et,en,ef){if(Y){var eh=en?Y:Y.prototype;eu(eh,ed)||eo(eh,ed,{configurable:!0,value:et}),ef&&!ei&&ea(eh,"toString",ec)}}},29913:function(Y,et,en){var ei=en(40487),eo=en(83083),ea=ei("keys");Y.exports=function(Y){return ea[Y]||(ea[Y]=eo(Y))}},52738:function(Y,et,en){var ei=en(9419),eo=en(83440),ea="__core-js_shared__",eu=ei[ea]||eo(ea,{});Y.exports=eu},40487:function(Y,et,en){var ei=en(24763),eo=en(52738);(Y.exports=function(Y,et){return eo[Y]||(eo[Y]=void 0!==et?et:{})})("versions",[]).push({version:"3.30.2",mode:ei?"pure":"global",copyright:"\xa9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},40765:function(Y,et,en){var ei=en(57043),eo=en(75042),ea=en(51774),eu=en(21309),ec=ei("".charAt),ed=ei("".charCodeAt),ef=ei("".slice),eh=function(Y){return function(et,en){var ei,eh,ep=ea(eu(et)),em=eo(en),eg=ep.length;return em<0||em>=eg?Y?"":void 0:(ei=ed(ep,em))<55296||ei>56319||em+1===eg||(eh=ed(ep,em+1))<56320||eh>57343?Y?ec(ep,em):ei:Y?ef(ep,em,em+2):(ei-55296<<10)+(eh-56320)+65536}};Y.exports={codeAt:eh(!1),charAt:eh(!0)}},57588:function(Y,et,en){var ei=en(66564),eo=en(32879),ea=en(9419).String;Y.exports=!!Object.getOwnPropertySymbols&&!eo(function(){var Y=Symbol();return!ea(Y)||!(Object(Y) instanceof Symbol)||!Symbol.sham&&ei&&ei<41})},28356:function(Y,et,en){var ei=en(7131),eo=en(43585),ea=en(52126),eu=en(63197);Y.exports=function(){var Y=eo("Symbol"),et=Y&&Y.prototype,en=et&&et.valueOf,ec=ea("toPrimitive");et&&!et[ec]&&eu(et,ec,function(Y){return ei(en,this)},{arity:1})}},51655:function(Y,et,en){var ei=en(57588);Y.exports=ei&&!!Symbol.for&&!!Symbol.keyFor},3874:function(Y,et,en){var ei=en(75042),eo=Math.max,ea=Math.min;Y.exports=function(Y,et){var en=ei(Y);return en<0?eo(en+et,0):ea(en,et)}},58793:function(Y,et,en){var ei=en(19833),eo=en(21309);Y.exports=function(Y){return ei(eo(Y))}},75042:function(Y,et,en){var ei=en(9554);Y.exports=function(Y){var et=+Y;return et!=et||0===et?0:ei(et)}},43216:function(Y,et,en){var ei=en(75042),eo=Math.min;Y.exports=function(Y){return Y>0?eo(ei(Y),9007199254740991):0}},44072:function(Y,et,en){var ei=en(21309),eo=Object;Y.exports=function(Y){return eo(ei(Y))}},3872:function(Y,et,en){var ei=en(7131),eo=en(66407),ea=en(77412),eu=en(13689),ec=en(84814),ed=en(52126),ef=TypeError,eh=ed("toPrimitive");Y.exports=function(Y,et){if(!eo(Y)||ea(Y))return Y;var en,ed=eu(Y,eh);if(ed){if(void 0===et&&(et="default"),!eo(en=ei(ed,Y,et))||ea(en))return en;throw ef("Can't convert object to primitive value")}return void 0===et&&(et="number"),ec(Y,et)}},78396:function(Y,et,en){var ei=en(3872),eo=en(77412);Y.exports=function(Y){var et=ei(Y,"string");return eo(et)?et:et+""}},11053:function(Y,et,en){var ei=en(52126)("toStringTag"),eo={};eo[ei]="z",Y.exports="[object z]"===String(eo)},51774:function(Y,et,en){var ei=en(85153),eo=String;Y.exports=function(Y){if("Symbol"===ei(Y))throw TypeError("Cannot convert a Symbol value to a string");return eo(Y)}},98242:function(Y){var et=String;Y.exports=function(Y){try{return et(Y)}catch(Y){return"Object"}}},83083:function(Y,et,en){var ei=en(57043),eo=0,ea=Math.random(),eu=ei(1..toString);Y.exports=function(Y){return"Symbol("+(void 0===Y?"":Y)+")_"+eu(++eo+ea,36)}},5356:function(Y,et,en){var ei=en(57588);Y.exports=ei&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},93990:function(Y,et,en){var ei=en(23419),eo=en(32879);Y.exports=ei&&eo(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},31404:function(Y){var et=TypeError;Y.exports=function(Y,en){if(Y<en)throw et("Not enough arguments");return Y}},42470:function(Y,et,en){var ei=en(9419),eo=en(66977),ea=ei.WeakMap;Y.exports=eo(ea)&&/native code/.test(String(ea))},62077:function(Y,et,en){var ei=en(3103),eo=en(53461),ea=en(12405),eu=en(54229).f;Y.exports=function(Y){var et=ei.Symbol||(ei.Symbol={});eo(et,Y)||eu(et,Y,{value:ea.f(Y)})}},12405:function(Y,et,en){var ei=en(52126);et.f=ei},52126:function(Y,et,en){var ei=en(9419),eo=en(40487),ea=en(53461),eu=en(83083),ec=en(57588),ed=en(5356),ef=ei.Symbol,eh=eo("wks"),ep=ed?ef.for||ef:ef&&ef.withoutSetter||eu;Y.exports=function(Y){return ea(eh,Y)||(eh[Y]=ec&&ea(ef,Y)?ef[Y]:ep("Symbol."+Y)),eh[Y]}},57163:function(Y,et,en){"use strict";var ei=en(46946),eo=en(32879),ea=en(18066),eu=en(66407),ec=en(44072),ed=en(20691),ef=en(91966),eh=en(26938),ep=en(90646),em=en(75089),eg=en(52126),ey=en(66564),eb=eg("isConcatSpreadable"),ek=ey>=51||!eo(function(){var Y=[];return Y[eb]=!1,Y.concat()[0]!==Y}),ew=function(Y){if(!eu(Y))return!1;var et=Y[eb];return void 0!==et?!!et:ea(Y)};ei({target:"Array",proto:!0,arity:1,forced:!ek||!em("concat")},{concat:function(Y){var et,en,ei,eo,ea,eu=ec(this),em=ep(eu,0),eg=0;for(et=-1,ei=arguments.length;et<ei;et++)if(ea=-1===et?eu:arguments[et],ew(ea))for(ef(eg+(eo=ed(ea))),en=0;en<eo;en++,eg++)en in ea&&eh(em,eg,ea[en]);else ef(eg+1),eh(em,eg++,ea);return em.length=eg,em}})},15659:function(Y,et,en){"use strict";var ei=en(46946),eo=en(8906).filter;ei({target:"Array",proto:!0,forced:!en(75089)("filter")},{filter:function(Y){return eo(this,Y,arguments.length>1?arguments[1]:void 0)}})},48354:function(Y,et,en){"use strict";var ei=en(46946),eo=en(72358);ei({target:"Array",proto:!0,forced:[].forEach!=eo},{forEach:eo})},66166:function(Y,et,en){var ei=en(46946),eo=en(83449);ei({target:"Array",stat:!0,forced:!en(57885)(function(Y){Array.from(Y)})},{from:eo})},41463:function(Y,et,en){"use strict";var ei=en(46946),eo=en(56103),ea=en(47396).indexOf,eu=en(50769),ec=eo([].indexOf),ed=!!ec&&1/ec([1],1,-0)<0;ei({target:"Array",proto:!0,forced:ed||!eu("indexOf")},{indexOf:function(Y){var et=arguments.length>1?arguments[1]:void 0;return ed?ec(this,Y,et)||0:ea(this,Y,et)}})},73163:function(Y,et,en){en(46946)({target:"Array",stat:!0},{isArray:en(18066)})},38063:function(Y,et,en){"use strict";var ei=en(58793),eo=en(12322),ea=en(52752),eu=en(87236),ec=en(54229).f,ed=en(52190),ef=en(70996),eh=en(24763),ep=en(23419),em="Array Iterator",eg=eu.set,ey=eu.getterFor(em);Y.exports=ed(Array,"Array",function(Y,et){eg(this,{type:em,target:ei(Y),index:0,kind:et})},function(){var Y=ey(this),et=Y.target,en=Y.kind,ei=Y.index++;return!et||ei>=et.length?(Y.target=void 0,ef(void 0,!0)):"keys"==en?ef(ei,!1):"values"==en?ef(et[ei],!1):ef([ei,et[ei]],!1)},"values");var eb=ea.Arguments=ea.Array;if(eo("keys"),eo("values"),eo("entries"),!eh&&ep&&"values"!==eb.name)try{ec(eb,"name",{value:"values"})}catch(Y){}},92302:function(Y,et,en){"use strict";var ei=en(46946),eo=en(18066),ea=en(97515),eu=en(66407),ec=en(3874),ed=en(20691),ef=en(58793),eh=en(26938),ep=en(52126),em=en(75089),eg=en(98256),ey=em("slice"),eb=ep("species"),ek=Array,ew=Math.max;ei({target:"Array",proto:!0,forced:!ey},{slice:function(Y,et){var en,ei,ep,em=ef(this),ey=ed(em),e_=ec(Y,ey),eE=ec(void 0===et?ey:et,ey);if(eo(em)&&(ea(en=em.constructor)&&(en===ek||eo(en.prototype))?en=void 0:eu(en)&&null===(en=en[eb])&&(en=void 0),en===ek||void 0===en))return eg(em,e_,eE);for(ep=0,ei=new(void 0===en?ek:en)(ew(eE-e_,0));e_<eE;e_++,ep++)e_ in em&&eh(ei,ep,em[e_]);return ei.length=ep,ei}})},77148:function(Y,et,en){"use strict";var ei=en(46946),eo=en(44072),ea=en(3874),eu=en(75042),ec=en(20691),ed=en(58286),ef=en(91966),eh=en(90646),ep=en(26938),em=en(69945),eg=en(75089)("splice"),ey=Math.max,eb=Math.min;ei({target:"Array",proto:!0,forced:!eg},{splice:function(Y,et){var en,ei,eg,ek,ew,e_,eE=eo(this),eC=ec(eE),eT=ea(Y,eC),eS=arguments.length;for(0===eS?en=ei=0:1===eS?(en=0,ei=eC-eT):(en=eS-2,ei=eb(ey(eu(et),0),eC-eT)),ef(eC+en-ei),eg=eh(eE,ei),ek=0;ek<ei;ek++)(ew=eT+ek)in eE&&ep(eg,ek,eE[ew]);if(eg.length=ei,en<ei){for(ek=eT;ek<eC-ei;ek++)ew=ek+ei,e_=ek+en,ew in eE?eE[e_]=eE[ew]:em(eE,e_);for(ek=eC;ek>eC-ei+en;ek--)em(eE,ek-1)}else if(en>ei)for(ek=eC-ei;ek>eT;ek--)ew=ek+ei-1,e_=ek+en-1,ew in eE?eE[e_]=eE[ew]:em(eE,e_);for(ek=0;ek<en;ek++)eE[ek+eT]=arguments[ek+2];return ed(eE,eC-ei+en),eg}})},38632:function(Y,et,en){var ei=en(46946),eo=en(57043),ea=Date,eu=eo(ea.prototype.getTime);ei({target:"Date",stat:!0},{now:function(){return eu(new ea)}})},80818:function(Y,et,en){var ei=en(46946),eo=en(43585),ea=en(9757),eu=en(7131),ec=en(57043),ed=en(32879),ef=en(66977),eh=en(77412),ep=en(98256),em=en(3798),eg=en(57588),ey=String,eb=eo("JSON","stringify"),ek=ec(/./.exec),ew=ec("".charAt),e_=ec("".charCodeAt),eE=ec("".replace),eC=ec(1..toString),eT=/[\uD800-\uDFFF]/g,eS=/^[\uD800-\uDBFF]$/,eA=/^[\uDC00-\uDFFF]$/,eM=!eg||ed(function(){var Y=eo("Symbol")();return"[null]"!=eb([Y])||"{}"!=eb({a:Y})||"{}"!=eb(Object(Y))}),eP=ed(function(){return'"\udf06\ud834"'!==eb("\uDF06\uD834")||'"\udead"'!==eb("\uDEAD")}),ej=function(Y,et){var en=ep(arguments),ei=em(et);if(!(!ef(ei)&&(void 0===Y||eh(Y))))return en[1]=function(Y,et){if(ef(ei)&&(et=eu(ei,this,ey(Y),et)),!eh(et))return et},ea(eb,null,en)},eO=function(Y,et,en){var ei=ew(en,et-1),eo=ew(en,et+1);return ek(eS,Y)&&!ek(eA,eo)||ek(eA,Y)&&!ek(eS,ei)?"\\u"+eC(e_(Y,0),16):Y};eb&&ei({target:"JSON",stat:!0,arity:3,forced:eM||eP},{stringify:function(Y,et,en){var ei=ep(arguments),eo=ea(eM?ej:eb,null,ei);return eP&&"string"==typeof eo?eE(eo,eT,eO):eo}})},99674:function(Y,et,en){var ei=en(9419);en(95388)(ei.JSON,"JSON",!0)},693:function(Y,et,en){en(46946)({target:"Math",stat:!0},{sign:en(54069)})},86667:function(){},83694:function(Y,et,en){var ei=en(46946),eo=en(23419),ea=en(74125).f;ei({target:"Object",stat:!0,forced:Object.defineProperties!==ea,sham:!eo},{defineProperties:ea})},75031:function(Y,et,en){var ei=en(46946),eo=en(23419),ea=en(54229).f;ei({target:"Object",stat:!0,forced:Object.defineProperty!==ea,sham:!eo},{defineProperty:ea})},15606:function(Y,et,en){var ei=en(46946),eo=en(32879),ea=en(58793),eu=en(44696).f,ec=en(23419);ei({target:"Object",stat:!0,forced:!ec||eo(function(){eu(1)}),sham:!ec},{getOwnPropertyDescriptor:function(Y,et){return eu(ea(Y),et)}})},70116:function(Y,et,en){var ei=en(46946),eo=en(23419),ea=en(80497),eu=en(58793),ec=en(44696),ed=en(26938);ei({target:"Object",stat:!0,sham:!eo},{getOwnPropertyDescriptors:function(Y){for(var et,en,ei=eu(Y),eo=ec.f,ef=ea(ei),eh={},ep=0;ef.length>ep;)void 0!==(en=eo(ei,et=ef[ep++]))&&ed(eh,et,en);return eh}})},54142:function(Y,et,en){var ei=en(46946),eo=en(57588),ea=en(32879),eu=en(4496),ec=en(44072);ei({target:"Object",stat:!0,forced:!eo||ea(function(){eu.f(1)})},{getOwnPropertySymbols:function(Y){var et=eu.f;return et?et(ec(Y)):[]}})},76278:function(Y,et,en){var ei=en(46946),eo=en(44072),ea=en(70793);ei({target:"Object",stat:!0,forced:en(32879)(function(){ea(1)})},{keys:function(Y){return ea(eo(Y))}})},44992:function(){},95708:function(){},13834:function(Y,et,en){"use strict";var ei=en(40765).charAt,eo=en(51774),ea=en(87236),eu=en(52190),ec=en(70996),ed="String Iterator",ef=ea.set,eh=ea.getterFor(ed);eu(String,"String",function(Y){ef(this,{type:ed,string:eo(Y),index:0})},function(){var Y,et=eh(this),en=et.string,eo=et.index;return eo>=en.length?ec(void 0,!0):(Y=ei(en,eo),et.index+=Y.length,ec(Y,!1))})},20435:function(Y,et,en){en(62077)("asyncIterator")},84585:function(Y,et,en){"use strict";var ei=en(46946),eo=en(9419),ea=en(7131),eu=en(57043),ec=en(24763),ed=en(23419),ef=en(57588),eh=en(32879),ep=en(53461),em=en(62527),eg=en(9465),ey=en(58793),eb=en(78396),ek=en(51774),ew=en(30896),e_=en(16356),eE=en(70793),eC=en(80157),eT=en(37037),eS=en(4496),eA=en(44696),eM=en(54229),eP=en(74125),ej=en(59876),eO=en(63197),eI=en(79112),eN=en(40487),eL=en(29913),eR=en(40895),eD=en(83083),eF=en(52126),eB=en(12405),ez=en(62077),eU=en(28356),eH=en(95388),eG=en(87236),eV=en(8906).forEach,eW=eL("hidden"),eZ="Symbol",eK="prototype",e$=eG.set,eY=eG.getterFor(eZ),eQ=Object[eK],eX=eo.Symbol,eJ=eX&&eX[eK],e0=eo.TypeError,e9=eo.QObject,e5=eA.f,e4=eM.f,e3=eT.f,e6=ej.f,e7=eu([].push),e8=eN("symbols"),tt=eN("op-symbols"),ta=eN("wks"),tu=!e9||!e9[eK]||!e9[eK].findChild,tc=ed&&eh(function(){return 7!=e_(e4({},"a",{get:function(){return e4(this,"a",{value:7}).a}})).a})?function(Y,et,en){var ei=e5(eQ,et);ei&&delete eQ[et],e4(Y,et,en),ei&&Y!==eQ&&e4(eQ,et,ei)}:e4,td=function(Y,et){var en=e8[Y]=e_(eJ);return e$(en,{type:eZ,tag:Y,description:et}),ed||(en.description=et),en},tf=function(Y,et,en){Y===eQ&&tf(tt,et,en),eg(Y);var ei=eb(et);return(eg(en),ep(e8,ei))?(en.enumerable?(ep(Y,eW)&&Y[eW][ei]&&(Y[eW][ei]=!1),en=e_(en,{enumerable:ew(0,!1)})):(ep(Y,eW)||e4(Y,eW,ew(1,{})),Y[eW][ei]=!0),tc(Y,ei,en)):e4(Y,ei,en)},th=function(Y,et){eg(Y);var en=ey(et),ei=eE(en).concat(tb(en));return eV(ei,function(et){(!ed||ea(tm,en,et))&&tf(Y,et,en[et])}),Y},tp=function(Y,et){return void 0===et?e_(Y):th(e_(Y),et)},tm=function(Y){var et=eb(Y),en=ea(e6,this,et);return(!(this===eQ&&ep(e8,et))||!!ep(tt,et))&&(!(en||!ep(this,et)||!ep(e8,et)||ep(this,eW)&&this[eW][et])||en)},tg=function(Y,et){var en=ey(Y),ei=eb(et);if(!(en===eQ&&ep(e8,ei))||ep(tt,ei)){var eo=e5(en,ei);return eo&&ep(e8,ei)&&!(ep(en,eW)&&en[eW][ei])&&(eo.enumerable=!0),eo}},tv=function(Y){var et=e3(ey(Y)),en=[];return eV(et,function(Y){ep(e8,Y)||ep(eR,Y)||e7(en,Y)}),en},tb=function(Y){var et=Y===eQ,en=e3(et?tt:ey(Y)),ei=[];return eV(en,function(Y){ep(e8,Y)&&(!et||ep(eQ,Y))&&e7(ei,e8[Y])}),ei};ef||(eO(eJ=(eX=function(){if(em(eJ,this))throw e0("Symbol is not a constructor");var Y=arguments.length&&void 0!==arguments[0]?ek(arguments[0]):void 0,et=eD(Y),en=function(Y){this===eQ&&ea(en,tt,Y),ep(this,eW)&&ep(this[eW],et)&&(this[eW][et]=!1),tc(this,et,ew(1,Y))};return ed&&tu&&tc(eQ,et,{configurable:!0,set:en}),td(et,Y)})[eK],"toString",function(){return eY(this).tag}),eO(eX,"withoutSetter",function(Y){return td(eD(Y),Y)}),ej.f=tm,eM.f=tf,eP.f=th,eA.f=tg,eC.f=eT.f=tv,eS.f=tb,eB.f=function(Y){return td(eF(Y),Y)},ed&&(eI(eJ,"description",{configurable:!0,get:function(){return eY(this).description}}),ec||eO(eQ,"propertyIsEnumerable",tm,{unsafe:!0}))),ei({global:!0,constructor:!0,wrap:!0,forced:!ef,sham:!ef},{Symbol:eX}),eV(eE(ta),function(Y){ez(Y)}),ei({target:eZ,stat:!0,forced:!ef},{useSetter:function(){tu=!0},useSimple:function(){tu=!1}}),ei({target:"Object",stat:!0,forced:!ef,sham:!ed},{create:tp,defineProperty:tf,defineProperties:th,getOwnPropertyDescriptor:tg}),ei({target:"Object",stat:!0,forced:!ef},{getOwnPropertyNames:tv}),eU(),eH(eX,eZ),eR[eW]=!0},61162:function(){},93:function(Y,et,en){var ei=en(46946),eo=en(43585),ea=en(53461),eu=en(51774),ec=en(40487),ed=en(51655),ef=ec("string-to-symbol-registry"),eh=ec("symbol-to-string-registry");ei({target:"Symbol",stat:!0,forced:!ed},{for:function(Y){var et=eu(Y);if(ea(ef,et))return ef[et];var en=eo("Symbol")(et);return ef[et]=en,eh[en]=et,en}})},79951:function(Y,et,en){en(62077)("hasInstance")},80376:function(Y,et,en){en(62077)("isConcatSpreadable")},9495:function(Y,et,en){en(62077)("iterator")},52366:function(Y,et,en){en(84585),en(93),en(83516),en(80818),en(54142)},83516:function(Y,et,en){var ei=en(46946),eo=en(53461),ea=en(77412),eu=en(98242),ec=en(40487),ed=en(51655),ef=ec("symbol-to-string-registry");ei({target:"Symbol",stat:!0,forced:!ed},{keyFor:function(Y){if(!ea(Y))throw TypeError(eu(Y)+" is not a symbol");if(eo(ef,Y))return ef[Y]}})},49856:function(Y,et,en){en(62077)("matchAll")},99922:function(Y,et,en){en(62077)("match")},48760:function(Y,et,en){en(62077)("replace")},32269:function(Y,et,en){en(62077)("search")},24230:function(Y,et,en){en(62077)("species")},97454:function(Y,et,en){en(62077)("split")},44612:function(Y,et,en){var ei=en(62077),eo=en(28356);ei("toPrimitive"),eo()},89956:function(Y,et,en){var ei=en(43585),eo=en(62077),ea=en(95388);eo("toStringTag"),ea(ei("Symbol"),"Symbol")},17862:function(Y,et,en){en(62077)("unscopables")},72594:function(Y,et,en){en(62077)("asyncDispose")},28338:function(Y,et,en){en(62077)("dispose")},74591:function(Y,et,en){var ei=en(46946),eo=en(43585),ea=en(57043),eu=eo("Symbol"),ec=eu.keyFor,ed=ea(eu.prototype.valueOf);ei({target:"Symbol",stat:!0},{isRegistered:function(Y){try{return void 0!==ec(ed(Y))}catch(Y){return!1}}})},83114:function(Y,et,en){for(var ei=en(46946),eo=en(40487),ea=en(43585),eu=en(57043),ec=en(77412),ed=en(52126),ef=ea("Symbol"),eh=ef.isWellKnown,ep=ea("Object","getOwnPropertyNames"),em=eu(ef.prototype.valueOf),eg=eo("wks"),ey=0,eb=ep(ef),ek=eb.length;ey<ek;ey++)try{var ew=eb[ey];ec(ef[ew])&&ed(ew)}catch(Y){}ei({target:"Symbol",stat:!0,forced:!0},{isWellKnown:function(Y){if(eh&&eh(Y))return!0;try{for(var et=em(Y),en=0,ei=ep(eg),eo=ei.length;en<eo;en++)if(eg[ei[en]]==et)return!0}catch(Y){}return!1}})},94440:function(Y,et,en){en(62077)("matcher")},57495:function(Y,et,en){en(62077)("metadataKey")},13992:function(Y,et,en){en(62077)("metadata")},54997:function(Y,et,en){en(62077)("observable")},94507:function(Y,et,en){en(62077)("patternMatch")},41569:function(Y,et,en){en(62077)("replaceAll")},98313:function(Y,et,en){en(38063);var ei=en(11593),eo=en(9419),ea=en(85153),eu=en(44414),ec=en(52752),ed=en(52126)("toStringTag");for(var ef in ei){var eh=eo[ef],ep=eh&&eh.prototype;ep&&ea(ep)!==ed&&eu(ep,ed,ef),ec[ef]=ec.Array}},71395:function(Y,et,en){var ei=en(46946),eo=en(9419),ea=en(68515)(eo.setInterval,!0);ei({global:!0,bind:!0,forced:eo.setInterval!==ea},{setInterval:ea})},38203:function(Y,et,en){var ei=en(46946),eo=en(9419),ea=en(68515)(eo.setTimeout,!0);ei({global:!0,bind:!0,forced:eo.setTimeout!==ea},{setTimeout:ea})},43344:function(Y,et,en){en(71395),en(38203)},33427:function(Y,et,en){var ei=en(53719);Y.exports=ei},52417:function(Y,et,en){var ei=en(65757);Y.exports=ei},47674:function(Y,et,en){var ei=en(666);Y.exports=ei},64516:function(Y,et,en){var ei=en(23106);Y.exports=ei},11863:function(Y,et,en){var ei=en(3751);en(98313),Y.exports=ei},61206:function(Y,et,en){var ei=en(63968);Y.exports=ei},51564:function(Y,et,en){var ei=en(93793);Y.exports=ei},56238:function(Y,et,en){en(98313);var ei=en(85153),eo=en(53461),ea=en(62527),eu=en(47674),ec=Array.prototype,ed={DOMTokenList:!0,NodeList:!0};Y.exports=function(Y){var et=Y.forEach;return Y===ec||ea(ec,Y)&&et===ec.forEach||eo(ed,ei(Y))?eu:et}},72517:function(Y,et,en){var ei=en(25695);Y.exports=ei},6559:function(Y,et,en){var ei=en(95454);Y.exports=ei},94851:function(Y,et,en){var ei=en(64904);Y.exports=ei},22406:function(Y,et,en){var ei=en(74681);Y.exports=ei},52258:function(Y,et,en){var ei=en(4231);Y.exports=ei},74263:function(Y,et,en){var ei=en(59306);Y.exports=ei},82219:function(Y,et,en){var ei=en(16252);Y.exports=ei},57471:function(Y,et,en){var ei=en(75737);Y.exports=ei},43179:function(Y,et,en){var ei=en(35729);Y.exports=ei},62377:function(Y,et,en){var ei=en(63389);Y.exports=ei},32710:function(Y,et,en){en(43344);var ei=en(3103);Y.exports=ei.setInterval},32745:function(Y,et,en){en(43344);var ei=en(3103);Y.exports=ei.setTimeout},89586:function(Y,et,en){var ei=en(53352);en(98313),Y.exports=ei},12750:function(Y,et,en){var ei=en(4015),eo=en(54347);Y.exports=function(Y){if(ei(Y))return Y;throw TypeError(eo(Y)+" is not a function")}},84179:function(Y,et,en){"use strict";var ei=en(82978).charAt;Y.exports=function(Y,et,en){return et+(en?ei(Y,et).length:1)}},13533:function(Y,et,en){var ei=en(72852);Y.exports=function(Y){if(ei(Y))return Y;throw TypeError(String(Y)+" is not an object")}},73934:function(Y,et,en){var ei=en(97418),eo=en(73154),ea=en(72061),eu=function(Y){return function(et,en,eu){var ec,ed=ei(et),ef=ea(ed),eh=eo(eu,ef);if(Y&&en!=en){for(;ef>eh;)if((ec=ed[eh++])!=ec)return!0}else for(;ef>eh;eh++)if((Y||eh in ed)&&ed[eh]===en)return Y||eh||0;return!Y&&-1}};Y.exports={includes:eu(!0),indexOf:eu(!1)}},2945:function(Y){var et={}.toString;Y.exports=function(Y){return et.call(Y).slice(8,-1)}},81153:function(Y,et,en){var ei=en(85943),eo=en(4015),ea=en(2945),eu=en(30359)("toStringTag"),ec="Arguments"==ea(function(){return arguments}()),ed=function(Y,et){try{return Y[et]}catch(Y){}};Y.exports=ei?ea:function(Y){var et,en,ei;return void 0===Y?"Undefined":null===Y?"Null":"string"==typeof(en=ed(et=Object(Y),eu))?en:ec?ea(et):"Object"==(ei=ea(et))&&eo(et.callee)?"Arguments":ei}},84255:function(Y,et,en){var ei=en(67728),eo=en(2213),ea=en(58776),eu=en(29311);Y.exports=function(Y,et){for(var en=eo(et),ec=eu.f,ed=ea.f,ef=0;ef<en.length;ef++){var eh=en[ef];ei(Y,eh)||ec(Y,eh,ed(et,eh))}}},57695:function(Y,et,en){var ei=en(81846),eo=en(29311),ea=en(7773);Y.exports=ei?function(Y,et,en){return eo.f(Y,et,ea(1,en))}:function(Y,et,en){return Y[et]=en,Y}},7773:function(Y){Y.exports=function(Y,et){return{enumerable:!(1&Y),configurable:!(2&Y),writable:!(4&Y),value:et}}},81846:function(Y,et,en){var ei=en(65905);Y.exports=!ei(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},62770:function(Y,et,en){var ei=en(53392),eo=en(72852),ea=ei.document,eu=eo(ea)&&eo(ea.createElement);Y.exports=function(Y){return eu?ea.createElement(Y):{}}},86175:function(Y,et,en){var ei=en(70773);Y.exports=ei("navigator","userAgent")||""},45873:function(Y,et,en){var ei,eo,ea=en(53392),eu=en(86175),ec=ea.process,ed=ea.Deno,ef=ec&&ec.versions||ed&&ed.version,eh=ef&&ef.v8;eh?eo=(ei=eh.split("."))[0]<4?1:ei[0]+ei[1]:eu&&(!(ei=eu.match(/Edge\/(\d+)/))||ei[1]>=74)&&(ei=eu.match(/Chrome\/(\d+)/))&&(eo=ei[1]),Y.exports=eo&&+eo},31069:function(Y){Y.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},58643:function(Y,et,en){var ei=en(53392),eo=en(58776).f,ea=en(57695),eu=en(81839),ec=en(88461),ed=en(84255),ef=en(71239);Y.exports=function(Y,et){var en,eh,ep,em,eg,ey=Y.target,eb=Y.global,ek=Y.stat;if(en=eb?ei:ek?ei[ey]||ec(ey,{}):(ei[ey]||{}).prototype)for(eh in et){if(em=et[eh],ep=Y.noTargetGet?(eg=eo(en,eh))&&eg.value:en[eh],!ef(eb?eh:ey+(ek?".":"#")+eh,Y.forced)&&void 0!==ep){if(typeof em==typeof ep)continue;ed(em,ep)}(Y.sham||ep&&ep.sham)&&ea(em,"sham",!0),eu(en,eh,em,Y)}}},65905:function(Y){Y.exports=function(Y){try{return!!Y()}catch(Y){return!0}}},42758:function(Y,et,en){"use strict";en(59103);var ei=en(81839),eo=en(60974),ea=en(65905),eu=en(30359),ec=en(57695),ed=eu("species"),ef=RegExp.prototype;Y.exports=function(Y,et,en,eh){var ep=eu(Y),em=!ea(function(){var et={};return et[ep]=function(){return 7},7!=""[Y](et)}),eg=em&&!ea(function(){var et=!1,en=/a/;return"split"===Y&&((en={}).constructor={},en.constructor[ed]=function(){return en},en.flags="",en[ep]=/./[ep]),en.exec=function(){return et=!0,null},en[ep](""),!et});if(!em||!eg||en){var ey=/./[ep],eb=et(ep,""[Y],function(Y,et,en,ei,ea){var eu=et.exec;return eu===eo||eu===ef.exec?em&&!ea?{done:!0,value:ey.call(et,en,ei)}:{done:!0,value:Y.call(en,et,ei)}:{done:!1}});ei(String.prototype,Y,eb[0]),ei(ef,ep,eb[1])}eh&&ec(ef[ep],"sham",!0)}},61336:function(Y,et,en){var ei=en(81846),eo=en(67728),ea=Function.prototype,eu=ei&&Object.getOwnPropertyDescriptor,ec=eo(ea,"name"),ed=ec&&"something"===(function(){}).name,ef=ec&&(!ei||ei&&eu(ea,"name").configurable);Y.exports={EXISTS:ec,PROPER:ed,CONFIGURABLE:ef}},70773:function(Y,et,en){var ei=en(53392),eo=en(4015),ea=function(Y){return eo(Y)?Y:void 0};Y.exports=function(Y,et){return arguments.length<2?ea(ei[Y]):ei[Y]&&ei[Y][et]}},66404:function(Y,et,en){var ei=en(12750);Y.exports=function(Y,et){var en=Y[et];return null==en?void 0:ei(en)}},10860:function(Y,et,en){var ei=en(80362),eo=Math.floor,ea="".replace,eu=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ec=/\$([$&'`]|\d{1,2})/g;Y.exports=function(Y,et,en,ed,ef,eh){var ep=en+Y.length,em=ed.length,eg=ec;return void 0!==ef&&(ef=ei(ef),eg=eu),ea.call(eh,eg,function(ei,ea){var eu;switch(ea.charAt(0)){case"$":return"$";case"&":return Y;case"`":return et.slice(0,en);case"'":return et.slice(ep);case"<":eu=ef[ea.slice(1,-1)];break;default:var ec=+ea;if(0===ec)return ei;if(ec>em){var eh=eo(ec/10);if(0===eh)return ei;if(eh<=em)return void 0===ed[eh-1]?ea.charAt(1):ed[eh-1]+ea.charAt(1);return ei}eu=ed[ec-1]}return void 0===eu?"":eu})}},53392:function(Y,et,en){var ei=function(Y){return Y&&Y.Math==Math&&Y};Y.exports=ei("object"==typeof globalThis&&globalThis)||ei("object"==typeof window&&window)||ei("object"==typeof self&&self)||ei("object"==typeof en.g&&en.g)||function(){return this}()||Function("return this")()},67728:function(Y,et,en){var ei=en(80362),eo={}.hasOwnProperty;Y.exports=Object.hasOwn||function(Y,et){return eo.call(ei(Y),et)}},62998:function(Y){Y.exports={}},19368:function(Y,et,en){var ei=en(70773);Y.exports=ei("document","documentElement")},29630:function(Y,et,en){var ei=en(81846),eo=en(65905),ea=en(62770);Y.exports=!ei&&!eo(function(){return 7!=Object.defineProperty(ea("div"),"a",{get:function(){return 7}}).a})},15338:function(Y,et,en){var ei=en(65905),eo=en(2945),ea="".split;Y.exports=ei(function(){return!Object("z").propertyIsEnumerable(0)})?function(Y){return"String"==eo(Y)?ea.call(Y,""):Object(Y)}:Object},83252:function(Y,et,en){var ei=en(4015),eo=en(20559),ea=Function.toString;ei(eo.inspectSource)||(eo.inspectSource=function(Y){return ea.call(Y)}),Y.exports=eo.inspectSource},3490:function(Y,et,en){var ei,eo,ea,eu=en(18407),ec=en(53392),ed=en(72852),ef=en(57695),eh=en(67728),ep=en(20559),em=en(13131),eg=en(62998),ey="Object already initialized",eb=ec.WeakMap,ek=function(Y){return ea(Y)?eo(Y):ei(Y,{})},ew=function(Y){return function(et){var en;if(!ed(et)||(en=eo(et)).type!==Y)throw TypeError("Incompatible receiver, "+Y+" required");return en}};if(eu||ep.state){var e_=ep.state||(ep.state=new eb),eE=e_.get,eC=e_.has,eT=e_.set;ei=function(Y,et){if(eC.call(e_,Y))throw TypeError(ey);return et.facade=Y,eT.call(e_,Y,et),et},eo=function(Y){return eE.call(e_,Y)||{}},ea=function(Y){return eC.call(e_,Y)}}else{var eS=em("state");eg[eS]=!0,ei=function(Y,et){if(eh(Y,eS))throw TypeError(ey);return et.facade=Y,ef(Y,eS,et),et},eo=function(Y){return eh(Y,eS)?Y[eS]:{}},ea=function(Y){return eh(Y,eS)}}Y.exports={set:ei,get:eo,has:ea,enforce:ek,getterFor:ew}},4015:function(Y){Y.exports=function(Y){return"function"==typeof Y}},71239:function(Y,et,en){var ei=en(65905),eo=en(4015),ea=/#|\.prototype\./,eu=function(Y,et){var en=ed[ec(Y)];return en==eh||en!=ef&&(eo(et)?ei(et):!!et)},ec=eu.normalize=function(Y){return String(Y).replace(ea,".").toLowerCase()},ed=eu.data={},ef=eu.NATIVE="N",eh=eu.POLYFILL="P";Y.exports=eu},72852:function(Y,et,en){var ei=en(4015);Y.exports=function(Y){return"object"==typeof Y?null!==Y:ei(Y)}},49810:function(Y){Y.exports=!1},11874:function(Y,et,en){var ei=en(4015),eo=en(70773),ea=en(75563);Y.exports=ea?function(Y){return"symbol"==typeof Y}:function(Y){var et=eo("Symbol");return ei(et)&&Object(Y) instanceof et}},72061:function(Y,et,en){var ei=en(8924);Y.exports=function(Y){return ei(Y.length)}},83774:function(Y,et,en){var ei=en(45873),eo=en(65905);Y.exports=!!Object.getOwnPropertySymbols&&!eo(function(){var Y=Symbol();return!String(Y)||!(Object(Y) instanceof Symbol)||!Symbol.sham&&ei&&ei<41})},18407:function(Y,et,en){var ei=en(53392),eo=en(4015),ea=en(83252),eu=ei.WeakMap;Y.exports=eo(eu)&&/native code/.test(ea(eu))},49898:function(Y,et,en){var ei,eo=en(13533),ea=en(36627),eu=en(31069),ec=en(62998),ed=en(19368),ef=en(62770),eh=en(13131),ep=">",em="<",eg="prototype",ey="script",eb=eh("IE_PROTO"),ek=function(){},ew=function(Y){return em+ey+ep+Y+em+"/"+ey+ep},e_=function(Y){Y.write(ew("")),Y.close();var et=Y.parentWindow.Object;return Y=null,et},eE=function(){var Y,et=ef("iframe"),en="java"+ey+":";return et.style.display="none",ed.appendChild(et),et.src=String(en),(Y=et.contentWindow.document).open(),Y.write(ew("document.F=Object")),Y.close(),Y.F},eC=function(){try{ei=new ActiveXObject("htmlfile")}catch(Y){}eC="undefined"!=typeof document?document.domain&&ei?e_(ei):eE():e_(ei);for(var Y=eu.length;Y--;)delete eC[eg][eu[Y]];return eC()};ec[eb]=!0,Y.exports=Object.create||function(Y,et){var en;return null!==Y?(ek[eg]=eo(Y),en=new ek,ek[eg]=null,en[eb]=Y):en=eC(),void 0===et?en:ea(en,et)}},36627:function(Y,et,en){var ei=en(81846),eo=en(29311),ea=en(13533),eu=en(8994);Y.exports=ei?Object.defineProperties:function(Y,et){ea(Y);for(var en,ei=eu(et),ec=ei.length,ed=0;ec>ed;)eo.f(Y,en=ei[ed++],et[en]);return Y}},29311:function(Y,et,en){var ei=en(81846),eo=en(29630),ea=en(13533),eu=en(42932),ec=Object.defineProperty;et.f=ei?ec:function(Y,et,en){if(ea(Y),et=eu(et),ea(en),eo)try{return ec(Y,et,en)}catch(Y){}if("get"in en||"set"in en)throw TypeError("Accessors not supported");return"value"in en&&(Y[et]=en.value),Y}},58776:function(Y,et,en){var ei=en(81846),eo=en(34511),ea=en(7773),eu=en(97418),ec=en(42932),ed=en(67728),ef=en(29630),eh=Object.getOwnPropertyDescriptor;et.f=ei?eh:function(Y,et){if(Y=eu(Y),et=ec(et),ef)try{return eh(Y,et)}catch(Y){}if(ed(Y,et))return ea(!eo.f.call(Y,et),Y[et])}},52728:function(Y,et,en){var ei=en(88486),eo=en(31069).concat("length","prototype");et.f=Object.getOwnPropertyNames||function(Y){return ei(Y,eo)}},96932:function(Y,et){et.f=Object.getOwnPropertySymbols},88486:function(Y,et,en){var ei=en(67728),eo=en(97418),ea=en(73934).indexOf,eu=en(62998);Y.exports=function(Y,et){var en,ec=eo(Y),ed=0,ef=[];for(en in ec)!ei(eu,en)&&ei(ec,en)&&ef.push(en);for(;et.length>ed;)ei(ec,en=et[ed++])&&(~ea(ef,en)||ef.push(en));return ef}},8994:function(Y,et,en){var ei=en(88486),eo=en(31069);Y.exports=Object.keys||function(Y){return ei(Y,eo)}},34511:function(Y,et){"use strict";var en={}.propertyIsEnumerable,ei=Object.getOwnPropertyDescriptor,eo=ei&&!en.call({1:2},1);et.f=eo?function(Y){var et=ei(this,Y);return!!et&&et.enumerable}:en},15609:function(Y,et,en){"use strict";var ei=en(85943),eo=en(81153);Y.exports=ei?({}).toString:function(){return"[object "+eo(this)+"]"}},79954:function(Y,et,en){var ei=en(4015),eo=en(72852);Y.exports=function(Y,et){var en,ea;if("string"===et&&ei(en=Y.toString)&&!eo(ea=en.call(Y))||ei(en=Y.valueOf)&&!eo(ea=en.call(Y))||"string"!==et&&ei(en=Y.toString)&&!eo(ea=en.call(Y)))return ea;throw TypeError("Can't convert object to primitive value")}},2213:function(Y,et,en){var ei=en(70773),eo=en(52728),ea=en(96932),eu=en(13533);Y.exports=ei("Reflect","ownKeys")||function(Y){var et=eo.f(eu(Y)),en=ea.f;return en?et.concat(en(Y)):et}},81839:function(Y,et,en){var ei=en(53392),eo=en(4015),ea=en(67728),eu=en(57695),ec=en(88461),ed=en(83252),ef=en(3490),eh=en(61336).CONFIGURABLE,ep=ef.get,em=ef.enforce,eg=String(String).split("String");(Y.exports=function(Y,et,en,ed){var ef,ep=!!ed&&!!ed.unsafe,ey=!!ed&&!!ed.enumerable,eb=!!ed&&!!ed.noTargetGet,ek=ed&&void 0!==ed.name?ed.name:et;if(eo(en)&&("Symbol("===String(ek).slice(0,7)&&(ek="["+String(ek).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ea(en,"name")||eh&&en.name!==ek)&&eu(en,"name",ek),(ef=em(en)).source||(ef.source=eg.join("string"==typeof ek?ek:""))),Y===ei){ey?Y[et]=en:ec(et,en);return}ep?!eb&&Y[et]&&(ey=!0):delete Y[et],ey?Y[et]=en:eu(Y,et,en)})(Function.prototype,"toString",function(){return eo(this)&&ep(this).source||ed(this)})},31336:function(Y,et,en){var ei=en(13533),eo=en(4015),ea=en(2945),eu=en(60974);Y.exports=function(Y,et){var en=Y.exec;if(eo(en)){var ec=en.call(Y,et);return null!==ec&&ei(ec),ec}if("RegExp"===ea(Y))return eu.call(Y,et);throw TypeError("RegExp#exec called on incompatible receiver")}},60974:function(Y,et,en){"use strict";var ei=en(75807),eo=en(7246),ea=en(14207),eu=en(28014),ec=en(49898),ed=en(3490).get,ef=en(34314),eh=en(44309),ep=RegExp.prototype.exec,em=eu("native-string-replace",String.prototype.replace),eg=ep,ey=function(){var Y=/a/,et=/b*/g;return ep.call(Y,"a"),ep.call(et,"a"),0!==Y.lastIndex||0!==et.lastIndex}(),eb=ea.UNSUPPORTED_Y||ea.BROKEN_CARET,ek=void 0!==/()??/.exec("")[1];(ey||ek||eb||ef||eh)&&(eg=function(Y){var et,en,ea,eu,ef,eh,ew,e_=this,eE=ed(e_),eC=ei(Y),eT=eE.raw;if(eT)return eT.lastIndex=e_.lastIndex,et=eg.call(eT,eC),e_.lastIndex=eT.lastIndex,et;var eS=eE.groups,eA=eb&&e_.sticky,eM=eo.call(e_),eP=e_.source,ej=0,eO=eC;if(eA&&(-1===(eM=eM.replace("y","")).indexOf("g")&&(eM+="g"),eO=eC.slice(e_.lastIndex),e_.lastIndex>0&&(!e_.multiline||e_.multiline&&"\n"!==eC.charAt(e_.lastIndex-1))&&(eP="(?: "+eP+")",eO=" "+eO,ej++),en=RegExp("^(?:"+eP+")",eM)),ek&&(en=RegExp("^"+eP+"$(?!\\s)",eM)),ey&&(ea=e_.lastIndex),eu=ep.call(eA?en:e_,eO),eA?eu?(eu.input=eu.input.slice(ej),eu[0]=eu[0].slice(ej),eu.index=e_.lastIndex,e_.lastIndex+=eu[0].length):e_.lastIndex=0:ey&&eu&&(e_.lastIndex=e_.global?eu.index+eu[0].length:ea),ek&&eu&&eu.length>1&&em.call(eu[0],en,function(){for(ef=1;ef<arguments.length-2;ef++)void 0===arguments[ef]&&(eu[ef]=void 0)}),eu&&eS)for(ef=0,eu.groups=eh=ec(null);ef<eS.length;ef++)eh[(ew=eS[ef])[0]]=eu[ew[1]];return eu}),Y.exports=eg},7246:function(Y,et,en){"use strict";var ei=en(13533);Y.exports=function(){var Y=ei(this),et="";return Y.global&&(et+="g"),Y.ignoreCase&&(et+="i"),Y.multiline&&(et+="m"),Y.dotAll&&(et+="s"),Y.unicode&&(et+="u"),Y.sticky&&(et+="y"),et}},14207:function(Y,et,en){var ei=en(65905),eo=en(53392).RegExp;et.UNSUPPORTED_Y=ei(function(){var Y=eo("a","y");return Y.lastIndex=2,null!=Y.exec("abcd")}),et.BROKEN_CARET=ei(function(){var Y=eo("^r","gy");return Y.lastIndex=2,null!=Y.exec("str")})},34314:function(Y,et,en){var ei=en(65905),eo=en(53392).RegExp;Y.exports=ei(function(){var Y=eo(".","s");return!(Y.dotAll&&Y.exec("\n")&&"s"===Y.flags)})},44309:function(Y,et,en){var ei=en(65905),eo=en(53392).RegExp;Y.exports=ei(function(){var Y=eo("(?<a>b)","g");return"b"!==Y.exec("b").groups.a||"bc"!=="b".replace(Y,"$<a>c")})},39899:function(Y){Y.exports=function(Y){if(void 0==Y)throw TypeError("Can't call method on "+Y);return Y}},88461:function(Y,et,en){var ei=en(53392);Y.exports=function(Y,et){try{Object.defineProperty(ei,Y,{value:et,configurable:!0,writable:!0})}catch(en){ei[Y]=et}return et}},13131:function(Y,et,en){var ei=en(28014),eo=en(91511),ea=ei("keys");Y.exports=function(Y){return ea[Y]||(ea[Y]=eo(Y))}},20559:function(Y,et,en){var ei=en(53392),eo=en(88461),ea="__core-js_shared__",eu=ei[ea]||eo(ea,{});Y.exports=eu},28014:function(Y,et,en){var ei=en(49810),eo=en(20559);(Y.exports=function(Y,et){return eo[Y]||(eo[Y]=void 0!==et?et:{})})("versions",[]).push({version:"3.18.3",mode:ei?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},82978:function(Y,et,en){var ei=en(58210),eo=en(75807),ea=en(39899),eu=function(Y){return function(et,en){var eu,ec,ed=eo(ea(et)),ef=ei(en),eh=ed.length;return ef<0||ef>=eh?Y?"":void 0:(eu=ed.charCodeAt(ef))<55296||eu>56319||ef+1===eh||(ec=ed.charCodeAt(ef+1))<56320||ec>57343?Y?ed.charAt(ef):eu:Y?ed.slice(ef,ef+2):(eu-55296<<10)+(ec-56320)+65536}};Y.exports={codeAt:eu(!1),charAt:eu(!0)}},73154:function(Y,et,en){var ei=en(58210),eo=Math.max,ea=Math.min;Y.exports=function(Y,et){var en=ei(Y);return en<0?eo(en+et,0):ea(en,et)}},97418:function(Y,et,en){var ei=en(15338),eo=en(39899);Y.exports=function(Y){return ei(eo(Y))}},58210:function(Y){var et=Math.ceil,en=Math.floor;Y.exports=function(Y){var ei=+Y;return ei!=ei||0===ei?0:(ei>0?en:et)(ei)}},8924:function(Y,et,en){var ei=en(58210),eo=Math.min;Y.exports=function(Y){return Y>0?eo(ei(Y),9007199254740991):0}},80362:function(Y,et,en){var ei=en(39899);Y.exports=function(Y){return Object(ei(Y))}},22184:function(Y,et,en){var ei=en(72852),eo=en(11874),ea=en(66404),eu=en(79954),ec=en(30359)("toPrimitive");Y.exports=function(Y,et){if(!ei(Y)||eo(Y))return Y;var en,ed=ea(Y,ec);if(ed){if(void 0===et&&(et="default"),!ei(en=ed.call(Y,et))||eo(en))return en;throw TypeError("Can't convert object to primitive value")}return void 0===et&&(et="number"),eu(Y,et)}},42932:function(Y,et,en){var ei=en(22184),eo=en(11874);Y.exports=function(Y){var et=ei(Y,"string");return eo(et)?et:String(et)}},85943:function(Y,et,en){var ei=en(30359)("toStringTag"),eo={};eo[ei]="z",Y.exports="[object z]"===String(eo)},75807:function(Y,et,en){var ei=en(81153);Y.exports=function(Y){if("Symbol"===ei(Y))throw TypeError("Cannot convert a Symbol value to a string");return String(Y)}},54347:function(Y){Y.exports=function(Y){try{return String(Y)}catch(Y){return"Object"}}},91511:function(Y){var et=0,en=Math.random();Y.exports=function(Y){return"Symbol("+String(void 0===Y?"":Y)+")_"+(++et+en).toString(36)}},75563:function(Y,et,en){var ei=en(83774);Y.exports=ei&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},30359:function(Y,et,en){var ei=en(53392),eo=en(28014),ea=en(67728),eu=en(91511),ec=en(83774),ed=en(75563),ef=eo("wks"),eh=ei.Symbol,ep=ed?eh:eh&&eh.withoutSetter||eu;Y.exports=function(Y){return ea(ef,Y)&&(ec||"string"==typeof ef[Y])||(ec&&ea(eh,Y)?ef[Y]=eh[Y]:ef[Y]=ep("Symbol."+Y)),ef[Y]}},20542:function(Y,et,en){var ei=en(81839),eo=Date.prototype,ea="Invalid Date",eu="toString",ec=eo[eu],ed=eo.getTime;String(new Date(NaN))!=ea&&ei(eo,eu,function(){var Y=ed.call(this);return Y==Y?ec.call(this):ea})},80936:function(Y,et,en){var ei=en(81846),eo=en(61336).EXISTS,ea=en(29311).f,eu=Function.prototype,ec=eu.toString,ed=/^\s*function ([^ (]*)/,ef="name";ei&&!eo&&ea(eu,ef,{configurable:!0,get:function(){try{return ec.call(this).match(ed)[1]}catch(Y){return""}}})},97331:function(Y,et,en){var ei=en(85943),eo=en(81839),ea=en(15609);ei||eo(Object.prototype,"toString",ea,{unsafe:!0})},59103:function(Y,et,en){"use strict";var ei=en(58643),eo=en(60974);ei({target:"RegExp",proto:!0,forced:/./.exec!==eo},{exec:eo})},7842:function(Y,et,en){"use strict";var ei=en(61336).PROPER,eo=en(81839),ea=en(13533),eu=en(75807),ec=en(65905),ed=en(7246),ef="toString",eh=RegExp.prototype,ep=eh[ef],em=ec(function(){return"/a/b"!=ep.call({source:"a",flags:"b"})}),eg=ei&&ep.name!=ef;(em||eg)&&eo(RegExp.prototype,ef,function(){var Y=ea(this),et=eu(Y.source),en=Y.flags;return"/"+et+"/"+eu(void 0===en&&Y instanceof RegExp&&!("flags"in eh)?ed.call(Y):en)},{unsafe:!0})},88085:function(Y,et,en){"use strict";var ei=en(42758),eo=en(65905),ea=en(13533),eu=en(4015),ec=en(58210),ed=en(8924),ef=en(75807),eh=en(39899),ep=en(84179),em=en(66404),eg=en(10860),ey=en(31336),eb=en(30359)("replace"),ek=Math.max,ew=Math.min,e_=function(Y){return void 0===Y?Y:String(Y)},eE=function(){return"$0"==="a".replace(/./,"$0")}(),eC=function(){return!!/./[eb]&&""===/./[eb]("a","$0")}();ei("replace",function(Y,et,en){var ei=eC?"$":"$0";return[function(Y,en){var ei=eh(this),eo=void 0==Y?void 0:em(Y,eb);return eo?eo.call(Y,ei,en):et.call(ef(ei),Y,en)},function(Y,eo){var eh=ea(this),em=ef(Y);if("string"==typeof eo&&-1===eo.indexOf(ei)&&-1===eo.indexOf("$<")){var eb=en(et,eh,em,eo);if(eb.done)return eb.value}var eE=eu(eo);eE||(eo=ef(eo));var eC=eh.global;if(eC){var eT=eh.unicode;eh.lastIndex=0}for(var eS=[];;){var eA=ey(eh,em);if(null===eA||(eS.push(eA),!eC))break;""===ef(eA[0])&&(eh.lastIndex=ep(em,ed(eh.lastIndex),eT))}for(var eM="",eP=0,ej=0;ej<eS.length;ej++){for(var eO=ef((eA=eS[ej])[0]),eI=ek(ew(ec(eA.index),em.length),0),eN=[],eL=1;eL<eA.length;eL++)eN.push(e_(eA[eL]));var eR=eA.groups;if(eE){var eD=[eO].concat(eN,eI,em);void 0!==eR&&eD.push(eR);var eF=ef(eo.apply(void 0,eD))}else eF=eg(eO,em,eI,eN,eR,eo);eI>=eP&&(eM+=em.slice(eP,eI)+eF,eP=eI+eO.length)}return eM+em.slice(eP)}]},!!eo(function(){var Y=/./;return Y.exec=function(){var Y=[];return Y.groups={a:"7"},Y},"7"!=="".replace(Y,"$<a>")})||!eE||eC)},25766:function(Y,et,en){var ei=en(53140),eo=en(50694);function ea(Y){return null==Y}function eu(Y){var et={};for(var en in Y)et[en]=Y[en];return et}function ec(Y){(Y=eu(Y||{})).whiteList=Y.whiteList||ei.whiteList,Y.onAttr=Y.onAttr||ei.onAttr,Y.onIgnoreAttr=Y.onIgnoreAttr||ei.onIgnoreAttr,Y.safeAttrValue=Y.safeAttrValue||ei.safeAttrValue,this.options=Y}en(66380),ec.prototype.process=function(Y){if(!(Y=(Y=Y||"").toString()))return"";var et=this,en=et.options,ei=en.whiteList,eu=en.onAttr,ec=en.onIgnoreAttr,ed=en.safeAttrValue;return eo(Y,function(Y,et,en,eo,ef){var eh=ei[en],ep=!1;if(!0===eh?ep=eh:"function"==typeof eh?ep=eh(eo):eh instanceof RegExp&&(ep=eh.test(eo)),!0!==ep&&(ep=!1),eo=ed(en,eo)){var em={position:et,sourcePosition:Y,source:ef,isWhite:ep};if(ep){var eg=eu(en,eo,em);return ea(eg)?en+":"+eo:eg}var eg=ec(en,eo,em);if(!ea(eg))return eg}})},Y.exports=ec},53140:function(Y,et){function en(){var Y={};return Y["align-content"]=!1,Y["align-items"]=!1,Y["align-self"]=!1,Y["alignment-adjust"]=!1,Y["alignment-baseline"]=!1,Y.all=!1,Y["anchor-point"]=!1,Y.animation=!1,Y["animation-delay"]=!1,Y["animation-direction"]=!1,Y["animation-duration"]=!1,Y["animation-fill-mode"]=!1,Y["animation-iteration-count"]=!1,Y["animation-name"]=!1,Y["animation-play-state"]=!1,Y["animation-timing-function"]=!1,Y.azimuth=!1,Y["backface-visibility"]=!1,Y.background=!0,Y["background-attachment"]=!0,Y["background-clip"]=!0,Y["background-color"]=!0,Y["background-image"]=!0,Y["background-origin"]=!0,Y["background-position"]=!0,Y["background-repeat"]=!0,Y["background-size"]=!0,Y["baseline-shift"]=!1,Y.binding=!1,Y.bleed=!1,Y["bookmark-label"]=!1,Y["bookmark-level"]=!1,Y["bookmark-state"]=!1,Y.border=!0,Y["border-bottom"]=!0,Y["border-bottom-color"]=!0,Y["border-bottom-left-radius"]=!0,Y["border-bottom-right-radius"]=!0,Y["border-bottom-style"]=!0,Y["border-bottom-width"]=!0,Y["border-collapse"]=!0,Y["border-color"]=!0,Y["border-image"]=!0,Y["border-image-outset"]=!0,Y["border-image-repeat"]=!0,Y["border-image-slice"]=!0,Y["border-image-source"]=!0,Y["border-image-width"]=!0,Y["border-left"]=!0,Y["border-left-color"]=!0,Y["border-left-style"]=!0,Y["border-left-width"]=!0,Y["border-radius"]=!0,Y["border-right"]=!0,Y["border-right-color"]=!0,Y["border-right-style"]=!0,Y["border-right-width"]=!0,Y["border-spacing"]=!0,Y["border-style"]=!0,Y["border-top"]=!0,Y["border-top-color"]=!0,Y["border-top-left-radius"]=!0,Y["border-top-right-radius"]=!0,Y["border-top-style"]=!0,Y["border-top-width"]=!0,Y["border-width"]=!0,Y.bottom=!1,Y["box-decoration-break"]=!0,Y["box-shadow"]=!0,Y["box-sizing"]=!0,Y["box-snap"]=!0,Y["box-suppress"]=!0,Y["break-after"]=!0,Y["break-before"]=!0,Y["break-inside"]=!0,Y["caption-side"]=!1,Y.chains=!1,Y.clear=!0,Y.clip=!1,Y["clip-path"]=!1,Y["clip-rule"]=!1,Y.color=!0,Y["color-interpolation-filters"]=!0,Y["column-count"]=!1,Y["column-fill"]=!1,Y["column-gap"]=!1,Y["column-rule"]=!1,Y["column-rule-color"]=!1,Y["column-rule-style"]=!1,Y["column-rule-width"]=!1,Y["column-span"]=!1,Y["column-width"]=!1,Y.columns=!1,Y.contain=!1,Y.content=!1,Y["counter-increment"]=!1,Y["counter-reset"]=!1,Y["counter-set"]=!1,Y.crop=!1,Y.cue=!1,Y["cue-after"]=!1,Y["cue-before"]=!1,Y.cursor=!1,Y.direction=!1,Y.display=!0,Y["display-inside"]=!0,Y["display-list"]=!0,Y["display-outside"]=!0,Y["dominant-baseline"]=!1,Y.elevation=!1,Y["empty-cells"]=!1,Y.filter=!1,Y.flex=!1,Y["flex-basis"]=!1,Y["flex-direction"]=!1,Y["flex-flow"]=!1,Y["flex-grow"]=!1,Y["flex-shrink"]=!1,Y["flex-wrap"]=!1,Y.float=!1,Y["float-offset"]=!1,Y["flood-color"]=!1,Y["flood-opacity"]=!1,Y["flow-from"]=!1,Y["flow-into"]=!1,Y.font=!0,Y["font-family"]=!0,Y["font-feature-settings"]=!0,Y["font-kerning"]=!0,Y["font-language-override"]=!0,Y["font-size"]=!0,Y["font-size-adjust"]=!0,Y["font-stretch"]=!0,Y["font-style"]=!0,Y["font-synthesis"]=!0,Y["font-variant"]=!0,Y["font-variant-alternates"]=!0,Y["font-variant-caps"]=!0,Y["font-variant-east-asian"]=!0,Y["font-variant-ligatures"]=!0,Y["font-variant-numeric"]=!0,Y["font-variant-position"]=!0,Y["font-weight"]=!0,Y.grid=!1,Y["grid-area"]=!1,Y["grid-auto-columns"]=!1,Y["grid-auto-flow"]=!1,Y["grid-auto-rows"]=!1,Y["grid-column"]=!1,Y["grid-column-end"]=!1,Y["grid-column-start"]=!1,Y["grid-row"]=!1,Y["grid-row-end"]=!1,Y["grid-row-start"]=!1,Y["grid-template"]=!1,Y["grid-template-areas"]=!1,Y["grid-template-columns"]=!1,Y["grid-template-rows"]=!1,Y["hanging-punctuation"]=!1,Y.height=!0,Y.hyphens=!1,Y.icon=!1,Y["image-orientation"]=!1,Y["image-resolution"]=!1,Y["ime-mode"]=!1,Y["initial-letters"]=!1,Y["inline-box-align"]=!1,Y["justify-content"]=!1,Y["justify-items"]=!1,Y["justify-self"]=!1,Y.left=!1,Y["letter-spacing"]=!0,Y["lighting-color"]=!0,Y["line-box-contain"]=!1,Y["line-break"]=!1,Y["line-grid"]=!1,Y["line-height"]=!1,Y["line-snap"]=!1,Y["line-stacking"]=!1,Y["line-stacking-ruby"]=!1,Y["line-stacking-shift"]=!1,Y["line-stacking-strategy"]=!1,Y["list-style"]=!0,Y["list-style-image"]=!0,Y["list-style-position"]=!0,Y["list-style-type"]=!0,Y.margin=!0,Y["margin-bottom"]=!0,Y["margin-left"]=!0,Y["margin-right"]=!0,Y["margin-top"]=!0,Y["marker-offset"]=!1,Y["marker-side"]=!1,Y.marks=!1,Y.mask=!1,Y["mask-box"]=!1,Y["mask-box-outset"]=!1,Y["mask-box-repeat"]=!1,Y["mask-box-slice"]=!1,Y["mask-box-source"]=!1,Y["mask-box-width"]=!1,Y["mask-clip"]=!1,Y["mask-image"]=!1,Y["mask-origin"]=!1,Y["mask-position"]=!1,Y["mask-repeat"]=!1,Y["mask-size"]=!1,Y["mask-source-type"]=!1,Y["mask-type"]=!1,Y["max-height"]=!0,Y["max-lines"]=!1,Y["max-width"]=!0,Y["min-height"]=!0,Y["min-width"]=!0,Y["move-to"]=!1,Y["nav-down"]=!1,Y["nav-index"]=!1,Y["nav-left"]=!1,Y["nav-right"]=!1,Y["nav-up"]=!1,Y["object-fit"]=!1,Y["object-position"]=!1,Y.opacity=!1,Y.order=!1,Y.orphans=!1,Y.outline=!1,Y["outline-color"]=!1,Y["outline-offset"]=!1,Y["outline-style"]=!1,Y["outline-width"]=!1,Y.overflow=!1,Y["overflow-wrap"]=!1,Y["overflow-x"]=!1,Y["overflow-y"]=!1,Y.padding=!0,Y["padding-bottom"]=!0,Y["padding-left"]=!0,Y["padding-right"]=!0,Y["padding-top"]=!0,Y.page=!1,Y["page-break-after"]=!1,Y["page-break-before"]=!1,Y["page-break-inside"]=!1,Y["page-policy"]=!1,Y.pause=!1,Y["pause-after"]=!1,Y["pause-before"]=!1,Y.perspective=!1,Y["perspective-origin"]=!1,Y.pitch=!1,Y["pitch-range"]=!1,Y["play-during"]=!1,Y.position=!1,Y["presentation-level"]=!1,Y.quotes=!1,Y["region-fragment"]=!1,Y.resize=!1,Y.rest=!1,Y["rest-after"]=!1,Y["rest-before"]=!1,Y.richness=!1,Y.right=!1,Y.rotation=!1,Y["rotation-point"]=!1,Y["ruby-align"]=!1,Y["ruby-merge"]=!1,Y["ruby-position"]=!1,Y["shape-image-threshold"]=!1,Y["shape-outside"]=!1,Y["shape-margin"]=!1,Y.size=!1,Y.speak=!1,Y["speak-as"]=!1,Y["speak-header"]=!1,Y["speak-numeral"]=!1,Y["speak-punctuation"]=!1,Y["speech-rate"]=!1,Y.stress=!1,Y["string-set"]=!1,Y["tab-size"]=!1,Y["table-layout"]=!1,Y["text-align"]=!0,Y["text-align-last"]=!0,Y["text-combine-upright"]=!0,Y["text-decoration"]=!0,Y["text-decoration-color"]=!0,Y["text-decoration-line"]=!0,Y["text-decoration-skip"]=!0,Y["text-decoration-style"]=!0,Y["text-emphasis"]=!0,Y["text-emphasis-color"]=!0,Y["text-emphasis-position"]=!0,Y["text-emphasis-style"]=!0,Y["text-height"]=!0,Y["text-indent"]=!0,Y["text-justify"]=!0,Y["text-orientation"]=!0,Y["text-overflow"]=!0,Y["text-shadow"]=!0,Y["text-space-collapse"]=!0,Y["text-transform"]=!0,Y["text-underline-position"]=!0,Y["text-wrap"]=!0,Y.top=!1,Y.transform=!1,Y["transform-origin"]=!1,Y["transform-style"]=!1,Y.transition=!1,Y["transition-delay"]=!1,Y["transition-duration"]=!1,Y["transition-property"]=!1,Y["transition-timing-function"]=!1,Y["unicode-bidi"]=!1,Y["vertical-align"]=!1,Y.visibility=!1,Y["voice-balance"]=!1,Y["voice-duration"]=!1,Y["voice-family"]=!1,Y["voice-pitch"]=!1,Y["voice-range"]=!1,Y["voice-rate"]=!1,Y["voice-stress"]=!1,Y["voice-volume"]=!1,Y.volume=!1,Y["white-space"]=!1,Y.widows=!1,Y.width=!0,Y["will-change"]=!1,Y["word-break"]=!0,Y["word-spacing"]=!0,Y["word-wrap"]=!0,Y["wrap-flow"]=!1,Y["wrap-through"]=!1,Y["writing-mode"]=!1,Y["z-index"]=!1,Y}function ei(Y,et,en){}function eo(Y,et,en){}var ea=/javascript\s*\:/img;function eu(Y,et){return ea.test(et)?"":et}et.whiteList=en(),et.getDefaultWhiteList=en,et.onAttr=ei,et.onIgnoreAttr=eo,et.safeAttrValue=eu},40101:function(Y,et,en){var ei=en(53140),eo=en(25766);function ea(Y,et){return new eo(et).process(Y)}for(var eu in(et=Y.exports=ea).FilterCSS=eo,ei)et[eu]=ei[eu];"undefined"!=typeof window&&(window.filterCSS=Y.exports)},50694:function(Y,et,en){var ei=en(66380);function eo(Y,et){";"!==(Y=ei.trimRight(Y))[Y.length-1]&&(Y+=";");var en=Y.length,eo=!1,ea=0,eu=0,ec="";function ed(){if(!eo){var en=ei.trim(Y.slice(ea,eu)),ed=en.indexOf(":");if(-1!==ed){var ef=ei.trim(en.slice(0,ed)),eh=ei.trim(en.slice(ed+1));if(ef){var ep=et(ea,ec.length,ef,eh,en);ep&&(ec+=ep+"; ")}}}ea=eu+1}for(;eu<en;eu++){var ef=Y[eu];if("/"===ef&&"*"===Y[eu+1]){var eh=Y.indexOf("*/",eu+2);if(-1===eh)break;ea=(eu=eh+1)+1,eo=!1}else"("===ef?eo=!0:")"===ef?eo=!1:";"===ef?eo||ed():"\n"===ef&&ed()}return ei.trim(ec)}Y.exports=eo},66380:function(Y){Y.exports={indexOf:function(Y,et){var en,ei;if(Array.prototype.indexOf)return Y.indexOf(et);for(en=0,ei=Y.length;en<ei;en++)if(Y[en]===et)return en;return -1},forEach:function(Y,et,en){var ei,eo;if(Array.prototype.forEach)return Y.forEach(et,en);for(ei=0,eo=Y.length;ei<eo;ei++)et.call(en,Y[ei],ei,Y)},trim:function(Y){return String.prototype.trim?Y.trim():Y.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(Y){return String.prototype.trimRight?Y.trimRight():Y.replace(/(\s*$)/g,"")}}},24421:function(Y,et,en){"use strict";function ei(Y){var et=new Date(Date.UTC(Y.getFullYear(),Y.getMonth(),Y.getDate(),Y.getHours(),Y.getMinutes(),Y.getSeconds(),Y.getMilliseconds()));return et.setUTCFullYear(Y.getFullYear()),Y.getTime()-et.getTime()}en.d(et,{Z:function(){return ei}})},51516:function(Y,et,en){"use strict";function ei(Y,et){if(et.length<Y)throw TypeError(Y+" argument"+(Y>1?"s":"")+" required, but only "+et.length+" present")}en.d(et,{Z:function(){return ei}})},17224:function(Y,et,en){"use strict";function ei(Y){if(null===Y||!0===Y||!1===Y)return NaN;var et=Number(Y);return isNaN(et)?et:et<0?Math.ceil(et):Math.floor(et)}en.d(et,{Z:function(){return ei}})},28734:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ea}});var ei=en(51516);function eo(Y){return(eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}function ea(Y){(0,ei.Z)(1,arguments);var et=Object.prototype.toString.call(Y);return Y instanceof Date||"object"===eo(Y)&&"[object Date]"===et?new Date(Y.getTime()):"number"==typeof Y||"[object Number]"===et?new Date(Y):(("string"==typeof Y||"[object String]"===et)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}},25416:function(Y,et,en){"use strict";var ei=en(38315),eo="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),ea=Object.prototype.toString,eu=Array.prototype.concat,ec=Object.defineProperty,ed=function(Y){return"function"==typeof Y&&"[object Function]"===ea.call(Y)},ef=en(28030)(),eh=ec&&ef,ep=function(Y,et,en,ei){if(et in Y){if(!0===ei){if(Y[et]===en)return}else if(!ed(ei)||!ei())return}eh?ec(Y,et,{configurable:!0,enumerable:!1,value:en,writable:!0}):Y[et]=en},em=function(Y,et){var en=arguments.length>2?arguments[2]:{},ea=ei(et);eo&&(ea=eu.call(ea,Object.getOwnPropertySymbols(et)));for(var ec=0;ec<ea.length;ec+=1)ep(Y,ea[ec],et[ea[ec]],en[ea[ec]])};em.supportsDescriptors=!!eh,Y.exports=em},37593:function(Y){"use strict";function et(Y,et){if(null==Y)throw TypeError("Cannot convert first argument to object");for(var en=Object(Y),ei=1;ei<arguments.length;ei++){var eo=arguments[ei];if(null!=eo)for(var ea=Object.keys(Object(eo)),eu=0,ec=ea.length;eu<ec;eu++){var ed=ea[eu],ef=Object.getOwnPropertyDescriptor(eo,ed);void 0!==ef&&ef.enumerable&&(en[ed]=eo[ed])}}return en}function en(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:et})}Y.exports={assign:et,polyfill:en}},36560:function(Y){"use strict";var et,en="object"==typeof Reflect?Reflect:null,ei=en&&"function"==typeof en.apply?en.apply:function(Y,et,en){return Function.prototype.apply.call(Y,et,en)};function eo(Y){console&&console.warn&&console.warn(Y)}et=en&&"function"==typeof en.ownKeys?en.ownKeys:Object.getOwnPropertySymbols?function(Y){return Object.getOwnPropertyNames(Y).concat(Object.getOwnPropertySymbols(Y))}:function(Y){return Object.getOwnPropertyNames(Y)};var ea=Number.isNaN||function(Y){return Y!=Y};function eu(){eu.init.call(this)}Y.exports=eu,Y.exports.once=e_,eu.EventEmitter=eu,eu.prototype._events=void 0,eu.prototype._eventsCount=0,eu.prototype._maxListeners=void 0;var ec=10;function ed(Y){if("function"!=typeof Y)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof Y)}function ef(Y){return void 0===Y._maxListeners?eu.defaultMaxListeners:Y._maxListeners}function eh(Y,et,en,ei){if(ed(en),void 0===(eu=Y._events)?(eu=Y._events=Object.create(null),Y._eventsCount=0):(void 0!==eu.newListener&&(Y.emit("newListener",et,en.listener?en.listener:en),eu=Y._events),ec=eu[et]),void 0===ec)ec=eu[et]=en,++Y._eventsCount;else if("function"==typeof ec?ec=eu[et]=ei?[en,ec]:[ec,en]:ei?ec.unshift(en):ec.push(en),(ea=ef(Y))>0&&ec.length>ea&&!ec.warned){ec.warned=!0;var ea,eu,ec,eh=Error("Possible EventEmitter memory leak detected. "+ec.length+" "+String(et)+" listeners added. Use emitter.setMaxListeners() to increase limit");eh.name="MaxListenersExceededWarning",eh.emitter=Y,eh.type=et,eh.count=ec.length,eo(eh)}return Y}function ep(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function em(Y,et,en){var ei={fired:!1,wrapFn:void 0,target:Y,type:et,listener:en},eo=ep.bind(ei);return eo.listener=en,ei.wrapFn=eo,eo}function eg(Y,et,en){var ei=Y._events;if(void 0===ei)return[];var eo=ei[et];return void 0===eo?[]:"function"==typeof eo?en?[eo.listener||eo]:[eo]:en?ew(eo):eb(eo,eo.length)}function ey(Y){var et=this._events;if(void 0!==et){var en=et[Y];if("function"==typeof en)return 1;if(void 0!==en)return en.length}return 0}function eb(Y,et){for(var en=Array(et),ei=0;ei<et;++ei)en[ei]=Y[ei];return en}function ek(Y,et){for(;et+1<Y.length;et++)Y[et]=Y[et+1];Y.pop()}function ew(Y){for(var et=Array(Y.length),en=0;en<et.length;++en)et[en]=Y[en].listener||Y[en];return et}function e_(Y,et){return new Promise(function(en,ei){function eo(en){Y.removeListener(et,ea),ei(en)}function ea(){"function"==typeof Y.removeListener&&Y.removeListener("error",eo),en([].slice.call(arguments))}eC(Y,et,ea,{once:!0}),"error"!==et&&eE(Y,eo,{once:!0})})}function eE(Y,et,en){"function"==typeof Y.on&&eC(Y,"error",et,en)}function eC(Y,et,en,ei){if("function"==typeof Y.on)ei.once?Y.once(et,en):Y.on(et,en);else if("function"==typeof Y.addEventListener)Y.addEventListener(et,function eo(ea){ei.once&&Y.removeEventListener(et,eo),en(ea)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof Y)}Object.defineProperty(eu,"defaultMaxListeners",{enumerable:!0,get:function(){return ec},set:function(Y){if("number"!=typeof Y||Y<0||ea(Y))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Y+".");ec=Y}}),eu.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},eu.prototype.setMaxListeners=function(Y){if("number"!=typeof Y||Y<0||ea(Y))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Y+".");return this._maxListeners=Y,this},eu.prototype.getMaxListeners=function(){return ef(this)},eu.prototype.emit=function(Y){for(var et=[],en=1;en<arguments.length;en++)et.push(arguments[en]);var eo="error"===Y,ea=this._events;if(void 0!==ea)eo=eo&&void 0===ea.error;else if(!eo)return!1;if(eo){if(et.length>0&&(eu=et[0]),eu instanceof Error)throw eu;var eu,ec=Error("Unhandled error."+(eu?" ("+eu.message+")":""));throw ec.context=eu,ec}var ed=ea[Y];if(void 0===ed)return!1;if("function"==typeof ed)ei(ed,this,et);else for(var ef=ed.length,eh=eb(ed,ef),en=0;en<ef;++en)ei(eh[en],this,et);return!0},eu.prototype.addListener=function(Y,et){return eh(this,Y,et,!1)},eu.prototype.on=eu.prototype.addListener,eu.prototype.prependListener=function(Y,et){return eh(this,Y,et,!0)},eu.prototype.once=function(Y,et){return ed(et),this.on(Y,em(this,Y,et)),this},eu.prototype.prependOnceListener=function(Y,et){return ed(et),this.prependListener(Y,em(this,Y,et)),this},eu.prototype.removeListener=function(Y,et){var en,ei,eo,ea,eu;if(ed(et),void 0===(ei=this._events)||void 0===(en=ei[Y]))return this;if(en===et||en.listener===et)0==--this._eventsCount?this._events=Object.create(null):(delete ei[Y],ei.removeListener&&this.emit("removeListener",Y,en.listener||et));else if("function"!=typeof en){for(eo=-1,ea=en.length-1;ea>=0;ea--)if(en[ea]===et||en[ea].listener===et){eu=en[ea].listener,eo=ea;break}if(eo<0)return this;0===eo?en.shift():ek(en,eo),1===en.length&&(ei[Y]=en[0]),void 0!==ei.removeListener&&this.emit("removeListener",Y,eu||et)}return this},eu.prototype.off=eu.prototype.removeListener,eu.prototype.removeAllListeners=function(Y){var et,en,ei;if(void 0===(en=this._events))return this;if(void 0===en.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==en[Y]&&(0==--this._eventsCount?this._events=Object.create(null):delete en[Y]),this;if(0==arguments.length){var eo,ea=Object.keys(en);for(ei=0;ei<ea.length;++ei)"removeListener"!==(eo=ea[ei])&&this.removeAllListeners(eo);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(et=en[Y]))this.removeListener(Y,et);else if(void 0!==et)for(ei=et.length-1;ei>=0;ei--)this.removeListener(Y,et[ei]);return this},eu.prototype.listeners=function(Y){return eg(this,Y,!0)},eu.prototype.rawListeners=function(Y){return eg(this,Y,!1)},eu.listenerCount=function(Y,et){return"function"==typeof Y.listenerCount?Y.listenerCount(et):ey.call(Y,et)},eu.prototype.listenerCount=ey,eu.prototype.eventNames=function(){return this._eventsCount>0?et(this._events):[]}},24740:function(Y){"use strict";var et=Object.prototype.hasOwnProperty,en=Object.prototype.toString,ei=Object.defineProperty,eo=Object.getOwnPropertyDescriptor,ea=function(Y){return"function"==typeof Array.isArray?Array.isArray(Y):"[object Array]"===en.call(Y)},eu=function(Y){if(!Y||"[object Object]"!==en.call(Y))return!1;var ei,eo=et.call(Y,"constructor"),ea=Y.constructor&&Y.constructor.prototype&&et.call(Y.constructor.prototype,"isPrototypeOf");if(Y.constructor&&!eo&&!ea)return!1;for(ei in Y);return void 0===ei||et.call(Y,ei)},ec=function(Y,et){ei&&"__proto__"===et.name?ei(Y,et.name,{enumerable:!0,configurable:!0,value:et.newValue,writable:!0}):Y[et.name]=et.newValue},ed=function(Y,en){if("__proto__"===en){if(!et.call(Y,en))return;if(eo)return eo(Y,en).value}return Y[en]};Y.exports=function Y(){var et,en,ei,eo,ef,eh,ep=arguments[0],em=1,eg=arguments.length,ey=!1;for("boolean"==typeof ep&&(ey=ep,ep=arguments[1]||{},em=2),(null==ep||"object"!=typeof ep&&"function"!=typeof ep)&&(ep={});em<eg;++em)if(et=arguments[em],null!=et)for(en in et)ei=ed(ep,en),ep!==(eo=ed(et,en))&&(ey&&eo&&(eu(eo)||(ef=ea(eo)))?(ef?(ef=!1,eh=ei&&ea(ei)?ei:[]):eh=ei&&eu(ei)?ei:{},ec(ep,{name:en,newValue:Y(ey,eh,eo)})):void 0!==eo&&ec(ep,{name:en,newValue:eo}));return ep}},65237:function(Y,et){var en=Object.keys;et.D=function(Y,et){if(Y===et)return!0;if(!(Y instanceof Object)||!(et instanceof Object))return!1;for(var ei=en(Y),eo=ei.length,ea=0;ea<eo;ea++)if(!(ei[ea]in et))return!1;for(var ea=0;ea<eo;ea++)if(Y[ei[ea]]!==et[ei[ea]])return!1;return eo===en(et).length}},6862:function(Y,et,en){"use strict";var ei=en(20387),eo=Object.prototype.toString,ea=Object.prototype.hasOwnProperty,eu=function(Y,et,en){for(var ei=0,eo=Y.length;ei<eo;ei++)ea.call(Y,ei)&&(null==en?et(Y[ei],ei,Y):et.call(en,Y[ei],ei,Y))},ec=function(Y,et,en){for(var ei=0,eo=Y.length;ei<eo;ei++)null==en?et(Y.charAt(ei),ei,Y):et.call(en,Y.charAt(ei),ei,Y)},ed=function(Y,et,en){for(var ei in Y)ea.call(Y,ei)&&(null==en?et(Y[ei],ei,Y):et.call(en,Y[ei],ei,Y))},ef=function(Y,et,en){var ea;if(!ei(et))throw TypeError("iterator must be a function");arguments.length>=3&&(ea=en),"[object Array]"===eo.call(Y)?eu(Y,et,ea):"string"==typeof Y?ec(Y,et,ea):ed(Y,et,ea)};Y.exports=ef},98544:function(Y){!function(){var et;function en(){console.log(eo.apply(null,arguments))}function ei(Y,et){return eo.apply(null,[Y].concat(et))}function eo(Y){for(var et,en,ei,eo,ea=1,eu=[].slice.call(arguments),ec=0,ed=Y.length,ef="",eh=!1,ep=!1,em=function(){return eu[ea++]},eg=function(){for(var en="";/\d/.test(Y[ec]);)en+=Y[ec++],et=Y[ec];return en.length>0?parseInt(en):null};ec<ed;++ec)if(et=Y[ec],eh)switch(eh=!1,"."==et?(ep=!1,et=Y[++ec]):"0"==et&&"."==Y[ec+1]?(ep=!0,ec+=2,et=Y[ec]):ep=!0,eo=eg(),et){case"b":ef+=parseInt(em(),10).toString(2);break;case"c":"string"==typeof(en=em())||en instanceof String?ef+=en:ef+=String.fromCharCode(parseInt(en,10));break;case"d":ef+=parseInt(em(),10);break;case"f":ei=String(parseFloat(em()).toFixed(eo||6)),ef+=ep?ei:ei.replace(/^0/,"");break;case"j":ef+=JSON.stringify(em());break;case"o":ef+="0"+parseInt(em(),10).toString(8);break;case"s":ef+=em();break;case"x":ef+="0x"+parseInt(em(),10).toString(16);break;case"X":ef+="0x"+parseInt(em(),10).toString(16).toUpperCase();break;default:ef+=et}else"%"===et?eh=!0:ef+=et;return ef}(et=Y.exports=eo).format=eo,et.vsprintf=ei,"undefined"!=typeof console&&"function"==typeof console.log&&(et.printf=en)}()},6574:function(Y){"use strict";var et="Function.prototype.bind called on incompatible ",en=Array.prototype.slice,ei=Object.prototype.toString,eo="[object Function]";Y.exports=function(Y){var ea,eu=this;if("function"!=typeof eu||ei.call(eu)!==eo)throw TypeError(et+eu);for(var ec=en.call(arguments,1),ed=function(){if(!(this instanceof ea))return eu.apply(Y,ec.concat(en.call(arguments)));var et=eu.apply(this,ec.concat(en.call(arguments)));return Object(et)===et?et:this},ef=Math.max(0,eu.length-ec.length),eh=[],ep=0;ep<ef;ep++)eh.push("$"+ep);if(ea=Function("binder","return function ("+eh.join(",")+"){ return binder.apply(this,arguments); }")(ed),eu.prototype){var em=function(){};em.prototype=eu.prototype,ea.prototype=new em,em.prototype=null}return ea}},4148:function(Y,et,en){"use strict";var ei=en(6574);Y.exports=Function.prototype.bind||ei},38514:function(Y,et,en){"use strict";var ei,eo=SyntaxError,ea=Function,eu=TypeError,ec=function(Y){try{return ea('"use strict"; return ('+Y+").constructor;")()}catch(Y){}},ed=Object.getOwnPropertyDescriptor;if(ed)try{ed({},"")}catch(Y){ed=null}var ef=function(){throw new eu},eh=ed?function(){try{return arguments.callee,ef}catch(Y){try{return ed(arguments,"callee").get}catch(Y){return ef}}}():ef,ep=en(22499)(),em=Object.getPrototypeOf||function(Y){return Y.__proto__},eg={},ey="undefined"==typeof Uint8Array?ei:em(Uint8Array),eb={"%AggregateError%":"undefined"==typeof AggregateError?ei:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?ei:ArrayBuffer,"%ArrayIteratorPrototype%":ep?em([][Symbol.iterator]()):ei,"%AsyncFromSyncIteratorPrototype%":ei,"%AsyncFunction%":eg,"%AsyncGenerator%":eg,"%AsyncGeneratorFunction%":eg,"%AsyncIteratorPrototype%":eg,"%Atomics%":"undefined"==typeof Atomics?ei:Atomics,"%BigInt%":"undefined"==typeof BigInt?ei:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?ei:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?ei:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?ei:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?ei:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?ei:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?ei:FinalizationRegistry,"%Function%":ea,"%GeneratorFunction%":eg,"%Int8Array%":"undefined"==typeof Int8Array?ei:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?ei:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?ei:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ep?em(em([][Symbol.iterator]())):ei,"%JSON%":"object"==typeof JSON?JSON:ei,"%Map%":"undefined"==typeof Map?ei:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&ep?em(new Map()[Symbol.iterator]()):ei,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?ei:Promise,"%Proxy%":"undefined"==typeof Proxy?ei:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?ei:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?ei:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&ep?em(new Set()[Symbol.iterator]()):ei,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?ei:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ep?em(""[Symbol.iterator]()):ei,"%Symbol%":ep?Symbol:ei,"%SyntaxError%":eo,"%ThrowTypeError%":eh,"%TypedArray%":ey,"%TypeError%":eu,"%Uint8Array%":"undefined"==typeof Uint8Array?ei:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?ei:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?ei:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?ei:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?ei:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?ei:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?ei:WeakSet};try{null.error}catch(Y){var ek=em(em(Y));eb["%Error.prototype%"]=ek}var ew=function Y(et){var en;if("%AsyncFunction%"===et)en=ec("async function () {}");else if("%GeneratorFunction%"===et)en=ec("function* () {}");else if("%AsyncGeneratorFunction%"===et)en=ec("async function* () {}");else if("%AsyncGenerator%"===et){var ei=Y("%AsyncGeneratorFunction%");ei&&(en=ei.prototype)}else if("%AsyncIteratorPrototype%"===et){var eo=Y("%AsyncGenerator%");eo&&(en=em(eo.prototype))}return eb[et]=en,en},e_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},eE=en(4148),eC=en(43494),eT=eE.call(Function.call,Array.prototype.concat),eS=eE.call(Function.apply,Array.prototype.splice),eA=eE.call(Function.call,String.prototype.replace),eM=eE.call(Function.call,String.prototype.slice),eP=eE.call(Function.call,RegExp.prototype.exec),ej=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,eO=/\\(\\)?/g,eI=function(Y){var et=eM(Y,0,1),en=eM(Y,-1);if("%"===et&&"%"!==en)throw new eo("invalid intrinsic syntax, expected closing `%`");if("%"===en&&"%"!==et)throw new eo("invalid intrinsic syntax, expected opening `%`");var ei=[];return eA(Y,ej,function(Y,et,en,eo){ei[ei.length]=en?eA(eo,eO,"$1"):et||Y}),ei},eN=function(Y,et){var en,ei=Y;if(eC(e_,ei)&&(ei="%"+(en=e_[ei])[0]+"%"),eC(eb,ei)){var ea=eb[ei];if(ea===eg&&(ea=ew(ei)),void 0===ea&&!et)throw new eu("intrinsic "+Y+" exists, but is not available. Please file an issue!");return{alias:en,name:ei,value:ea}}throw new eo("intrinsic "+Y+" does not exist!")};Y.exports=function(Y,et){if("string"!=typeof Y||0===Y.length)throw new eu("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof et)throw new eu('"allowMissing" argument must be a boolean');if(null===eP(/^%?[^%]*%?$/,Y))throw new eo("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var en=eI(Y),ei=en.length>0?en[0]:"",ea=eN("%"+ei+"%",et),ec=ea.name,ef=ea.value,eh=!1,ep=ea.alias;ep&&(ei=ep[0],eS(en,eT([0,1],ep)));for(var em=1,eg=!0;em<en.length;em+=1){var ey=en[em],ek=eM(ey,0,1),ew=eM(ey,-1);if(('"'===ek||"'"===ek||"`"===ek||'"'===ew||"'"===ew||"`"===ew)&&ek!==ew)throw new eo("property names with quotes must have matching quotes");if("constructor"!==ey&&eg||(eh=!0),ei+="."+ey,eC(eb,ec="%"+ei+"%"))ef=eb[ec];else if(null!=ef){if(!(ey in ef)){if(!et)throw new eu("base intrinsic for "+Y+" exists, but the property is not available.");return}if(ed&&em+1>=en.length){var e_=ed(ef,ey);ef=(eg=!!e_)&&"get"in e_&&!("originalValue"in e_.get)?e_.get:ef[ey]}else eg=eC(ef,ey),ef=ef[ey];eg&&!eh&&(eb[ec]=ef)}}return ef}},49662:function(Y,et,en){"use strict";var ei=en(38514)("%Object.getOwnPropertyDescriptor%",!0);if(ei)try{ei([],"length")}catch(Y){ei=null}Y.exports=ei},28030:function(Y,et,en){"use strict";var ei=en(38514)("%Object.defineProperty%",!0),eo=function(){if(ei)try{return ei({},"a",{value:1}),!0}catch(Y){}return!1};eo.hasArrayLengthDefineBug=function(){if(!eo())return null;try{return 1!==ei([],"length",{value:1}).length}catch(Y){return!0}},Y.exports=eo},22499:function(Y,et,en){"use strict";var ei="undefined"!=typeof Symbol&&Symbol,eo=en(82171);Y.exports=function(){return"function"==typeof ei&&"function"==typeof Symbol&&"symbol"==typeof ei("foo")&&"symbol"==typeof Symbol("bar")&&eo()}},82171:function(Y){"use strict";Y.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var Y={},et=Symbol("test"),en=Object(et);if("string"==typeof et||"[object Symbol]"!==Object.prototype.toString.call(et)||"[object Symbol]"!==Object.prototype.toString.call(en))return!1;var ei=42;for(et in Y[et]=ei,Y)return!1;if("function"==typeof Object.keys&&0!==Object.keys(Y).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(Y).length)return!1;var eo=Object.getOwnPropertySymbols(Y);if(1!==eo.length||eo[0]!==et||!Object.prototype.propertyIsEnumerable.call(Y,et))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var ea=Object.getOwnPropertyDescriptor(Y,et);if(ea.value!==ei||!0!==ea.enumerable)return!1}return!0}},3825:function(Y,et,en){"use strict";var ei=en(82171);Y.exports=function(){return ei()&&!!Symbol.toStringTag}},43494:function(Y,et,en){"use strict";var ei=en(4148);Y.exports=ei.call(Function.call,Object.prototype.hasOwnProperty)},26095:function(Y,et,en){"use strict";var ei=en(65566),eo={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ea={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},eu={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ec={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ed={};function ef(Y){return ei.isMemo(Y)?ec:ed[Y.$$typeof]||eo}ed[ei.ForwardRef]=eu,ed[ei.Memo]=ec;var eh=Object.defineProperty,ep=Object.getOwnPropertyNames,em=Object.getOwnPropertySymbols,eg=Object.getOwnPropertyDescriptor,ey=Object.getPrototypeOf,eb=Object.prototype;function ek(Y,et,en){if("string"!=typeof et){if(eb){var ei=ey(et);ei&&ei!==eb&&ek(Y,ei,en)}var eo=ep(et);em&&(eo=eo.concat(em(et)));for(var eu=ef(Y),ec=ef(et),ed=0;ed<eo.length;++ed){var ew=eo[ed];if(!ea[ew]&&!(en&&en[ew])&&!(ec&&ec[ew])&&!(eu&&eu[ew])){var e_=eg(et,ew);try{eh(Y,ew,e_)}catch(Y){}}}}return Y}Y.exports=ek},32093:function(Y,et){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */et.read=function(Y,et,en,ei,eo){var ea,eu,ec=8*eo-ei-1,ed=(1<<ec)-1,ef=ed>>1,eh=-7,ep=en?eo-1:0,em=en?-1:1,eg=Y[et+ep];for(ep+=em,ea=eg&(1<<-eh)-1,eg>>=-eh,eh+=ec;eh>0;ea=256*ea+Y[et+ep],ep+=em,eh-=8);for(eu=ea&(1<<-eh)-1,ea>>=-eh,eh+=ei;eh>0;eu=256*eu+Y[et+ep],ep+=em,eh-=8);if(0===ea)ea=1-ef;else{if(ea===ed)return eu?NaN:(eg?-1:1)*(1/0);eu+=Math.pow(2,ei),ea-=ef}return(eg?-1:1)*eu*Math.pow(2,ea-ei)},et.write=function(Y,et,en,ei,eo,ea){var eu,ec,ed,ef=8*ea-eo-1,eh=(1<<ef)-1,ep=eh>>1,em=23===eo?5960464477539062e-23:0,eg=ei?0:ea-1,ey=ei?1:-1,eb=et<0||0===et&&1/et<0?1:0;for(isNaN(et=Math.abs(et))||et===1/0?(ec=isNaN(et)?1:0,eu=eh):(eu=Math.floor(Math.log(et)/Math.LN2),et*(ed=Math.pow(2,-eu))<1&&(eu--,ed*=2),eu+ep>=1?et+=em/ed:et+=em*Math.pow(2,1-ep),et*ed>=2&&(eu++,ed/=2),eu+ep>=eh?(ec=0,eu=eh):eu+ep>=1?(ec=(et*ed-1)*Math.pow(2,eo),eu+=ep):(ec=et*Math.pow(2,ep-1)*Math.pow(2,eo),eu=0));eo>=8;Y[en+eg]=255&ec,eg+=ey,ec/=256,eo-=8);for(eu=eu<<eo|ec,ef+=eo;ef>0;Y[en+eg]=255&eu,eg+=ey,eu/=256,ef-=8);Y[en+eg-ey]|=128*eb}},89118:function(Y){"function"==typeof Object.create?Y.exports=function(Y,et){et&&(Y.super_=et,Y.prototype=Object.create(et.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}}))}:Y.exports=function(Y,et){if(et){Y.super_=et;var en=function(){};en.prototype=et.prototype,Y.prototype=new en,Y.prototype.constructor=Y}}},29058:function(Y){var et=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,en=/\n/g,ei=/^\s*/,eo=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,ea=/^:\s*/,eu=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ec=/^[;\s]*/,ed=/^\s+|\s+$/g,ef="\n",eh="/",ep="*",em="",eg="comment",ey="declaration";function eb(Y){return Y?Y.replace(ed,em):em}Y.exports=function(Y,ed){if("string"!=typeof Y)throw TypeError("First argument must be a string");if(!Y)return[];ed=ed||{};var ek=1,ew=1;function e_(Y){var et=Y.match(en);et&&(ek+=et.length);var ei=Y.lastIndexOf(ef);ew=~ei?Y.length-ei:ew+Y.length}function eE(){var Y={line:ek,column:ew};return function(et){return et.position=new eC(Y),eM(),et}}function eC(Y){this.start=Y,this.end={line:ek,column:ew},this.source=ed.source}eC.prototype.content=Y;var eT=[];function eS(et){var en=Error(ed.source+":"+ek+":"+ew+": "+et);if(en.reason=et,en.filename=ed.source,en.line=ek,en.column=ew,en.source=Y,ed.silent)eT.push(en);else throw en}function eA(et){var en=et.exec(Y);if(en){var ei=en[0];return e_(ei),Y=Y.slice(ei.length),en}}function eM(){eA(ei)}function eP(Y){var et;for(Y=Y||[];et=ej();)!1!==et&&Y.push(et);return Y}function ej(){var et=eE();if(eh==Y.charAt(0)&&ep==Y.charAt(1)){for(var en=2;em!=Y.charAt(en)&&(ep!=Y.charAt(en)||eh!=Y.charAt(en+1));)++en;if(en+=2,em===Y.charAt(en-1))return eS("End of comment missing");var ei=Y.slice(2,en-2);return ew+=2,e_(ei),Y=Y.slice(en),ew+=2,et({type:eg,comment:ei})}}function eO(){var Y=eE(),en=eA(eo);if(en){if(ej(),!eA(ea))return eS("property missing ':'");var ei=eA(eu),ed=Y({type:ey,property:eb(en[0].replace(et,em)),value:ei?eb(ei[0].replace(et,em)):em});return eA(ec),ed}}function eI(){var Y,et=[];for(eP(et);Y=eO();)!1!==Y&&(et.push(Y),eP(et));return et}return eM(),eI()}},10283:function(Y,et,en){"use strict";en.d(et,{C:function(){return ep}});var ei=en(38104),eo=en(83608),ea=en(34239),eu=en(33614);function ec(Y,et){return et?(0,ei.pi)((0,ei.pi)((0,ei.pi)({},Y||{}),et||{}),Object.keys(Y).reduce(function(en,eo){return en[eo]=(0,ei.pi)((0,ei.pi)({},Y[eo]),et[eo]||{}),en},{})):Y}function ed(Y,et){return et?Object.keys(Y).reduce(function(en,ei){return en[ei]=ec(Y[ei],et[ei]),en},(0,ei.pi)({},Y)):Y}function ef(Y){return{create:function(){return{get:function(et){return Y[et]},set:function(et,en){Y[et]=en}}}}}function eh(Y){return void 0===Y&&(Y={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,ea.H)(function(){for(var Y,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];return new((Y=Intl.NumberFormat).bind.apply(Y,(0,ei.ev)([void 0],et,!1)))},{cache:ef(Y.number),strategy:ea.A.variadic}),getDateTimeFormat:(0,ea.H)(function(){for(var Y,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];return new((Y=Intl.DateTimeFormat).bind.apply(Y,(0,ei.ev)([void 0],et,!1)))},{cache:ef(Y.dateTime),strategy:ea.A.variadic}),getPluralRules:(0,ea.H)(function(){for(var Y,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];return new((Y=Intl.PluralRules).bind.apply(Y,(0,ei.ev)([void 0],et,!1)))},{cache:ef(Y.pluralRules),strategy:ea.A.variadic})}}var ep=function(){function Y(et,en,eo,ea){void 0===en&&(en=Y.defaultLocale);var ec=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(Y){var et=ec.formatToParts(Y);if(1===et.length)return et[0].value;var en=et.reduce(function(Y,et){return Y.length&&et.type===eu.du.literal&&"string"==typeof Y[Y.length-1]?Y[Y.length-1]+=et.value:Y.push(et.value),Y},[]);return en.length<=1?en[0]||"":en},this.formatToParts=function(Y){return(0,eu.FK)(ec.ast,ec.locales,ec.formatters,ec.formats,Y,void 0,ec.message)},this.resolvedOptions=function(){var Y;return{locale:(null===(Y=ec.resolvedLocale)||void 0===Y?void 0:Y.toString())||Intl.NumberFormat.supportedLocalesOf(ec.locales)[0]}},this.getAst=function(){return ec.ast},this.locales=en,this.resolvedLocale=Y.resolveLocale(en),"string"==typeof et){if(this.message=et,!Y.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var ef=ea||{},ep=(ef.formatters,(0,ei._T)(ef,["formatters"]));this.ast=Y.__parse(et,(0,ei.pi)((0,ei.pi)({},ep),{locale:this.resolvedLocale}))}else this.ast=et;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=ed(Y.formats,eo),this.formatters=ea&&ea.formatters||eh(this.formatterCache)}return Object.defineProperty(Y,"defaultLocale",{get:function(){return Y.memoizedDefaultLocale||(Y.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),Y.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Y.memoizedDefaultLocale=null,Y.resolveLocale=function(Y){if(void 0!==Intl.Locale){var et=Intl.NumberFormat.supportedLocalesOf(Y);return new Intl.Locale(et.length>0?et[0]:"string"==typeof Y?Y:Y[0])}},Y.__parse=eo.Qc,Y.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Y}()},12916:function(Y,et,en){"use strict";en.d(et,{C8:function(){return eu},HR:function(){return ed},YR:function(){return ec},jK:function(){return ei},u_:function(){return ea}});var ei,eo=en(38104);!function(Y){Y.MISSING_VALUE="MISSING_VALUE",Y.INVALID_VALUE="INVALID_VALUE",Y.MISSING_INTL_API="MISSING_INTL_API"}(ei||(ei={}));var ea=function(Y){function et(et,en,ei){var eo=Y.call(this,et)||this;return eo.code=en,eo.originalMessage=ei,eo}return(0,eo.ZT)(et,Y),et.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},et}(Error),eu=function(Y){function et(et,en,eo,ea){return Y.call(this,'Invalid values for "'.concat(et,'": "').concat(en,'". Options are "').concat(Object.keys(eo).join('", "'),'"'),ei.INVALID_VALUE,ea)||this}return(0,eo.ZT)(et,Y),et}(ea),ec=function(Y){function et(et,en,eo){return Y.call(this,'Value for "'.concat(et,'" must be of type ').concat(en),ei.INVALID_VALUE,eo)||this}return(0,eo.ZT)(et,Y),et}(ea),ed=function(Y){function et(et,en){return Y.call(this,'The intl string context variable "'.concat(et,'" was not provided to the string "').concat(en,'"'),ei.MISSING_VALUE,en)||this}return(0,eo.ZT)(et,Y),et}(ea)},33614:function(Y,et,en){"use strict";en.d(et,{FK:function(){return ed},Gt:function(){return ec},du:function(){return ei}});var ei,eo=en(83608),ea=en(12916);function eu(Y){return Y.length<2?Y:Y.reduce(function(Y,et){var en=Y[Y.length-1];return en&&en.type===ei.literal&&et.type===ei.literal?en.value+=et.value:Y.push(et),Y},[])}function ec(Y){return"function"==typeof Y}function ed(Y,et,en,ef,eh,ep,em){if(1===Y.length&&(0,eo.O4)(Y[0]))return[{type:ei.literal,value:Y[0].value}];for(var eg=[],ey=0,eb=Y;ey<eb.length;ey++){var ek=eb[ey];if((0,eo.O4)(ek)){eg.push({type:ei.literal,value:ek.value});continue}if((0,eo.yx)(ek)){"number"==typeof ep&&eg.push({type:ei.literal,value:en.getNumberFormat(et).format(ep)});continue}var ew=ek.value;if(!(eh&&ew in eh))throw new ea.HR(ew,em);var e_=eh[ew];if((0,eo.VG)(ek)){e_&&"string"!=typeof e_&&"number"!=typeof e_||(e_="string"==typeof e_||"number"==typeof e_?String(e_):""),eg.push({type:"string"==typeof e_?ei.literal:ei.object,value:e_});continue}if((0,eo.rp)(ek)){var eE="string"==typeof ek.style?ef.date[ek.style]:(0,eo.Ii)(ek.style)?ek.style.parsedOptions:void 0;eg.push({type:ei.literal,value:en.getDateTimeFormat(et,eE).format(e_)});continue}if((0,eo.pe)(ek)){var eE="string"==typeof ek.style?ef.time[ek.style]:(0,eo.Ii)(ek.style)?ek.style.parsedOptions:ef.time.medium;eg.push({type:ei.literal,value:en.getDateTimeFormat(et,eE).format(e_)});continue}if((0,eo.uf)(ek)){var eE="string"==typeof ek.style?ef.number[ek.style]:(0,eo.Wh)(ek.style)?ek.style.parsedOptions:void 0;eE&&eE.scale&&(e_*=eE.scale||1),eg.push({type:ei.literal,value:en.getNumberFormat(et,eE).format(e_)});continue}if((0,eo.HI)(ek)){var eC=ek.children,eT=ek.value,eS=eh[eT];if(!ec(eS))throw new ea.YR(eT,"function",em);var eA=eS(ed(eC,et,en,ef,eh,ep).map(function(Y){return Y.value}));Array.isArray(eA)||(eA=[eA]),eg.push.apply(eg,eA.map(function(Y){return{type:"string"==typeof Y?ei.literal:ei.object,value:Y}}))}if((0,eo.Wi)(ek)){var eM=ek.options[e_]||ek.options.other;if(!eM)throw new ea.C8(ek.value,e_,Object.keys(ek.options),em);eg.push.apply(eg,ed(eM.value,et,en,ef,eh));continue}if((0,eo.Jo)(ek)){var eM=ek.options["=".concat(e_)];if(!eM){if(!Intl.PluralRules)throw new ea.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ea.jK.MISSING_INTL_API,em);var eP=en.getPluralRules(et,{type:ek.pluralType}).select(e_-(ek.offset||0));eM=ek.options[eP]||ek.options.other}if(!eM)throw new ea.C8(ek.value,e_,Object.keys(ek.options),em);eg.push.apply(eg,ed(eM.value,et,en,ef,eh,e_-(ek.offset||0)));continue}}return eu(eg)}!function(Y){Y[Y.literal=0]="literal",Y[Y.object=1]="object"}(ei||(ei={}))},7974:function(Y,et,en){"use strict";var ei=en(3825)(),eo=en(57372)("Object.prototype.toString"),ea=function(Y){return(!ei||!Y||"object"!=typeof Y||!(Symbol.toStringTag in Y))&&"[object Arguments]"===eo(Y)},eu=function(Y){return!!ea(Y)||null!==Y&&"object"==typeof Y&&"number"==typeof Y.length&&Y.length>=0&&"[object Array]"!==eo(Y)&&"[object Function]"===eo(Y.callee)},ec=function(){return ea(arguments)}();ea.isLegacyArguments=eu,Y.exports=ec?ea:eu},38165:function(Y){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/Y.exports=function(Y){return null!=Y&&null!=Y.constructor&&"function"==typeof Y.constructor.isBuffer&&Y.constructor.isBuffer(Y)}},20387:function(Y){"use strict";var et,en,ei=Function.prototype.toString,eo="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof eo&&"function"==typeof Object.defineProperty)try{et=Object.defineProperty({},"length",{get:function(){throw en}}),en={},eo(function(){throw 42},null,et)}catch(Y){Y!==en&&(eo=null)}else eo=null;var ea=/^\s*class\b/,eu=function(Y){try{var et=ei.call(Y);return ea.test(et)}catch(Y){return!1}},ec=function(Y){try{if(eu(Y))return!1;return ei.call(Y),!0}catch(Y){return!1}},ed=Object.prototype.toString,ef="[object Object]",eh="[object Function]",ep="[object GeneratorFunction]",em="[object HTMLAllCollection]",eg="[object HTML document.all class]",ey="[object HTMLCollection]",eb="function"==typeof Symbol&&!!Symbol.toStringTag,ek=!(0 in[,]),ew=function(){return!1};if("object"==typeof document){var e_=document.all;ed.call(e_)===ed.call(document.all)&&(ew=function(Y){if((ek||!Y)&&(void 0===Y||"object"==typeof Y))try{var et=ed.call(Y);return(et===em||et===eg||et===ey||et===ef)&&null==Y("")}catch(Y){}return!1})}Y.exports=eo?function(Y){if(ew(Y))return!0;if(!Y||"function"!=typeof Y&&"object"!=typeof Y)return!1;try{eo(Y,null,et)}catch(Y){if(Y!==en)return!1}return!eu(Y)&&ec(Y)}:function(Y){if(ew(Y))return!0;if(!Y||"function"!=typeof Y&&"object"!=typeof Y)return!1;if(eb)return ec(Y);if(eu(Y))return!1;var et=ed.call(Y);return!!(et===eh||et===ep||/^\[object HTML/.test(et))&&ec(Y)}},50434:function(Y,et,en){"use strict";var ei,eo=Object.prototype.toString,ea=Function.prototype.toString,eu=/^\s*(?:function)?\*/,ec=en(3825)(),ed=Object.getPrototypeOf,ef=function(){if(!ec)return!1;try{return Function("return function*() {}")()}catch(Y){}};Y.exports=function(Y){if("function"!=typeof Y)return!1;if(eu.test(ea.call(Y)))return!0;if(!ec)return"[object GeneratorFunction]"===eo.call(Y);if(!ed)return!1;if(void 0===ei){var et=ef();ei=!!et&&ed(et)}return ed(Y)===ei}},18891:function(Y){"use strict";Y.exports=function(Y){return Y!=Y}},74300:function(Y,et,en){"use strict";var ei=en(5806),eo=en(25416),ea=en(18891),eu=en(5369),ec=en(18971),ed=ei(eu(),Number);eo(ed,{getPolyfill:eu,implementation:ea,shim:ec}),Y.exports=ed},5369:function(Y,et,en){"use strict";var ei=en(18891);Y.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:ei}},18971:function(Y,et,en){"use strict";var ei=en(25416),eo=en(5369);Y.exports=function(){var Y=eo();return ei(Number,{isNaN:Y},{isNaN:function(){return Number.isNaN!==Y}}),Y}},36466:function(Y,et,en){"use strict";var ei=en(6862),eo=en(14897),ea=en(57372),eu=ea("Object.prototype.toString"),ec=en(3825)(),ed=en(49662),ef="undefined"==typeof globalThis?en.g:globalThis,eh=eo(),ep=ea("Array.prototype.indexOf",!0)||function(Y,et){for(var en=0;en<Y.length;en+=1)if(Y[en]===et)return en;return -1},em=ea("String.prototype.slice"),eg={},ey=Object.getPrototypeOf;ec&&ed&&ey&&ei(eh,function(Y){var et=new ef[Y];if(Symbol.toStringTag in et){var en=ey(et),ei=ed(en,Symbol.toStringTag);ei||(ei=ed(ey(en),Symbol.toStringTag)),eg[Y]=ei.get}});var eb=function(Y){var et=!1;return ei(eg,function(en,ei){if(!et)try{et=en.call(Y)===ei}catch(Y){}}),et};Y.exports=function(Y){return!!Y&&"object"==typeof Y&&(ec&&Symbol.toStringTag in Y?!!ed&&eb(Y):ep(eh,em(eu(Y),8,-1))>-1)}},35839:function(Y,et,en){var ei=en(80751)(en(73401),"DataView");Y.exports=ei},61538:function(Y,et,en){var ei=en(59219),eo=en(95937),ea=en(44054),eu=en(99991),ec=en(62753);function ed(Y){var et=-1,en=null==Y?0:Y.length;for(this.clear();++et<en;){var ei=Y[et];this.set(ei[0],ei[1])}}ed.prototype.clear=ei,ed.prototype.delete=eo,ed.prototype.get=ea,ed.prototype.has=eu,ed.prototype.set=ec,Y.exports=ed},624:function(Y,et,en){var ei=en(53647),eo=en(40073),ea=en(97903),eu=en(43832),ec=en(87074);function ed(Y){var et=-1,en=null==Y?0:Y.length;for(this.clear();++et<en;){var ei=Y[et];this.set(ei[0],ei[1])}}ed.prototype.clear=ei,ed.prototype.delete=eo,ed.prototype.get=ea,ed.prototype.has=eu,ed.prototype.set=ec,Y.exports=ed},17973:function(Y,et,en){var ei=en(80751)(en(73401),"Map");Y.exports=ei},2767:function(Y,et,en){var ei=en(53070),eo=en(83638),ea=en(38444),eu=en(55877),ec=en(58990);function ed(Y){var et=-1,en=null==Y?0:Y.length;for(this.clear();++et<en;){var ei=Y[et];this.set(ei[0],ei[1])}}ed.prototype.clear=ei,ed.prototype.delete=eo,ed.prototype.get=ea,ed.prototype.has=eu,ed.prototype.set=ec,Y.exports=ed},80712:function(Y,et,en){var ei=en(80751)(en(73401),"Promise");Y.exports=ei},353:function(Y,et,en){var ei=en(80751)(en(73401),"Set");Y.exports=ei},25561:function(Y,et,en){var ei=en(2767),eo=en(16),ea=en(64832);function eu(Y){var et=-1,en=null==Y?0:Y.length;for(this.__data__=new ei;++et<en;)this.add(Y[et])}eu.prototype.add=eu.prototype.push=eo,eu.prototype.has=ea,Y.exports=eu},20014:function(Y,et,en){var ei=en(624),eo=en(79882),ea=en(86639),eu=en(73887),ec=en(2603),ed=en(57853);function ef(Y){var et=this.__data__=new ei(Y);this.size=et.size}ef.prototype.clear=eo,ef.prototype.delete=ea,ef.prototype.get=eu,ef.prototype.has=ec,ef.prototype.set=ed,Y.exports=ef},66293:function(Y,et,en){var ei=en(73401).Symbol;Y.exports=ei},39069:function(Y,et,en){var ei=en(73401).Uint8Array;Y.exports=ei},53180:function(Y,et,en){var ei=en(80751)(en(73401),"WeakMap");Y.exports=ei},51177:function(Y){function et(Y,et){for(var en=-1,ei=null==Y?0:Y.length,eo=0,ea=[];++en<ei;){var eu=Y[en];et(eu,en,Y)&&(ea[eo++]=eu)}return ea}Y.exports=et},47189:function(Y,et,en){var ei=en(85606),eo=en(43735),ea=en(2428),eu=en(7757),ec=en(30911),ed=en(56868),ef=Object.prototype.hasOwnProperty;function eh(Y,et){var en=ea(Y),eh=!en&&eo(Y),ep=!en&&!eh&&eu(Y),em=!en&&!eh&&!ep&&ed(Y),eg=en||eh||ep||em,ey=eg?ei(Y.length,String):[],eb=ey.length;for(var ek in Y)(et||ef.call(Y,ek))&&!(eg&&("length"==ek||ep&&("offset"==ek||"parent"==ek)||em&&("buffer"==ek||"byteLength"==ek||"byteOffset"==ek)||ec(ek,eb)))&&ey.push(ek);return ey}Y.exports=eh},67631:function(Y){function et(Y,et){for(var en=-1,ei=null==Y?0:Y.length,eo=Array(ei);++en<ei;)eo[en]=et(Y[en],en,Y);return eo}Y.exports=et},96581:function(Y){function et(Y,et){for(var en=-1,ei=et.length,eo=Y.length;++en<ei;)Y[eo+en]=et[en];return Y}Y.exports=et},57421:function(Y,et,en){var ei=en(70331),eo=en(61984),ea=en(69191);function eu(Y,et){return ea(eo(Y),ei(et,0,Y.length))}Y.exports=eu},93531:function(Y){function et(Y,et){for(var en=-1,ei=null==Y?0:Y.length;++en<ei;)if(et(Y[en],en,Y))return!0;return!1}Y.exports=et},5100:function(Y,et,en){var ei=en(80897),eo=en(3284),ea=Object.prototype.hasOwnProperty;function eu(Y,et,en){var eu=Y[et];ea.call(Y,et)&&eo(eu,en)&&(void 0!==en||et in Y)||ei(Y,et,en)}Y.exports=eu},15869:function(Y,et,en){var ei=en(3284);function eo(Y,et){for(var en=Y.length;en--;)if(ei(Y[en][0],et))return en;return -1}Y.exports=eo},80897:function(Y,et,en){var ei=en(57965);function eo(Y,et,en){"__proto__"==et&&ei?ei(Y,et,{configurable:!0,enumerable:!0,value:en,writable:!0}):Y[et]=en}Y.exports=eo},70331:function(Y){function et(Y,et,en){return Y==Y&&(void 0!==en&&(Y=Y<=en?Y:en),void 0!==et&&(Y=Y>=et?Y:et)),Y}Y.exports=et},87856:function(Y,et,en){var ei=en(96322),eo=en(28091);function ea(Y,et){et=ei(et,Y);for(var en=0,ea=et.length;null!=Y&&en<ea;)Y=Y[eo(et[en++])];return en&&en==ea?Y:void 0}Y.exports=ea},14755:function(Y,et,en){var ei=en(96581),eo=en(2428);function ea(Y,et,en){var ea=et(Y);return eo(Y)?ea:ei(ea,en(Y))}Y.exports=ea},57398:function(Y,et,en){var ei=en(66293),eo=en(46945),ea=en(51584),eu="[object Null]",ec="[object Undefined]",ed=ei?ei.toStringTag:void 0;function ef(Y){return null==Y?void 0===Y?ec:eu:ed&&ed in Object(Y)?eo(Y):ea(Y)}Y.exports=ef},86752:function(Y){function et(Y,et){return null!=Y&&et in Object(Y)}Y.exports=et},75227:function(Y,et,en){var ei=en(57398),eo=en(89109),ea="[object Arguments]";function eu(Y){return eo(Y)&&ei(Y)==ea}Y.exports=eu},33892:function(Y,et,en){var ei=en(86502),eo=en(89109);function ea(Y,et,en,eu,ec){return Y===et||(null!=Y&&null!=et&&(eo(Y)||eo(et))?ei(Y,et,en,eu,ea,ec):Y!=Y&&et!=et)}Y.exports=ea},86502:function(Y,et,en){var ei=en(20014),eo=en(1979),ea=en(75473),eu=en(7287),ec=en(65064),ed=en(2428),ef=en(7757),eh=en(56868),ep=1,em="[object Arguments]",eg="[object Array]",ey="[object Object]",eb=Object.prototype.hasOwnProperty;function ek(Y,et,en,ek,ew,e_){var eE=ed(Y),eC=ed(et),eT=eE?eg:ec(Y),eS=eC?eg:ec(et);eT=eT==em?ey:eT,eS=eS==em?ey:eS;var eA=eT==ey,eM=eS==ey,eP=eT==eS;if(eP&&ef(Y)){if(!ef(et))return!1;eE=!0,eA=!1}if(eP&&!eA)return e_||(e_=new ei),eE||eh(Y)?eo(Y,et,en,ek,ew,e_):ea(Y,et,eT,en,ek,ew,e_);if(!(en&ep)){var ej=eA&&eb.call(Y,"__wrapped__"),eO=eM&&eb.call(et,"__wrapped__");if(ej||eO){var eI=ej?Y.value():Y,eN=eO?et.value():et;return e_||(e_=new ei),ew(eI,eN,en,ek,e_)}}return!!eP&&(e_||(e_=new ei),eu(Y,et,en,ek,ew,e_))}Y.exports=ek},46166:function(Y,et,en){var ei=en(20014),eo=en(33892),ea=1,eu=2;function ec(Y,et,en,ec){var ed=en.length,ef=ed,eh=!ec;if(null==Y)return!ef;for(Y=Object(Y);ed--;){var ep=en[ed];if(eh&&ep[2]?ep[1]!==Y[ep[0]]:!(ep[0]in Y))return!1}for(;++ed<ef;){var em=(ep=en[ed])[0],eg=Y[em],ey=ep[1];if(eh&&ep[2]){if(void 0===eg&&!(em in Y))return!1}else{var eb=new ei;if(ec)var ek=ec(eg,ey,em,Y,et,eb);if(!(void 0===ek?eo(ey,eg,ea|eu,ec,eb):ek))return!1}}return!0}Y.exports=ec},99578:function(Y,et,en){var ei=en(7419),eo=en(43283),ea=en(6627),eu=en(19235),ec=/[\\^$.*+?()[\]{}|]/g,ed=/^\[object .+?Constructor\]$/,ef=Object.prototype,eh=Function.prototype.toString,ep=ef.hasOwnProperty,em=RegExp("^"+eh.call(ep).replace(ec,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function eg(Y){return!(!ea(Y)||eo(Y))&&(ei(Y)?em:ed).test(eu(Y))}Y.exports=eg},89126:function(Y,et,en){var ei=en(57398),eo=en(6705),ea=en(89109),eu="[object Arguments]",ec="[object Array]",ed="[object Boolean]",ef="[object Date]",eh="[object Error]",ep="[object Function]",em="[object Map]",eg="[object Number]",ey="[object Object]",eb="[object RegExp]",ek="[object Set]",ew="[object String]",e_="[object WeakMap]",eE="[object ArrayBuffer]",eC="[object DataView]",eT="[object Float64Array]",eS="[object Int8Array]",eA="[object Int16Array]",eM="[object Int32Array]",eP="[object Uint8Array]",ej="[object Uint8ClampedArray]",eO="[object Uint16Array]",eI="[object Uint32Array]",eN={};function eL(Y){return ea(Y)&&eo(Y.length)&&!!eN[ei(Y)]}eN["[object Float32Array]"]=eN[eT]=eN[eS]=eN[eA]=eN[eM]=eN[eP]=eN[ej]=eN[eO]=eN[eI]=!0,eN[eu]=eN[ec]=eN[eE]=eN[ed]=eN[eC]=eN[ef]=eN[eh]=eN[ep]=eN[em]=eN[eg]=eN[ey]=eN[eb]=eN[ek]=eN[ew]=eN[e_]=!1,Y.exports=eL},61757:function(Y,et,en){var ei=en(97549),eo=en(728),ea=en(98958),eu=en(2428),ec=en(91363);function ed(Y){return"function"==typeof Y?Y:null==Y?ea:"object"==typeof Y?eu(Y)?eo(Y[0],Y[1]):ei(Y):ec(Y)}Y.exports=ed},790:function(Y,et,en){var ei=en(92403),eo=en(39339),ea=Object.prototype.hasOwnProperty;function eu(Y){if(!ei(Y))return eo(Y);var et=[];for(var en in Object(Y))ea.call(Y,en)&&"constructor"!=en&&et.push(en);return et}Y.exports=eu},19177:function(Y,et,en){var ei=en(6627),eo=en(92403),ea=en(6087),eu=Object.prototype.hasOwnProperty;function ec(Y){if(!ei(Y))return ea(Y);var et=eo(Y),en=[];for(var ec in Y)"constructor"==ec&&(et||!eu.call(Y,ec))||en.push(ec);return en}Y.exports=ec},97549:function(Y,et,en){var ei=en(46166),eo=en(7378),ea=en(49513);function eu(Y){var et=eo(Y);return 1==et.length&&et[0][2]?ea(et[0][0],et[0][1]):function(en){return en===Y||ei(en,Y,et)}}Y.exports=eu},728:function(Y,et,en){var ei=en(33892),eo=en(2423),ea=en(64400),eu=en(44781),ec=en(92801),ed=en(49513),ef=en(28091),eh=1,ep=2;function em(Y,et){return eu(Y)&&ec(et)?ed(ef(Y),et):function(en){var eu=eo(en,Y);return void 0===eu&&eu===et?ea(en,Y):ei(et,eu,eh|ep)}}Y.exports=em},30384:function(Y,et,en){var ei=en(87856),eo=en(49979),ea=en(96322);function eu(Y,et,en){for(var eu=-1,ec=et.length,ed={};++eu<ec;){var ef=et[eu],eh=ei(Y,ef);en(eh,ef)&&eo(ed,ea(ef,Y),eh)}return ed}Y.exports=eu},81515:function(Y){function et(Y){return function(et){return null==et?void 0:et[Y]}}Y.exports=et},21834:function(Y,et,en){var ei=en(87856);function eo(Y){return function(et){return ei(et,Y)}}Y.exports=eo},14545:function(Y){var et=Math.floor,en=Math.random;function ei(Y,ei){return Y+et(en()*(ei-Y+1))}Y.exports=ei},24037:function(Y,et,en){var ei=en(70331),eo=en(69191),ea=en(52657);function eu(Y,et){var en=ea(Y);return eo(en,ei(et,0,en.length))}Y.exports=eu},49979:function(Y,et,en){var ei=en(5100),eo=en(96322),ea=en(30911),eu=en(6627),ec=en(28091);function ed(Y,et,en,ed){if(!eu(Y))return Y;et=eo(et,Y);for(var ef=-1,eh=et.length,ep=eh-1,em=Y;null!=em&&++ef<eh;){var eg=ec(et[ef]),ey=en;if("__proto__"===eg||"constructor"===eg||"prototype"===eg)break;if(ef!=ep){var eb=em[eg];void 0===(ey=ed?ed(eb,eg,em):void 0)&&(ey=eu(eb)?eb:ea(et[ef+1])?[]:{})}ei(em,eg,ey),em=em[eg]}return Y}Y.exports=ed},85606:function(Y){function et(Y,et){for(var en=-1,ei=Array(Y);++en<Y;)ei[en]=et(en);return ei}Y.exports=et},17185:function(Y,et,en){var ei=en(66293),eo=en(67631),ea=en(2428),eu=en(42848),ec=1/0,ed=ei?ei.prototype:void 0,ef=ed?ed.toString:void 0;function eh(Y){if("string"==typeof Y)return Y;if(ea(Y))return eo(Y,eh)+"";if(eu(Y))return ef?ef.call(Y):"";var et=Y+"";return"0"==et&&1/Y==-ec?"-0":et}Y.exports=eh},33897:function(Y,et,en){var ei=en(15012),eo=/^\s+/;function ea(Y){return Y?Y.slice(0,ei(Y)+1).replace(eo,""):Y}Y.exports=ea},52715:function(Y){function et(Y){return function(et){return Y(et)}}Y.exports=et},69588:function(Y,et,en){var ei=en(67631);function eo(Y,et){return ei(et,function(et){return Y[et]})}Y.exports=eo},8529:function(Y){function et(Y,et){return Y.has(et)}Y.exports=et},96322:function(Y,et,en){var ei=en(2428),eo=en(44781),ea=en(61596),eu=en(44091);function ec(Y,et){return ei(Y)?Y:eo(Y,et)?[Y]:ea(eu(Y))}Y.exports=ec},61984:function(Y){function et(Y,et){var en=-1,ei=Y.length;for(et||(et=Array(ei));++en<ei;)et[en]=Y[en];return et}Y.exports=et},54640:function(Y,et,en){var ei=en(73401)["__core-js_shared__"];Y.exports=ei},57965:function(Y,et,en){var ei=en(80751),eo=function(){try{var Y=ei(Object,"defineProperty");return Y({},"",{}),Y}catch(Y){}}();Y.exports=eo},1979:function(Y,et,en){var ei=en(25561),eo=en(93531),ea=en(8529),eu=1,ec=2;function ed(Y,et,en,ed,ef,eh){var ep=en&eu,em=Y.length,eg=et.length;if(em!=eg&&!(ep&&eg>em))return!1;var ey=eh.get(Y),eb=eh.get(et);if(ey&&eb)return ey==et&&eb==Y;var ek=-1,ew=!0,e_=en&ec?new ei:void 0;for(eh.set(Y,et),eh.set(et,Y);++ek<em;){var eE=Y[ek],eC=et[ek];if(ed)var eT=ep?ed(eC,eE,ek,et,Y,eh):ed(eE,eC,ek,Y,et,eh);if(void 0!==eT){if(eT)continue;ew=!1;break}if(e_){if(!eo(et,function(Y,et){if(!ea(e_,et)&&(eE===Y||ef(eE,Y,en,ed,eh)))return e_.push(et)})){ew=!1;break}}else if(!(eE===eC||ef(eE,eC,en,ed,eh))){ew=!1;break}}return eh.delete(Y),eh.delete(et),ew}Y.exports=ed},75473:function(Y,et,en){var ei=en(66293),eo=en(39069),ea=en(3284),eu=en(1979),ec=en(98368),ed=en(33005),ef=1,eh=2,ep="[object Boolean]",em="[object Date]",eg="[object Error]",ey="[object Map]",eb="[object Number]",ek="[object RegExp]",ew="[object Set]",e_="[object String]",eE="[object Symbol]",eC="[object ArrayBuffer]",eT="[object DataView]",eS=ei?ei.prototype:void 0,eA=eS?eS.valueOf:void 0;function eM(Y,et,en,ei,eS,eM,eP){switch(en){case eT:if(Y.byteLength!=et.byteLength||Y.byteOffset!=et.byteOffset)break;Y=Y.buffer,et=et.buffer;case eC:if(Y.byteLength!=et.byteLength||!eM(new eo(Y),new eo(et)))break;return!0;case ep:case em:case eb:return ea(+Y,+et);case eg:return Y.name==et.name&&Y.message==et.message;case ek:case e_:return Y==et+"";case ey:var ej=ec;case ew:var eO=ei&ef;if(ej||(ej=ed),Y.size!=et.size&&!eO)break;var eI=eP.get(Y);if(eI)return eI==et;ei|=eh,eP.set(Y,et);var eN=eu(ej(Y),ej(et),ei,eS,eM,eP);return eP.delete(Y),eN;case eE:if(eA)return eA.call(Y)==eA.call(et)}return!1}Y.exports=eM},7287:function(Y,et,en){var ei=en(94426),eo=1,ea=Object.prototype.hasOwnProperty;function eu(Y,et,en,eu,ec,ed){var ef=en&eo,eh=ei(Y),ep=eh.length;if(ep!=ei(et).length&&!ef)return!1;for(var em=ep;em--;){var eg=eh[em];if(!(ef?eg in et:ea.call(et,eg)))return!1}var ey=ed.get(Y),eb=ed.get(et);if(ey&&eb)return ey==et&&eb==Y;var ek=!0;ed.set(Y,et),ed.set(et,Y);for(var ew=ef;++em<ep;){var e_=Y[eg=eh[em]],eE=et[eg];if(eu)var eC=ef?eu(eE,e_,eg,et,Y,ed):eu(e_,eE,eg,Y,et,ed);if(!(void 0===eC?e_===eE||ec(e_,eE,en,eu,ed):eC)){ek=!1;break}ew||(ew="constructor"==eg)}if(ek&&!ew){var eT=Y.constructor,eS=et.constructor;eT!=eS&&"constructor"in Y&&"constructor"in et&&!("function"==typeof eT&&eT instanceof eT&&"function"==typeof eS&&eS instanceof eS)&&(ek=!1)}return ed.delete(Y),ed.delete(et),ek}Y.exports=eu},40151:function(Y,et,en){var ei="object"==typeof en.g&&en.g&&en.g.Object===Object&&en.g;Y.exports=ei},94426:function(Y,et,en){var ei=en(14755),eo=en(69128),ea=en(58834);function eu(Y){return ei(Y,ea,eo)}Y.exports=eu},90179:function(Y,et,en){var ei=en(14755),eo=en(55456),ea=en(53342);function eu(Y){return ei(Y,ea,eo)}Y.exports=eu},61499:function(Y,et,en){var ei=en(1889);function eo(Y,et){var en=Y.__data__;return ei(et)?en["string"==typeof et?"string":"hash"]:en.map}Y.exports=eo},7378:function(Y,et,en){var ei=en(92801),eo=en(58834);function ea(Y){for(var et=eo(Y),en=et.length;en--;){var ea=et[en],eu=Y[ea];et[en]=[ea,eu,ei(eu)]}return et}Y.exports=ea},80751:function(Y,et,en){var ei=en(99578),eo=en(38027);function ea(Y,et){var en=eo(Y,et);return ei(en)?en:void 0}Y.exports=ea},8187:function(Y,et,en){var ei=en(73518)(Object.getPrototypeOf,Object);Y.exports=ei},46945:function(Y,et,en){var ei=en(66293),eo=Object.prototype,ea=eo.hasOwnProperty,eu=eo.toString,ec=ei?ei.toStringTag:void 0;function ed(Y){var et=ea.call(Y,ec),en=Y[ec];try{Y[ec]=void 0;var ei=!0}catch(Y){}var eo=eu.call(Y);return ei&&(et?Y[ec]=en:delete Y[ec]),eo}Y.exports=ed},69128:function(Y,et,en){var ei=en(51177),eo=en(35615),ea=Object.prototype.propertyIsEnumerable,eu=Object.getOwnPropertySymbols,ec=eu?function(Y){return null==Y?[]:ei(eu(Y=Object(Y)),function(et){return ea.call(Y,et)})}:eo;Y.exports=ec},55456:function(Y,et,en){var ei=en(96581),eo=en(8187),ea=en(69128),eu=en(35615),ec=Object.getOwnPropertySymbols?function(Y){for(var et=[];Y;)ei(et,ea(Y)),Y=eo(Y);return et}:eu;Y.exports=ec},65064:function(Y,et,en){var ei=en(35839),eo=en(17973),ea=en(80712),eu=en(353),ec=en(53180),ed=en(57398),ef=en(19235),eh="[object Map]",ep="[object Object]",em="[object Promise]",eg="[object Set]",ey="[object WeakMap]",eb="[object DataView]",ek=ef(ei),ew=ef(eo),e_=ef(ea),eE=ef(eu),eC=ef(ec),eT=ed;(ei&&eT(new ei(new ArrayBuffer(1)))!=eb||eo&&eT(new eo)!=eh||ea&&eT(ea.resolve())!=em||eu&&eT(new eu)!=eg||ec&&eT(new ec)!=ey)&&(eT=function(Y){var et=ed(Y),en=et==ep?Y.constructor:void 0,ei=en?ef(en):"";if(ei)switch(ei){case ek:return eb;case ew:return eh;case e_:return em;case eE:return eg;case eC:return ey}return et}),Y.exports=eT},38027:function(Y){function et(Y,et){return null==Y?void 0:Y[et]}Y.exports=et},60706:function(Y,et,en){var ei=en(96322),eo=en(43735),ea=en(2428),eu=en(30911),ec=en(6705),ed=en(28091);function ef(Y,et,en){et=ei(et,Y);for(var ef=-1,eh=et.length,ep=!1;++ef<eh;){var em=ed(et[ef]);if(!(ep=null!=Y&&en(Y,em)))break;Y=Y[em]}return ep||++ef!=eh?ep:!!(eh=null==Y?0:Y.length)&&ec(eh)&&eu(em,eh)&&(ea(Y)||eo(Y))}Y.exports=ef},59219:function(Y,et,en){var ei=en(24556);function eo(){this.__data__=ei?ei(null):{},this.size=0}Y.exports=eo},95937:function(Y){function et(Y){var et=this.has(Y)&&delete this.__data__[Y];return this.size-=et?1:0,et}Y.exports=et},44054:function(Y,et,en){var ei=en(24556),eo="__lodash_hash_undefined__",ea=Object.prototype.hasOwnProperty;function eu(Y){var et=this.__data__;if(ei){var en=et[Y];return en===eo?void 0:en}return ea.call(et,Y)?et[Y]:void 0}Y.exports=eu},99991:function(Y,et,en){var ei=en(24556),eo=Object.prototype.hasOwnProperty;function ea(Y){var et=this.__data__;return ei?void 0!==et[Y]:eo.call(et,Y)}Y.exports=ea},62753:function(Y,et,en){var ei=en(24556),eo="__lodash_hash_undefined__";function ea(Y,et){var en=this.__data__;return this.size+=this.has(Y)?0:1,en[Y]=ei&&void 0===et?eo:et,this}Y.exports=ea},30911:function(Y){var et=9007199254740991,en=/^(?:0|[1-9]\d*)$/;function ei(Y,ei){var eo=typeof Y;return!!(ei=null==ei?et:ei)&&("number"==eo||"symbol"!=eo&&en.test(Y))&&Y>-1&&Y%1==0&&Y<ei}Y.exports=ei},57209:function(Y,et,en){var ei=en(3284),eo=en(71701),ea=en(30911),eu=en(6627);function ec(Y,et,en){if(!eu(en))return!1;var ec=typeof et;return("number"==ec?!!(eo(en)&&ea(et,en.length)):"string"==ec&&et in en)&&ei(en[et],Y)}Y.exports=ec},44781:function(Y,et,en){var ei=en(2428),eo=en(42848),ea=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,eu=/^\w*$/;function ec(Y,et){if(ei(Y))return!1;var en=typeof Y;return!!("number"==en||"symbol"==en||"boolean"==en||null==Y||eo(Y))||eu.test(Y)||!ea.test(Y)||null!=et&&Y in Object(et)}Y.exports=ec},1889:function(Y){function et(Y){var et=typeof Y;return"string"==et||"number"==et||"symbol"==et||"boolean"==et?"__proto__"!==Y:null===Y}Y.exports=et},43283:function(Y,et,en){var ei=en(54640),eo=function(){var Y=/[^.]+$/.exec(ei&&ei.keys&&ei.keys.IE_PROTO||"");return Y?"Symbol(src)_1."+Y:""}();function ea(Y){return!!eo&&eo in Y}Y.exports=ea},92403:function(Y){var et=Object.prototype;function en(Y){var en=Y&&Y.constructor,ei="function"==typeof en&&en.prototype||et;return Y===ei}Y.exports=en},92801:function(Y,et,en){var ei=en(6627);function eo(Y){return Y==Y&&!ei(Y)}Y.exports=eo},53647:function(Y){function et(){this.__data__=[],this.size=0}Y.exports=et},40073:function(Y,et,en){var ei=en(15869),eo=Array.prototype.splice;function ea(Y){var et=this.__data__,en=ei(et,Y);return!(en<0)&&(en==et.length-1?et.pop():eo.call(et,en,1),--this.size,!0)}Y.exports=ea},97903:function(Y,et,en){var ei=en(15869);function eo(Y){var et=this.__data__,en=ei(et,Y);return en<0?void 0:et[en][1]}Y.exports=eo},43832:function(Y,et,en){var ei=en(15869);function eo(Y){return ei(this.__data__,Y)>-1}Y.exports=eo},87074:function(Y,et,en){var ei=en(15869);function eo(Y,et){var en=this.__data__,eo=ei(en,Y);return eo<0?(++this.size,en.push([Y,et])):en[eo][1]=et,this}Y.exports=eo},53070:function(Y,et,en){var ei=en(61538),eo=en(624),ea=en(17973);function eu(){this.size=0,this.__data__={hash:new ei,map:new(ea||eo),string:new ei}}Y.exports=eu},83638:function(Y,et,en){var ei=en(61499);function eo(Y){var et=ei(this,Y).delete(Y);return this.size-=et?1:0,et}Y.exports=eo},38444:function(Y,et,en){var ei=en(61499);function eo(Y){return ei(this,Y).get(Y)}Y.exports=eo},55877:function(Y,et,en){var ei=en(61499);function eo(Y){return ei(this,Y).has(Y)}Y.exports=eo},58990:function(Y,et,en){var ei=en(61499);function eo(Y,et){var en=ei(this,Y),eo=en.size;return en.set(Y,et),this.size+=en.size==eo?0:1,this}Y.exports=eo},98368:function(Y){function et(Y){var et=-1,en=Array(Y.size);return Y.forEach(function(Y,ei){en[++et]=[ei,Y]}),en}Y.exports=et},49513:function(Y){function et(Y,et){return function(en){return null!=en&&en[Y]===et&&(void 0!==et||Y in Object(en))}}Y.exports=et},15646:function(Y,et,en){var ei=en(74153),eo=500;function ea(Y){var et=ei(Y,function(Y){return en.size===eo&&en.clear(),Y}),en=et.cache;return et}Y.exports=ea},24556:function(Y,et,en){var ei=en(80751)(Object,"create");Y.exports=ei},39339:function(Y,et,en){var ei=en(73518)(Object.keys,Object);Y.exports=ei},6087:function(Y){function et(Y){var et=[];if(null!=Y)for(var en in Object(Y))et.push(en);return et}Y.exports=et},20126:function(Y,et,en){Y=en.nmd(Y);var ei=en(40151),eo=et&&!et.nodeType&&et,ea=eo&&Y&&!Y.nodeType&&Y,eu=ea&&ea.exports===eo&&ei.process,ec=function(){try{var Y=ea&&ea.require&&ea.require("util").types;if(Y)return Y;return eu&&eu.binding&&eu.binding("util")}catch(Y){}}();Y.exports=ec},51584:function(Y){var et=Object.prototype.toString;function en(Y){return et.call(Y)}Y.exports=en},73518:function(Y){function et(Y,et){return function(en){return Y(et(en))}}Y.exports=et},73401:function(Y,et,en){var ei=en(40151),eo="object"==typeof self&&self&&self.Object===Object&&self,ea=ei||eo||Function("return this")();Y.exports=ea},16:function(Y){var et="__lodash_hash_undefined__";function en(Y){return this.__data__.set(Y,et),this}Y.exports=en},64832:function(Y){function et(Y){return this.__data__.has(Y)}Y.exports=et},33005:function(Y){function et(Y){var et=-1,en=Array(Y.size);return Y.forEach(function(Y){en[++et]=Y}),en}Y.exports=et},69191:function(Y,et,en){var ei=en(14545);function eo(Y,et){var en=-1,eo=Y.length,ea=eo-1;for(et=void 0===et?eo:et;++en<et;){var eu=ei(en,ea),ec=Y[eu];Y[eu]=Y[en],Y[en]=ec}return Y.length=et,Y}Y.exports=eo},79882:function(Y,et,en){var ei=en(624);function eo(){this.__data__=new ei,this.size=0}Y.exports=eo},86639:function(Y){function et(Y){var et=this.__data__,en=et.delete(Y);return this.size=et.size,en}Y.exports=et},73887:function(Y){function et(Y){return this.__data__.get(Y)}Y.exports=et},2603:function(Y){function et(Y){return this.__data__.has(Y)}Y.exports=et},57853:function(Y,et,en){var ei=en(624),eo=en(17973),ea=en(2767),eu=200;function ec(Y,et){var en=this.__data__;if(en instanceof ei){var ec=en.__data__;if(!eo||ec.length<eu-1)return ec.push([Y,et]),this.size=++en.size,this;en=this.__data__=new ea(ec)}return en.set(Y,et),this.size=en.size,this}Y.exports=ec},61596:function(Y,et,en){var ei=en(15646),eo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ea=/\\(\\)?/g,eu=ei(function(Y){var et=[];return 46===Y.charCodeAt(0)&&et.push(""),Y.replace(eo,function(Y,en,ei,eo){et.push(ei?eo.replace(ea,"$1"):en||Y)}),et});Y.exports=eu},28091:function(Y,et,en){var ei=en(42848),eo=1/0;function ea(Y){if("string"==typeof Y||ei(Y))return Y;var et=Y+"";return"0"==et&&1/Y==-eo?"-0":et}Y.exports=ea},19235:function(Y){var et=Function.prototype.toString;function en(Y){if(null!=Y){try{return et.call(Y)}catch(Y){}try{return Y+""}catch(Y){}}return""}Y.exports=en},15012:function(Y){var et=/\s/;function en(Y){for(var en=Y.length;en--&&et.test(Y.charAt(en)););return en}Y.exports=en},95182:function(Y,et,en){var ei=en(70331),eo=en(67948);function ea(Y,et,en){return void 0===en&&(en=et,et=void 0),void 0!==en&&(en=(en=eo(en))==en?en:0),void 0!==et&&(et=(et=eo(et))==et?et:0),ei(eo(Y),et,en)}Y.exports=ea},3284:function(Y){function et(Y,et){return Y===et||Y!=Y&&et!=et}Y.exports=et},2423:function(Y,et,en){var ei=en(87856);function eo(Y,et,en){var eo=null==Y?void 0:ei(Y,et);return void 0===eo?en:eo}Y.exports=eo},64400:function(Y,et,en){var ei=en(86752),eo=en(60706);function ea(Y,et){return null!=Y&&eo(Y,et,ei)}Y.exports=ea},98958:function(Y){function et(Y){return Y}Y.exports=et},43735:function(Y,et,en){var ei=en(75227),eo=en(89109),ea=Object.prototype,eu=ea.hasOwnProperty,ec=ea.propertyIsEnumerable,ed=ei(function(){return arguments}())?ei:function(Y){return eo(Y)&&eu.call(Y,"callee")&&!ec.call(Y,"callee")};Y.exports=ed},2428:function(Y){var et=Array.isArray;Y.exports=et},71701:function(Y,et,en){var ei=en(7419),eo=en(6705);function ea(Y){return null!=Y&&eo(Y.length)&&!ei(Y)}Y.exports=ea},7757:function(Y,et,en){Y=en.nmd(Y);var ei=en(73401),eo=en(88553),ea=et&&!et.nodeType&&et,eu=ea&&Y&&!Y.nodeType&&Y,ec=eu&&eu.exports===ea?ei.Buffer:void 0,ed=(ec?ec.isBuffer:void 0)||eo;Y.exports=ed},65925:function(Y,et,en){var ei=en(33892);function eo(Y,et){return ei(Y,et)}Y.exports=eo},7419:function(Y,et,en){var ei=en(57398),eo=en(6627),ea="[object AsyncFunction]",eu="[object Function]",ec="[object GeneratorFunction]",ed="[object Proxy]";function ef(Y){if(!eo(Y))return!1;var et=ei(Y);return et==eu||et==ec||et==ea||et==ed}Y.exports=ef},6705:function(Y){var et=9007199254740991;function en(Y){return"number"==typeof Y&&Y>-1&&Y%1==0&&Y<=et}Y.exports=en},70517:function(Y){function et(Y){return null==Y}Y.exports=et},6627:function(Y){function et(Y){var et=typeof Y;return null!=Y&&("object"==et||"function"==et)}Y.exports=et},89109:function(Y){function et(Y){return null!=Y&&"object"==typeof Y}Y.exports=et},42848:function(Y,et,en){var ei=en(57398),eo=en(89109),ea="[object Symbol]";function eu(Y){return"symbol"==typeof Y||eo(Y)&&ei(Y)==ea}Y.exports=eu},56868:function(Y,et,en){var ei=en(89126),eo=en(52715),ea=en(20126),eu=ea&&ea.isTypedArray,ec=eu?eo(eu):ei;Y.exports=ec},58834:function(Y,et,en){var ei=en(47189),eo=en(790),ea=en(71701);function eu(Y){return ea(Y)?ei(Y):eo(Y)}Y.exports=eu},53342:function(Y,et,en){var ei=en(47189),eo=en(19177),ea=en(71701);function eu(Y){return ea(Y)?ei(Y,!0):eo(Y)}Y.exports=eu},61888:function(Y,et,en){var ei;Y=en.nmd(Y),(function(){var eo,ea="4.17.21",eu=200,ec="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ed="Expected a function",ef="Invalid `variable` option passed into `_.template`",eh="__lodash_hash_undefined__",ep=500,em="__lodash_placeholder__",eg=1,ey=2,eb=4,ek=1,ew=2,e_=1,eE=2,eC=4,eT=8,eS=16,eA=32,eM=64,eP=128,ej=256,eO=512,eI=30,eN="...",eL=800,eR=16,eD=1,eF=2,eB=3,ez=1/0,eU=9007199254740991,eH=17976931348623157e292,eG=0/0,eV=4294967295,eW=4294967294,eZ=2147483647,eK=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],e$="[object Arguments]",eY="[object Array]",eQ="[object AsyncFunction]",eX="[object Boolean]",eJ="[object Date]",e0="[object DOMException]",e9="[object Error]",e5="[object Function]",e4="[object GeneratorFunction]",e3="[object Map]",e6="[object Number]",e7="[object Null]",e8="[object Object]",tt="[object Promise]",ta="[object Proxy]",tu="[object RegExp]",tc="[object Set]",td="[object String]",tf="[object Symbol]",th="[object Undefined]",tp="[object WeakMap]",tm="[object WeakSet]",tg="[object ArrayBuffer]",tv="[object DataView]",tb="[object Float32Array]",tk="[object Float64Array]",tw="[object Int8Array]",t_="[object Int16Array]",tE="[object Int32Array]",tC="[object Uint8Array]",tT="[object Uint8ClampedArray]",tS="[object Uint16Array]",tA="[object Uint32Array]",tM=/\b__p \+= '';/g,tP=/\b(__p \+=) '' \+/g,tj=/(__e\(.*?\)|\b__t\)) \+\n'';/g,tO=/&(?:amp|lt|gt|quot|#39);/g,tI=/[&<>"']/g,tN=RegExp(tO.source),tL=RegExp(tI.source),tR=/<%-([\s\S]+?)%>/g,tD=/<%([\s\S]+?)%>/g,tF=/<%=([\s\S]+?)%>/g,tB=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tU=/^\w*$/,tH=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tG=/[\\^$.*+?()[\]{}|]/g,tV=RegExp(tG.source),tW=/^\s+/,tq=/\s/,tZ=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,tK=/\{\n\/\* \[wrapped with (.+)\] \*/,t$=/,? & /,tY=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tQ=/[()=,{}\[\]\/\s]/,tX=/\\(\\)?/g,tJ=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,t9=/\w*$/,t5=/^[-+]0x[0-9a-f]+$/i,t4=/^0b[01]+$/i,t3=/^\[object .+?Constructor\]$/,t6=/^0o[0-7]+$/i,t7=/^(?:0|[1-9]\d*)$/,t8=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,nt=/($^)/,nn=/['\n\r\u2028\u2029\\]/g,ni="\ud800-\udfff",na="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",nu="\\u2700-\\u27bf",nd="a-z\\xdf-\\xf6\\xf8-\\xff",nf="A-Z\\xc0-\\xd6\\xd8-\\xde",nh="\\ufe0e\\ufe0f",np="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ng="[']",nv="["+ni+"]",ny="["+np+"]",nb="["+na+"]",nx="\\d+",nk="["+nu+"]",nw="["+nd+"]",n_="[^"+ni+np+nx+nu+nd+nf+"]",nE="\ud83c[\udffb-\udfff]",nC="[^"+ni+"]",nT="(?:\ud83c[\udde6-\uddff]){2}",nS="[\ud800-\udbff][\udc00-\udfff]",nA="["+nf+"]",nM="\\u200d",nP="(?:"+nw+"|"+n_+")",nj="(?:"+nA+"|"+n_+")",nO="(?:"+ng+"(?:d|ll|m|re|s|t|ve))?",nI="(?:"+ng+"(?:D|LL|M|RE|S|T|VE))?",nN="(?:"+nb+"|"+nE+")?",nL="["+nh+"]?",nR="(?:"+nM+"(?:"+[nC,nT,nS].join("|")+")"+nL+nN+")*",nD="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",nF="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",nB=nL+nN+nR,nz="(?:"+[nk,nT,nS].join("|")+")"+nB,nU="(?:"+[nC+nb+"?",nb,nT,nS,nv].join("|")+")",nH=RegExp(ng,"g"),nG=RegExp(nb,"g"),nV=RegExp(nE+"(?="+nE+")|"+nU+nB,"g"),nW=RegExp([nA+"?"+nw+"+"+nO+"(?="+[ny,nA,"$"].join("|")+")",nj+"+"+nI+"(?="+[ny,nA+nP,"$"].join("|")+")",nA+"?"+nP+"+"+nO,nA+"+"+nI,nF,nD,nx,nz].join("|"),"g"),nq=RegExp("["+nM+ni+na+nh+"]"),nZ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nK=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],n$=-1,nY={};nY[tb]=nY[tk]=nY[tw]=nY[t_]=nY[tE]=nY[tC]=nY[tT]=nY[tS]=nY[tA]=!0,nY[e$]=nY[eY]=nY[tg]=nY[eX]=nY[tv]=nY[eJ]=nY[e9]=nY[e5]=nY[e3]=nY[e6]=nY[e8]=nY[tu]=nY[tc]=nY[td]=nY[tp]=!1;var nQ={};nQ[e$]=nQ[eY]=nQ[tg]=nQ[tv]=nQ[eX]=nQ[eJ]=nQ[tb]=nQ[tk]=nQ[tw]=nQ[t_]=nQ[tE]=nQ[e3]=nQ[e6]=nQ[e8]=nQ[tu]=nQ[tc]=nQ[td]=nQ[tf]=nQ[tC]=nQ[tT]=nQ[tS]=nQ[tA]=!0,nQ[e9]=nQ[e5]=nQ[tp]=!1;var nX={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},nJ={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},n0={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},n9={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},n5=parseFloat,n4=parseInt,n3="object"==typeof en.g&&en.g&&en.g.Object===Object&&en.g,n6="object"==typeof self&&self&&self.Object===Object&&self,n7=n3||n6||Function("return this")(),n8=et&&!et.nodeType&&et,rn=n8&&Y&&!Y.nodeType&&Y,rr=rn&&rn.exports===n8,ri=rr&&n3.process,ro=function(){try{var Y=rn&&rn.require&&rn.require("util").types;if(Y)return Y;return ri&&ri.binding&&ri.binding("util")}catch(Y){}}(),ra=ro&&ro.isArrayBuffer,rs=ro&&ro.isDate,rl=ro&&ro.isMap,ru=ro&&ro.isRegExp,rc=ro&&ro.isSet,rh=ro&&ro.isTypedArray;function rp(Y,et,en){switch(en.length){case 0:return Y.call(et);case 1:return Y.call(et,en[0]);case 2:return Y.call(et,en[0],en[1]);case 3:return Y.call(et,en[0],en[1],en[2])}return Y.apply(et,en)}function rm(Y,et,en,ei){for(var eo=-1,ea=null==Y?0:Y.length;++eo<ea;){var eu=Y[eo];et(ei,eu,en(eu),Y)}return ei}function rg(Y,et){for(var en=-1,ei=null==Y?0:Y.length;++en<ei&&!1!==et(Y[en],en,Y););return Y}function rv(Y,et){for(var en=null==Y?0:Y.length;en--&&!1!==et(Y[en],en,Y););return Y}function ry(Y,et){for(var en=-1,ei=null==Y?0:Y.length;++en<ei;)if(!et(Y[en],en,Y))return!1;return!0}function rb(Y,et){for(var en=-1,ei=null==Y?0:Y.length,eo=0,ea=[];++en<ei;){var eu=Y[en];et(eu,en,Y)&&(ea[eo++]=eu)}return ea}function rk(Y,et){return!!(null==Y?0:Y.length)&&rN(Y,et,0)>-1}function r_(Y,et,en){for(var ei=-1,eo=null==Y?0:Y.length;++ei<eo;)if(en(et,Y[ei]))return!0;return!1}function rE(Y,et){for(var en=-1,ei=null==Y?0:Y.length,eo=Array(ei);++en<ei;)eo[en]=et(Y[en],en,Y);return eo}function rC(Y,et){for(var en=-1,ei=et.length,eo=Y.length;++en<ei;)Y[eo+en]=et[en];return Y}function rT(Y,et,en,ei){var eo=-1,ea=null==Y?0:Y.length;for(ei&&ea&&(en=Y[++eo]);++eo<ea;)en=et(en,Y[eo],eo,Y);return en}function rS(Y,et,en,ei){var eo=null==Y?0:Y.length;for(ei&&eo&&(en=Y[--eo]);eo--;)en=et(en,Y[eo],eo,Y);return en}function rA(Y,et){for(var en=-1,ei=null==Y?0:Y.length;++en<ei;)if(et(Y[en],en,Y))return!0;return!1}var rM=rF("length");function rP(Y){return Y.split("")}function rj(Y){return Y.match(tY)||[]}function rO(Y,et,en){var ei;return en(Y,function(Y,en,eo){if(et(Y,en,eo))return ei=en,!1}),ei}function rI(Y,et,en,ei){for(var eo=Y.length,ea=en+(ei?1:-1);ei?ea--:++ea<eo;)if(et(Y[ea],ea,Y))return ea;return -1}function rN(Y,et,en){return et==et?ir(Y,et,en):rI(Y,rR,en)}function rL(Y,et,en,ei){for(var eo=en-1,ea=Y.length;++eo<ea;)if(ei(Y[eo],et))return eo;return -1}function rR(Y){return Y!=Y}function rD(Y,et){var en=null==Y?0:Y.length;return en?rH(Y,et)/en:eG}function rF(Y){return function(et){return null==et?eo:et[Y]}}function rB(Y){return function(et){return null==Y?eo:Y[et]}}function rz(Y,et,en,ei,eo){return eo(Y,function(Y,eo,ea){en=ei?(ei=!1,Y):et(en,Y,eo,ea)}),en}function rU(Y,et){var en=Y.length;for(Y.sort(et);en--;)Y[en]=Y[en].value;return Y}function rH(Y,et){for(var en,ei=-1,ea=Y.length;++ei<ea;){var eu=et(Y[ei]);eo!==eu&&(en=eo===en?eu:en+eu)}return en}function rG(Y,et){for(var en=-1,ei=Array(Y);++en<Y;)ei[en]=et(en);return ei}function rV(Y,et){return rE(et,function(et){return[et,Y[et]]})}function rW(Y){return Y?Y.slice(0,il(Y)+1).replace(tW,""):Y}function rq(Y){return function(et){return Y(et)}}function rZ(Y,et){return rE(et,function(et){return Y[et]})}function rK(Y,et){return Y.has(et)}function r$(Y,et){for(var en=-1,ei=Y.length;++en<ei&&rN(et,Y[en],0)>-1;);return en}function rY(Y,et){for(var en=Y.length;en--&&rN(et,Y[en],0)>-1;);return en}function rQ(Y,et){for(var en=Y.length,ei=0;en--;)Y[en]===et&&++ei;return ei}var rX=rB(nX),rJ=rB(nJ);function r0(Y){return"\\"+n9[Y]}function r1(Y,et){return null==Y?eo:Y[et]}function r2(Y){return nq.test(Y)}function r9(Y){return nZ.test(Y)}function r5(Y){for(var et,en=[];!(et=Y.next()).done;)en.push(et.value);return en}function r4(Y){var et=-1,en=Array(Y.size);return Y.forEach(function(Y,ei){en[++et]=[ei,Y]}),en}function r3(Y,et){return function(en){return Y(et(en))}}function r6(Y,et){for(var en=-1,ei=Y.length,eo=0,ea=[];++en<ei;){var eu=Y[en];(eu===et||eu===em)&&(Y[en]=em,ea[eo++]=en)}return ea}function r7(Y){var et=-1,en=Array(Y.size);return Y.forEach(function(Y){en[++et]=Y}),en}function r8(Y){var et=-1,en=Array(Y.size);return Y.forEach(function(Y){en[++et]=[Y,Y]}),en}function ir(Y,et,en){for(var ei=en-1,eo=Y.length;++ei<eo;)if(Y[ei]===et)return ei;return -1}function ii(Y,et,en){for(var ei=en+1;ei--&&Y[ei]!==et;);return ei}function io(Y){return r2(Y)?ih(Y):rM(Y)}function ia(Y){return r2(Y)?im(Y):rP(Y)}function il(Y){for(var et=Y.length;et--&&tq.test(Y.charAt(et)););return et}var iu=rB(n0);function ih(Y){for(var et=nV.lastIndex=0;nV.test(Y);)++et;return et}function im(Y){return Y.match(nV)||[]}function ig(Y){return Y.match(nW)||[]}var iy=function Y(et){var en=(et=null==et?n7:iy.defaults(n7.Object(),et,iy.pick(n7,nK))).Array,ei=et.Date,tq=et.Error,tY=et.Function,ni=et.Math,na=et.Object,nu=et.RegExp,nd=et.String,nf=et.TypeError,nh=en.prototype,np=tY.prototype,ng=na.prototype,nv=et["__core-js_shared__"],ny=np.toString,nb=ng.hasOwnProperty,nx=0,nk=function(){var Y=/[^.]+$/.exec(nv&&nv.keys&&nv.keys.IE_PROTO||"");return Y?"Symbol(src)_1."+Y:""}(),nw=ng.toString,n_=ny.call(na),nE=n7._,nC=nu("^"+ny.call(nb).replace(tG,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nT=rr?et.Buffer:eo,nS=et.Symbol,nA=et.Uint8Array,nM=nT?nT.allocUnsafe:eo,nP=r3(na.getPrototypeOf,na),nj=na.create,nO=ng.propertyIsEnumerable,nI=nh.splice,nN=nS?nS.isConcatSpreadable:eo,nL=nS?nS.iterator:eo,nR=nS?nS.toStringTag:eo,nD=function(){try{var Y=lu(na,"defineProperty");return Y({},"",{}),Y}catch(Y){}}(),nF=et.clearTimeout!==n7.clearTimeout&&et.clearTimeout,nB=ei&&ei.now!==n7.Date.now&&ei.now,nz=et.setTimeout!==n7.setTimeout&&et.setTimeout,nU=ni.ceil,nV=ni.floor,nW=na.getOwnPropertySymbols,nq=nT?nT.isBuffer:eo,nZ=et.isFinite,nX=nh.join,nJ=r3(na.keys,na),n0=ni.max,n9=ni.min,n3=ei.now,n6=et.parseInt,n8=ni.random,rn=nh.reverse,ri=lu(et,"DataView"),ro=lu(et,"Map"),rM=lu(et,"Promise"),rP=lu(et,"Set"),rB=lu(et,"WeakMap"),ir=lu(na,"create"),ih=rB&&new rB,im={},ib=lQ(ri),ix=lQ(ro),iw=lQ(rM),i_=lQ(rP),iE=lQ(rB),iC=nS?nS.prototype:eo,iT=iC?iC.valueOf:eo,iS=iC?iC.toString:eo;function iA(Y){if(dG(Y)&&!dT(Y)&&!(Y instanceof iO)){if(Y instanceof ij)return Y;if(nb.call(Y,"__wrapped__"))return lJ(Y)}return new ij(Y)}var iM=function(){function Y(){}return function(et){if(!dH(et))return{};if(nj)return nj(et);Y.prototype=et;var en=new Y;return Y.prototype=eo,en}}();function iP(){}function ij(Y,et){this.__wrapped__=Y,this.__actions__=[],this.__chain__=!!et,this.__index__=0,this.__values__=eo}function iO(Y){this.__wrapped__=Y,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=eV,this.__views__=[]}function iI(){var Y=new iO(this.__wrapped__);return Y.__actions__=sk(this.__actions__),Y.__dir__=this.__dir__,Y.__filtered__=this.__filtered__,Y.__iteratees__=sk(this.__iteratees__),Y.__takeCount__=this.__takeCount__,Y.__views__=sk(this.__views__),Y}function iN(){if(this.__filtered__){var Y=new iO(this);Y.__dir__=-1,Y.__filtered__=!0}else Y=this.clone(),Y.__dir__*=-1;return Y}function iL(){var Y=this.__wrapped__.value(),et=this.__dir__,en=dT(Y),ei=et<0,eo=en?Y.length:0,ea=lg(0,eo,this.__views__),eu=ea.start,ec=ea.end,ed=ec-eu,ef=ei?ec:eu-1,eh=this.__iteratees__,ep=eh.length,em=0,eg=n9(ed,this.__takeCount__);if(!en||!ei&&eo==ed&&eg==ed)return a0(Y,this.__actions__);var ey=[];e:for(;ed--&&em<eg;){for(var eb=-1,ek=Y[ef+=et];++eb<ep;){var ew=eh[eb],e_=ew.iteratee,eE=ew.type,eC=e_(ek);if(eE==eF)ek=eC;else if(!eC){if(eE==eD)continue e;break e}}ey[em++]=ek}return ey}function iR(Y){var et=-1,en=null==Y?0:Y.length;for(this.clear();++et<en;){var ei=Y[et];this.set(ei[0],ei[1])}}function iD(){this.__data__=ir?ir(null):{},this.size=0}function iF(Y){var et=this.has(Y)&&delete this.__data__[Y];return this.size-=et?1:0,et}function iB(Y){var et=this.__data__;if(ir){var en=et[Y];return en===eh?eo:en}return nb.call(et,Y)?et[Y]:eo}function iz(Y){var et=this.__data__;return ir?eo!==et[Y]:nb.call(et,Y)}function iU(Y,et){var en=this.__data__;return this.size+=this.has(Y)?0:1,en[Y]=ir&&eo===et?eh:et,this}function iH(Y){var et=-1,en=null==Y?0:Y.length;for(this.clear();++et<en;){var ei=Y[et];this.set(ei[0],ei[1])}}function iG(){this.__data__=[],this.size=0}function iV(Y){var et=this.__data__,en=of(et,Y);return!(en<0)&&(en==et.length-1?et.pop():nI.call(et,en,1),--this.size,!0)}function iW(Y){var et=this.__data__,en=of(et,Y);return en<0?eo:et[en][1]}function iq(Y){return of(this.__data__,Y)>-1}function iZ(Y,et){var en=this.__data__,ei=of(en,Y);return ei<0?(++this.size,en.push([Y,et])):en[ei][1]=et,this}function iK(Y){var et=-1,en=null==Y?0:Y.length;for(this.clear();++et<en;){var ei=Y[et];this.set(ei[0],ei[1])}}function i$(){this.size=0,this.__data__={hash:new iR,map:new(ro||iH),string:new iR}}function iQ(Y){var et=ls(this,Y).delete(Y);return this.size-=et?1:0,et}function iJ(Y){return ls(this,Y).get(Y)}function i0(Y){return ls(this,Y).has(Y)}function i9(Y,et){var en=ls(this,Y),ei=en.size;return en.set(Y,et),this.size+=en.size==ei?0:1,this}function i5(Y){var et=-1,en=null==Y?0:Y.length;for(this.__data__=new iK;++et<en;)this.add(Y[et])}function i4(Y){return this.__data__.set(Y,eh),this}function i3(Y){return this.__data__.has(Y)}function i6(Y){var et=this.__data__=new iH(Y);this.size=et.size}function i7(){this.__data__=new iH,this.size=0}function i8(Y){var et=this.__data__,en=et.delete(Y);return this.size=et.size,en}function ot(Y){return this.__data__.get(Y)}function or(Y){return this.__data__.has(Y)}function oi(Y,et){var en=this.__data__;if(en instanceof iH){var ei=en.__data__;if(!ro||ei.length<eu-1)return ei.push([Y,et]),this.size=++en.size,this;en=this.__data__=new iK(ei)}return en.set(Y,et),this.size=en.size,this}function oo(Y,et){var en=dT(Y),ei=!en&&dC(Y),eo=!en&&!ei&&dj(Y),ea=!en&&!ei&&!eo&&d3(Y),eu=en||ei||eo||ea,ec=eu?rG(Y.length,nd):[],ed=ec.length;for(var ef in Y)(et||nb.call(Y,ef))&&!(eu&&("length"==ef||eo&&("offset"==ef||"parent"==ef)||ea&&("buffer"==ef||"byteLength"==ef||"byteOffset"==ef)||lC(ef,ed)))&&ec.push(ef);return ec}function os(Y){var et=Y.length;return et?Y[aP(0,et-1)]:eo}function ol(Y,et){return lK(sk(Y),o_(et,0,Y.length))}function ou(Y){return lK(sk(Y))}function oc(Y,et,en){(eo===en||dw(Y[et],en))&&(eo!==en||et in Y)||ov(Y,et,en)}function od(Y,et,en){var ei=Y[et];nb.call(Y,et)&&dw(ei,en)&&(eo!==en||et in Y)||ov(Y,et,en)}function of(Y,et){for(var en=Y.length;en--;)if(dw(Y[en][0],et))return en;return -1}function oh(Y,et,en,ei){return oM(Y,function(Y,eo,ea){et(ei,Y,en(Y),ea)}),ei}function om(Y,et){return Y&&s_(et,fD(et),Y)}function og(Y,et){return Y&&s_(et,fF(et),Y)}function ov(Y,et,en){"__proto__"==et&&nD?nD(Y,et,{configurable:!0,enumerable:!0,value:en,writable:!0}):Y[et]=en}function ow(Y,et){for(var ei=-1,ea=et.length,eu=en(ea),ec=null==Y;++ei<ea;)eu[ei]=ec?eo:fj(Y,et[ei]);return eu}function o_(Y,et,en){return Y==Y&&(eo!==en&&(Y=Y<=en?Y:en),eo!==et&&(Y=Y>=et?Y:et)),Y}function oE(Y,et,en,ei,ea,eu){var ec,ed=et&eg,ef=et&ey,eh=et&eb;if(en&&(ec=ea?en(Y,ei,ea,eu):en(Y)),eo!==ec)return ec;if(!dH(Y))return Y;var ep=dT(Y);if(ep){if(ec=lb(Y),!ed)return sk(Y,ec)}else{var em=lm(Y),ek=em==e5||em==e4;if(dj(Y))return si(Y,ed);if(em==e8||em==e$||ek&&!ea){if(ec=ef||ek?{}:lk(Y),!ed)return ef?sC(Y,og(ec,Y)):sE(Y,om(ec,Y))}else{if(!nQ[em])return ea?Y:{};ec=lw(Y,em,ed)}}eu||(eu=new i6);var ew=eu.get(Y);if(ew)return ew;eu.set(Y,ec),d9(Y)?Y.forEach(function(ei){ec.add(oE(ei,et,en,ei,Y,eu))}):dV(Y)&&Y.forEach(function(ei,eo){ec.set(eo,oE(ei,et,en,eo,Y,eu))});var e_=eh?ef?s8:s7:ef?fF:fD,eE=ep?eo:e_(Y);return rg(eE||Y,function(ei,eo){eE&&(ei=Y[eo=ei]),od(ec,eo,oE(ei,et,en,eo,Y,eu))}),ec}function oC(Y){var et=fD(Y);return function(en){return oT(en,Y,et)}}function oT(Y,et,en){var ei=en.length;if(null==Y)return!ei;for(Y=na(Y);ei--;){var ea=en[ei],eu=et[ea],ec=Y[ea];if(eo===ec&&!(ea in Y)||!eu(ec))return!1}return!0}function oS(Y,et,en){if("function"!=typeof Y)throw new nf(ed);return lV(function(){Y.apply(eo,en)},et)}function oA(Y,et,en,ei){var eo=-1,ea=rk,ec=!0,ed=Y.length,ef=[],eh=et.length;if(!ed)return ef;en&&(et=rE(et,rq(en))),ei?(ea=r_,ec=!1):et.length>=eu&&(ea=rK,ec=!1,et=new i5(et));e:for(;++eo<ed;){var ep=Y[eo],em=null==en?ep:en(ep);if(ep=ei||0!==ep?ep:0,ec&&em==em){for(var eg=eh;eg--;)if(et[eg]===em)continue e;ef.push(ep)}else ea(et,em,ei)||ef.push(ep)}return ef}iA.templateSettings={escape:tR,evaluate:tD,interpolate:tF,variable:"",imports:{_:iA}},iA.prototype=iP.prototype,iA.prototype.constructor=iA,ij.prototype=iM(iP.prototype),ij.prototype.constructor=ij,iO.prototype=iM(iP.prototype),iO.prototype.constructor=iO,iR.prototype.clear=iD,iR.prototype.delete=iF,iR.prototype.get=iB,iR.prototype.has=iz,iR.prototype.set=iU,iH.prototype.clear=iG,iH.prototype.delete=iV,iH.prototype.get=iW,iH.prototype.has=iq,iH.prototype.set=iZ,iK.prototype.clear=i$,iK.prototype.delete=iQ,iK.prototype.get=iJ,iK.prototype.has=i0,iK.prototype.set=i9,i5.prototype.add=i5.prototype.push=i4,i5.prototype.has=i3,i6.prototype.clear=i7,i6.prototype.delete=i8,i6.prototype.get=ot,i6.prototype.has=or,i6.prototype.set=oi;var oM=sA(oF),oP=sA(oB,!0);function oj(Y,et){var en=!0;return oM(Y,function(Y,ei,eo){return en=!!et(Y,ei,eo)}),en}function oO(Y,et,en){for(var ei=-1,ea=Y.length;++ei<ea;){var eu=Y[ei],ec=et(eu);if(null!=ec&&(eo===ed?ec==ec&&!d4(ec):en(ec,ed)))var ed=ec,ef=eu}return ef}function oI(Y,et,en,ei){var ea=Y.length;for((en=fl(en))<0&&(en=-en>ea?0:ea+en),(ei=eo===ei||ei>ea?ea:fl(ei))<0&&(ei+=ea),ei=en>ei?0:fu(ei);en<ei;)Y[en++]=et;return Y}function oN(Y,et){var en=[];return oM(Y,function(Y,ei,eo){et(Y,ei,eo)&&en.push(Y)}),en}function oL(Y,et,en,ei,eo){var ea=-1,eu=Y.length;for(en||(en=lE),eo||(eo=[]);++ea<eu;){var ec=Y[ea];et>0&&en(ec)?et>1?oL(ec,et-1,en,ei,eo):rC(eo,ec):ei||(eo[eo.length]=ec)}return eo}var oR=sM(),oD=sM(!0);function oF(Y,et){return Y&&oR(Y,et,fD)}function oB(Y,et){return Y&&oD(Y,et,fD)}function oz(Y,et){return rb(et,function(et){return dB(Y[et])})}function oU(Y,et){et=a6(et,Y);for(var en=0,ei=et.length;null!=Y&&en<ei;)Y=Y[lY(et[en++])];return en&&en==ei?Y:eo}function oH(Y,et,en){var ei=et(Y);return dT(Y)?ei:rC(ei,en(Y))}function oG(Y){return null==Y?eo===Y?th:e7:nR&&nR in na(Y)?ld(Y):lF(Y)}function oV(Y,et){return Y>et}function oW(Y,et){return null!=Y&&nb.call(Y,et)}function oq(Y,et){return null!=Y&&et in na(Y)}function oZ(Y,et,en){return Y>=n9(et,en)&&Y<n0(et,en)}function oK(Y,et,ei){for(var ea=ei?r_:rk,eu=Y[0].length,ec=Y.length,ed=ec,ef=en(ec),eh=1/0,ep=[];ed--;){var em=Y[ed];ed&&et&&(em=rE(em,rq(et))),eh=n9(em.length,eh),ef[ed]=!ei&&(et||eu>=120&&em.length>=120)?new i5(ed&&em):eo}em=Y[0];var eg=-1,ey=ef[0];e:for(;++eg<eu&&ep.length<eh;){var eb=em[eg],ek=et?et(eb):eb;if(eb=ei||0!==eb?eb:0,!(ey?rK(ey,ek):ea(ep,ek,ei))){for(ed=ec;--ed;){var ew=ef[ed];if(!(ew?rK(ew,ek):ea(Y[ed],ek,ei)))continue e}ey&&ey.push(ek),ep.push(eb)}}return ep}function o$(Y,et,en,ei){return oF(Y,function(Y,eo,ea){et(ei,en(Y),eo,ea)}),ei}function oQ(Y,et,en){et=a6(et,Y);var ei=null==(Y=lz(Y,et))?Y:Y[lY(uv(et))];return null==ei?eo:rp(ei,Y,en)}function oJ(Y){return dG(Y)&&oG(Y)==e$}function o0(Y){return dG(Y)&&oG(Y)==tg}function o9(Y){return dG(Y)&&oG(Y)==eJ}function o5(Y,et,en,ei,eo){return Y===et||(null!=Y&&null!=et&&(dG(Y)||dG(et))?o4(Y,et,en,ei,o5,eo):Y!=Y&&et!=et)}function o4(Y,et,en,ei,eo,ea){var eu=dT(Y),ec=dT(et),ed=eu?eY:lm(Y),ef=ec?eY:lm(et);ed=ed==e$?e8:ed,ef=ef==e$?e8:ef;var eh=ed==e8,ep=ef==e8,em=ed==ef;if(em&&dj(Y)){if(!dj(et))return!1;eu=!0,eh=!1}if(em&&!eh)return ea||(ea=new i6),eu||d3(Y)?s9(Y,et,en,ei,eo,ea):s5(Y,et,ed,en,ei,eo,ea);if(!(en&ek)){var eg=eh&&nb.call(Y,"__wrapped__"),ey=ep&&nb.call(et,"__wrapped__");if(eg||ey){var eb=eg?Y.value():Y,ew=ey?et.value():et;return ea||(ea=new i6),eo(eb,ew,en,ei,ea)}}return!!em&&(ea||(ea=new i6),s4(Y,et,en,ei,eo,ea))}function o3(Y){return dG(Y)&&lm(Y)==e3}function o6(Y,et,en,ei){var ea=en.length,eu=ea,ec=!ei;if(null==Y)return!eu;for(Y=na(Y);ea--;){var ed=en[ea];if(ec&&ed[2]?ed[1]!==Y[ed[0]]:!(ed[0]in Y))return!1}for(;++ea<eu;){var ef=(ed=en[ea])[0],eh=Y[ef],ep=ed[1];if(ec&&ed[2]){if(eo===eh&&!(ef in Y))return!1}else{var em=new i6;if(ei)var eg=ei(eh,ep,ef,Y,et,em);if(!(eo===eg?o5(ep,eh,ek|ew,ei,em):eg))return!1}}return!0}function o7(Y){return!(!dH(Y)||lP(Y))&&(dB(Y)?nC:t3).test(lQ(Y))}function o8(Y){return dG(Y)&&oG(Y)==tu}function ai(Y){return dG(Y)&&lm(Y)==tc}function ao(Y){return dG(Y)&&dU(Y.length)&&!!nY[oG(Y)]}function aa(Y){return"function"==typeof Y?Y:null==Y?hB:"object"==typeof Y?dT(Y)?ap(Y[0],Y[1]):ah(Y):hX(Y)}function al(Y){if(!lO(Y))return nJ(Y);var et=[];for(var en in na(Y))nb.call(Y,en)&&"constructor"!=en&&et.push(en);return et}function au(Y){if(!dH(Y))return lD(Y);var et=lO(Y),en=[];for(var ei in Y)"constructor"==ei&&(et||!nb.call(Y,ei))||en.push(ei);return en}function ac(Y,et){return Y<et}function af(Y,et){var ei=-1,eo=dA(Y)?en(Y.length):[];return oM(Y,function(Y,en,ea){eo[++ei]=et(Y,en,ea)}),eo}function ah(Y){var et=ll(Y);return 1==et.length&&et[0][2]?lN(et[0][0],et[0][1]):function(en){return en===Y||o6(en,Y,et)}}function ap(Y,et){return lS(Y)&&lI(et)?lN(lY(Y),et):function(en){var ei=fj(en,Y);return eo===ei&&ei===et?fI(en,Y):o5(et,ei,ek|ew)}}function am(Y,et,en,ei,ea){Y!==et&&oR(et,function(eu,ec){if(ea||(ea=new i6),dH(eu))ag(Y,et,ec,en,am,ei,ea);else{var ed=ei?ei(lH(Y,ec),eu,ec+"",Y,et,ea):eo;eo===ed&&(ed=eu),oc(Y,ec,ed)}},fF)}function ag(Y,et,en,ei,ea,eu,ec){var ed=lH(Y,en),ef=lH(et,en),eh=ec.get(ef);if(eh){oc(Y,en,eh);return}var ep=eu?eu(ed,ef,en+"",Y,et,ec):eo,em=eo===ep;if(em){var eg=dT(ef),ey=!eg&&dj(ef),eb=!eg&&!ey&&d3(ef);ep=ef,eg||ey||eb?dT(ed)?ep=ed:dM(ed)?ep=sk(ed):ey?(em=!1,ep=si(ef,!0)):eb?(em=!1,ep=sf(ef,!0)):ep=[]:dX(ef)||dC(ef)?(ep=ed,dC(ed)?ep=ff(ed):(!dH(ed)||dB(ed))&&(ep=lk(ef))):em=!1}em&&(ec.set(ef,ep),ea(ep,ef,ei,eu,ec),ec.delete(ef)),oc(Y,en,ep)}function av(Y,et){var en=Y.length;if(en)return lC(et+=et<0?en:0,en)?Y[et]:eo}function ak(Y,et,en){et=et.length?rE(et,function(Y){return dT(Y)?function(et){return oU(et,1===Y.length?Y[0]:Y)}:Y}):[hB];var ei=-1;return et=rE(et,rq(la())),rU(af(Y,function(Y,en,eo){return{criteria:rE(et,function(et){return et(Y)}),index:++ei,value:Y}}),function(Y,et){return sm(Y,et,en)})}function a_(Y,et){return aE(Y,et,function(et,en){return fI(Y,en)})}function aE(Y,et,en){for(var ei=-1,eo=et.length,ea={};++ei<eo;){var eu=et[ei],ec=oU(Y,eu);en(ec,eu)&&aR(ea,a6(eu,Y),ec)}return ea}function aC(Y){return function(et){return oU(et,Y)}}function aS(Y,et,en,ei){var eo=ei?rL:rN,ea=-1,eu=et.length,ec=Y;for(Y===et&&(et=sk(et)),en&&(ec=rE(Y,rq(en)));++ea<eu;)for(var ed=0,ef=et[ea],eh=en?en(ef):ef;(ed=eo(ec,eh,ed,ei))>-1;)ec!==Y&&nI.call(ec,ed,1),nI.call(Y,ed,1);return Y}function aM(Y,et){for(var en=Y?et.length:0,ei=en-1;en--;){var eo=et[en];if(en==ei||eo!==ea){var ea=eo;lC(eo)?nI.call(Y,eo,1):aY(Y,eo)}}return Y}function aP(Y,et){return Y+nV(n8()*(et-Y+1))}function aj(Y,et,ei,eo){for(var ea=-1,eu=n0(nU((et-Y)/(ei||1)),0),ec=en(eu);eu--;)ec[eo?eu:++ea]=Y,Y+=ei;return ec}function aO(Y,et){var en="";if(!Y||et<1||et>eU)return en;do et%2&&(en+=Y),(et=nV(et/2))&&(Y+=Y);while(et);return en}function aI(Y,et){return lW(lB(Y,et,hB),Y+"")}function aN(Y){return os(f5(Y))}function aL(Y,et){var en=f5(Y);return lK(en,o_(et,0,en.length))}function aR(Y,et,en,ei){if(!dH(Y))return Y;et=a6(et,Y);for(var ea=-1,eu=et.length,ec=eu-1,ed=Y;null!=ed&&++ea<eu;){var ef=lY(et[ea]),eh=en;if("__proto__"===ef||"constructor"===ef||"prototype"===ef)break;if(ea!=ec){var ep=ed[ef];eh=ei?ei(ep,ef,ed):eo,eo===eh&&(eh=dH(ep)?ep:lC(et[ea+1])?[]:{})}od(ed,ef,eh),ed=ed[ef]}return Y}var aD=ih?function(Y,et){return ih.set(Y,et),Y}:hB,aF=nD?function(Y,et){return nD(Y,"toString",{configurable:!0,enumerable:!1,value:hL(et),writable:!0})}:hB;function aU(Y){return lK(f5(Y))}function aH(Y,et,ei){var eo=-1,ea=Y.length;et<0&&(et=-et>ea?0:ea+et),(ei=ei>ea?ea:ei)<0&&(ei+=ea),ea=et>ei?0:ei-et>>>0,et>>>=0;for(var eu=en(ea);++eo<ea;)eu[eo]=Y[eo+et];return eu}function aG(Y,et){var en;return oM(Y,function(Y,ei,eo){return!(en=et(Y,ei,eo))}),!!en}function aV(Y,et,en){var ei=0,eo=null==Y?ei:Y.length;if("number"==typeof et&&et==et&&eo<=eZ){for(;ei<eo;){var ea=ei+eo>>>1,eu=Y[ea];null!==eu&&!d4(eu)&&(en?eu<=et:eu<et)?ei=ea+1:eo=ea}return eo}return aW(Y,et,hB,en)}function aW(Y,et,en,ei){var ea=0,eu=null==Y?0:Y.length;if(0===eu)return 0;for(var ec=(et=en(et))!=et,ed=null===et,ef=d4(et),eh=eo===et;ea<eu;){var ep=nV((ea+eu)/2),em=en(Y[ep]),eg=eo!==em,ey=null===em,eb=em==em,ek=d4(em);if(ec)var ew=ei||eb;else ew=eh?eb&&(ei||eg):ed?eb&&eg&&(ei||!ey):ef?eb&&eg&&!ey&&(ei||!ek):!ey&&!ek&&(ei?em<=et:em<et);ew?ea=ep+1:eu=ep}return n9(eu,eW)}function aq(Y,et){for(var en=-1,ei=Y.length,eo=0,ea=[];++en<ei;){var eu=Y[en],ec=et?et(eu):eu;if(!en||!dw(ec,ed)){var ed=ec;ea[eo++]=0===eu?0:eu}}return ea}function aZ(Y){return"number"==typeof Y?Y:d4(Y)?eG:+Y}function aK(Y){if("string"==typeof Y)return Y;if(dT(Y))return rE(Y,aK)+"";if(d4(Y))return iS?iS.call(Y):"";var et=Y+"";return"0"==et&&1/Y==-ez?"-0":et}function a$(Y,et,en){var ei=-1,eo=rk,ea=Y.length,ec=!0,ed=[],ef=ed;if(en)ec=!1,eo=r_;else if(ea>=eu){var eh=et?null:sK(Y);if(eh)return r7(eh);ec=!1,eo=rK,ef=new i5}else ef=et?[]:ed;e:for(;++ei<ea;){var ep=Y[ei],em=et?et(ep):ep;if(ep=en||0!==ep?ep:0,ec&&em==em){for(var eg=ef.length;eg--;)if(ef[eg]===em)continue e;et&&ef.push(em),ed.push(ep)}else eo(ef,em,en)||(ef!==ed&&ef.push(em),ed.push(ep))}return ed}function aY(Y,et){return et=a6(et,Y),null==(Y=lz(Y,et))||delete Y[lY(uv(et))]}function aQ(Y,et,en,ei){return aR(Y,et,en(oU(Y,et)),ei)}function aJ(Y,et,en,ei){for(var eo=Y.length,ea=ei?eo:-1;(ei?ea--:++ea<eo)&&et(Y[ea],ea,Y););return en?aH(Y,ei?0:ea,ei?ea+1:eo):aH(Y,ei?ea+1:0,ei?eo:ea)}function a0(Y,et){var en=Y;return en instanceof iO&&(en=en.value()),rT(et,function(Y,et){return et.func.apply(et.thisArg,rC([Y],et.args))},en)}function a9(Y,et,ei){var eo=Y.length;if(eo<2)return eo?a$(Y[0]):[];for(var ea=-1,eu=en(eo);++ea<eo;)for(var ec=Y[ea],ed=-1;++ed<eo;)ed!=ea&&(eu[ea]=oA(eu[ea]||ec,Y[ed],et,ei));return a$(oL(eu,1),et,ei)}function a5(Y,et,en){for(var ei=-1,ea=Y.length,eu=et.length,ec={};++ei<ea;){var ed=ei<eu?et[ei]:eo;en(ec,Y[ei],ed)}return ec}function a4(Y){return dM(Y)?Y:[]}function a3(Y){return"function"==typeof Y?Y:hB}function a6(Y,et){return dT(Y)?Y:lS(Y,et)?[Y]:l$(fp(Y))}var a7=aI;function a8(Y,et,en){var ei=Y.length;return en=eo===en?ei:en,!et&&en>=ei?Y:aH(Y,et,en)}var sn=nF||function(Y){return n7.clearTimeout(Y)};function si(Y,et){if(et)return Y.slice();var en=Y.length,ei=nM?nM(en):new Y.constructor(en);return Y.copy(ei),ei}function so(Y){var et=new Y.constructor(Y.byteLength);return new nA(et).set(new nA(Y)),et}function sl(Y,et){var en=et?so(Y.buffer):Y.buffer;return new Y.constructor(en,Y.byteOffset,Y.byteLength)}function su(Y){var et=new Y.constructor(Y.source,t9.exec(Y));return et.lastIndex=Y.lastIndex,et}function sd(Y){return iT?na(iT.call(Y)):{}}function sf(Y,et){var en=et?so(Y.buffer):Y.buffer;return new Y.constructor(en,Y.byteOffset,Y.length)}function sh(Y,et){if(Y!==et){var en=eo!==Y,ei=null===Y,ea=Y==Y,eu=d4(Y),ec=eo!==et,ed=null===et,ef=et==et,eh=d4(et);if(!ed&&!eh&&!eu&&Y>et||eu&&ec&&ef&&!ed&&!eh||ei&&ec&&ef||!en&&ef||!ea)return 1;if(!ei&&!eu&&!eh&&Y<et||eh&&en&&ea&&!ei&&!eu||ed&&en&&ea||!ec&&ea||!ef)return -1}return 0}function sm(Y,et,en){for(var ei=-1,eo=Y.criteria,ea=et.criteria,eu=eo.length,ec=en.length;++ei<eu;){var ed=sh(eo[ei],ea[ei]);if(ed){if(ei>=ec)return ed;return ed*("desc"==en[ei]?-1:1)}}return Y.index-et.index}function sg(Y,et,ei,eo){for(var ea=-1,eu=Y.length,ec=ei.length,ed=-1,ef=et.length,eh=n0(eu-ec,0),ep=en(ef+eh),em=!eo;++ed<ef;)ep[ed]=et[ed];for(;++ea<ec;)(em||ea<eu)&&(ep[ei[ea]]=Y[ea]);for(;eh--;)ep[ed++]=Y[ea++];return ep}function sb(Y,et,ei,eo){for(var ea=-1,eu=Y.length,ec=-1,ed=ei.length,ef=-1,eh=et.length,ep=n0(eu-ed,0),em=en(ep+eh),eg=!eo;++ea<ep;)em[ea]=Y[ea];for(var ey=ea;++ef<eh;)em[ey+ef]=et[ef];for(;++ec<ed;)(eg||ea<eu)&&(em[ey+ei[ec]]=Y[ea++]);return em}function sk(Y,et){var ei=-1,eo=Y.length;for(et||(et=en(eo));++ei<eo;)et[ei]=Y[ei];return et}function s_(Y,et,en,ei){var ea=!en;en||(en={});for(var eu=-1,ec=et.length;++eu<ec;){var ed=et[eu],ef=ei?ei(en[ed],Y[ed],ed,en,Y):eo;eo===ef&&(ef=Y[ed]),ea?ov(en,ed,ef):od(en,ed,ef)}return en}function sE(Y,et){return s_(Y,lf(Y),et)}function sC(Y,et){return s_(Y,lp(Y),et)}function sT(Y,et){return function(en,ei){var eo=dT(en)?rm:oh,ea=et?et():{};return eo(en,Y,la(ei,2),ea)}}function sS(Y){return aI(function(et,en){var ei=-1,ea=en.length,eu=ea>1?en[ea-1]:eo,ec=ea>2?en[2]:eo;for(eu=Y.length>3&&"function"==typeof eu?(ea--,eu):eo,ec&&lT(en[0],en[1],ec)&&(eu=ea<3?eo:eu,ea=1),et=na(et);++ei<ea;){var ed=en[ei];ed&&Y(et,ed,ei,eu)}return et})}function sA(Y,et){return function(en,ei){if(null==en)return en;if(!dA(en))return Y(en,ei);for(var eo=en.length,ea=et?eo:-1,eu=na(en);(et?ea--:++ea<eo)&&!1!==ei(eu[ea],ea,eu););return en}}function sM(Y){return function(et,en,ei){for(var eo=-1,ea=na(et),eu=ei(et),ec=eu.length;ec--;){var ed=eu[Y?ec:++eo];if(!1===en(ea[ed],ed,ea))break}return et}}function sP(Y,et,en){var ei=et&e_,eo=sI(Y);function ea(){return(this&&this!==n7&&this instanceof ea?eo:Y).apply(ei?en:this,arguments)}return ea}function sj(Y){return function(et){var en=r2(et=fp(et))?ia(et):eo,ei=en?en[0]:et.charAt(0),ea=en?a8(en,1).join(""):et.slice(1);return ei[Y]()+ea}}function sO(Y){return function(et){return rT(hP(hn(et).replace(nH,"")),Y,"")}}function sI(Y){return function(){var et=arguments;switch(et.length){case 0:return new Y;case 1:return new Y(et[0]);case 2:return new Y(et[0],et[1]);case 3:return new Y(et[0],et[1],et[2]);case 4:return new Y(et[0],et[1],et[2],et[3]);case 5:return new Y(et[0],et[1],et[2],et[3],et[4]);case 6:return new Y(et[0],et[1],et[2],et[3],et[4],et[5]);case 7:return new Y(et[0],et[1],et[2],et[3],et[4],et[5],et[6])}var en=iM(Y.prototype),ei=Y.apply(en,et);return dH(ei)?ei:en}}function sN(Y,et,ei){var ea=sI(Y);function eu(){for(var ec=arguments.length,ed=en(ec),ef=ec,eh=li(eu);ef--;)ed[ef]=arguments[ef];var ep=ec<3&&ed[0]!==eh&&ed[ec-1]!==eh?[]:r6(ed,eh);return(ec-=ep.length)<ei?sq(Y,et,sD,eu.placeholder,eo,ed,ep,eo,eo,ei-ec):rp(this&&this!==n7&&this instanceof eu?ea:Y,this,ed)}return eu}function sL(Y){return function(et,en,ei){var ea=na(et);if(!dA(et)){var eu=la(en,3);et=fD(et),en=function(Y){return eu(ea[Y],Y,ea)}}var ec=Y(et,en,ei);return ec>-1?ea[eu?et[ec]:ec]:eo}}function sR(Y){return s6(function(et){var en=et.length,ei=en,ea=ij.prototype.thru;for(Y&&et.reverse();ei--;){var eu=et[ei];if("function"!=typeof eu)throw new nf(ed);if(ea&&!ec&&"wrapper"==lr(eu))var ec=new ij([],!0)}for(ei=ec?ei:en;++ei<en;){var ef=lr(eu=et[ei]),eh="wrapper"==ef?ln(eu):eo;ec=eh&&lM(eh[0])&&eh[1]==(eP|eT|eA|ej)&&!eh[4].length&&1==eh[9]?ec[lr(eh[0])].apply(ec,eh[3]):1==eu.length&&lM(eu)?ec[ef]():ec.thru(eu)}return function(){var Y=arguments,ei=Y[0];if(ec&&1==Y.length&&dT(ei))return ec.plant(ei).value();for(var eo=0,ea=en?et[eo].apply(this,Y):ei;++eo<en;)ea=et[eo].call(this,ea);return ea}})}function sD(Y,et,ei,ea,eu,ec,ed,ef,eh,ep){var em=et&eP,eg=et&e_,ey=et&eE,eb=et&(eT|eS),ek=et&eO,ew=ey?eo:sI(Y);function eC(){for(var eo=arguments.length,e_=en(eo),eE=eo;eE--;)e_[eE]=arguments[eE];if(eb)var eT=li(eC),eS=rQ(e_,eT);if(ea&&(e_=sg(e_,ea,eu,eb)),ec&&(e_=sb(e_,ec,ed,eb)),eo-=eS,eb&&eo<ep){var eA=r6(e_,eT);return sq(Y,et,sD,eC.placeholder,ei,e_,eA,ef,eh,ep-eo)}var eM=eg?ei:this,eP=ey?eM[Y]:Y;return eo=e_.length,ef?e_=lU(e_,ef):ek&&eo>1&&e_.reverse(),em&&eh<eo&&(e_.length=eh),this&&this!==n7&&this instanceof eC&&(eP=ew||sI(eP)),eP.apply(eM,e_)}return eC}function sF(Y,et){return function(en,ei){return o$(en,Y,et(ei),{})}}function sB(Y,et){return function(en,ei){var ea;if(eo===en&&eo===ei)return et;if(eo!==en&&(ea=en),eo!==ei){if(eo===ea)return ei;"string"==typeof en||"string"==typeof ei?(en=aK(en),ei=aK(ei)):(en=aZ(en),ei=aZ(ei)),ea=Y(en,ei)}return ea}}function sU(Y){return s6(function(et){return et=rE(et,rq(la())),aI(function(en){var ei=this;return Y(et,function(Y){return rp(Y,ei,en)})})})}function sH(Y,et){var en=(et=eo===et?" ":aK(et)).length;if(en<2)return en?aO(et,Y):et;var ei=aO(et,nU(Y/io(et)));return r2(et)?a8(ia(ei),0,Y).join(""):ei.slice(0,Y)}function sG(Y,et,ei,eo){var ea=et&e_,eu=sI(Y);function ec(){for(var et=-1,ed=arguments.length,ef=-1,eh=eo.length,ep=en(eh+ed),em=this&&this!==n7&&this instanceof ec?eu:Y;++ef<eh;)ep[ef]=eo[ef];for(;ed--;)ep[ef++]=arguments[++et];return rp(em,ea?ei:this,ep)}return ec}function sV(Y){return function(et,en,ei){return ei&&"number"!=typeof ei&&lT(et,en,ei)&&(en=ei=eo),et=fa(et),eo===en?(en=et,et=0):en=fa(en),ei=eo===ei?et<en?1:-1:fa(ei),aj(et,en,ei,Y)}}function sW(Y){return function(et,en){return"string"==typeof et&&"string"==typeof en||(et=fd(et),en=fd(en)),Y(et,en)}}function sq(Y,et,en,ei,ea,eu,ec,ed,ef,eh){var ep=et&eT,em=ep?ec:eo,eg=ep?eo:ec,ey=ep?eu:eo,eb=ep?eo:eu;et|=ep?eA:eM,(et&=~(ep?eM:eA))&eC||(et&=~(e_|eE));var ek=[Y,et,ea,ey,em,eb,eg,ed,ef,eh],ew=en.apply(eo,ek);return lM(Y)&&lG(ew,ek),ew.placeholder=ei,lq(ew,Y,et)}function sZ(Y){var et=ni[Y];return function(Y,en){if(Y=fd(Y),(en=null==en?0:n9(fl(en),292))&&nZ(Y)){var ei=(fp(Y)+"e").split("e");return+((ei=(fp(et(ei[0]+"e"+(+ei[1]+en)))+"e").split("e"))[0]+"e"+(+ei[1]-en))}return et(Y)}}var sK=rP&&1/r7(new rP([,-0]))[1]==ez?function(Y){return new rP(Y)}:hZ;function s$(Y){return function(et){var en=lm(et);return en==e3?r4(et):en==tc?r8(et):rV(et,Y(et))}}function sY(Y,et,en,ei,ea,eu,ec,ef){var eh=et&eE;if(!eh&&"function"!=typeof Y)throw new nf(ed);var ep=ei?ei.length:0;if(ep||(et&=~(eA|eM),ei=ea=eo),ec=eo===ec?ec:n0(fl(ec),0),ef=eo===ef?ef:fl(ef),ep-=ea?ea.length:0,et&eM){var em=ei,eg=ea;ei=ea=eo}var ey=eh?eo:ln(Y),eb=[Y,et,en,ei,ea,em,eg,eu,ec,ef];if(ey&&lR(eb,ey),Y=eb[0],et=eb[1],en=eb[2],ei=eb[3],ea=eb[4],(ef=eb[9]=eo===eb[9]?eh?0:Y.length:n0(eb[9]-ep,0))||!(et&(eT|eS))||(et&=~(eT|eS)),et&&et!=e_)ek=et==eT||et==eS?sN(Y,et,ef):et!=eA&&et!=(e_|eA)||ea.length?sD.apply(eo,eb):sG(Y,et,en,ei);else var ek=sP(Y,et,en);return lq((ey?aD:lG)(ek,eb),Y,et)}function sQ(Y,et,en,ei){return eo===Y||dw(Y,ng[en])&&!nb.call(ei,en)?et:Y}function sX(Y,et,en,ei,ea,eu){return dH(Y)&&dH(et)&&(eu.set(et,Y),am(Y,et,eo,sX,eu),eu.delete(et)),Y}function sJ(Y){return dX(Y)?eo:Y}function s9(Y,et,en,ei,ea,eu){var ec=en&ek,ed=Y.length,ef=et.length;if(ed!=ef&&!(ec&&ef>ed))return!1;var eh=eu.get(Y),ep=eu.get(et);if(eh&&ep)return eh==et&&ep==Y;var em=-1,eg=!0,ey=en&ew?new i5:eo;for(eu.set(Y,et),eu.set(et,Y);++em<ed;){var eb=Y[em],e_=et[em];if(ei)var eE=ec?ei(e_,eb,em,et,Y,eu):ei(eb,e_,em,Y,et,eu);if(eo!==eE){if(eE)continue;eg=!1;break}if(ey){if(!rA(et,function(Y,et){if(!rK(ey,et)&&(eb===Y||ea(eb,Y,en,ei,eu)))return ey.push(et)})){eg=!1;break}}else if(!(eb===e_||ea(eb,e_,en,ei,eu))){eg=!1;break}}return eu.delete(Y),eu.delete(et),eg}function s5(Y,et,en,ei,eo,ea,eu){switch(en){case tv:if(Y.byteLength!=et.byteLength||Y.byteOffset!=et.byteOffset)break;Y=Y.buffer,et=et.buffer;case tg:if(Y.byteLength!=et.byteLength||!ea(new nA(Y),new nA(et)))break;return!0;case eX:case eJ:case e6:return dw(+Y,+et);case e9:return Y.name==et.name&&Y.message==et.message;case tu:case td:return Y==et+"";case e3:var ec=r4;case tc:var ed=ei&ek;if(ec||(ec=r7),Y.size!=et.size&&!ed)break;var ef=eu.get(Y);if(ef)return ef==et;ei|=ew,eu.set(Y,et);var eh=s9(ec(Y),ec(et),ei,eo,ea,eu);return eu.delete(Y),eh;case tf:if(iT)return iT.call(Y)==iT.call(et)}return!1}function s4(Y,et,en,ei,ea,eu){var ec=en&ek,ed=s7(Y),ef=ed.length;if(ef!=s7(et).length&&!ec)return!1;for(var eh=ef;eh--;){var ep=ed[eh];if(!(ec?ep in et:nb.call(et,ep)))return!1}var em=eu.get(Y),eg=eu.get(et);if(em&&eg)return em==et&&eg==Y;var ey=!0;eu.set(Y,et),eu.set(et,Y);for(var eb=ec;++eh<ef;){var ew=Y[ep=ed[eh]],e_=et[ep];if(ei)var eE=ec?ei(e_,ew,ep,et,Y,eu):ei(ew,e_,ep,Y,et,eu);if(!(eo===eE?ew===e_||ea(ew,e_,en,ei,eu):eE)){ey=!1;break}eb||(eb="constructor"==ep)}if(ey&&!eb){var eC=Y.constructor,eT=et.constructor;eC!=eT&&"constructor"in Y&&"constructor"in et&&!("function"==typeof eC&&eC instanceof eC&&"function"==typeof eT&&eT instanceof eT)&&(ey=!1)}return eu.delete(Y),eu.delete(et),ey}function s6(Y){return lW(lB(Y,eo,ua),Y+"")}function s7(Y){return oH(Y,fD,lf)}function s8(Y){return oH(Y,fF,lp)}var ln=ih?function(Y){return ih.get(Y)}:hZ;function lr(Y){for(var et=Y.name+"",en=im[et],ei=nb.call(im,et)?en.length:0;ei--;){var eo=en[ei],ea=eo.func;if(null==ea||ea==Y)return eo.name}return et}function li(Y){return(nb.call(iA,"placeholder")?iA:Y).placeholder}function la(){var Y=iA.iteratee||hz;return Y=Y===hz?aa:Y,arguments.length?Y(arguments[0],arguments[1]):Y}function ls(Y,et){var en=Y.__data__;return lA(et)?en["string"==typeof et?"string":"hash"]:en.map}function ll(Y){for(var et=fD(Y),en=et.length;en--;){var ei=et[en],eo=Y[ei];et[en]=[ei,eo,lI(eo)]}return et}function lu(Y,et){var en=r1(Y,et);return o7(en)?en:eo}function ld(Y){var et=nb.call(Y,nR),en=Y[nR];try{Y[nR]=eo;var ei=!0}catch(Y){}var ea=nw.call(Y);return ei&&(et?Y[nR]=en:delete Y[nR]),ea}var lf=nW?function(Y){return null==Y?[]:rb(nW(Y=na(Y)),function(et){return nO.call(Y,et)})}:pe,lp=nW?function(Y){for(var et=[];Y;)rC(et,lf(Y)),Y=nP(Y);return et}:pe,lm=oG;function lg(Y,et,en){for(var ei=-1,eo=en.length;++ei<eo;){var ea=en[ei],eu=ea.size;switch(ea.type){case"drop":Y+=eu;break;case"dropRight":et-=eu;break;case"take":et=n9(et,Y+eu);break;case"takeRight":Y=n0(Y,et-eu)}}return{start:Y,end:et}}function lv(Y){var et=Y.match(tK);return et?et[1].split(t$):[]}function ly(Y,et,en){et=a6(et,Y);for(var ei=-1,eo=et.length,ea=!1;++ei<eo;){var eu=lY(et[ei]);if(!(ea=null!=Y&&en(Y,eu)))break;Y=Y[eu]}return ea||++ei!=eo?ea:!!(eo=null==Y?0:Y.length)&&dU(eo)&&lC(eu,eo)&&(dT(Y)||dC(Y))}function lb(Y){var et=Y.length,en=new Y.constructor(et);return et&&"string"==typeof Y[0]&&nb.call(Y,"index")&&(en.index=Y.index,en.input=Y.input),en}function lk(Y){return"function"!=typeof Y.constructor||lO(Y)?{}:iM(nP(Y))}function lw(Y,et,en){var ei=Y.constructor;switch(et){case tg:return so(Y);case eX:case eJ:return new ei(+Y);case tv:return sl(Y,en);case tb:case tk:case tw:case t_:case tE:case tC:case tT:case tS:case tA:return sf(Y,en);case e3:return new ei;case e6:case td:return new ei(Y);case tu:return su(Y);case tc:return new ei;case tf:return sd(Y)}}function l_(Y,et){var en=et.length;if(!en)return Y;var ei=en-1;return et[ei]=(en>1?"& ":"")+et[ei],et=et.join(en>2?", ":" "),Y.replace(tZ,"{\n/* [wrapped with "+et+"] */\n")}function lE(Y){return dT(Y)||dC(Y)||!!(nN&&Y&&Y[nN])}function lC(Y,et){var en=typeof Y;return!!(et=null==et?eU:et)&&("number"==en||"symbol"!=en&&t7.test(Y))&&Y>-1&&Y%1==0&&Y<et}function lT(Y,et,en){if(!dH(en))return!1;var ei=typeof et;return("number"==ei?!!(dA(en)&&lC(et,en.length)):"string"==ei&&et in en)&&dw(en[et],Y)}function lS(Y,et){if(dT(Y))return!1;var en=typeof Y;return!!("number"==en||"symbol"==en||"boolean"==en||null==Y||d4(Y))||tU.test(Y)||!tB.test(Y)||null!=et&&Y in na(et)}function lA(Y){var et=typeof Y;return"string"==et||"number"==et||"symbol"==et||"boolean"==et?"__proto__"!==Y:null===Y}function lM(Y){var et=lr(Y),en=iA[et];if("function"!=typeof en||!(et in iO.prototype))return!1;if(Y===en)return!0;var ei=ln(en);return!!ei&&Y===ei[0]}function lP(Y){return!!nk&&nk in Y}(ri&&lm(new ri(new ArrayBuffer(1)))!=tv||ro&&lm(new ro)!=e3||rM&&lm(rM.resolve())!=tt||rP&&lm(new rP)!=tc||rB&&lm(new rB)!=tp)&&(lm=function(Y){var et=oG(Y),en=et==e8?Y.constructor:eo,ei=en?lQ(en):"";if(ei)switch(ei){case ib:return tv;case ix:return e3;case iw:return tt;case i_:return tc;case iE:return tp}return et});var lj=nv?dB:pn;function lO(Y){var et=Y&&Y.constructor,en="function"==typeof et&&et.prototype||ng;return Y===en}function lI(Y){return Y==Y&&!dH(Y)}function lN(Y,et){return function(en){return null!=en&&en[Y]===et&&(eo!==et||Y in na(en))}}function lL(Y){var et=c6(Y,function(Y){return en.size===ep&&en.clear(),Y}),en=et.cache;return et}function lR(Y,et){var en=Y[1],ei=et[1],eo=en|ei,ea=eo<(e_|eE|eP),eu=ei==eP&&en==eT||ei==eP&&en==ej&&Y[7].length<=et[8]||ei==(eP|ej)&&et[7].length<=et[8]&&en==eT;if(!(ea||eu))return Y;ei&e_&&(Y[2]=et[2],eo|=en&e_?0:eC);var ec=et[3];if(ec){var ed=Y[3];Y[3]=ed?sg(ed,ec,et[4]):ec,Y[4]=ed?r6(Y[3],em):et[4]}return(ec=et[5])&&(ed=Y[5],Y[5]=ed?sb(ed,ec,et[6]):ec,Y[6]=ed?r6(Y[5],em):et[6]),(ec=et[7])&&(Y[7]=ec),ei&eP&&(Y[8]=null==Y[8]?et[8]:n9(Y[8],et[8])),null==Y[9]&&(Y[9]=et[9]),Y[0]=et[0],Y[1]=eo,Y}function lD(Y){var et=[];if(null!=Y)for(var en in na(Y))et.push(en);return et}function lF(Y){return nw.call(Y)}function lB(Y,et,ei){return et=n0(eo===et?Y.length-1:et,0),function(){for(var eo=arguments,ea=-1,eu=n0(eo.length-et,0),ec=en(eu);++ea<eu;)ec[ea]=eo[et+ea];ea=-1;for(var ed=en(et+1);++ea<et;)ed[ea]=eo[ea];return ed[et]=ei(ec),rp(Y,this,ed)}}function lz(Y,et){return et.length<2?Y:oU(Y,aH(et,0,-1))}function lU(Y,et){for(var en=Y.length,ei=n9(et.length,en),ea=sk(Y);ei--;){var eu=et[ei];Y[ei]=lC(eu,en)?ea[eu]:eo}return Y}function lH(Y,et){if(("constructor"!==et||"function"!=typeof Y[et])&&"__proto__"!=et)return Y[et]}var lG=lZ(aD),lV=nz||function(Y,et){return n7.setTimeout(Y,et)},lW=lZ(aF);function lq(Y,et,en){var ei=et+"";return lW(Y,l_(ei,lX(lv(ei),en)))}function lZ(Y){var et=0,en=0;return function(){var ei=n3(),ea=eR-(ei-en);if(en=ei,ea>0){if(++et>=eL)return arguments[0]}else et=0;return Y.apply(eo,arguments)}}function lK(Y,et){var en=-1,ei=Y.length,ea=ei-1;for(et=eo===et?ei:et;++en<et;){var eu=aP(en,ea),ec=Y[eu];Y[eu]=Y[en],Y[en]=ec}return Y.length=et,Y}var l$=lL(function(Y){var et=[];return 46===Y.charCodeAt(0)&&et.push(""),Y.replace(tH,function(Y,en,ei,eo){et.push(ei?eo.replace(tX,"$1"):en||Y)}),et});function lY(Y){if("string"==typeof Y||d4(Y))return Y;var et=Y+"";return"0"==et&&1/Y==-ez?"-0":et}function lQ(Y){if(null!=Y){try{return ny.call(Y)}catch(Y){}try{return Y+""}catch(Y){}}return""}function lX(Y,et){return rg(eK,function(en){var ei="_."+en[0];et&en[1]&&!rk(Y,ei)&&Y.push(ei)}),Y.sort()}function lJ(Y){if(Y instanceof iO)return Y.clone();var et=new ij(Y.__wrapped__,Y.__chain__);return et.__actions__=sk(Y.__actions__),et.__index__=Y.__index__,et.__values__=Y.__values__,et}function l0(Y,et,ei){et=(ei?lT(Y,et,ei):eo===et)?1:n0(fl(et),0);var ea=null==Y?0:Y.length;if(!ea||et<1)return[];for(var eu=0,ec=0,ed=en(nU(ea/et));eu<ea;)ed[ec++]=aH(Y,eu,eu+=et);return ed}function l9(Y){for(var et=-1,en=null==Y?0:Y.length,ei=0,eo=[];++et<en;){var ea=Y[et];ea&&(eo[ei++]=ea)}return eo}function l5(){var Y=arguments.length;if(!Y)return[];for(var et=en(Y-1),ei=arguments[0],eo=Y;eo--;)et[eo-1]=arguments[eo];return rC(dT(ei)?sk(ei):[ei],oL(et,1))}var l4=aI(function(Y,et){return dM(Y)?oA(Y,oL(et,1,dM,!0)):[]}),l3=aI(function(Y,et){var en=uv(et);return dM(en)&&(en=eo),dM(Y)?oA(Y,oL(et,1,dM,!0),la(en,2)):[]}),l6=aI(function(Y,et){var en=uv(et);return dM(en)&&(en=eo),dM(Y)?oA(Y,oL(et,1,dM,!0),eo,en):[]});function l7(Y,et,en){var ei=null==Y?0:Y.length;return ei?aH(Y,(et=en||eo===et?1:fl(et))<0?0:et,ei):[]}function l8(Y,et,en){var ei=null==Y?0:Y.length;return ei?aH(Y,0,(et=ei-(et=en||eo===et?1:fl(et)))<0?0:et):[]}function ut(Y,et){return Y&&Y.length?aJ(Y,la(et,3),!0,!0):[]}function un(Y,et){return Y&&Y.length?aJ(Y,la(et,3),!0):[]}function ur(Y,et,en,ei){var eo=null==Y?0:Y.length;return eo?(en&&"number"!=typeof en&&lT(Y,et,en)&&(en=0,ei=eo),oI(Y,et,en,ei)):[]}function ui(Y,et,en){var ei=null==Y?0:Y.length;if(!ei)return -1;var eo=null==en?0:fl(en);return eo<0&&(eo=n0(ei+eo,0)),rI(Y,la(et,3),eo)}function uo(Y,et,en){var ei=null==Y?0:Y.length;if(!ei)return -1;var ea=ei-1;return eo!==en&&(ea=fl(en),ea=en<0?n0(ei+ea,0):n9(ea,ei-1)),rI(Y,la(et,3),ea,!0)}function ua(Y){return(null==Y?0:Y.length)?oL(Y,1):[]}function us(Y){return(null==Y?0:Y.length)?oL(Y,ez):[]}function ul(Y,et){return(null==Y?0:Y.length)?oL(Y,et=eo===et?1:fl(et)):[]}function uu(Y){for(var et=-1,en=null==Y?0:Y.length,ei={};++et<en;){var eo=Y[et];ei[eo[0]]=eo[1]}return ei}function uc(Y){return Y&&Y.length?Y[0]:eo}function ud(Y,et,en){var ei=null==Y?0:Y.length;if(!ei)return -1;var eo=null==en?0:fl(en);return eo<0&&(eo=n0(ei+eo,0)),rN(Y,et,eo)}function uf(Y){return(null==Y?0:Y.length)?aH(Y,0,-1):[]}var uh=aI(function(Y){var et=rE(Y,a4);return et.length&&et[0]===Y[0]?oK(et):[]}),up=aI(function(Y){var et=uv(Y),en=rE(Y,a4);return et===uv(en)?et=eo:en.pop(),en.length&&en[0]===Y[0]?oK(en,la(et,2)):[]}),um=aI(function(Y){var et=uv(Y),en=rE(Y,a4);return(et="function"==typeof et?et:eo)&&en.pop(),en.length&&en[0]===Y[0]?oK(en,eo,et):[]});function ug(Y,et){return null==Y?"":nX.call(Y,et)}function uv(Y){var et=null==Y?0:Y.length;return et?Y[et-1]:eo}function uy(Y,et,en){var ei=null==Y?0:Y.length;if(!ei)return -1;var ea=ei;return eo!==en&&(ea=(ea=fl(en))<0?n0(ei+ea,0):n9(ea,ei-1)),et==et?ii(Y,et,ea):rI(Y,rR,ea,!0)}function ub(Y,et){return Y&&Y.length?av(Y,fl(et)):eo}var ux=aI(uk);function uk(Y,et){return Y&&Y.length&&et&&et.length?aS(Y,et):Y}function uw(Y,et,en){return Y&&Y.length&&et&&et.length?aS(Y,et,la(en,2)):Y}function u_(Y,et,en){return Y&&Y.length&&et&&et.length?aS(Y,et,eo,en):Y}var uE=s6(function(Y,et){var en=null==Y?0:Y.length,ei=ow(Y,et);return aM(Y,rE(et,function(Y){return lC(Y,en)?+Y:Y}).sort(sh)),ei});function uC(Y,et){var en=[];if(!(Y&&Y.length))return en;var ei=-1,eo=[],ea=Y.length;for(et=la(et,3);++ei<ea;){var eu=Y[ei];et(eu,ei,Y)&&(en.push(eu),eo.push(ei))}return aM(Y,eo),en}function uT(Y){return null==Y?Y:rn.call(Y)}function uS(Y,et,en){var ei=null==Y?0:Y.length;return ei?(en&&"number"!=typeof en&&lT(Y,et,en)?(et=0,en=ei):(et=null==et?0:fl(et),en=eo===en?ei:fl(en)),aH(Y,et,en)):[]}function uA(Y,et){return aV(Y,et)}function uM(Y,et,en){return aW(Y,et,la(en,2))}function uP(Y,et){var en=null==Y?0:Y.length;if(en){var ei=aV(Y,et);if(ei<en&&dw(Y[ei],et))return ei}return -1}function uj(Y,et){return aV(Y,et,!0)}function uO(Y,et,en){return aW(Y,et,la(en,2),!0)}function uI(Y,et){if(null==Y?0:Y.length){var en=aV(Y,et,!0)-1;if(dw(Y[en],et))return en}return -1}function uN(Y){return Y&&Y.length?aq(Y):[]}function uL(Y,et){return Y&&Y.length?aq(Y,la(et,2)):[]}function uR(Y){var et=null==Y?0:Y.length;return et?aH(Y,1,et):[]}function uD(Y,et,en){return Y&&Y.length?aH(Y,0,(et=en||eo===et?1:fl(et))<0?0:et):[]}function uF(Y,et,en){var ei=null==Y?0:Y.length;return ei?aH(Y,(et=ei-(et=en||eo===et?1:fl(et)))<0?0:et,ei):[]}function uB(Y,et){return Y&&Y.length?aJ(Y,la(et,3),!1,!0):[]}function uz(Y,et){return Y&&Y.length?aJ(Y,la(et,3)):[]}var uU=aI(function(Y){return a$(oL(Y,1,dM,!0))}),uH=aI(function(Y){var et=uv(Y);return dM(et)&&(et=eo),a$(oL(Y,1,dM,!0),la(et,2))}),uG=aI(function(Y){var et=uv(Y);return et="function"==typeof et?et:eo,a$(oL(Y,1,dM,!0),eo,et)});function uV(Y){return Y&&Y.length?a$(Y):[]}function uW(Y,et){return Y&&Y.length?a$(Y,la(et,2)):[]}function uq(Y,et){return et="function"==typeof et?et:eo,Y&&Y.length?a$(Y,eo,et):[]}function uZ(Y){if(!(Y&&Y.length))return[];var et=0;return Y=rb(Y,function(Y){if(dM(Y))return et=n0(Y.length,et),!0}),rG(et,function(et){return rE(Y,rF(et))})}function uK(Y,et){if(!(Y&&Y.length))return[];var en=uZ(Y);return null==et?en:rE(en,function(Y){return rp(et,eo,Y)})}var u$=aI(function(Y,et){return dM(Y)?oA(Y,et):[]}),uY=aI(function(Y){return a9(rb(Y,dM))}),uQ=aI(function(Y){var et=uv(Y);return dM(et)&&(et=eo),a9(rb(Y,dM),la(et,2))}),uX=aI(function(Y){var et=uv(Y);return et="function"==typeof et?et:eo,a9(rb(Y,dM),eo,et)}),uJ=aI(uZ);function u2(Y,et){return a5(Y||[],et||[],od)}function u9(Y,et){return a5(Y||[],et||[],aR)}var u5=aI(function(Y){var et=Y.length,en=et>1?Y[et-1]:eo;return en="function"==typeof en?(Y.pop(),en):eo,uK(Y,en)});function u4(Y){var et=iA(Y);return et.__chain__=!0,et}function u3(Y,et){return et(Y),Y}function u6(Y,et){return et(Y)}var u7=s6(function(Y){var et=Y.length,en=et?Y[0]:0,ei=this.__wrapped__,ea=function(et){return ow(et,Y)};return!(et>1)&&!this.__actions__.length&&ei instanceof iO&&lC(en)?((ei=ei.slice(en,+en+(et?1:0))).__actions__.push({func:u6,args:[ea],thisArg:eo}),new ij(ei,this.__chain__).thru(function(Y){return et&&!Y.length&&Y.push(eo),Y})):this.thru(ea)});function u8(){return u4(this)}function cr(){return new ij(this.value(),this.__chain__)}function co(){eo===this.__values__&&(this.__values__=fo(this.value()));var Y=this.__index__>=this.__values__.length,et=Y?eo:this.__values__[this.__index__++];return{done:Y,value:et}}function cl(){return this}function cu(Y){for(var et,en=this;en instanceof iP;){var ei=lJ(en);ei.__index__=0,ei.__values__=eo,et?ea.__wrapped__=ei:et=ei;var ea=ei;en=en.__wrapped__}return ea.__wrapped__=Y,et}function cf(){var Y=this.__wrapped__;if(Y instanceof iO){var et=Y;return this.__actions__.length&&(et=new iO(this)),(et=et.reverse()).__actions__.push({func:u6,args:[uT],thisArg:eo}),new ij(et,this.__chain__)}return this.thru(uT)}function cm(){return a0(this.__wrapped__,this.__actions__)}var cg=sT(function(Y,et,en){nb.call(Y,en)?++Y[en]:ov(Y,en,1)});function cy(Y,et,en){var ei=dT(Y)?ry:oj;return en&&lT(Y,et,en)&&(et=eo),ei(Y,la(et,3))}function cw(Y,et){return(dT(Y)?rb:oN)(Y,la(et,3))}var c_=sL(ui),cE=sL(uo);function cC(Y,et){return oL(cN(Y,et),1)}function cT(Y,et){return oL(cN(Y,et),ez)}function cS(Y,et,en){return en=eo===en?1:fl(en),oL(cN(Y,et),en)}function cA(Y,et){return(dT(Y)?rg:oM)(Y,la(et,3))}function cM(Y,et){return(dT(Y)?rv:oP)(Y,la(et,3))}var cP=sT(function(Y,et,en){nb.call(Y,en)?Y[en].push(et):ov(Y,en,[et])});function cj(Y,et,en,ei){Y=dA(Y)?Y:f5(Y),en=en&&!ei?fl(en):0;var eo=Y.length;return en<0&&(en=n0(eo+en,0)),d5(Y)?en<=eo&&Y.indexOf(et,en)>-1:!!eo&&rN(Y,et,en)>-1}var cO=aI(function(Y,et,ei){var eo=-1,ea="function"==typeof et,eu=dA(Y)?en(Y.length):[];return oM(Y,function(Y){eu[++eo]=ea?rp(et,Y,ei):oQ(Y,et,ei)}),eu}),cI=sT(function(Y,et,en){ov(Y,en,et)});function cN(Y,et){return(dT(Y)?rE:af)(Y,la(et,3))}function cL(Y,et,en,ei){return null==Y?[]:(dT(et)||(et=null==et?[]:[et]),dT(en=ei?eo:en)||(en=null==en?[]:[en]),ak(Y,et,en))}var cR=sT(function(Y,et,en){Y[en?0:1].push(et)},function(){return[[],[]]});function cD(Y,et,en){var ei=dT(Y)?rT:rz,eo=arguments.length<3;return ei(Y,la(et,4),en,eo,oM)}function cF(Y,et,en){var ei=dT(Y)?rS:rz,eo=arguments.length<3;return ei(Y,la(et,4),en,eo,oP)}function cB(Y,et){return(dT(Y)?rb:oN)(Y,c7(la(et,3)))}function cz(Y){return(dT(Y)?os:aN)(Y)}function cU(Y,et,en){return et=(en?lT(Y,et,en):eo===et)?1:fl(et),(dT(Y)?ol:aL)(Y,et)}function cH(Y){return(dT(Y)?ou:aU)(Y)}function cG(Y){if(null==Y)return 0;if(dA(Y))return d5(Y)?io(Y):Y.length;var et=lm(Y);return et==e3||et==tc?Y.size:al(Y).length}function cV(Y,et,en){var ei=dT(Y)?rA:aG;return en&&lT(Y,et,en)&&(et=eo),ei(Y,la(et,3))}var cW=aI(function(Y,et){if(null==Y)return[];var en=et.length;return en>1&&lT(Y,et[0],et[1])?et=[]:en>2&&lT(et[0],et[1],et[2])&&(et=[et[0]]),ak(Y,oL(et,1),[])}),cq=nB||function(){return n7.Date.now()};function cZ(Y,et){if("function"!=typeof et)throw new nf(ed);return Y=fl(Y),function(){if(--Y<1)return et.apply(this,arguments)}}function cK(Y,et,en){return et=en?eo:et,et=Y&&null==et?Y.length:et,sY(Y,eP,eo,eo,eo,eo,et)}function c$(Y,et){var en;if("function"!=typeof et)throw new nf(ed);return Y=fl(Y),function(){return--Y>0&&(en=et.apply(this,arguments)),Y<=1&&(et=eo),en}}var cY=aI(function(Y,et,en){var ei=e_;if(en.length){var eo=r6(en,li(cY));ei|=eA}return sY(Y,ei,et,en,eo)}),cQ=aI(function(Y,et,en){var ei=e_|eE;if(en.length){var eo=r6(en,li(cQ));ei|=eA}return sY(et,ei,Y,en,eo)});function cX(Y,et,en){et=en?eo:et;var ei=sY(Y,eT,eo,eo,eo,eo,eo,et);return ei.placeholder=cX.placeholder,ei}function cJ(Y,et,en){et=en?eo:et;var ei=sY(Y,eS,eo,eo,eo,eo,eo,et);return ei.placeholder=cJ.placeholder,ei}function c0(Y,et,en){var ei,ea,eu,ec,ef,eh,ep=0,em=!1,eg=!1,ey=!0;if("function"!=typeof Y)throw new nf(ed);function eb(et){var en=ei,eu=ea;return ei=ea=eo,ep=et,ec=Y.apply(eu,en)}function ek(Y){return ep=Y,ef=lV(eE,et),em?eb(Y):ec}function ew(Y){var en=Y-eh,ei=Y-ep,eo=et-en;return eg?n9(eo,eu-ei):eo}function e_(Y){var en=Y-eh,ei=Y-ep;return eo===eh||en>=et||en<0||eg&&ei>=eu}function eE(){var Y=cq();if(e_(Y))return eC(Y);ef=lV(eE,ew(Y))}function eC(Y){return(ef=eo,ey&&ei)?eb(Y):(ei=ea=eo,ec)}function eT(){eo!==ef&&sn(ef),ep=0,ei=eh=ea=ef=eo}function eS(){return eo===ef?ec:eC(cq())}function eA(){var Y=cq(),en=e_(Y);if(ei=arguments,ea=this,eh=Y,en){if(eo===ef)return ek(eh);if(eg)return sn(ef),ef=lV(eE,et),eb(eh)}return eo===ef&&(ef=lV(eE,et)),ec}return et=fd(et)||0,dH(en)&&(em=!!en.leading,eu=(eg="maxWait"in en)?n0(fd(en.maxWait)||0,et):eu,ey="trailing"in en?!!en.trailing:ey),eA.cancel=eT,eA.flush=eS,eA}var c9=aI(function(Y,et){return oS(Y,1,et)}),c5=aI(function(Y,et,en){return oS(Y,fd(et)||0,en)});function c4(Y){return sY(Y,eO)}function c6(Y,et){if("function"!=typeof Y||null!=et&&"function"!=typeof et)throw new nf(ed);var en=function(){var ei=arguments,eo=et?et.apply(this,ei):ei[0],ea=en.cache;if(ea.has(eo))return ea.get(eo);var eu=Y.apply(this,ei);return en.cache=ea.set(eo,eu)||ea,eu};return en.cache=new(c6.Cache||iK),en}function c7(Y){if("function"!=typeof Y)throw new nf(ed);return function(){var et=arguments;switch(et.length){case 0:return!Y.call(this);case 1:return!Y.call(this,et[0]);case 2:return!Y.call(this,et[0],et[1]);case 3:return!Y.call(this,et[0],et[1],et[2])}return!Y.apply(this,et)}}function c8(Y){return c$(2,Y)}c6.Cache=iK;var dn=a7(function(Y,et){var en=(et=1==et.length&&dT(et[0])?rE(et[0],rq(la())):rE(oL(et,1),rq(la()))).length;return aI(function(ei){for(var eo=-1,ea=n9(ei.length,en);++eo<ea;)ei[eo]=et[eo].call(this,ei[eo]);return rp(Y,this,ei)})}),dr=aI(function(Y,et){var en=r6(et,li(dr));return sY(Y,eA,eo,et,en)}),di=aI(function(Y,et){var en=r6(et,li(di));return sY(Y,eM,eo,et,en)}),ds=s6(function(Y,et){return sY(Y,ej,eo,eo,eo,et)});function dl(Y,et){if("function"!=typeof Y)throw new nf(ed);return aI(Y,et=eo===et?et:fl(et))}function du(Y,et){if("function"!=typeof Y)throw new nf(ed);return et=null==et?0:n0(fl(et),0),aI(function(en){var ei=en[et],eo=a8(en,0,et);return ei&&rC(eo,ei),rp(Y,this,eo)})}function dd(Y,et,en){var ei=!0,eo=!0;if("function"!=typeof Y)throw new nf(ed);return dH(en)&&(ei="leading"in en?!!en.leading:ei,eo="trailing"in en?!!en.trailing:eo),c0(Y,et,{leading:ei,maxWait:et,trailing:eo})}function df(Y){return cK(Y,1)}function dh(Y,et){return dr(a3(et),Y)}function dp(){if(!arguments.length)return[];var Y=arguments[0];return dT(Y)?Y:[Y]}function dm(Y){return oE(Y,eb)}function dg(Y,et){return oE(Y,eb,et="function"==typeof et?et:eo)}function dv(Y){return oE(Y,eg|eb)}function db(Y,et){return oE(Y,eg|eb,et="function"==typeof et?et:eo)}function dk(Y,et){return null==et||oT(Y,et,fD(et))}function dw(Y,et){return Y===et||Y!=Y&&et!=et}var d_=sW(oV),dE=sW(function(Y,et){return Y>=et}),dC=oJ(function(){return arguments}())?oJ:function(Y){return dG(Y)&&nb.call(Y,"callee")&&!nO.call(Y,"callee")},dT=en.isArray,dS=ra?rq(ra):o0;function dA(Y){return null!=Y&&dU(Y.length)&&!dB(Y)}function dM(Y){return dG(Y)&&dA(Y)}function dP(Y){return!0===Y||!1===Y||dG(Y)&&oG(Y)==eX}var dj=nq||pn,dO=rs?rq(rs):o9;function dI(Y){return dG(Y)&&1===Y.nodeType&&!dX(Y)}function dN(Y){if(null==Y)return!0;if(dA(Y)&&(dT(Y)||"string"==typeof Y||"function"==typeof Y.splice||dj(Y)||d3(Y)||dC(Y)))return!Y.length;var et=lm(Y);if(et==e3||et==tc)return!Y.size;if(lO(Y))return!al(Y).length;for(var en in Y)if(nb.call(Y,en))return!1;return!0}function dL(Y,et){return o5(Y,et)}function dR(Y,et,en){var ei=(en="function"==typeof en?en:eo)?en(Y,et):eo;return eo===ei?o5(Y,et,eo,en):!!ei}function dD(Y){if(!dG(Y))return!1;var et=oG(Y);return et==e9||et==e0||"string"==typeof Y.message&&"string"==typeof Y.name&&!dX(Y)}function dF(Y){return"number"==typeof Y&&nZ(Y)}function dB(Y){if(!dH(Y))return!1;var et=oG(Y);return et==e5||et==e4||et==eQ||et==ta}function dz(Y){return"number"==typeof Y&&Y==fl(Y)}function dU(Y){return"number"==typeof Y&&Y>-1&&Y%1==0&&Y<=eU}function dH(Y){var et=typeof Y;return null!=Y&&("object"==et||"function"==et)}function dG(Y){return null!=Y&&"object"==typeof Y}var dV=rl?rq(rl):o3;function dW(Y,et){return Y===et||o6(Y,et,ll(et))}function dq(Y,et,en){return en="function"==typeof en?en:eo,o6(Y,et,ll(et),en)}function dZ(Y){return dQ(Y)&&Y!=+Y}function dK(Y){if(lj(Y))throw new tq(ec);return o7(Y)}function d$(Y){return null===Y}function dY(Y){return null==Y}function dQ(Y){return"number"==typeof Y||dG(Y)&&oG(Y)==e6}function dX(Y){if(!dG(Y)||oG(Y)!=e8)return!1;var et=nP(Y);if(null===et)return!0;var en=nb.call(et,"constructor")&&et.constructor;return"function"==typeof en&&en instanceof en&&ny.call(en)==n_}var dJ=ru?rq(ru):o8;function d0(Y){return dz(Y)&&Y>=-eU&&Y<=eU}var d9=rc?rq(rc):ai;function d5(Y){return"string"==typeof Y||!dT(Y)&&dG(Y)&&oG(Y)==td}function d4(Y){return"symbol"==typeof Y||dG(Y)&&oG(Y)==tf}var d3=rh?rq(rh):ao;function d6(Y){return eo===Y}function d7(Y){return dG(Y)&&lm(Y)==tp}function d8(Y){return dG(Y)&&oG(Y)==tm}var ft=sW(ac),fi=sW(function(Y,et){return Y<=et});function fo(Y){if(!Y)return[];if(dA(Y))return d5(Y)?ia(Y):sk(Y);if(nL&&Y[nL])return r5(Y[nL]());var et=lm(Y);return(et==e3?r4:et==tc?r7:f5)(Y)}function fa(Y){return Y?(Y=fd(Y))===ez||Y===-ez?(Y<0?-1:1)*eH:Y==Y?Y:0:0===Y?Y:0}function fl(Y){var et=fa(Y),en=et%1;return et==et?en?et-en:et:0}function fu(Y){return Y?o_(fl(Y),0,eV):0}function fd(Y){if("number"==typeof Y)return Y;if(d4(Y))return eG;if(dH(Y)){var et="function"==typeof Y.valueOf?Y.valueOf():Y;Y=dH(et)?et+"":et}if("string"!=typeof Y)return 0===Y?Y:+Y;Y=rW(Y);var en=t4.test(Y);return en||t6.test(Y)?n4(Y.slice(2),en?2:8):t5.test(Y)?eG:+Y}function ff(Y){return s_(Y,fF(Y))}function fh(Y){return Y?o_(fl(Y),-eU,eU):0===Y?Y:0}function fp(Y){return null==Y?"":aK(Y)}var fm=sS(function(Y,et){if(lO(et)||dA(et)){s_(et,fD(et),Y);return}for(var en in et)nb.call(et,en)&&od(Y,en,et[en])}),fg=sS(function(Y,et){s_(et,fF(et),Y)}),fv=sS(function(Y,et,en,ei){s_(et,fF(et),Y,ei)}),fy=sS(function(Y,et,en,ei){s_(et,fD(et),Y,ei)}),fb=s6(ow);function fx(Y,et){var en=iM(Y);return null==et?en:om(en,et)}var fk=aI(function(Y,et){Y=na(Y);var en=-1,ei=et.length,ea=ei>2?et[2]:eo;for(ea&&lT(et[0],et[1],ea)&&(ei=1);++en<ei;)for(var eu=et[en],ec=fF(eu),ed=-1,ef=ec.length;++ed<ef;){var eh=ec[ed],ep=Y[eh];(eo===ep||dw(ep,ng[eh])&&!nb.call(Y,eh))&&(Y[eh]=eu[eh])}return Y}),fw=aI(function(Y){return Y.push(eo,sX),rp(fH,eo,Y)});function f_(Y,et){return rO(Y,la(et,3),oF)}function fE(Y,et){return rO(Y,la(et,3),oB)}function fC(Y,et){return null==Y?Y:oR(Y,la(et,3),fF)}function fT(Y,et){return null==Y?Y:oD(Y,la(et,3),fF)}function fS(Y,et){return Y&&oF(Y,la(et,3))}function fA(Y,et){return Y&&oB(Y,la(et,3))}function fM(Y){return null==Y?[]:oz(Y,fD(Y))}function fP(Y){return null==Y?[]:oz(Y,fF(Y))}function fj(Y,et,en){var ei=null==Y?eo:oU(Y,et);return eo===ei?en:ei}function fO(Y,et){return null!=Y&&ly(Y,et,oW)}function fI(Y,et){return null!=Y&&ly(Y,et,oq)}var fN=sF(function(Y,et,en){null!=et&&"function"!=typeof et.toString&&(et=nw.call(et)),Y[et]=en},hL(hB)),fL=sF(function(Y,et,en){null!=et&&"function"!=typeof et.toString&&(et=nw.call(et)),nb.call(Y,et)?Y[et].push(en):Y[et]=[en]},la),fR=aI(oQ);function fD(Y){return dA(Y)?oo(Y):al(Y)}function fF(Y){return dA(Y)?oo(Y,!0):au(Y)}function fB(Y,et){var en={};return et=la(et,3),oF(Y,function(Y,ei,eo){ov(en,et(Y,ei,eo),Y)}),en}function fz(Y,et){var en={};return et=la(et,3),oF(Y,function(Y,ei,eo){ov(en,ei,et(Y,ei,eo))}),en}var fU=sS(function(Y,et,en){am(Y,et,en)}),fH=sS(function(Y,et,en,ei){am(Y,et,en,ei)}),fG=s6(function(Y,et){var en={};if(null==Y)return en;var ei=!1;et=rE(et,function(et){return et=a6(et,Y),ei||(ei=et.length>1),et}),s_(Y,s8(Y),en),ei&&(en=oE(en,eg|ey|eb,sJ));for(var eo=et.length;eo--;)aY(en,et[eo]);return en});function fV(Y,et){return fq(Y,c7(la(et)))}var fW=s6(function(Y,et){return null==Y?{}:a_(Y,et)});function fq(Y,et){if(null==Y)return{};var en=rE(s8(Y),function(Y){return[Y]});return et=la(et),aE(Y,en,function(Y,en){return et(Y,en[0])})}function fZ(Y,et,en){et=a6(et,Y);var ei=-1,ea=et.length;for(ea||(ea=1,Y=eo);++ei<ea;){var eu=null==Y?eo:Y[lY(et[ei])];eo===eu&&(ei=ea,eu=en),Y=dB(eu)?eu.call(Y):eu}return Y}function fK(Y,et,en){return null==Y?Y:aR(Y,et,en)}function f$(Y,et,en,ei){return ei="function"==typeof ei?ei:eo,null==Y?Y:aR(Y,et,en,ei)}var fY=s$(fD),fQ=s$(fF);function fX(Y,et,en){var ei=dT(Y),eo=ei||dj(Y)||d3(Y);if(et=la(et,4),null==en){var ea=Y&&Y.constructor;en=eo?ei?new ea:[]:dH(Y)&&dB(ea)?iM(nP(Y)):{}}return(eo?rg:oF)(Y,function(Y,ei,eo){return et(en,Y,ei,eo)}),en}function fJ(Y,et){return null==Y||aY(Y,et)}function f0(Y,et,en){return null==Y?Y:aQ(Y,et,a3(en))}function f9(Y,et,en,ei){return ei="function"==typeof ei?ei:eo,null==Y?Y:aQ(Y,et,a3(en),ei)}function f5(Y){return null==Y?[]:rZ(Y,fD(Y))}function f4(Y){return null==Y?[]:rZ(Y,fF(Y))}function f3(Y,et,en){return eo===en&&(en=et,et=eo),eo!==en&&(en=(en=fd(en))==en?en:0),eo!==et&&(et=(et=fd(et))==et?et:0),o_(fd(Y),et,en)}function f6(Y,et,en){return et=fa(et),eo===en?(en=et,et=0):en=fa(en),oZ(Y=fd(Y),et,en)}function f7(Y,et,en){if(en&&"boolean"!=typeof en&&lT(Y,et,en)&&(et=en=eo),eo===en&&("boolean"==typeof et?(en=et,et=eo):"boolean"==typeof Y&&(en=Y,Y=eo)),eo===Y&&eo===et?(Y=0,et=1):(Y=fa(Y),eo===et?(et=Y,Y=0):et=fa(et)),Y>et){var ei=Y;Y=et,et=ei}if(en||Y%1||et%1){var ea=n8();return n9(Y+ea*(et-Y+n5("1e-"+((ea+"").length-1))),et)}return aP(Y,et)}var f8=sO(function(Y,et,en){return et=et.toLowerCase(),Y+(en?ht(et):et)});function ht(Y){return hM(fp(Y).toLowerCase())}function hn(Y){return(Y=fp(Y))&&Y.replace(t8,rX).replace(nG,"")}function hr(Y,et,en){Y=fp(Y),et=aK(et);var ei=Y.length,ea=en=eo===en?ei:o_(fl(en),0,ei);return(en-=et.length)>=0&&Y.slice(en,ea)==et}function ho(Y){return(Y=fp(Y))&&tL.test(Y)?Y.replace(tI,rJ):Y}function ha(Y){return(Y=fp(Y))&&tV.test(Y)?Y.replace(tG,"\\$&"):Y}var hs=sO(function(Y,et,en){return Y+(en?"-":"")+et.toLowerCase()}),hl=sO(function(Y,et,en){return Y+(en?" ":"")+et.toLowerCase()}),hu=sj("toLowerCase");function hc(Y,et,en){Y=fp(Y);var ei=(et=fl(et))?io(Y):0;if(!et||ei>=et)return Y;var eo=(et-ei)/2;return sH(nV(eo),en)+Y+sH(nU(eo),en)}function hd(Y,et,en){Y=fp(Y);var ei=(et=fl(et))?io(Y):0;return et&&ei<et?Y+sH(et-ei,en):Y}function hf(Y,et,en){Y=fp(Y);var ei=(et=fl(et))?io(Y):0;return et&&ei<et?sH(et-ei,en)+Y:Y}function hh(Y,et,en){return en||null==et?et=0:et&&(et=+et),n6(fp(Y).replace(tW,""),et||0)}function hp(Y,et,en){return et=(en?lT(Y,et,en):eo===et)?1:fl(et),aO(fp(Y),et)}function hm(){var Y=arguments,et=fp(Y[0]);return Y.length<3?et:et.replace(Y[1],Y[2])}var hg=sO(function(Y,et,en){return Y+(en?"_":"")+et.toLowerCase()});function hv(Y,et,en){return(en&&"number"!=typeof en&&lT(Y,et,en)&&(et=en=eo),en=eo===en?eV:en>>>0)?(Y=fp(Y))&&("string"==typeof et||null!=et&&!dJ(et))&&!(et=aK(et))&&r2(Y)?a8(ia(Y),0,en):Y.split(et,en):[]}var hy=sO(function(Y,et,en){return Y+(en?" ":"")+hM(et)});function hb(Y,et,en){return Y=fp(Y),en=null==en?0:o_(fl(en),0,Y.length),et=aK(et),Y.slice(en,en+et.length)==et}function hx(Y,et,en){var ei=iA.templateSettings;en&&lT(Y,et,en)&&(et=eo),Y=fp(Y),et=fv({},et,ei,sQ);var ea,eu,ec=fv({},et.imports,ei.imports,sQ),ed=fD(ec),eh=rZ(ec,ed),ep=0,em=et.interpolate||nt,eg="__p += '",ey=nu((et.escape||nt).source+"|"+em.source+"|"+(em===tF?tJ:nt).source+"|"+(et.evaluate||nt).source+"|$","g"),eb="//# sourceURL="+(nb.call(et,"sourceURL")?(et.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++n$+"]")+"\n";Y.replace(ey,function(et,en,ei,eo,ec,ed){return ei||(ei=eo),eg+=Y.slice(ep,ed).replace(nn,r0),en&&(ea=!0,eg+="' +\n__e("+en+") +\n'"),ec&&(eu=!0,eg+="';\n"+ec+";\n__p += '"),ei&&(eg+="' +\n((__t = ("+ei+")) == null ? '' : __t) +\n'"),ep=ed+et.length,et}),eg+="';\n";var ek=nb.call(et,"variable")&&et.variable;if(ek){if(tQ.test(ek))throw new tq(ef)}else eg="with (obj) {\n"+eg+"\n}\n";eg=(eu?eg.replace(tM,""):eg).replace(tP,"$1").replace(tj,"$1;"),eg="function("+(ek||"obj")+") {\n"+(ek?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(ea?", __e = _.escape":"")+(eu?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+eg+"return __p\n}";var ew=hj(function(){return tY(ed,eb+"return "+eg).apply(eo,eh)});if(ew.source=eg,dD(ew))throw ew;return ew}function hk(Y){return fp(Y).toLowerCase()}function hw(Y){return fp(Y).toUpperCase()}function h_(Y,et,en){if((Y=fp(Y))&&(en||eo===et))return rW(Y);if(!Y||!(et=aK(et)))return Y;var ei=ia(Y),ea=ia(et),eu=r$(ei,ea),ec=rY(ei,ea)+1;return a8(ei,eu,ec).join("")}function hE(Y,et,en){if((Y=fp(Y))&&(en||eo===et))return Y.slice(0,il(Y)+1);if(!Y||!(et=aK(et)))return Y;var ei=ia(Y),ea=rY(ei,ia(et))+1;return a8(ei,0,ea).join("")}function hC(Y,et,en){if((Y=fp(Y))&&(en||eo===et))return Y.replace(tW,"");if(!Y||!(et=aK(et)))return Y;var ei=ia(Y),ea=r$(ei,ia(et));return a8(ei,ea).join("")}function hT(Y,et){var en=eI,ei=eN;if(dH(et)){var ea="separator"in et?et.separator:ea;en="length"in et?fl(et.length):en,ei="omission"in et?aK(et.omission):ei}var eu=(Y=fp(Y)).length;if(r2(Y)){var ec=ia(Y);eu=ec.length}if(en>=eu)return Y;var ed=en-io(ei);if(ed<1)return ei;var ef=ec?a8(ec,0,ed).join(""):Y.slice(0,ed);if(eo===ea)return ef+ei;if(ec&&(ed+=ef.length-ed),dJ(ea)){if(Y.slice(ed).search(ea)){var eh,ep=ef;for(ea.global||(ea=nu(ea.source,fp(t9.exec(ea))+"g")),ea.lastIndex=0;eh=ea.exec(ep);)var em=eh.index;ef=ef.slice(0,eo===em?ed:em)}}else if(Y.indexOf(aK(ea),ed)!=ed){var eg=ef.lastIndexOf(ea);eg>-1&&(ef=ef.slice(0,eg))}return ef+ei}function hS(Y){return(Y=fp(Y))&&tN.test(Y)?Y.replace(tO,iu):Y}var hA=sO(function(Y,et,en){return Y+(en?" ":"")+et.toUpperCase()}),hM=sj("toUpperCase");function hP(Y,et,en){return(Y=fp(Y),et=en?eo:et,eo===et)?r9(Y)?ig(Y):rj(Y):Y.match(et)||[]}var hj=aI(function(Y,et){try{return rp(Y,eo,et)}catch(Y){return dD(Y)?Y:new tq(Y)}}),hO=s6(function(Y,et){return rg(et,function(et){ov(Y,et=lY(et),cY(Y[et],Y))}),Y});function hI(Y){var et=null==Y?0:Y.length,en=la();return Y=et?rE(Y,function(Y){if("function"!=typeof Y[1])throw new nf(ed);return[en(Y[0]),Y[1]]}):[],aI(function(en){for(var ei=-1;++ei<et;){var eo=Y[ei];if(rp(eo[0],this,en))return rp(eo[1],this,en)}})}function hN(Y){return oC(oE(Y,eg))}function hL(Y){return function(){return Y}}function hR(Y,et){return null==Y||Y!=Y?et:Y}var hD=sR(),hF=sR(!0);function hB(Y){return Y}function hz(Y){return aa("function"==typeof Y?Y:oE(Y,eg))}function hU(Y){return ah(oE(Y,eg))}function hH(Y,et){return ap(Y,oE(et,eg))}var hG=aI(function(Y,et){return function(en){return oQ(en,Y,et)}}),hV=aI(function(Y,et){return function(en){return oQ(Y,en,et)}});function hW(Y,et,en){var ei=fD(et),eo=oz(et,ei);null!=en||dH(et)&&(eo.length||!ei.length)||(en=et,et=Y,Y=this,eo=oz(et,fD(et)));var ea=!(dH(en)&&"chain"in en)||!!en.chain,eu=dB(Y);return rg(eo,function(en){var ei=et[en];Y[en]=ei,eu&&(Y.prototype[en]=function(){var et=this.__chain__;if(ea||et){var en=Y(this.__wrapped__);return(en.__actions__=sk(this.__actions__)).push({func:ei,args:arguments,thisArg:Y}),en.__chain__=et,en}return ei.apply(Y,rC([this.value()],arguments))})}),Y}function hq(){return n7._===this&&(n7._=nE),this}function hZ(){}function hK(Y){return Y=fl(Y),aI(function(et){return av(et,Y)})}var h$=sU(rE),hY=sU(ry),hQ=sU(rA);function hX(Y){return lS(Y)?rF(lY(Y)):aC(Y)}function hJ(Y){return function(et){return null==Y?eo:oU(Y,et)}}var h9=sV(),h8=sV(!0);function pe(){return[]}function pn(){return!1}function pr(){return{}}function pi(){return""}function pa(){return!0}function ps(Y,et){if((Y=fl(Y))<1||Y>eU)return[];var en=eV,ei=n9(Y,eV);et=la(et),Y-=eV;for(var eo=rG(ei,et);++en<Y;)et(en);return eo}function pu(Y){return dT(Y)?rE(Y,lY):d4(Y)?[Y]:sk(l$(fp(Y)))}function pc(Y){var et=++nx;return fp(Y)+et}var pd=sB(function(Y,et){return Y+et},0),pf=sZ("ceil"),ph=sB(function(Y,et){return Y/et},1),pp=sZ("floor");function pm(Y){return Y&&Y.length?oO(Y,hB,oV):eo}function pg(Y,et){return Y&&Y.length?oO(Y,la(et,2),oV):eo}function pv(Y){return rD(Y,hB)}function pb(Y,et){return rD(Y,la(et,2))}function pk(Y){return Y&&Y.length?oO(Y,hB,ac):eo}function pw(Y,et){return Y&&Y.length?oO(Y,la(et,2),ac):eo}var p_=sB(function(Y,et){return Y*et},1),pE=sZ("round"),pC=sB(function(Y,et){return Y-et},0);function pT(Y){return Y&&Y.length?rH(Y,hB):0}function pS(Y,et){return Y&&Y.length?rH(Y,la(et,2)):0}return iA.after=cZ,iA.ary=cK,iA.assign=fm,iA.assignIn=fg,iA.assignInWith=fv,iA.assignWith=fy,iA.at=fb,iA.before=c$,iA.bind=cY,iA.bindAll=hO,iA.bindKey=cQ,iA.castArray=dp,iA.chain=u4,iA.chunk=l0,iA.compact=l9,iA.concat=l5,iA.cond=hI,iA.conforms=hN,iA.constant=hL,iA.countBy=cg,iA.create=fx,iA.curry=cX,iA.curryRight=cJ,iA.debounce=c0,iA.defaults=fk,iA.defaultsDeep=fw,iA.defer=c9,iA.delay=c5,iA.difference=l4,iA.differenceBy=l3,iA.differenceWith=l6,iA.drop=l7,iA.dropRight=l8,iA.dropRightWhile=ut,iA.dropWhile=un,iA.fill=ur,iA.filter=cw,iA.flatMap=cC,iA.flatMapDeep=cT,iA.flatMapDepth=cS,iA.flatten=ua,iA.flattenDeep=us,iA.flattenDepth=ul,iA.flip=c4,iA.flow=hD,iA.flowRight=hF,iA.fromPairs=uu,iA.functions=fM,iA.functionsIn=fP,iA.groupBy=cP,iA.initial=uf,iA.intersection=uh,iA.intersectionBy=up,iA.intersectionWith=um,iA.invert=fN,iA.invertBy=fL,iA.invokeMap=cO,iA.iteratee=hz,iA.keyBy=cI,iA.keys=fD,iA.keysIn=fF,iA.map=cN,iA.mapKeys=fB,iA.mapValues=fz,iA.matches=hU,iA.matchesProperty=hH,iA.memoize=c6,iA.merge=fU,iA.mergeWith=fH,iA.method=hG,iA.methodOf=hV,iA.mixin=hW,iA.negate=c7,iA.nthArg=hK,iA.omit=fG,iA.omitBy=fV,iA.once=c8,iA.orderBy=cL,iA.over=h$,iA.overArgs=dn,iA.overEvery=hY,iA.overSome=hQ,iA.partial=dr,iA.partialRight=di,iA.partition=cR,iA.pick=fW,iA.pickBy=fq,iA.property=hX,iA.propertyOf=hJ,iA.pull=ux,iA.pullAll=uk,iA.pullAllBy=uw,iA.pullAllWith=u_,iA.pullAt=uE,iA.range=h9,iA.rangeRight=h8,iA.rearg=ds,iA.reject=cB,iA.remove=uC,iA.rest=dl,iA.reverse=uT,iA.sampleSize=cU,iA.set=fK,iA.setWith=f$,iA.shuffle=cH,iA.slice=uS,iA.sortBy=cW,iA.sortedUniq=uN,iA.sortedUniqBy=uL,iA.split=hv,iA.spread=du,iA.tail=uR,iA.take=uD,iA.takeRight=uF,iA.takeRightWhile=uB,iA.takeWhile=uz,iA.tap=u3,iA.throttle=dd,iA.thru=u6,iA.toArray=fo,iA.toPairs=fY,iA.toPairsIn=fQ,iA.toPath=pu,iA.toPlainObject=ff,iA.transform=fX,iA.unary=df,iA.union=uU,iA.unionBy=uH,iA.unionWith=uG,iA.uniq=uV,iA.uniqBy=uW,iA.uniqWith=uq,iA.unset=fJ,iA.unzip=uZ,iA.unzipWith=uK,iA.update=f0,iA.updateWith=f9,iA.values=f5,iA.valuesIn=f4,iA.without=u$,iA.words=hP,iA.wrap=dh,iA.xor=uY,iA.xorBy=uQ,iA.xorWith=uX,iA.zip=uJ,iA.zipObject=u2,iA.zipObjectDeep=u9,iA.zipWith=u5,iA.entries=fY,iA.entriesIn=fQ,iA.extend=fg,iA.extendWith=fv,hW(iA,iA),iA.add=pd,iA.attempt=hj,iA.camelCase=f8,iA.capitalize=ht,iA.ceil=pf,iA.clamp=f3,iA.clone=dm,iA.cloneDeep=dv,iA.cloneDeepWith=db,iA.cloneWith=dg,iA.conformsTo=dk,iA.deburr=hn,iA.defaultTo=hR,iA.divide=ph,iA.endsWith=hr,iA.eq=dw,iA.escape=ho,iA.escapeRegExp=ha,iA.every=cy,iA.find=c_,iA.findIndex=ui,iA.findKey=f_,iA.findLast=cE,iA.findLastIndex=uo,iA.findLastKey=fE,iA.floor=pp,iA.forEach=cA,iA.forEachRight=cM,iA.forIn=fC,iA.forInRight=fT,iA.forOwn=fS,iA.forOwnRight=fA,iA.get=fj,iA.gt=d_,iA.gte=dE,iA.has=fO,iA.hasIn=fI,iA.head=uc,iA.identity=hB,iA.includes=cj,iA.indexOf=ud,iA.inRange=f6,iA.invoke=fR,iA.isArguments=dC,iA.isArray=dT,iA.isArrayBuffer=dS,iA.isArrayLike=dA,iA.isArrayLikeObject=dM,iA.isBoolean=dP,iA.isBuffer=dj,iA.isDate=dO,iA.isElement=dI,iA.isEmpty=dN,iA.isEqual=dL,iA.isEqualWith=dR,iA.isError=dD,iA.isFinite=dF,iA.isFunction=dB,iA.isInteger=dz,iA.isLength=dU,iA.isMap=dV,iA.isMatch=dW,iA.isMatchWith=dq,iA.isNaN=dZ,iA.isNative=dK,iA.isNil=dY,iA.isNull=d$,iA.isNumber=dQ,iA.isObject=dH,iA.isObjectLike=dG,iA.isPlainObject=dX,iA.isRegExp=dJ,iA.isSafeInteger=d0,iA.isSet=d9,iA.isString=d5,iA.isSymbol=d4,iA.isTypedArray=d3,iA.isUndefined=d6,iA.isWeakMap=d7,iA.isWeakSet=d8,iA.join=ug,iA.kebabCase=hs,iA.last=uv,iA.lastIndexOf=uy,iA.lowerCase=hl,iA.lowerFirst=hu,iA.lt=ft,iA.lte=fi,iA.max=pm,iA.maxBy=pg,iA.mean=pv,iA.meanBy=pb,iA.min=pk,iA.minBy=pw,iA.stubArray=pe,iA.stubFalse=pn,iA.stubObject=pr,iA.stubString=pi,iA.stubTrue=pa,iA.multiply=p_,iA.nth=ub,iA.noConflict=hq,iA.noop=hZ,iA.now=cq,iA.pad=hc,iA.padEnd=hd,iA.padStart=hf,iA.parseInt=hh,iA.random=f7,iA.reduce=cD,iA.reduceRight=cF,iA.repeat=hp,iA.replace=hm,iA.result=fZ,iA.round=pE,iA.runInContext=Y,iA.sample=cz,iA.size=cG,iA.snakeCase=hg,iA.some=cV,iA.sortedIndex=uA,iA.sortedIndexBy=uM,iA.sortedIndexOf=uP,iA.sortedLastIndex=uj,iA.sortedLastIndexBy=uO,iA.sortedLastIndexOf=uI,iA.startCase=hy,iA.startsWith=hb,iA.subtract=pC,iA.sum=pT,iA.sumBy=pS,iA.template=hx,iA.times=ps,iA.toFinite=fa,iA.toInteger=fl,iA.toLength=fu,iA.toLower=hk,iA.toNumber=fd,iA.toSafeInteger=fh,iA.toString=fp,iA.toUpper=hw,iA.trim=h_,iA.trimEnd=hE,iA.trimStart=hC,iA.truncate=hT,iA.unescape=hS,iA.uniqueId=pc,iA.upperCase=hA,iA.upperFirst=hM,iA.each=cA,iA.eachRight=cM,iA.first=uc,hW(iA,function(){var Y={};return oF(iA,function(et,en){nb.call(iA.prototype,en)||(Y[en]=et)}),Y}(),{chain:!1}),iA.VERSION=ea,rg(["bind","bindKey","curry","curryRight","partial","partialRight"],function(Y){iA[Y].placeholder=iA}),rg(["drop","take"],function(Y,et){iO.prototype[Y]=function(en){en=eo===en?1:n0(fl(en),0);var ei=this.__filtered__&&!et?new iO(this):this.clone();return ei.__filtered__?ei.__takeCount__=n9(en,ei.__takeCount__):ei.__views__.push({size:n9(en,eV),type:Y+(ei.__dir__<0?"Right":"")}),ei},iO.prototype[Y+"Right"]=function(et){return this.reverse()[Y](et).reverse()}}),rg(["filter","map","takeWhile"],function(Y,et){var en=et+1,ei=en==eD||en==eB;iO.prototype[Y]=function(Y){var et=this.clone();return et.__iteratees__.push({iteratee:la(Y,3),type:en}),et.__filtered__=et.__filtered__||ei,et}}),rg(["head","last"],function(Y,et){var en="take"+(et?"Right":"");iO.prototype[Y]=function(){return this[en](1).value()[0]}}),rg(["initial","tail"],function(Y,et){var en="drop"+(et?"":"Right");iO.prototype[Y]=function(){return this.__filtered__?new iO(this):this[en](1)}}),iO.prototype.compact=function(){return this.filter(hB)},iO.prototype.find=function(Y){return this.filter(Y).head()},iO.prototype.findLast=function(Y){return this.reverse().find(Y)},iO.prototype.invokeMap=aI(function(Y,et){return"function"==typeof Y?new iO(this):this.map(function(en){return oQ(en,Y,et)})}),iO.prototype.reject=function(Y){return this.filter(c7(la(Y)))},iO.prototype.slice=function(Y,et){Y=fl(Y);var en=this;return en.__filtered__&&(Y>0||et<0)?new iO(en):(Y<0?en=en.takeRight(-Y):Y&&(en=en.drop(Y)),eo!==et&&(en=(et=fl(et))<0?en.dropRight(-et):en.take(et-Y)),en)},iO.prototype.takeRightWhile=function(Y){return this.reverse().takeWhile(Y).reverse()},iO.prototype.toArray=function(){return this.take(eV)},oF(iO.prototype,function(Y,et){var en=/^(?:filter|find|map|reject)|While$/.test(et),ei=/^(?:head|last)$/.test(et),ea=iA[ei?"take"+("last"==et?"Right":""):et],eu=ei||/^find/.test(et);ea&&(iA.prototype[et]=function(){var et=this.__wrapped__,ec=ei?[1]:arguments,ed=et instanceof iO,ef=ec[0],eh=ed||dT(et),ep=function(Y){var et=ea.apply(iA,rC([Y],ec));return ei&&em?et[0]:et};eh&&en&&"function"==typeof ef&&1!=ef.length&&(ed=eh=!1);var em=this.__chain__,eg=!!this.__actions__.length,ey=eu&&!em,eb=ed&&!eg;if(!eu&&eh){et=eb?et:new iO(this);var ek=Y.apply(et,ec);return ek.__actions__.push({func:u6,args:[ep],thisArg:eo}),new ij(ek,em)}return ey&&eb?Y.apply(this,ec):(ek=this.thru(ep),ey?ei?ek.value()[0]:ek.value():ek)})}),rg(["pop","push","shift","sort","splice","unshift"],function(Y){var et=nh[Y],en=/^(?:push|sort|unshift)$/.test(Y)?"tap":"thru",ei=/^(?:pop|shift)$/.test(Y);iA.prototype[Y]=function(){var Y=arguments;if(ei&&!this.__chain__){var eo=this.value();return et.apply(dT(eo)?eo:[],Y)}return this[en](function(en){return et.apply(dT(en)?en:[],Y)})}}),oF(iO.prototype,function(Y,et){var en=iA[et];if(en){var ei=en.name+"";nb.call(im,ei)||(im[ei]=[]),im[ei].push({name:et,func:en})}}),im[sD(eo,eE).name]=[{name:"wrapper",func:eo}],iO.prototype.clone=iI,iO.prototype.reverse=iN,iO.prototype.value=iL,iA.prototype.at=u7,iA.prototype.chain=u8,iA.prototype.commit=cr,iA.prototype.next=co,iA.prototype.plant=cu,iA.prototype.reverse=cf,iA.prototype.toJSON=iA.prototype.valueOf=iA.prototype.value=cm,iA.prototype.first=iA.prototype.head,nL&&(iA.prototype[nL]=cl),iA}();n7._=iy,ei=(function(){return iy}).call(et,en,et,Y),eo!==ei&&(Y.exports=ei)}).call(this)},74153:function(Y,et,en){var ei=en(2767),eo="Expected a function";function ea(Y,et){if("function"!=typeof Y||null!=et&&"function"!=typeof et)throw TypeError(eo);var en=function(){var ei=arguments,eo=et?et.apply(this,ei):ei[0],ea=en.cache;if(ea.has(eo))return ea.get(eo);var eu=Y.apply(this,ei);return en.cache=ea.set(eo,eu)||ea,eu};return en.cache=new(ea.Cache||ei),en}ea.Cache=ei,Y.exports=ea},20204:function(Y){var et="Expected a function";function en(Y){if("function"!=typeof Y)throw TypeError(et);return function(){var et=arguments;switch(et.length){case 0:return!Y.call(this);case 1:return!Y.call(this,et[0]);case 2:return!Y.call(this,et[0],et[1]);case 3:return!Y.call(this,et[0],et[1],et[2])}return!Y.apply(this,et)}}Y.exports=en},91530:function(Y){function et(){}Y.exports=et},82954:function(Y,et,en){var ei=en(61757),eo=en(20204),ea=en(46667);function eu(Y,et){return ea(Y,eo(ei(et)))}Y.exports=eu},46667:function(Y,et,en){var ei=en(67631),eo=en(61757),ea=en(30384),eu=en(90179);function ec(Y,et){if(null==Y)return{};var en=ei(eu(Y),function(Y){return[Y]});return et=eo(et),ea(Y,en,function(Y,en){return et(Y,en[0])})}Y.exports=ec},91363:function(Y,et,en){var ei=en(81515),eo=en(21834),ea=en(44781),eu=en(28091);function ec(Y){return ea(Y)?ei(eu(Y)):eo(Y)}Y.exports=ec},29518:function(Y,et,en){var ei=en(57421),eo=en(24037),ea=en(2428),eu=en(57209),ec=en(5890);function ed(Y,et,en){return et=(en?eu(Y,et,en):void 0===et)?1:ec(et),(ea(Y)?ei:eo)(Y,et)}Y.exports=ed},35615:function(Y){function et(){return[]}Y.exports=et},88553:function(Y){function et(){return!1}Y.exports=et},73640:function(Y,et,en){var ei=en(67948),eo=1/0,ea=17976931348623157e292;function eu(Y){return Y?(Y=ei(Y))===eo||Y===-eo?(Y<0?-1:1)*ea:Y==Y?Y:0:0===Y?Y:0}Y.exports=eu},5890:function(Y,et,en){var ei=en(73640);function eo(Y){var et=ei(Y),en=et%1;return et==et?en?et-en:et:0}Y.exports=eo},67948:function(Y,et,en){var ei=en(33897),eo=en(6627),ea=en(42848),eu=0/0,ec=/^[-+]0x[0-9a-f]+$/i,ed=/^0b[01]+$/i,ef=/^0o[0-7]+$/i,eh=parseInt;function ep(Y){if("number"==typeof Y)return Y;if(ea(Y))return eu;if(eo(Y)){var et="function"==typeof Y.valueOf?Y.valueOf():Y;Y=eo(et)?et+"":et}if("string"!=typeof Y)return 0===Y?Y:+Y;Y=ei(Y);var en=ed.test(Y);return en||ef.test(Y)?eh(Y.slice(2),en?2:8):ec.test(Y)?eu:+Y}Y.exports=ep},44091:function(Y,et,en){var ei=en(17185);function eo(Y){return null==Y?"":ei(Y)}Y.exports=eo},52657:function(Y,et,en){var ei=en(69588),eo=en(58834);function ea(Y){return null==Y?[]:ei(Y,eo(Y))}Y.exports=ea},68233:function(Y,et,en){!function(Y,ei){ei(et,en(923),en(70079))}(0,function(Y,et,en){"use strict";function ei(Y){return Y&&"object"==typeof Y&&"default"in Y?Y:{default:Y}}var eo=ei(et),ea=ei(en);function eu(Y,et){var en=null==Y?null:"undefined"!=typeof Symbol&&Y[Symbol.iterator]||Y["@@iterator"];if(null!=en){var ei,eo,ea,eu,ec=[],ed=!0,ef=!1;try{if(ea=(en=en.call(Y)).next,0===et){if(Object(en)!==en)return;ed=!1}else for(;!(ed=(ei=ea.call(en)).done)&&(ec.push(ei.value),ec.length!==et);ed=!0);}catch(Y){ef=!0,eo=Y}finally{try{if(!ed&&null!=en.return&&(eu=en.return(),Object(eu)!==eu))return}finally{if(ef)throw eo}}return ec}}function ec(Y,et){var en=Object.keys(Y);if(Object.getOwnPropertySymbols){var ei=Object.getOwnPropertySymbols(Y);et&&(ei=ei.filter(function(et){return Object.getOwnPropertyDescriptor(Y,et).enumerable})),en.push.apply(en,ei)}return en}function ed(Y){for(var et=1;et<arguments.length;et++){var en=null!=arguments[et]?arguments[et]:{};et%2?ec(Object(en),!0).forEach(function(et){ef(Y,et,en[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(en)):ec(Object(en)).forEach(function(et){Object.defineProperty(Y,et,Object.getOwnPropertyDescriptor(en,et))})}return Y}function ef(Y,et,en){return(et=e_(et))in Y?Object.defineProperty(Y,et,{value:en,enumerable:!0,configurable:!0,writable:!0}):Y[et]=en,Y}function eh(Y,et){if(null==Y)return{};var en,ei,eo={},ea=Object.keys(Y);for(ei=0;ei<ea.length;ei++)en=ea[ei],et.indexOf(en)>=0||(eo[en]=Y[en]);return eo}function ep(Y,et){if(null==Y)return{};var en,ei,eo=eh(Y,et);if(Object.getOwnPropertySymbols){var ea=Object.getOwnPropertySymbols(Y);for(ei=0;ei<ea.length;ei++)en=ea[ei],!(et.indexOf(en)>=0)&&Object.prototype.propertyIsEnumerable.call(Y,en)&&(eo[en]=Y[en])}return eo}function em(Y,et){return eg(Y)||eu(Y,et)||ey(Y,et)||ek()}function eg(Y){if(Array.isArray(Y))return Y}function ey(Y,et){if(Y){if("string"==typeof Y)return eb(Y,et);var en=Object.prototype.toString.call(Y).slice(8,-1);if("Object"===en&&Y.constructor&&(en=Y.constructor.name),"Map"===en||"Set"===en)return Array.from(Y);if("Arguments"===en||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(en))return eb(Y,et)}}function eb(Y,et){(null==et||et>Y.length)&&(et=Y.length);for(var en=0,ei=Array(et);en<et;en++)ei[en]=Y[en];return ei}function ek(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ew(Y,et){if("object"!=typeof Y||null===Y)return Y;var en=Y[Symbol.toPrimitive];if(void 0!==en){var ei=en.call(Y,et||"default");if("object"!=typeof ei)return ei;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===et?String:Number)(Y)}function e_(Y){var et=ew(Y,"string");return"symbol"==typeof et?et:String(et)}var eE=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],eC=function(Y,et){var ei=Y.animationData,eu=Y.loop,ec=Y.autoplay,ef=Y.initialSegment,eh=Y.onComplete,eg=Y.onLoopComplete,ey=Y.onEnterFrame,eb=Y.onSegmentStart,ek=Y.onConfigReady,ew=Y.onDataReady,e_=Y.onDataFailed,eC=Y.onLoadedImages,eT=Y.onDOMLoaded,eS=Y.onDestroy;Y.lottieRef,Y.renderer,Y.name,Y.assetsPath,Y.rendererSettings;var eA=ep(Y,eE),eM=em(en.useState(!1),2),eP=eM[0],ej=eM[1],eO=en.useRef(),eI=en.useRef(null),eN=function(){var Y;null===(Y=eO.current)||void 0===Y||Y.play()},eL=function(){var Y;null===(Y=eO.current)||void 0===Y||Y.stop()},eR=function(){var Y;null===(Y=eO.current)||void 0===Y||Y.pause()},eD=function(Y){var et;null===(et=eO.current)||void 0===et||et.setSpeed(Y)},eF=function(Y,et){var en;null===(en=eO.current)||void 0===en||en.goToAndPlay(Y,et)},eB=function(Y,et){var en;null===(en=eO.current)||void 0===en||en.goToAndStop(Y,et)},ez=function(Y){var et;null===(et=eO.current)||void 0===et||et.setDirection(Y)},eU=function(Y,et){var en;null===(en=eO.current)||void 0===en||en.playSegments(Y,et)},eH=function(Y){var et;null===(et=eO.current)||void 0===et||et.setSubframe(Y)},eG=function(Y){var et;return null===(et=eO.current)||void 0===et?void 0:et.getDuration(Y)},eV=function(){var Y;null===(Y=eO.current)||void 0===Y||Y.destroy(),eO.current=void 0},eW=function(){var et,en=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(eI.current){null===(et=eO.current)||void 0===et||et.destroy();var ei=ed(ed(ed({},Y),en),{},{container:eI.current});return eO.current=eo.default.loadAnimation(ei),ej(!!eO.current),function(){var Y;null===(Y=eO.current)||void 0===Y||Y.destroy(),eO.current=void 0}}};return en.useEffect(function(){var Y=eW();return function(){return null==Y?void 0:Y()}},[ei,eu]),en.useEffect(function(){eO.current&&(eO.current.autoplay=!!ec)},[ec]),en.useEffect(function(){if(eO.current){if(!ef){eO.current.resetSegments(!0);return}Array.isArray(ef)&&ef.length&&((eO.current.currentRawFrame<ef[0]||eO.current.currentRawFrame>ef[1])&&(eO.current.currentRawFrame=ef[0]),eO.current.setSegment(ef[0],ef[1]))}},[ef]),en.useEffect(function(){var Y=[{name:"complete",handler:eh},{name:"loopComplete",handler:eg},{name:"enterFrame",handler:ey},{name:"segmentStart",handler:eb},{name:"config_ready",handler:ek},{name:"data_ready",handler:ew},{name:"data_failed",handler:e_},{name:"loaded_images",handler:eC},{name:"DOMLoaded",handler:eT},{name:"destroy",handler:eS}].filter(function(Y){return null!=Y.handler});if(Y.length){var et=Y.map(function(Y){var et;return null===(et=eO.current)||void 0===et||et.addEventListener(Y.name,Y.handler),function(){var et;null===(et=eO.current)||void 0===et||et.removeEventListener(Y.name,Y.handler)}});return function(){et.forEach(function(Y){return Y()})}}},[eh,eg,ey,eb,ek,ew,e_,eC,eT,eS]),{View:ea.default.createElement("div",ed({style:et,ref:eI},eA)),play:eN,stop:eL,pause:eR,setSpeed:eD,goToAndStop:eB,goToAndPlay:eF,setDirection:ez,playSegments:eU,setSubframe:eH,getDuration:eG,destroy:eV,animationContainerRef:eI,animationLoaded:eP,animationItem:eO.current}};function eT(Y){var et=Y.getBoundingClientRect(),en=et.top,ei=et.height;return(window.innerHeight-en)/(window.innerHeight+ei)}function eS(Y,et,en){var ei=Y.getBoundingClientRect(),eo=ei.top;return{x:(et-ei.left)/ei.width,y:(en-eo)/ei.height}}var eA=function(Y){var et=Y.wrapperRef,ei=Y.animationItem,eo=Y.mode,ea=Y.actions;en.useEffect(function(){var Y=et.current;if(Y&&ei&&ea.length){ei.stop();var en=function(){var et=null,en=function(){var en=eT(Y),eo=ea.find(function(Y){var et=Y.visibility;return et&&en>=et[0]&&en<=et[1]});if(eo){if("seek"===eo.type&&eo.visibility&&2===eo.frames.length){var eu=eo.frames[0]+Math.ceil((en-eo.visibility[0])/(eo.visibility[1]-eo.visibility[0])*eo.frames[1]);//! goToAndStop must be relative to the start of the current segment
ei.goToAndStop(eu-ei.firstFrame-1,!0)}"loop"===eo.type&&(null===et?(ei.playSegments(eo.frames,!0),et=eo.frames):et!==eo.frames?(ei.playSegments(eo.frames,!0),et=eo.frames):ei.isPaused&&(ei.playSegments(eo.frames,!0),et=eo.frames)),"play"===eo.type&&ei.isPaused&&(ei.resetSegments(!0),ei.play()),"stop"===eo.type&&ei.goToAndStop(eo.frames[0]-ei.firstFrame-1,!0)}};return document.addEventListener("scroll",en),function(){document.removeEventListener("scroll",en)}},eu=function(){var et=function(et,en){var eo=et,eu=en;if(-1!==eo&&-1!==eu){var ec=eS(Y,eo,eu);eo=ec.x,eu=ec.y}var ed=ea.find(function(Y){var et=Y.position;return et&&Array.isArray(et.x)&&Array.isArray(et.y)?eo>=et.x[0]&&eo<=et.x[1]&&eu>=et.y[0]&&eu<=et.y[1]:!(!et||Number.isNaN(et.x)||Number.isNaN(et.y))&&eo===et.x&&eu===et.y});if(ed){if("seek"===ed.type&&ed.position&&Array.isArray(ed.position.x)&&Array.isArray(ed.position.y)&&2===ed.frames.length){var ef=(eo-ed.position.x[0])/(ed.position.x[1]-ed.position.x[0]),eh=(eu-ed.position.y[0])/(ed.position.y[1]-ed.position.y[0]);ei.playSegments(ed.frames,!0),ei.goToAndStop(Math.ceil((ef+eh)/2*(ed.frames[1]-ed.frames[0])),!0)}"loop"===ed.type&&ei.playSegments(ed.frames,!0),"play"===ed.type&&(ei.isPaused&&ei.resetSegments(!1),ei.playSegments(ed.frames)),"stop"===ed.type&&ei.goToAndStop(ed.frames[0],!0)}},en=function(Y){et(Y.clientX,Y.clientY)},eo=function(){et(-1,-1)};return Y.addEventListener("mousemove",en),Y.addEventListener("mouseout",eo),function(){Y.removeEventListener("mousemove",en),Y.removeEventListener("mouseout",eo)}};switch(eo){case"scroll":return en();case"cursor":return eu()}}},[eo,ei])},eM=function(Y){var et=Y.actions,en=Y.mode,ei=Y.lottieObj,eo=ei.animationItem,ea=ei.View;return eA({actions:et,animationItem:eo,mode:en,wrapperRef:ei.animationContainerRef}),ea},eP=["style","interactivity"],ej=function(Y){var et,ei,eo,ea=Y.style,eu=Y.interactivity,ec=eC(ep(Y,eP),ea),ed=ec.View,ef=ec.play,eh=ec.stop,em=ec.pause,eg=ec.setSpeed,ey=ec.goToAndStop,eb=ec.goToAndPlay,ek=ec.setDirection,ew=ec.playSegments,e_=ec.setSubframe,eE=ec.getDuration,eT=ec.destroy,eS=ec.animationContainerRef,eA=ec.animationLoaded,ej=ec.animationItem;return en.useEffect(function(){Y.lottieRef&&(Y.lottieRef.current={play:ef,stop:eh,pause:em,setSpeed:eg,goToAndPlay:eb,goToAndStop:ey,setDirection:ek,playSegments:ew,setSubframe:e_,getDuration:eE,destroy:eT,animationContainerRef:eS,animationLoaded:eA,animationItem:ej})},[null===(et=Y.lottieRef)||void 0===et?void 0:et.current]),eM({lottieObj:{View:ed,play:ef,stop:eh,pause:em,setSpeed:eg,goToAndStop:ey,goToAndPlay:eb,setDirection:ek,playSegments:ew,setSubframe:e_,getDuration:eE,destroy:eT,animationContainerRef:eS,animationLoaded:eA,animationItem:ej},actions:null!==(ei=null==eu?void 0:eu.actions)&&void 0!==ei?ei:[],mode:null!==(eo=null==eu?void 0:eu.mode)&&void 0!==eo?eo:"scroll"})};Object.defineProperty(Y,"LottiePlayer",{enumerable:!0,get:function(){return eo.default}}),Y.default=ej,Y.useLottie=eC,Y.useLottieInteractivity=eM,Object.defineProperty(Y,"__esModule",{value:!0})})},923:function(module,exports,__webpack_require__){"undefined"!=typeof navigator&&function(Y,et){module.exports=et()}(0,function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(Y){_useWebWorker=!!Y},getWebWorker=function(){return _useWebWorker},setLocationHref=function(Y){locationHref=Y},getLocationHref=function(){return locationHref};function createTag(Y){return document.createElement(Y)}function extendPrototype(Y,et){var en,ei,eo=Y.length;for(en=0;en<eo;en+=1)for(var ea in ei=Y[en].prototype)Object.prototype.hasOwnProperty.call(ei,ea)&&(et.prototype[ea]=ei[ea])}function getDescriptor(Y,et){return Object.getOwnPropertyDescriptor(Y,et)}function createProxyFunction(Y){function et(){}return et.prototype=Y,et}var audioControllerFactory=function(){function Y(Y){this.audios=[],this.audioFactory=Y,this._volume=1,this._isMuted=!1}return Y.prototype={addAudio:function(Y){this.audios.push(Y)},pause:function(){var Y,et=this.audios.length;for(Y=0;Y<et;Y+=1)this.audios[Y].pause()},resume:function(){var Y,et=this.audios.length;for(Y=0;Y<et;Y+=1)this.audios[Y].resume()},setRate:function(Y){var et,en=this.audios.length;for(et=0;et<en;et+=1)this.audios[et].setRate(Y)},createAudio:function(Y){return this.audioFactory?this.audioFactory(Y):window.Howl?new window.Howl({src:[Y]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(Y){this.audioFactory=Y},setVolume:function(Y){this._volume=Y,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var Y,et=this.audios.length;for(Y=0;Y<et;Y+=1)this.audios[Y].volume(this._volume*(this._isMuted?0:1))}},function(){return new Y}}(),createTypedArray=function(){function Y(Y,et){var en,ei=0,eo=[];switch(Y){case"int16":case"uint8c":en=1;break;default:en=1.1}for(ei=0;ei<et;ei+=1)eo.push(en);return eo}function et(et,en){return"float32"===et?new Float32Array(en):"int16"===et?new Int16Array(en):"uint8c"===et?new Uint8ClampedArray(en):Y(et,en)}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?et:Y}();function createSizedArray(Y){return Array.apply(null,{length:Y})}function _typeof$6(Y){return(_typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var Y,et=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],en=et.length;for(Y=0;Y<en;Y+=1)BMMath[et[Y]]=Math[et[Y]]}(),BMMath.random=Math.random,BMMath.abs=function(Y){if("object"===_typeof$6(Y)&&Y.length){var et,en=createSizedArray(Y.length),ei=Y.length;for(et=0;et<ei;et+=1)en[et]=Math.abs(Y[et]);return en}return Math.abs(Y)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(Y){_shouldRoundValues=!!Y}function bmRnd(Y){return _shouldRoundValues?Math.round(Y):Y}function styleDiv(Y){Y.style.position="absolute",Y.style.top=0,Y.style.left=0,Y.style.display="block",Y.style.transformOrigin="0 0",Y.style.webkitTransformOrigin="0 0",Y.style.backfaceVisibility="visible",Y.style.webkitBackfaceVisibility="visible",Y.style.transformStyle="preserve-3d",Y.style.webkitTransformStyle="preserve-3d",Y.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(Y,et,en,ei){this.type=Y,this.currentTime=et,this.totalTime=en,this.direction=ei<0?-1:1}function BMCompleteEvent(Y,et){this.type=Y,this.direction=et<0?-1:1}function BMCompleteLoopEvent(Y,et,en,ei){this.type=Y,this.currentLoop=en,this.totalLoops=et,this.direction=ei<0?-1:1}function BMSegmentStartEvent(Y,et,en){this.type=Y,this.firstFrame=et,this.totalFrames=en}function BMDestroyEvent(Y,et){this.type=Y,this.target=et}function BMRenderFrameErrorEvent(Y,et){this.type="renderFrameError",this.nativeError=Y,this.currentTime=et}function BMConfigErrorEvent(Y){this.type="configError",this.nativeError=Y}function BMAnimationConfigErrorEvent(Y,et){this.type=Y,this.nativeError=et}var createElementID=function(){var Y=0;return function(){return idPrefix$1+"__lottie_element_"+(Y+=1)}}();function HSVtoRGB(Y,et,en){var ei,eo,ea,eu,ec,ed,ef,eh;switch(eu=Math.floor(6*Y),ec=6*Y-eu,ed=en*(1-et),ef=en*(1-ec*et),eh=en*(1-(1-ec)*et),eu%6){case 0:ei=en,eo=eh,ea=ed;break;case 1:ei=ef,eo=en,ea=ed;break;case 2:ei=ed,eo=en,ea=eh;break;case 3:ei=ed,eo=ef,ea=en;break;case 4:ei=eh,eo=ed,ea=en;break;case 5:ei=en,eo=ed,ea=ef}return[ei,eo,ea]}function RGBtoHSV(Y,et,en){var ei,eo=Math.max(Y,et,en),ea=Math.min(Y,et,en),eu=eo-ea,ec=0===eo?0:eu/eo,ed=eo/255;switch(eo){case ea:ei=0;break;case Y:ei=(et-en+eu*(et<en?6:0))/(6*eu);break;case et:ei=(en-Y+2*eu)/(6*eu);break;case en:ei=(Y-et+4*eu)/(6*eu)}return[ei,ec,ed]}function addSaturationToRGB(Y,et){var en=RGBtoHSV(255*Y[0],255*Y[1],255*Y[2]);return en[1]+=et,en[1]>1?en[1]=1:en[1]<=0&&(en[1]=0),HSVtoRGB(en[0],en[1],en[2])}function addBrightnessToRGB(Y,et){var en=RGBtoHSV(255*Y[0],255*Y[1],255*Y[2]);return en[2]+=et,en[2]>1?en[2]=1:en[2]<0&&(en[2]=0),HSVtoRGB(en[0],en[1],en[2])}function addHueToRGB(Y,et){var en=RGBtoHSV(255*Y[0],255*Y[1],255*Y[2]);return en[0]+=et/360,en[0]>1?en[0]-=1:en[0]<0&&(en[0]+=1),HSVtoRGB(en[0],en[1],en[2])}var rgbToHex=function(){var Y,et,en=[];for(Y=0;Y<256;Y+=1)et=Y.toString(16),en[Y]=1===et.length?"0"+et:et;return function(Y,et,ei){return Y<0&&(Y=0),et<0&&(et=0),ei<0&&(ei=0),"#"+en[Y]+en[et]+en[ei]}}(),setSubframeEnabled=function(Y){subframeEnabled=!!Y},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(Y){expressionsPlugin=Y},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(Y){expressionsInterfaces=Y},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(Y){defaultCurveSegments=Y},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(Y){idPrefix$1=Y},getIdPrefix=function(){return idPrefix$1};function createNS(Y){return document.createElementNS(svgNS,Y)}function _typeof$5(Y){return(_typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}var dataManager=function(){var Y,et,en=1,ei=[],eo={onmessage:function(){},postMessage:function(et){Y({data:et})}},ea={postMessage:function(Y){eo.onmessage({data:Y})}};function eu(et){if(window.Worker&&window.Blob&&getWebWorker()){var en=new Blob(["var _workerSelf = self; self.onmessage = ",et.toString()],{type:"text/javascript"}),ei=URL.createObjectURL(en);return new Worker(ei)}return Y=et,eo}function ec(){et||((et=eu(function(Y){function et(){function Y(et,en){var eu,ec,ed,ef,eh,ep,em=et.length;for(ec=0;ec<em;ec+=1)if("ks"in(eu=et[ec])&&!eu.completed){if(eu.completed=!0,eu.hasMask){var ey=eu.masksProperties;for(ed=0,ef=ey.length;ed<ef;ed+=1)if(ey[ed].pt.k.i)ea(ey[ed].pt.k);else for(eh=0,ep=ey[ed].pt.k.length;eh<ep;eh+=1)ey[ed].pt.k[eh].s&&ea(ey[ed].pt.k[eh].s[0]),ey[ed].pt.k[eh].e&&ea(ey[ed].pt.k[eh].e[0])}0===eu.ty?(eu.layers=ei(eu.refId,en),Y(eu.layers,en)):4===eu.ty?eo(eu.shapes):5===eu.ty&&eg(eu)}}function et(et,en){if(et){var eo=0,ea=et.length;for(eo=0;eo<ea;eo+=1)1===et[eo].t&&(et[eo].data.layers=ei(et[eo].data.refId,en),Y(et[eo].data.layers,en))}}function en(Y,et){for(var en=0,ei=et.length;en<ei;){if(et[en].id===Y)return et[en];en+=1}return null}function ei(Y,et){var ei=en(Y,et);return ei?ei.layers.__used?JSON.parse(JSON.stringify(ei.layers)):(ei.layers.__used=!0,ei.layers):null}function eo(Y){var et,en,ei;for(et=Y.length-1;et>=0;et-=1)if("sh"===Y[et].ty){if(Y[et].ks.k.i)ea(Y[et].ks.k);else for(en=0,ei=Y[et].ks.k.length;en<ei;en+=1)Y[et].ks.k[en].s&&ea(Y[et].ks.k[en].s[0]),Y[et].ks.k[en].e&&ea(Y[et].ks.k[en].e[0])}else"gr"===Y[et].ty&&eo(Y[et].it)}function ea(Y){var et,en=Y.i.length;for(et=0;et<en;et+=1)Y.i[et][0]+=Y.v[et][0],Y.i[et][1]+=Y.v[et][1],Y.o[et][0]+=Y.v[et][0],Y.o[et][1]+=Y.v[et][1]}function eu(Y,et){var en=et?et.split("."):[100,100,100];return Y[0]>en[0]||!(en[0]>Y[0])&&(Y[1]>en[1]||!(en[1]>Y[1])&&(Y[2]>en[2]||!(en[2]>Y[2])&&null))}var ec=function(){var Y=[4,4,14];function et(Y){var et=Y.t.d;Y.t.d={k:[{s:et,t:0}]}}function en(Y){var en,ei=Y.length;for(en=0;en<ei;en+=1)5===Y[en].ty&&et(Y[en])}return function(et){if(eu(Y,et.v)&&(en(et.layers),et.assets)){var ei,eo=et.assets.length;for(ei=0;ei<eo;ei+=1)et.assets[ei].layers&&en(et.assets[ei].layers)}}}(),ed=function(){var Y=[4,7,99];return function(et){if(et.chars&&!eu(Y,et.v)){var en,ei=et.chars.length;for(en=0;en<ei;en+=1){var ea=et.chars[en];ea.data&&ea.data.shapes&&(eo(ea.data.shapes),ea.data.ip=0,ea.data.op=99999,ea.data.st=0,ea.data.sr=1,ea.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},et.chars[en].t||(ea.data.shapes.push({ty:"no"}),ea.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),ef=function(){var Y=[5,7,15];function et(Y){var et=Y.t.p;"number"==typeof et.a&&(et.a={a:0,k:et.a}),"number"==typeof et.p&&(et.p={a:0,k:et.p}),"number"==typeof et.r&&(et.r={a:0,k:et.r})}function en(Y){var en,ei=Y.length;for(en=0;en<ei;en+=1)5===Y[en].ty&&et(Y[en])}return function(et){if(eu(Y,et.v)&&(en(et.layers),et.assets)){var ei,eo=et.assets.length;for(ei=0;ei<eo;ei+=1)et.assets[ei].layers&&en(et.assets[ei].layers)}}}(),eh=function(){var Y=[4,1,9];function et(Y){var en,ei,eo,ea=Y.length;for(en=0;en<ea;en+=1)if("gr"===Y[en].ty)et(Y[en].it);else if("fl"===Y[en].ty||"st"===Y[en].ty){if(Y[en].c.k&&Y[en].c.k[0].i)for(ei=0,eo=Y[en].c.k.length;ei<eo;ei+=1)Y[en].c.k[ei].s&&(Y[en].c.k[ei].s[0]/=255,Y[en].c.k[ei].s[1]/=255,Y[en].c.k[ei].s[2]/=255,Y[en].c.k[ei].s[3]/=255),Y[en].c.k[ei].e&&(Y[en].c.k[ei].e[0]/=255,Y[en].c.k[ei].e[1]/=255,Y[en].c.k[ei].e[2]/=255,Y[en].c.k[ei].e[3]/=255);else Y[en].c.k[0]/=255,Y[en].c.k[1]/=255,Y[en].c.k[2]/=255,Y[en].c.k[3]/=255}}function en(Y){var en,ei=Y.length;for(en=0;en<ei;en+=1)4===Y[en].ty&&et(Y[en].shapes)}return function(et){if(eu(Y,et.v)&&(en(et.layers),et.assets)){var ei,eo=et.assets.length;for(ei=0;ei<eo;ei+=1)et.assets[ei].layers&&en(et.assets[ei].layers)}}}(),ep=function(){var Y=[4,4,18];function et(Y){var en,ei,eo;for(en=Y.length-1;en>=0;en-=1)if("sh"===Y[en].ty){if(Y[en].ks.k.i)Y[en].ks.k.c=Y[en].closed;else for(ei=0,eo=Y[en].ks.k.length;ei<eo;ei+=1)Y[en].ks.k[ei].s&&(Y[en].ks.k[ei].s[0].c=Y[en].closed),Y[en].ks.k[ei].e&&(Y[en].ks.k[ei].e[0].c=Y[en].closed)}else"gr"===Y[en].ty&&et(Y[en].it)}function en(Y){var en,ei,eo,ea,eu,ec,ed=Y.length;for(ei=0;ei<ed;ei+=1){if((en=Y[ei]).hasMask){var ef=en.masksProperties;for(eo=0,ea=ef.length;eo<ea;eo+=1)if(ef[eo].pt.k.i)ef[eo].pt.k.c=ef[eo].cl;else for(eu=0,ec=ef[eo].pt.k.length;eu<ec;eu+=1)ef[eo].pt.k[eu].s&&(ef[eo].pt.k[eu].s[0].c=ef[eo].cl),ef[eo].pt.k[eu].e&&(ef[eo].pt.k[eu].e[0].c=ef[eo].cl)}4===en.ty&&et(en.shapes)}}return function(et){if(eu(Y,et.v)&&(en(et.layers),et.assets)){var ei,eo=et.assets.length;for(ei=0;ei<eo;ei+=1)et.assets[ei].layers&&en(et.assets[ei].layers)}}}();function em(en){en.__complete||(eh(en),ec(en),ed(en),ef(en),ep(en),Y(en.layers,en.assets),et(en.chars,en.assets),en.__complete=!0)}function eg(Y){0===Y.t.a.length&&Y.t.p}var ey={};return ey.completeData=em,ey.checkColors=eh,ey.checkChars=ed,ey.checkPathProperties=ef,ey.checkShapes=ep,ey.completeLayers=Y,ey}if(ea.dataManager||(ea.dataManager=et()),ea.assetLoader||(ea.assetLoader=function(){function Y(Y){var et=Y.getResponseHeader("content-type");return et&&"json"===Y.responseType&&-1!==et.indexOf("json")||Y.response&&"object"===_typeof$5(Y.response)?Y.response:Y.response&&"string"==typeof Y.response?JSON.parse(Y.response):Y.responseText?JSON.parse(Y.responseText):null}return{load:function(et,en,ei,eo){var ea,eu=new XMLHttpRequest;try{eu.responseType="json"}catch(Y){}eu.onreadystatechange=function(){if(4===eu.readyState){if(200===eu.status)ei(ea=Y(eu));else try{ea=Y(eu),ei(ea)}catch(Y){eo&&eo(Y)}}};try{eu.open("GET",et,!0)}catch(Y){eu.open("GET",en+"/"+et,!0)}eu.send()}}}()),"loadAnimation"===Y.data.type)ea.assetLoader.load(Y.data.path,Y.data.fullPath,function(et){ea.dataManager.completeData(et),ea.postMessage({id:Y.data.id,payload:et,status:"success"})},function(){ea.postMessage({id:Y.data.id,status:"error"})});else if("complete"===Y.data.type){var en=Y.data.animation;ea.dataManager.completeData(en),ea.postMessage({id:Y.data.id,payload:en,status:"success"})}else"loadData"===Y.data.type&&ea.assetLoader.load(Y.data.path,Y.data.fullPath,function(et){ea.postMessage({id:Y.data.id,payload:et,status:"success"})},function(){ea.postMessage({id:Y.data.id,status:"error"})})})).onmessage=function(Y){var et=Y.data,en=et.id,eo=ei[en];ei[en]=null,"success"===et.status?eo.onComplete(et.payload):eo.onError&&eo.onError()})}function ed(Y,et){var eo="processId_"+(en+=1);return ei[eo]={onComplete:Y,onError:et},eo}return{loadAnimation:function(Y,en,ei){ec();var eo=ed(en,ei);et.postMessage({type:"loadAnimation",path:Y,fullPath:window.location.origin+window.location.pathname,id:eo})},loadData:function(Y,en,ei){ec();var eo=ed(en,ei);et.postMessage({type:"loadData",path:Y,fullPath:window.location.origin+window.location.pathname,id:eo})},completeAnimation:function(Y,en,ei){ec();var eo=ed(en,ei);et.postMessage({type:"complete",animation:Y,id:eo})}}}(),ImagePreloader=function(){var Y=function(){var Y=createTag("canvas");Y.width=1,Y.height=1;var et=Y.getContext("2d");return et.fillStyle="rgba(0,0,0,0)",et.fillRect(0,0,1,1),Y}();function et(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function en(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function ei(Y,et,en){var ei="";if(Y.e)ei=Y.p;else if(et){var eo=Y.p;-1!==eo.indexOf("images/")&&(eo=eo.split("/")[1]),ei=et+eo}else ei=en+(Y.u?Y.u:"")+Y.p;return ei}function eo(Y){var et=0,en=setInterval((function(){(Y.getBBox().width||et>500)&&(this._imageLoaded(),clearInterval(en)),et+=1}).bind(this),50)}function ea(et){var en=ei(et,this.assetsPath,this.path),eo=createNS("image");isSafari?this.testImageLoaded(eo):eo.addEventListener("load",this._imageLoaded,!1),eo.addEventListener("error",(function(){ea.img=Y,this._imageLoaded()}).bind(this),!1),eo.setAttributeNS("http://www.w3.org/1999/xlink","href",en),this._elementHelper.append?this._elementHelper.append(eo):this._elementHelper.appendChild(eo);var ea={img:eo,assetData:et};return ea}function eu(et){var en=ei(et,this.assetsPath,this.path),eo=createTag("img");eo.crossOrigin="anonymous",eo.addEventListener("load",this._imageLoaded,!1),eo.addEventListener("error",(function(){ea.img=Y,this._imageLoaded()}).bind(this),!1),eo.src=en;var ea={img:eo,assetData:et};return ea}function ec(Y){var et={assetData:Y},en=ei(Y,this.assetsPath,this.path);return dataManager.loadData(en,(function(Y){et.img=Y,this._footageLoaded()}).bind(this),(function(){et.img={},this._footageLoaded()}).bind(this)),et}function ed(Y,et){this.imagesLoadedCb=et;var en,ei=Y.length;for(en=0;en<ei;en+=1)Y[en].layers||(Y[en].t&&"seq"!==Y[en].t?3===Y[en].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(Y[en]))):(this.totalImages+=1,this.images.push(this._createImageData(Y[en]))))}function ef(Y){this.path=Y||""}function eh(Y){this.assetsPath=Y||""}function ep(Y){for(var et=0,en=this.images.length;et<en;){if(this.images[et].assetData===Y)return this.images[et].img;et+=1}return null}function em(){this.imagesLoadedCb=null,this.images.length=0}function eg(){return this.totalImages===this.loadedAssets}function ey(){return this.totalFootages===this.loadedFootagesCount}function eb(Y,et){"svg"===Y?(this._elementHelper=et,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function ek(){this._imageLoaded=et.bind(this),this._footageLoaded=en.bind(this),this.testImageLoaded=eo.bind(this),this.createFootageData=ec.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return ek.prototype={loadAssets:ed,setAssetsPath:eh,setPath:ef,loadedImages:eg,loadedFootages:ey,destroy:em,getAsset:ep,createImgData:eu,createImageData:ea,imageLoaded:et,footageLoaded:en,setCacheType:eb},ek}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(Y,et){if(this._cbs[Y])for(var en=this._cbs[Y],ei=0;ei<en.length;ei+=1)en[ei](et)},addEventListener:function(Y,et){return this._cbs[Y]||(this._cbs[Y]=[]),this._cbs[Y].push(et),(function(){this.removeEventListener(Y,et)}).bind(this)},removeEventListener:function(Y,et){if(et){if(this._cbs[Y]){for(var en=0,ei=this._cbs[Y].length;en<ei;)this._cbs[Y][en]===et&&(this._cbs[Y].splice(en,1),en-=1,ei-=1),en+=1;this._cbs[Y].length||(this._cbs[Y]=null)}}else this._cbs[Y]=null}};var markerParser=function(){function Y(Y){for(var et,en=Y.split("\r\n"),ei={},eo=0,ea=0;ea<en.length;ea+=1)2===(et=en[ea].split(":")).length&&(ei[et[0]]=et[1].trim(),eo+=1);if(0===eo)throw Error();return ei}return function(et){for(var en=[],ei=0;ei<et.length;ei+=1){var eo=et[ei],ea={time:eo.tm,duration:eo.dr};try{ea.payload=JSON.parse(et[ei].cm)}catch(en){try{ea.payload=Y(et[ei].cm)}catch(Y){ea.payload={name:et[ei].cm}}}en.push(ea)}return en}}(),ProjectInterface=function(){function Y(Y){this.compositions.push(Y)}return function(){function et(Y){for(var et=0,en=this.compositions.length;et<en;){if(this.compositions[et].data&&this.compositions[et].data.nm===Y)return this.compositions[et].prepareFrame&&this.compositions[et].data.xt&&this.compositions[et].prepareFrame(this.currentFrame),this.compositions[et].compInterface;et+=1}return null}return et.compositions=[],et.currentFrame=0,et.registerComposition=Y,et}}(),renderers={},registerRenderer=function(Y,et){renderers[Y]=et};function getRenderer(Y){return renderers[Y]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var Y in renderers)if(renderers[Y])return Y;return""}function _typeof$4(Y){return(_typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(Y){(Y.wrapper||Y.container)&&(this.wrapper=Y.wrapper||Y.container);var et="svg";Y.animType?et=Y.animType:Y.renderer&&(et=Y.renderer);var en=getRenderer(et);this.renderer=new en(this,Y.rendererSettings),this.imagePreloader.setCacheType(et,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=et,""===Y.loop||null===Y.loop||void 0===Y.loop||!0===Y.loop?this.loop=!0:!1===Y.loop?this.loop=!1:this.loop=parseInt(Y.loop,10),this.autoplay=!("autoplay"in Y)||Y.autoplay,this.name=Y.name?Y.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(Y,"autoloadSegments")||Y.autoloadSegments,this.assetsPath=Y.assetsPath,this.initialSegment=Y.initialSegment,Y.audioFactory&&this.audioController.setAudioFactory(Y.audioFactory),Y.animationData?this.setupAnimation(Y.animationData):Y.path&&(-1!==Y.path.lastIndexOf("\\")?this.path=Y.path.substr(0,Y.path.lastIndexOf("\\")+1):this.path=Y.path.substr(0,Y.path.lastIndexOf("/")+1),this.fileName=Y.path.substr(Y.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(Y.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(Y){dataManager.completeAnimation(Y,this.configAnimation)},AnimationItem.prototype.setData=function(Y,et){et&&"object"!==_typeof$4(et)&&(et=JSON.parse(et));var en={wrapper:Y,animationData:et},ei=Y.attributes;en.path=ei.getNamedItem("data-animation-path")?ei.getNamedItem("data-animation-path").value:ei.getNamedItem("data-bm-path")?ei.getNamedItem("data-bm-path").value:ei.getNamedItem("bm-path")?ei.getNamedItem("bm-path").value:"",en.animType=ei.getNamedItem("data-anim-type")?ei.getNamedItem("data-anim-type").value:ei.getNamedItem("data-bm-type")?ei.getNamedItem("data-bm-type").value:ei.getNamedItem("bm-type")?ei.getNamedItem("bm-type").value:ei.getNamedItem("data-bm-renderer")?ei.getNamedItem("data-bm-renderer").value:ei.getNamedItem("bm-renderer")?ei.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var eo=ei.getNamedItem("data-anim-loop")?ei.getNamedItem("data-anim-loop").value:ei.getNamedItem("data-bm-loop")?ei.getNamedItem("data-bm-loop").value:ei.getNamedItem("bm-loop")?ei.getNamedItem("bm-loop").value:"";"false"===eo?en.loop=!1:"true"===eo?en.loop=!0:""!==eo&&(en.loop=parseInt(eo,10));var ea=ei.getNamedItem("data-anim-autoplay")?ei.getNamedItem("data-anim-autoplay").value:ei.getNamedItem("data-bm-autoplay")?ei.getNamedItem("data-bm-autoplay").value:!ei.getNamedItem("bm-autoplay")||ei.getNamedItem("bm-autoplay").value;en.autoplay="false"!==ea,en.name=ei.getNamedItem("data-name")?ei.getNamedItem("data-name").value:ei.getNamedItem("data-bm-name")?ei.getNamedItem("data-bm-name").value:ei.getNamedItem("bm-name")?ei.getNamedItem("bm-name").value:"","false"===(ei.getNamedItem("data-anim-prerender")?ei.getNamedItem("data-anim-prerender").value:ei.getNamedItem("data-bm-prerender")?ei.getNamedItem("data-bm-prerender").value:ei.getNamedItem("bm-prerender")?ei.getNamedItem("bm-prerender").value:"")&&(en.prerender=!1),en.path?this.setParams(en):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(Y){Y.op>this.animationData.op&&(this.animationData.op=Y.op,this.totalFrames=Math.floor(Y.op-this.animationData.ip));var et,en,ei=this.animationData.layers,eo=ei.length,ea=Y.layers,eu=ea.length;for(en=0;en<eu;en+=1)for(et=0;et<eo;){if(ei[et].id===ea[en].id){ei[et]=ea[en];break}et+=1}if((Y.chars||Y.fonts)&&(this.renderer.globalData.fontManager.addChars(Y.chars),this.renderer.globalData.fontManager.addFonts(Y.fonts,this.renderer.globalData.defs)),Y.assets)for(et=0,eo=Y.assets.length;et<eo;et+=1)this.animationData.assets.push(Y.assets[et]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(Y){this.animationData=Y;var et=getExpressionsPlugin();et&&et.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var Y=this.animationData.segments;if(!Y||0===Y.length||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var et=Y.shift();this.timeCompleted=et.time*this.frameRate;var en=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(en,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(Y){if(this.renderer)try{this.animationData=Y,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(Y),Y.assets||(Y.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(Y.assets),this.markers=markerParser(Y.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(Y){this.triggerConfigError(Y)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var Y=getExpressionsPlugin();Y&&Y.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(Y,et){var en="number"==typeof Y?Y:void 0,ei="number"==typeof et?et:void 0;this.renderer.updateContainerSize(en,ei)},AnimationItem.prototype.setSubframe=function(Y){this.isSubframeEnabled=!!Y},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(Y){this.triggerRenderFrameError(Y)}},AnimationItem.prototype.play=function(Y){(!Y||this.name===Y)&&!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(Y){Y&&this.name!==Y||!1!==this.isPaused||(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(Y){Y&&this.name!==Y||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(Y){Y&&this.name!==Y||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(Y){for(var et,en=0;en<this.markers.length;en+=1)if((et=this.markers[en]).payload&&et.payload.name===Y)return et;return null},AnimationItem.prototype.goToAndStop=function(Y,et,en){if(!en||this.name===en){if(isNaN(Number(Y))){var ei=this.getMarkerData(Y);ei&&this.goToAndStop(ei.time,!0)}else et?this.setCurrentRawFrameValue(Y):this.setCurrentRawFrameValue(Y*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(Y,et,en){if(!en||this.name===en){var ei=Number(Y);if(isNaN(ei)){var eo=this.getMarkerData(Y);eo&&(eo.duration?this.playSegments([eo.time,eo.time+eo.duration],!0):this.goToAndStop(eo.time,!0))}else this.goToAndStop(ei,et,en);this.play()}},AnimationItem.prototype.advanceTime=function(Y){if(!0!==this.isPaused&&!1!==this.isLoaded){var et=this.currentRawFrame+Y*this.frameModifier,en=!1;et>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?et>=this.totalFrames?(this.playCount+=1,this.checkSegments(et%this.totalFrames)||(this.setCurrentRawFrameValue(et%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(et):this.checkSegments(et>this.totalFrames?et%this.totalFrames:0)||(en=!0,et=this.totalFrames-1):et<0?this.checkSegments(et%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&!0!==this.loop)?(this.setCurrentRawFrameValue(this.totalFrames+et%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(en=!0,et=0)):this.setCurrentRawFrameValue(et),en&&(this.setCurrentRawFrameValue(et),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(Y,et){this.playCount=0,Y[1]<Y[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=Y[0]-Y[1],this.timeCompleted=this.totalFrames,this.firstFrame=Y[1],this.setCurrentRawFrameValue(this.totalFrames-.001-et)):Y[1]>Y[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=Y[1]-Y[0],this.timeCompleted=this.totalFrames,this.firstFrame=Y[0],this.setCurrentRawFrameValue(.001+et)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(Y,et){var en=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<Y?en=Y:this.currentRawFrame+this.firstFrame>et&&(en=et-Y)),this.firstFrame=Y,this.totalFrames=et-Y,this.timeCompleted=this.totalFrames,-1!==en&&this.goToAndStop(en,!0)},AnimationItem.prototype.playSegments=function(Y,et){if(et&&(this.segments.length=0),"object"===_typeof$4(Y[0])){var en,ei=Y.length;for(en=0;en<ei;en+=1)this.segments.push(Y[en])}else this.segments.push(Y);this.segments.length&&et&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(Y){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),Y&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(Y){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),Y),!0)},AnimationItem.prototype.destroy=function(Y){(!Y||this.name===Y)&&this.renderer&&(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(Y){this.currentRawFrame=Y,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(Y){this.playSpeed=Y,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(Y){this.playDirection=Y<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(Y){this.loop=Y},AnimationItem.prototype.setVolume=function(Y,et){et&&this.name!==et||this.audioController.setVolume(Y)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(Y){Y&&this.name!==Y||this.audioController.mute()},AnimationItem.prototype.unmute=function(Y){Y&&this.name!==Y||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(Y){var et="";if(Y.e)et=Y.p;else if(this.assetsPath){var en=Y.p;-1!==en.indexOf("images/")&&(en=en.split("/")[1]),et=this.assetsPath+en}else et=this.path+(Y.u?Y.u:"")+Y.p;return et},AnimationItem.prototype.getAssetData=function(Y){for(var et=0,en=this.assets.length;et<en;){if(Y===this.assets[et].id)return this.assets[et];et+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(Y){return Y?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(Y,et,en){try{this.renderer.getElementByPath(Y).updateDocumentData(et,en)}catch(Y){}},AnimationItem.prototype.trigger=function(Y){if(this._cbs&&this._cbs[Y])switch(Y){case"enterFrame":this.triggerEvent(Y,new BMEnterFrameEvent(Y,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(Y,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(Y,new BMCompleteLoopEvent(Y,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(Y,new BMCompleteEvent(Y,this.frameMult));break;case"segmentStart":this.triggerEvent(Y,new BMSegmentStartEvent(Y,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(Y,new BMDestroyEvent(Y,this));break;default:this.triggerEvent(Y)}"enterFrame"===Y&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(Y,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===Y&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(Y,this.loop,this.playCount,this.frameMult)),"complete"===Y&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(Y,this.frameMult)),"segmentStart"===Y&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(Y,this.firstFrame,this.totalFrames)),"destroy"===Y&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(Y,this))},AnimationItem.prototype.triggerRenderFrameError=function(Y){var et=new BMRenderFrameErrorEvent(Y,this.currentFrame);this.triggerEvent("error",et),this.onError&&this.onError.call(this,et)},AnimationItem.prototype.triggerConfigError=function(Y){var et=new BMConfigErrorEvent(Y,this.currentFrame);this.triggerEvent("error",et),this.onError&&this.onError.call(this,et)};var animationManager=function(){var Y={},et=[],en=0,ei=0,eo=0,ea=!0,eu=!1;function ec(Y){for(var en=0,eo=Y.target;en<ei;)et[en].animation!==eo||(et.splice(en,1),en-=1,ei-=1,eo.isPaused||ep()),en+=1}function ed(Y,en){if(!Y)return null;for(var eo=0;eo<ei;){if(et[eo].elem===Y&&null!==et[eo].elem)return et[eo].animation;eo+=1}var ea=new AnimationItem;return em(ea,Y),ea.setData(Y,en),ea}function ef(){var Y,en=et.length,ei=[];for(Y=0;Y<en;Y+=1)ei.push(et[Y].animation);return ei}function eh(){eo+=1,ej()}function ep(){eo-=1}function em(Y,en){Y.addEventListener("destroy",ec),Y.addEventListener("_active",eh),Y.addEventListener("_idle",ep),et.push({elem:en,animation:Y}),ei+=1}function eg(Y){var et=new AnimationItem;return em(et,null),et.setParams(Y),et}function ey(Y,en){var eo;for(eo=0;eo<ei;eo+=1)et[eo].animation.setSpeed(Y,en)}function eb(Y,en){var eo;for(eo=0;eo<ei;eo+=1)et[eo].animation.setDirection(Y,en)}function ek(Y){var en;for(en=0;en<ei;en+=1)et[en].animation.play(Y)}function ew(Y){var ec,ed=Y-en;for(ec=0;ec<ei;ec+=1)et[ec].animation.advanceTime(ed);en=Y,eo&&!eu?window.requestAnimationFrame(ew):ea=!0}function e_(Y){en=Y,window.requestAnimationFrame(ew)}function eE(Y){var en;for(en=0;en<ei;en+=1)et[en].animation.pause(Y)}function eC(Y,en,eo){var ea;for(ea=0;ea<ei;ea+=1)et[ea].animation.goToAndStop(Y,en,eo)}function eT(Y){var en;for(en=0;en<ei;en+=1)et[en].animation.stop(Y)}function eS(Y){var en;for(en=0;en<ei;en+=1)et[en].animation.togglePause(Y)}function eA(Y){var en;for(en=ei-1;en>=0;en-=1)et[en].animation.destroy(Y)}function eM(Y,et,en){var ei,eo=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),ea=eo.length;for(ei=0;ei<ea;ei+=1)en&&eo[ei].setAttribute("data-bm-type",en),ed(eo[ei],Y);if(et&&0===ea){en||(en="svg");var eu=document.getElementsByTagName("body")[0];eu.innerText="";var ec=createTag("div");ec.style.width="100%",ec.style.height="100%",ec.setAttribute("data-bm-type",en),eu.appendChild(ec),ed(ec,Y)}}function eP(){var Y;for(Y=0;Y<ei;Y+=1)et[Y].animation.resize()}function ej(){!eu&&eo&&ea&&(window.requestAnimationFrame(e_),ea=!1)}function eO(){eu=!0}function eI(){eu=!1,ej()}function eN(Y,en){var eo;for(eo=0;eo<ei;eo+=1)et[eo].animation.setVolume(Y,en)}function eL(Y){var en;for(en=0;en<ei;en+=1)et[en].animation.mute(Y)}function eR(Y){var en;for(en=0;en<ei;en+=1)et[en].animation.unmute(Y)}return Y.registerAnimation=ed,Y.loadAnimation=eg,Y.setSpeed=ey,Y.setDirection=eb,Y.play=ek,Y.pause=eE,Y.stop=eT,Y.togglePause=eS,Y.searchAnimations=eM,Y.resize=eP,Y.goToAndStop=eC,Y.destroy=eA,Y.freeze=eO,Y.unfreeze=eI,Y.setVolume=eN,Y.mute=eL,Y.unmute=eR,Y.getRegisteredAnimations=ef,Y}(),BezierFactory=function(){var Y={};Y.getBezierEasing=en;var et={};function en(Y,en,ei,eo,ea){var eu=ea||("bez_"+Y+"_"+en+"_"+ei+"_"+eo).replace(/\./g,"p");if(et[eu])return et[eu];var ec=new ew([Y,en,ei,eo]);return et[eu]=ec,ec}var ei=4,eo=.001,ea=1e-7,eu=10,ec=11,ed=.1,ef="function"==typeof Float32Array;function eh(Y,et){return 1-3*et+3*Y}function ep(Y,et){return 3*et-6*Y}function em(Y){return 3*Y}function eg(Y,et,en){return((eh(et,en)*Y+ep(et,en))*Y+em(et))*Y}function ey(Y,et,en){return 3*eh(et,en)*Y*Y+2*ep(et,en)*Y+em(et)}function eb(Y,et,en,ei,eo){var ec,ed,ef=0;do(ec=eg(ed=et+(en-et)/2,ei,eo)-Y)>0?en=ed:et=ed;while(Math.abs(ec)>ea&&++ef<eu);return ed}function ek(Y,et,en,eo){for(var ea=0;ea<ei;++ea){var eu=ey(et,en,eo);if(0===eu)break;var ec=eg(et,en,eo)-Y;et-=ec/eu}return et}function ew(Y){this._p=Y,this._mSampleValues=ef?new Float32Array(ec):Array(ec),this._precomputed=!1,this.get=this.get.bind(this)}return ew.prototype={get:function(Y){var et=this._p[0],en=this._p[1],ei=this._p[2],eo=this._p[3];return(this._precomputed||this._precompute(),et===en&&ei===eo)?Y:0===Y?0:1===Y?1:eg(this._getTForX(Y),en,eo)},_precompute:function(){var Y=this._p[0],et=this._p[1],en=this._p[2],ei=this._p[3];this._precomputed=!0,(Y!==et||en!==ei)&&this._calcSampleValues()},_calcSampleValues:function(){for(var Y=this._p[0],et=this._p[2],en=0;en<ec;++en)this._mSampleValues[en]=eg(en*ed,Y,et)},_getTForX:function(Y){for(var et=this._p[0],en=this._p[2],ei=this._mSampleValues,ea=0,eu=1,ef=ec-1;eu!==ef&&ei[eu]<=Y;++eu)ea+=ed;var eh=ea+(Y-ei[--eu])/(ei[eu+1]-ei[eu])*ed,ep=ey(eh,et,en);return ep>=eo?ek(Y,eh,et,en):0===ep?eh:eb(Y,ea,ea+ed,et,en)}},Y}(),pooling=function(){return{double:function(Y){return Y.concat(createSizedArray(Y.length))}}}(),poolFactory=function(){return function(Y,et,en){var ei=0,eo=Y,ea=createSizedArray(eo);return{newElement:function(){var Y;return ei?(ei-=1,Y=ea[ei]):Y=et(),Y},release:function(Y){ei===eo&&(ea=pooling.double(ea),eo*=2),en&&en(Y),ea[ei]=Y,ei+=1}}}}(),bezierLengthPool=function(){return poolFactory(8,function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})}(),segmentsLengthPool=function(){function Y(Y){var et,en=Y.lengths.length;for(et=0;et<en;et+=1)bezierLengthPool.release(Y.lengths[et]);Y.lengths.length=0}return poolFactory(8,function(){return{lengths:[],totalLength:0}},Y)}();function bezFunction(){var Y=Math;function et(Y,et,en,ei,eo,ea){var eu=Y*ei+et*eo+en*ea-eo*ei-ea*Y-en*et;return eu>-.001&&eu<.001}function en(en,ei,eo,ea,eu,ec,ed,ef,eh){if(0===eo&&0===ec&&0===eh)return et(en,ei,ea,eu,ed,ef);var ep,em=Y.sqrt(Y.pow(ea-en,2)+Y.pow(eu-ei,2)+Y.pow(ec-eo,2)),eg=Y.sqrt(Y.pow(ed-en,2)+Y.pow(ef-ei,2)+Y.pow(eh-eo,2)),ey=Y.sqrt(Y.pow(ed-ea,2)+Y.pow(ef-eu,2)+Y.pow(eh-ec,2));return(ep=em>eg?em>ey?em-eg-ey:ey-eg-em:ey>eg?ey-eg-em:eg-em-ey)>-.0001&&ep<1e-4}var ei=function(){return function(Y,et,en,ei){var eo,ea,eu,ec,ed,ef,eh=getDefaultCurveSegments(),ep=0,em=[],eg=[],ey=bezierLengthPool.newElement();for(eo=0,eu=en.length;eo<eh;eo+=1){for(ea=0,ed=eo/(eh-1),ef=0;ea<eu;ea+=1)ec=bmPow(1-ed,3)*Y[ea]+3*bmPow(1-ed,2)*ed*en[ea]+3*(1-ed)*bmPow(ed,2)*ei[ea]+bmPow(ed,3)*et[ea],em[ea]=ec,null!==eg[ea]&&(ef+=bmPow(em[ea]-eg[ea],2)),eg[ea]=em[ea];ef&&(ep+=ef=bmSqrt(ef)),ey.percents[eo]=ed,ey.lengths[eo]=ep}return ey.addedLength=ep,ey}}();function eo(Y){var et,en=segmentsLengthPool.newElement(),eo=Y.c,ea=Y.v,eu=Y.o,ec=Y.i,ed=Y._length,ef=en.lengths,eh=0;for(et=0;et<ed-1;et+=1)ef[et]=ei(ea[et],ea[et+1],eu[et],ec[et+1]),eh+=ef[et].addedLength;return eo&&ed&&(ef[et]=ei(ea[et],ea[0],eu[et],ec[0]),eh+=ef[et].addedLength),en.totalLength=eh,en}function ea(Y){this.segmentLength=0,this.points=Array(Y)}function eu(Y,et){this.partialLength=Y,this.point=et}var ec=function(){var Y={};return function(en,ei,eo,ec){var ed=(en[0]+"_"+en[1]+"_"+ei[0]+"_"+ei[1]+"_"+eo[0]+"_"+eo[1]+"_"+ec[0]+"_"+ec[1]).replace(/\./g,"p");if(!Y[ed]){var ef,eh,ep,em,eg,ey,eb,ek=getDefaultCurveSegments(),ew=0,e_=null;2===en.length&&(en[0]!==ei[0]||en[1]!==ei[1])&&et(en[0],en[1],ei[0],ei[1],en[0]+eo[0],en[1]+eo[1])&&et(en[0],en[1],ei[0],ei[1],ei[0]+ec[0],ei[1]+ec[1])&&(ek=2);var eE=new ea(ek);for(ef=0,ep=eo.length;ef<ek;ef+=1){for(eh=0,eb=createSizedArray(ep),eg=ef/(ek-1),ey=0;eh<ep;eh+=1)em=bmPow(1-eg,3)*en[eh]+3*bmPow(1-eg,2)*eg*(en[eh]+eo[eh])+3*(1-eg)*bmPow(eg,2)*(ei[eh]+ec[eh])+bmPow(eg,3)*ei[eh],eb[eh]=em,null!==e_&&(ey+=bmPow(eb[eh]-e_[eh],2));ew+=ey=bmSqrt(ey),eE.points[ef]=new eu(ey,eb),e_=eb}eE.segmentLength=ew,Y[ed]=eE}return Y[ed]}}();function ed(Y,et){var en=et.percents,ei=et.lengths,eo=en.length,ea=bmFloor((eo-1)*Y),eu=Y*et.addedLength,ec=0;if(ea===eo-1||0===ea||eu===ei[ea])return en[ea];for(var ed=ei[ea]>eu?-1:1,ef=!0;ef;)if(ei[ea]<=eu&&ei[ea+1]>eu?(ec=(eu-ei[ea])/(ei[ea+1]-ei[ea]),ef=!1):ea+=ed,ea<0||ea>=eo-1){if(ea===eo-1)return en[ea];ef=!1}return en[ea]+(en[ea+1]-en[ea])*ec}function ef(et,en,ei,eo,ea,eu){var ec=ed(ea,eu),ef=1-ec;return[Y.round((ef*ef*ef*et[0]+(ec*ef*ef+ef*ec*ef+ef*ef*ec)*ei[0]+(ec*ec*ef+ef*ec*ec+ec*ef*ec)*eo[0]+ec*ec*ec*en[0])*1e3)/1e3,Y.round((ef*ef*ef*et[1]+(ec*ef*ef+ef*ec*ef+ef*ef*ec)*ei[1]+(ec*ec*ef+ef*ec*ec+ec*ef*ec)*eo[1]+ec*ec*ec*en[1])*1e3)/1e3]}var eh=createTypedArray("float32",8);return{getSegmentsLength:eo,getNewSegment:function(et,en,ei,eo,ea,eu,ec){ea<0?ea=0:ea>1&&(ea=1);var ef,ep=ed(ea,ec),em=ed(eu=eu>1?1:eu,ec),eg=et.length,ey=1-ep,eb=1-em,ek=ey*ey*ey,ew=ep*ey*ey*3,e_=ep*ep*ey*3,eE=ep*ep*ep,eC=ey*ey*eb,eT=ep*ey*eb+ey*ep*eb+ey*ey*em,eS=ep*ep*eb+ey*ep*em+ep*ey*em,eA=ep*ep*em,eM=ey*eb*eb,eP=ep*eb*eb+ey*em*eb+ey*eb*em,ej=ep*em*eb+ey*em*em+ep*eb*em,eO=ep*em*em,eI=eb*eb*eb,eN=em*eb*eb+eb*em*eb+eb*eb*em,eL=em*em*eb+eb*em*em+em*eb*em,eR=em*em*em;for(ef=0;ef<eg;ef+=1)eh[4*ef]=Y.round((ek*et[ef]+ew*ei[ef]+e_*eo[ef]+eE*en[ef])*1e3)/1e3,eh[4*ef+1]=Y.round((eC*et[ef]+eT*ei[ef]+eS*eo[ef]+eA*en[ef])*1e3)/1e3,eh[4*ef+2]=Y.round((eM*et[ef]+eP*ei[ef]+ej*eo[ef]+eO*en[ef])*1e3)/1e3,eh[4*ef+3]=Y.round((eI*et[ef]+eN*ei[ef]+eL*eo[ef]+eR*en[ef])*1e3)/1e3;return eh},getPointInSegment:ef,buildBezierData:ec,pointOnLine2D:et,pointOnLine3D:en}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(Y,et){var en,ei,eo,ea,eu,ec=this.offsetTime;"multidimensional"===this.propType&&(ek=createTypedArray("float32",this.pv.length));for(var ed=et.lastIndex,ef=ed,eh=this.keyframes.length-1,ep=!0;ep;){if(ew=this.keyframes[ef],e_=this.keyframes[ef+1],ef===eh-1&&Y>=e_.t-ec){ew.h&&(ew=e_),ed=0;break}if(e_.t-ec>Y){ed=ef;break}ef<eh-1?ef+=1:(ed=0,ep=!1)}eE=this.keyframesMetadata[ef]||{};var em=e_.t-ec,eg=ew.t-ec;if(ew.to){eE.bezierData||(eE.bezierData=bez.buildBezierData(ew.s,e_.s||ew.e,ew.to,ew.ti));var ey=eE.bezierData;if(Y>=em||Y<eg){var eb=Y>=em?ey.points.length-1:0;for(eC=0,eT=ey.points[eb].point.length;eC<eT;eC+=1)ek[eC]=ey.points[eb].point[eC]}else{eE.__fnct?eP=eE.__fnct:(eP=BezierFactory.getBezierEasing(ew.o.x,ew.o.y,ew.i.x,ew.i.y,ew.n).get,eE.__fnct=eP),eS=eP((Y-eg)/(em-eg));var ek,ew,e_,eE,eC,eT,eS,eA,eM,eP,ej,eO,eI=ey.segmentLength*eS,eN=et.lastFrame<Y&&et._lastKeyframeIndex===ef?et._lastAddedLength:0;for(eM=et.lastFrame<Y&&et._lastKeyframeIndex===ef?et._lastPoint:0,ep=!0,eA=ey.points.length;ep;){if(eN+=ey.points[eM].partialLength,0===eI||0===eS||eM===ey.points.length-1){for(eC=0,eT=ey.points[eM].point.length;eC<eT;eC+=1)ek[eC]=ey.points[eM].point[eC];break}if(eI>=eN&&eI<eN+ey.points[eM+1].partialLength){for(eC=0,eO=(eI-eN)/ey.points[eM+1].partialLength,eT=ey.points[eM].point.length;eC<eT;eC+=1)ek[eC]=ey.points[eM].point[eC]+(ey.points[eM+1].point[eC]-ey.points[eM].point[eC])*eO;break}eM<eA-1?eM+=1:ep=!1}et._lastPoint=eM,et._lastAddedLength=eN-ey.points[eM].partialLength,et._lastKeyframeIndex=ef}}else if(eh=ew.s.length,ej=e_.s||ew.e,this.sh&&1!==ew.h)Y>=em?(ek[0]=ej[0],ek[1]=ej[1],ek[2]=ej[2]):Y<=eg?(ek[0]=ew.s[0],ek[1]=ew.s[1],ek[2]=ew.s[2]):quaternionToEuler(ek,slerp(createQuaternion(ew.s),createQuaternion(ej),(Y-eg)/(em-eg)));else for(ef=0;ef<eh;ef+=1)1!==ew.h&&(Y>=em?eS=1:Y<eg?eS=0:(ew.o.x.constructor===Array?(eE.__fnct||(eE.__fnct=[]),eE.__fnct[ef]?eP=eE.__fnct[ef]:(en=void 0===ew.o.x[ef]?ew.o.x[0]:ew.o.x[ef],ei=void 0===ew.o.y[ef]?ew.o.y[0]:ew.o.y[ef],eo=void 0===ew.i.x[ef]?ew.i.x[0]:ew.i.x[ef],ea=void 0===ew.i.y[ef]?ew.i.y[0]:ew.i.y[ef],eP=BezierFactory.getBezierEasing(en,ei,eo,ea).get,eE.__fnct[ef]=eP)):eE.__fnct?eP=eE.__fnct:(en=ew.o.x,ei=ew.o.y,eo=ew.i.x,ea=ew.i.y,eP=BezierFactory.getBezierEasing(en,ei,eo,ea).get,ew.keyframeMetadata=eP),eS=eP((Y-eg)/(em-eg)))),ej=e_.s||ew.e,eu=1===ew.h?ew.s[ef]:ew.s[ef]+(ej[ef]-ew.s[ef])*eS,"multidimensional"===this.propType?ek[ef]=eu:ek=eu;return et.lastIndex=ed,ek}function slerp(Y,et,en){var ei,eo,ea,eu,ec,ed=[],ef=Y[0],eh=Y[1],ep=Y[2],em=Y[3],eg=et[0],ey=et[1],eb=et[2],ek=et[3];return(eo=ef*eg+eh*ey+ep*eb+em*ek)<0&&(eo=-eo,eg=-eg,ey=-ey,eb=-eb,ek=-ek),1-eo>1e-6?(ea=Math.sin(ei=Math.acos(eo)),eu=Math.sin((1-en)*ei)/ea,ec=Math.sin(en*ei)/ea):(eu=1-en,ec=en),ed[0]=eu*ef+ec*eg,ed[1]=eu*eh+ec*ey,ed[2]=eu*ep+ec*eb,ed[3]=eu*em+ec*ek,ed}function quaternionToEuler(Y,et){var en=et[0],ei=et[1],eo=et[2],ea=et[3],eu=Math.atan2(2*ei*ea-2*en*eo,1-2*ei*ei-2*eo*eo),ec=Math.asin(2*en*ei+2*eo*ea),ed=Math.atan2(2*en*ea-2*ei*eo,1-2*en*en-2*eo*eo);Y[0]=eu/degToRads,Y[1]=ec/degToRads,Y[2]=ed/degToRads}function createQuaternion(Y){var et=Y[0]*degToRads,en=Y[1]*degToRads,ei=Y[2]*degToRads,eo=Math.cos(et/2),ea=Math.cos(en/2),eu=Math.cos(ei/2),ec=Math.sin(et/2),ed=Math.sin(en/2),ef=Math.sin(ei/2),eh=eo*ea*eu-ec*ed*ef;return[ec*ed*eu+eo*ea*ef,ec*ea*eu+eo*ed*ef,eo*ed*eu-ec*ea*ef,eh]}function getValueAtCurrentTime(){var Y=this.comp.renderedFrame-this.offsetTime,et=this.keyframes[0].t-this.offsetTime,en=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(Y===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=en&&Y>=en||this._caching.lastFrame<et&&Y<et))){this._caching.lastFrame>=Y&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var ei=this.interpolateValue(Y,this._caching);this.pv=ei}return this._caching.lastFrame=Y,this.pv}function setVValue(Y){var et;if("unidimensional"===this.propType)et=Y*this.mult,mathAbs(this.v-et)>1e-5&&(this.v=et,this._mdf=!0);else for(var en=0,ei=this.v.length;en<ei;)et=Y[en]*this.mult,mathAbs(this.v[en]-et)>1e-5&&(this.v[en]=et,this._mdf=!0),en+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var Y,et=this.effectsSequence.length,en=this.kf?this.pv:this.data.k;for(Y=0;Y<et;Y+=1)en=this.effectsSequence[Y](en);this.setVValue(en),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(Y){this.effectsSequence.push(Y),this.container.addDynamicProperty(this)}function ValueProperty(Y,et,en,ei){this.propType="unidimensional",this.mult=en||1,this.data=et,this.v=en?et.k*en:et.k,this.pv=et.k,this._mdf=!1,this.elem=Y,this.container=ei,this.comp=Y.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(Y,et,en,ei){this.propType="multidimensional",this.mult=en||1,this.data=et,this._mdf=!1,this.elem=Y,this.container=ei,this.comp=Y.comp,this.k=!1,this.kf=!1,this.frameId=-1;var eo,ea=et.k.length;for(eo=0,this.v=createTypedArray("float32",ea),this.pv=createTypedArray("float32",ea),this.vel=createTypedArray("float32",ea);eo<ea;eo+=1)this.v[eo]=et.k[eo]*this.mult,this.pv[eo]=et.k[eo];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(Y,et,en,ei){this.propType="unidimensional",this.keyframes=et.k,this.keyframesMetadata=[],this.offsetTime=Y.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=et,this.mult=en||1,this.elem=Y,this.container=ei,this.comp=Y.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(Y,et,en,ei){this.propType="multidimensional";var eo,ea,eu,ec,ed,ef=et.k.length;for(eo=0;eo<ef-1;eo+=1)et.k[eo].to&&et.k[eo].s&&et.k[eo+1]&&et.k[eo+1].s&&(ea=et.k[eo].s,eu=et.k[eo+1].s,ec=et.k[eo].to,ed=et.k[eo].ti,(2===ea.length&&!(ea[0]===eu[0]&&ea[1]===eu[1])&&bez.pointOnLine2D(ea[0],ea[1],eu[0],eu[1],ea[0]+ec[0],ea[1]+ec[1])&&bez.pointOnLine2D(ea[0],ea[1],eu[0],eu[1],eu[0]+ed[0],eu[1]+ed[1])||3===ea.length&&!(ea[0]===eu[0]&&ea[1]===eu[1]&&ea[2]===eu[2])&&bez.pointOnLine3D(ea[0],ea[1],ea[2],eu[0],eu[1],eu[2],ea[0]+ec[0],ea[1]+ec[1],ea[2]+ec[2])&&bez.pointOnLine3D(ea[0],ea[1],ea[2],eu[0],eu[1],eu[2],eu[0]+ed[0],eu[1]+ed[1],eu[2]+ed[2]))&&(et.k[eo].to=null,et.k[eo].ti=null),ea[0]===eu[0]&&ea[1]===eu[1]&&0===ec[0]&&0===ec[1]&&0===ed[0]&&0===ed[1]&&(2===ea.length||ea[2]===eu[2]&&0===ec[2]&&0===ed[2])&&(et.k[eo].to=null,et.k[eo].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=et,this.keyframes=et.k,this.keyframesMetadata=[],this.offsetTime=Y.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=en||1,this.elem=Y,this.container=ei,this.comp=Y.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var eh=et.k[0].s.length;for(eo=0,this.v=createTypedArray("float32",eh),this.pv=createTypedArray("float32",eh);eo<eh;eo+=1)this.v[eo]=initFrame,this.pv[eo]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",eh)},this.addEffect=addEffect}var PropertyFactory=function(){return{getProp:function(Y,et,en,ei,eo){var ea;if(et.sid&&(et=Y.globalData.slotManager.getProp(et)),et.k.length){if("number"==typeof et.k[0])ea=new MultiDimensionalProperty(Y,et,ei,eo);else switch(en){case 0:ea=new KeyframedValueProperty(Y,et,ei,eo);break;case 1:ea=new KeyframedMultidimensionalProperty(Y,et,ei,eo)}}else ea=new ValueProperty(Y,et,ei,eo);return ea.effectsSequence.length&&eo.addDynamicProperty(ea),ea}}}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(Y){-1===this.dynamicProperties.indexOf(Y)&&(this.dynamicProperties.push(Y),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var Y,et=this.dynamicProperties.length;for(Y=0;Y<et;Y+=1)this.dynamicProperties[Y].getValue(),this.dynamicProperties[Y]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(Y){this.container=Y,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){return poolFactory(8,function(){return createTypedArray("float32",2)})}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(Y,et){this.c=Y,this.setLength(et);for(var en=0;en<et;)this.v[en]=pointPool.newElement(),this.o[en]=pointPool.newElement(),this.i[en]=pointPool.newElement(),en+=1},ShapePath.prototype.setLength=function(Y){for(;this._maxLength<Y;)this.doubleArrayLength();this._length=Y},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(Y,et,en,ei,eo){var ea;switch(this._length=Math.max(this._length,ei+1),this._length>=this._maxLength&&this.doubleArrayLength(),en){case"v":ea=this.v;break;case"i":ea=this.i;break;case"o":ea=this.o;break;default:ea=[]}ea[ei]&&(!ea[ei]||eo)||(ea[ei]=pointPool.newElement()),ea[ei][0]=Y,ea[ei][1]=et},ShapePath.prototype.setTripleAt=function(Y,et,en,ei,eo,ea,eu,ec){this.setXYAt(Y,et,"v",eu,ec),this.setXYAt(en,ei,"o",eu,ec),this.setXYAt(eo,ea,"i",eu,ec)},ShapePath.prototype.reverse=function(){var Y,et=new ShapePath;et.setPathData(this.c,this._length);var en=this.v,ei=this.o,eo=this.i,ea=0;this.c&&(et.setTripleAt(en[0][0],en[0][1],eo[0][0],eo[0][1],ei[0][0],ei[0][1],0,!1),ea=1);var eu=this._length-1,ec=this._length;for(Y=ea;Y<ec;Y+=1)et.setTripleAt(en[eu][0],en[eu][1],eo[eu][0],eo[eu][1],ei[eu][0],ei[eu][1],Y,!1),eu-=1;return et},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function Y(Y){var et,en=Y._length;for(et=0;et<en;et+=1)pointPool.release(Y.v[et]),pointPool.release(Y.i[et]),pointPool.release(Y.o[et]),Y.v[et]=null,Y.i[et]=null,Y.o[et]=null;Y._length=0,Y.c=!1}function et(Y){var et,ei=en.newElement(),eo=void 0===Y._length?Y.v.length:Y._length;for(ei.setLength(eo),ei.c=Y.c,et=0;et<eo;et+=1)ei.setTripleAt(Y.v[et][0],Y.v[et][1],Y.o[et][0],Y.o[et][1],Y.i[et][0],Y.i[et][1],et);return ei}var en=poolFactory(4,function(){return new ShapePath},Y);return en.clone=et,en}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(Y){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=Y,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var Y;for(Y=0;Y<this._length;Y+=1)shapePool.release(this.shapes[Y]);this._length=0};var shapeCollectionPool=function(){var Y={newShapeCollection:eo,release:ea},et=0,en=4,ei=createSizedArray(4);function eo(){var Y;return et?(et-=1,Y=ei[et]):Y=new ShapeCollection,Y}function ea(Y){var eo,ea=Y._length;for(eo=0;eo<ea;eo+=1)shapePool.release(Y.shapes[eo]);Y._length=0,et===en&&(ei=pooling.double(ei),en*=2),ei[et]=Y,et+=1}return Y}(),ShapePropertyFactory=function(){var Y=-999999;function et(Y,et,en){var ei=en.lastIndex,eo=this.keyframes;if(Y<eo[0].t-this.offsetTime)ea=eo[0].s[0],ec=!0,ei=0;else if(Y>=eo[eo.length-1].t-this.offsetTime)ea=eo[eo.length-1].s?eo[eo.length-1].s[0]:eo[eo.length-2].e[0],ec=!0;else{for(var ea,eu,ec,ed,ef,eh,ep,em,eg,ey,eb,ek,ew,e_=ei,eE=eo.length-1,eC=!0;eC&&(ey=eo[e_],!((eb=eo[e_+1]).t-this.offsetTime>Y));)e_<eE-1?e_+=1:eC=!1;ek=this.keyframesMetadata[e_]||{},ec=1===ey.h,ei=e_,ec||(Y>=eb.t-this.offsetTime?em=1:Y<ey.t-this.offsetTime?em=0:(ek.__fnct?ew=ek.__fnct:(ew=BezierFactory.getBezierEasing(ey.o.x,ey.o.y,ey.i.x,ey.i.y).get,ek.__fnct=ew),em=ew((Y-(ey.t-this.offsetTime))/(eb.t-this.offsetTime-(ey.t-this.offsetTime)))),eu=eb.s?eb.s[0]:ey.e[0]),ea=ey.s[0]}for(ed=0,eh=et._length,ep=ea.i[0].length,en.lastIndex=ei;ed<eh;ed+=1)for(ef=0;ef<ep;ef+=1)eg=ec?ea.i[ed][ef]:ea.i[ed][ef]+(eu.i[ed][ef]-ea.i[ed][ef])*em,et.i[ed][ef]=eg,eg=ec?ea.o[ed][ef]:ea.o[ed][ef]+(eu.o[ed][ef]-ea.o[ed][ef])*em,et.o[ed][ef]=eg,eg=ec?ea.v[ed][ef]:ea.v[ed][ef]+(eu.v[ed][ef]-ea.v[ed][ef])*em,et.v[ed][ef]=eg}function en(){var et=this.comp.renderedFrame-this.offsetTime,en=this.keyframes[0].t-this.offsetTime,ei=this.keyframes[this.keyframes.length-1].t-this.offsetTime,eo=this._caching.lastFrame;return eo!==Y&&(eo<en&&et<en||eo>ei&&et>ei)||(this._caching.lastIndex=eo<et?this._caching.lastIndex:0,this.interpolateShape(et,this.pv,this._caching)),this._caching.lastFrame=et,this.pv}function ei(){this.paths=this.localShapeCollection}function eo(Y,et){if(Y._length!==et._length||Y.c!==et.c)return!1;var en,ei=Y._length;for(en=0;en<ei;en+=1)if(Y.v[en][0]!==et.v[en][0]||Y.v[en][1]!==et.v[en][1]||Y.o[en][0]!==et.o[en][0]||Y.o[en][1]!==et.o[en][1]||Y.i[en][0]!==et.i[en][0]||Y.i[en][1]!==et.i[en][1])return!1;return!0}function ea(Y){eo(this.v,Y)||(this.v=shapePool.clone(Y),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function eu(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1,Y=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var Y,et,en=this.effectsSequence.length;for(et=0;et<en;et+=1)Y=this.effectsSequence[et](Y);this.setVValue(Y),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function ec(Y,et,en){this.propType="shape",this.comp=Y.comp,this.container=Y,this.elem=Y,this.data=et,this.k=!1,this.kf=!1,this._mdf=!1;var eo=3===en?et.pt.k:et.ks.k;this.v=shapePool.clone(eo),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=ei,this.effectsSequence=[]}function ed(Y){this.effectsSequence.push(Y),this.container.addDynamicProperty(this)}function ef(et,eo,ea){this.propType="shape",this.comp=et.comp,this.elem=et,this.container=et,this.offsetTime=et.data.st,this.keyframes=3===ea?eo.pt.k:eo.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var eu=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,eu),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=Y,this.reset=ei,this._caching={lastFrame:Y,lastIndex:0},this.effectsSequence=[en.bind(this)]}ec.prototype.interpolateShape=et,ec.prototype.getValue=eu,ec.prototype.setVValue=ea,ec.prototype.addEffect=ed,ef.prototype.getValue=eu,ef.prototype.interpolateShape=et,ef.prototype.setVValue=ea,ef.prototype.addEffect=ed;var eh=function(){var Y=roundCorner;function et(Y,et){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=et.d,this.elem=Y,this.comp=Y.comp,this.frameId=-1,this.initDynamicPropertyContainer(Y),this.p=PropertyFactory.getProp(Y,et.p,1,0,this),this.s=PropertyFactory.getProp(Y,et.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return et.prototype={reset:ei,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var et=this.p.v[0],en=this.p.v[1],ei=this.s.v[0]/2,eo=this.s.v[1]/2,ea=3!==this.d,eu=this.v;eu.v[0][0]=et,eu.v[0][1]=en-eo,eu.v[1][0]=ea?et+ei:et-ei,eu.v[1][1]=en,eu.v[2][0]=et,eu.v[2][1]=en+eo,eu.v[3][0]=ea?et-ei:et+ei,eu.v[3][1]=en,eu.i[0][0]=ea?et-ei*Y:et+ei*Y,eu.i[0][1]=en-eo,eu.i[1][0]=ea?et+ei:et-ei,eu.i[1][1]=en-eo*Y,eu.i[2][0]=ea?et+ei*Y:et-ei*Y,eu.i[2][1]=en+eo,eu.i[3][0]=ea?et-ei:et+ei,eu.i[3][1]=en+eo*Y,eu.o[0][0]=ea?et+ei*Y:et-ei*Y,eu.o[0][1]=en-eo,eu.o[1][0]=ea?et+ei:et-ei,eu.o[1][1]=en+eo*Y,eu.o[2][0]=ea?et-ei*Y:et+ei*Y,eu.o[2][1]=en+eo,eu.o[3][0]=ea?et-ei:et+ei,eu.o[3][1]=en-eo*Y}},extendPrototype([DynamicPropertyContainer],et),et}(),ep=function(){function Y(Y,et){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=Y,this.comp=Y.comp,this.data=et,this.frameId=-1,this.d=et.d,this.initDynamicPropertyContainer(Y),1===et.sy?(this.ir=PropertyFactory.getProp(Y,et.ir,0,0,this),this.is=PropertyFactory.getProp(Y,et.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(Y,et.pt,0,0,this),this.p=PropertyFactory.getProp(Y,et.p,1,0,this),this.r=PropertyFactory.getProp(Y,et.r,0,degToRads,this),this.or=PropertyFactory.getProp(Y,et.or,0,0,this),this.os=PropertyFactory.getProp(Y,et.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return Y.prototype={reset:ei,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var Y,et,en,ei,eo=2*Math.floor(this.pt.v),ea=2*Math.PI/eo,eu=!0,ec=this.or.v,ed=this.ir.v,ef=this.os.v,eh=this.is.v,ep=2*Math.PI*ec/(2*eo),em=2*Math.PI*ed/(2*eo),eg=-Math.PI/2;eg+=this.r.v;var ey=3===this.data.d?-1:1;for(Y=0,this.v._length=0;Y<eo;Y+=1){et=eu?ec:ed,en=eu?ef:eh,ei=eu?ep:em;var eb=et*Math.cos(eg),ek=et*Math.sin(eg),ew=0===eb&&0===ek?0:ek/Math.sqrt(eb*eb+ek*ek),e_=0===eb&&0===ek?0:-eb/Math.sqrt(eb*eb+ek*ek);eb+=+this.p.v[0],ek+=+this.p.v[1],this.v.setTripleAt(eb,ek,eb-ew*ei*en*ey,ek-e_*ei*en*ey,eb+ew*ei*en*ey,ek+e_*ei*en*ey,Y,!0),eu=!eu,eg+=ea*ey}},convertPolygonToPath:function(){var Y,et=Math.floor(this.pt.v),en=2*Math.PI/et,ei=this.or.v,eo=this.os.v,ea=2*Math.PI*ei/(4*et),eu=-(.5*Math.PI),ec=3===this.data.d?-1:1;for(eu+=this.r.v,this.v._length=0,Y=0;Y<et;Y+=1){var ed=ei*Math.cos(eu),ef=ei*Math.sin(eu),eh=0===ed&&0===ef?0:ef/Math.sqrt(ed*ed+ef*ef),ep=0===ed&&0===ef?0:-ed/Math.sqrt(ed*ed+ef*ef);ed+=+this.p.v[0],ef+=+this.p.v[1],this.v.setTripleAt(ed,ef,ed-eh*ea*eo*ec,ef-ep*ea*eo*ec,ed+eh*ea*eo*ec,ef+ep*ea*eo*ec,Y,!0),eu+=en*ec}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],Y),Y}(),em=function(){function Y(Y,et){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=Y,this.comp=Y.comp,this.frameId=-1,this.d=et.d,this.initDynamicPropertyContainer(Y),this.p=PropertyFactory.getProp(Y,et.p,1,0,this),this.s=PropertyFactory.getProp(Y,et.s,1,0,this),this.r=PropertyFactory.getProp(Y,et.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return Y.prototype={convertRectToPath:function(){var Y=this.p.v[0],et=this.p.v[1],en=this.s.v[0]/2,ei=this.s.v[1]/2,eo=bmMin(en,ei,this.r.v),ea=eo*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(Y+en,et-ei+eo,Y+en,et-ei+eo,Y+en,et-ei+ea,0,!0),this.v.setTripleAt(Y+en,et+ei-eo,Y+en,et+ei-ea,Y+en,et+ei-eo,1,!0),0!==eo?(this.v.setTripleAt(Y+en-eo,et+ei,Y+en-eo,et+ei,Y+en-ea,et+ei,2,!0),this.v.setTripleAt(Y-en+eo,et+ei,Y-en+ea,et+ei,Y-en+eo,et+ei,3,!0),this.v.setTripleAt(Y-en,et+ei-eo,Y-en,et+ei-eo,Y-en,et+ei-ea,4,!0),this.v.setTripleAt(Y-en,et-ei+eo,Y-en,et-ei+ea,Y-en,et-ei+eo,5,!0),this.v.setTripleAt(Y-en+eo,et-ei,Y-en+eo,et-ei,Y-en+ea,et-ei,6,!0),this.v.setTripleAt(Y+en-eo,et-ei,Y+en-ea,et-ei,Y+en-eo,et-ei,7,!0)):(this.v.setTripleAt(Y-en,et+ei,Y-en+ea,et+ei,Y-en,et+ei,2),this.v.setTripleAt(Y-en,et-ei,Y-en,et-ei+ea,Y-en,et-ei,3))):(this.v.setTripleAt(Y+en,et-ei+eo,Y+en,et-ei+ea,Y+en,et-ei+eo,0,!0),0!==eo?(this.v.setTripleAt(Y+en-eo,et-ei,Y+en-eo,et-ei,Y+en-ea,et-ei,1,!0),this.v.setTripleAt(Y-en+eo,et-ei,Y-en+ea,et-ei,Y-en+eo,et-ei,2,!0),this.v.setTripleAt(Y-en,et-ei+eo,Y-en,et-ei+eo,Y-en,et-ei+ea,3,!0),this.v.setTripleAt(Y-en,et+ei-eo,Y-en,et+ei-ea,Y-en,et+ei-eo,4,!0),this.v.setTripleAt(Y-en+eo,et+ei,Y-en+eo,et+ei,Y-en+ea,et+ei,5,!0),this.v.setTripleAt(Y+en-eo,et+ei,Y+en-ea,et+ei,Y+en-eo,et+ei,6,!0),this.v.setTripleAt(Y+en,et+ei-eo,Y+en,et+ei-eo,Y+en,et+ei-ea,7,!0)):(this.v.setTripleAt(Y-en,et-ei,Y-en+ea,et-ei,Y-en,et-ei,1,!0),this.v.setTripleAt(Y-en,et+ei,Y-en,et+ei-ea,Y-en,et+ei,2,!0),this.v.setTripleAt(Y+en,et+ei,Y+en-ea,et+ei,Y+en,et+ei,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:ei},extendPrototype([DynamicPropertyContainer],Y),Y}();function eg(Y,et,en){var ei;return 3===en||4===en?ei=(3===en?et.pt:et.ks).k.length?new ef(Y,et,en):new ec(Y,et,en):5===en?ei=new em(Y,et):6===en?ei=new eh(Y,et):7===en&&(ei=new ep(Y,et)),ei.k&&Y.addDynamicProperty(ei),ei}function ey(){return ec}function eb(){return ef}var ek={};return ek.getShapeProp=eg,ek.getConstructorFunction=ey,ek.getKeyframedConstructorFunction=eb,ek}(),Matrix=function(){var Y=Math.cos,et=Math.sin,en=Math.tan,ei=Math.round;function eo(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function ea(en){if(0===en)return this;var ei=Y(en),eo=et(en);return this._t(ei,-eo,0,0,eo,ei,0,0,0,0,1,0,0,0,0,1)}function eu(en){if(0===en)return this;var ei=Y(en),eo=et(en);return this._t(1,0,0,0,0,ei,-eo,0,0,eo,ei,0,0,0,0,1)}function ec(en){if(0===en)return this;var ei=Y(en),eo=et(en);return this._t(ei,0,eo,0,0,1,0,0,-eo,0,ei,0,0,0,0,1)}function ed(en){if(0===en)return this;var ei=Y(en),eo=et(en);return this._t(ei,-eo,0,0,eo,ei,0,0,0,0,1,0,0,0,0,1)}function ef(Y,et){return this._t(1,et,Y,1,0,0)}function eh(Y,et){return this.shear(en(Y),en(et))}function ep(ei,eo){var ea=Y(eo),eu=et(eo);return this._t(ea,eu,0,0,-eu,ea,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,en(ei),1,0,0,0,0,1,0,0,0,0,1)._t(ea,-eu,0,0,eu,ea,0,0,0,0,1,0,0,0,0,1)}function em(Y,et,en){return(en||0===en||(en=1),1===Y&&1===et&&1===en)?this:this._t(Y,0,0,0,0,et,0,0,0,0,en,0,0,0,0,1)}function eg(Y,et,en,ei,eo,ea,eu,ec,ed,ef,eh,ep,em,eg,ey,eb){return this.props[0]=Y,this.props[1]=et,this.props[2]=en,this.props[3]=ei,this.props[4]=eo,this.props[5]=ea,this.props[6]=eu,this.props[7]=ec,this.props[8]=ed,this.props[9]=ef,this.props[10]=eh,this.props[11]=ep,this.props[12]=em,this.props[13]=eg,this.props[14]=ey,this.props[15]=eb,this}function ey(Y,et,en){return(en=en||0,0!==Y||0!==et||0!==en)?this._t(1,0,0,0,0,1,0,0,0,0,1,0,Y,et,en,1):this}function eb(Y,et,en,ei,eo,ea,eu,ec,ed,ef,eh,ep,em,eg,ey,eb){var ek=this.props;if(1===Y&&0===et&&0===en&&0===ei&&0===eo&&1===ea&&0===eu&&0===ec&&0===ed&&0===ef&&1===eh&&0===ep)return ek[12]=ek[12]*Y+ek[15]*em,ek[13]=ek[13]*ea+ek[15]*eg,ek[14]=ek[14]*eh+ek[15]*ey,ek[15]*=eb,this._identityCalculated=!1,this;var ew=ek[0],e_=ek[1],eE=ek[2],eC=ek[3],eT=ek[4],eS=ek[5],eA=ek[6],eM=ek[7],eP=ek[8],ej=ek[9],eO=ek[10],eI=ek[11],eN=ek[12],eL=ek[13],eR=ek[14],eD=ek[15];return ek[0]=ew*Y+e_*eo+eE*ed+eC*em,ek[1]=ew*et+e_*ea+eE*ef+eC*eg,ek[2]=ew*en+e_*eu+eE*eh+eC*ey,ek[3]=ew*ei+e_*ec+eE*ep+eC*eb,ek[4]=eT*Y+eS*eo+eA*ed+eM*em,ek[5]=eT*et+eS*ea+eA*ef+eM*eg,ek[6]=eT*en+eS*eu+eA*eh+eM*ey,ek[7]=eT*ei+eS*ec+eA*ep+eM*eb,ek[8]=eP*Y+ej*eo+eO*ed+eI*em,ek[9]=eP*et+ej*ea+eO*ef+eI*eg,ek[10]=eP*en+ej*eu+eO*eh+eI*ey,ek[11]=eP*ei+ej*ec+eO*ep+eI*eb,ek[12]=eN*Y+eL*eo+eR*ed+eD*em,ek[13]=eN*et+eL*ea+eR*ef+eD*eg,ek[14]=eN*en+eL*eu+eR*eh+eD*ey,ek[15]=eN*ei+eL*ec+eR*ep+eD*eb,this._identityCalculated=!1,this}function ek(Y){var et=Y.props;return this.transform(et[0],et[1],et[2],et[3],et[4],et[5],et[6],et[7],et[8],et[9],et[10],et[11],et[12],et[13],et[14],et[15])}function ew(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function e_(Y){for(var et=0;et<16;){if(Y.props[et]!==this.props[et])return!1;et+=1}return!0}function eE(Y){var et;for(et=0;et<16;et+=1)Y.props[et]=this.props[et];return Y}function eC(Y){var et;for(et=0;et<16;et+=1)this.props[et]=Y[et]}function eT(Y,et,en){return{x:Y*this.props[0]+et*this.props[4]+en*this.props[8]+this.props[12],y:Y*this.props[1]+et*this.props[5]+en*this.props[9]+this.props[13],z:Y*this.props[2]+et*this.props[6]+en*this.props[10]+this.props[14]}}function eS(Y,et,en){return Y*this.props[0]+et*this.props[4]+en*this.props[8]+this.props[12]}function eA(Y,et,en){return Y*this.props[1]+et*this.props[5]+en*this.props[9]+this.props[13]}function eM(Y,et,en){return Y*this.props[2]+et*this.props[6]+en*this.props[10]+this.props[14]}function eP(){var Y=this.props[0]*this.props[5]-this.props[1]*this.props[4],et=this.props[5]/Y,en=-this.props[1]/Y,ei=-this.props[4]/Y,eo=this.props[0]/Y,ea=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/Y,eu=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/Y,ec=new Matrix;return ec.props[0]=et,ec.props[1]=en,ec.props[4]=ei,ec.props[5]=eo,ec.props[12]=ea,ec.props[13]=eu,ec}function ej(Y){return this.getInverseMatrix().applyToPointArray(Y[0],Y[1],Y[2]||0)}function eO(Y){var et,en=Y.length,ei=[];for(et=0;et<en;et+=1)ei[et]=ej(Y[et]);return ei}function eI(Y,et,en){var ei=createTypedArray("float32",6);if(this.isIdentity())ei[0]=Y[0],ei[1]=Y[1],ei[2]=et[0],ei[3]=et[1],ei[4]=en[0],ei[5]=en[1];else{var eo=this.props[0],ea=this.props[1],eu=this.props[4],ec=this.props[5],ed=this.props[12],ef=this.props[13];ei[0]=Y[0]*eo+Y[1]*eu+ed,ei[1]=Y[0]*ea+Y[1]*ec+ef,ei[2]=et[0]*eo+et[1]*eu+ed,ei[3]=et[0]*ea+et[1]*ec+ef,ei[4]=en[0]*eo+en[1]*eu+ed,ei[5]=en[0]*ea+en[1]*ec+ef}return ei}function eN(Y,et,en){return this.isIdentity()?[Y,et,en]:[Y*this.props[0]+et*this.props[4]+en*this.props[8]+this.props[12],Y*this.props[1]+et*this.props[5]+en*this.props[9]+this.props[13],Y*this.props[2]+et*this.props[6]+en*this.props[10]+this.props[14]]}function eL(Y,et){if(this.isIdentity())return Y+","+et;var en=this.props;return Math.round((Y*en[0]+et*en[4]+en[12])*100)/100+","+Math.round((Y*en[1]+et*en[5]+en[13])*100)/100}function eR(){for(var Y=0,et=this.props,en="matrix3d(",eo=1e4;Y<16;)en+=ei(et[Y]*eo)/eo+(15===Y?")":","),Y+=1;return en}function eD(Y){var et=1e4;return Y<1e-6&&Y>0||Y>-.000001&&Y<0?ei(Y*et)/et:Y}function eF(){var Y=this.props;return"matrix("+eD(Y[0])+","+eD(Y[1])+","+eD(Y[4])+","+eD(Y[5])+","+eD(Y[12])+","+eD(Y[13])+")"}return function(){this.reset=eo,this.rotate=ea,this.rotateX=eu,this.rotateY=ec,this.rotateZ=ed,this.skew=eh,this.skewFromAxis=ep,this.shear=ef,this.scale=em,this.setTransform=eg,this.translate=ey,this.transform=eb,this.multiply=ek,this.applyToPoint=eT,this.applyToX=eS,this.applyToY=eA,this.applyToZ=eM,this.applyToPointArray=eN,this.applyToTriplePoints=eI,this.applyToPointStringified=eL,this.toCSS=eR,this.to2dCSS=eF,this.clone=eE,this.cloneFromProps=eC,this.equals=e_,this.inversePoints=eO,this.inversePoint=ej,this.getInverseMatrix=eP,this._t=this.transform,this.isIdentity=ew,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(Y){return(_typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(Y){setLocationHref(Y)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(Y){setSubframeEnabled(Y)}function setPrefix(Y){setIdPrefix(Y)}function loadAnimation(Y){return!0===standalone&&(Y.animationData=JSON.parse(animationData)),animationManager.loadAnimation(Y)}function setQuality(Y){if("string"==typeof Y)switch(Y){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(Y)&&Y>1&&setDefaultCurveSegments(Y);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(Y,et){"expressions"===Y&&setExpressionsPlugin(et)}function getFactory(Y){switch(Y){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(Y){for(var et=queryString.split("&"),en=0;en<et.length;en+=1){var ei=et[en].split("=");if(decodeURIComponent(ei[0])==Y)return decodeURIComponent(ei[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(err){}var ShapeModifiers=function(){var Y={},et={};function en(Y,en){et[Y]||(et[Y]=en)}function ei(Y,en,ei){return new et[Y](en,ei)}return Y.registerModifier=en,Y.getModifier=ei,Y}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(Y){if(!this.closed){Y.sh.container.addDynamicProperty(Y.sh);var et={shape:Y.sh,data:Y,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(et),this.addShapeToModifier(et),this._isAnimated&&Y.setAsAnimated()}},ShapeModifier.prototype.init=function(Y,et){this.shapes=[],this.elem=Y,this.initDynamicPropertyContainer(Y),this.initModifierProperties(Y,et),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(Y,et){this.s=PropertyFactory.getProp(Y,et.s,0,.01,this),this.e=PropertyFactory.getProp(Y,et.e,0,.01,this),this.o=PropertyFactory.getProp(Y,et.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=et.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(Y){Y.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(Y,et,en,ei,eo){var ea,eu,ec=[];et<=1?ec.push({s:Y,e:et}):Y>=1?ec.push({s:Y-1,e:et-1}):(ec.push({s:Y,e:1}),ec.push({s:0,e:et-1}));var ed=[],ef=ec.length;for(ea=0;ea<ef;ea+=1)(eu=ec[ea]).e*eo<ei||eu.s*eo>ei+en||ed.push([eu.s*eo<=ei?0:(eu.s*eo-ei)/en,eu.e*eo>=ei+en?1:(eu.e*eo-ei)/en]);return ed.length||ed.push([0,0]),ed},TrimModifier.prototype.releasePathsData=function(Y){var et,en=Y.length;for(et=0;et<en;et+=1)segmentsLengthPool.release(Y[et]);return Y.length=0,Y},TrimModifier.prototype.processShapes=function(Y){if(this._mdf||Y){var et=this.o.v%360/360;if(et<0&&(et+=1),(ea=this.s.v>1?1+et:this.s.v<0?0+et:this.s.v+et)>(eu=this.e.v>1?1+et:this.e.v<0?0+et:this.e.v+et)){var en=ea;ea=eu,eu=en}ea=1e-4*Math.round(1e4*ea),eu=1e-4*Math.round(1e4*eu),this.sValue=ea,this.eValue=eu}else ea=this.sValue,eu=this.eValue;var ei=this.shapes.length,eo=0;if(eu===ea)for(ed=0;ed<ei;ed+=1)this.shapes[ed].localShapeCollection.releaseShapes(),this.shapes[ed].shape._mdf=!0,this.shapes[ed].shape.paths=this.shapes[ed].localShapeCollection,this._mdf&&(this.shapes[ed].pathsData.length=0);else if(1===eu&&0===ea||0===eu&&1===ea){if(this._mdf)for(ed=0;ed<ei;ed+=1)this.shapes[ed].pathsData.length=0,this.shapes[ed].shape._mdf=!0}else{var ea,eu,ec,ed,ef,eh,ep,em,eg,ey,eb,ek,ew=[];for(ed=0;ed<ei;ed+=1)if((ey=this.shapes[ed]).shape._mdf||this._mdf||Y||2===this.m){if(eh=(ec=ey.shape.paths)._length,eg=0,!ey.shape._mdf&&ey.pathsData.length)eg=ey.totalShapeLength;else{for(ef=0,ep=this.releasePathsData(ey.pathsData);ef<eh;ef+=1)em=bez.getSegmentsLength(ec.shapes[ef]),ep.push(em),eg+=em.totalLength;ey.totalShapeLength=eg,ey.pathsData=ep}eo+=eg,ey.shape._mdf=!0}else ey.shape.paths=ey.localShapeCollection;var e_=ea,eE=eu,eC=0;for(ed=ei-1;ed>=0;ed-=1)if((ey=this.shapes[ed]).shape._mdf){for((eb=ey.localShapeCollection).releaseShapes(),2===this.m&&ei>1?(ek=this.calculateShapeEdges(ea,eu,ey.totalShapeLength,eC,eo),eC+=ey.totalShapeLength):ek=[[e_,eE]],eh=ek.length,ef=0;ef<eh;ef+=1){e_=ek[ef][0],eE=ek[ef][1],ew.length=0,eE<=1?ew.push({s:ey.totalShapeLength*e_,e:ey.totalShapeLength*eE}):e_>=1?ew.push({s:ey.totalShapeLength*(e_-1),e:ey.totalShapeLength*(eE-1)}):(ew.push({s:ey.totalShapeLength*e_,e:ey.totalShapeLength}),ew.push({s:0,e:ey.totalShapeLength*(eE-1)}));var eT=this.addShapes(ey,ew[0]);if(ew[0].s!==ew[0].e){if(ew.length>1){if(ey.shape.paths.shapes[ey.shape.paths._length-1].c){var eS=eT.pop();this.addPaths(eT,eb),eT=this.addShapes(ey,ew[1],eS)}else this.addPaths(eT,eb),eT=this.addShapes(ey,ew[1])}this.addPaths(eT,eb)}}ey.shape.paths=eb}}},TrimModifier.prototype.addPaths=function(Y,et){var en,ei=Y.length;for(en=0;en<ei;en+=1)et.addShape(Y[en])},TrimModifier.prototype.addSegment=function(Y,et,en,ei,eo,ea,eu){eo.setXYAt(et[0],et[1],"o",ea),eo.setXYAt(en[0],en[1],"i",ea+1),eu&&eo.setXYAt(Y[0],Y[1],"v",ea),eo.setXYAt(ei[0],ei[1],"v",ea+1)},TrimModifier.prototype.addSegmentFromArray=function(Y,et,en,ei){et.setXYAt(Y[1],Y[5],"o",en),et.setXYAt(Y[2],Y[6],"i",en+1),ei&&et.setXYAt(Y[0],Y[4],"v",en),et.setXYAt(Y[3],Y[7],"v",en+1)},TrimModifier.prototype.addShapes=function(Y,et,en){var ei,eo,ea,eu,ec,ed,ef,eh,ep=Y.pathsData,em=Y.shape.paths.shapes,eg=Y.shape.paths._length,ey=0,eb=[],ek=!0;for(en?(ec=en._length,eh=en._length):(en=shapePool.newElement(),ec=0,eh=0),eb.push(en),ei=0;ei<eg;ei+=1){for(eo=1,ed=ep[ei].lengths,en.c=em[ei].c,ea=em[ei].c?ed.length:ed.length+1;eo<ea;eo+=1)if(ey+(eu=ed[eo-1]).addedLength<et.s)ey+=eu.addedLength,en.c=!1;else if(ey>et.e){en.c=!1;break}else et.s<=ey&&et.e>=ey+eu.addedLength?(this.addSegment(em[ei].v[eo-1],em[ei].o[eo-1],em[ei].i[eo],em[ei].v[eo],en,ec,ek),ek=!1):(ef=bez.getNewSegment(em[ei].v[eo-1],em[ei].v[eo],em[ei].o[eo-1],em[ei].i[eo],(et.s-ey)/eu.addedLength,(et.e-ey)/eu.addedLength,ed[eo-1]),this.addSegmentFromArray(ef,en,ec,ek),ek=!1,en.c=!1),ey+=eu.addedLength,ec+=1;if(em[ei].c&&ed.length){if(eu=ed[eo-1],ey<=et.e){var ew=ed[eo-1].addedLength;et.s<=ey&&et.e>=ey+ew?(this.addSegment(em[ei].v[eo-1],em[ei].o[eo-1],em[ei].i[0],em[ei].v[0],en,ec,ek),ek=!1):(ef=bez.getNewSegment(em[ei].v[eo-1],em[ei].v[0],em[ei].o[eo-1],em[ei].i[0],(et.s-ey)/ew,(et.e-ey)/ew,ed[eo-1]),this.addSegmentFromArray(ef,en,ec,ek),ek=!1,en.c=!1)}else en.c=!1;ey+=eu.addedLength,ec+=1}if(en._length&&(en.setXYAt(en.v[eh][0],en.v[eh][1],"i",eh),en.setXYAt(en.v[en._length-1][0],en.v[en._length-1][1],"o",en._length-1)),ey>et.e)break;ei<eg-1&&(en=shapePool.newElement(),ek=!0,eb.push(en),ec=0)}return eb},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(Y,et){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(Y,et.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(Y,et){var en,ei,eo,ea,eu,ec,ed=et/100,ef=[0,0],eh=Y._length,ep=0;for(ep=0;ep<eh;ep+=1)ef[0]+=Y.v[ep][0],ef[1]+=Y.v[ep][1];ef[0]/=eh,ef[1]/=eh;var em=shapePool.newElement();for(ep=0,em.c=Y.c;ep<eh;ep+=1)en=Y.v[ep][0]+(ef[0]-Y.v[ep][0])*ed,ei=Y.v[ep][1]+(ef[1]-Y.v[ep][1])*ed,eo=Y.o[ep][0]+-((ef[0]-Y.o[ep][0])*ed),ea=Y.o[ep][1]+-((ef[1]-Y.o[ep][1])*ed),eu=Y.i[ep][0]+-((ef[0]-Y.i[ep][0])*ed),ec=Y.i[ep][1]+-((ef[1]-Y.i[ep][1])*ed),em.setTripleAt(en,ei,eo,ea,eu,ec,ep);return em},PuckerAndBloatModifier.prototype.processShapes=function(Y){var et,en,ei,eo,ea,eu,ec=this.shapes.length,ed=this.amount.v;if(0!==ed)for(en=0;en<ec;en+=1){if(eu=(ea=this.shapes[en]).localShapeCollection,!(!ea.shape._mdf&&!this._mdf&&!Y))for(eu.releaseShapes(),ea.shape._mdf=!0,et=ea.shape.paths.shapes,eo=ea.shape.paths._length,ei=0;ei<eo;ei+=1)eu.addShape(this.processPath(et[ei],ed));ea.shape.paths=ea.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var Y=[0,0];function et(Y){var et=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||et,this.a&&Y.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&Y.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&Y.skewFromAxis(-this.sk.v,this.sa.v),this.r?Y.rotate(-this.r.v):Y.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?Y.translate(this.px.v,this.py.v,-this.pz.v):Y.translate(this.px.v,this.py.v,0):Y.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function en(et){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||et){var en;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){if(en=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(ei=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/en,0),eo=this.p.getValueAtTime(this.p.keyframes[0].t/en,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(ei=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/en,0),eo=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/en,0)):(ei=this.p.pv,eo=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/en,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){ei=[],eo=[];var ei,eo,ea=this.px,eu=this.py;ea._caching.lastFrame+ea.offsetTime<=ea.keyframes[0].t?(ei[0]=ea.getValueAtTime((ea.keyframes[0].t+.01)/en,0),ei[1]=eu.getValueAtTime((eu.keyframes[0].t+.01)/en,0),eo[0]=ea.getValueAtTime(ea.keyframes[0].t/en,0),eo[1]=eu.getValueAtTime(eu.keyframes[0].t/en,0)):ea._caching.lastFrame+ea.offsetTime>=ea.keyframes[ea.keyframes.length-1].t?(ei[0]=ea.getValueAtTime(ea.keyframes[ea.keyframes.length-1].t/en,0),ei[1]=eu.getValueAtTime(eu.keyframes[eu.keyframes.length-1].t/en,0),eo[0]=ea.getValueAtTime((ea.keyframes[ea.keyframes.length-1].t-.01)/en,0),eo[1]=eu.getValueAtTime((eu.keyframes[eu.keyframes.length-1].t-.01)/en,0)):(ei=[ea.pv,eu.pv],eo[0]=ea.getValueAtTime((ea._caching.lastFrame+ea.offsetTime-.01)/en,ea.offsetTime),eo[1]=eu.getValueAtTime((eu._caching.lastFrame+eu.offsetTime-.01)/en,eu.offsetTime))}else ei=eo=Y;this.v.rotate(-Math.atan2(ei[1]-eo[1],ei[0]-eo[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function ei(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}}function eo(){}function ea(Y){this._addDynamicProperty(Y),this.elem.addDynamicProperty(Y),this._isDirty=!0}function eu(Y,et,en){if(this.elem=Y,this.frameId=-1,this.propType="transform",this.data=et,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(en||Y),et.p&&et.p.s?(this.px=PropertyFactory.getProp(Y,et.p.x,0,0,this),this.py=PropertyFactory.getProp(Y,et.p.y,0,0,this),et.p.z&&(this.pz=PropertyFactory.getProp(Y,et.p.z,0,0,this))):this.p=PropertyFactory.getProp(Y,et.p||{k:[0,0,0]},1,0,this),et.rx){if(this.rx=PropertyFactory.getProp(Y,et.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(Y,et.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(Y,et.rz,0,degToRads,this),et.or.k[0].ti){var ei,eo=et.or.k.length;for(ei=0;ei<eo;ei+=1)et.or.k[ei].to=null,et.or.k[ei].ti=null}this.or=PropertyFactory.getProp(Y,et.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(Y,et.r||{k:0},0,degToRads,this);et.sk&&(this.sk=PropertyFactory.getProp(Y,et.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(Y,et.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(Y,et.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(Y,et.s||{k:[100,100,100]},1,.01,this),et.o?this.o=PropertyFactory.getProp(Y,et.o,0,.01,Y):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return eu.prototype={applyToMatrix:et,getValue:en,precalculateMatrix:ei,autoOrient:eo},extendPrototype([DynamicPropertyContainer],eu),eu.prototype.addDynamicProperty=ea,eu.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(Y,et,en){return new eu(Y,et,en)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(Y,et){return 1e5*Math.abs(Y-et)<=Math.min(Math.abs(Y),Math.abs(et))}function floatZero(Y){return 1e-5>=Math.abs(Y)}function lerp(Y,et,en){return Y*(1-en)+et*en}function lerpPoint(Y,et,en){return[lerp(Y[0],et[0],en),lerp(Y[1],et[1],en)]}function quadRoots(Y,et,en){if(0===Y)return[];var ei=et*et-4*Y*en;if(ei<0)return[];var eo=-et/(2*Y);if(0===ei)return[eo];var ea=Math.sqrt(ei)/(2*Y);return[eo-ea,eo+ea]}function polynomialCoefficients(Y,et,en,ei){return[-Y+3*et-3*en+ei,3*Y-6*et+3*en,-3*Y+3*et,Y]}function singlePoint(Y){return new PolynomialBezier(Y,Y,Y,Y,!1)}function PolynomialBezier(Y,et,en,ei,eo){eo&&pointEqual(Y,et)&&(et=lerpPoint(Y,ei,1/3)),eo&&pointEqual(en,ei)&&(en=lerpPoint(Y,ei,2/3));var ea=polynomialCoefficients(Y[0],et[0],en[0],ei[0]),eu=polynomialCoefficients(Y[1],et[1],en[1],ei[1]);this.a=[ea[0],eu[0]],this.b=[ea[1],eu[1]],this.c=[ea[2],eu[2]],this.d=[ea[3],eu[3]],this.points=[Y,et,en,ei]}function extrema(Y,et){var en=Y.points[0][et],ei=Y.points[Y.points.length-1][et];if(en>ei){var eo=ei;ei=en,en=eo}for(var ea=quadRoots(3*Y.a[et],2*Y.b[et],Y.c[et]),eu=0;eu<ea.length;eu+=1)if(ea[eu]>0&&ea[eu]<1){var ec=Y.point(ea[eu])[et];ec<en?en=ec:ec>ei&&(ei=ec)}return{min:en,max:ei}}function intersectData(Y,et,en){var ei=Y.boundingBox();return{cx:ei.cx,cy:ei.cy,width:ei.width,height:ei.height,bez:Y,t:(et+en)/2,t1:et,t2:en}}function splitData(Y){var et=Y.bez.split(.5);return[intersectData(et[0],Y.t1,Y.t),intersectData(et[1],Y.t,Y.t2)]}function boxIntersect(Y,et){return 2*Math.abs(Y.cx-et.cx)<Y.width+et.width&&2*Math.abs(Y.cy-et.cy)<Y.height+et.height}function intersectsImpl(Y,et,en,ei,eo,ea){if(boxIntersect(Y,et)){if(en>=ea||Y.width<=ei&&Y.height<=ei&&et.width<=ei&&et.height<=ei){eo.push([Y.t,et.t]);return}var eu=splitData(Y),ec=splitData(et);intersectsImpl(eu[0],ec[0],en+1,ei,eo,ea),intersectsImpl(eu[0],ec[1],en+1,ei,eo,ea),intersectsImpl(eu[1],ec[0],en+1,ei,eo,ea),intersectsImpl(eu[1],ec[1],en+1,ei,eo,ea)}}function crossProduct(Y,et){return[Y[1]*et[2]-Y[2]*et[1],Y[2]*et[0]-Y[0]*et[2],Y[0]*et[1]-Y[1]*et[0]]}function lineIntersection(Y,et,en,ei){var eo=[Y[0],Y[1],1],ea=[et[0],et[1],1],eu=[en[0],en[1],1],ec=[ei[0],ei[1],1],ed=crossProduct(crossProduct(eo,ea),crossProduct(eu,ec));return floatZero(ed[2])?null:[ed[0]/ed[2],ed[1]/ed[2]]}function polarOffset(Y,et,en){return[Y[0]+Math.cos(et)*en,Y[1]-Math.sin(et)*en]}function pointDistance(Y,et){return Math.hypot(Y[0]-et[0],Y[1]-et[1])}function pointEqual(Y,et){return floatEqual(Y[0],et[0])&&floatEqual(Y[1],et[1])}function ZigZagModifier(){}function setPoint(Y,et,en,ei,eo,ea,eu){var ec=en-Math.PI/2,ed=en+Math.PI/2,ef=et[0]+Math.cos(en)*ei*eo,eh=et[1]-Math.sin(en)*ei*eo;Y.setTripleAt(ef,eh,ef+Math.cos(ec)*ea,eh-Math.sin(ec)*ea,ef+Math.cos(ed)*eu,eh-Math.sin(ed)*eu,Y.length())}function getPerpendicularVector(Y,et){var en=[et[0]-Y[0],et[1]-Y[1]],ei=-(.5*Math.PI);return[Math.cos(ei)*en[0]-Math.sin(ei)*en[1],Math.sin(ei)*en[0]+Math.cos(ei)*en[1]]}function getProjectingAngle(Y,et){var en=0===et?Y.length()-1:et-1,ei=(et+1)%Y.length(),eo=getPerpendicularVector(Y.v[en],Y.v[ei]);return Math.atan2(0,1)-Math.atan2(eo[1],eo[0])}function zigZagCorner(Y,et,en,ei,eo,ea,eu){var ec=getProjectingAngle(et,en),ed=et.v[en%et._length],ef=et.v[0===en?et._length-1:en-1],eh=et.v[(en+1)%et._length],ep=2===ea?Math.sqrt(Math.pow(ed[0]-ef[0],2)+Math.pow(ed[1]-ef[1],2)):0,em=2===ea?Math.sqrt(Math.pow(ed[0]-eh[0],2)+Math.pow(ed[1]-eh[1],2)):0;setPoint(Y,et.v[en%et._length],ec,eu,ei,em/((eo+1)*2),ep/((eo+1)*2),ea)}function zigZagSegment(Y,et,en,ei,eo,ea){for(var eu=0;eu<ei;eu+=1){var ec=(eu+1)/(ei+1),ed=2===eo?Math.sqrt(Math.pow(et.points[3][0]-et.points[0][0],2)+Math.pow(et.points[3][1]-et.points[0][1],2)):0,ef=et.normalAngle(ec);setPoint(Y,et.point(ec),ef,ea,en,ed/((ei+1)*2),ed/((ei+1)*2),eo),ea=-ea}return ea}function linearOffset(Y,et,en){var ei=Math.atan2(et[0]-Y[0],et[1]-Y[1]);return[polarOffset(Y,ei,en),polarOffset(et,ei,en)]}function offsetSegment(Y,et){en=(ed=linearOffset(Y.points[0],Y.points[1],et))[0],ei=ed[1],eo=(ed=linearOffset(Y.points[1],Y.points[2],et))[0],ea=ed[1],eu=(ed=linearOffset(Y.points[2],Y.points[3],et))[0],ec=ed[1];var en,ei,eo,ea,eu,ec,ed,ef=lineIntersection(en,ei,eo,ea);null===ef&&(ef=ei);var eh=lineIntersection(eu,ec,eo,ea);return null===eh&&(eh=eu),new PolynomialBezier(en,ef,eh,ec)}function joinLines(Y,et,en,ei,eo){var ea=et.points[3],eu=en.points[0];if(3===ei||pointEqual(ea,eu))return ea;if(2===ei){var ec=-et.tangentAngle(1),ed=-en.tangentAngle(0)+Math.PI,ef=lineIntersection(ea,polarOffset(ea,ec+Math.PI/2,100),eu,polarOffset(eu,ec+Math.PI/2,100)),eh=ef?pointDistance(ef,ea):pointDistance(ea,eu)/2,ep=polarOffset(ea,ec,2*eh*roundCorner);return Y.setXYAt(ep[0],ep[1],"o",Y.length()-1),ep=polarOffset(eu,ed,2*eh*roundCorner),Y.setTripleAt(eu[0],eu[1],eu[0],eu[1],ep[0],ep[1],Y.length()),eu}var em=pointEqual(ea,et.points[2])?et.points[0]:et.points[2],eg=pointEqual(eu,en.points[1])?en.points[3]:en.points[1],ey=lineIntersection(em,ea,eu,eg);return ey&&pointDistance(ey,ea)<eo?(Y.setTripleAt(ey[0],ey[1],ey[0],ey[1],ey[0],ey[1],Y.length()),ey):ea}function getIntersection(Y,et){var en=Y.intersections(et);return(en.length&&floatEqual(en[0][0],1)&&en.shift(),en.length)?en[0]:null}function pruneSegmentIntersection(Y,et){var en=Y.slice(),ei=et.slice(),eo=getIntersection(Y[Y.length-1],et[0]);return(eo&&(en[Y.length-1]=Y[Y.length-1].split(eo[0])[0],ei[0]=et[0].split(eo[1])[1]),Y.length>1&&et.length>1&&(eo=getIntersection(Y[0],et[et.length-1])))?[[Y[0].split(eo[0])[0]],[et[et.length-1].split(eo[1])[1]]]:[en,ei]}function pruneIntersections(Y){for(var et,en=1;en<Y.length;en+=1)et=pruneSegmentIntersection(Y[en-1],Y[en]),Y[en-1]=et[0],Y[en]=et[1];return Y.length>1&&(et=pruneSegmentIntersection(Y[Y.length-1],Y[0]),Y[Y.length-1]=et[0],Y[0]=et[1]),Y}function offsetSegmentSplit(Y,et){var en,ei,eo,ea,eu=Y.inflectionPoints();if(0===eu.length)return[offsetSegment(Y,et)];if(1===eu.length||floatEqual(eu[1],1))return en=(eo=Y.split(eu[0]))[0],ei=eo[1],[offsetSegment(en,et),offsetSegment(ei,et)];en=(eo=Y.split(eu[0]))[0];var ec=(eu[1]-eu[0])/(1-eu[0]);return ea=(eo=eo[1].split(ec))[0],ei=eo[1],[offsetSegment(en,et),offsetSegment(ea,et),offsetSegment(ei,et)]}function OffsetPathModifier(){}function getFontProperties(Y){for(var et=Y.fStyle?Y.fStyle.split(" "):[],en="normal",ei="normal",eo=et.length,ea=0;ea<eo;ea+=1)switch(et[ea].toLowerCase()){case"italic":ei="italic";break;case"bold":en="700";break;case"black":en="900";break;case"medium":en="500";break;case"regular":case"normal":en="400";break;case"light":case"thin":en="200"}return{style:ei,weight:Y.fWeight||en}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(Y,et){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(Y,et.c,0,null,this),this.o=PropertyFactory.getProp(Y,et.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(Y,et.tr,this),this.so=PropertyFactory.getProp(Y,et.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(Y,et.tr.eo,0,.01,this),this.data=et,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(Y,et,en,ei,eo,ea){var eu=ea?-1:1,ec=ei.s.v[0]+(1-ei.s.v[0])*(1-eo),ed=ei.s.v[1]+(1-ei.s.v[1])*(1-eo);Y.translate(ei.p.v[0]*eu*eo,ei.p.v[1]*eu*eo,ei.p.v[2]),et.translate(-ei.a.v[0],-ei.a.v[1],ei.a.v[2]),et.rotate(-ei.r.v*eu*eo),et.translate(ei.a.v[0],ei.a.v[1],ei.a.v[2]),en.translate(-ei.a.v[0],-ei.a.v[1],ei.a.v[2]),en.scale(ea?1/ec:ec,ea?1/ed:ed),en.translate(ei.a.v[0],ei.a.v[1],ei.a.v[2])},RepeaterModifier.prototype.init=function(Y,et,en,ei){for(this.elem=Y,this.arr=et,this.pos=en,this.elemsData=ei,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(Y),this.initModifierProperties(Y,et[en]);en>0;)en-=1,this._elements.unshift(et[en]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(Y){var et,en=Y.length;for(et=0;et<en;et+=1)Y[et]._processed=!1,"gr"===Y[et].ty&&this.resetElements(Y[et].it)},RepeaterModifier.prototype.cloneElements=function(Y){var et=JSON.parse(JSON.stringify(Y));return this.resetElements(et),et},RepeaterModifier.prototype.changeGroupRender=function(Y,et){var en,ei=Y.length;for(en=0;en<ei;en+=1)Y[en]._render=et,"gr"===Y[en].ty&&this.changeGroupRender(Y[en].it,et)},RepeaterModifier.prototype.processShapes=function(Y){var et=!1;if(this._mdf||Y){var en,ei,eo,ea,eu,ec,ed,ef,eh=Math.ceil(this.c.v);if(this._groups.length<eh){for(;this._groups.length<eh;){var ep={it:this.cloneElements(this._elements),ty:"gr"};ep.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,ep),this._groups.splice(0,0,ep),this._currentCopies+=1}this.elem.reloadShapes(),et=!0}for(eo=0,eu=0;eo<=this._groups.length-1;eo+=1){if(ec=eu<eh,this._groups[eo]._render=ec,this.changeGroupRender(this._groups[eo].it,ec),!ec){var em=this.elemsData[eo].it,eg=em[em.length-1];0!==eg.transform.op.v?(eg.transform.op._mdf=!0,eg.transform.op.v=0):eg.transform.op._mdf=!1}eu+=1}this._currentCopies=eh;var ey=this.o.v,eb=ey%1,ek=ey>0?Math.floor(ey):Math.ceil(ey),ew=this.pMatrix.props,e_=this.rMatrix.props,eE=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var eC=0;if(ey>0){for(;eC<ek;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),eC+=1;eb&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,eb,!1),eC+=eb)}else if(ey<0){for(;eC>ek;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),eC-=1;eb&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-eb,!0),eC-=eb)}for(eo=1===this.data.m?0:this._currentCopies-1,ea=1===this.data.m?1:-1,eu=this._currentCopies;eu;){if(ef=(ei=(en=this.elemsData[eo].it)[en.length-1].transform.mProps.v.props).length,en[en.length-1].transform.mProps._mdf=!0,en[en.length-1].transform.op._mdf=!0,en[en.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(eo/(this._currentCopies-1)),0!==eC){for((0!==eo&&1===ea||eo!==this._currentCopies-1&&-1===ea)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(e_[0],e_[1],e_[2],e_[3],e_[4],e_[5],e_[6],e_[7],e_[8],e_[9],e_[10],e_[11],e_[12],e_[13],e_[14],e_[15]),this.matrix.transform(eE[0],eE[1],eE[2],eE[3],eE[4],eE[5],eE[6],eE[7],eE[8],eE[9],eE[10],eE[11],eE[12],eE[13],eE[14],eE[15]),this.matrix.transform(ew[0],ew[1],ew[2],ew[3],ew[4],ew[5],ew[6],ew[7],ew[8],ew[9],ew[10],ew[11],ew[12],ew[13],ew[14],ew[15]),ed=0;ed<ef;ed+=1)ei[ed]=this.matrix.props[ed];this.matrix.reset()}else for(this.matrix.reset(),ed=0;ed<ef;ed+=1)ei[ed]=this.matrix.props[ed];eC+=1,eu-=1,eo+=ea}}else for(eu=this._currentCopies,eo=0,ea=1;eu;)ei=(en=this.elemsData[eo].it)[en.length-1].transform.mProps.v.props,en[en.length-1].transform.mProps._mdf=!1,en[en.length-1].transform.op._mdf=!1,eu-=1,eo+=ea;return et},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(Y,et){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(Y,et.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(Y,et){var en,ei,eo,ea,eu,ec,ed,ef,eh,ep,em,eg,ey,eb=shapePool.newElement();eb.c=Y.c;var ek=Y._length,ew=0;for(en=0;en<ek;en+=1)ei=Y.v[en],ea=Y.o[en],eo=Y.i[en],ei[0]===ea[0]&&ei[1]===ea[1]&&ei[0]===eo[0]&&ei[1]===eo[1]?0!==en&&en!==ek-1||Y.c?(eu=0===en?Y.v[ek-1]:Y.v[en-1],ed=(ec=Math.sqrt(Math.pow(ei[0]-eu[0],2)+Math.pow(ei[1]-eu[1],2)))?Math.min(ec/2,et)/ec:0,ef=eg=ei[0]+(eu[0]-ei[0])*ed,eh=ey=ei[1]-(ei[1]-eu[1])*ed,ep=ef-(ef-ei[0])*roundCorner,em=eh-(eh-ei[1])*roundCorner,eb.setTripleAt(ef,eh,ep,em,eg,ey,ew),ew+=1,eu=en===ek-1?Y.v[0]:Y.v[en+1],ed=(ec=Math.sqrt(Math.pow(ei[0]-eu[0],2)+Math.pow(ei[1]-eu[1],2)))?Math.min(ec/2,et)/ec:0,ef=ep=ei[0]+(eu[0]-ei[0])*ed,eh=em=ei[1]+(eu[1]-ei[1])*ed,eg=ef-(ef-ei[0])*roundCorner,ey=eh-(eh-ei[1])*roundCorner,eb.setTripleAt(ef,eh,ep,em,eg,ey,ew),ew+=1):(eb.setTripleAt(ei[0],ei[1],ea[0],ea[1],eo[0],eo[1],ew),ew+=1):(eb.setTripleAt(Y.v[en][0],Y.v[en][1],Y.o[en][0],Y.o[en][1],Y.i[en][0],Y.i[en][1],ew),ew+=1);return eb},RoundCornersModifier.prototype.processShapes=function(Y){var et,en,ei,eo,ea,eu,ec=this.shapes.length,ed=this.rd.v;if(0!==ed)for(en=0;en<ec;en+=1){if(eu=(ea=this.shapes[en]).localShapeCollection,!(!ea.shape._mdf&&!this._mdf&&!Y))for(eu.releaseShapes(),ea.shape._mdf=!0,et=ea.shape.paths.shapes,eo=ea.shape.paths._length,ei=0;ei<eo;ei+=1)eu.addShape(this.processPath(et[ei],ed));ea.shape.paths=ea.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(Y){return[((this.a[0]*Y+this.b[0])*Y+this.c[0])*Y+this.d[0],((this.a[1]*Y+this.b[1])*Y+this.c[1])*Y+this.d[1]]},PolynomialBezier.prototype.derivative=function(Y){return[(3*Y*this.a[0]+2*this.b[0])*Y+this.c[0],(3*Y*this.a[1]+2*this.b[1])*Y+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(Y){var et=this.derivative(Y);return Math.atan2(et[1],et[0])},PolynomialBezier.prototype.normalAngle=function(Y){var et=this.derivative(Y);return Math.atan2(et[0],et[1])},PolynomialBezier.prototype.inflectionPoints=function(){var Y=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(Y))return[];var et=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/Y,en=et*et-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/Y;if(en<0)return[];var ei=Math.sqrt(en);return floatZero(ei)?ei>0&&ei<1?[et]:[]:[et-ei,et+ei].filter(function(Y){return Y>0&&Y<1})},PolynomialBezier.prototype.split=function(Y){if(Y<=0)return[singlePoint(this.points[0]),this];if(Y>=1)return[this,singlePoint(this.points[this.points.length-1])];var et=lerpPoint(this.points[0],this.points[1],Y),en=lerpPoint(this.points[1],this.points[2],Y),ei=lerpPoint(this.points[2],this.points[3],Y),eo=lerpPoint(et,en,Y),ea=lerpPoint(en,ei,Y),eu=lerpPoint(eo,ea,Y);return[new PolynomialBezier(this.points[0],et,eo,eu,!0),new PolynomialBezier(eu,ea,ei,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var Y=this.bounds();return{left:Y.x.min,right:Y.x.max,top:Y.y.min,bottom:Y.y.max,width:Y.x.max-Y.x.min,height:Y.y.max-Y.y.min,cx:(Y.x.max+Y.x.min)/2,cy:(Y.y.max+Y.y.min)/2}},PolynomialBezier.prototype.intersections=function(Y,et,en){void 0===et&&(et=2),void 0===en&&(en=7);var ei=[];return intersectsImpl(intersectData(this,0,1),intersectData(Y,0,1),0,et,ei,en),ei},PolynomialBezier.shapeSegment=function(Y,et){var en=(et+1)%Y.length();return new PolynomialBezier(Y.v[et],Y.o[et],Y.i[en],Y.v[en],!0)},PolynomialBezier.shapeSegmentInverted=function(Y,et){var en=(et+1)%Y.length();return new PolynomialBezier(Y.v[en],Y.i[en],Y.o[et],Y.v[et],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(Y,et){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(Y,et.s,0,null,this),this.frequency=PropertyFactory.getProp(Y,et.r,0,null,this),this.pointsType=PropertyFactory.getProp(Y,et.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(Y,et,en,ei){var eo=Y._length,ea=shapePool.newElement();if(ea.c=Y.c,Y.c||(eo-=1),0===eo)return ea;var eu=-1,ec=PolynomialBezier.shapeSegment(Y,0);zigZagCorner(ea,Y,0,et,en,ei,eu);for(var ed=0;ed<eo;ed+=1)eu=zigZagSegment(ea,ec,et,en,ei,-eu),ec=ed!==eo-1||Y.c?PolynomialBezier.shapeSegment(Y,(ed+1)%eo):null,zigZagCorner(ea,Y,ed+1,et,en,ei,eu);return ea},ZigZagModifier.prototype.processShapes=function(Y){var et,en,ei,eo,ea,eu,ec=this.shapes.length,ed=this.amplitude.v,ef=Math.max(0,Math.round(this.frequency.v)),eh=this.pointsType.v;if(0!==ed)for(en=0;en<ec;en+=1){if(eu=(ea=this.shapes[en]).localShapeCollection,!(!ea.shape._mdf&&!this._mdf&&!Y))for(eu.releaseShapes(),ea.shape._mdf=!0,et=ea.shape.paths.shapes,eo=ea.shape.paths._length,ei=0;ei<eo;ei+=1)eu.addShape(this.processPath(et[ei],ed,ef,eh));ea.shape.paths=ea.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(Y,et){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(Y,et.a,0,null,this),this.miterLimit=PropertyFactory.getProp(Y,et.ml,0,null,this),this.lineJoin=et.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(Y,et,en,ei){var eo,ea,eu,ec=shapePool.newElement();ec.c=Y.c;var ed=Y.length();Y.c||(ed-=1);var ef=[];for(eo=0;eo<ed;eo+=1)eu=PolynomialBezier.shapeSegment(Y,eo),ef.push(offsetSegmentSplit(eu,et));if(!Y.c)for(eo=ed-1;eo>=0;eo-=1)eu=PolynomialBezier.shapeSegmentInverted(Y,eo),ef.push(offsetSegmentSplit(eu,et));ef=pruneIntersections(ef);var eh=null,ep=null;for(eo=0;eo<ef.length;eo+=1){var em=ef[eo];for(ep&&(eh=joinLines(ec,ep,em[0],en,ei)),ep=em[em.length-1],ea=0;ea<em.length;ea+=1)eu=em[ea],eh&&pointEqual(eu.points[0],eh)?ec.setXYAt(eu.points[1][0],eu.points[1][1],"o",ec.length()-1):ec.setTripleAt(eu.points[0][0],eu.points[0][1],eu.points[1][0],eu.points[1][1],eu.points[0][0],eu.points[0][1],ec.length()),ec.setTripleAt(eu.points[3][0],eu.points[3][1],eu.points[3][0],eu.points[3][1],eu.points[2][0],eu.points[2][1],ec.length()),eh=eu.points[3]}return ef.length&&joinLines(ec,ep,ef[0][0],en,ei),ec},OffsetPathModifier.prototype.processShapes=function(Y){var et,en,ei,eo,ea,eu,ec=this.shapes.length,ed=this.amount.v,ef=this.miterLimit.v,eh=this.lineJoin;if(0!==ed)for(en=0;en<ec;en+=1){if(eu=(ea=this.shapes[en]).localShapeCollection,!(!ea.shape._mdf&&!this._mdf&&!Y))for(eu.releaseShapes(),ea.shape._mdf=!0,et=ea.shape.paths.shapes,eo=ea.shape.paths._length,ei=0;ei<eo;ei+=1)eu.addShape(this.processPath(et[ei],ed,eh,ef));ea.shape.paths=ea.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var Y=5e3,et={w:0,size:0,shapes:[],data:{shapes:[]}},en=[];en=en.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var ei=127988,eo=917631,ea=917601,eu=917626,ec=65039,ed=8205,ef=127462,eh=127487,ep=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function em(Y){var et,en=Y.split(","),ei=en.length,eo=[];for(et=0;et<ei;et+=1)"sans-serif"!==en[et]&&"monospace"!==en[et]&&eo.push(en[et]);return eo.join(",")}function eg(Y,et){var en=createTag("span");en.setAttribute("aria-hidden",!0),en.style.fontFamily=et;var ei=createTag("span");ei.innerText="giItT1WQy@!-/#",en.style.position="absolute",en.style.left="-10000px",en.style.top="-10000px",en.style.fontSize="300px",en.style.fontVariant="normal",en.style.fontStyle="normal",en.style.fontWeight="normal",en.style.letterSpacing="0",en.appendChild(ei),document.body.appendChild(en);var eo=ei.offsetWidth;return ei.style.fontFamily=em(Y)+", "+et,{node:ei,w:eo,parent:en}}function ey(){var et,en,ei,eo=this.fonts.length,ea=eo;for(et=0;et<eo;et+=1)this.fonts[et].loaded?ea-=1:"n"===this.fonts[et].fOrigin||0===this.fonts[et].origin?this.fonts[et].loaded=!0:(en=this.fonts[et].monoCase.node,ei=this.fonts[et].monoCase.w,en.offsetWidth!==ei?(ea-=1,this.fonts[et].loaded=!0):(en=this.fonts[et].sansCase.node,ei=this.fonts[et].sansCase.w,en.offsetWidth!==ei&&(ea-=1,this.fonts[et].loaded=!0)),this.fonts[et].loaded&&(this.fonts[et].sansCase.parent.parentNode.removeChild(this.fonts[et].sansCase.parent),this.fonts[et].monoCase.parent.parentNode.removeChild(this.fonts[et].monoCase.parent)));0!==ea&&Date.now()-this.initTime<Y?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function eb(Y,et){var en,ei=document.body&&et?"svg":"canvas",eo=getFontProperties(Y);if("svg"===ei){var ea=createNS("text");ea.style.fontSize="100px",ea.setAttribute("font-family",Y.fFamily),ea.setAttribute("font-style",eo.style),ea.setAttribute("font-weight",eo.weight),ea.textContent="1",Y.fClass?(ea.style.fontFamily="inherit",ea.setAttribute("class",Y.fClass)):ea.style.fontFamily=Y.fFamily,et.appendChild(ea),en=ea}else{var eu=new OffscreenCanvas(500,500).getContext("2d");eu.font=eo.style+" "+eo.weight+" 100px "+Y.fFamily,en=eu}return{measureText:function(Y){return"svg"===ei?(en.textContent=Y,en.getComputedTextLength()):en.measureText(Y).width}}}function ek(Y,et){if(!Y){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=Y.list;return}if(!document.body){this.isLoaded=!0,Y.list.forEach(function(Y){Y.helper=eb(Y),Y.cache={}}),this.fonts=Y.list;return}var en=Y.list,ei=en.length,eo=ei;for(ea=0;ea<ei;ea+=1){var ea,eu,ec,ed=!0;if(en[ea].loaded=!1,en[ea].monoCase=eg(en[ea].fFamily,"monospace"),en[ea].sansCase=eg(en[ea].fFamily,"sans-serif"),en[ea].fPath){if("p"===en[ea].fOrigin||3===en[ea].origin){if((eu=document.querySelectorAll('style[f-forigin="p"][f-family="'+en[ea].fFamily+'"], style[f-origin="3"][f-family="'+en[ea].fFamily+'"]')).length>0&&(ed=!1),ed){var ef=createTag("style");ef.setAttribute("f-forigin",en[ea].fOrigin),ef.setAttribute("f-origin",en[ea].origin),ef.setAttribute("f-family",en[ea].fFamily),ef.type="text/css",ef.innerText="@font-face {font-family: "+en[ea].fFamily+"; font-style: normal; src: url('"+en[ea].fPath+"');}",et.appendChild(ef)}}else if("g"===en[ea].fOrigin||1===en[ea].origin){for(ec=0,eu=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]');ec<eu.length;ec+=1)-1!==eu[ec].href.indexOf(en[ea].fPath)&&(ed=!1);if(ed){var eh=createTag("link");eh.setAttribute("f-forigin",en[ea].fOrigin),eh.setAttribute("f-origin",en[ea].origin),eh.type="text/css",eh.rel="stylesheet",eh.href=en[ea].fPath,document.body.appendChild(eh)}}else if("t"===en[ea].fOrigin||2===en[ea].origin){for(ec=0,eu=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]');ec<eu.length;ec+=1)en[ea].fPath===eu[ec].src&&(ed=!1);if(ed){var ep=createTag("link");ep.setAttribute("f-forigin",en[ea].fOrigin),ep.setAttribute("f-origin",en[ea].origin),ep.setAttribute("rel","stylesheet"),ep.setAttribute("href",en[ea].fPath),et.appendChild(ep)}}}else en[ea].loaded=!0,eo-=1;en[ea].helper=eb(en[ea],et),en[ea].cache={},this.fonts.push(en[ea])}0===eo?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function ew(Y){if(Y){this.chars||(this.chars=[]);var et,en,ei,eo=Y.length,ea=this.chars.length;for(et=0;et<eo;et+=1){for(en=0,ei=!1;en<ea;)this.chars[en].style===Y[et].style&&this.chars[en].fFamily===Y[et].fFamily&&this.chars[en].ch===Y[et].ch&&(ei=!0),en+=1;ei||(this.chars.push(Y[et]),ea+=1)}}}function e_(Y,en,ei){for(var eo=0,ea=this.chars.length;eo<ea;){if(this.chars[eo].ch===Y&&this.chars[eo].style===en&&this.chars[eo].fFamily===ei)return this.chars[eo];eo+=1}return("string"==typeof Y&&13!==Y.charCodeAt(0)||!Y)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",Y,en,ei)),et}function eE(Y,et,en){var ei=this.getFontByName(et),eo=Y;if(!ei.cache[eo]){var ea=ei.helper;if(" "===Y){var eu=ea.measureText("|"+Y+"|"),ec=ea.measureText("||");ei.cache[eo]=(eu-ec)/100}else ei.cache[eo]=ea.measureText(Y)/100}return ei.cache[eo]*en}function eC(Y){for(var et=0,en=this.fonts.length;et<en;){if(this.fonts[et].fName===Y)return this.fonts[et];et+=1}return this.fonts[0]}function eT(Y){var et=0,en=Y.charCodeAt(0);if(en>=55296&&en<=56319){var ei=Y.charCodeAt(1);ei>=56320&&ei<=57343&&(et=(en-55296)*1024+ei-56320+65536)}return et}function eS(Y,et){var en=Y.toString(16)+et.toString(16);return -1!==ep.indexOf(en)}function eA(Y){return Y===ed}function eM(Y){return Y===ec}function eP(Y){var et=eT(Y);return et>=ef&&et<=eh}function ej(Y){return eP(Y.substr(0,2))&&eP(Y.substr(2,2))}function eO(Y){return -1!==en.indexOf(Y)}function eI(Y,et){var en=eT(Y.substr(et,2));if(en!==ei)return!1;var ec=0;for(et+=2;ec<5;){if((en=eT(Y.substr(et,2)))<ea||en>eu)return!1;ec+=1,et+=2}return eT(Y.substr(et,2))===eo}function eN(){this.isLoaded=!0}var eL=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};eL.isModifier=eS,eL.isZeroWidthJoiner=eA,eL.isFlagEmoji=ej,eL.isRegionalCode=eP,eL.isCombinedCharacter=eO,eL.isRegionalFlag=eI,eL.isVariationSelector=eM,eL.BLACK_FLAG_CODE_POINT=ei;var eR={addChars:ew,addFonts:ek,getCharData:e_,getFontByName:eC,measureText:eE,checkLoadedFonts:ey,setIsLoaded:eN};return eL.prototype=eR,eL}();function SlotManager(Y){this.animationData=Y}function slotFactory(Y){return new SlotManager(Y)}function RenderableElement(){}SlotManager.prototype.getProp=function(Y){return this.animationData.slots&&this.animationData.slots[Y.sid]?Object.assign(Y,this.animationData.slots[Y.sid].p):Y},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(Y){-1===this.renderableComponents.indexOf(Y)&&this.renderableComponents.push(Y)},removeRenderableComponent:function(Y){-1!==this.renderableComponents.indexOf(Y)&&this.renderableComponents.splice(this.renderableComponents.indexOf(Y),1)},prepareRenderableFrame:function(Y){this.checkLayerLimits(Y)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(Y){this.data.ip-this.data.st<=Y&&this.data.op-this.data.st>Y?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var Y,et=this.renderableComponents.length;for(Y=0;Y<et;Y+=1)this.renderableComponents[Y].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var Y={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(et){return Y[et]||""}}();function SliderEffect(Y,et,en){this.p=PropertyFactory.getProp(et,Y.v,0,0,en)}function AngleEffect(Y,et,en){this.p=PropertyFactory.getProp(et,Y.v,0,0,en)}function ColorEffect(Y,et,en){this.p=PropertyFactory.getProp(et,Y.v,1,0,en)}function PointEffect(Y,et,en){this.p=PropertyFactory.getProp(et,Y.v,1,0,en)}function LayerIndexEffect(Y,et,en){this.p=PropertyFactory.getProp(et,Y.v,0,0,en)}function MaskIndexEffect(Y,et,en){this.p=PropertyFactory.getProp(et,Y.v,0,0,en)}function CheckboxEffect(Y,et,en){this.p=PropertyFactory.getProp(et,Y.v,0,0,en)}function NoValueEffect(){this.p={}}function EffectsManager(Y,et){var en,ei,eo=Y.ef||[];this.effectElements=[];var ea=eo.length;for(en=0;en<ea;en+=1)ei=new GroupEffect(eo[en],et),this.effectElements.push(ei)}function GroupEffect(Y,et){this.init(Y,et)}function BaseElement(){}function FrameElement(){}function FootageElement(Y,et,en){this.initFrame(),this.initRenderable(),this.assetData=et.getAssetData(Y.refId),this.footageData=et.imageLoader.getAsset(this.assetData),this.initBaseData(Y,et,en)}function AudioElement(Y,et,en){this.initFrame(),this.initRenderable(),this.assetData=et.getAssetData(Y.refId),this.initBaseData(Y,et,en),this._isPlaying=!1,this._canPlay=!1;var ei=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(ei),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=Y.tm?PropertyFactory.getProp(this,Y.tm,0,et.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,Y.au&&Y.au.lv?Y.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(Y,et){this.data=Y,this.effectElements=[],this.initDynamicPropertyContainer(et);var en,ei,eo=this.data.ef.length,ea=this.data.ef;for(en=0;en<eo;en+=1){switch(ei=null,ea[en].ty){case 0:ei=new SliderEffect(ea[en],et,this);break;case 1:ei=new AngleEffect(ea[en],et,this);break;case 2:ei=new ColorEffect(ea[en],et,this);break;case 3:ei=new PointEffect(ea[en],et,this);break;case 4:case 7:ei=new CheckboxEffect(ea[en],et,this);break;case 10:ei=new LayerIndexEffect(ea[en],et,this);break;case 11:ei=new MaskIndexEffect(ea[en],et,this);break;case 5:ei=new EffectsManager(ea[en],et,this);break;default:ei=new NoValueEffect(ea[en],et,this)}ei&&this.effectElements.push(ei)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var Y=0,et=this.data.masksProperties.length;Y<et;){if("n"!==this.data.masksProperties[Y].mode&&!1!==this.data.masksProperties[Y].cl)return!0;Y+=1}return!1},initExpressions:function(){var Y=getExpressionInterfaces();if(Y){var et=Y("layer"),en=Y("effects"),ei=Y("shape"),eo=Y("text"),ea=Y("comp");this.layerInterface=et(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var eu=en.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(eu),0===this.data.ty||this.data.xt?this.compInterface=ea(this):4===this.data.ty?(this.layerInterface.shapeInterface=ei(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=eo(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var Y=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=Y},initBaseData:function(Y,et,en){this.globalData=et,this.comp=en,this.data=Y,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(Y,et){var en,ei=this.dynamicProperties.length;for(en=0;en<ei;en+=1)(et||this._isParent&&"transform"===this.dynamicProperties[en].propType)&&(this.dynamicProperties[en].getValue(),this.dynamicProperties[en]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(Y){-1===this.dynamicProperties.indexOf(Y)&&this.dynamicProperties.push(Y)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var Y=getExpressionInterfaces();if(Y){var et=Y("footage");this.layerInterface=et(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(Y){if(this.prepareRenderableFrame(Y,!0),this.prepareProperties(Y,!0),this.tm._placeholder)this._currentTime=Y/this.data.sr;else{var et=this.tm.v;this._currentTime=et}this._volume=this.lv.v[0];var en=this._volume*this._volumeMultiplier;this._previousVolume!==en&&(this._previousVolume=en,this.audio.volume(en))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(Y){this.audio.rate(Y)},AudioElement.prototype.volume=function(Y){this._volumeMultiplier=Y,this._previousVolume=Y*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(Y){var et,en,ei=this.layers.length;for(this.completeLayers=!0,et=ei-1;et>=0;et-=1)!this.elements[et]&&(en=this.layers[et]).ip-en.st<=Y-this.layers[et].st&&en.op-en.st>Y-this.layers[et].st&&this.buildItem(et),this.completeLayers=!!this.elements[et]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(Y){switch(Y.ty){case 2:return this.createImage(Y);case 0:return this.createComp(Y);case 1:return this.createSolid(Y);case 3:default:return this.createNull(Y);case 4:return this.createShape(Y);case 5:return this.createText(Y);case 6:return this.createAudio(Y);case 13:return this.createCamera(Y);case 15:return this.createFootage(Y)}},BaseRenderer.prototype.createCamera=function(){throw Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(Y){return new AudioElement(Y,this.globalData,this)},BaseRenderer.prototype.createFootage=function(Y){return new FootageElement(Y,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var Y,et=this.layers.length;for(Y=0;Y<et;Y+=1)this.buildItem(Y);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(Y){this.completeLayers=!1;var et,en,ei=Y.length,eo=this.layers.length;for(et=0;et<ei;et+=1)for(en=0;en<eo;){if(this.layers[en].id===Y[et].id){this.layers[en]=Y[et];break}en+=1}},BaseRenderer.prototype.setProjectInterface=function(Y){this.globalData.projectInterface=Y},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(Y,et,en){for(var ei=this.elements,eo=this.layers,ea=0,eu=eo.length;ea<eu;)eo[ea].ind==et&&(ei[ea]&&!0!==ei[ea]?(en.push(ei[ea]),ei[ea].setAsParent(),void 0!==eo[ea].parent?this.buildElementParenting(Y,eo[ea].parent,en):Y.setHierarchy(en)):(this.buildItem(ea),this.addPendingElement(Y))),ea+=1},BaseRenderer.prototype.addPendingElement=function(Y){this.pendingElements.push(Y)},BaseRenderer.prototype.searchExtraCompositions=function(Y){var et,en=Y.length;for(et=0;et<en;et+=1)if(Y[et].xt){var ei=this.createComp(Y[et]);ei.initExpressions(),this.globalData.projectInterface.registerComposition(ei)}},BaseRenderer.prototype.getElementById=function(Y){var et,en=this.elements.length;for(et=0;et<en;et+=1)if(this.elements[et].data.ind===Y)return this.elements[et];return null},BaseRenderer.prototype.getElementByPath=function(Y){var et=Y.shift();if("number"==typeof et)en=this.elements[et];else{var en,ei,eo=this.elements.length;for(ei=0;ei<eo;ei+=1)if(this.elements[ei].data.nm===et){en=this.elements[ei];break}}return 0===Y.length?en:en.getElementByPath(Y)},BaseRenderer.prototype.setupGlobalData=function(Y,et){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(Y),this.globalData.fontManager.addChars(Y.chars),this.globalData.fontManager.addFonts(Y.fonts,et),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=Y.fr,this.globalData.nm=Y.nm,this.globalData.compSize={w:Y.w,h:Y.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}function MaskElement(Y,et,en){this.data=Y,this.element=et,this.globalData=en,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var ei=this.globalData.defs,eo=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(eo),this.solidPath="";var ea=this.masksProperties,eu=0,ec=[],ed=createElementID(),ef="clipPath",eh="clip-path";for(ep=0;ep<eo;ep+=1)if(("a"!==ea[ep].mode&&"n"!==ea[ep].mode||ea[ep].inv||100!==ea[ep].o.k||ea[ep].o.x)&&(ef="mask",eh="mask"),("s"===ea[ep].mode||"i"===ea[ep].mode)&&0===eu?((eb=createNS("rect")).setAttribute("fill","#ffffff"),eb.setAttribute("width",this.element.comp.data.w||0),eb.setAttribute("height",this.element.comp.data.h||0),ec.push(eb)):eb=null,em=createNS("path"),"n"===ea[ep].mode)this.viewData[ep]={op:PropertyFactory.getProp(this.element,ea[ep].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,ea[ep],3),elem:em,lastPath:""},ei.appendChild(em);else{if(eu+=1,em.setAttribute("fill","s"===ea[ep].mode?"#000000":"#ffffff"),em.setAttribute("clip-rule","nonzero"),0!==ea[ep].x.k?(ef="mask",eh="mask",e_=PropertyFactory.getProp(this.element,ea[ep].x,0,null,this.element),eE=createElementID(),(ek=createNS("filter")).setAttribute("id",eE),(ew=createNS("feMorphology")).setAttribute("operator","erode"),ew.setAttribute("in","SourceGraphic"),ew.setAttribute("radius","0"),ek.appendChild(ew),ei.appendChild(ek),em.setAttribute("stroke","s"===ea[ep].mode?"#000000":"#ffffff")):(ew=null,e_=null),this.storedData[ep]={elem:em,x:e_,expan:ew,lastPath:"",lastOperator:"",filterId:eE,lastRadius:0},"i"===ea[ep].mode){ey=ec.length;var ep,em,eg,ey,eb,ek,ew,e_,eE,eC=createNS("g");for(eg=0;eg<ey;eg+=1)eC.appendChild(ec[eg]);var eT=createNS("mask");eT.setAttribute("mask-type","alpha"),eT.setAttribute("id",ed+"_"+eu),eT.appendChild(em),ei.appendChild(eT),eC.setAttribute("mask","url("+getLocationHref()+"#"+ed+"_"+eu+")"),ec.length=0,ec.push(eC)}else ec.push(em);ea[ep].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[ep]={elem:em,lastPath:"",op:PropertyFactory.getProp(this.element,ea[ep].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,ea[ep],3),invRect:eb},this.viewData[ep].prop.k||this.drawPath(ea[ep],this.viewData[ep].prop.v,this.viewData[ep])}for(ep=0,this.maskElement=createNS(ef),eo=ec.length;ep<eo;ep+=1)this.maskElement.appendChild(ec[ep]);eu>0&&(this.maskElement.setAttribute("id",ed),this.element.maskedElement.setAttribute(eh,"url("+getLocationHref()+"#"+ed+")"),ei.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var Y=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:Y,localMat:Y,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var Y,et=this.finalTransform.mat,en=0,ei=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;en<ei;){if(this.hierarchy[en].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}en+=1}if(this.finalTransform._matMdf)for(Y=this.finalTransform.mProp.v.props,et.cloneFromProps(Y),en=0;en<ei;en+=1)et.multiply(this.hierarchy[en].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var Y=0,et=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;Y<et;)this.localTransforms[Y]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[Y]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),Y+=1;if(this.finalTransform._localMatMdf){var en=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(en),Y=1;Y<et;Y+=1){var ei=this.localTransforms[Y].matrix;en.multiply(ei)}en.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var eo=this.finalTransform.localOpacity;for(Y=0;Y<et;Y+=1)eo*=.01*this.localTransforms[Y].opacity;this.finalTransform.localOpacity=eo}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var Y=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(Y.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var et=0,en=Y.length;for(et=0;et<en;et+=1)this.localTransforms.push(Y[et])}}},globalToLocal:function(Y){var et,en,ei=[];ei.push(this.finalTransform);for(var eo=!0,ea=this.comp;eo;)ea.finalTransform?(ea.data.hasMask&&ei.splice(0,0,ea.finalTransform),ea=ea.comp):eo=!1;var eu=ei.length;for(et=0;et<eu;et+=1)en=ei[et].mat.applyToPointArray(0,0,0),Y=[Y[0]-en[0],Y[1]-en[1],0];return Y},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(Y){return this.viewData[Y].prop},MaskElement.prototype.renderFrame=function(Y){var et,en=this.element.finalTransform.mat,ei=this.masksProperties.length;for(et=0;et<ei;et+=1)if((this.viewData[et].prop._mdf||Y)&&this.drawPath(this.masksProperties[et],this.viewData[et].prop.v,this.viewData[et]),(this.viewData[et].op._mdf||Y)&&this.viewData[et].elem.setAttribute("fill-opacity",this.viewData[et].op.v),"n"!==this.masksProperties[et].mode&&(this.viewData[et].invRect&&(this.element.finalTransform.mProp._mdf||Y)&&this.viewData[et].invRect.setAttribute("transform",en.getInverseMatrix().to2dCSS()),this.storedData[et].x&&(this.storedData[et].x._mdf||Y))){var eo=this.storedData[et].expan;this.storedData[et].x.v<0?("erode"!==this.storedData[et].lastOperator&&(this.storedData[et].lastOperator="erode",this.storedData[et].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[et].filterId+")")),eo.setAttribute("radius",-this.storedData[et].x.v)):("dilate"!==this.storedData[et].lastOperator&&(this.storedData[et].lastOperator="dilate",this.storedData[et].elem.setAttribute("filter",null)),this.storedData[et].elem.setAttribute("stroke-width",2*this.storedData[et].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){return"M0,0 "+(" h"+this.globalData.compSize.w+" v"+this.globalData.compSize.h+" h-"+this.globalData.compSize.w+" v-"+this.globalData.compSize.h)+" "},MaskElement.prototype.drawPath=function(Y,et,en){var ei,eo,ea=" M"+et.v[0][0]+","+et.v[0][1];for(ei=1,eo=et._length;ei<eo;ei+=1)ea+=" C"+et.o[ei-1][0]+","+et.o[ei-1][1]+" "+et.i[ei][0]+","+et.i[ei][1]+" "+et.v[ei][0]+","+et.v[ei][1];if(et.c&&eo>1&&(ea+=" C"+et.o[ei-1][0]+","+et.o[ei-1][1]+" "+et.i[0][0]+","+et.i[0][1]+" "+et.v[0][0]+","+et.v[0][1]),en.lastPath!==ea){var eu="";en.elem&&(et.c&&(eu=Y.inv?this.solidPath+ea:ea),en.elem.setAttribute("d",eu)),en.lastPath=ea}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var Y={};function et(Y,et){var en=createNS("filter");return en.setAttribute("id",Y),!0!==et&&(en.setAttribute("filterUnits","objectBoundingBox"),en.setAttribute("x","0%"),en.setAttribute("y","0%"),en.setAttribute("width","100%"),en.setAttribute("height","100%")),en}function en(){var Y=createNS("feColorMatrix");return Y.setAttribute("type","matrix"),Y.setAttribute("color-interpolation-filters","sRGB"),Y.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),Y}return Y.createFilter=et,Y.createAlphaToLuminanceFilter=en,Y}(),featureSupport=function(){var Y={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(Y.maskType=!1),/firefox/i.test(navigator.userAgent)&&(Y.svgLumaHidden=!1),Y}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(Y){var et,en,ei="SourceGraphic",eo=Y.data.ef?Y.data.ef.length:0,ea=createElementID(),eu=filtersFactory.createFilter(ea,!0),ec=0;for(et=0,this.filters=[];et<eo;et+=1){en=null;var ed=Y.data.ef[et].ty;registeredEffects$1[ed]&&(en=new registeredEffects$1[ed].effect(eu,Y.effectsManager.effectElements[et],Y,idPrefix+ec,ei),ei=idPrefix+ec,registeredEffects$1[ed].countsAsEffect&&(ec+=1)),en&&this.filters.push(en)}ec&&(Y.globalData.defs.appendChild(eu),Y.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+ea+")")),this.filters.length&&Y.addRenderableComponent(this)}function registerEffect$1(Y,et,en){registeredEffects$1[Y]={effect:et,countsAsEffect:en}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(Y,et,en){this.assetData=et.getAssetData(Y.refId),this.assetData&&this.assetData.sid&&(this.assetData=et.slotManager.getProp(this.assetData)),this.initElement(Y,et,en),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(Y,et){this.elem=Y,this.pos=et}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(Y){var et,en=this.filters.length;for(et=0;et<en;et+=1)this.filters[et].renderFrame(Y)},SVGEffects.prototype.getEffects=function(Y){var et,en=this.filters.length,ei=[];for(et=0;et<en;et+=1)this.filters[et].type===Y&&ei.push(this.filters[et]);return ei},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var Y=null;if(this.data.td){this.matteMasks={};var et=createNS("g");et.setAttribute("id",this.layerId),et.appendChild(this.layerElement),Y=et,this.globalData.defs.appendChild(et)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),Y=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var en=createNS("clipPath"),ei=createNS("path");ei.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var eo=createElementID();if(en.setAttribute("id",eo),en.appendChild(ei),this.globalData.defs.appendChild(en),this.checkMasks()){var ea=createNS("g");ea.setAttribute("clip-path","url("+getLocationHref()+"#"+eo+")"),ea.appendChild(this.layerElement),this.transformedElement=ea,Y?Y.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+eo+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(Y){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[Y]){var et,en,ei,eo,ea=this.layerId+"_"+Y;if(1===Y||3===Y){var eu=createNS("mask");eu.setAttribute("id",ea),eu.setAttribute("mask-type",3===Y?"luminance":"alpha"),(ei=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),eu.appendChild(ei),this.globalData.defs.appendChild(eu),featureSupport.maskType||1!==Y||(eu.setAttribute("mask-type","luminance"),et=createElementID(),en=filtersFactory.createFilter(et),this.globalData.defs.appendChild(en),en.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(eo=createNS("g")).appendChild(ei),eu.appendChild(eo),eo.setAttribute("filter","url("+getLocationHref()+"#"+et+")"))}else if(2===Y){var ec=createNS("mask");ec.setAttribute("id",ea),ec.setAttribute("mask-type","alpha");var ed=createNS("g");ec.appendChild(ed),et=createElementID(),en=filtersFactory.createFilter(et);var ef=createNS("feComponentTransfer");ef.setAttribute("in","SourceGraphic"),en.appendChild(ef);var eh=createNS("feFuncA");eh.setAttribute("type","table"),eh.setAttribute("tableValues","1.0 0.0"),ef.appendChild(eh),this.globalData.defs.appendChild(en);var ep=createNS("rect");ep.setAttribute("width",this.comp.data.w),ep.setAttribute("height",this.comp.data.h),ep.setAttribute("x","0"),ep.setAttribute("y","0"),ep.setAttribute("fill","#ffffff"),ep.setAttribute("opacity","0"),ed.setAttribute("filter","url("+getLocationHref()+"#"+et+")"),ed.appendChild(ep),(ei=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),ed.appendChild(ei),featureSupport.maskType||(ec.setAttribute("mask-type","luminance"),en.appendChild(filtersFactory.createAlphaToLuminanceFilter()),eo=createNS("g"),ed.appendChild(ep),eo.appendChild(this.layerElement),ed.appendChild(eo)),this.globalData.defs.appendChild(ec)}this.matteMasks[Y]=ea}return this.matteMasks[Y]},setMatte:function(Y){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+Y+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(Y){this.hierarchy=Y},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},function(){extendPrototype([RenderableElement,createProxyFunction({initElement:function(Y,et,en){this.initFrame(),this.initBaseData(Y,et,en),this.initTransform(Y,et,en),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(Y){this._mdf=!1,this.prepareRenderableFrame(Y),this.prepareProperties(Y,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement)}(),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var Y=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",Y),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(Y){var et,en=this.shapeModifiers.length;for(et=0;et<en;et+=1)this.shapeModifiers[et].addShape(Y)},isShapeInAnimatedModifiers:function(Y){for(var et=0,en=this.shapeModifiers.length;et<en;)if(this.shapeModifiers[et].isAnimatedWithShape(Y))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var Y,et=this.shapes.length;for(Y=0;Y<et;Y+=1)this.shapes[Y].sh.reset();for(Y=(et=this.shapeModifiers.length)-1;Y>=0&&!this.shapeModifiers[Y].processShapes(this._isFirstFrame);Y-=1);}},searchProcessedElement:function(Y){for(var et=this.processedElements,en=0,ei=et.length;en<ei;){if(et[en].elem===Y)return et[en].pos;en+=1}return 0},addProcessedElement:function(Y,et){for(var en=this.processedElements,ei=en.length;ei;)if(en[ei-=1].elem===Y){en[ei].pos=et;return}en.push(new ProcessedElement(Y,et))},prepareFrame:function(Y){this.prepareRenderableFrame(Y),this.prepareProperties(Y,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(Y,et,en){this.caches=[],this.styles=[],this.transformers=Y,this.lStr="",this.sh=en,this.lvl=et,this._isAnimated=!!en.k;for(var ei=0,eo=Y.length;ei<eo;){if(Y[ei].mProps.dynamicProperties.length){this._isAnimated=!0;break}ei+=1}}function SVGStyleData(Y,et){this.data=Y,this.type=Y.ty,this.d="",this.lvl=et,this._mdf=!1,this.closed=!0===Y.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(Y,et,en,ei){this.elem=Y,this.frameId=-1,this.dataProps=createSizedArray(et.length),this.renderer=en,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",et.length?et.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(ei);var eo,ea,eu=et.length||0;for(eo=0;eo<eu;eo+=1)ea=PropertyFactory.getProp(Y,et[eo].v,0,0,this),this.k=ea.k||this.k,this.dataProps[eo]={n:et[eo].n,p:ea};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(Y,et,en){this.initDynamicPropertyContainer(Y),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(Y,et.o,0,.01,this),this.w=PropertyFactory.getProp(Y,et.w,0,null,this),this.d=new DashProperty(Y,et.d||{},"svg",this),this.c=PropertyFactory.getProp(Y,et.c,1,255,this),this.style=en,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(Y,et,en){this.initDynamicPropertyContainer(Y),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(Y,et.o,0,.01,this),this.c=PropertyFactory.getProp(Y,et.c,1,255,this),this.style=en}function SVGNoStyleData(Y,et,en){this.initDynamicPropertyContainer(Y),this.getValue=this.iterateDynamicProperties,this.style=en}function GradientProperty(Y,et,en){this.data=et,this.c=createTypedArray("uint8c",4*et.p);var ei=et.k.k[0].s?et.k.k[0].s.length-4*et.p:et.k.k.length-4*et.p;this.o=createTypedArray("float32",ei),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=ei,this.initDynamicPropertyContainer(en),this.prop=PropertyFactory.getProp(Y,et.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(Y,et,en){this.initDynamicPropertyContainer(Y),this.getValue=this.iterateDynamicProperties,this.initGradientData(Y,et,en)}function SVGGradientStrokeStyleData(Y,et,en){this.initDynamicPropertyContainer(Y),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(Y,et.w,0,null,this),this.d=new DashProperty(Y,et.d||{},"svg",this),this.initGradientData(Y,et,en),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(Y,et,en){this.transform={mProps:Y,op:et,container:en},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(Y){if((this.elem.globalData.frameId!==this.frameId||Y)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||Y,this._mdf)){var et=0,en=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),et=0;et<en;et+=1)"o"!==this.dataProps[et].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[et].p.v:this.dashArray[et]=this.dataProps[et].p.v:this.dashoffset[0]=this.dataProps[et].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(Y,et){for(var en=0,ei=this.o.length/2;en<ei;){if(Math.abs(Y[4*en]-Y[4*et+2*en])>.01)return!1;en+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var Y=0,et=this.data.k.k.length;Y<et;){if(!this.comparePoints(this.data.k.k[Y].s,this.data.p))return!1;Y+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(Y){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||Y){var et,en,ei,eo=4*this.data.p;for(et=0;et<eo;et+=1)en=et%4==0?100:255,ei=Math.round(this.prop.v[et]*en),this.c[et]!==ei&&(this.c[et]=ei,this._cmdf=!Y);if(this.o.length)for(eo=this.prop.v.length,et=4*this.data.p;et<eo;et+=1)en=et%2==0?100:1,ei=et%2==0?Math.round(100*this.prop.v[et]):this.prop.v[et],this.o[et-4*this.data.p]!==ei&&(this.o[et-4*this.data.p]=ei,this._omdf=!Y);this._mdf=!Y}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(Y,et,en){this.o=PropertyFactory.getProp(Y,et.o,0,.01,this),this.s=PropertyFactory.getProp(Y,et.s,1,null,this),this.e=PropertyFactory.getProp(Y,et.e,1,null,this),this.h=PropertyFactory.getProp(Y,et.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(Y,et.a||{k:0},0,degToRads,this),this.g=new GradientProperty(Y,et.g,this),this.style=en,this.stops=[],this.setGradientData(en.pElem,et),this.setGradientOpacity(et,en),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(Y,et){var en,ei,eo,ea=createElementID(),eu=createNS(1===et.t?"linearGradient":"radialGradient");eu.setAttribute("id",ea),eu.setAttribute("spreadMethod","pad"),eu.setAttribute("gradientUnits","userSpaceOnUse");var ec=[];for(ei=0,eo=4*et.g.p;ei<eo;ei+=4)en=createNS("stop"),eu.appendChild(en),ec.push(en);Y.setAttribute("gf"===et.ty?"fill":"stroke","url("+getLocationHref()+"#"+ea+")"),this.gf=eu,this.cst=ec},SVGGradientFillStyleData.prototype.setGradientOpacity=function(Y,et){if(this.g._hasOpacity&&!this.g._collapsable){var en,ei,eo,ea=createNS("mask"),eu=createNS("path");ea.appendChild(eu);var ec=createElementID(),ed=createElementID();ea.setAttribute("id",ed);var ef=createNS(1===Y.t?"linearGradient":"radialGradient");ef.setAttribute("id",ec),ef.setAttribute("spreadMethod","pad"),ef.setAttribute("gradientUnits","userSpaceOnUse"),eo=Y.g.k.k[0].s?Y.g.k.k[0].s.length:Y.g.k.k.length;var eh=this.stops;for(ei=4*Y.g.p;ei<eo;ei+=2)(en=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),ef.appendChild(en),eh.push(en);eu.setAttribute("gf"===Y.ty?"fill":"stroke","url("+getLocationHref()+"#"+ec+")"),"gs"===Y.ty&&(eu.setAttribute("stroke-linecap",lineCapEnum[Y.lc||2]),eu.setAttribute("stroke-linejoin",lineJoinEnum[Y.lj||2]),1===Y.lj&&eu.setAttribute("stroke-miterlimit",Y.ml)),this.of=ef,this.ms=ea,this.ost=eh,this.maskId=ed,et.msElem=eu}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(Y,et,en,ei){if(0===et)return"";var eo,ea=Y.o,eu=Y.i,ec=Y.v,ed=" M"+ei.applyToPointStringified(ec[0][0],ec[0][1]);for(eo=1;eo<et;eo+=1)ed+=" C"+ei.applyToPointStringified(ea[eo-1][0],ea[eo-1][1])+" "+ei.applyToPointStringified(eu[eo][0],eu[eo][1])+" "+ei.applyToPointStringified(ec[eo][0],ec[eo][1]);return en&&et&&(ed+=" C"+ei.applyToPointStringified(ea[eo-1][0],ea[eo-1][1])+" "+ei.applyToPointStringified(eu[0][0],eu[0][1])+" "+ei.applyToPointStringified(ec[0][0],ec[0][1])+"z"),ed},SVGElementsRenderer=function(){var Y=new Matrix,et=new Matrix;function en(Y,et,en){(en||et.transform.op._mdf)&&et.transform.container.setAttribute("opacity",et.transform.op.v),(en||et.transform.mProps._mdf)&&et.transform.container.setAttribute("transform",et.transform.mProps.v.to2dCSS())}function ei(){}function eo(en,ei,eo){var ea,eu,ec,ed,ef,eh,ep,em,eg,ey,eb=ei.styles.length,ek=ei.lvl;for(eh=0;eh<eb;eh+=1){if(ed=ei.sh._mdf||eo,ei.styles[eh].lvl<ek){for(em=et.reset(),eg=ek-ei.styles[eh].lvl,ey=ei.transformers.length-1;!ed&&eg>0;)ed=ei.transformers[ey].mProps._mdf||ed,eg-=1,ey-=1;if(ed)for(eg=ek-ei.styles[eh].lvl,ey=ei.transformers.length-1;eg>0;)em.multiply(ei.transformers[ey].mProps.v),eg-=1,ey-=1}else em=Y;if(eu=(ep=ei.sh.paths)._length,ed){for(ea=0,ec="";ea<eu;ea+=1)(ef=ep.shapes[ea])&&ef._length&&(ec+=buildShapeString(ef,ef._length,ef.c,em));ei.caches[eh]=ec}else ec=ei.caches[eh];ei.styles[eh].d+=!0===en.hd?"":ec,ei.styles[eh]._mdf=ed||ei.styles[eh]._mdf}}function ea(Y,et,en){var ei=et.style;(et.c._mdf||en)&&ei.pElem.setAttribute("fill","rgb("+bmFloor(et.c.v[0])+","+bmFloor(et.c.v[1])+","+bmFloor(et.c.v[2])+")"),(et.o._mdf||en)&&ei.pElem.setAttribute("fill-opacity",et.o.v)}function eu(Y,et,en){ec(Y,et,en),ed(Y,et,en)}function ec(Y,et,en){var ei,eo,ea,eu,ec,ed=et.gf,ef=et.g._hasOpacity,eh=et.s.v,ep=et.e.v;if(et.o._mdf||en){var em="gf"===Y.ty?"fill-opacity":"stroke-opacity";et.style.pElem.setAttribute(em,et.o.v)}if(et.s._mdf||en){var eg=1===Y.t?"x1":"cx",ey="x1"===eg?"y1":"cy";ed.setAttribute(eg,eh[0]),ed.setAttribute(ey,eh[1]),ef&&!et.g._collapsable&&(et.of.setAttribute(eg,eh[0]),et.of.setAttribute(ey,eh[1]))}if(et.g._cmdf||en){ei=et.cst;var eb=et.g.c;for(eo=0,ea=ei.length;eo<ea;eo+=1)(eu=ei[eo]).setAttribute("offset",eb[4*eo]+"%"),eu.setAttribute("stop-color","rgb("+eb[4*eo+1]+","+eb[4*eo+2]+","+eb[4*eo+3]+")")}if(ef&&(et.g._omdf||en)){var ek=et.g.o;for(eo=0,ea=(ei=et.g._collapsable?et.cst:et.ost).length;eo<ea;eo+=1)eu=ei[eo],et.g._collapsable||eu.setAttribute("offset",ek[2*eo]+"%"),eu.setAttribute("stop-opacity",ek[2*eo+1])}if(1===Y.t)(et.e._mdf||en)&&(ed.setAttribute("x2",ep[0]),ed.setAttribute("y2",ep[1]),ef&&!et.g._collapsable&&(et.of.setAttribute("x2",ep[0]),et.of.setAttribute("y2",ep[1])));else if((et.s._mdf||et.e._mdf||en)&&(ec=Math.sqrt(Math.pow(eh[0]-ep[0],2)+Math.pow(eh[1]-ep[1],2)),ed.setAttribute("r",ec),ef&&!et.g._collapsable&&et.of.setAttribute("r",ec)),et.e._mdf||et.h._mdf||et.a._mdf||en){ec||(ec=Math.sqrt(Math.pow(eh[0]-ep[0],2)+Math.pow(eh[1]-ep[1],2)));var ew=Math.atan2(ep[1]-eh[1],ep[0]-eh[0]),e_=et.h.v;e_>=1?e_=.99:e_<=-1&&(e_=-.99);var eE=ec*e_,eC=Math.cos(ew+et.a.v)*eE+eh[0],eT=Math.sin(ew+et.a.v)*eE+eh[1];ed.setAttribute("fx",eC),ed.setAttribute("fy",eT),ef&&!et.g._collapsable&&(et.of.setAttribute("fx",eC),et.of.setAttribute("fy",eT))}}function ed(Y,et,en){var ei=et.style,eo=et.d;eo&&(eo._mdf||en)&&eo.dashStr&&(ei.pElem.setAttribute("stroke-dasharray",eo.dashStr),ei.pElem.setAttribute("stroke-dashoffset",eo.dashoffset[0])),et.c&&(et.c._mdf||en)&&ei.pElem.setAttribute("stroke","rgb("+bmFloor(et.c.v[0])+","+bmFloor(et.c.v[1])+","+bmFloor(et.c.v[2])+")"),(et.o._mdf||en)&&ei.pElem.setAttribute("stroke-opacity",et.o.v),(et.w._mdf||en)&&(ei.pElem.setAttribute("stroke-width",et.w.v),ei.msElem&&ei.msElem.setAttribute("stroke-width",et.w.v))}return{createRenderFunction:function(Y){switch(Y.ty){case"fl":return ea;case"gf":return ec;case"gs":return eu;case"st":return ed;case"sh":case"el":case"rc":case"sr":return eo;case"tr":return en;case"no":return ei;default:return null}}}}();function SVGShapeElement(Y,et,en){this.shapes=[],this.shapesData=Y.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(Y,et,en),this.prevViewData=[]}function LetterProps(Y,et,en,ei,eo,ea){this.o=Y,this.sw=et,this.sc=en,this.fc=ei,this.m=eo,this.p=ea,this._mdf={o:!0,sw:!!et,sc:!!en,fc:!!ei,m:!0,p:!0}}function TextProperty(Y,et){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,et.d&&et.d.sid&&(et.d=Y.globalData.slotManager.getProp(et.d)),this.data=et,this.elem=Y,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var Y,et,en,ei,eo=this.shapes.length,ea=this.stylesList.length,eu=[],ec=!1;for(en=0;en<ea;en+=1){for(Y=0,ei=this.stylesList[en],ec=!1,eu.length=0;Y<eo;Y+=1)-1!==(et=this.shapes[Y]).styles.indexOf(ei)&&(eu.push(et),ec=et._isAnimated||ec);eu.length>1&&ec&&this.setShapesAsAnimated(eu)}},SVGShapeElement.prototype.setShapesAsAnimated=function(Y){var et,en=Y.length;for(et=0;et<en;et+=1)Y[et].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(Y,et){var en,ei=new SVGStyleData(Y,et),eo=ei.pElem;return"st"===Y.ty?en=new SVGStrokeStyleData(this,Y,ei):"fl"===Y.ty?en=new SVGFillStyleData(this,Y,ei):"gf"===Y.ty||"gs"===Y.ty?(en=new("gf"===Y.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,Y,ei),this.globalData.defs.appendChild(en.gf),en.maskId&&(this.globalData.defs.appendChild(en.ms),this.globalData.defs.appendChild(en.of),eo.setAttribute("mask","url("+getLocationHref()+"#"+en.maskId+")"))):"no"===Y.ty&&(en=new SVGNoStyleData(this,Y,ei)),("st"===Y.ty||"gs"===Y.ty)&&(eo.setAttribute("stroke-linecap",lineCapEnum[Y.lc||2]),eo.setAttribute("stroke-linejoin",lineJoinEnum[Y.lj||2]),eo.setAttribute("fill-opacity","0"),1===Y.lj&&eo.setAttribute("stroke-miterlimit",Y.ml)),2===Y.r&&eo.setAttribute("fill-rule","evenodd"),Y.ln&&eo.setAttribute("id",Y.ln),Y.cl&&eo.setAttribute("class",Y.cl),Y.bm&&(eo.style["mix-blend-mode"]=getBlendMode(Y.bm)),this.stylesList.push(ei),this.addToAnimatedContents(Y,en),en},SVGShapeElement.prototype.createGroupElement=function(Y){var et=new ShapeGroupData;return Y.ln&&et.gr.setAttribute("id",Y.ln),Y.cl&&et.gr.setAttribute("class",Y.cl),Y.bm&&(et.gr.style["mix-blend-mode"]=getBlendMode(Y.bm)),et},SVGShapeElement.prototype.createTransformElement=function(Y,et){var en=TransformPropertyFactory.getTransformProperty(this,Y,this),ei=new SVGTransformData(en,en.o,et);return this.addToAnimatedContents(Y,ei),ei},SVGShapeElement.prototype.createShapeElement=function(Y,et,en){var ei=4;"rc"===Y.ty?ei=5:"el"===Y.ty?ei=6:"sr"===Y.ty&&(ei=7);var eo=ShapePropertyFactory.getShapeProp(this,Y,ei,this),ea=new SVGShapeData(et,en,eo);return this.shapes.push(ea),this.addShapeToModifiers(ea),this.addToAnimatedContents(Y,ea),ea},SVGShapeElement.prototype.addToAnimatedContents=function(Y,et){for(var en=0,ei=this.animatedContents.length;en<ei;){if(this.animatedContents[en].element===et)return;en+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(Y),element:et,data:Y})},SVGShapeElement.prototype.setElementStyles=function(Y){var et,en=Y.styles,ei=this.stylesList.length;for(et=0;et<ei;et+=1)this.stylesList[et].closed||en.push(this.stylesList[et])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var Y,et=this.itemsData.length;for(Y=0;Y<et;Y+=1)this.prevViewData[Y]=this.itemsData[Y];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),et=this.dynamicProperties.length,Y=0;Y<et;Y+=1)this.dynamicProperties[Y].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(Y,et,en,ei,eo,ea,eu){var ec,ed,ef,eh,ep,em,eg=[].concat(ea),ey=Y.length-1,eb=[],ek=[];for(ec=ey;ec>=0;ec-=1){if((em=this.searchProcessedElement(Y[ec]))?et[ec]=en[em-1]:Y[ec]._render=eu,"fl"===Y[ec].ty||"st"===Y[ec].ty||"gf"===Y[ec].ty||"gs"===Y[ec].ty||"no"===Y[ec].ty)em?et[ec].style.closed=!1:et[ec]=this.createStyleElement(Y[ec],eo),Y[ec]._render&&et[ec].style.pElem.parentNode!==ei&&ei.appendChild(et[ec].style.pElem),eb.push(et[ec].style);else if("gr"===Y[ec].ty){if(em)for(ed=0,ef=et[ec].it.length;ed<ef;ed+=1)et[ec].prevViewData[ed]=et[ec].it[ed];else et[ec]=this.createGroupElement(Y[ec]);this.searchShapes(Y[ec].it,et[ec].it,et[ec].prevViewData,et[ec].gr,eo+1,eg,eu),Y[ec]._render&&et[ec].gr.parentNode!==ei&&ei.appendChild(et[ec].gr)}else"tr"===Y[ec].ty?(em||(et[ec]=this.createTransformElement(Y[ec],ei)),eh=et[ec].transform,eg.push(eh)):"sh"===Y[ec].ty||"rc"===Y[ec].ty||"el"===Y[ec].ty||"sr"===Y[ec].ty?(em||(et[ec]=this.createShapeElement(Y[ec],eg,eo)),this.setElementStyles(et[ec])):"tm"===Y[ec].ty||"rd"===Y[ec].ty||"ms"===Y[ec].ty||"pb"===Y[ec].ty||"zz"===Y[ec].ty||"op"===Y[ec].ty?(em?(ep=et[ec]).closed=!1:((ep=ShapeModifiers.getModifier(Y[ec].ty)).init(this,Y[ec]),et[ec]=ep,this.shapeModifiers.push(ep)),ek.push(ep)):"rp"===Y[ec].ty&&(em?(ep=et[ec]).closed=!0:(ep=ShapeModifiers.getModifier(Y[ec].ty),et[ec]=ep,ep.init(this,Y,ec,et),this.shapeModifiers.push(ep),eu=!1),ek.push(ep));this.addProcessedElement(Y[ec],ec+1)}for(ec=0,ey=eb.length;ec<ey;ec+=1)eb[ec].closed=!0;for(ec=0,ey=ek.length;ec<ey;ec+=1)ek[ec].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var Y,et=this.stylesList.length;for(Y=0;Y<et;Y+=1)this.stylesList[Y].reset();for(this.renderShape(),Y=0;Y<et;Y+=1)(this.stylesList[Y]._mdf||this._isFirstFrame)&&(this.stylesList[Y].msElem&&(this.stylesList[Y].msElem.setAttribute("d",this.stylesList[Y].d),this.stylesList[Y].d="M0 0"+this.stylesList[Y].d),this.stylesList[Y].pElem.setAttribute("d",this.stylesList[Y].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var Y,et,en=this.animatedContents.length;for(Y=0;Y<en;Y+=1)et=this.animatedContents[Y],(this._isFirstFrame||et.element._isAnimated)&&!0!==et.data&&et.fn(et.data,et.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(Y,et,en,ei,eo,ea){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var eu=!1;return this.o!==Y&&(this.o=Y,this._mdf.o=!0,eu=!0),this.sw!==et&&(this.sw=et,this._mdf.sw=!0,eu=!0),this.sc!==en&&(this.sc=en,this._mdf.sc=!0,eu=!0),this.fc!==ei&&(this.fc=ei,this._mdf.fc=!0,eu=!0),this.m!==eo&&(this.m=eo,this._mdf.m=!0,eu=!0),ea.length&&(this.p[0]!==ea[0]||this.p[1]!==ea[1]||this.p[4]!==ea[4]||this.p[5]!==ea[5]||this.p[12]!==ea[12]||this.p[13]!==ea[13])&&(this.p=ea,this._mdf.p=!0,eu=!0),eu},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en]);return Y},TextProperty.prototype.setCurrentData=function(Y){Y.__complete||this.completeTextData(Y),this.currentData=Y,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(Y){this.effectsSequence.push(Y),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(Y){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||Y){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var et,en=this.currentData,ei=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var eo=this.effectsSequence.length,ea=Y||this.data.d.k[this.keysIndex].s;for(et=0;et<eo;et+=1)ea=ei!==this.keysIndex?this.effectsSequence[et](ea,ea.t):this.effectsSequence[et](this.currentData,ea.t);en!==ea&&this.setCurrentData(ea),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var Y=this.data.d.k,et=this.elem.comp.renderedFrame,en=0,ei=Y.length;en<=ei-1&&en!==ei-1&&!(Y[en+1].t>et);)en+=1;return this.keysIndex!==en&&(this.keysIndex=en),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(Y){for(var et,en,ei=[],eo=0,ea=Y.length,eu=!1,ec=!1,ed="";eo<ea;)eu=ec,ec=!1,et=Y.charCodeAt(eo),ed=Y.charAt(eo),FontManager.isCombinedCharacter(et)?eu=!0:et>=55296&&et<=56319?FontManager.isRegionalFlag(Y,eo)?ed=Y.substr(eo,14):(en=Y.charCodeAt(eo+1))>=56320&&en<=57343&&(FontManager.isModifier(et,en)?(ed=Y.substr(eo,2),eu=!0):ed=FontManager.isFlagEmoji(Y.substr(eo,4))?Y.substr(eo,4):Y.substr(eo,2)):et>56319?(en=Y.charCodeAt(eo+1),FontManager.isVariationSelector(et)&&(eu=!0)):FontManager.isZeroWidthJoiner(et)&&(eu=!0,ec=!0),eu?(ei[ei.length-1]+=ed,eu=!1):ei.push(ed),eo+=ed.length;return ei},TextProperty.prototype.completeTextData=function(Y){Y.__complete=!0;var et=this.elem.globalData.fontManager,en=this.data,ei=[],eo=0,ea=en.m.g,eu=0,ec=0,ed=0,ef=[],eh=0,ep=0,em=et.getFontByName(Y.f),eg=0,ey=getFontProperties(em);Y.fWeight=ey.weight,Y.fStyle=ey.style,Y.finalSize=Y.s,Y.finalText=this.buildFinalText(Y.t),ew=Y.finalText.length,Y.finalLineHeight=Y.lh;var eb=Y.tr/1e3*Y.finalSize;if(Y.sz)for(var ek,ew,e_,eE,eC,eT,eS,eA,eM,eP,ej=!0,eO=Y.sz[0],eI=Y.sz[1];ej;){eP=this.buildFinalText(Y.t),eM=0,eh=0,ew=eP.length,eb=Y.tr/1e3*Y.finalSize;var eN=-1;for(ek=0;ek<ew;ek+=1)eA=eP[ek].charCodeAt(0),e_=!1," "===eP[ek]?eN=ek:(13===eA||3===eA)&&(eh=0,e_=!0,eM+=Y.finalLineHeight||1.2*Y.finalSize),et.chars?(eS=et.getCharData(eP[ek],em.fStyle,em.fFamily),eg=e_?0:eS.w*Y.finalSize/100):eg=et.measureText(eP[ek],Y.f,Y.finalSize),eh+eg>eO&&" "!==eP[ek]?(-1===eN?ew+=1:ek=eN,eM+=Y.finalLineHeight||1.2*Y.finalSize,eP.splice(ek,eN===ek?1:0,"\r"),eN=-1,eh=0):eh+=eg+eb;eM+=em.ascent*Y.finalSize/100,this.canResize&&Y.finalSize>this.minimumFontSize&&eI<eM?(Y.finalSize-=1,Y.finalLineHeight=Y.finalSize*Y.lh/Y.s):(Y.finalText=eP,ew=Y.finalText.length,ej=!1)}eh=-eb,eg=0;var eL=0;for(ek=0;ek<ew;ek+=1)if(e_=!1,13===(eA=(eF=Y.finalText[ek]).charCodeAt(0))||3===eA?(eL=0,ef.push(eh),ep=eh>ep?eh:ep,eh=-2*eb,eE="",e_=!0,ed+=1):eE=eF,et.chars?(eS=et.getCharData(eF,em.fStyle,et.getFontByName(Y.f).fFamily),eg=e_?0:eS.w*Y.finalSize/100):eg=et.measureText(eE,Y.f,Y.finalSize)," "===eF?eL+=eg+eb:(eh+=eg+eb+eL,eL=0),ei.push({l:eg,an:eg,add:eu,n:e_,anIndexes:[],val:eE,line:ed,animatorJustifyOffset:0}),2==ea){if(eu+=eg,""===eE||" "===eE||ek===ew-1){for((""===eE||" "===eE)&&(eu-=eg);ec<=ek;)ei[ec].an=eu,ei[ec].ind=eo,ei[ec].extra=eg,ec+=1;eo+=1,eu=0}}else if(3==ea){if(eu+=eg,""===eE||ek===ew-1){for(""===eE&&(eu-=eg);ec<=ek;)ei[ec].an=eu,ei[ec].ind=eo,ei[ec].extra=eg,ec+=1;eu=0,eo+=1}}else ei[eo].ind=eo,ei[eo].extra=0,eo+=1;if(Y.l=ei,ep=eh>ep?eh:ep,ef.push(eh),Y.sz)Y.boxWidth=Y.sz[0],Y.justifyOffset=0;else switch(Y.boxWidth=ep,Y.j){case 1:Y.justifyOffset=-Y.boxWidth;break;case 2:Y.justifyOffset=-Y.boxWidth/2;break;default:Y.justifyOffset=0}Y.lineWidths=ef;var eR=en.a;eT=eR.length;var eD=[];for(eC=0;eC<eT;eC+=1){for((eB=eR[eC]).a.sc&&(Y.strokeColorAnim=!0),eB.a.sw&&(Y.strokeWidthAnim=!0),(eB.a.fc||eB.a.fh||eB.a.fs||eB.a.fb)&&(Y.fillColorAnim=!0),eH=0,eU=eB.s.b,ek=0;ek<ew;ek+=1)(ez=ei[ek]).anIndexes[eC]=eH,(1==eU&&""!==ez.val||2==eU&&""!==ez.val&&" "!==ez.val||3==eU&&(ez.n||" "==ez.val||ek==ew-1)||4==eU&&(ez.n||ek==ew-1))&&(1===eB.s.rn&&eD.push(eH),eH+=1);en.a[eC].s.totalChars=eH;var eF,eB,ez,eU,eH,eG,eV=-1;if(1===eB.s.rn)for(ek=0;ek<ew;ek+=1)eV!=(ez=ei[ek]).anIndexes[eC]&&(eV=ez.anIndexes[eC],eG=eD.splice(Math.floor(Math.random()*eD.length),1)[0]),ez.anIndexes[eC]=eG}Y.yOffset=Y.finalLineHeight||1.2*Y.finalSize,Y.ls=Y.ls||0,Y.ascent=em.ascent*Y.finalSize/100},TextProperty.prototype.updateDocumentData=function(Y,et){et=void 0===et?this.keysIndex:et;var en=this.copyData({},this.data.d.k[et].s);en=this.copyData(en,Y),this.data.d.k[et].s=en,this.recalculate(et),this.setCurrentData(en),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(Y){var et=this.data.d.k[Y].s;et.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(et)},TextProperty.prototype.canResizeFont=function(Y){this.canResize=Y,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(Y){this.minimumFontSize=Math.floor(Y)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var Y=Math.max,et=Math.min,en=Math.floor;function ei(Y,et){this._currentTextLength=-1,this.k=!1,this.data=et,this.elem=Y,this.comp=Y.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(Y),this.s=PropertyFactory.getProp(Y,et.s||{k:0},0,0,this),"e"in et?this.e=PropertyFactory.getProp(Y,et.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(Y,et.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(Y,et.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(Y,et.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(Y,et.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(Y,et.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return ei.prototype={getMult:function(ei){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var eo=0,ea=0,eu=1,ec=1;this.ne.v>0?eo=this.ne.v/100:ea=-this.ne.v/100,this.xe.v>0?eu=1-this.xe.v/100:ec=1+this.xe.v/100;var ed=BezierFactory.getBezierEasing(eo,ea,eu,ec).get,ef=0,eh=this.finalS,ep=this.finalE,em=this.data.sh;if(2===em)ef=ed(ef=ep===eh?ei>=ep?1:0:Y(0,et(.5/(ep-eh)+(ei-eh)/(ep-eh),1)));else if(3===em)ef=ed(ef=ep===eh?ei>=ep?0:1:1-Y(0,et(.5/(ep-eh)+(ei-eh)/(ep-eh),1)));else if(4===em)ep===eh?ef=0:(ef=Y(0,et(.5/(ep-eh)+(ei-eh)/(ep-eh),1)))<.5?ef*=2:ef=1-2*(ef-.5),ef=ed(ef);else if(5===em){if(ep===eh)ef=0;else{var eg=ep-eh,ey=-eg/2+(ei=et(Y(0,ei+.5-eh),ep-eh)),eb=eg/2;ef=Math.sqrt(1-ey*ey/(eb*eb))}ef=ed(ef)}else 6===em?ef=ed(ef=ep===eh?0:(1+Math.cos(Math.PI+2*Math.PI*(ei=et(Y(0,ei+.5-eh),ep-eh))/(ep-eh)))/2):(ei>=en(eh)&&(ef=ei-eh<0?Y(0,et(et(ep,1)-(eh-ei),1)):Y(0,et(ep-ei,1))),ef=ed(ef));if(100!==this.sm.v){var ek=.01*this.sm.v;0===ek&&(ek=1e-8);var ew=.5-.5*ek;ef<ew?ef=0:(ef=(ef-ew)/ek)>1&&(ef=1)}return ef*this.a.v},getValue:function(Y){this.iterateDynamicProperties(),this._mdf=Y||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,Y&&2===this.data.r&&(this.e.v=this._currentTextLength);var et=2===this.data.r?1:100/this.data.totalChars,en=this.o.v/et,ei=this.s.v/et+en,eo=this.e.v/et+en;if(ei>eo){var ea=ei;ei=eo,eo=ea}this.finalS=ei,this.finalE=eo}},extendPrototype([DynamicPropertyContainer],ei),{getTextSelectorProp:function(Y,et,en){return new ei(Y,et,en)}}}();function TextAnimatorDataProperty(Y,et,en){var ei={propType:!1},eo=PropertyFactory.getProp,ea=et.a;this.a={r:ea.r?eo(Y,ea.r,0,degToRads,en):ei,rx:ea.rx?eo(Y,ea.rx,0,degToRads,en):ei,ry:ea.ry?eo(Y,ea.ry,0,degToRads,en):ei,sk:ea.sk?eo(Y,ea.sk,0,degToRads,en):ei,sa:ea.sa?eo(Y,ea.sa,0,degToRads,en):ei,s:ea.s?eo(Y,ea.s,1,.01,en):ei,a:ea.a?eo(Y,ea.a,1,0,en):ei,o:ea.o?eo(Y,ea.o,0,.01,en):ei,p:ea.p?eo(Y,ea.p,1,0,en):ei,sw:ea.sw?eo(Y,ea.sw,0,0,en):ei,sc:ea.sc?eo(Y,ea.sc,1,0,en):ei,fc:ea.fc?eo(Y,ea.fc,1,0,en):ei,fh:ea.fh?eo(Y,ea.fh,0,0,en):ei,fs:ea.fs?eo(Y,ea.fs,0,.01,en):ei,fb:ea.fb?eo(Y,ea.fb,0,.01,en):ei,t:ea.t?eo(Y,ea.t,0,0,en):ei},this.s=TextSelectorProp.getTextSelectorProp(Y,et.s,en),this.s.t=et.s.t}function TextAnimatorProperty(Y,et,en){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=Y,this._renderType=et,this._elem=en,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(en)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var Y,et,en=this._textData.a.length,ei=PropertyFactory.getProp;for(Y=0;Y<en;Y+=1)et=this._textData.a[Y],this._animatorsData[Y]=new TextAnimatorDataProperty(this._elem,et,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:ei(this._elem,this._textData.p.a,0,0,this),f:ei(this._elem,this._textData.p.f,0,0,this),l:ei(this._elem,this._textData.p.l,0,0,this),r:ei(this._elem,this._textData.p.r,0,0,this),p:ei(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=ei(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(Y,et){if(this.lettersChangedFlag=et,this._mdf||this._isFirstFrame||et||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var en,ei,eo,ea,eu,ec,ed,ef,eh,ep,em,eg,ey,eb,ek,ew,e_,eE,eC=this._moreOptions.alignment.v,eT=this._animatorsData,eS=this._textData,eA=this.mHelper,eM=this._renderType,eP=this.renderedLetters.length,ej=Y.l;if(this._hasMaskedPath){if(eY=this._pathData.m,!this._pathData.n||this._pathData._mdf){var eO,eI,eN,eL,eR,eD,eF,eB,ez,eU,eH,eG,eV,eW,eZ,eK,e$,eY,eQ,eX=eY.v;for(this._pathData.r.v&&(eX=eX.reverse()),eR={tLength:0,segments:[]},eL=eX._length-1,eK=0,eN=0;eN<eL;eN+=1)eQ=bez.buildBezierData(eX.v[eN],eX.v[eN+1],[eX.o[eN][0]-eX.v[eN][0],eX.o[eN][1]-eX.v[eN][1]],[eX.i[eN+1][0]-eX.v[eN+1][0],eX.i[eN+1][1]-eX.v[eN+1][1]]),eR.tLength+=eQ.segmentLength,eR.segments.push(eQ),eK+=eQ.segmentLength;eN=eL,eY.v.c&&(eQ=bez.buildBezierData(eX.v[eN],eX.v[0],[eX.o[eN][0]-eX.v[eN][0],eX.o[eN][1]-eX.v[eN][1]],[eX.i[0][0]-eX.v[0][0],eX.i[0][1]-eX.v[0][1]]),eR.tLength+=eQ.segmentLength,eR.segments.push(eQ),eK+=eQ.segmentLength),this._pathData.pi=eR}if(eR=this._pathData.pi,eD=this._pathData.f.v,eH=0,eU=1,eB=0,ez=!0,eW=eR.segments,eD<0&&eY.v.c)for(eR.tLength<Math.abs(eD)&&(eD=-Math.abs(eD)%eR.tLength),eH=eW.length-1,eU=(eV=eW[eH].points).length-1;eD<0;)eD+=eV[eU].partialLength,(eU-=1)<0&&(eH-=1,eU=(eV=eW[eH].points).length-1);eG=(eV=eW[eH].points)[eU-1],eZ=(eF=eV[eU]).partialLength}eL=ej.length,eO=0,eI=0;var eJ=1.2*Y.finalSize*.714,e0=!0;ea=eT.length;var e9=-1,e5=eD,e4=eH,e3=eU,e6=-1,e7="",e8=this.defaultPropsArray;if(2===Y.j||1===Y.j){var tt=0,ta=0,tu=2===Y.j?-.5:-1,tc=0,td=!0;for(eN=0;eN<eL;eN+=1)if(ej[eN].n){for(tt&&(tt+=ta);tc<eN;)ej[tc].animatorJustifyOffset=tt,tc+=1;tt=0,td=!0}else{for(eo=0;eo<ea;eo+=1)(en=eT[eo].a).t.propType&&(td&&2===Y.j&&(ta+=en.t.v*tu),(ec=(ei=eT[eo].s).getMult(ej[eN].anIndexes[eo],eS.a[eo].s.totalChars)).length?tt+=en.t.v*ec[0]*tu:tt+=en.t.v*ec*tu);td=!1}for(tt&&(tt+=ta);tc<eN;)ej[tc].animatorJustifyOffset=tt,tc+=1}for(eN=0;eN<eL;eN+=1){if(eA.reset(),ep=1,ej[eN].n)eO=0,eI+=Y.yOffset+(e0?1:0),eD=e5,e0=!1,this._hasMaskedPath&&(eH=e4,eU=e3,eG=(eV=eW[eH].points)[eU-1],eZ=(eF=eV[eU]).partialLength,eB=0),e7="",e_="",ek="",eE="",e8=this.defaultPropsArray;else{if(this._hasMaskedPath){if(e6!==ej[eN].line){switch(Y.j){case 1:eD+=eK-Y.lineWidths[ej[eN].line];break;case 2:eD+=(eK-Y.lineWidths[ej[eN].line])/2}e6=ej[eN].line}e9!==ej[eN].ind&&(ej[e9]&&(eD+=ej[e9].extra),eD+=ej[eN].an/2,e9=ej[eN].ind),eD+=eC[0]*ej[eN].an*.005;var tf=0;for(eo=0;eo<ea;eo+=1)(en=eT[eo].a).p.propType&&((ec=(ei=eT[eo].s).getMult(ej[eN].anIndexes[eo],eS.a[eo].s.totalChars)).length?tf+=en.p.v[0]*ec[0]:tf+=en.p.v[0]*ec),en.a.propType&&((ec=(ei=eT[eo].s).getMult(ej[eN].anIndexes[eo],eS.a[eo].s.totalChars)).length?tf+=en.a.v[0]*ec[0]:tf+=en.a.v[0]*ec);for(ez=!0,this._pathData.a.v&&(eD=.5*ej[0].an+(eK-this._pathData.f.v-.5*ej[0].an-.5*ej[ej.length-1].an)*e9/(eL-1)+this._pathData.f.v);ez;)eB+eZ>=eD+tf||!eV?(e$=(eD+tf-eB)/eF.partialLength,ef=eG.point[0]+(eF.point[0]-eG.point[0])*e$,eh=eG.point[1]+(eF.point[1]-eG.point[1])*e$,eA.translate(-eC[0]*ej[eN].an*.005,-(.01*(eC[1]*eJ))),ez=!1):eV&&(eB+=eF.partialLength,(eU+=1)>=eV.length&&(eU=0,eW[eH+=1]?eV=eW[eH].points:eY.v.c?(eU=0,eV=eW[eH=0].points):(eB-=eF.partialLength,eV=null)),eV&&(eG=eF,eZ=(eF=eV[eU]).partialLength));ed=ej[eN].an/2-ej[eN].add,eA.translate(-ed,0,0)}else ed=ej[eN].an/2-ej[eN].add,eA.translate(-ed,0,0),eA.translate(-eC[0]*ej[eN].an*.005,-eC[1]*eJ*.01,0);for(eo=0;eo<ea;eo+=1)(en=eT[eo].a).t.propType&&(ec=(ei=eT[eo].s).getMult(ej[eN].anIndexes[eo],eS.a[eo].s.totalChars),(0!==eO||0!==Y.j)&&(this._hasMaskedPath?ec.length?eD+=en.t.v*ec[0]:eD+=en.t.v*ec:ec.length?eO+=en.t.v*ec[0]:eO+=en.t.v*ec));for(Y.strokeWidthAnim&&(eg=Y.sw||0),Y.strokeColorAnim&&(em=Y.sc?[Y.sc[0],Y.sc[1],Y.sc[2]]:[0,0,0]),Y.fillColorAnim&&Y.fc&&(ey=[Y.fc[0],Y.fc[1],Y.fc[2]]),eo=0;eo<ea;eo+=1)(en=eT[eo].a).a.propType&&((ec=(ei=eT[eo].s).getMult(ej[eN].anIndexes[eo],eS.a[eo].s.totalChars)).length?eA.translate(-en.a.v[0]*ec[0],-en.a.v[1]*ec[1],en.a.v[2]*ec[2]):eA.translate(-en.a.v[0]*ec,-en.a.v[1]*ec,en.a.v[2]*ec));for(eo=0;eo<ea;eo+=1)(en=eT[eo].a).s.propType&&((ec=(ei=eT[eo].s).getMult(ej[eN].anIndexes[eo],eS.a[eo].s.totalChars)).length?eA.scale(1+(en.s.v[0]-1)*ec[0],1+(en.s.v[1]-1)*ec[1],1):eA.scale(1+(en.s.v[0]-1)*ec,1+(en.s.v[1]-1)*ec,1));for(eo=0;eo<ea;eo+=1){if(en=eT[eo].a,ec=(ei=eT[eo].s).getMult(ej[eN].anIndexes[eo],eS.a[eo].s.totalChars),en.sk.propType&&(ec.length?eA.skewFromAxis(-en.sk.v*ec[0],en.sa.v*ec[1]):eA.skewFromAxis(-en.sk.v*ec,en.sa.v*ec)),en.r.propType&&(ec.length?eA.rotateZ(-en.r.v*ec[2]):eA.rotateZ(-en.r.v*ec)),en.ry.propType&&(ec.length?eA.rotateY(en.ry.v*ec[1]):eA.rotateY(en.ry.v*ec)),en.rx.propType&&(ec.length?eA.rotateX(en.rx.v*ec[0]):eA.rotateX(en.rx.v*ec)),en.o.propType&&(ec.length?ep+=(en.o.v*ec[0]-ep)*ec[0]:ep+=(en.o.v*ec-ep)*ec),Y.strokeWidthAnim&&en.sw.propType&&(ec.length?eg+=en.sw.v*ec[0]:eg+=en.sw.v*ec),Y.strokeColorAnim&&en.sc.propType)for(eb=0;eb<3;eb+=1)ec.length?em[eb]+=(en.sc.v[eb]-em[eb])*ec[0]:em[eb]+=(en.sc.v[eb]-em[eb])*ec;if(Y.fillColorAnim&&Y.fc){if(en.fc.propType)for(eb=0;eb<3;eb+=1)ec.length?ey[eb]+=(en.fc.v[eb]-ey[eb])*ec[0]:ey[eb]+=(en.fc.v[eb]-ey[eb])*ec;en.fh.propType&&(ey=ec.length?addHueToRGB(ey,en.fh.v*ec[0]):addHueToRGB(ey,en.fh.v*ec)),en.fs.propType&&(ey=ec.length?addSaturationToRGB(ey,en.fs.v*ec[0]):addSaturationToRGB(ey,en.fs.v*ec)),en.fb.propType&&(ey=ec.length?addBrightnessToRGB(ey,en.fb.v*ec[0]):addBrightnessToRGB(ey,en.fb.v*ec))}}for(eo=0;eo<ea;eo+=1)(en=eT[eo].a).p.propType&&(ec=(ei=eT[eo].s).getMult(ej[eN].anIndexes[eo],eS.a[eo].s.totalChars),this._hasMaskedPath?ec.length?eA.translate(0,en.p.v[1]*ec[0],-en.p.v[2]*ec[1]):eA.translate(0,en.p.v[1]*ec,-en.p.v[2]*ec):ec.length?eA.translate(en.p.v[0]*ec[0],en.p.v[1]*ec[1],-en.p.v[2]*ec[2]):eA.translate(en.p.v[0]*ec,en.p.v[1]*ec,-en.p.v[2]*ec));if(Y.strokeWidthAnim&&(ek=eg<0?0:eg),Y.strokeColorAnim&&(ew="rgb("+Math.round(255*em[0])+","+Math.round(255*em[1])+","+Math.round(255*em[2])+")"),Y.fillColorAnim&&Y.fc&&(e_="rgb("+Math.round(255*ey[0])+","+Math.round(255*ey[1])+","+Math.round(255*ey[2])+")"),this._hasMaskedPath){if(eA.translate(0,-Y.ls),eA.translate(0,eC[1]*eJ*.01+eI,0),this._pathData.p.v){var th=180*Math.atan((eF.point[1]-eG.point[1])/(eF.point[0]-eG.point[0]))/Math.PI;eF.point[0]<eG.point[0]&&(th+=180),eA.rotate(-th*Math.PI/180)}eA.translate(ef,eh,0),eD-=eC[0]*ej[eN].an*.005,ej[eN+1]&&e9!==ej[eN+1].ind&&(eD+=ej[eN].an/2+.001*Y.tr*Y.finalSize)}else{switch(eA.translate(eO,eI,0),Y.ps&&eA.translate(Y.ps[0],Y.ps[1]+Y.ascent,0),Y.j){case 1:eA.translate(ej[eN].animatorJustifyOffset+Y.justifyOffset+(Y.boxWidth-Y.lineWidths[ej[eN].line]),0,0);break;case 2:eA.translate(ej[eN].animatorJustifyOffset+Y.justifyOffset+(Y.boxWidth-Y.lineWidths[ej[eN].line])/2,0,0)}eA.translate(0,-Y.ls),eA.translate(ed,0,0),eA.translate(eC[0]*ej[eN].an*.005,eC[1]*eJ*.01,0),eO+=ej[eN].l+.001*Y.tr*Y.finalSize}"html"===eM?e7=eA.toCSS():"svg"===eM?e7=eA.to2dCSS():e8=[eA.props[0],eA.props[1],eA.props[2],eA.props[3],eA.props[4],eA.props[5],eA.props[6],eA.props[7],eA.props[8],eA.props[9],eA.props[10],eA.props[11],eA.props[12],eA.props[13],eA.props[14],eA.props[15]],eE=ep}eP<=eN?(eu=new LetterProps(eE,ek,ew,e_,e7,e8),this.renderedLetters.push(eu),eP+=1,this.lettersChangedFlag=!0):(eu=this.renderedLetters[eN],this.lettersChangedFlag=eu.update(eE,ek,ew,e_,e7,e8)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(Y,et,en){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(Y,et,en),this.textProperty=new TextProperty(this,Y.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(Y.t,this.renderType,this),this.initTransform(Y,et,en),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(Y){this._mdf=!1,this.prepareRenderableFrame(Y),this.prepareProperties(Y,this.isInRange)},ITextElement.prototype.createPathShape=function(Y,et){var en,ei,eo=et.length,ea="";for(en=0;en<eo;en+=1)"sh"===et[en].ty&&(ea+=buildShapeString(ei=et[en].ks.k,ei.i.length,!0,Y));return ea},ITextElement.prototype.updateDocumentData=function(Y,et){this.textProperty.updateDocumentData(Y,et)},ITextElement.prototype.canResizeFont=function(Y){this.textProperty.canResizeFont(Y)},ITextElement.prototype.setMinimumFontSize=function(Y){this.textProperty.setMinimumFontSize(Y)},ITextElement.prototype.applyTextPropertiesToMatrix=function(Y,et,en,ei,eo){switch(Y.ps&&et.translate(Y.ps[0],Y.ps[1]+Y.ascent,0),et.translate(0,-Y.ls,0),Y.j){case 1:et.translate(Y.justifyOffset+(Y.boxWidth-Y.lineWidths[en]),0,0);break;case 2:et.translate(Y.justifyOffset+(Y.boxWidth-Y.lineWidths[en])/2,0,0)}et.translate(ei,eo,0)},ITextElement.prototype.buildColor=function(Y){return"rgb("+Math.round(255*Y[0])+","+Math.round(255*Y[1])+","+Math.round(255*Y[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(Y,et,en){this.textSpans=[],this.renderType="svg",this.initElement(Y,et,en)}function ISolidElement(Y,et,en){this.initElement(Y,et,en)}function NullElement(Y,et,en){this.initFrame(),this.initBaseData(Y,et,en),this.initFrame(),this.initTransform(Y,et,en),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(Y,et,en){this.layers=Y.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(Y,et,en),this.tm=Y.tm?PropertyFactory.getProp(this,Y.tm,0,et.frameRate,this):{_placeholder:!0}}function SVGRenderer(Y,et){this.animationItem=Y,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var en="";if(et&&et.title){var ei=createNS("title"),eo=createElementID();ei.setAttribute("id",eo),ei.textContent=et.title,this.svgElement.appendChild(ei),en+=eo}if(et&&et.description){var ea=createNS("desc"),eu=createElementID();ea.setAttribute("id",eu),ea.textContent=et.description,this.svgElement.appendChild(ea),en+=" "+eu}en&&this.svgElement.setAttribute("aria-labelledby",en);var ec=createNS("defs");this.svgElement.appendChild(ec);var ed=createNS("g");this.svgElement.appendChild(ed),this.layerElement=ed,this.renderConfig={preserveAspectRatio:et&&et.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:et&&et.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:et&&et.contentVisibility||"visible",progressiveLoad:et&&et.progressiveLoad||!1,hideOnTransparent:!(et&&!1===et.hideOnTransparent),viewBoxOnly:et&&et.viewBoxOnly||!1,viewBoxSize:et&&et.viewBoxSize||!1,className:et&&et.className||"",id:et&&et.id||"",focusable:et&&et.focusable,filterSize:{width:et&&et.filterSize&&et.filterSize.width||"100%",height:et&&et.filterSize&&et.filterSize.height||"100%",x:et&&et.filterSize&&et.filterSize.x||"0%",y:et&&et.filterSize&&et.filterSize.y||"0%"},width:et&&et.width,height:et&&et.height,runExpressions:!et||void 0===et.runExpressions||et.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:ec,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(Y){for(var et=0,en=Y.length,ei=[],eo="";et<en;)"\r"===Y[et]||"\x03"===Y[et]?(ei.push(eo),eo=""):eo+=Y[et],et+=1;return ei.push(eo),ei},SVGTextLottieElement.prototype.buildShapeData=function(Y,et){if(Y.shapes&&Y.shapes.length){var en=Y.shapes[0];if(en.it){var ei=en.it[en.it.length-1];ei.s&&(ei.s.k[0]=et,ei.s.k[1]=et)}}return Y},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var Y=this.textProperty.currentData;this.renderedLetters=createSizedArray(Y?Y.l.length:0),Y.fc?this.layerElement.setAttribute("fill",this.buildColor(Y.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),Y.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(Y.sc)),this.layerElement.setAttribute("stroke-width",Y.sw)),this.layerElement.setAttribute("font-size",Y.finalSize);var et=this.globalData.fontManager.getFontByName(Y.f);if(et.fClass)this.layerElement.setAttribute("class",et.fClass);else{this.layerElement.setAttribute("font-family",et.fFamily);var en=Y.fWeight,ei=Y.fStyle;this.layerElement.setAttribute("font-style",ei),this.layerElement.setAttribute("font-weight",en)}this.layerElement.setAttribute("aria-label",Y.t);var eo=Y.l||[],ea=!!this.globalData.fontManager.chars;ek=eo.length;var eu=this.mHelper,ec="",ed=this.data.singleShape,ef=0,eh=0,ep=!0,em=.001*Y.tr*Y.finalSize;if(!ed||ea||Y.sz){var eg=this.textSpans.length;for(eb=0;eb<ek;eb+=1){if(this.textSpans[eb]||(this.textSpans[eb]={span:null,childSpan:null,glyph:null}),!ea||!ed||0===eb){if(ew=eg>eb?this.textSpans[eb].span:createNS(ea?"g":"text"),eg<=eb){if(ew.setAttribute("stroke-linecap","butt"),ew.setAttribute("stroke-linejoin","round"),ew.setAttribute("stroke-miterlimit","4"),this.textSpans[eb].span=ew,ea){var ey=createNS("g");ew.appendChild(ey),this.textSpans[eb].childSpan=ey}this.textSpans[eb].span=ew,this.layerElement.appendChild(ew)}ew.style.display="inherit"}if(eu.reset(),ed&&(eo[eb].n&&(ef=-em,eh+=Y.yOffset+(ep?1:0),ep=!1),this.applyTextPropertiesToMatrix(Y,eu,eo[eb].line,ef,eh),ef+=(eo[eb].l||0)+em),ea){if(1===(e_=this.globalData.fontManager.getCharData(Y.finalText[eb],et.fStyle,this.globalData.fontManager.getFontByName(Y.f).fFamily)).t)eE=new SVGCompElement(e_.data,this.globalData,this);else{var eb,ek,ew,e_,eE,eC=emptyShapeData;e_.data&&e_.data.shapes&&(eC=this.buildShapeData(e_.data,Y.finalSize)),eE=new SVGShapeElement(eC,this.globalData,this)}if(this.textSpans[eb].glyph){var eT=this.textSpans[eb].glyph;this.textSpans[eb].childSpan.removeChild(eT.layerElement),eT.destroy()}this.textSpans[eb].glyph=eE,eE._debug=!0,eE.prepareFrame(0),eE.renderFrame(),this.textSpans[eb].childSpan.appendChild(eE.layerElement),1===e_.t&&this.textSpans[eb].childSpan.setAttribute("transform","scale("+Y.finalSize/100+","+Y.finalSize/100+")")}else ed&&ew.setAttribute("transform","translate("+eu.props[12]+","+eu.props[13]+")"),ew.textContent=eo[eb].val,ew.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}ed&&ew&&ew.setAttribute("d",ec)}else{var eS=this.textContainer,eA="start";switch(Y.j){case 1:eA="end";break;case 2:eA="middle";break;default:eA="start"}eS.setAttribute("text-anchor",eA),eS.setAttribute("letter-spacing",em);var eM=this.buildTextContents(Y.finalText);for(eb=0,ek=eM.length,eh=Y.ps?Y.ps[1]+Y.ascent:0;eb<ek;eb+=1)(ew=this.textSpans[eb].span||createNS("tspan")).textContent=eM[eb],ew.setAttribute("x",0),ew.setAttribute("y",eh),ew.style.display="inherit",eS.appendChild(ew),this.textSpans[eb]||(this.textSpans[eb]={span:null,glyph:null}),this.textSpans[eb].span=ew,eh+=Y.finalLineHeight;this.layerElement.appendChild(eS)}for(;eb<this.textSpans.length;)this.textSpans[eb].span.style.display="none",eb+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var Y=this.layerElement.getBBox();this.bbox={top:Y.y,left:Y.x,width:Y.width,height:Y.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var Y,et,en=this.textSpans.length;for(Y=0,this.renderedFrame=this.comp.renderedFrame;Y<en;Y+=1)(et=this.textSpans[Y].glyph)&&(et.prepareFrame(this.comp.renderedFrame-this.data.st),et._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var Y,et,en,ei,eo,ea=this.textAnimator.renderedLetters,eu=this.textProperty.currentData.l;for(Y=0,et=eu.length;Y<et;Y+=1)!eu[Y].n&&(en=ea[Y],ei=this.textSpans[Y].span,(eo=this.textSpans[Y].glyph)&&eo.renderFrame(),en._mdf.m&&ei.setAttribute("transform",en.m),en._mdf.o&&ei.setAttribute("opacity",en.o),en._mdf.sw&&ei.setAttribute("stroke-width",en.sw),en._mdf.sc&&ei.setAttribute("stroke",en.sc),en._mdf.fc&&ei.setAttribute("fill",en.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var Y=createNS("rect");Y.setAttribute("width",this.data.sw),Y.setAttribute("height",this.data.sh),Y.setAttribute("fill",this.data.sc),this.layerElement.appendChild(Y)},NullElement.prototype.prepareFrame=function(Y){this.prepareProperties(Y,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(Y){return new NullElement(Y,this.globalData,this)},SVGRendererBase.prototype.createShape=function(Y){return new SVGShapeElement(Y,this.globalData,this)},SVGRendererBase.prototype.createText=function(Y){return new SVGTextLottieElement(Y,this.globalData,this)},SVGRendererBase.prototype.createImage=function(Y){return new IImageElement(Y,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(Y){return new ISolidElement(Y,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(Y){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+Y.w+" "+Y.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",Y.w),this.svgElement.setAttribute("height",Y.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var et=this.globalData.defs;this.setupGlobalData(Y,et),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=Y;var en=createNS("clipPath"),ei=createNS("rect");ei.setAttribute("width",Y.w),ei.setAttribute("height",Y.h),ei.setAttribute("x",0),ei.setAttribute("y",0);var eo=createElementID();en.setAttribute("id",eo),en.appendChild(ei),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+eo+")"),et.appendChild(en),this.layers=Y.layers,this.elements=createSizedArray(Y.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var Y,et=this.layers?this.layers.length:0;for(Y=0;Y<et;Y+=1)this.elements[Y]&&this.elements[Y].destroy&&this.elements[Y].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(Y){var et=0,en=this.layers.length;for(et=0;et<en;et+=1)if(this.layers[et].ind===Y)return et;return -1},SVGRendererBase.prototype.buildItem=function(Y){var et=this.elements;if(!et[Y]&&99!==this.layers[Y].ty){et[Y]=!0;var en=this.createItem(this.layers[Y]);if(et[Y]=en,getExpressionsPlugin()&&(0===this.layers[Y].ty&&this.globalData.projectInterface.registerComposition(en),en.initExpressions()),this.appendElementInPos(en,Y),this.layers[Y].tt){var ei="tp"in this.layers[Y]?this.findIndexByInd(this.layers[Y].tp):Y-1;if(-1===ei)return;if(this.elements[ei]&&!0!==this.elements[ei]){var eo=et[ei].getMatte(this.layers[Y].tt);en.setMatte(eo)}else this.buildItem(ei),this.addPendingElement(en)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var Y=this.pendingElements.pop();if(Y.checkParenting(),Y.data.tt)for(var et=0,en=this.elements.length;et<en;){if(this.elements[et]===Y){var ei="tp"in Y.data?this.findIndexByInd(Y.data.tp):et-1,eo=this.elements[ei].getMatte(this.layers[et].tt);Y.setMatte(eo);break}et+=1}}},SVGRendererBase.prototype.renderFrame=function(Y){if(this.renderedFrame!==Y&&!this.destroyed){null===Y?Y=this.renderedFrame:this.renderedFrame=Y,this.globalData.frameNum=Y,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=Y,this.globalData._mdf=!1;var et,en=this.layers.length;for(this.completeLayers||this.checkLayers(Y),et=en-1;et>=0;et-=1)(this.completeLayers||this.elements[et])&&this.elements[et].prepareFrame(Y-this.layers[et].st);if(this.globalData._mdf)for(et=0;et<en;et+=1)(this.completeLayers||this.elements[et])&&this.elements[et].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(Y,et){var en,ei=Y.getBaseElement();if(ei){for(var eo=0;eo<et;)this.elements[eo]&&!0!==this.elements[eo]&&this.elements[eo].getBaseElement()&&(en=this.elements[eo].getBaseElement()),eo+=1;en?this.layerElement.insertBefore(ei,en):this.layerElement.appendChild(ei)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(Y,et,en){this.initFrame(),this.initBaseData(Y,et,en),this.initTransform(Y,et,en),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!et.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(Y){if(this._mdf=!1,this.prepareRenderableFrame(Y),this.prepareProperties(Y,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=Y/this.data.sr;else{var et,en=this.tm.v;en===this.data.op&&(en=this.data.op-1),this.renderedFrame=en}var ei=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),et=ei-1;et>=0;et-=1)(this.completeLayers||this.elements[et])&&(this.elements[et].prepareFrame(this.renderedFrame-this.layers[et].st),this.elements[et]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var Y,et=this.layers.length;for(Y=0;Y<et;Y+=1)(this.completeLayers||this.elements[Y])&&this.elements[Y].renderFrame()},ICompElement.prototype.setElements=function(Y){this.elements=Y},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var Y,et=this.layers.length;for(Y=0;Y<et;Y+=1)this.elements[Y]&&this.elements[Y].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(Y){return new SVGCompElement(Y,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(Y){return new SVGCompElement(Y,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(Y){var et,en=Y.length,ei="_";for(et=0;et<en;et+=1)ei+=Y[et].transform.key+"_";var eo=this.sequences[ei];return eo||(eo={transforms:[].concat(Y),finalTransform:new Matrix,_mdf:!1},this.sequences[ei]=eo,this.sequenceList.push(eo)),eo},processSequence:function(Y,et){for(var en=0,ei=Y.transforms.length,eo=et;en<ei&&!et;){if(Y.transforms[en].transform.mProps._mdf){eo=!0;break}en+=1}if(eo)for(Y.finalTransform.reset(),en=ei-1;en>=0;en-=1)Y.finalTransform.multiply(Y.transforms[en].transform.mProps.v);Y._mdf=eo},processSequences:function(Y){var et,en=this.sequenceList.length;for(et=0;et<en;et+=1)this.processSequence(this.sequenceList[et],Y)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var Y="__lottie_element_luma_buffer",et=null,en=null,ei=null;function eo(){var et=createNS("svg"),en=createNS("filter"),ei=createNS("feColorMatrix");return en.setAttribute("id",Y),ei.setAttribute("type","matrix"),ei.setAttribute("color-interpolation-filters","sRGB"),ei.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),en.appendChild(ei),et.appendChild(en),et.setAttribute("id",Y+"_svg"),featureSupport.svgLumaHidden&&(et.style.display="none"),et}function ea(){et||(ei=eo(),document.body.appendChild(ei),(en=(et=createTag("canvas")).getContext("2d")).filter="url(#"+Y+")",en.fillStyle="rgba(0,0,0,0)",en.fillRect(0,0,1,1))}function eu(ei){return et||ea(),et.width=ei.width,et.height=ei.height,en.filter="url(#"+Y+")",et}return{load:ea,get:eu}};function createCanvas(Y,et){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(Y,et);var en=createTag("canvas");return en.width=Y,en.height=et,en}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas}}(),registeredEffects={};function CVEffects(Y){var et,en,ei=Y.data.ef?Y.data.ef.length:0;for(et=0,this.filters=[];et<ei;et+=1){en=null;var eo=Y.data.ef[et].ty;registeredEffects[eo]&&(en=new registeredEffects[eo].effect(Y.effectsManager.effectElements[et],Y)),en&&this.filters.push(en)}this.filters.length&&Y.addRenderableComponent(this)}function registerEffect(Y,et){registeredEffects[Y]={effect:et}}function CVMaskElement(Y,et){this.data=Y,this.element=et,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var en,ei=this.masksProperties.length,eo=!1;for(en=0;en<ei;en+=1)"n"!==this.masksProperties[en].mode&&(eo=!0),this.viewData[en]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[en],3);this.hasMasks=eo,eo&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(Y){var et,en=this.filters.length;for(et=0;et<en;et+=1)this.filters[et].renderFrame(Y)},CVEffects.prototype.getEffects=function(Y){var et,en=this.filters.length,ei=[];for(et=0;et<en;et+=1)this.filters[et].type===Y&&ei.push(this.filters[et]);return ei},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var Y=this.element.finalTransform.mat,et=this.element.canvasContext,en=this.masksProperties.length;for(et.beginPath(),ei=0;ei<en;ei+=1)if("n"!==this.masksProperties[ei].mode){this.masksProperties[ei].inv&&(et.moveTo(0,0),et.lineTo(this.element.globalData.compSize.w,0),et.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),et.lineTo(0,this.element.globalData.compSize.h),et.lineTo(0,0)),eu=this.viewData[ei].v,eo=Y.applyToPointArray(eu.v[0][0],eu.v[0][1],0),et.moveTo(eo[0],eo[1]);var ei,eo,ea,eu,ec,ed=eu._length;for(ec=1;ec<ed;ec+=1)ea=Y.applyToTriplePoints(eu.o[ec-1],eu.i[ec],eu.v[ec]),et.bezierCurveTo(ea[0],ea[1],ea[2],ea[3],ea[4],ea[5]);ea=Y.applyToTriplePoints(eu.o[ec-1],eu.i[0],eu.v[0]),et.bezierCurveTo(ea[0],ea[1],ea[2],ea[3],ea[4],ea[5])}this.element.globalData.renderer.save(!0),et.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(Y,et,en,ei){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var eo,ea,eu=4;"rc"===et.ty?eu=5:"el"===et.ty?eu=6:"sr"===et.ty&&(eu=7),this.sh=ShapePropertyFactory.getShapeProp(Y,et,eu,Y);var ec=en.length;for(eo=0;eo<ec;eo+=1)en[eo].closed||(ea={transforms:ei.addTransformSequence(en[eo].transforms),trNodes:[]},this.styledShapes.push(ea),en[eo].elements.push(ea))}function CVShapeElement(Y,et,en){this.shapes=[],this.shapesData=Y.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(Y,et,en)}function CVTextElement(Y,et,en){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(Y,et,en)}function CVImageElement(Y,et,en){this.assetData=et.getAssetData(Y.refId),this.img=et.imageLoader.getAsset(this.assetData),this.initElement(Y,et,en)}function CVSolidElement(Y,et,en){this.initElement(Y,et,en)}function CanvasRendererBase(){}function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var Y,et=15;for(Y=0;Y<et;Y+=1){var en=new CanvasContext;this.stack[Y]=en}this._length=et,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}function CVCompElement(Y,et,en){this.completeLayers=!1,this.layers=Y.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(Y,et,en),this.tm=Y.tm?PropertyFactory.getProp(this,Y.tm,0,et.frameRate,this):{_placeholder:!0}}function CanvasRenderer(Y,et){this.animationItem=Y,this.renderConfig={clearCanvas:!et||void 0===et.clearCanvas||et.clearCanvas,context:et&&et.context||null,progressiveLoad:et&&et.progressiveLoad||!1,preserveAspectRatio:et&&et.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:et&&et.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:et&&et.contentVisibility||"visible",className:et&&et.className||"",id:et&&et.id||"",runExpressions:!et||void 0===et.runExpressions||et.runExpressions},this.renderConfig.dpr=et&&et.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=et&&et.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}function HBaseElement(){}function HSolidElement(Y,et,en){this.initElement(Y,et,en)}function HShapeElement(Y,et,en){this.shapes=[],this.shapesData=Y.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(Y,et,en),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(Y,et,en){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(Y,et,en)}function HCameraElement(Y,et,en){this.initFrame(),this.initBaseData(Y,et,en),this.initHierarchy();var ei=PropertyFactory.getProp;if(this.pe=ei(this,Y.pe,0,0,this),Y.ks.p.s?(this.px=ei(this,Y.ks.p.x,1,0,this),this.py=ei(this,Y.ks.p.y,1,0,this),this.pz=ei(this,Y.ks.p.z,1,0,this)):this.p=ei(this,Y.ks.p,1,0,this),Y.ks.a&&(this.a=ei(this,Y.ks.a,1,0,this)),Y.ks.or.k.length&&Y.ks.or.k[0].to){var eo,ea=Y.ks.or.k.length;for(eo=0;eo<ea;eo+=1)Y.ks.or.k[eo].to=null,Y.ks.or.k[eo].ti=null}this.or=ei(this,Y.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=ei(this,Y.ks.rx,0,degToRads,this),this.ry=ei(this,Y.ks.ry,0,degToRads,this),this.rz=ei(this,Y.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(Y,et,en){this.assetData=et.getAssetData(Y.refId),this.initElement(Y,et,en)}function HybridRendererBase(Y,et){this.animationItem=Y,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:et&&et.className||"",imagePreserveAspectRatio:et&&et.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(et&&!1===et.hideOnTransparent),filterSize:{width:et&&et.filterSize&&et.filterSize.width||"400%",height:et&&et.filterSize&&et.filterSize.height||"400%",x:et&&et.filterSize&&et.filterSize.x||"-100%",y:et&&et.filterSize&&et.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(Y,et,en){this.layers=Y.layers,this.supports3d=!Y.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(Y,et,en),this.tm=Y.tm?PropertyFactory.getProp(this,Y.tm,0,et.frameRate,this):{_placeholder:!0}}function HybridRenderer(Y,et){this.animationItem=Y,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:et&&et.className||"",imagePreserveAspectRatio:et&&et.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(et&&!1===et.hideOnTransparent),filterSize:{width:et&&et.filterSize&&et.filterSize.width||"400%",height:et&&et.filterSize&&et.filterSize.height||"400%",x:et&&et.filterSize&&et.filterSize.x||"-100%",y:et&&et.filterSize&&et.filterSize.y||"-100%"},runExpressions:!et||void 0===et.runExpressions||et.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var Y=this.globalData.canvasContext,et=assetLoader.createCanvas(Y.canvas.width,Y.canvas.height);this.buffers.push(et);var en=assetLoader.createCanvas(Y.canvas.width,Y.canvas.height);this.buffers.push(en),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var Y=this.globalData;if(Y.blendMode!==this.data.bm){Y.blendMode=this.data.bm;var et=getBlendMode(this.data.bm);Y.canvasContext.globalCompositeOperation=et}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(Y){Y.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var Y=this.buffers[0].getContext("2d");this.clearCanvas(Y),Y.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var Y=this.buffers[1],et=Y.getContext("2d");if(this.clearCanvas(et),et.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var en=assetLoader.getLumaCanvas(this.canvasContext.canvas);en.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(en,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(Y,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(Y){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||Y)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var et=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(et),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(et),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(Y,et){var en={data:Y,type:Y.ty,preTransforms:this.transformsManager.addTransformSequence(et),transforms:[],elements:[],closed:!0===Y.hd},ei={};if("fl"===Y.ty||"st"===Y.ty?(ei.c=PropertyFactory.getProp(this,Y.c,1,255,this),ei.c.k||(en.co="rgb("+bmFloor(ei.c.v[0])+","+bmFloor(ei.c.v[1])+","+bmFloor(ei.c.v[2])+")")):("gf"===Y.ty||"gs"===Y.ty)&&(ei.s=PropertyFactory.getProp(this,Y.s,1,null,this),ei.e=PropertyFactory.getProp(this,Y.e,1,null,this),ei.h=PropertyFactory.getProp(this,Y.h||{k:0},0,.01,this),ei.a=PropertyFactory.getProp(this,Y.a||{k:0},0,degToRads,this),ei.g=new GradientProperty(this,Y.g,this)),ei.o=PropertyFactory.getProp(this,Y.o,0,.01,this),"st"===Y.ty||"gs"===Y.ty){if(en.lc=lineCapEnum[Y.lc||2],en.lj=lineJoinEnum[Y.lj||2],1==Y.lj&&(en.ml=Y.ml),ei.w=PropertyFactory.getProp(this,Y.w,0,null,this),ei.w.k||(en.wi=ei.w.v),Y.d){var eo=new DashProperty(this,Y.d,"canvas",this);ei.d=eo,ei.d.k||(en.da=ei.d.dashArray,en.do=ei.d.dashoffset[0])}}else en.r=2===Y.r?"evenodd":"nonzero";return this.stylesList.push(en),ei.style=en,ei},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(Y){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,Y.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,Y,this)}}},CVShapeElement.prototype.createShapeElement=function(Y){var et=new CVShapeData(this,Y,this.stylesList,this.transformsManager);return this.shapes.push(et),this.addShapeToModifiers(et),et},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var Y,et=this.itemsData.length;for(Y=0;Y<et;Y+=1)this.prevViewData[Y]=this.itemsData[Y];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),et=this.dynamicProperties.length,Y=0;Y<et;Y+=1)this.dynamicProperties[Y].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(Y){var et,en=this.stylesList.length;for(et=0;et<en;et+=1)this.stylesList[et].closed||this.stylesList[et].transforms.push(Y)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var Y,et=this.stylesList.length;for(Y=0;Y<et;Y+=1)this.stylesList[Y].closed||this.stylesList[Y].transforms.pop()},CVShapeElement.prototype.closeStyles=function(Y){var et,en=Y.length;for(et=0;et<en;et+=1)Y[et].closed=!0},CVShapeElement.prototype.searchShapes=function(Y,et,en,ei,eo){var ea,eu,ec,ed,ef,eh,ep=Y.length-1,em=[],eg=[],ey=[].concat(eo);for(ea=ep;ea>=0;ea-=1){if((ed=this.searchProcessedElement(Y[ea]))?et[ea]=en[ed-1]:Y[ea]._shouldRender=ei,"fl"===Y[ea].ty||"st"===Y[ea].ty||"gf"===Y[ea].ty||"gs"===Y[ea].ty)ed?et[ea].style.closed=!1:et[ea]=this.createStyleElement(Y[ea],ey),em.push(et[ea].style);else if("gr"===Y[ea].ty){if(ed)for(eu=0,ec=et[ea].it.length;eu<ec;eu+=1)et[ea].prevViewData[eu]=et[ea].it[eu];else et[ea]=this.createGroupElement(Y[ea]);this.searchShapes(Y[ea].it,et[ea].it,et[ea].prevViewData,ei,ey)}else"tr"===Y[ea].ty?(ed||(eh=this.createTransformElement(Y[ea]),et[ea]=eh),ey.push(et[ea]),this.addTransformToStyleList(et[ea])):"sh"===Y[ea].ty||"rc"===Y[ea].ty||"el"===Y[ea].ty||"sr"===Y[ea].ty?ed||(et[ea]=this.createShapeElement(Y[ea])):"tm"===Y[ea].ty||"rd"===Y[ea].ty||"pb"===Y[ea].ty||"zz"===Y[ea].ty||"op"===Y[ea].ty?(ed?(ef=et[ea]).closed=!1:((ef=ShapeModifiers.getModifier(Y[ea].ty)).init(this,Y[ea]),et[ea]=ef,this.shapeModifiers.push(ef)),eg.push(ef)):"rp"===Y[ea].ty&&(ed?(ef=et[ea]).closed=!0:(ef=ShapeModifiers.getModifier(Y[ea].ty),et[ea]=ef,ef.init(this,Y,ea,et),this.shapeModifiers.push(ef),ei=!1),eg.push(ef));this.addProcessedElement(Y[ea],ea+1)}for(this.removeTransformFromStyleList(),this.closeStyles(em),ep=eg.length,ea=0;ea<ep;ea+=1)eg[ea].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(Y,et){(Y._opMdf||et.op._mdf||this._isFirstFrame)&&(et.opacity=Y.opacity,et.opacity*=et.op.v,et._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var Y,et,en,ei,eo,ea,eu,ec,ed,ef=this.stylesList.length,eh=this.globalData.renderer,ep=this.globalData.canvasContext;for(Y=0;Y<ef;Y+=1)if(!(("st"===(ec=(ed=this.stylesList[Y]).type)||"gs"===ec)&&0===ed.wi||!ed.data._shouldRender||0===ed.coOp||0===this.globalData.currentGlobalAlpha)){for(eh.save(),ea=ed.elements,"st"===ec||"gs"===ec?(eh.ctxStrokeStyle("st"===ec?ed.co:ed.grd),eh.ctxLineWidth(ed.wi),eh.ctxLineCap(ed.lc),eh.ctxLineJoin(ed.lj),eh.ctxMiterLimit(ed.ml||0)):eh.ctxFillStyle("fl"===ec?ed.co:ed.grd),eh.ctxOpacity(ed.coOp),"st"!==ec&&"gs"!==ec&&ep.beginPath(),eh.ctxTransform(ed.preTransforms.finalTransform.props),en=ea.length,et=0;et<en;et+=1){for(("st"===ec||"gs"===ec)&&(ep.beginPath(),ed.da&&(ep.setLineDash(ed.da),ep.lineDashOffset=ed.do)),eo=(eu=ea[et].trNodes).length,ei=0;ei<eo;ei+=1)"m"===eu[ei].t?ep.moveTo(eu[ei].p[0],eu[ei].p[1]):"c"===eu[ei].t?ep.bezierCurveTo(eu[ei].pts[0],eu[ei].pts[1],eu[ei].pts[2],eu[ei].pts[3],eu[ei].pts[4],eu[ei].pts[5]):ep.closePath();("st"===ec||"gs"===ec)&&(eh.ctxStroke(),ed.da&&ep.setLineDash(this.dashResetter))}"st"!==ec&&"gs"!==ec&&this.globalData.renderer.ctxFill(ed.r),eh.restore()}},CVShapeElement.prototype.renderShape=function(Y,et,en,ei){var eo,ea,eu=et.length-1;for(ea=Y,eo=eu;eo>=0;eo-=1)"tr"===et[eo].ty?(ea=en[eo].transform,this.renderShapeTransform(Y,ea)):"sh"===et[eo].ty||"el"===et[eo].ty||"rc"===et[eo].ty||"sr"===et[eo].ty?this.renderPath(et[eo],en[eo]):"fl"===et[eo].ty?this.renderFill(et[eo],en[eo],ea):"st"===et[eo].ty?this.renderStroke(et[eo],en[eo],ea):"gf"===et[eo].ty||"gs"===et[eo].ty?this.renderGradientFill(et[eo],en[eo],ea):"gr"===et[eo].ty?this.renderShape(ea,et[eo].it,en[eo].it):et[eo].ty;ei&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(Y,et){if(this._isFirstFrame||et._mdf||Y.transforms._mdf){var en,ei,eo,ea=Y.trNodes,eu=et.paths,ec=eu._length;ea.length=0;var ed=Y.transforms.finalTransform;for(eo=0;eo<ec;eo+=1){var ef=eu.shapes[eo];if(ef&&ef.v){for(en=1,ei=ef._length;en<ei;en+=1)1===en&&ea.push({t:"m",p:ed.applyToPointArray(ef.v[0][0],ef.v[0][1],0)}),ea.push({t:"c",pts:ed.applyToTriplePoints(ef.o[en-1],ef.i[en],ef.v[en])});1===ei&&ea.push({t:"m",p:ed.applyToPointArray(ef.v[0][0],ef.v[0][1],0)}),ef.c&&ei&&(ea.push({t:"c",pts:ed.applyToTriplePoints(ef.o[en-1],ef.i[0],ef.v[0])}),ea.push({t:"z"}))}}Y.trNodes=ea}},CVShapeElement.prototype.renderPath=function(Y,et){if(!0!==Y.hd&&Y._shouldRender){var en,ei=et.styledShapes.length;for(en=0;en<ei;en+=1)this.renderStyledShape(et.styledShapes[en],et.sh)}},CVShapeElement.prototype.renderFill=function(Y,et,en){var ei=et.style;(et.c._mdf||this._isFirstFrame)&&(ei.co="rgb("+bmFloor(et.c.v[0])+","+bmFloor(et.c.v[1])+","+bmFloor(et.c.v[2])+")"),(et.o._mdf||en._opMdf||this._isFirstFrame)&&(ei.coOp=et.o.v*en.opacity)},CVShapeElement.prototype.renderGradientFill=function(Y,et,en){var ei=et.style;if(!ei.grd||et.g._mdf||et.s._mdf||et.e._mdf||1!==Y.t&&(et.h._mdf||et.a._mdf)){var eo,ea,eu=this.globalData.canvasContext,ec=et.s.v,ed=et.e.v;if(1===Y.t)eo=eu.createLinearGradient(ec[0],ec[1],ed[0],ed[1]);else{var ef=Math.sqrt(Math.pow(ec[0]-ed[0],2)+Math.pow(ec[1]-ed[1],2)),eh=Math.atan2(ed[1]-ec[1],ed[0]-ec[0]),ep=et.h.v;ep>=1?ep=.99:ep<=-1&&(ep=-.99);var em=ef*ep,eg=Math.cos(eh+et.a.v)*em+ec[0],ey=Math.sin(eh+et.a.v)*em+ec[1];eo=eu.createRadialGradient(eg,ey,0,ec[0],ec[1],ef)}var eb=Y.g.p,ek=et.g.c,ew=1;for(ea=0;ea<eb;ea+=1)et.g._hasOpacity&&et.g._collapsable&&(ew=et.g.o[2*ea+1]),eo.addColorStop(ek[4*ea]/100,"rgba("+ek[4*ea+1]+","+ek[4*ea+2]+","+ek[4*ea+3]+","+ew+")");ei.grd=eo}ei.coOp=et.o.v*en.opacity},CVShapeElement.prototype.renderStroke=function(Y,et,en){var ei=et.style,eo=et.d;eo&&(eo._mdf||this._isFirstFrame)&&(ei.da=eo.dashArray,ei.do=eo.dashoffset[0]),(et.c._mdf||this._isFirstFrame)&&(ei.co="rgb("+bmFloor(et.c.v[0])+","+bmFloor(et.c.v[1])+","+bmFloor(et.c.v[2])+")"),(et.o._mdf||en._opMdf||this._isFirstFrame)&&(ei.coOp=et.o.v*en.opacity),(et.w._mdf||this._isFirstFrame)&&(ei.wi=et.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var Y,et,en,ei,eo,ea,eu,ec,ed,ef,eh,ep,em=this.textProperty.currentData;this.renderedLetters=createSizedArray(em.l?em.l.length:0);var eg=!1;em.fc?(eg=!0,this.values.fill=this.buildColor(em.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=eg;var ey=!1;em.sc&&(ey=!0,this.values.stroke=this.buildColor(em.sc),this.values.sWidth=em.sw);var eb=this.globalData.fontManager.getFontByName(em.f),ek=em.l,ew=this.mHelper;this.stroke=ey,this.values.fValue=em.finalSize+"px "+this.globalData.fontManager.getFontByName(em.f).fFamily,et=em.finalText.length;var e_=this.data.singleShape,eE=.001*em.tr*em.finalSize,eC=0,eT=0,eS=!0,eA=0;for(Y=0;Y<et;Y+=1){ei=(en=this.globalData.fontManager.getCharData(em.finalText[Y],eb.fStyle,this.globalData.fontManager.getFontByName(em.f).fFamily))&&en.data||{},ew.reset(),e_&&ek[Y].n&&(eC=-eE,eT+=em.yOffset+(eS?1:0),eS=!1),ed=(eu=ei.shapes?ei.shapes[0].it:[]).length,ew.scale(em.finalSize/100,em.finalSize/100),e_&&this.applyTextPropertiesToMatrix(em,ew,ek[Y].line,eC,eT),eh=createSizedArray(ed-1);var eM=0;for(ec=0;ec<ed;ec+=1)if("sh"===eu[ec].ty){for(eo=1,ea=eu[ec].ks.k.i.length,ef=eu[ec].ks.k,ep=[];eo<ea;eo+=1)1===eo&&ep.push(ew.applyToX(ef.v[0][0],ef.v[0][1],0),ew.applyToY(ef.v[0][0],ef.v[0][1],0)),ep.push(ew.applyToX(ef.o[eo-1][0],ef.o[eo-1][1],0),ew.applyToY(ef.o[eo-1][0],ef.o[eo-1][1],0),ew.applyToX(ef.i[eo][0],ef.i[eo][1],0),ew.applyToY(ef.i[eo][0],ef.i[eo][1],0),ew.applyToX(ef.v[eo][0],ef.v[eo][1],0),ew.applyToY(ef.v[eo][0],ef.v[eo][1],0));ep.push(ew.applyToX(ef.o[eo-1][0],ef.o[eo-1][1],0),ew.applyToY(ef.o[eo-1][0],ef.o[eo-1][1],0),ew.applyToX(ef.i[0][0],ef.i[0][1],0),ew.applyToY(ef.i[0][0],ef.i[0][1],0),ew.applyToX(ef.v[0][0],ef.v[0][1],0),ew.applyToY(ef.v[0][0],ef.v[0][1],0)),eh[eM]=ep,eM+=1}e_&&(eC+=ek[Y].l+eE),this.textSpans[eA]?this.textSpans[eA].elem=eh:this.textSpans[eA]={elem:eh},eA+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText(),this.canvasContext.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var Y,et,en,ei,eo,ea,eu,ec,ed,ef=this.textAnimator.renderedLetters,eh=this.textProperty.currentData.l;et=eh.length;var ep=null,em=null,eg=null,ey=this.globalData.renderer;for(Y=0;Y<et;Y+=1)if(!eh[Y].n){if((eu=ef[Y])&&(ey.save(),ey.ctxTransform(eu.p),ey.ctxOpacity(eu.o)),this.fill){for(eu&&eu.fc?ep!==eu.fc&&(ey.ctxFillStyle(eu.fc),ep=eu.fc):ep!==this.values.fill&&(ep=this.values.fill,ey.ctxFillStyle(this.values.fill)),ei=(ec=this.textSpans[Y].elem).length,this.globalData.canvasContext.beginPath(),en=0;en<ei;en+=1)for(ea=(ed=ec[en]).length,this.globalData.canvasContext.moveTo(ed[0],ed[1]),eo=2;eo<ea;eo+=6)this.globalData.canvasContext.bezierCurveTo(ed[eo],ed[eo+1],ed[eo+2],ed[eo+3],ed[eo+4],ed[eo+5]);this.globalData.canvasContext.closePath(),ey.ctxFill()}if(this.stroke){for(eu&&eu.sw?eg!==eu.sw&&(eg=eu.sw,ey.ctxLineWidth(eu.sw)):eg!==this.values.sWidth&&(eg=this.values.sWidth,ey.ctxLineWidth(this.values.sWidth)),eu&&eu.sc?em!==eu.sc&&(em=eu.sc,ey.ctxStrokeStyle(eu.sc)):em!==this.values.stroke&&(em=this.values.stroke,ey.ctxStrokeStyle(this.values.stroke)),ei=(ec=this.textSpans[Y].elem).length,this.globalData.canvasContext.beginPath(),en=0;en<ei;en+=1)for(ea=(ed=ec[en]).length,this.globalData.canvasContext.moveTo(ed[0],ed[1]),eo=2;eo<ea;eo+=6)this.globalData.canvasContext.bezierCurveTo(ed[eo],ed[eo+1],ed[eo+2],ed[eo+3],ed[eo+4],ed[eo+5]);this.globalData.canvasContext.closePath(),ey.ctxStroke()}eu&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var Y,et,en=createTag("canvas");en.width=this.assetData.w,en.height=this.assetData.h;var ei=en.getContext("2d"),eo=this.img.width,ea=this.img.height,eu=eo/ea,ec=this.assetData.w/this.assetData.h,ed=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;eu>ec&&"xMidYMid slice"===ed||eu<ec&&"xMidYMid slice"!==ed?Y=(et=ea)*ec:et=(Y=eo)/ec,ei.drawImage(this.img,(eo-Y)/2,(ea-et)/2,Y,et,0,0,this.assetData.w,this.assetData.h),this.img=en}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(Y){return new CVShapeElement(Y,this.globalData,this)},CanvasRendererBase.prototype.createText=function(Y){return new CVTextElement(Y,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(Y){return new CVImageElement(Y,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(Y){return new CVSolidElement(Y,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(Y){(1!==Y[0]||0!==Y[1]||0!==Y[4]||1!==Y[5]||0!==Y[12]||0!==Y[13])&&this.canvasContext.transform(Y[0],Y[1],Y[4],Y[5],Y[12],Y[13])},CanvasRendererBase.prototype.ctxOpacity=function(Y){this.canvasContext.globalAlpha*=Y<0?0:Y},CanvasRendererBase.prototype.ctxFillStyle=function(Y){this.canvasContext.fillStyle=Y},CanvasRendererBase.prototype.ctxStrokeStyle=function(Y){this.canvasContext.strokeStyle=Y},CanvasRendererBase.prototype.ctxLineWidth=function(Y){this.canvasContext.lineWidth=Y},CanvasRendererBase.prototype.ctxLineCap=function(Y){this.canvasContext.lineCap=Y},CanvasRendererBase.prototype.ctxLineJoin=function(Y){this.canvasContext.lineJoin=Y},CanvasRendererBase.prototype.ctxMiterLimit=function(Y){this.canvasContext.miterLimit=Y},CanvasRendererBase.prototype.ctxFill=function(Y){this.canvasContext.fill(Y)},CanvasRendererBase.prototype.ctxFillRect=function(Y,et,en,ei){this.canvasContext.fillRect(Y,et,en,ei)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(Y){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}Y&&(this.globalData.blendMode="source-over"),this.contextData.restore(Y)},CanvasRendererBase.prototype.configAnimation=function(Y){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var et=this.animationItem.container.style;et.width="100%",et.height="100%";var en="0px 0px 0px";et.transformOrigin=en,et.mozTransformOrigin=en,et.webkitTransformOrigin=en,et["-webkit-transform"]=en,et.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=Y,this.layers=Y.layers,this.transformCanvas={w:Y.w,h:Y.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(Y,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(Y.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(Y,et){if(this.reset(),Y?(en=Y,ei=et,this.canvasContext.canvas.width=en,this.canvasContext.canvas.height=ei):(this.animationItem.wrapper&&this.animationItem.container?(en=this.animationItem.wrapper.offsetWidth,ei=this.animationItem.wrapper.offsetHeight):(en=this.canvasContext.canvas.width,ei=this.canvasContext.canvas.height),this.canvasContext.canvas.width=en*this.renderConfig.dpr,this.canvasContext.canvas.height=ei*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var en,ei,eo,ea,eu=this.renderConfig.preserveAspectRatio.split(" "),ec=eu[1]||"meet",ed=eu[0]||"xMidYMid",ef=ed.substr(0,4),eh=ed.substr(4);eo=en/ei,(ea=this.transformCanvas.w/this.transformCanvas.h)>eo&&"meet"===ec||ea<eo&&"slice"===ec?(this.transformCanvas.sx=en/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=en/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=ei/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=ei/(this.transformCanvas.h/this.renderConfig.dpr)),"xMid"===ef&&(ea<eo&&"meet"===ec||ea>eo&&"slice"===ec)?this.transformCanvas.tx=(en-this.transformCanvas.w*(ei/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===ef&&(ea<eo&&"meet"===ec||ea>eo&&"slice"===ec)?this.transformCanvas.tx=(en-this.transformCanvas.w*(ei/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,"YMid"===eh&&(ea>eo&&"meet"===ec||ea<eo&&"slice"===ec)?this.transformCanvas.ty=(ei-this.transformCanvas.h*(en/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===eh&&(ea>eo&&"meet"===ec||ea<eo&&"slice"===ec)?this.transformCanvas.ty=(ei-this.transformCanvas.h*(en/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=en/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=ei/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var Y;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),Y=(this.layers?this.layers.length:0)-1;Y>=0;Y-=1)this.elements[Y]&&this.elements[Y].destroy&&this.elements[Y].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(Y,et){if((this.renderedFrame!==Y||!0!==this.renderConfig.clearCanvas||et)&&!this.destroyed&&-1!==Y){this.renderedFrame=Y,this.globalData.frameNum=Y-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||et,this.globalData.projectInterface.currentFrame=Y;var en,ei=this.layers.length;for(this.completeLayers||this.checkLayers(Y),en=ei-1;en>=0;en-=1)(this.completeLayers||this.elements[en])&&this.elements[en].prepareFrame(Y-this.layers[en].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),en=ei-1;en>=0;en-=1)(this.completeLayers||this.elements[en])&&this.elements[en].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(Y){var et=this.elements;if(!et[Y]&&99!==this.layers[Y].ty){var en=this.createItem(this.layers[Y],this,this.globalData);et[Y]=en,en.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var Y=2*this._length,et=0;for(et=this._length;et<Y;et+=1)this.stack[et]=new CanvasContext;this._length=Y},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(Y){this.cArrPos-=1;var et,en=this.stack[this.cArrPos],ei=en.transform,eo=this.cTr.props;for(et=0;et<16;et+=1)eo[et]=ei[et];if(Y){this.nativeContext.restore();var ea=this.stack[this.cArrPos+1];this.appliedFillStyle=ea.fillStyle,this.appliedStrokeStyle=ea.strokeStyle,this.appliedLineWidth=ea.lineWidth,this.appliedLineCap=ea.lineCap,this.appliedLineJoin=ea.lineJoin,this.appliedMiterLimit=ea.miterLimit}this.nativeContext.setTransform(ei[0],ei[1],ei[4],ei[5],ei[12],ei[13]),(Y||-1!==en.opacity&&this.currentOpacity!==en.opacity)&&(this.nativeContext.globalAlpha=en.opacity,this.currentOpacity=en.opacity),this.currentFillStyle=en.fillStyle,this.currentStrokeStyle=en.strokeStyle,this.currentLineWidth=en.lineWidth,this.currentLineCap=en.lineCap,this.currentLineJoin=en.lineJoin,this.currentMiterLimit=en.miterLimit},CVContextData.prototype.save=function(Y){Y&&this.nativeContext.save();var et,en=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var ei=this.stack[this.cArrPos];for(et=0;et<16;et+=1)ei.transform[et]=en[et];this.cArrPos+=1;var eo=this.stack[this.cArrPos];eo.opacity=ei.opacity,eo.fillStyle=ei.fillStyle,eo.strokeStyle=ei.strokeStyle,eo.lineWidth=ei.lineWidth,eo.lineCap=ei.lineCap,eo.lineJoin=ei.lineJoin,eo.miterLimit=ei.miterLimit},CVContextData.prototype.setOpacity=function(Y){this.stack[this.cArrPos].opacity=Y},CVContextData.prototype.setContext=function(Y){this.nativeContext=Y},CVContextData.prototype.fillStyle=function(Y){this.stack[this.cArrPos].fillStyle!==Y&&(this.currentFillStyle=Y,this.stack[this.cArrPos].fillStyle=Y)},CVContextData.prototype.strokeStyle=function(Y){this.stack[this.cArrPos].strokeStyle!==Y&&(this.currentStrokeStyle=Y,this.stack[this.cArrPos].strokeStyle=Y)},CVContextData.prototype.lineWidth=function(Y){this.stack[this.cArrPos].lineWidth!==Y&&(this.currentLineWidth=Y,this.stack[this.cArrPos].lineWidth=Y)},CVContextData.prototype.lineCap=function(Y){this.stack[this.cArrPos].lineCap!==Y&&(this.currentLineCap=Y,this.stack[this.cArrPos].lineCap=Y)},CVContextData.prototype.lineJoin=function(Y){this.stack[this.cArrPos].lineJoin!==Y&&(this.currentLineJoin=Y,this.stack[this.cArrPos].lineJoin=Y)},CVContextData.prototype.miterLimit=function(Y){this.stack[this.cArrPos].miterLimit!==Y&&(this.currentMiterLimit=Y,this.stack[this.cArrPos].miterLimit=Y)},CVContextData.prototype.transform=function(Y){this.transformMat.cloneFromProps(Y);var et=this.cTr;this.transformMat.multiply(et),et.cloneFromProps(this.transformMat.props);var en=et.props;this.nativeContext.setTransform(en[0],en[1],en[4],en[5],en[12],en[13])},CVContextData.prototype.opacity=function(Y){var et=this.stack[this.cArrPos].opacity;et*=Y<0?0:Y,this.stack[this.cArrPos].opacity!==et&&(this.currentOpacity!==Y&&(this.nativeContext.globalAlpha=Y,this.currentOpacity=Y),this.stack[this.cArrPos].opacity=et)},CVContextData.prototype.fill=function(Y){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(Y)},CVContextData.prototype.fillRect=function(Y,et,en,ei){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(Y,et,en,ei)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var Y,et=this.canvasContext;for(et.beginPath(),et.moveTo(0,0),et.lineTo(this.data.w,0),et.lineTo(this.data.w,this.data.h),et.lineTo(0,this.data.h),et.lineTo(0,0),et.clip(),Y=this.layers.length-1;Y>=0;Y-=1)(this.completeLayers||this.elements[Y])&&this.elements[Y].renderFrame()},CVCompElement.prototype.destroy=function(){var Y;for(Y=this.layers.length-1;Y>=0;Y-=1)this.elements[Y]&&this.elements[Y].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(Y){return new CVCompElement(Y,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(Y){return new CVCompElement(Y,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var Y=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var et=this.finalTransform.mat.toCSS();Y.transform=et,Y.webkitTransform=et}this.finalTransform._opMdf&&(Y.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var Y;this.data.hasMask?((Y=createNS("rect")).setAttribute("width",this.data.sw),Y.setAttribute("height",this.data.sh),Y.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((Y=createTag("div")).style.width=this.data.sw+"px",Y.style.height=this.data.sh+"px",Y.style.backgroundColor=this.data.sc),this.layerElement.appendChild(Y)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var Y;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),Y=this.svgElement;else{Y=createNS("svg");var et=this.comp.data?this.comp.data:this.globalData.compSize;Y.setAttribute("width",et.w),Y.setAttribute("height",et.h),Y.appendChild(this.shapesContainer),this.layerElement.appendChild(Y)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=Y},HShapeElement.prototype.getTransformedPoint=function(Y,et){var en,ei=Y.length;for(en=0;en<ei;en+=1)et=Y[en].mProps.v.applyToPointArray(et[0],et[1],0);return et},HShapeElement.prototype.calculateShapeBoundingBox=function(Y,et){var en,ei,eo,ea,eu,ec=Y.sh.v,ed=Y.transformers,ef=ec._length;if(!(ef<=1)){for(en=0;en<ef-1;en+=1)ei=this.getTransformedPoint(ed,ec.v[en]),eo=this.getTransformedPoint(ed,ec.o[en]),ea=this.getTransformedPoint(ed,ec.i[en+1]),eu=this.getTransformedPoint(ed,ec.v[en+1]),this.checkBounds(ei,eo,ea,eu,et);ec.c&&(ei=this.getTransformedPoint(ed,ec.v[en]),eo=this.getTransformedPoint(ed,ec.o[en]),ea=this.getTransformedPoint(ed,ec.i[0]),eu=this.getTransformedPoint(ed,ec.v[0]),this.checkBounds(ei,eo,ea,eu,et))}},HShapeElement.prototype.checkBounds=function(Y,et,en,ei,eo){this.getBoundsOfCurve(Y,et,en,ei);var ea=this.shapeBoundingBox;eo.x=bmMin(ea.left,eo.x),eo.xMax=bmMax(ea.right,eo.xMax),eo.y=bmMin(ea.top,eo.y),eo.yMax=bmMax(ea.bottom,eo.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(Y,et,en,ei){for(var eo,ea,eu,ec,ed,ef,eh,ep=[[Y[0],ei[0]],[Y[1],ei[1]]],em=0;em<2;++em)ea=6*Y[em]-12*et[em]+6*en[em],eo=-3*Y[em]+9*et[em]-9*en[em]+3*ei[em],eu=3*et[em]-3*Y[em],ea|=0,eu|=0,0==(eo|=0)&&0===ea||(0===eo?(ec=-eu/ea)>0&&ec<1&&ep[em].push(this.calculateF(ec,Y,et,en,ei,em)):(ed=ea*ea-4*eu*eo)>=0&&((ef=(-ea+bmSqrt(ed))/(2*eo))>0&&ef<1&&ep[em].push(this.calculateF(ef,Y,et,en,ei,em)),(eh=(-ea-bmSqrt(ed))/(2*eo))>0&&eh<1&&ep[em].push(this.calculateF(eh,Y,et,en,ei,em))));this.shapeBoundingBox.left=bmMin.apply(null,ep[0]),this.shapeBoundingBox.top=bmMin.apply(null,ep[1]),this.shapeBoundingBox.right=bmMax.apply(null,ep[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,ep[1])},HShapeElement.prototype.calculateF=function(Y,et,en,ei,eo,ea){return bmPow(1-Y,3)*et[ea]+3*bmPow(1-Y,2)*Y*en[ea]+3*(1-Y)*bmPow(Y,2)*ei[ea]+bmPow(Y,3)*eo[ea]},HShapeElement.prototype.calculateBoundingBox=function(Y,et){var en,ei=Y.length;for(en=0;en<ei;en+=1)Y[en]&&Y[en].sh?this.calculateShapeBoundingBox(Y[en],et):Y[en]&&Y[en].it?this.calculateBoundingBox(Y[en].it,et):Y[en]&&Y[en].style&&Y[en].w&&this.expandStrokeBoundingBox(Y[en].w,et)},HShapeElement.prototype.expandStrokeBoundingBox=function(Y,et){var en=0;if(Y.keyframes){for(var ei=0;ei<Y.keyframes.length;ei+=1){var eo=Y.keyframes[ei].s;eo>en&&(en=eo)}en*=Y.mult}else en=Y.v*Y.mult;et.x-=en,et.xMax+=en,et.y-=en,et.yMax+=en},HShapeElement.prototype.currentBoxContains=function(Y){return this.currentBBox.x<=Y.x&&this.currentBBox.y<=Y.y&&this.currentBBox.width+this.currentBBox.x>=Y.x+Y.width&&this.currentBBox.height+this.currentBBox.y>=Y.y+Y.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var Y=this.tempBoundingBox,et=999999;if(Y.x=et,Y.xMax=-et,Y.y=et,Y.yMax=-et,this.calculateBoundingBox(this.itemsData,Y),Y.width=Y.xMax<Y.x?0:Y.xMax-Y.x,Y.height=Y.yMax<Y.y?0:Y.yMax-Y.y,!this.currentBoxContains(Y)){var en=!1;if(this.currentBBox.w!==Y.width&&(this.currentBBox.w=Y.width,this.shapeCont.setAttribute("width",Y.width),en=!0),this.currentBBox.h!==Y.height&&(this.currentBBox.h=Y.height,this.shapeCont.setAttribute("height",Y.height),en=!0),en||this.currentBBox.x!==Y.x||this.currentBBox.y!==Y.y){this.currentBBox.w=Y.width,this.currentBBox.h=Y.height,this.currentBBox.x=Y.x,this.currentBBox.y=Y.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var ei=this.shapeCont.style,eo="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";ei.transform=eo,ei.webkitTransform=eo}}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var Y=createNS("g");this.maskedElement.appendChild(Y),this.innerElem=Y}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var Y=this.textProperty.currentData;this.renderedLetters=createSizedArray(Y.l?Y.l.length:0);var et=this.innerElem.style,en=Y.fc?this.buildColor(Y.fc):"rgba(0,0,0,0)";et.fill=en,et.color=en,Y.sc&&(et.stroke=this.buildColor(Y.sc),et.strokeWidth=Y.sw+"px");var ei=this.globalData.fontManager.getFontByName(Y.f);if(!this.globalData.fontManager.chars){if(et.fontSize=Y.finalSize+"px",et.lineHeight=Y.finalSize+"px",ei.fClass)this.innerElem.className=ei.fClass;else{et.fontFamily=ei.fFamily;var eo=Y.fWeight,ea=Y.fStyle;et.fontStyle=ea,et.fontWeight=eo}}var eu=Y.l;ep=eu.length;var ec=this.mHelper,ed="",ef=0;for(eh=0;eh<ep;eh+=1){if(this.globalData.fontManager.chars?(this.textPaths[ef]?em=this.textPaths[ef]:((em=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),em.setAttribute("stroke-linejoin",lineJoinEnum[2]),em.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[ef]?ey=(eg=this.textSpans[ef]).children[0]:((eg=createTag("div")).style.lineHeight=0,(ey=createNS("svg")).appendChild(em),styleDiv(eg)))):this.isMasked?em=this.textPaths[ef]?this.textPaths[ef]:createNS("text"):this.textSpans[ef]?(eg=this.textSpans[ef],em=this.textPaths[ef]):(styleDiv(eg=createTag("span")),styleDiv(em=createTag("span")),eg.appendChild(em)),this.globalData.fontManager.chars){var eh,ep,em,eg,ey,eb,ek,ew=this.globalData.fontManager.getCharData(Y.finalText[eh],ei.fStyle,this.globalData.fontManager.getFontByName(Y.f).fFamily);if(ek=ew?ew.data:null,ec.reset(),ek&&ek.shapes&&ek.shapes.length&&(eb=ek.shapes[0].it,ec.scale(Y.finalSize/100,Y.finalSize/100),ed=this.createPathShape(ec,eb),em.setAttribute("d",ed)),this.isMasked)this.innerElem.appendChild(em);else{if(this.innerElem.appendChild(eg),ek&&ek.shapes){document.body.appendChild(ey);var e_=ey.getBBox();ey.setAttribute("width",e_.width+2),ey.setAttribute("height",e_.height+2),ey.setAttribute("viewBox",e_.x-1+" "+(e_.y-1)+" "+(e_.width+2)+" "+(e_.height+2));var eE=ey.style,eC="translate("+(e_.x-1)+"px,"+(e_.y-1)+"px)";eE.transform=eC,eE.webkitTransform=eC,eu[eh].yOffset=e_.y-1}else ey.setAttribute("width",1),ey.setAttribute("height",1);eg.appendChild(ey)}}else if(em.textContent=eu[eh].val,em.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(em);else{this.innerElem.appendChild(eg);var eT=em.style,eS="translate3d(0,"+-Y.finalSize/1.2+"px,0)";eT.transform=eS,eT.webkitTransform=eS}this.isMasked?this.textSpans[ef]=em:this.textSpans[ef]=eg,this.textSpans[ef].style.display="block",this.textPaths[ef]=em,ef+=1}for(;ef<this.textSpans.length;)this.textSpans[ef].style.display="none",ef+=1},HTextElement.prototype.renderInnerContent=function(){if(this.validateText(),this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),Y=this.svgElement.style;var Y,et,en,ei,eo,ea,eu="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";Y.transform=eu,Y.webkitTransform=eu}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var ec=0,ed=this.textAnimator.renderedLetters,ef=this.textProperty.currentData.l;for(et=0,en=ef.length;et<en;et+=1)ef[et].n?ec+=1:(eo=this.textSpans[et],ea=this.textPaths[et],ei=ed[ec],ec+=1,ei._mdf.m&&(this.isMasked?eo.setAttribute("transform",ei.m):(eo.style.webkitTransform=ei.m,eo.style.transform=ei.m)),eo.style.opacity=ei.o,ei.sw&&ei._mdf.sw&&ea.setAttribute("stroke-width",ei.sw),ei.sc&&ei._mdf.sc&&ea.setAttribute("stroke",ei.sc),ei.fc&&ei._mdf.fc&&(ea.setAttribute("fill",ei.fc),ea.style.color=ei.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var eh=this.innerElem.getBBox();this.currentBBox.w!==eh.width&&(this.currentBBox.w=eh.width,this.svgElement.setAttribute("width",eh.width)),this.currentBBox.h!==eh.height&&(this.currentBBox.h=eh.height,this.svgElement.setAttribute("height",eh.height));var ep=1;if(this.currentBBox.w!==eh.width+2*ep||this.currentBBox.h!==eh.height+2*ep||this.currentBBox.x!==eh.x-ep||this.currentBBox.y!==eh.y-ep){this.currentBBox.w=eh.width+2*ep,this.currentBBox.h=eh.height+2*ep,this.currentBBox.x=eh.x-ep,this.currentBBox.y=eh.y-ep,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),Y=this.svgElement.style;var em="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";Y.transform=em,Y.webkitTransform=em}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var Y,et,en,ei,eo=this.comp.threeDElements.length;for(Y=0;Y<eo;Y+=1)if("3d"===(et=this.comp.threeDElements[Y]).type){en=et.perspectiveElem.style,ei=et.container.style;var ea=this.pe.v+"px",eu="0px 0px 0px",ec="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";en.perspective=ea,en.webkitPerspective=ea,ei.transformOrigin=eu,ei.mozTransformOrigin=eu,ei.webkitTransformOrigin=eu,en.transform=ec,en.webkitTransform=ec}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var Y=this._isFirstFrame;if(this.hierarchy)for(en=0,ei=this.hierarchy.length;en<ei;en+=1)Y=this.hierarchy[en].finalTransform.mProp._mdf||Y;if(Y||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(en=ei=this.hierarchy.length-1;en>=0;en-=1){var et=this.hierarchy[en].finalTransform.mProp;this.mat.translate(-et.p.v[0],-et.p.v[1],et.p.v[2]),this.mat.rotateX(-et.or.v[0]).rotateY(-et.or.v[1]).rotateZ(et.or.v[2]),this.mat.rotateX(-et.rx.v).rotateY(-et.ry.v).rotateZ(et.rz.v),this.mat.scale(1/et.s.v[0],1/et.s.v[1],1/et.s.v[2]),this.mat.translate(et.a.v[0],et.a.v[1],et.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var en,ei,eo,ea=Math.sqrt(Math.pow((eo=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]])[0],2)+Math.pow(eo[1],2)+Math.pow(eo[2],2)),eu=[eo[0]/ea,eo[1]/ea,eo[2]/ea],ec=Math.sqrt(eu[2]*eu[2]+eu[0]*eu[0]),ed=Math.atan2(eu[1],ec),ef=Math.atan2(eu[0],-eu[2]);this.mat.rotateY(ef).rotateX(-ed)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var eh=!this._prevMat.equals(this.mat);if((eh||this.pe._mdf)&&this.comp.threeDElements){for(en=0,ei=this.comp.threeDElements.length;en<ei;en+=1)if("3d"===(ep=this.comp.threeDElements[en]).type){if(eh){var ep,em,eg,ey=this.mat.toCSS();(eg=ep.container.style).transform=ey,eg.webkitTransform=ey}this.pe._mdf&&((em=ep.perspectiveElem.style).perspective=this.pe.v+"px",em.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(Y){this.prepareProperties(Y,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var Y=this.globalData.getAssetsPath(this.assetData),et=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",Y),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(et),et.crossOrigin="anonymous",et.src=Y,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(Y,et){var en=Y.getBaseElement();if(en){var ei=this.layers[et];if(ei.ddd&&this.supports3d)this.addTo3dContainer(en,et);else if(this.threeDElements)this.addTo3dContainer(en,et);else{for(var eo,ea,eu=0;eu<et;)this.elements[eu]&&!0!==this.elements[eu]&&this.elements[eu].getBaseElement&&(ea=this.elements[eu],eo=(this.layers[eu].ddd?this.getThreeDContainerByPos(eu):ea.getBaseElement())||eo),eu+=1;eo?ei.ddd&&this.supports3d||this.layerElement.insertBefore(en,eo):ei.ddd&&this.supports3d||this.layerElement.appendChild(en)}}},HybridRendererBase.prototype.createShape=function(Y){return this.supports3d?new HShapeElement(Y,this.globalData,this):new SVGShapeElement(Y,this.globalData,this)},HybridRendererBase.prototype.createText=function(Y){return this.supports3d?new HTextElement(Y,this.globalData,this):new SVGTextLottieElement(Y,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(Y){return this.camera=new HCameraElement(Y,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(Y){return this.supports3d?new HImageElement(Y,this.globalData,this):new IImageElement(Y,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(Y){return this.supports3d?new HSolidElement(Y,this.globalData,this):new ISolidElement(Y,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(Y){for(var et=0,en=this.threeDElements.length;et<en;){if(this.threeDElements[et].startPos<=Y&&this.threeDElements[et].endPos>=Y)return this.threeDElements[et].perspectiveElem;et+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(Y,et){var en,ei,eo=createTag("div");styleDiv(eo);var ea=createTag("div");if(styleDiv(ea),"3d"===et){(en=eo.style).width=this.globalData.compSize.w+"px",en.height=this.globalData.compSize.h+"px";var eu="50% 50%";en.webkitTransformOrigin=eu,en.mozTransformOrigin=eu,en.transformOrigin=eu;var ec="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(ei=ea.style).transform=ec,ei.webkitTransform=ec}eo.appendChild(ea);var ed={container:ea,perspectiveElem:eo,startPos:Y,endPos:Y,type:et};return this.threeDElements.push(ed),ed},HybridRendererBase.prototype.build3dContainers=function(){var Y,et,en=this.layers.length,ei="";for(Y=0;Y<en;Y+=1)this.layers[Y].ddd&&3!==this.layers[Y].ty?("3d"!==ei&&(ei="3d",et=this.createThreeDContainer(Y,"3d")),et.endPos=Math.max(et.endPos,Y)):("2d"!==ei&&(ei="2d",et=this.createThreeDContainer(Y,"2d")),et.endPos=Math.max(et.endPos,Y));for(Y=(en=this.threeDElements.length)-1;Y>=0;Y-=1)this.resizerElem.appendChild(this.threeDElements[Y].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(Y,et){for(var en=0,ei=this.threeDElements.length;en<ei;){if(et<=this.threeDElements[en].endPos){for(var eo,ea=this.threeDElements[en].startPos;ea<et;)this.elements[ea]&&this.elements[ea].getBaseElement&&(eo=this.elements[ea].getBaseElement()),ea+=1;eo?this.threeDElements[en].container.insertBefore(Y,eo):this.threeDElements[en].container.appendChild(Y);break}en+=1}},HybridRendererBase.prototype.configAnimation=function(Y){var et=createTag("div"),en=this.animationItem.wrapper,ei=et.style;ei.width=Y.w+"px",ei.height=Y.h+"px",this.resizerElem=et,styleDiv(et),ei.transformStyle="flat",ei.mozTransformStyle="flat",ei.webkitTransformStyle="flat",this.renderConfig.className&&et.setAttribute("class",this.renderConfig.className),en.appendChild(et),ei.overflow="hidden";var eo=createNS("svg");eo.setAttribute("width","1"),eo.setAttribute("height","1"),styleDiv(eo),this.resizerElem.appendChild(eo);var ea=createNS("defs");eo.appendChild(ea),this.data=Y,this.setupGlobalData(Y,eo),this.globalData.defs=ea,this.layers=Y.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var Y,et=this.layers?this.layers.length:0;for(Y=0;Y<et;Y+=1)this.elements[Y]&&this.elements[Y].destroy&&this.elements[Y].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var Y,et,en,ei,eo=this.animationItem.wrapper.offsetWidth,ea=this.animationItem.wrapper.offsetHeight,eu=eo/ea;this.globalData.compSize.w/this.globalData.compSize.h>eu?(Y=eo/this.globalData.compSize.w,et=eo/this.globalData.compSize.w,en=0,ei=(ea-this.globalData.compSize.h*(eo/this.globalData.compSize.w))/2):(Y=ea/this.globalData.compSize.h,et=ea/this.globalData.compSize.h,en=(eo-this.globalData.compSize.w*(ea/this.globalData.compSize.h))/2,ei=0);var ec=this.resizerElem.style;ec.webkitTransform="matrix3d("+Y+",0,0,0,0,"+et+",0,0,0,0,1,0,"+en+","+ei+",0,1)",ec.transform=ec.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var Y,et=this.globalData.compSize.w,en=this.globalData.compSize.h,ei=this.threeDElements.length;for(Y=0;Y<ei;Y+=1){var eo=this.threeDElements[Y].perspectiveElem.style;eo.webkitPerspective=Math.sqrt(Math.pow(et,2)+Math.pow(en,2))+"px",eo.perspective=eo.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(Y){var et,en=Y.length,ei=createTag("div");for(et=0;et<en;et+=1)if(Y[et].xt){var eo=this.createComp(Y[et],ei,this.globalData.comp,null);eo.initExpressions(),this.globalData.projectInterface.registerComposition(eo)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(Y,et){for(var en,ei=0;ei<et;)this.elements[ei]&&this.elements[ei].getBaseElement&&(en=this.elements[ei].getBaseElement()),ei+=1;en?this.layerElement.insertBefore(Y,en):this.layerElement.appendChild(Y)},HCompElement.prototype.createComp=function(Y){return this.supports3d?new HCompElement(Y,this.globalData,this):new SVGCompElement(Y,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(Y){return this.supports3d?new HCompElement(Y,this.globalData,this):new SVGCompElement(Y,this.globalData,this)};var CompExpressionInterface=function(){return function(Y){function et(et){for(var en=0,ei=Y.layers.length;en<ei;){if(Y.layers[en].nm===et||Y.layers[en].ind===et)return Y.elements[en].layerInterface;en+=1}return null}return Object.defineProperty(et,"_name",{value:Y.data.nm}),et.layer=et,et.pixelAspect=1,et.height=Y.data.h||Y.globalData.compSize.h,et.width=Y.data.w||Y.globalData.compSize.w,et.pixelAspect=1,et.frameDuration=1/Y.globalData.frameRate,et.displayStartTime=0,et.numLayers=Y.layers.length,et}}();function _typeof$2(Y){return(_typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}function seedRandom(Y,et){var en,ei=this,eo=256,ea=6,eu=52,ec="random",ed=et.pow(eo,ea),ef=et.pow(2,eu),eh=2*ef,ep=eo-1;function em(en,ei,eu){var ep=[],em=ek(eb((ei=!0===ei?{entropy:!0}:ei||{}).entropy?[en,e_(Y)]:null===en?ew():en,3),ep),eE=new eg(ep),eC=function(){for(var Y=eE.g(ea),et=ed,en=0;Y<ef;)Y=(Y+en)*eo,et*=eo,en=eE.g(1);for(;Y>=eh;)Y/=2,et/=2,en>>>=1;return(Y+en)/et};return eC.int32=function(){return 0|eE.g(4)},eC.quick=function(){return eE.g(4)/4294967296},eC.double=eC,ek(e_(eE.S),Y),(ei.pass||eu||function(Y,en,ei,eo){return(eo&&(eo.S&&ey(eo,eE),Y.state=function(){return ey(eE,{})}),ei)?(et[ec]=Y,en):Y})(eC,em,"global"in ei?ei.global:this==et,ei.state)}function eg(Y){var et,en=Y.length,ei=this,ea=0,eu=ei.i=ei.j=0,ec=ei.S=[];for(en||(Y=[en++]);ea<eo;)ec[ea]=ea++;for(ea=0;ea<eo;ea++)ec[ea]=ec[eu=ep&eu+Y[ea%en]+(et=ec[ea])],ec[eu]=et;ei.g=function(Y){for(var et,en=0,ea=ei.i,eu=ei.j,ec=ei.S;Y--;)et=ec[ea=ep&ea+1],en=en*eo+ec[ep&(ec[ea]=ec[eu=ep&eu+et])+(ec[eu]=et)];return ei.i=ea,ei.j=eu,en}}function ey(Y,et){return et.i=Y.i,et.j=Y.j,et.S=Y.S.slice(),et}function eb(Y,et){var en,ei=[],eo=_typeof$2(Y);if(et&&"object"==eo)for(en in Y)try{ei.push(eb(Y[en],et-1))}catch(Y){}return ei.length?ei:"string"==eo?Y:Y+"\x00"}function ek(Y,et){for(var en,ei=Y+"",eo=0;eo<ei.length;)et[ep&eo]=ep&(en^=19*et[ep&eo])+ei.charCodeAt(eo++);return e_(et)}function ew(){try{if(en)return e_(en.randomBytes(eo));var et=new Uint8Array(eo);return(ei.crypto||ei.msCrypto).getRandomValues(et),e_(et)}catch(et){var ea=ei.navigator,eu=ea&&ea.plugins;return[+new Date,ei,eu,ei.screen,e_(Y)]}}function e_(Y){return String.fromCharCode.apply(0,Y)}et["seed"+ec]=em,ek(et.random(),Y)}function initialize$2(Y){seedRandom([],Y)}var propTypes={SHAPE:"shape"};function _typeof$1(Y){return(_typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(Y){return Y.constructor===Array||Y.constructor===Float32Array}function isNumerable(Y,et){return"number"===Y||et instanceof Number||"boolean"===Y||"string"===Y}function $bm_neg(Y){var et=_typeof$1(Y);if("number"===et||Y instanceof Number||"boolean"===et)return-Y;if($bm_isInstanceOfArray(Y)){var en,ei=Y.length,eo=[];for(en=0;en<ei;en+=1)eo[en]=-Y[en];return eo}return Y.propType?Y.v:-Y}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(Y,et){var en=_typeof$1(Y),ei=_typeof$1(et);if(isNumerable(en,Y)&&isNumerable(ei,et)||"string"===en||"string"===ei)return Y+et;if($bm_isInstanceOfArray(Y)&&isNumerable(ei,et))return Y=Y.slice(0),Y[0]+=et,Y;if(isNumerable(en,Y)&&$bm_isInstanceOfArray(et))return(et=et.slice(0))[0]=Y+et[0],et;if($bm_isInstanceOfArray(Y)&&$bm_isInstanceOfArray(et)){for(var eo=0,ea=Y.length,eu=et.length,ec=[];eo<ea||eo<eu;)("number"==typeof Y[eo]||Y[eo]instanceof Number)&&("number"==typeof et[eo]||et[eo]instanceof Number)?ec[eo]=Y[eo]+et[eo]:ec[eo]=void 0===et[eo]?Y[eo]:Y[eo]||et[eo],eo+=1;return ec}return 0}var add=sum;function sub(Y,et){var en=_typeof$1(Y),ei=_typeof$1(et);if(isNumerable(en,Y)&&isNumerable(ei,et))return"string"===en&&(Y=parseInt(Y,10)),"string"===ei&&(et=parseInt(et,10)),Y-et;if($bm_isInstanceOfArray(Y)&&isNumerable(ei,et))return Y=Y.slice(0),Y[0]-=et,Y;if(isNumerable(en,Y)&&$bm_isInstanceOfArray(et))return(et=et.slice(0))[0]=Y-et[0],et;if($bm_isInstanceOfArray(Y)&&$bm_isInstanceOfArray(et)){for(var eo=0,ea=Y.length,eu=et.length,ec=[];eo<ea||eo<eu;)("number"==typeof Y[eo]||Y[eo]instanceof Number)&&("number"==typeof et[eo]||et[eo]instanceof Number)?ec[eo]=Y[eo]-et[eo]:ec[eo]=void 0===et[eo]?Y[eo]:Y[eo]||et[eo],eo+=1;return ec}return 0}function mul(Y,et){var en,ei,eo,ea=_typeof$1(Y),eu=_typeof$1(et);if(isNumerable(ea,Y)&&isNumerable(eu,et))return Y*et;if($bm_isInstanceOfArray(Y)&&isNumerable(eu,et)){for(ei=0,en=createTypedArray("float32",eo=Y.length);ei<eo;ei+=1)en[ei]=Y[ei]*et;return en}if(isNumerable(ea,Y)&&$bm_isInstanceOfArray(et)){for(ei=0,en=createTypedArray("float32",eo=et.length);ei<eo;ei+=1)en[ei]=Y*et[ei];return en}return 0}function div(Y,et){var en,ei,eo,ea=_typeof$1(Y),eu=_typeof$1(et);if(isNumerable(ea,Y)&&isNumerable(eu,et))return Y/et;if($bm_isInstanceOfArray(Y)&&isNumerable(eu,et)){for(ei=0,en=createTypedArray("float32",eo=Y.length);ei<eo;ei+=1)en[ei]=Y[ei]/et;return en}if(isNumerable(ea,Y)&&$bm_isInstanceOfArray(et)){for(ei=0,en=createTypedArray("float32",eo=et.length);ei<eo;ei+=1)en[ei]=Y/et[ei];return en}return 0}function mod(Y,et){return"string"==typeof Y&&(Y=parseInt(Y,10)),"string"==typeof et&&(et=parseInt(et,10)),Y%et}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(Y,et,en){if(et>en){var ei=en;en=et,et=ei}return Math.min(Math.max(Y,et),en)}function radiansToDegrees(Y){return Y/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(Y){return Y*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(Y,et){if("number"==typeof Y||Y instanceof Number)return et=et||0,Math.abs(Y-et);et||(et=helperLengthArray);var en,ei=Math.min(Y.length,et.length),eo=0;for(en=0;en<ei;en+=1)eo+=Math.pow(et[en]-Y[en],2);return Math.sqrt(eo)}function normalize(Y){return div(Y,length(Y))}function rgbToHsl(Y){var et,en,ei=Y[0],eo=Y[1],ea=Y[2],eu=Math.max(ei,eo,ea),ec=Math.min(ei,eo,ea),ed=(eu+ec)/2;if(eu===ec)et=0,en=0;else{var ef=eu-ec;switch(en=ed>.5?ef/(2-eu-ec):ef/(eu+ec),eu){case ei:et=(eo-ea)/ef+(eo<ea?6:0);break;case eo:et=(ea-ei)/ef+2;break;case ea:et=(ei-eo)/ef+4}et/=6}return[et,en,ed,Y[3]]}function hue2rgb(Y,et,en){return(en<0&&(en+=1),en>1&&(en-=1),en<1/6)?Y+(et-Y)*6*en:en<.5?et:en<2/3?Y+(et-Y)*(2/3-en)*6:Y}function hslToRgb(Y){var et,en,ei,eo=Y[0],ea=Y[1],eu=Y[2];if(0===ea)et=eu,ei=eu,en=eu;else{var ec=eu<.5?eu*(1+ea):eu+ea-eu*ea,ed=2*eu-ec;et=hue2rgb(ed,ec,eo+1/3),en=hue2rgb(ed,ec,eo),ei=hue2rgb(ed,ec,eo-1/3)}return[et,en,ei,Y[3]]}function linear(Y,et,en,ei,eo){if((void 0===ei||void 0===eo)&&(ei=et,eo=en,et=0,en=1),en<et){var ea,eu=en;en=et,et=eu}if(Y<=et)return ei;if(Y>=en)return eo;var ec=en===et?0:(Y-et)/(en-et);if(!ei.length)return ei+(eo-ei)*ec;var ed=ei.length,ef=createTypedArray("float32",ed);for(ea=0;ea<ed;ea+=1)ef[ea]=ei[ea]+(eo[ea]-ei[ea])*ec;return ef}function random(Y,et){if(void 0===et&&(void 0===Y?(Y=0,et=1):(et=Y,Y=void 0)),et.length){var en,ei=et.length;Y||(Y=createTypedArray("float32",ei));var eo=createTypedArray("float32",ei),ea=BMMath.random();for(en=0;en<ei;en+=1)eo[en]=Y[en]+ea*(et[en]-Y[en]);return eo}return void 0===Y&&(Y=0),Y+BMMath.random()*(et-Y)}function createPath(Y,et,en,ei){var eo,ea,eu,ec=Y.length,ed=shapePool.newElement();ed.setPathData(!!ei,ec);var ef=[0,0];for(eo=0;eo<ec;eo+=1)ea=et&&et[eo]?et[eo]:ef,eu=en&&en[eo]?en[eo]:ef,ed.setTripleAt(Y[eo][0],Y[eo][1],eu[0]+Y[eo][0],eu[1]+Y[eo][1],ea[0]+Y[eo][0],ea[1]+Y[eo][1],eo,!0);return ed}function initiateExpression(elem,data,property){function noOp(Y){return Y}if(!elem.globalData.renderConfig.runExpressions)return noOp;var transform,$bm_transform,content,effect,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,time,velocity,value,text,textIndex,textTotal,selectorValue,parent,val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=(function(Y,et){var en,ei,eo=this.pv.length?this.pv.length:1,ea=createTypedArray("float32",eo);Y=5;var eu=Math.floor(time*Y);for(en=0,ei=0;en<eu;){for(ei=0;ei<eo;ei+=1)ea[ei]+=-et+2*et*BMMath.random();en+=1}var ec=time*Y,ed=ec-Math.floor(ec),ef=createTypedArray("float32",eo);if(eo>1){for(ei=0;ei<eo;ei+=1)ef[ei]=this.pv[ei]+ea[ei]+(-et+2*et*BMMath.random())*ed;return ef}return this.pv+ea[0]+(-et+2*et*BMMath.random())*ed}).bind(this);function loopInDuration(Y,et){return loopIn(Y,et,!0)}function loopOutDuration(Y,et){return loopOut(Y,et,!0)}thisProperty.loopIn&&(loop_in=loopIn=thisProperty.loopIn.bind(thisProperty)),thisProperty.loopOut&&(loop_out=loopOut=thisProperty.loopOut.bind(thisProperty)),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(Y,et){var en=[et[0]-Y[0],et[1]-Y[1],et[2]-Y[2]],ei=Math.atan2(en[0],Math.sqrt(en[1]*en[1]+en[2]*en[2]))/degToRads;return[-Math.atan2(en[1],en[2])/degToRads,ei,0]}function easeOut(Y,et,en,ei,eo){return applyEase(easeOutBez,Y,et,en,ei,eo)}function easeIn(Y,et,en,ei,eo){return applyEase(easeInBez,Y,et,en,ei,eo)}function ease(Y,et,en,ei,eo){return applyEase(easeInOutBez,Y,et,en,ei,eo)}function applyEase(Y,et,en,ei,eo,ea){void 0===eo?(eo=en,ea=ei):et=(et-en)/(ei-en),et>1?et=1:et<0&&(et=0);var eu=Y(et);if($bm_isInstanceOfArray(eo)){var ec,ed=eo.length,ef=createTypedArray("float32",ed);for(ec=0;ec<ed;ec+=1)ef[ec]=(ea[ec]-eo[ec])*eu+eo[ec];return ef}return(ea-eo)*eu+eo}function nearestKey(Y){var et,en,ei,eo=data.k.length;if(data.k.length&&"number"!=typeof data.k[0]){if(en=-1,(Y*=elem.comp.globalData.frameRate)<data.k[0].t)en=1,ei=data.k[0].t;else{for(et=0;et<eo-1;et+=1){if(Y===data.k[et].t){en=et+1,ei=data.k[et].t;break}if(Y>data.k[et].t&&Y<data.k[et+1].t){Y-data.k[et].t>data.k[et+1].t-Y?(en=et+2,ei=data.k[et+1].t):(en=et+1,ei=data.k[et].t);break}}-1===en&&(en=et+1,ei=data.k[et].t)}}else en=0,ei=0;var ea={};return ea.index=en,ea.time=ei/elem.comp.globalData.frameRate,ea}function key(Y){if(!data.k.length||"number"==typeof data.k[0])throw Error("The property has no keyframe at index "+Y);Y-=1,et={time:data.k[Y].t/elem.comp.globalData.frameRate,value:[]};var et,en,ei,eo=Object.prototype.hasOwnProperty.call(data.k[Y],"s")?data.k[Y].s:data.k[Y-1].e;for(en=0,ei=eo.length;en<ei;en+=1)et[en]=eo[en],et.value[en]=eo[en];return et}function framesToTime(Y,et){return et||(et=elem.comp.globalData.frameRate),Y/et}function timeToFrames(Y,et){return Y||0===Y||(Y=time),et||(et=elem.comp.globalData.frameRate),Y*et}function seedRandom(Y){BMMath.seedrandom(randSeed+Y)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(Y,et){return"string"==typeof value?void 0===et?value.substring(Y):value.substring(Y,et):""}function substr(Y,et){return"string"==typeof value?void 0===et?value.substr(Y):value.substr(Y,et):""}function posterizeTime(Y){value=valueAtTime(time=0===Y?0:Math.floor(time*Y)/Y)}var index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(Y){return(value=Y,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType)?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),!transform&&($bm_transform=transform=elem.layerInterface("ADBE Transform Group"),transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!!(elem.hierarchy&&elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var Y={};function et(Y){var et=0,en=[];function ei(){et+=1}function eo(){0==(et-=1)&&eu()}function ea(Y){-1===en.indexOf(Y)&&en.push(Y)}function eu(){var Y,et=en.length;for(Y=0;Y<et;Y+=1)en[Y].release();en.length=0}Y.renderer.compInterface=CompExpressionInterface(Y.renderer),Y.renderer.globalData.projectInterface.registerComposition(Y.renderer),Y.renderer.globalData.pushExpression=ei,Y.renderer.globalData.popExpression=eo,Y.renderer.globalData.registerExpressionProperty=ea}return Y.initExpressions=et,Y.resetFrame=ExpressionManager.resetFrame,Y}(),MaskManagerInterface=function(){function Y(Y,et){this._mask=Y,this._data=et}return Object.defineProperty(Y.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(Y.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(et){var en,ei=createSizedArray(et.viewData.length),eo=et.viewData.length;for(en=0;en<eo;en+=1)ei[en]=new Y(et.viewData[en],et.masksProperties[en]);return function(Y){for(en=0;en<eo;){if(et.masksProperties[en].nm===Y)return ei[en];en+=1}return null}}}(),ExpressionPropertyInterface=function(){var Y={pv:0,v:0,mult:1},et={pv:[0,0,0],v:[0,0,0],mult:1};function en(Y,et,en){Object.defineProperty(Y,"velocity",{get:function(){return et.getVelocityAtTime(et.comp.currentFrame)}}),Y.numKeys=et.keyframes?et.keyframes.length:0,Y.key=function(ei){if(!Y.numKeys)return 0;var eo="";eo="s"in et.keyframes[ei-1]?et.keyframes[ei-1].s:"e"in et.keyframes[ei-2]?et.keyframes[ei-2].e:et.keyframes[ei-2].s;var ea="unidimensional"===en?new Number(eo):Object.assign({},eo);return ea.time=et.keyframes[ei-1].t/et.elem.comp.globalData.frameRate,ea.value="unidimensional"===en?eo[0]:eo,ea},Y.valueAtTime=et.getValueAtTime,Y.speedAtTime=et.getSpeedAtTime,Y.velocityAtTime=et.getVelocityAtTime,Y.propertyGroup=et.propertyGroup}function ei(et){et&&"pv"in et||(et=Y);var ei=1/et.mult,eo=et.pv*ei,ea=new Number(eo);return ea.value=eo,en(ea,et,"unidimensional"),function(){return et.k&&et.getValue(),eo=et.v*ei,ea.value!==eo&&((ea=new Number(eo)).value=eo,en(ea,et,"unidimensional")),ea}}function eo(Y){Y&&"pv"in Y||(Y=et);var ei=1/Y.mult,eo=Y.data&&Y.data.l||Y.pv.length,ea=createTypedArray("float32",eo),eu=createTypedArray("float32",eo);return ea.value=eu,en(ea,Y,"multidimensional"),function(){Y.k&&Y.getValue();for(var et=0;et<eo;et+=1)eu[et]=Y.v[et]*ei,ea[et]=eu[et];return ea}}function ea(){return Y}return function(Y){return Y?"unidimensional"===Y.propType?ei(Y):eo(Y):ea}}(),TransformExpressionInterface=function(){return function(Y){var et,en,ei,eo;function ea(Y){switch(Y){case"scale":case"Scale":case"ADBE Scale":case 6:return ea.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return ea.rotation;case"ADBE Rotate X":return ea.xRotation;case"ADBE Rotate Y":return ea.yRotation;case"position":case"Position":case"ADBE Position":case 2:return ea.position;case"ADBE Position_0":return ea.xPosition;case"ADBE Position_1":return ea.yPosition;case"ADBE Position_2":return ea.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return ea.anchorPoint;case"opacity":case"Opacity":case 11:return ea.opacity;default:return null}}return Object.defineProperty(ea,"rotation",{get:ExpressionPropertyInterface(Y.r||Y.rz)}),Object.defineProperty(ea,"zRotation",{get:ExpressionPropertyInterface(Y.rz||Y.r)}),Object.defineProperty(ea,"xRotation",{get:ExpressionPropertyInterface(Y.rx)}),Object.defineProperty(ea,"yRotation",{get:ExpressionPropertyInterface(Y.ry)}),Object.defineProperty(ea,"scale",{get:ExpressionPropertyInterface(Y.s)}),Y.p?eo=ExpressionPropertyInterface(Y.p):(et=ExpressionPropertyInterface(Y.px),en=ExpressionPropertyInterface(Y.py),Y.pz&&(ei=ExpressionPropertyInterface(Y.pz))),Object.defineProperty(ea,"position",{get:function(){return Y.p?eo():[et(),en(),ei?ei():0]}}),Object.defineProperty(ea,"xPosition",{get:ExpressionPropertyInterface(Y.px)}),Object.defineProperty(ea,"yPosition",{get:ExpressionPropertyInterface(Y.py)}),Object.defineProperty(ea,"zPosition",{get:ExpressionPropertyInterface(Y.pz)}),Object.defineProperty(ea,"anchorPoint",{get:ExpressionPropertyInterface(Y.a)}),Object.defineProperty(ea,"opacity",{get:ExpressionPropertyInterface(Y.o)}),Object.defineProperty(ea,"skew",{get:ExpressionPropertyInterface(Y.sk)}),Object.defineProperty(ea,"skewAxis",{get:ExpressionPropertyInterface(Y.sa)}),Object.defineProperty(ea,"orientation",{get:ExpressionPropertyInterface(Y.or)}),ea}}(),LayerExpressionInterface=function(){function Y(Y){var et=new Matrix;return void 0!==Y?this._elem.finalTransform.mProp.getValueAtTime(Y).clone(et):this._elem.finalTransform.mProp.applyToMatrix(et),et}function et(Y,et){var en=this.getMatrix(et);return en.props[12]=0,en.props[13]=0,en.props[14]=0,this.applyPoint(en,Y)}function en(Y,et){var en=this.getMatrix(et);return this.applyPoint(en,Y)}function ei(Y,et){var en=this.getMatrix(et);return en.props[12]=0,en.props[13]=0,en.props[14]=0,this.invertPoint(en,Y)}function eo(Y,et){var en=this.getMatrix(et);return this.invertPoint(en,Y)}function ea(Y,et){if(this._elem.hierarchy&&this._elem.hierarchy.length){var en,ei=this._elem.hierarchy.length;for(en=0;en<ei;en+=1)this._elem.hierarchy[en].finalTransform.mProp.applyToMatrix(Y)}return Y.applyToPointArray(et[0],et[1],et[2]||0)}function eu(Y,et){if(this._elem.hierarchy&&this._elem.hierarchy.length){var en,ei=this._elem.hierarchy.length;for(en=0;en<ei;en+=1)this._elem.hierarchy[en].finalTransform.mProp.applyToMatrix(Y)}return Y.inversePoint(et)}function ec(Y){var et=new Matrix;if(et.reset(),this._elem.finalTransform.mProp.applyToMatrix(et),this._elem.hierarchy&&this._elem.hierarchy.length){var en,ei=this._elem.hierarchy.length;for(en=0;en<ei;en+=1)this._elem.hierarchy[en].finalTransform.mProp.applyToMatrix(et)}return et.inversePoint(Y)}function ed(){return[1,1,1,1]}return function(ef){function eh(Y){em.mask=new MaskManagerInterface(Y,ef)}function ep(Y){em.effect=Y}function em(Y){switch(Y){case"ADBE Root Vectors Group":case"Contents":case 2:return em.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return eg;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return em.effect;case"ADBE Text Properties":return em.textInterface;default:return null}}em.getMatrix=Y,em.invertPoint=eu,em.applyPoint=ea,em.toWorld=en,em.toWorldVec=et,em.fromWorld=eo,em.fromWorldVec=ei,em.toComp=en,em.fromComp=ec,em.sampleImage=ed,em.sourceRectAtTime=ef.sourceRectAtTime.bind(ef),em._elem=ef;var eg,ey=getDescriptor(eg=TransformExpressionInterface(ef.finalTransform.mProp),"anchorPoint");return Object.defineProperties(em,{hasParent:{get:function(){return ef.hierarchy.length}},parent:{get:function(){return ef.hierarchy[0].layerInterface}},rotation:getDescriptor(eg,"rotation"),scale:getDescriptor(eg,"scale"),position:getDescriptor(eg,"position"),opacity:getDescriptor(eg,"opacity"),anchorPoint:ey,anchor_point:ey,transform:{get:function(){return eg}},active:{get:function(){return ef.isInRange}}}),em.startTime=ef.data.st,em.index=ef.data.ind,em.source=ef.data.refId,em.height=0===ef.data.ty?ef.data.h:100,em.width=0===ef.data.ty?ef.data.w:100,em.inPoint=ef.data.ip/ef.comp.globalData.frameRate,em.outPoint=ef.data.op/ef.comp.globalData.frameRate,em._name=ef.data.nm,em.registerMaskInterface=eh,em.registerEffectsInterface=ep,em}}(),propertyGroupFactory=function(){return function(Y,et){return function(en){return(en=void 0===en?1:en)<=0?Y:et(en-1)}}}(),PropertyInterface=function(){return function(Y,et){var en={_name:Y};return function(Y){return(Y=void 0===Y?1:Y)<=0?en:et(Y-1)}}}(),EffectsExpressionInterface=function(){function Y(en,ei,eo,ea){function eu(Y){for(var et=en.ef,ei=0,eo=et.length;ei<eo;){if(Y===et[ei].nm||Y===et[ei].mn||Y===et[ei].ix){if(5===et[ei].ty)return ef[ei];return ef[ei]()}ei+=1}throw Error()}var ec,ed=propertyGroupFactory(eu,eo),ef=[],eh=en.ef.length;for(ec=0;ec<eh;ec+=1)5===en.ef[ec].ty?ef.push(Y(en.ef[ec],ei.effectElements[ec],ei.effectElements[ec].propertyGroup,ea)):ef.push(et(ei.effectElements[ec],en.ef[ec].ty,ea,ed));return"ADBE Color Control"===en.mn&&Object.defineProperty(eu,"color",{get:function(){return ef[0]()}}),Object.defineProperties(eu,{numProperties:{get:function(){return en.np}},_name:{value:en.nm},propertyGroup:{value:ed}}),eu.enabled=0!==en.en,eu.active=eu.enabled,eu}function et(Y,et,en,ei){var eo=ExpressionPropertyInterface(Y.p);function ea(){return 10===et?en.comp.compInterface(Y.p.v):eo()}return Y.p.setGroupProperty&&Y.p.setGroupProperty(PropertyInterface("",ei)),ea}return{createEffectsInterface:function(et,en){if(et.effectsManager){var ei,eo=[],ea=et.data.ef,eu=et.effectsManager.effectElements.length;for(ei=0;ei<eu;ei+=1)eo.push(Y(ea[ei],et.effectsManager.effectElements[ei],en,et));var ec=et.data.ef||[],ed=function(Y){for(ei=0,eu=ec.length;ei<eu;){if(Y===ec[ei].nm||Y===ec[ei].mn||Y===ec[ei].ix)return eo[ei];ei+=1}return null};return Object.defineProperty(ed,"numProperties",{get:function(){return ec.length}}),ed}return null}}}(),ShapePathInterface=function(){return function(Y,et,en){var ei=et.sh;function eo(Y){return"Shape"===Y||"shape"===Y||"Path"===Y||"path"===Y||"ADBE Vector Shape"===Y||2===Y?eo.path:null}var ea=propertyGroupFactory(eo,en);return ei.setGroupProperty(PropertyInterface("Path",ea)),Object.defineProperties(eo,{path:{get:function(){return ei.k&&ei.getValue(),ei}},shape:{get:function(){return ei.k&&ei.getValue(),ei}},_name:{value:Y.nm},ix:{value:Y.ix},propertyIndex:{value:Y.ix},mn:{value:Y.mn},propertyGroup:{value:en}}),eo}}(),ShapeExpressionInterface=function(){function Y(Y,et,ed){var ey,eb=[],ek=Y?Y.length:0;for(ey=0;ey<ek;ey+=1)"gr"===Y[ey].ty?eb.push(en(Y[ey],et[ey],ed)):"fl"===Y[ey].ty?eb.push(ei(Y[ey],et[ey],ed)):"st"===Y[ey].ty?eb.push(eu(Y[ey],et[ey],ed)):"tm"===Y[ey].ty?eb.push(ec(Y[ey],et[ey],ed)):"tr"===Y[ey].ty||("el"===Y[ey].ty?eb.push(ef(Y[ey],et[ey],ed)):"sr"===Y[ey].ty?eb.push(eh(Y[ey],et[ey],ed)):"sh"===Y[ey].ty?eb.push(ShapePathInterface(Y[ey],et[ey],ed)):"rc"===Y[ey].ty?eb.push(ep(Y[ey],et[ey],ed)):"rd"===Y[ey].ty?eb.push(em(Y[ey],et[ey],ed)):"rp"===Y[ey].ty?eb.push(eg(Y[ey],et[ey],ed)):"gf"===Y[ey].ty?eb.push(eo(Y[ey],et[ey],ed)):eb.push(ea(Y[ey],et[ey],ed)));return eb}function et(et,en,ei){var eo,ea=function(Y){for(var et=0,en=eo.length;et<en;){if(eo[et]._name===Y||eo[et].mn===Y||eo[et].propertyIndex===Y||eo[et].ix===Y||eo[et].ind===Y)return eo[et];et+=1}return"number"==typeof Y?eo[Y-1]:null};ea.propertyGroup=propertyGroupFactory(ea,ei),eo=Y(et.it,en.it,ea.propertyGroup),ea.numProperties=eo.length;var eu=ed(et.it[et.it.length-1],en.it[en.it.length-1],ea.propertyGroup);return ea.transform=eu,ea.propertyIndex=et.cix,ea._name=et.nm,ea}function en(Y,en,ei){var eo=function(Y){switch(Y){case"ADBE Vectors Group":case"Contents":case 2:return eo.content;default:return eo.transform}};eo.propertyGroup=propertyGroupFactory(eo,ei);var ea=et(Y,en,eo.propertyGroup),eu=ed(Y.it[Y.it.length-1],en.it[en.it.length-1],eo.propertyGroup);return eo.content=ea,eo.transform=eu,Object.defineProperty(eo,"_name",{get:function(){return Y.nm}}),eo.numProperties=Y.np,eo.propertyIndex=Y.ix,eo.nm=Y.nm,eo.mn=Y.mn,eo}function ei(Y,et,en){function ei(Y){return"Color"===Y||"color"===Y?ei.color:"Opacity"===Y||"opacity"===Y?ei.opacity:null}return Object.defineProperties(ei,{color:{get:ExpressionPropertyInterface(et.c)},opacity:{get:ExpressionPropertyInterface(et.o)},_name:{value:Y.nm},mn:{value:Y.mn}}),et.c.setGroupProperty(PropertyInterface("Color",en)),et.o.setGroupProperty(PropertyInterface("Opacity",en)),ei}function eo(Y,et,en){function ei(Y){return"Start Point"===Y||"start point"===Y?ei.startPoint:"End Point"===Y||"end point"===Y?ei.endPoint:"Opacity"===Y||"opacity"===Y?ei.opacity:null}return Object.defineProperties(ei,{startPoint:{get:ExpressionPropertyInterface(et.s)},endPoint:{get:ExpressionPropertyInterface(et.e)},opacity:{get:ExpressionPropertyInterface(et.o)},type:{get:function(){return"a"}},_name:{value:Y.nm},mn:{value:Y.mn}}),et.s.setGroupProperty(PropertyInterface("Start Point",en)),et.e.setGroupProperty(PropertyInterface("End Point",en)),et.o.setGroupProperty(PropertyInterface("Opacity",en)),ei}function ea(){return function(){return null}}function eu(Y,et,en){var ei,eo=propertyGroupFactory(ef,en),ea=propertyGroupFactory(ed,eo);function eu(en){Object.defineProperty(ed,Y.d[en].nm,{get:ExpressionPropertyInterface(et.d.dataProps[en].p)})}var ec=Y.d?Y.d.length:0,ed={};for(ei=0;ei<ec;ei+=1)eu(ei),et.d.dataProps[ei].p.setGroupProperty(ea);function ef(Y){return"Color"===Y||"color"===Y?ef.color:"Opacity"===Y||"opacity"===Y?ef.opacity:"Stroke Width"===Y||"stroke width"===Y?ef.strokeWidth:null}return Object.defineProperties(ef,{color:{get:ExpressionPropertyInterface(et.c)},opacity:{get:ExpressionPropertyInterface(et.o)},strokeWidth:{get:ExpressionPropertyInterface(et.w)},dash:{get:function(){return ed}},_name:{value:Y.nm},mn:{value:Y.mn}}),et.c.setGroupProperty(PropertyInterface("Color",eo)),et.o.setGroupProperty(PropertyInterface("Opacity",eo)),et.w.setGroupProperty(PropertyInterface("Stroke Width",eo)),ef}function ec(Y,et,en){function ei(et){return et===Y.e.ix||"End"===et||"end"===et?ei.end:et===Y.s.ix?ei.start:et===Y.o.ix?ei.offset:null}var eo=propertyGroupFactory(ei,en);return ei.propertyIndex=Y.ix,et.s.setGroupProperty(PropertyInterface("Start",eo)),et.e.setGroupProperty(PropertyInterface("End",eo)),et.o.setGroupProperty(PropertyInterface("Offset",eo)),ei.propertyIndex=Y.ix,ei.propertyGroup=en,Object.defineProperties(ei,{start:{get:ExpressionPropertyInterface(et.s)},end:{get:ExpressionPropertyInterface(et.e)},offset:{get:ExpressionPropertyInterface(et.o)},_name:{value:Y.nm}}),ei.mn=Y.mn,ei}function ed(Y,et,en){function ei(et){return Y.a.ix===et||"Anchor Point"===et?ei.anchorPoint:Y.o.ix===et||"Opacity"===et?ei.opacity:Y.p.ix===et||"Position"===et?ei.position:Y.r.ix===et||"Rotation"===et||"ADBE Vector Rotation"===et?ei.rotation:Y.s.ix===et||"Scale"===et?ei.scale:Y.sk&&Y.sk.ix===et||"Skew"===et?ei.skew:Y.sa&&Y.sa.ix===et||"Skew Axis"===et?ei.skewAxis:null}var eo=propertyGroupFactory(ei,en);return et.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",eo)),et.transform.mProps.p.setGroupProperty(PropertyInterface("Position",eo)),et.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",eo)),et.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",eo)),et.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",eo)),et.transform.mProps.sk&&(et.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",eo)),et.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",eo))),et.transform.op.setGroupProperty(PropertyInterface("Opacity",eo)),Object.defineProperties(ei,{opacity:{get:ExpressionPropertyInterface(et.transform.mProps.o)},position:{get:ExpressionPropertyInterface(et.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(et.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(et.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(et.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(et.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(et.transform.mProps.sa)},_name:{value:Y.nm}}),ei.ty="tr",ei.mn=Y.mn,ei.propertyGroup=en,ei}function ef(Y,et,en){function ei(et){return Y.p.ix===et?ei.position:Y.s.ix===et?ei.size:null}var eo=propertyGroupFactory(ei,en);ei.propertyIndex=Y.ix;var ea="tm"===et.sh.ty?et.sh.prop:et.sh;return ea.s.setGroupProperty(PropertyInterface("Size",eo)),ea.p.setGroupProperty(PropertyInterface("Position",eo)),Object.defineProperties(ei,{size:{get:ExpressionPropertyInterface(ea.s)},position:{get:ExpressionPropertyInterface(ea.p)},_name:{value:Y.nm}}),ei.mn=Y.mn,ei}function eh(Y,et,en){function ei(et){return Y.p.ix===et?ei.position:Y.r.ix===et?ei.rotation:Y.pt.ix===et?ei.points:Y.or.ix===et||"ADBE Vector Star Outer Radius"===et?ei.outerRadius:Y.os.ix===et?ei.outerRoundness:Y.ir&&(Y.ir.ix===et||"ADBE Vector Star Inner Radius"===et)?ei.innerRadius:Y.is&&Y.is.ix===et?ei.innerRoundness:null}var eo=propertyGroupFactory(ei,en),ea="tm"===et.sh.ty?et.sh.prop:et.sh;return ei.propertyIndex=Y.ix,ea.or.setGroupProperty(PropertyInterface("Outer Radius",eo)),ea.os.setGroupProperty(PropertyInterface("Outer Roundness",eo)),ea.pt.setGroupProperty(PropertyInterface("Points",eo)),ea.p.setGroupProperty(PropertyInterface("Position",eo)),ea.r.setGroupProperty(PropertyInterface("Rotation",eo)),Y.ir&&(ea.ir.setGroupProperty(PropertyInterface("Inner Radius",eo)),ea.is.setGroupProperty(PropertyInterface("Inner Roundness",eo))),Object.defineProperties(ei,{position:{get:ExpressionPropertyInterface(ea.p)},rotation:{get:ExpressionPropertyInterface(ea.r)},points:{get:ExpressionPropertyInterface(ea.pt)},outerRadius:{get:ExpressionPropertyInterface(ea.or)},outerRoundness:{get:ExpressionPropertyInterface(ea.os)},innerRadius:{get:ExpressionPropertyInterface(ea.ir)},innerRoundness:{get:ExpressionPropertyInterface(ea.is)},_name:{value:Y.nm}}),ei.mn=Y.mn,ei}function ep(Y,et,en){function ei(et){return Y.p.ix===et?ei.position:Y.r.ix===et?ei.roundness:Y.s.ix===et||"Size"===et||"ADBE Vector Rect Size"===et?ei.size:null}var eo=propertyGroupFactory(ei,en),ea="tm"===et.sh.ty?et.sh.prop:et.sh;return ei.propertyIndex=Y.ix,ea.p.setGroupProperty(PropertyInterface("Position",eo)),ea.s.setGroupProperty(PropertyInterface("Size",eo)),ea.r.setGroupProperty(PropertyInterface("Rotation",eo)),Object.defineProperties(ei,{position:{get:ExpressionPropertyInterface(ea.p)},roundness:{get:ExpressionPropertyInterface(ea.r)},size:{get:ExpressionPropertyInterface(ea.s)},_name:{value:Y.nm}}),ei.mn=Y.mn,ei}function em(Y,et,en){function ei(et){return Y.r.ix===et||"Round Corners 1"===et?ei.radius:null}var eo=propertyGroupFactory(ei,en),ea=et;return ei.propertyIndex=Y.ix,ea.rd.setGroupProperty(PropertyInterface("Radius",eo)),Object.defineProperties(ei,{radius:{get:ExpressionPropertyInterface(ea.rd)},_name:{value:Y.nm}}),ei.mn=Y.mn,ei}function eg(Y,et,en){function ei(et){return Y.c.ix===et||"Copies"===et?ei.copies:Y.o.ix===et||"Offset"===et?ei.offset:null}var eo=propertyGroupFactory(ei,en),ea=et;return ei.propertyIndex=Y.ix,ea.c.setGroupProperty(PropertyInterface("Copies",eo)),ea.o.setGroupProperty(PropertyInterface("Offset",eo)),Object.defineProperties(ei,{copies:{get:ExpressionPropertyInterface(ea.c)},offset:{get:ExpressionPropertyInterface(ea.o)},_name:{value:Y.nm}}),ei.mn=Y.mn,ei}return function(et,en,ei){var eo;function ea(Y){if("number"==typeof Y)return 0===(Y=void 0===Y?1:Y)?ei:eo[Y-1];for(var et=0,en=eo.length;et<en;){if(eo[et]._name===Y)return eo[et];et+=1}return null}function eu(){return ei}return ea.propertyGroup=propertyGroupFactory(ea,eu),eo=Y(et,en,ea.propertyGroup),ea.numProperties=eo.length,ea._name="Contents",ea}}(),TextExpressionInterface=function(){return function(Y){var et;function en(Y){return"ADBE Text Document"===Y?en.sourceText:null}return Object.defineProperty(en,"sourceText",{get:function(){Y.textProperty.getValue();var en=Y.textProperty.currentData.t;return et&&en===et.value||((et=new String(en)).value=en||new String(en),Object.defineProperty(et,"style",{get:function(){return{fillColor:Y.textProperty.currentData.fc}}})),et}}),en}}();function _typeof(Y){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}var FootageInterface=function(){var Y=function(Y){var et="",en=Y.getFootageData();function ei(Y){if(en[Y])return(et=Y,"object"===_typeof(en=en[Y]))?ei:en;var eo=Y.indexOf(et);return -1!==eo?"object"===_typeof(en=en[parseInt(Y.substr(eo+et.length),10)])?ei:en:""}return function(){return et="",en=Y.getFootageData(),ei}},et=function(et){function en(Y){return"Outline"===Y?en.outlineInterface():null}return en._name="Outline",en.outlineInterface=Y(et),en};return function(Y){function en(Y){return"Data"===Y?en.dataInterface:null}return en._name="Data",en.dataInterface=et(Y),en}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(Y){return interfaces[Y]||null}var expressionHelpers=function(){return{searchExpressions:function(Y,et,en){et.x&&(en.k=!0,en.x=!0,en.initiateExpression=ExpressionManager.initiateExpression,en.effectsSequence.push(en.initiateExpression(Y,et,en).bind(en)))},getSpeedAtTime:function(Y){var et,en=-.01,ei=this.getValueAtTime(Y),eo=this.getValueAtTime(Y+en),ea=0;if(ei.length){for(et=0;et<ei.length;et+=1)ea+=Math.pow(eo[et]-ei[et],2);ea=100*Math.sqrt(ea)}else ea=0;return ea},getVelocityAtTime:function(Y){if(void 0!==this.vel)return this.vel;var et,en,ei=-.001,eo=this.getValueAtTime(Y),ea=this.getValueAtTime(Y+ei);if(eo.length)for(en=0,et=createTypedArray("float32",eo.length);en<eo.length;en+=1)et[en]=(ea[en]-eo[en])/ei;else et=(ea-eo)/ei;return et},getValueAtTime:function(Y){return Y*=this.elem.globalData.frameRate,(Y-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<Y?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(Y,this._cachingAtTime),this._cachingAtTime.lastFrame=Y),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(Y){this.propertyGroup=Y}}}();function addPropertyDecorator(){function Y(Y,et,en){if(!this.k||!this.keyframes)return this.pv;Y=Y?Y.toLowerCase():"";var ei,eo,ea,eu,ec,ed=this.comp.renderedFrame,ef=this.keyframes,eh=ef[ef.length-1].t;if(ed<=eh)return this.pv;if(en?(ei=et?Math.abs(eh-this.elem.comp.globalData.frameRate*et):Math.max(0,eh-this.elem.data.ip),eo=eh-ei):((!et||et>ef.length-1)&&(et=ef.length-1),ei=eh-(eo=ef[ef.length-1-et].t)),"pingpong"===Y){if(Math.floor((ed-eo)/ei)%2!=0)return this.getValueAtTime((ei-(ed-eo)%ei+eo)/this.comp.globalData.frameRate,0)}else if("offset"===Y){var ep=this.getValueAtTime(eo/this.comp.globalData.frameRate,0),em=this.getValueAtTime(eh/this.comp.globalData.frameRate,0),eg=this.getValueAtTime(((ed-eo)%ei+eo)/this.comp.globalData.frameRate,0),ey=Math.floor((ed-eo)/ei);if(this.pv.length){for(ea=0,eu=(ec=Array(ep.length)).length;ea<eu;ea+=1)ec[ea]=(em[ea]-ep[ea])*ey+eg[ea];return ec}return(em-ep)*ey+eg}else if("continue"===Y){var eb=this.getValueAtTime(eh/this.comp.globalData.frameRate,0),ek=this.getValueAtTime((eh-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(ea=0,eu=(ec=Array(eb.length)).length;ea<eu;ea+=1)ec[ea]=eb[ea]+(eb[ea]-ek[ea])*((ed-eh)/this.comp.globalData.frameRate)/5e-4;return ec}return eb+(eb-ek)*((ed-eh)/.001)}return this.getValueAtTime(((ed-eo)%ei+eo)/this.comp.globalData.frameRate,0)}function et(Y,et,en){if(!this.k)return this.pv;Y=Y?Y.toLowerCase():"";var ei,eo,ea,eu,ec,ed=this.comp.renderedFrame,ef=this.keyframes,eh=ef[0].t;if(ed>=eh)return this.pv;if(en?(ei=et?Math.abs(this.elem.comp.globalData.frameRate*et):Math.max(0,this.elem.data.op-eh),eo=eh+ei):((!et||et>ef.length-1)&&(et=ef.length-1),ei=(eo=ef[et].t)-eh),"pingpong"===Y){if(Math.floor((eh-ed)/ei)%2==0)return this.getValueAtTime(((eh-ed)%ei+eh)/this.comp.globalData.frameRate,0)}else if("offset"===Y){var ep=this.getValueAtTime(eh/this.comp.globalData.frameRate,0),em=this.getValueAtTime(eo/this.comp.globalData.frameRate,0),eg=this.getValueAtTime((ei-(eh-ed)%ei+eh)/this.comp.globalData.frameRate,0),ey=Math.floor((eh-ed)/ei)+1;if(this.pv.length){for(ea=0,eu=(ec=Array(ep.length)).length;ea<eu;ea+=1)ec[ea]=eg[ea]-(em[ea]-ep[ea])*ey;return ec}return eg-(em-ep)*ey}else if("continue"===Y){var eb=this.getValueAtTime(eh/this.comp.globalData.frameRate,0),ek=this.getValueAtTime((eh+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(ea=0,eu=(ec=Array(eb.length)).length;ea<eu;ea+=1)ec[ea]=eb[ea]+(eb[ea]-ek[ea])*(eh-ed)/.001;return ec}return eb+(eb-ek)*(eh-ed)/.001}return this.getValueAtTime((ei-((eh-ed)%ei+eh))/this.comp.globalData.frameRate,0)}function en(Y,et){if(!this.k||(Y=.5*(Y||.4),(et=Math.floor(et||5))<=1))return this.pv;var en,ei,eo=this.comp.renderedFrame/this.comp.globalData.frameRate,ea=eo-Y,eu=eo+Y,ec=et>1?(eu-ea)/(et-1):1,ed=0,ef=0;for(en=this.pv.length?createTypedArray("float32",this.pv.length):0;ed<et;){if(ei=this.getValueAtTime(ea+ed*ec),this.pv.length)for(ef=0;ef<this.pv.length;ef+=1)en[ef]+=ei[ef];else en+=ei;ed+=1}if(this.pv.length)for(ef=0;ef<this.pv.length;ef+=1)en[ef]/=et;else en/=et;return en}function ei(Y){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var et=this._transformCachingAtTime.v;if(et.cloneFromProps(this.pre.props),this.appliedTransformations<1){var en=this.a.getValueAtTime(Y);et.translate(-en[0]*this.a.mult,-en[1]*this.a.mult,en[2]*this.a.mult)}if(this.appliedTransformations<2){var ei=this.s.getValueAtTime(Y);et.scale(ei[0]*this.s.mult,ei[1]*this.s.mult,ei[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var eo=this.sk.getValueAtTime(Y),ea=this.sa.getValueAtTime(Y);et.skewFromAxis(-eo*this.sk.mult,ea*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var eu=this.r.getValueAtTime(Y);et.rotate(-eu*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var ec=this.rz.getValueAtTime(Y),ed=this.ry.getValueAtTime(Y),ef=this.rx.getValueAtTime(Y),eh=this.or.getValueAtTime(Y);et.rotateZ(-ec*this.rz.mult).rotateY(ed*this.ry.mult).rotateX(ef*this.rx.mult).rotateZ(-eh[2]*this.or.mult).rotateY(eh[1]*this.or.mult).rotateX(eh[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var ep=this.px.getValueAtTime(Y),em=this.py.getValueAtTime(Y);if(this.data.p.z){var eg=this.pz.getValueAtTime(Y);et.translate(ep*this.px.mult,em*this.py.mult,-eg*this.pz.mult)}else et.translate(ep*this.px.mult,em*this.py.mult,0)}else{var ey=this.p.getValueAtTime(Y);et.translate(ey[0]*this.p.mult,ey[1]*this.p.mult,-ey[2]*this.p.mult)}return et}function eo(){return this.v.clone(new Matrix)}var ea=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(Y,et,en){var eu=ea(Y,et,en);return eu.dynamicProperties.length?eu.getValueAtTime=ei.bind(eu):eu.getValueAtTime=eo.bind(eu),eu.setGroupProperty=expressionHelpers.setGroupProperty,eu};var eu=PropertyFactory.getProp;function ec(Y){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),Y*=this.elem.globalData.frameRate,(Y-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<Y?this._caching.lastIndex:0,this._cachingAtTime.lastTime=Y,this.interpolateShape(Y,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}PropertyFactory.getProp=function(ei,eo,ea,ec,ed){var ef=eu(ei,eo,ea,ec,ed);ef.kf?ef.getValueAtTime=expressionHelpers.getValueAtTime.bind(ef):ef.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(ef),ef.setGroupProperty=expressionHelpers.setGroupProperty,ef.loopOut=Y,ef.loopIn=et,ef.smooth=en,ef.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(ef),ef.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(ef),ef.numKeys=1===eo.a?eo.k.length:0,ef.propertyIndex=eo.ix;var eh=0;return 0!==ea&&(eh=createTypedArray("float32",1===eo.a?eo.k[0].s.length:eo.k.length)),ef._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:eh},expressionHelpers.searchExpressions(ei,eo,ef),ef.k&&ed.addDynamicProperty(ef),ef};var ed=ShapePropertyFactory.getConstructorFunction(),ef=ShapePropertyFactory.getKeyframedConstructorFunction();function eh(){}eh.prototype={vertices:function(Y,et){this.k&&this.getValue();var en,ei=this.v;void 0!==et&&(ei=this.getValueAtTime(et,0));var eo=ei._length,ea=ei[Y],eu=ei.v,ec=createSizedArray(eo);for(en=0;en<eo;en+=1)"i"===Y||"o"===Y?ec[en]=[ea[en][0]-eu[en][0],ea[en][1]-eu[en][1]]:ec[en]=[ea[en][0],ea[en][1]];return ec},points:function(Y){return this.vertices("v",Y)},inTangents:function(Y){return this.vertices("i",Y)},outTangents:function(Y){return this.vertices("o",Y)},isClosed:function(){return this.v.c},pointOnPath:function(Y,et){var en,ei=this.v;void 0!==et&&(ei=this.getValueAtTime(et,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(ei));for(var eo=this._segmentsLength,ea=eo.lengths,eu=eo.totalLength*Y,ec=0,ed=ea.length,ef=0;ec<ed;){if(ef+ea[ec].addedLength>eu){var eh=ec,ep=ei.c&&ec===ed-1?0:ec+1,em=(eu-ef)/ea[ec].addedLength;en=bez.getPointInSegment(ei.v[eh],ei.v[ep],ei.o[eh],ei.i[ep],em,ea[ec]);break}ef+=ea[ec].addedLength,ec+=1}return en||(en=ei.c?[ei.v[0][0],ei.v[0][1]]:[ei.v[ei._length-1][0],ei.v[ei._length-1][1]]),en},vectorOnPath:function(Y,et,en){1==Y?Y=this.v.c:0==Y&&(Y=.999);var ei=this.pointOnPath(Y,et),eo=this.pointOnPath(Y+.001,et),ea=eo[0]-ei[0],eu=eo[1]-ei[1],ec=Math.sqrt(Math.pow(ea,2)+Math.pow(eu,2));return 0===ec?[0,0]:"tangent"===en?[ea/ec,eu/ec]:[-eu/ec,ea/ec]},tangentOnPath:function(Y,et){return this.vectorOnPath(Y,et,"tangent")},normalOnPath:function(Y,et){return this.vectorOnPath(Y,et,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([eh],ed),extendPrototype([eh],ef),ef.prototype.getValueAtTime=ec,ef.prototype.initiateExpression=ExpressionManager.initiateExpression;var ep=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(Y,et,en,ei,eo){var ea=ep(Y,et,en,ei,eo);return ea.propertyIndex=et.ix,ea.lock=!1,3===en?expressionHelpers.searchExpressions(Y,et.pt,ea):4===en&&expressionHelpers.searchExpressions(Y,et.ks,ea),ea.k&&Y.addDynamicProperty(ea),ea}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function Y(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(Y,et){var en=this.calculateExpression(et);if(Y.t!==en){var ei={};return this.copyData(ei,Y),ei.t=en.toString(),ei.__complete=!1,ei}return Y},TextProperty.prototype.searchProperty=function(){var Y=this.searchKeyframes(),et=this.searchExpressions();return this.kf=Y||et,this.kf},TextProperty.prototype.searchExpressions=Y}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(Y,et){var en,ei,eo=createNS("feMerge");for(eo.setAttribute("result",Y),ei=0;ei<et.length;ei+=1)(en=createNS("feMergeNode")).setAttribute("in",et[ei]),eo.appendChild(en),eo.appendChild(en);return eo}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(Y,et,en,ei,eo){this.filterManager=et;var ea=createNS("feColorMatrix");ea.setAttribute("type","matrix"),ea.setAttribute("color-interpolation-filters","linearRGB"),ea.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=ea,ea.setAttribute("result",ei+"_tint_1"),Y.appendChild(ea),(ea=createNS("feColorMatrix")).setAttribute("type","matrix"),ea.setAttribute("color-interpolation-filters","sRGB"),ea.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),ea.setAttribute("result",ei+"_tint_2"),Y.appendChild(ea),this.matrixFilter=ea;var eu=this.createMergeNode(ei,[eo,ei+"_tint_1",ei+"_tint_2"]);Y.appendChild(eu)}function SVGFillFilter(Y,et,en,ei){this.filterManager=et;var eo=createNS("feColorMatrix");eo.setAttribute("type","matrix"),eo.setAttribute("color-interpolation-filters","sRGB"),eo.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),eo.setAttribute("result",ei),Y.appendChild(eo),this.matrixFilter=eo}function SVGStrokeEffect(Y,et,en){this.initialized=!1,this.filterManager=et,this.elem=en,this.paths=[]}function SVGTritoneFilter(Y,et,en,ei){this.filterManager=et;var eo=createNS("feColorMatrix");eo.setAttribute("type","matrix"),eo.setAttribute("color-interpolation-filters","linearRGB"),eo.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),Y.appendChild(eo);var ea=createNS("feComponentTransfer");ea.setAttribute("color-interpolation-filters","sRGB"),ea.setAttribute("result",ei),this.matrixFilter=ea;var eu=createNS("feFuncR");eu.setAttribute("type","table"),ea.appendChild(eu),this.feFuncR=eu;var ec=createNS("feFuncG");ec.setAttribute("type","table"),ea.appendChild(ec),this.feFuncG=ec;var ed=createNS("feFuncB");ed.setAttribute("type","table"),ea.appendChild(ed),this.feFuncB=ed,Y.appendChild(ea)}function SVGProLevelsFilter(Y,et,en,ei){this.filterManager=et;var eo=this.filterManager.effectElements,ea=createNS("feComponentTransfer");(eo[10].p.k||0!==eo[10].p.v||eo[11].p.k||1!==eo[11].p.v||eo[12].p.k||1!==eo[12].p.v||eo[13].p.k||0!==eo[13].p.v||eo[14].p.k||1!==eo[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",ea)),(eo[17].p.k||0!==eo[17].p.v||eo[18].p.k||1!==eo[18].p.v||eo[19].p.k||1!==eo[19].p.v||eo[20].p.k||0!==eo[20].p.v||eo[21].p.k||1!==eo[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",ea)),(eo[24].p.k||0!==eo[24].p.v||eo[25].p.k||1!==eo[25].p.v||eo[26].p.k||1!==eo[26].p.v||eo[27].p.k||0!==eo[27].p.v||eo[28].p.k||1!==eo[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",ea)),(eo[31].p.k||0!==eo[31].p.v||eo[32].p.k||1!==eo[32].p.v||eo[33].p.k||1!==eo[33].p.v||eo[34].p.k||0!==eo[34].p.v||eo[35].p.k||1!==eo[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",ea)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(ea.setAttribute("color-interpolation-filters","sRGB"),Y.appendChild(ea)),(eo[3].p.k||0!==eo[3].p.v||eo[4].p.k||1!==eo[4].p.v||eo[5].p.k||1!==eo[5].p.v||eo[6].p.k||0!==eo[6].p.v||eo[7].p.k||1!==eo[7].p.v)&&((ea=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),ea.setAttribute("result",ei),Y.appendChild(ea),this.feFuncRComposed=this.createFeFunc("feFuncR",ea),this.feFuncGComposed=this.createFeFunc("feFuncG",ea),this.feFuncBComposed=this.createFeFunc("feFuncB",ea))}function SVGDropShadowEffect(Y,et,en,ei,eo){var ea=et.container.globalData.renderConfig.filterSize,eu=et.data.fs||ea;Y.setAttribute("x",eu.x||ea.x),Y.setAttribute("y",eu.y||ea.y),Y.setAttribute("width",eu.width||ea.width),Y.setAttribute("height",eu.height||ea.height),this.filterManager=et;var ec=createNS("feGaussianBlur");ec.setAttribute("in","SourceAlpha"),ec.setAttribute("result",ei+"_drop_shadow_1"),ec.setAttribute("stdDeviation","0"),this.feGaussianBlur=ec,Y.appendChild(ec);var ed=createNS("feOffset");ed.setAttribute("dx","25"),ed.setAttribute("dy","0"),ed.setAttribute("in",ei+"_drop_shadow_1"),ed.setAttribute("result",ei+"_drop_shadow_2"),this.feOffset=ed,Y.appendChild(ed);var ef=createNS("feFlood");ef.setAttribute("flood-color","#00ff00"),ef.setAttribute("flood-opacity","1"),ef.setAttribute("result",ei+"_drop_shadow_3"),this.feFlood=ef,Y.appendChild(ef);var eh=createNS("feComposite");eh.setAttribute("in",ei+"_drop_shadow_3"),eh.setAttribute("in2",ei+"_drop_shadow_2"),eh.setAttribute("operator","in"),eh.setAttribute("result",ei+"_drop_shadow_4"),Y.appendChild(eh);var ep=this.createMergeNode(ei,[ei+"_drop_shadow_4",eo]);Y.appendChild(ep)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(Y){if(Y||this.filterManager._mdf){var et=this.filterManager.effectElements[0].p.v,en=this.filterManager.effectElements[1].p.v,ei=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+ei+" 0"),this.matrixFilter.setAttribute("values",en[0]-et[0]+" 0 0 0 "+et[0]+" "+(en[1]-et[1])+" 0 0 0 "+et[1]+" "+(en[2]-et[2])+" 0 0 0 "+et[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(Y){if(Y||this.filterManager._mdf){var et=this.filterManager.effectElements[2].p.v,en=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+et[0]+" 0 0 0 0 "+et[1]+" 0 0 0 0 "+et[2]+" 0 0 0 "+en+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var Y,et,en,ei,eo=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(ei=this.elem.maskManager.masksProperties.length,en=0):ei=(en=this.filterManager.effectElements[0].p.v-1)+1,(et=createNS("g")).setAttribute("fill","none"),et.setAttribute("stroke-linecap","round"),et.setAttribute("stroke-dashoffset",1);en<ei;en+=1)Y=createNS("path"),et.appendChild(Y),this.paths.push({p:Y,m:en});if(3===this.filterManager.effectElements[10].p.v){var ea=createNS("mask"),eu=createElementID();ea.setAttribute("id",eu),ea.setAttribute("mask-type","alpha"),ea.appendChild(et),this.elem.globalData.defs.appendChild(ea);var ec=createNS("g");for(ec.setAttribute("mask","url("+getLocationHref()+"#"+eu+")");eo[0];)ec.appendChild(eo[0]);this.elem.layerElement.appendChild(ec),this.masker=ea,et.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(eo=this.elem.layerElement.children||this.elem.layerElement.childNodes;eo.length;)this.elem.layerElement.removeChild(eo[0]);this.elem.layerElement.appendChild(et),this.elem.layerElement.removeAttribute("mask"),et.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=et},SVGStrokeEffect.prototype.renderFrame=function(Y){this.initialized||this.initialize();var et=this.paths.length;for(en=0;en<et;en+=1)if(-1!==this.paths[en].m&&(ei=this.elem.maskManager.viewData[this.paths[en].m],eo=this.paths[en].p,(Y||this.filterManager._mdf||ei.prop._mdf)&&eo.setAttribute("d",ei.lastPath),Y||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||ei.prop._mdf)){if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var en,ei,eo,ea,eu,ec=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),ed=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),ef=eo.getTotalLength();ea="0 0 0 "+ef*ec+" ";var eh=Math.floor(ef*(ed-ec)/(1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01));for(eu=0;eu<eh;eu+=1)ea+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";ea+="0 "+10*ef+" 0 0"}else ea="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;eo.setAttribute("stroke-dasharray",ea)}if((Y||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(Y||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(Y||this.filterManager.effectElements[3].p._mdf)){var ep=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*ep[0])+","+bmFloor(255*ep[1])+","+bmFloor(255*ep[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(Y){if(Y||this.filterManager._mdf){var et=this.filterManager.effectElements[0].p.v,en=this.filterManager.effectElements[1].p.v,ei=this.filterManager.effectElements[2].p.v,eo=ei[0]+" "+en[0]+" "+et[0],ea=ei[1]+" "+en[1]+" "+et[1],eu=ei[2]+" "+en[2]+" "+et[2];this.feFuncR.setAttribute("tableValues",eo),this.feFuncG.setAttribute("tableValues",ea),this.feFuncB.setAttribute("tableValues",eu)}},SVGProLevelsFilter.prototype.createFeFunc=function(Y,et){var en=createNS(Y);return en.setAttribute("type","table"),et.appendChild(en),en},SVGProLevelsFilter.prototype.getTableValue=function(Y,et,en,ei,eo){for(var ea,eu,ec=0,ed=256,ef=Math.min(Y,et),eh=Math.max(Y,et),ep=Array.call(null,{length:256}),em=0,eg=eo-ei,ey=et-Y;ec<=256;)eu=(ea=ec/256)<=ef?ey<0?eo:ei:ea>=eh?ey<0?ei:eo:ei+eg*Math.pow((ea-Y)/ey,1/en),ep[em]=eu,em+=1,ec+=256/(ed-1);return ep.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(Y){if(Y||this.filterManager._mdf){var et,en=this.filterManager.effectElements;this.feFuncRComposed&&(Y||en[3].p._mdf||en[4].p._mdf||en[5].p._mdf||en[6].p._mdf||en[7].p._mdf)&&(et=this.getTableValue(en[3].p.v,en[4].p.v,en[5].p.v,en[6].p.v,en[7].p.v),this.feFuncRComposed.setAttribute("tableValues",et),this.feFuncGComposed.setAttribute("tableValues",et),this.feFuncBComposed.setAttribute("tableValues",et)),this.feFuncR&&(Y||en[10].p._mdf||en[11].p._mdf||en[12].p._mdf||en[13].p._mdf||en[14].p._mdf)&&(et=this.getTableValue(en[10].p.v,en[11].p.v,en[12].p.v,en[13].p.v,en[14].p.v),this.feFuncR.setAttribute("tableValues",et)),this.feFuncG&&(Y||en[17].p._mdf||en[18].p._mdf||en[19].p._mdf||en[20].p._mdf||en[21].p._mdf)&&(et=this.getTableValue(en[17].p.v,en[18].p.v,en[19].p.v,en[20].p.v,en[21].p.v),this.feFuncG.setAttribute("tableValues",et)),this.feFuncB&&(Y||en[24].p._mdf||en[25].p._mdf||en[26].p._mdf||en[27].p._mdf||en[28].p._mdf)&&(et=this.getTableValue(en[24].p.v,en[25].p.v,en[26].p.v,en[27].p.v,en[28].p.v),this.feFuncB.setAttribute("tableValues",et)),this.feFuncA&&(Y||en[31].p._mdf||en[32].p._mdf||en[33].p._mdf||en[34].p._mdf||en[35].p._mdf)&&(et=this.getTableValue(en[31].p.v,en[32].p.v,en[33].p.v,en[34].p.v,en[35].p.v),this.feFuncA.setAttribute("tableValues",et))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(Y){if(Y||this.filterManager._mdf){if((Y||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),Y||this.filterManager.effectElements[0].p._mdf){var et=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*et[0]),Math.round(255*et[1]),Math.round(255*et[2])))}if((Y||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),Y||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var en=this.filterManager.effectElements[3].p.v,ei=(this.filterManager.effectElements[2].p.v-90)*degToRads,eo=en*Math.cos(ei),ea=en*Math.sin(ei);this.feOffset.setAttribute("dx",eo),this.feOffset.setAttribute("dy",ea)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(Y,et,en){this.initialized=!1,this.filterManager=et,this.filterElem=Y,this.elem=en,en.matteElement=createNS("g"),en.matteElement.appendChild(en.layerElement),en.matteElement.appendChild(en.transformedElement),en.baseElement=en.matteElement}function SVGGaussianBlurEffect(Y,et,en,ei){Y.setAttribute("x","-100%"),Y.setAttribute("y","-100%"),Y.setAttribute("width","300%"),Y.setAttribute("height","300%"),this.filterManager=et;var eo=createNS("feGaussianBlur");eo.setAttribute("result",ei),Y.appendChild(eo),this.feGaussianBlur=eo}function TransformEffect(){}function SVGTransformEffect(Y,et){this.init(et)}function CVTransformEffect(Y){this.init(Y)}return SVGMatte3Effect.prototype.findSymbol=function(Y){for(var et=0,en=_svgMatteSymbols.length;et<en;){if(_svgMatteSymbols[et]===Y)return _svgMatteSymbols[et];et+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(Y,et){var en,ei=Y.layerElement.parentNode;if(ei){for(var eo=ei.children,ea=0,eu=eo.length;ea<eu&&eo[ea]!==Y.layerElement;)ea+=1;ea<=eu-2&&(en=eo[ea+1]);var ec=createNS("use");ec.setAttribute("href","#"+et),en?ei.insertBefore(ec,en):ei.appendChild(ec)}},SVGMatte3Effect.prototype.setElementAsMask=function(Y,et){if(!this.findSymbol(et)){var en=createElementID(),ei=createNS("mask");ei.setAttribute("id",et.layerId),ei.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(et);var eo=Y.globalData.defs;eo.appendChild(ei);var ea=createNS("symbol");ea.setAttribute("id",en),this.replaceInParent(et,en),ea.appendChild(et.layerElement),eo.appendChild(ea);var eu=createNS("use");eu.setAttribute("href","#"+en),ei.appendChild(eu),et.data.hd=!1,et.show()}Y.setMatte(et.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var Y=this.filterManager.effectElements[0].p.v,et=this.elem.comp.elements,en=0,ei=et.length;en<ei;)et[en]&&et[en].data.ind===Y&&this.setElementAsMask(this.elem,et[en]),en+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(Y){if(Y||this.filterManager._mdf){var et=.3,en=this.filterManager.effectElements[0].p.v*et,ei=this.filterManager.effectElements[1].p.v,eo=3==ei?0:en,ea=2==ei?0:en;this.feGaussianBlur.setAttribute("stdDeviation",eo+" "+ea);var eu=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",eu)}},TransformEffect.prototype.init=function(Y){this.effectsManager=Y,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(Y){if(this._opMdf=!1,this._mdf=!1,Y||this.effectsManager._mdf){var et=this.effectsManager.effectElements,en=et[0].p.v,ei=et[1].p.v,eo=1===et[2].p.v,ea=et[3].p.v,eu=eo?ea:et[4].p.v,ec=et[5].p.v,ed=et[6].p.v,ef=et[7].p.v;this.matrix.reset(),this.matrix.translate(-en[0],-en[1],en[2]),this.matrix.scale(.01*eu,.01*ea,1),this.matrix.rotate(-ef*degToRads),this.matrix.skewFromAxis(-ec*degToRads,(ed+90)*degToRads),this.matrix.translate(ei[0],ei[1],0),this._mdf=!0,this.opacity!==et[8].p.v&&(this.opacity=et[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})},60348:function(Y){var et="undefined"!=typeof window?window:self;Y.exports=et.crypto||et.msCrypto},64876:function(Y,et,en){Y.exports=function(Y){if(!Y)return Math.random;var et=4294967296,en=new Uint32Array(1);return function(){return Y.getRandomValues(en)[0]/et}}(en(60348))},20326:function(Y,et,en){"use strict";en.d(et,{Z:function(){return eu}});var ei=Number.isNaN||function(Y){return"number"==typeof Y&&Y!=Y};function eo(Y,et){return!!(Y===et||ei(Y)&&ei(et))}function ea(Y,et){if(Y.length!==et.length)return!1;for(var en=0;en<Y.length;en++)if(!eo(Y[en],et[en]))return!1;return!0}function eu(Y,et){void 0===et&&(et=ea);var en=null;function ei(){for(var ei=[],eo=0;eo<arguments.length;eo++)ei[eo]=arguments[eo];if(en&&en.lastThis===this&&et(ei,en.lastArgs))return en.lastResult;var ea=Y.apply(this,ei);return en={lastResult:ea,lastArgs:ei,lastThis:this},ea}return ei.clear=function(){en=null},ei}},10653:function(Y,et,en){"use strict";var ei=en(72282),eo=en(86995),ea=en(18810),eu=Object.prototype.toString;function ec(Y){return"[object Date]"===eu.call(Y)}function ed(Y){return"[object Number]"===eu.call(Y)}function ef(Y){return Y<315576e5?1e3*Y:Y}Y.exports=function(Y){return ec(Y)?Y:ed(Y)?new Date(ef(Y)):ei.is(Y)?ei.parse(Y):eo.is(Y)?eo.parse(Y):ea.is(Y)?ea.parse(Y):new Date(Y)}},86995:function(Y,et){"use strict";var en=/\d{13}/;et.is=function(Y){return en.test(Y)},et.parse=function(Y){return Y=parseInt(Y,10),new Date(Y)}},18810:function(Y,et){"use strict";var en=/\d{10}/;et.is=function(Y){return en.test(Y)},et.parse=function(Y){var et=1e3*parseInt(Y,10);return new Date(et)}},28172:function(Y,et,en){"use strict";var ei=en(94146);Object.defineProperty(et,"__esModule",{value:!0}),et.BroadcastChannel=eg,et.apiBaseUrl=ep,et.fetchData=ef,et.now=em;var eo=ei(en(55756)),ea=ei(en(79862)),eu=ei(en(7392));function ec(Y,et){var en=Object.keys(Y);if(Object.getOwnPropertySymbols){var ei=Object.getOwnPropertySymbols(Y);et&&(ei=ei.filter(function(et){return Object.getOwnPropertyDescriptor(Y,et).enumerable})),en.push.apply(en,ei)}return en}function ed(Y){for(var et=1;et<arguments.length;et++){var en=null!=arguments[et]?arguments[et]:{};et%2?ec(Object(en),!0).forEach(function(et){(0,ea.default)(Y,et,en[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(en)):ec(Object(en)).forEach(function(et){Object.defineProperty(Y,et,Object.getOwnPropertyDescriptor(en,et))})}return Y}function ef(Y,et,en){return eh.apply(this,arguments)}function eh(){return(eh=(0,eu.default)(eo.default.mark(function Y(et,en,ei){var ea,eu,ec,ef,eh,em,eg,ey,eb,ek=arguments;return eo.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return eu=(ea=ek.length>3&&void 0!==ek[3]?ek[3]:{}).ctx,ef=void 0===(ec=ea.req)?null==eu?void 0:eu.req:ec,eh="".concat(ep(en),"/").concat(et),Y.prev=2,eg={headers:ed({"Content-Type":"application/json"},null!=ef&&null!==(em=ef.headers)&&void 0!==em&&em.cookie?{cookie:ef.headers.cookie}:{})},null!=ef&&ef.body&&(eg.body=JSON.stringify(ef.body),eg.method="POST"),Y.next=7,fetch(eh,eg);case 7:return ey=Y.sent,Y.next=10,ey.json();case 10:if(eb=Y.sent,ey.ok){Y.next=13;break}throw eb;case 13:return Y.abrupt("return",Object.keys(eb).length>0?eb:null);case 16:return Y.prev=16,Y.t0=Y.catch(2),ei.error("CLIENT_FETCH_ERROR",{error:Y.t0,url:eh}),Y.abrupt("return",null);case 20:case"end":return Y.stop()}},Y,null,[[2,16]])}))).apply(this,arguments)}function ep(Y){return"undefined"==typeof window?"".concat(Y.baseUrlServer).concat(Y.basePathServer):Y.basePath}function em(){return Math.floor(Date.now()/1e3)}function eg(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"nextauth.message";return{receive:function(et){var en=function(en){if(en.key===Y){var ei,eo=JSON.parse(null!==(ei=en.newValue)&&void 0!==ei?ei:"{}");(null==eo?void 0:eo.event)==="session"&&null!=eo&&eo.data&&et(eo)}};return window.addEventListener("storage",en),function(){return window.removeEventListener("storage",en)}},post:function(et){if("undefined"!=typeof window)try{localStorage.setItem(Y,JSON.stringify(ed(ed({},et),{},{timestamp:em()})))}catch(Y){}}}}},21559:function(Y,et,en){"use strict";var ei=en(94146);Object.defineProperty(et,"__esModule",{value:!0}),et.UnsupportedStrategy=et.UnknownError=et.OAuthCallbackError=et.MissingSecret=et.MissingAuthorize=et.MissingAdapterMethods=et.MissingAdapter=et.MissingAPIRoute=et.InvalidCallbackUrl=et.AccountNotLinkedError=void 0,et.adapterErrorHandler=eI,et.capitalize=ej,et.eventsErrorHandler=eO,et.upperSnake=eP;var eo=ei(en(55756)),ea=ei(en(7392)),eu=ei(en(44114)),ec=ei(en(79862)),ed=ei(en(57934)),ef=ei(en(41176)),eh=ei(en(65523)),ep=ei(en(75745)),em=ei(en(72904));function eg(Y){var et=ey();return function(){var en,ei=(0,em.default)(Y);if(et){var eo=(0,em.default)(this).constructor;en=Reflect.construct(ei,arguments,eo)}else en=ei.apply(this,arguments);return(0,ep.default)(this,en)}}function ey(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(Y){return!1}}var eb=function(Y){(0,eh.default)(en,Y);var et=eg(en);function en(Y){var ei,eo;return(0,ed.default)(this,en),(eo=et.call(this,null!==(ei=null==Y?void 0:Y.message)&&void 0!==ei?ei:Y)).name="UnknownError",eo.code=Y.code,Y instanceof Error&&(eo.stack=Y.stack),eo}return(0,ef.default)(en,[{key:"toJSON",value:function(){return{name:this.name,message:this.message,stack:this.stack}}}]),en}((0,ei(en(19108)).default)(Error));et.UnknownError=eb;var ek=function(Y){(0,eh.default)(en,Y);var et=eg(en);function en(){var Y;(0,ed.default)(this,en);for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return Y=et.call.apply(et,[this].concat(eo)),(0,ec.default)((0,eu.default)(Y),"name","OAuthCallbackError"),Y}return(0,ef.default)(en)}(eb);et.OAuthCallbackError=ek;var ew=function(Y){(0,eh.default)(en,Y);var et=eg(en);function en(){var Y;(0,ed.default)(this,en);for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return Y=et.call.apply(et,[this].concat(eo)),(0,ec.default)((0,eu.default)(Y),"name","AccountNotLinkedError"),Y}return(0,ef.default)(en)}(eb);et.AccountNotLinkedError=ew;var e_=function(Y){(0,eh.default)(en,Y);var et=eg(en);function en(){var Y;(0,ed.default)(this,en);for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return Y=et.call.apply(et,[this].concat(eo)),(0,ec.default)((0,eu.default)(Y),"name","MissingAPIRouteError"),(0,ec.default)((0,eu.default)(Y),"code","MISSING_NEXTAUTH_API_ROUTE_ERROR"),Y}return(0,ef.default)(en)}(eb);et.MissingAPIRoute=e_;var eE=function(Y){(0,eh.default)(en,Y);var et=eg(en);function en(){var Y;(0,ed.default)(this,en);for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return Y=et.call.apply(et,[this].concat(eo)),(0,ec.default)((0,eu.default)(Y),"name","MissingSecretError"),(0,ec.default)((0,eu.default)(Y),"code","NO_SECRET"),Y}return(0,ef.default)(en)}(eb);et.MissingSecret=eE;var eC=function(Y){(0,eh.default)(en,Y);var et=eg(en);function en(){var Y;(0,ed.default)(this,en);for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return Y=et.call.apply(et,[this].concat(eo)),(0,ec.default)((0,eu.default)(Y),"name","MissingAuthorizeError"),(0,ec.default)((0,eu.default)(Y),"code","CALLBACK_CREDENTIALS_HANDLER_ERROR"),Y}return(0,ef.default)(en)}(eb);et.MissingAuthorize=eC;var eT=function(Y){(0,eh.default)(en,Y);var et=eg(en);function en(){var Y;(0,ed.default)(this,en);for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return Y=et.call.apply(et,[this].concat(eo)),(0,ec.default)((0,eu.default)(Y),"name","MissingAdapterError"),(0,ec.default)((0,eu.default)(Y),"code","EMAIL_REQUIRES_ADAPTER_ERROR"),Y}return(0,ef.default)(en)}(eb);et.MissingAdapter=eT;var eS=function(Y){(0,eh.default)(en,Y);var et=eg(en);function en(){var Y;(0,ed.default)(this,en);for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return Y=et.call.apply(et,[this].concat(eo)),(0,ec.default)((0,eu.default)(Y),"name","MissingAdapterMethodsError"),(0,ec.default)((0,eu.default)(Y),"code","MISSING_ADAPTER_METHODS_ERROR"),Y}return(0,ef.default)(en)}(eb);et.MissingAdapterMethods=eS;var eA=function(Y){(0,eh.default)(en,Y);var et=eg(en);function en(){var Y;(0,ed.default)(this,en);for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return Y=et.call.apply(et,[this].concat(eo)),(0,ec.default)((0,eu.default)(Y),"name","UnsupportedStrategyError"),(0,ec.default)((0,eu.default)(Y),"code","CALLBACK_CREDENTIALS_JWT_ERROR"),Y}return(0,ef.default)(en)}(eb);et.UnsupportedStrategy=eA;var eM=function(Y){(0,eh.default)(en,Y);var et=eg(en);function en(){var Y;(0,ed.default)(this,en);for(var ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];return Y=et.call.apply(et,[this].concat(eo)),(0,ec.default)((0,eu.default)(Y),"name","InvalidCallbackUrl"),(0,ec.default)((0,eu.default)(Y),"code","INVALID_CALLBACK_URL_ERROR"),Y}return(0,ef.default)(en)}(eb);function eP(Y){return Y.replace(/([A-Z])/g,"_$1").toUpperCase()}function ej(Y){return"".concat(Y[0].toUpperCase()).concat(Y.slice(1))}function eO(Y,et){return Object.keys(Y).reduce(function(en,ei){return en[ei]=(0,ea.default)(eo.default.mark(function en(){var ea,eu=arguments;return eo.default.wrap(function(en){for(;;)switch(en.prev=en.next){case 0:return en.prev=0,ea=Y[ei],en.next=4,ea.apply(void 0,eu);case 4:return en.abrupt("return",en.sent);case 7:en.prev=7,en.t0=en.catch(0),et.error("".concat(eP(ei),"_EVENT_ERROR"),en.t0);case 10:case"end":return en.stop()}},en,null,[[0,7]])})),en},{})}function eI(Y,et){if(Y)return Object.keys(Y).reduce(function(en,ei){return en[ei]=(0,ea.default)(eo.default.mark(function en(){var ea,eu,ec,ed,ef,eh=arguments;return eo.default.wrap(function(en){for(;;)switch(en.prev=en.next){case 0:for(en.prev=0,eu=Array(ea=eh.length),ec=0;ec<ea;ec++)eu[ec]=eh[ec];return et.debug("adapter_".concat(ei),{args:eu}),ed=Y[ei],en.next=6,ed.apply(void 0,eu);case 6:return en.abrupt("return",en.sent);case 9:throw en.prev=9,en.t0=en.catch(0),et.error("adapter_error_".concat(ei),en.t0),(ef=new eb(en.t0)).name="".concat(ej(ei),"Error"),ef;case 15:case"end":return en.stop()}},en,null,[[0,9]])})),en},{})}et.InvalidCallbackUrl=eM},20225:function(Y,et,en){"use strict";var ei,eo,ea,eu,ec,ed=en(44675),ef=en(94146),eh=en(26851);Object.defineProperty(et,"__esModule",{value:!0});var ep={SessionContext:!0,useSession:!0,getSession:!0,getCsrfToken:!0,getProviders:!0,signIn:!0,signOut:!0,SessionProvider:!0};et.SessionContext=void 0,et.SessionProvider=eK,et.getCsrfToken=eB,et.getProviders=eU,et.getSession=eD,et.signIn=eG,et.signOut=eW,et.useSession=eR;var em=ef(en(55756)),eg=ef(en(79862)),ey=ef(en(7392)),eb=ef(en(70125)),ek=eA(en(70079)),ew=eA(en(43514)),e_=ef(en(92133)),eE=en(28172),eC=en(35250),eT=en(5729);function eS(Y){if("function"!=typeof WeakMap)return null;var et=new WeakMap,en=new WeakMap;return(eS=function(Y){return Y?en:et})(Y)}function eA(Y,et){if(!et&&Y&&Y.__esModule)return Y;if(null===Y||"object"!==eh(Y)&&"function"!=typeof Y)return{default:Y};var en=eS(et);if(en&&en.has(Y))return en.get(Y);var ei={},eo=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ea in Y)if("default"!==ea&&Object.prototype.hasOwnProperty.call(Y,ea)){var eu=eo?Object.getOwnPropertyDescriptor(Y,ea):null;eu&&(eu.get||eu.set)?Object.defineProperty(ei,ea,eu):ei[ea]=Y[ea]}return ei.default=Y,en&&en.set(Y,ei),ei}function eM(Y,et){var en=Object.keys(Y);if(Object.getOwnPropertySymbols){var ei=Object.getOwnPropertySymbols(Y);et&&(ei=ei.filter(function(et){return Object.getOwnPropertyDescriptor(Y,et).enumerable})),en.push.apply(en,ei)}return en}function eP(Y){for(var et=1;et<arguments.length;et++){var en=null!=arguments[et]?arguments[et]:{};et%2?eM(Object(en),!0).forEach(function(et){(0,eg.default)(Y,et,en[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(en)):eM(Object(en)).forEach(function(et){Object.defineProperty(Y,et,Object.getOwnPropertyDescriptor(en,et))})}return Y}Object.keys(eT).forEach(function(Y){!("default"===Y||"__esModule"===Y||Object.prototype.hasOwnProperty.call(ep,Y))&&(Y in et&&et[Y]===eT[Y]||Object.defineProperty(et,Y,{enumerable:!0,get:function(){return eT[Y]}}))});var ej={baseUrl:(0,e_.default)(null!==(ei=ed.env.NEXTAUTH_URL)&&void 0!==ei?ei:ed.env.VERCEL_URL).origin,basePath:(0,e_.default)(ed.env.NEXTAUTH_URL).path,baseUrlServer:(0,e_.default)(null!==(eo=null!==(ea=ed.env.NEXTAUTH_URL_INTERNAL)&&void 0!==ea?ea:ed.env.NEXTAUTH_URL)&&void 0!==eo?eo:ed.env.VERCEL_URL).origin,basePathServer:(0,e_.default)(null!==(eu=ed.env.NEXTAUTH_URL_INTERNAL)&&void 0!==eu?eu:ed.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:function(){}},eO=(0,eE.BroadcastChannel)(),eI=(0,ew.proxyLogger)(ew.default,ej.basePath);function eN(){var Y=ek.useState("undefined"!=typeof navigator&&navigator.onLine),et=(0,eb.default)(Y,2),en=et[0],ei=et[1],eo=function(){return ei(!0)},ea=function(){return ei(!1)};return ek.useEffect(function(){return window.addEventListener("online",eo),window.addEventListener("offline",ea),function(){window.removeEventListener("online",eo),window.removeEventListener("offline",ea)}},[]),en}var eL=null===(ec=ek.createContext)||void 0===ec?void 0:ec.call(ek,void 0);function eR(Y){if(!eL)throw Error("React Context is unavailable in Server Components");var et=ek.useContext(eL),en=null!=Y?Y:{},ei=en.required,eo=en.onUnauthenticated,ea=ei&&"unauthenticated"===et.status;return(ek.useEffect(function(){if(ea){var Y="/api/auth/signin?".concat(new URLSearchParams({error:"SessionRequired",callbackUrl:window.location.href}));eo?eo():window.location.href=Y}},[ea,eo]),ea)?{data:et.data,update:et.update,status:"loading"}:et}function eD(Y){return eF.apply(this,arguments)}function eF(){return(eF=(0,ey.default)(em.default.mark(function Y(et){var en,ei;return em.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.next=2,(0,eE.fetchData)("session",ej,eI,et);case 2:return ei=Y.sent,(null===(en=null==et?void 0:et.broadcast)||void 0===en||en)&&eO.post({event:"session",data:{trigger:"getSession"}}),Y.abrupt("return",ei);case 5:case"end":return Y.stop()}},Y)}))).apply(this,arguments)}function eB(Y){return ez.apply(this,arguments)}function ez(){return(ez=(0,ey.default)(em.default.mark(function Y(et){var en;return em.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.next=2,(0,eE.fetchData)("csrf",ej,eI,et);case 2:return en=Y.sent,Y.abrupt("return",null==en?void 0:en.csrfToken);case 4:case"end":return Y.stop()}},Y)}))).apply(this,arguments)}function eU(){return eH.apply(this,arguments)}function eH(){return(eH=(0,ey.default)(em.default.mark(function Y(){return em.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return Y.next=2,(0,eE.fetchData)("providers",ej,eI);case 2:return Y.abrupt("return",Y.sent);case 3:case"end":return Y.stop()}},Y)}))).apply(this,arguments)}function eG(Y,et,en){return eV.apply(this,arguments)}function eV(){return(eV=(0,ey.default)(em.default.mark(function Y(et,en,ei){var eo,ea,eu,ec,ed,ef,eh,ep,eg,ey,eb,ek,ew,e_,eC,eT,eS;return em.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return eu=void 0===(ea=(eo=null!=en?en:{}).callbackUrl)?window.location.href:ea,ed=void 0===(ec=eo.redirect)||ec,ef=(0,eE.apiBaseUrl)(ej),Y.next=4,eU();case 4:if(eh=Y.sent){Y.next=8;break}return window.location.href="".concat(ef,"/error"),Y.abrupt("return");case 8:if(!(!et||!(et in eh))){Y.next=11;break}return window.location.href="".concat(ef,"/signin?").concat(new URLSearchParams({callbackUrl:eu})),Y.abrupt("return");case 11:return ep="credentials"===eh[et].type,eg="email"===eh[et].type,ey=ep||eg,eb="".concat(ef,"/").concat(ep?"callback":"signin","/").concat(et),ek="".concat(eb).concat(ei?"?".concat(new URLSearchParams(ei)):""),Y.t0=fetch,Y.t1=ek,Y.t2={"Content-Type":"application/x-www-form-urlencoded"},Y.t3=URLSearchParams,Y.t4=eP,Y.t5=eP({},en),Y.t6={},Y.next=25,eB();case 25:return Y.t7=Y.sent,Y.t8=eu,Y.t9={csrfToken:Y.t7,callbackUrl:Y.t8,json:!0},Y.t10=(0,Y.t4)(Y.t5,Y.t6,Y.t9),Y.t11=new Y.t3(Y.t10),Y.t12={method:"post",headers:Y.t2,body:Y.t11},Y.next=33,(0,Y.t0)(Y.t1,Y.t12);case 33:return ew=Y.sent,Y.next=36,ew.json();case 36:if(e_=Y.sent,!(ed||!ey)){Y.next=42;break}return eT=null!==(eC=e_.url)&&void 0!==eC?eC:eu,window.location.href=eT,eT.includes("#")&&window.location.reload(),Y.abrupt("return");case 42:if(eS=new URL(e_.url).searchParams.get("error"),!ew.ok){Y.next=46;break}return Y.next=46,ej._getSession({event:"storage"});case 46:return Y.abrupt("return",{error:eS,status:ew.status,ok:ew.ok,url:eS?null:e_.url});case 47:case"end":return Y.stop()}},Y)}))).apply(this,arguments)}function eW(Y){return eZ.apply(this,arguments)}function eZ(){return(eZ=(0,ey.default)(em.default.mark(function Y(et){var en,ei,eo,ea,eu,ec,ed,ef,eh;return em.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:return eo=void 0===(ei=(null!=et?et:{}).callbackUrl)?window.location.href:ei,ea=(0,eE.apiBaseUrl)(ej),Y.t0={"Content-Type":"application/x-www-form-urlencoded"},Y.t1=URLSearchParams,Y.next=6,eB();case 6:return Y.t2=Y.sent,Y.t3=eo,Y.t4={csrfToken:Y.t2,callbackUrl:Y.t3,json:!0},Y.t5=new Y.t1(Y.t4),eu={method:"post",headers:Y.t0,body:Y.t5},Y.next=13,fetch("".concat(ea,"/signout"),eu);case 13:return ec=Y.sent,Y.next=16,ec.json();case 16:if(ed=Y.sent,eO.post({event:"session",data:{trigger:"signout"}}),!(null===(en=null==et?void 0:et.redirect)||void 0===en||en)){Y.next=23;break}return eh=null!==(ef=ed.url)&&void 0!==ef?ef:eo,window.location.href=eh,eh.includes("#")&&window.location.reload(),Y.abrupt("return");case 23:return Y.next=25,ej._getSession({event:"storage"});case 25:return Y.abrupt("return",ed);case 26:case"end":return Y.stop()}},Y)}))).apply(this,arguments)}function eK(Y){if(!eL)throw Error("React Context is unavailable in Server Components");var et=Y.children,en=Y.basePath,ei=Y.refetchInterval,eo=Y.refetchWhenOffline;en&&(ej.basePath=en);var ea=void 0!==Y.session;ej._lastSync=ea?(0,eE.now)():0;var eu=ek.useState(function(){return ea&&(ej._session=Y.session),Y.session}),ec=(0,eb.default)(eu,2),ed=ec[0],ef=ec[1],eh=ek.useState(!ea),ep=(0,eb.default)(eh,2),eg=ep[0],ew=ep[1];ek.useEffect(function(){return ej._getSession=(0,ey.default)(em.default.mark(function Y(){var et,en,ei=arguments;return em.default.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(et=(ei.length>0&&void 0!==ei[0]?ei[0]:{}).event,Y.prev=1,!((en="storage"===et)||void 0===ej._session)){Y.next=10;break}return ej._lastSync=(0,eE.now)(),Y.next=7,eD({broadcast:!en});case 7:return ej._session=Y.sent,ef(ej._session),Y.abrupt("return");case 10:if(!(!et||null===ej._session||(0,eE.now)()<ej._lastSync)){Y.next=12;break}return Y.abrupt("return");case 12:return ej._lastSync=(0,eE.now)(),Y.next=15,eD();case 15:ej._session=Y.sent,ef(ej._session),Y.next=22;break;case 19:Y.prev=19,Y.t0=Y.catch(1),eI.error("CLIENT_SESSION_ERROR",Y.t0);case 22:return Y.prev=22,ew(!1),Y.finish(22);case 25:case"end":return Y.stop()}},Y,null,[[1,19,22,25]])})),ej._getSession(),function(){ej._lastSync=0,ej._session=void 0,ej._getSession=function(){}}},[]),ek.useEffect(function(){var Y=eO.receive(function(){return ej._getSession({event:"storage"})});return function(){return Y()}},[]),ek.useEffect(function(){var et=Y.refetchOnWindowFocus,en=void 0===et||et,ei=function(){en&&"visible"===document.visibilityState&&ej._getSession({event:"visibilitychange"})};return document.addEventListener("visibilitychange",ei,!1),function(){return document.removeEventListener("visibilitychange",ei,!1)}},[Y.refetchOnWindowFocus]);var e_=eN(),eT=!1!==eo||e_;ek.useEffect(function(){if(ei&&eT){var Y=setInterval(function(){ej._session&&ej._getSession({event:"poll"})},1e3*ei);return function(){return clearInterval(Y)}}},[ei,eT]);var eS=ek.useMemo(function(){return{data:ed,status:eg?"loading":ed?"authenticated":"unauthenticated",update:function(Y){return(0,ey.default)(em.default.mark(function et(){var en;return em.default.wrap(function(et){for(;;)switch(et.prev=et.next){case 0:if(!(eg||!ed)){et.next=2;break}return et.abrupt("return");case 2:return ew(!0),et.t0=eE.fetchData,et.t1=ej,et.t2=eI,et.next=8,eB();case 8:return et.t3=et.sent,et.t4=Y,et.t5={csrfToken:et.t3,data:et.t4},et.t6={body:et.t5},et.t7={req:et.t6},et.next=15,(0,et.t0)("session",et.t1,et.t2,et.t7);case 15:return en=et.sent,ew(!1),en&&(ef(en),eO.post({event:"session",data:{trigger:"getSession"}})),et.abrupt("return",en);case 19:case"end":return et.stop()}},et)}))()}}},[ed,eg]);return(0,eC.jsx)(eL.Provider,{value:eS,children:et})}et.SessionContext=eL},5729:function(Y,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0})},43514:function(Y,et,en){"use strict";var ei=en(94146);Object.defineProperty(et,"__esModule",{value:!0}),et.default=void 0,et.proxyLogger=eg,et.setLogger=ep;var eo=ei(en(79862)),ea=en(21559);function eu(Y,et){var en=Object.keys(Y);if(Object.getOwnPropertySymbols){var ei=Object.getOwnPropertySymbols(Y);et&&(ei=ei.filter(function(et){return Object.getOwnPropertyDescriptor(Y,et).enumerable})),en.push.apply(en,ei)}return en}function ec(Y){for(var et=1;et<arguments.length;et++){var en=null!=arguments[et]?arguments[et]:{};et%2?eu(Object(en),!0).forEach(function(et){(0,eo.default)(Y,et,en[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(en)):eu(Object(en)).forEach(function(et){Object.defineProperty(Y,et,Object.getOwnPropertyDescriptor(en,et))})}return Y}function ed(Y){if(Y instanceof Error&&!(Y instanceof ea.UnknownError))return{message:Y.message,stack:Y.stack,name:Y.name};if(ef(Y)){var et;Y.error=ed(Y.error),Y.message=null!==(et=Y.message)&&void 0!==et?et:Y.error.message}return Y}function ef(Y){return!!(null!=Y&&Y.error)}var eh={error:function(Y,et){et=ed(et),console.error("[next-auth][error][".concat(Y,"]"),"\nhttps://next-auth.js.org/errors#".concat(Y.toLowerCase()),et.message,et)},warn:function(Y){console.warn("[next-auth][warn][".concat(Y,"]"),"\nhttps://next-auth.js.org/warnings#".concat(Y.toLowerCase()))},debug:function(Y,et){console.log("[next-auth][debug][".concat(Y,"]"),et)}};function ep(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},et=arguments.length>1?arguments[1]:void 0;et||(eh.debug=function(){}),Y.error&&(eh.error=Y.error),Y.warn&&(eh.warn=Y.warn),Y.debug&&(eh.debug=Y.debug)}var em=eh;function eg(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eh,et=arguments.length>1?arguments[1]:void 0;try{if("undefined"==typeof window)return Y;var en={},ei=function(Y){en[Y]=function(en,ei){eh[Y](en,ei),"error"===Y&&(ei=ed(ei)),ei.client=!0;var eo="".concat(et,"/_log"),ea=new URLSearchParams(ec({level:Y,code:en},ei));return navigator.sendBeacon?navigator.sendBeacon(eo,ea):fetch(eo,{method:"POST",body:ea,keepalive:!0})}};for(var eo in Y)ei(eo);return en}catch(Y){return eh}}et.default=em},92133:function(Y,et){"use strict";function en(Y){var et;let en=new URL("http://localhost:3000/api/auth");Y&&!Y.startsWith("http")&&(Y=`https://${Y}`);let ei=new URL(null!==(et=Y)&&void 0!==et?et:en),eo=("/"===ei.pathname?en.pathname:ei.pathname).replace(/\/$/,""),ea=`${ei.origin}${eo}`;return{origin:ei.origin,host:ei.host,path:eo,base:ea,toString:()=>ea}}Object.defineProperty(et,"__esModule",{value:!0}),et.default=en},77997:function(Y,et,en){"use strict";en.d(et,{F:function(){return ef},f:function(){return eh}});var ei=en(70079);let eo=["light","dark"],ea="(prefers-color-scheme: dark)",eu="undefined"==typeof window,ec=(0,ei.createContext)(void 0),ed={setTheme:Y=>{},themes:[]},ef=()=>{var Y;return null!==(Y=(0,ei.useContext)(ec))&&void 0!==Y?Y:ed},eh=Y=>(0,ei.useContext)(ec)?ei.createElement(ei.Fragment,null,Y.children):ei.createElement(em,Y),ep=["light","dark"],em=({forcedTheme:Y,disableTransitionOnChange:et=!1,enableSystem:en=!0,enableColorScheme:eu=!0,storageKey:ed="theme",themes:ef=ep,defaultTheme:eh=en?"system":"light",attribute:em="data-theme",value:ew,children:e_,nonce:eE})=>{let[eC,eT]=(0,ei.useState)(()=>ey(ed,eh)),[eS,eA]=(0,ei.useState)(()=>ey(ed)),eM=ew?Object.values(ew):ef,eP=(0,ei.useCallback)(Y=>{let ei=Y;if(!ei)return;"system"===Y&&en&&(ei=ek());let ea=ew?ew[ei]:ei,ec=et?eb():null,ed=document.documentElement;if("class"===em?(ed.classList.remove(...eM),ea&&ed.classList.add(ea)):ea?ed.setAttribute(em,ea):ed.removeAttribute(em),eu){let Y=eo.includes(eh)?eh:null,et=eo.includes(ei)?ei:Y;ed.style.colorScheme=et}null==ec||ec()},[]),ej=(0,ei.useCallback)(Y=>{eT(Y);try{localStorage.setItem(ed,Y)}catch(Y){}},[Y]),eO=(0,ei.useCallback)(et=>{let ei=ek(et);eA(ei),"system"===eC&&en&&!Y&&eP("system")},[eC,Y]);(0,ei.useEffect)(()=>{let Y=window.matchMedia(ea);return Y.addListener(eO),eO(Y),()=>Y.removeListener(eO)},[eO]),(0,ei.useEffect)(()=>{let Y=Y=>{Y.key===ed&&ej(Y.newValue||eh)};return window.addEventListener("storage",Y),()=>window.removeEventListener("storage",Y)},[ej]),(0,ei.useEffect)(()=>{eP(null!=Y?Y:eC)},[Y,eC]);let eI=(0,ei.useMemo)(()=>({theme:eC,setTheme:ej,forcedTheme:Y,resolvedTheme:"system"===eC?eS:eC,themes:en?[...ef,"system"]:ef,systemTheme:en?eS:void 0}),[eC,ej,Y,eS,en,ef]);return ei.createElement(ec.Provider,{value:eI},ei.createElement(eg,{forcedTheme:Y,disableTransitionOnChange:et,enableSystem:en,enableColorScheme:eu,storageKey:ed,themes:ef,defaultTheme:eh,attribute:em,value:ew,children:e_,attrs:eM,nonce:eE}),e_)},eg=(0,ei.memo)(({forcedTheme:Y,storageKey:et,attribute:en,enableSystem:eu,enableColorScheme:ec,defaultTheme:ed,value:ef,attrs:eh,nonce:ep})=>{let em="system"===ed,eg="class"===en?`var d=document.documentElement,c=d.classList;c.remove(${eh.map(Y=>`'${Y}'`).join(",")});`:`var d=document.documentElement,n='${en}',s='setAttribute';`,ey=ec?eo.includes(ed)&&ed?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${ed}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",eb=(Y,et=!1,ei=!0)=>{let ea=ef?ef[Y]:Y,eu=et?Y+"|| ''":`'${ea}'`,ed="";return ec&&ei&&!et&&eo.includes(Y)&&(ed+=`d.style.colorScheme = '${Y}';`),"class"===en?ed+=et||ea?`c.add(${eu})`:"null":ea&&(ed+=`d[s](n,${eu})`),ed},ek=Y?`!function(){${eg}${eb(Y)}}()`:eu?`!function(){try{${eg}var e=localStorage.getItem('${et}');if('system'===e||(!e&&${em})){var t='${ea}',m=window.matchMedia(t);if(m.media!==t||m.matches){${eb("dark")}}else{${eb("light")}}}else if(e){${ef?`var x=${JSON.stringify(ef)};`:""}${eb(ef?"x[e]":"e",!0)}}${em?"":"else{"+eb(ed,!1,!1)+"}"}${ey}}catch(e){}}()`:`!function(){try{${eg}var e=localStorage.getItem('${et}');if(e){${ef?`var x=${JSON.stringify(ef)};`:""}${eb(ef?"x[e]":"e",!0)}}else{${eb(ed,!1,!1)};}${ey}}catch(t){}}();`;return ei.createElement("script",{nonce:ep,dangerouslySetInnerHTML:{__html:ek}})},()=>!0),ey=(Y,et)=>{let en;if(!eu){try{en=localStorage.getItem(Y)||void 0}catch(Y){}return en||et}},eb=()=>{let Y=document.createElement("style");return Y.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(Y),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(Y)},1)}},ek=Y=>(Y||(Y=window.matchMedia(ea)),Y.matches?"dark":"light")},97135:function(Y){"use strict";let et=self.fetch.bind(self);Y.exports=et,Y.exports.default=Y.exports},54885:function(Y,et,en){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return en(19048)}])},71690:function(Y,et){"use strict";et.Z={src:"https://cdn.oaistatic.com/_next/static/media/chatgpt-share-og.49cbbffe.png",height:900,width:1600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFBAMAAACKv7BmAAAAG1BMVEXm8v7l8v7l8f7k8P7j7/7W4f7M2P7M1/7K1f5Q38UvAAAAIUlEQVR42mNQUlYyYjA2clZmMAzPYGYwMlE2ZlBWUjICAC5vA60zCx0uAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5}},70209:function(Y,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0}),function(Y,et){for(var en in et)Object.defineProperty(Y,en,{enumerable:!0,get:et[en]})}(et,{PrefetchKind:function(){return en},ACTION_REFRESH:function(){return ei},ACTION_NAVIGATE:function(){return eo},ACTION_RESTORE:function(){return ea},ACTION_SERVER_PATCH:function(){return eu},ACTION_PREFETCH:function(){return ec},ACTION_FAST_REFRESH:function(){return ed}});var en,ei="refresh",eo="navigate",ea="restore",eu="server-patch",ec="prefetch",ed="fast-refresh";!function(Y){Y.AUTO="auto",Y.FULL="full",Y.TEMPORARY="temporary"}(en||(en={})),("function"==typeof et.default||"object"==typeof et.default&&null!==et.default)&&void 0===et.default.__esModule&&(Object.defineProperty(et.default,"__esModule",{value:!0}),Object.assign(et.default,et),Y.exports=et.default)},97289:function(Y,et){"use strict";function en(Y,et,en,ei){return!1}Object.defineProperty(et,"__esModule",{value:!0}),Object.defineProperty(et,"getDomainLocale",{enumerable:!0,get:function(){return en}}),("function"==typeof et.default||"object"==typeof et.default&&null!==et.default)&&void 0===et.default.__esModule&&(Object.defineProperty(et.default,"__esModule",{value:!0}),Object.assign(et.default,et),Y.exports=et.default)},74791:function(Y,et,en){"use strict";Object.defineProperty(et,"__esModule",{value:!0});var ei=en(39324),eo=en(71209),ea=en(70216),eu=en(10064),ec=en(64502);Object.defineProperty(et,"__esModule",{value:!0}),Object.defineProperty(et,"default",{enumerable:!0,get:function(){return eP}});var ed=en(64838),ef=en(15542)._(en(70079)),eh=ed._(en(5534)),ep=en(29009),em=en(91370),eg=en(21607);en(76458);var ey=ed._(en(78826)),eb={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function ek(Y){return void 0!==Y.default}function ew(Y){return void 0!==Y.src}function e_(Y){return"object"==typeof Y&&(ek(Y)||ew(Y))}function eE(Y,et,en){var ei=Y.deviceSizes,eo=Y.allSizes;if(en){for(var ea=/(^|\s)(1?\d?\d)vw/g,eu=[];ed=ea.exec(en);ed)eu.push(parseInt(ed[2]));if(eu.length){var ed,ef,eh=.01*(ef=Math).min.apply(ef,ec._(eu));return{widths:eo.filter(function(Y){return Y>=ei[0]*eh}),kind:"w"}}return{widths:eo,kind:"w"}}return"number"!=typeof et?{widths:ei,kind:"w"}:{widths:ec._(new Set([et,2*et].map(function(Y){return eo.find(function(et){return et>=Y})||eo[eo.length-1]}))),kind:"x"}}function eC(Y){var et=Y.config,en=Y.src,ei=Y.unoptimized,eo=Y.width,ea=Y.quality,eu=Y.sizes,ec=Y.loader;if(ei)return{src:en,srcSet:void 0,sizes:void 0};var ed=eE(et,eo,eu),ef=ed.widths,eh=ed.kind,ep=ef.length-1;return{sizes:eu||"w"!==eh?eu:"100vw",srcSet:ef.map(function(Y,ei){return ec({config:et,src:en,quality:ea,width:Y})+" "+("w"===eh?Y:ei+1)+eh}).join(", "),src:ec({config:et,src:en,quality:ea,width:ef[ep]})}}function eT(Y){return void 0===Y?Y:"number"==typeof Y?Number.isFinite(Y)?Y:NaN:"string"==typeof Y&&/^[0-9]+$/.test(Y)?parseInt(Y,10):NaN}function eS(Y,et,en,ea,eu,ec,ed){Y&&Y["data-loaded-src"]!==et&&(Y["data-loaded-src"]=et,("decode"in Y?Y.decode():Promise.resolve()).catch(function(){}).then(function(){if(Y.parentElement&&Y.isConnected){if("blur"===en&&ec(!0),null==ea?void 0:ea.current){var et=new Event("load");Object.defineProperty(et,"target",{writable:!1,value:Y});var ed=!1,ef=!1;ea.current(eo._(ei._({},et),{nativeEvent:et,currentTarget:Y,target:Y,isDefaultPrevented:function(){return ed},isPropagationStopped:function(){return ef},persist:function(){},preventDefault:function(){ed=!0,et.preventDefault()},stopPropagation:function(){ef=!0,et.stopPropagation()}}))}(null==eu?void 0:eu.current)&&eu.current(Y)}}))}function eA(Y){var et=eu._(ef.version.split("."),2),en=et[0],ei=et[1],eo=parseInt(en,10),ea=parseInt(ei,10);return eo>18||18===eo&&ea>=3?{fetchPriority:Y}:{fetchpriority:Y}}var eM=(0,ef.forwardRef)(function(Y,et){var en=Y.imgAttributes,eu=Y.heightInt,ec=Y.widthInt,ed=(Y.qualityInt,Y.className),eh=Y.imgStyle,ep=Y.blurStyle,em=Y.isLazy,eg=Y.fetchPriority,ey=Y.fill,eb=Y.placeholder,ek=Y.loading,ew=Y.srcString,e_=(Y.config,Y.unoptimized),eE=(Y.loader,Y.onLoadRef),eC=Y.onLoadingCompleteRef,eT=Y.setBlurComplete,eM=Y.setShowAltText,eP=(Y.onLoad,Y.onError),ej=ea._(Y,["imgAttributes","heightInt","widthInt","qualityInt","className","imgStyle","blurStyle","isLazy","fetchPriority","fill","placeholder","loading","srcString","config","unoptimized","loader","onLoadRef","onLoadingCompleteRef","setBlurComplete","setShowAltText","onLoad","onError"]);return ek=em?"lazy":ek,ef.default.createElement(ef.default.Fragment,null,ef.default.createElement("img",eo._(ei._(eo._(ei._({},ej,eA(eg)),{loading:ek,width:ec,height:eu,decoding:"async","data-nimg":ey?"fill":"1",className:ed,style:ei._({},eh,ep)}),en),{ref:(0,ef.useCallback)(function(Y){et&&("function"==typeof et?et(Y):"object"==typeof et&&(et.current=Y)),Y&&(eP&&(Y.src=Y.src),Y.complete&&eS(Y,ew,eb,eE,eC,eT,e_))},[ew,eb,eE,eC,eT,eP,e_,et]),onLoad:function(Y){eS(Y.currentTarget,ew,eb,eE,eC,eT,e_)},onError:function(Y){eM(!0),"blur"===eb&&eT(!0),eP&&eP(Y)}})))}),eP=(0,ef.forwardRef)(function(Y,et){var en,ed,ew=Y.src,eE=Y.sizes,eS=Y.unoptimized,eP=void 0!==eS&&eS,ej=Y.priority,eO=void 0!==ej&&ej,eI=Y.loading,eN=Y.className,eL=Y.quality,eR=Y.width,eD=Y.height,eF=Y.fill,eB=Y.style,ez=Y.onLoad,eU=Y.onLoadingComplete,eH=Y.placeholder,eG=void 0===eH?"empty":eH,eV=Y.blurDataURL,eW=Y.fetchPriority,eZ=Y.layout,eK=Y.objectFit,e$=Y.objectPosition,eY=(Y.lazyBoundary,Y.lazyRoot,ea._(Y,["src","sizes","unoptimized","priority","loading","className","quality","width","height","fill","style","onLoad","onLoadingComplete","placeholder","blurDataURL","fetchPriority","layout","objectFit","objectPosition","lazyBoundary","lazyRoot"])),eQ=(0,ef.useContext)(eg.ImageConfigContext),eX=(0,ef.useMemo)(function(){var Y=eb||eQ||em.imageConfigDefault,et=ec._(Y.deviceSizes).concat(ec._(Y.imageSizes)).sort(function(Y,et){return Y-et}),en=Y.deviceSizes.sort(function(Y,et){return Y-et});return eo._(ei._({},Y),{allSizes:et,deviceSizes:en})},[eQ]),eJ=eY,e0=eJ.loader||ey.default;delete eJ.loader;var e9="__next_img_default"in e0;if(e9){if("custom"===eX.loader)throw Error('Image with src "'+ew+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{var e5=e0;e0=function(Y){return Y.config,e5(ea._(Y,["config"]))}}if(eZ){"fill"===eZ&&(eF=!0);var e4={responsive:"100vw",fill:"100vw"},e3={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[eZ];e3&&(eB=ei._({},eB,e3));var e6=e4[eZ];e6&&!eE&&(eE=e6)}var e7="",e8=eT(eR),tt=eT(eD);if(e_(ew)){var ta=ek(ew)?ew.default:ew;if(!ta.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(ta));if(!ta.height||!ta.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(ta));if(en=ta.blurWidth,ed=ta.blurHeight,eV=eV||ta.blurDataURL,e7=ta.src,!eF){if(e8||tt){if(e8&&!tt){var tu=e8/ta.width;tt=Math.round(ta.height*tu)}else if(!e8&&tt){var tc=tt/ta.height;e8=Math.round(ta.width*tc)}}else e8=ta.width,tt=ta.height}}var td=!eO&&("lazy"===eI||void 0===eI);(!(ew="string"==typeof ew?ew:e7)||ew.startsWith("data:")||ew.startsWith("blob:"))&&(eP=!0,td=!1),eX.unoptimized&&(eP=!0),e9&&ew.endsWith(".svg")&&!eX.dangerouslyAllowSVG&&(eP=!0),eO&&(eW="high");var tf=eu._((0,ef.useState)(!1),2),th=tf[0],tp=tf[1],tm=eu._((0,ef.useState)(!1),2),tg=tm[0],tv=tm[1],tb=eT(eL),tk=Object.assign(eF?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:eK,objectPosition:e$}:{},tg?{}:{color:"transparent"},eB),tw="blur"===eG&&eV&&!th?{backgroundSize:tk.objectFit||"cover",backgroundPosition:tk.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'+(0,ep.getImageBlurSvg)({widthInt:e8,heightInt:tt,blurWidth:en,blurHeight:ed,blurDataURL:eV,objectFit:tk.objectFit})+'")'}:{},t_=eC({config:eX,src:ew,unoptimized:eP,width:e8,quality:tb,sizes:eE,loader:e0}),tE=ew,tC=(0,ef.useRef)(ez);(0,ef.useEffect)(function(){tC.current=ez},[ez]);var tT=(0,ef.useRef)(eU);(0,ef.useEffect)(function(){tT.current=eU},[eU]);var tS=ei._({isLazy:td,imgAttributes:t_,heightInt:tt,widthInt:e8,qualityInt:tb,className:eN,imgStyle:tk,blurStyle:tw,loading:eI,config:eX,fetchPriority:eW,fill:eF,unoptimized:eP,placeholder:eG,loader:e0,srcString:tE,onLoadRef:tC,onLoadingCompleteRef:tT,setBlurComplete:tp,setShowAltText:tv},eJ);return ef.default.createElement(ef.default.Fragment,null,ef.default.createElement(eM,eo._(ei._({},tS),{ref:et})),eO?ef.default.createElement(eh.default,null,ef.default.createElement("link",ei._({key:"__nimg-"+t_.src+t_.srcSet+t_.sizes,rel:"preload",as:"image",href:t_.srcSet?void 0:t_.src,imageSrcSet:t_.srcSet,imageSizes:t_.sizes,crossOrigin:eJ.crossOrigin},eA(eW)))):null)});("function"==typeof et.default||"object"==typeof et.default&&null!==et.default)&&void 0===et.default.__esModule&&(Object.defineProperty(et.default,"__esModule",{value:!0}),Object.assign(et.default,et),Y.exports=et.default)},32816:function(Y,et,en){"use strict";Object.defineProperty(et,"__esModule",{value:!0});var ei=en(39324),eo=en(70216),ea=en(10064);en(20485),Object.defineProperty(et,"__esModule",{value:!0}),Object.defineProperty(et,"default",{enumerable:!0,get:function(){return eA}});var eu=en(64838)._(en(70079)),ec=en(38592),ed=en(48958),ef=en(19021),eh=en(1723),ep=en(80350),em=en(98306),eg=en(27531),ey=en(26881),eb=en(97289),ek=en(31297),ew=en(70209),e_=new Set;function eE(Y,et,en,ei,eo,ea){if(ea||(0,ed.isLocalURL)(et)){if(!ei.bypassPrefetchedCheck){var eu=et+"%"+en+"%"+(void 0!==ei.locale?ei.locale:"locale"in Y?Y.locale:void 0);if(e_.has(eu))return;e_.add(eu)}Promise.resolve(ea?Y.prefetch(et,eo):Y.prefetch(et,en,ei)).catch(function(Y){})}}function eC(Y){var et=Y.currentTarget.getAttribute("target");return et&&"_self"!==et||Y.metaKey||Y.ctrlKey||Y.shiftKey||Y.altKey||Y.nativeEvent&&2===Y.nativeEvent.which}function eT(Y,et,en,ei,eo,ea,ec,ef,eh,ep){if(!("A"===Y.currentTarget.nodeName.toUpperCase()&&(eC(Y)||!eh&&!(0,ed.isLocalURL)(en)))){Y.preventDefault();var em=function(){"beforePopState"in et?et[eo?"replace":"push"](en,ei,{shallow:ea,locale:ef,scroll:ec}):et[eo?"replace":"push"](ei||en,{forceOptimisticNavigation:!ep})};eh?eu.default.startTransition(em):em()}}function eS(Y){return"string"==typeof Y?Y:(0,ef.formatUrl)(Y)}var eA=eu.default.forwardRef(function(Y,et){var en,ed,ef=Y.href,e_=Y.as,eC=Y.children,eA=Y.prefetch,eM=void 0===eA?null:eA,eP=Y.passHref,ej=Y.replace,eO=Y.shallow,eI=Y.scroll,eN=Y.locale,eL=Y.onClick,eR=Y.onMouseEnter,eD=Y.onTouchStart,eF=Y.legacyBehavior,eB=void 0!==eF&&eF,ez=eo._(Y,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);en=eC,eB&&("string"==typeof en||"number"==typeof en)&&(en=eu.default.createElement("a",null,en));var eU=!1!==eM,eH=null===eM?ew.PrefetchKind.AUTO:ew.PrefetchKind.FULL,eG=eu.default.useContext(em.RouterContext),eV=eu.default.useContext(eg.AppRouterContext),eW=null!=eG?eG:eV,eZ=!eG,eK=eu.default.useMemo(function(){if(!eG){var Y=eS(ef);return{href:Y,as:e_?eS(e_):Y}}var et=ea._((0,ec.resolveHref)(eG,ef,!0),2),en=et[0],ei=et[1];return{href:en,as:e_?(0,ec.resolveHref)(eG,e_):ei||en}},[eG,ef,e_]),e$=eK.href,eY=eK.as,eQ=eu.default.useRef(e$),eX=eu.default.useRef(eY);eB&&(ed=eu.default.Children.only(en));var eJ=eB?ed&&"object"==typeof ed&&ed.ref:et,e0=ea._((0,ey.useIntersection)({rootMargin:"200px"}),3),e9=e0[0],e5=e0[1],e4=e0[2],e3=eu.default.useCallback(function(Y){(eX.current!==eY||eQ.current!==e$)&&(e4(),eX.current=eY,eQ.current=e$),e9(Y),eJ&&("function"==typeof eJ?eJ(Y):"object"==typeof eJ&&(eJ.current=Y))},[eY,eJ,e$,e4,e9]);eu.default.useEffect(function(){eW&&e5&&eU&&eE(eW,e$,eY,{locale:eN},{kind:eH},eZ)},[eY,e$,e5,eN,eU,null==eG?void 0:eG.locale,eW,eZ,eH]);var e6={ref:e3,onClick:function(Y){eB||"function"!=typeof eL||eL(Y),eB&&ed.props&&"function"==typeof ed.props.onClick&&ed.props.onClick(Y),eW&&!Y.defaultPrevented&&eT(Y,eW,e$,eY,ej,eO,eI,eN,eZ,eU)},onMouseEnter:function(Y){eB||"function"!=typeof eR||eR(Y),eB&&ed.props&&"function"==typeof ed.props.onMouseEnter&&ed.props.onMouseEnter(Y),eW&&(eU||!eZ)&&eE(eW,e$,eY,{locale:eN,priority:!0,bypassPrefetchedCheck:!0},{kind:eH},eZ)},onTouchStart:function(Y){eB||"function"!=typeof eD||eD(Y),eB&&ed.props&&"function"==typeof ed.props.onTouchStart&&ed.props.onTouchStart(Y),eW&&(eU||!eZ)&&eE(eW,e$,eY,{locale:eN,priority:!0,bypassPrefetchedCheck:!0},{kind:eH},eZ)}};if((0,eh.isAbsoluteUrl)(eY))e6.href=eY;else if(!eB||eP||"a"===ed.type&&!("href"in ed.props)){var e7=void 0!==eN?eN:null==eG?void 0:eG.locale,e8=(null==eG?void 0:eG.isLocaleDomain)&&(0,eb.getDomainLocale)(eY,e7,null==eG?void 0:eG.locales,null==eG?void 0:eG.domainLocales);e6.href=e8||(0,ek.addBasePath)((0,ep.addLocale)(eY,e7,null==eG?void 0:eG.defaultLocale))}return eB?eu.default.cloneElement(ed,e6):eu.default.createElement("a",ei._({},ez,e6),en)});("function"==typeof et.default||"object"==typeof et.default&&null!==et.default)&&void 0===et.default.__esModule&&(Object.defineProperty(et.default,"__esModule",{value:!0}),Object.assign(et.default,et),Y.exports=et.default)},26881:function(Y,et,en){"use strict";Object.defineProperty(et,"__esModule",{value:!0});var ei=en(10064);Object.defineProperty(et,"__esModule",{value:!0}),Object.defineProperty(et,"useIntersection",{enumerable:!0,get:function(){return ep}});var eo=en(70079),ea=en(99810),eu="function"==typeof IntersectionObserver,ec=new Map,ed=[];function ef(Y){var et,en={root:Y.root||null,margin:Y.rootMargin||""},ei=ed.find(function(Y){return Y.root===en.root&&Y.margin===en.margin});if(ei&&(et=ec.get(ei)))return et;var eo=new Map;return et={id:en,observer:new IntersectionObserver(function(Y){Y.forEach(function(Y){var et=eo.get(Y.target),en=Y.isIntersecting||Y.intersectionRatio>0;et&&en&&et(en)})},Y),elements:eo},ed.push(en),ec.set(en,et),et}function eh(Y,et,en){var ei=ef(en),eo=ei.id,ea=ei.observer,eu=ei.elements;return eu.set(Y,et),ea.observe(Y),function(){if(eu.delete(Y),ea.unobserve(Y),0===eu.size){ea.disconnect(),ec.delete(eo);var et=ed.findIndex(function(Y){return Y.root===eo.root&&Y.margin===eo.margin});et>-1&&ed.splice(et,1)}}}function ep(Y){var et=Y.rootRef,en=Y.rootMargin,ec=Y.disabled||!eu,ed=ei._((0,eo.useState)(!1),2),ef=ed[0],ep=ed[1],em=(0,eo.useRef)(null),eg=(0,eo.useCallback)(function(Y){em.current=Y},[]);return(0,eo.useEffect)(function(){if(eu){if(!ec&&!ef){var Y=em.current;if(Y&&Y.tagName)return eh(Y,function(Y){return Y&&ep(Y)},{root:null==et?void 0:et.current,rootMargin:en})}}else if(!ef){var ei=(0,ea.requestIdleCallback)(function(){return ep(!0)});return function(){return(0,ea.cancelIdleCallback)(ei)}}},[ec,en,et,ef,em.current]),[eg,ef,(0,eo.useCallback)(function(){ep(!1)},[])]}("function"==typeof et.default||"object"==typeof et.default&&null!==et.default)&&void 0===et.default.__esModule&&(Object.defineProperty(et.default,"__esModule",{value:!0}),Object.assign(et.default,et),Y.exports=et.default)},29009:function(Y,et){"use strict";function en(Y){var et=Y.widthInt,en=Y.heightInt,ei=Y.blurWidth,eo=Y.blurHeight,ea=Y.blurDataURL,eu=Y.objectFit,ec=ei&&eo?"1":"20",ed=ei||et,ef=eo||en,eh=ea.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return ed&&ef?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 "+ed+" "+ef+"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+ec+"'/%3E"+eh+"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='"+ea+"'/%3E%3C/svg%3E":"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' preserveAspectRatio='"+("contain"===eu?"xMidYMid":"cover"===eu?"xMidYMid slice":"none")+"' x='0' y='0' height='100%25' width='100%25' href='"+ea+"'/%3E%3C/svg%3E"}Object.defineProperty(et,"__esModule",{value:!0}),Object.defineProperty(et,"getImageBlurSvg",{enumerable:!0,get:function(){return en}})},78826:function(Y,et){"use strict";function en(Y){var et=Y.config,en=Y.src,ei=Y.width,eo=Y.quality;return et.path+"?url="+encodeURIComponent(en)+"&w="+ei+"&q="+(eo||75)}Object.defineProperty(et,"__esModule",{value:!0}),Object.defineProperty(et,"default",{enumerable:!0,get:function(){return ei}}),en.__next_img_default=!0;var ei=en},19048:function(Y,et,en){"use strict";en.r(et),en.d(et,{default:function(){return up}});var ei,eo,ea=en(21722),eu=en(39324),ec=en(10064),ed=en(38104),ef=en(35250),eh=en(22444),ep=en(82473),em=en(20225),eg=en(77997),ey=en(29124),eb=en.n(ey),ek=en(10721),ew=en.n(ek),e_=en(70079),eE=en(1454),eC=en(70671),eT=en(94968);en(85647),en(11975),en(8186),en(57221),en(24083);var eS=en(71209),eA=en(4337),eM=en(55548),eP=en(11615),ej=en(91530),eO=en.n(ej),eI=en(32004),eN=en(21389),eL=en(48133),eR=en(7184);function eD(){var Y=(0,eA._)(["text-token-text-primary text-base mb-1"]);return eD=function(){return Y},Y}function eF(){var Y=(0,eC.Z)(),et=(0,eM.tN)(function(Y){return Y.activeModals.has(eM.B.AgeVerificationInterstitial)}),en=eP.L_?"https://platform.openai.com/verify-age":"https://platform.api.openai.org/verify-age";return(0,ef.jsxs)(eR.Z,{type:"success",isOpen:et,onClose:eO(),title:Y.formatMessage(ez.title),children:[(0,ef.jsxs)("div",{className:"text-token-text-secondary",children:[(0,ef.jsx)("p",{className:"mb-4",children:(0,ef.jsx)(eI.Z,(0,eu._)({},ez.description0))}),(0,ef.jsx)(eB,{children:(0,ef.jsx)(eI.Z,(0,eu._)({},ez.subtitle1))}),(0,ef.jsxs)("ol",{className:"mb-4 ml-4 list-decimal",children:[(0,ef.jsx)("li",{className:"",children:(0,ef.jsx)(eI.Z,(0,eu._)({},ez.description1Bullet1))}),(0,ef.jsx)("li",{children:(0,ef.jsx)(eI.Z,(0,eu._)({},ez.description1Bullet2))})]}),(0,ef.jsx)("p",{className:"mb-4 font-semibold",children:(0,ef.jsx)(eI.Z,(0,eu._)({},ez.description1a))}),(0,ef.jsx)("p",{className:"mb-4",children:(0,ef.jsx)(eI.Z,(0,eu._)({},ez.description1b))}),(0,ef.jsx)(eB,{children:(0,ef.jsx)(eI.Z,(0,eu._)({},ez.subtitle2))}),(0,ef.jsx)("p",{className:"mb-4",children:(0,ef.jsx)(eI.Z,(0,eS._)((0,eu._)({},ez.description2),{values:{learnMoreLink:function(Y){return(0,ef.jsx)("a",{href:"https://help.openai.com/en/articles/8411987-why-am-i-being-asked-to-verify-my-age",target:"_blank",rel:"noreferrer",className:"cursor-pointer font-normal underline",children:Y})}}}))})]}),(0,ef.jsx)("div",{className:"mt-4 flex justify-center",children:(0,ef.jsxs)(eL.z,{color:"primary",as:"link",to:en,openNewTab:!0,onClick:function(){return eM.vm.closeModal(eM.B.AgeVerificationInterstitial)},children:[(0,ef.jsx)(eE.AlO,{className:"icon-md"}),(0,ef.jsx)(eI.Z,(0,eu._)({},ez.redirect))]})})]})}var eB=eN.Z.h3(eD()),ez=(0,eT.vU)({title:{id:"AgeVerificationInterstitial.title",defaultMessage:"Please verify your age",description:"Title for the age verification interstitial"},redirect:{id:"AgeVerificationInterstitial.redirect",defaultMessage:"Sign in on platform.openai.com",description:"Redirect button for the age verification interstitial"},description0:{id:"AgeVerificationInterstitial.description0",defaultMessage:"To continue using ChatGPT, you need to complete a brief age verification check",description:"Description for the age verification interstitial"},subtitle1:{id:"AgeVerificationInterstitial.title1",defaultMessage:"What will happen next?",description:"Subtitle for the age verification interstitial"},description1Bullet1:{id:"AgeVerificationInterstitial.description1",defaultMessage:"You will be redirected to platform.openai.com where you will need to sign in.",description:"Description for the age verification interstitial"},description1Bullet2:{id:"AgeVerificationInterstitial.description2",defaultMessage:"You will then be redirected to Yoti, our age verification provider, to verify your age.",description:"Description for the age verification interstitial"},description1a:{id:"AgeVerificationInterstitial.description1a",defaultMessage:"If you are between the ages of 13 and 17, your parent or guardian must complete the age verification check on your behalf.",description:"Description for the age verification interstitial"},description1b:{id:"AgeVerificationInterstitial.description1b",defaultMessage:"The process is quick and secure.",description:"Description for the age verification interstitial"},subtitle2:{id:"AgeVerificationInterstitial.title2",defaultMessage:"Why do I need to do this?",description:"Subtitle for the age verification interstitial"},description2:{id:"AgeVerificationInterstitial.description2-v3",defaultMessage:"We are required to verify that our users in Italy are old enough to use ChatGPT. <learnMoreLink>Learn more</learnMoreLink>.",description:"Description for the age verification interstitial"}}),eU=en(29450),eH=en(18866),eG=en(62682),eV=en(17944),eW=en(51217),eZ=en(54636),eK=en(42780),e$=en(8844),eY=1,eQ=1e4,eX=50;function eJ(){return!document.hidden}var e0=new(function(){function Y(){(0,eW._)(this,Y),this.id="timespent-".concat((0,e$.Z)()),this.sessionStartedUtcTimestamp=void 0,this.timeElapsedOnActiveTabMs=0,this.elapsedTimeNextToReportMs=0,this.countReports=0}var et=Y.prototype;return et.enable=function(){var Y=Date.now();this.sessionStartedUtcTimestamp=Y,this.handleReportTime(),this._beginIntervalTimer()},et.disable=function(){clearInterval(this.intervalTimer),this.intervalTimer=void 0},et.handleReportTime=function(){var Y={id:this.id,sessionStartedUtcTimestamp:this.sessionStartedUtcTimestamp,elapsedTotalTimeMs:this.timeElapsedOnActiveTabMs,reportIndex:this.countReports,version:eY};eZ.A.logEvent(eK.M.trackTimeSpentInterval,Y),this.onAfterReport()},et._beginIntervalTimer=function(){var Y=this;this.intervalTimer||(this.intervalTimer=setInterval(function(){Y._handleOnInterval()},eX))},et._handleOnInterval=function(){eJ()&&(this.timeElapsedOnActiveTabMs+=eX,this.timeElapsedOnActiveTabMs>=this.elapsedTimeNextToReportMs&&this.handleReportTime())},et.onAfterReport=function(){this.elapsedTimeNextToReportMs+=eQ,this.countReports+=1},Y}());function e9(){return(0,eV.hz)().has(eG.F9)}function e5(){var Y=e9();(0,e_.useEffect)(function(){if(Y)return e0.enable(),function(){return e0.disable()}},[Y])}var e4=en(94705),e3=en(23234),e6=en(30922),e7=en(69072),e8=en(64502),tt=en(12051),ta="undefined"!=typeof document,tu=e_.createContext({addEscapeHandler:eO(),removeEscapeHandler:eO(),addDocClickHandler:eO(),removeDocClickHandler:eO(),host:null,zIndex:void 0}),tc=tu.Provider,td=tu.Consumer,tf=function(Y){(0,e7._)(en,Y);var et=(0,tt._)(en);function en(Y){var ei;return(0,eW._)(this,en),(ei=et.call(this,Y)).onDocumentClick=function(Y){var et=ei.state.docClickHandlers[ei.state.docClickHandlers.length-1];et&&et(Y)},ei.onKeyUp=function(Y){if("Escape"===Y.key){var et=ei.state.escapeKeyHandlers[ei.state.escapeKeyHandlers.length-1];et&&et()}},ei.onAddEscapeHandler=function(Y){ei.setState(function(et){return{escapeKeyHandlers:(0,e8._)(et.escapeKeyHandlers).concat([Y])}})},ei.onRemoveEscapeHandler=function(Y){ei.setState(function(et){return{escapeKeyHandlers:et.escapeKeyHandlers.filter(function(et){return et!==Y})}})},ei.onAddDocClickHandler=function(Y){ei.setState(function(et){return{docClickHandlers:(0,e8._)(et.docClickHandlers).concat([Y])}})},ei.onRemoveDocClickHandler=function(Y){ei.setState(function(et){return{docClickHandlers:et.docClickHandlers.filter(function(et){return et!==Y})}})},ei.state={escapeKeyHandlers:[],docClickHandlers:[]},ei.host=(0,e_.createRef)(),ei.containerRef=(0,e_.createRef)(),ei}var ei=en.prototype;return ei.componentDidMount=function(){this.forceUpdate(),ta&&(document.addEventListener("keyup",this.onKeyUp),document.addEventListener("mousedown",this.onDocumentClick))},ei.componentWillUnmount=function(){ta&&(document.removeEventListener("keyup",this.onKeyUp),document.removeEventListener("mousedown",this.onDocumentClick))},ei.render=function(){var Y=this;return(0,ef.jsx)(td,{children:function(et){var en=et.host;return(0,ef.jsxs)(tc,{value:{host:en||Y.host.current,zIndex:Y.props.zIndex,addEscapeHandler:Y.onAddEscapeHandler,removeEscapeHandler:Y.onRemoveEscapeHandler,addDocClickHandler:Y.onAddDocClickHandler,removeDocClickHandler:Y.onRemoveDocClickHandler},children:[Y.props.children,(0,ef.jsx)("div",{className:"absolute left-0 right-0 top-0 z-[2]",ref:Y.host})]})}})},en}(e_.PureComponent),th=en(15725),tp=en(96237),tm=en(42611),tg=tm.G.instance(),tv=function(Y){var et="function"==typeof Symbol&&Symbol.iterator,en=et&&Y[et],ei=0;if(en)return en.call(Y);if(Y&&"number"==typeof Y.length)return{next:function(){return Y&&ei>=Y.length&&(Y=void 0),{value:Y&&Y[ei++],done:!Y}}};throw TypeError(et?"Object is not iterable.":"Symbol.iterator is not defined.")},tb=function(){function Y(Y){var et;void 0===Y&&(Y={}),this._propagators=null!==(et=Y.propagators)&&void 0!==et?et:[],this._fields=Array.from(new Set(this._propagators.map(function(Y){return"function"==typeof Y.fields?Y.fields():[]}).reduce(function(Y,et){return Y.concat(et)},[])))}return Y.prototype.inject=function(Y,et,en){var ei,eo;try{for(var ea=tv(this._propagators),eu=ea.next();!eu.done;eu=ea.next()){var ec=eu.value;try{ec.inject(Y,et,en)}catch(Y){tg.warn("Failed to inject with "+ec.constructor.name+". Err: "+Y.message)}}}catch(Y){ei={error:Y}}finally{try{eu&&!eu.done&&(eo=ea.return)&&eo.call(ea)}finally{if(ei)throw ei.error}}},Y.prototype.extract=function(Y,et,en){return this._propagators.reduce(function(Y,ei){try{return ei.extract(Y,et,en)}catch(Y){tg.warn("Failed to inject with "+ei.constructor.name+". Err: "+Y.message)}return Y},Y)},Y.prototype.fields=function(){return this._fields.slice()},Y}(),tk=en(31294),tw=en(91176),t_=en(19959),tE=en(87212),tC=(0,tE.Y)("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function tT(Y){return Y.setValue(tC,!0)}function tS(Y){return!0===Y.getValue(tC)}var tA="[_0-9a-z-*/]",tM=RegExp("^(?:[a-z]"+tA+"{0,255}|"+("[a-z0-9]"+tA+"{0,240}@[a-z]")+tA+"{0,13})$"),tP=/^[ -~]{0,255}[!-~]$/,tj=/,|=/;function tO(Y){return tM.test(Y)}function tI(Y){return tP.test(Y)&&!tj.test(Y)}var tN=32,tL=512,tR=",",tD="=",tF=function(){function Y(Y){this._internalState=new Map,Y&&this._parse(Y)}return Y.prototype.set=function(Y,et){var en=this._clone();return en._internalState.has(Y)&&en._internalState.delete(Y),en._internalState.set(Y,et),en},Y.prototype.unset=function(Y){var et=this._clone();return et._internalState.delete(Y),et},Y.prototype.get=function(Y){return this._internalState.get(Y)},Y.prototype.serialize=function(){var Y=this;return this._keys().reduce(function(et,en){return et.push(en+tD+Y.get(en)),et},[]).join(tR)},Y.prototype._parse=function(Y){!(Y.length>tL)&&(this._internalState=Y.split(tR).reverse().reduce(function(Y,et){var en=et.trim(),ei=en.indexOf(tD);if(-1!==ei){var eo=en.slice(0,ei),ea=en.slice(ei+1,et.length);tO(eo)&&tI(ea)&&Y.set(eo,ea)}return Y},new Map),this._internalState.size>tN&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,tN))))},Y.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},Y.prototype._clone=function(){var et=new Y;return et._internalState=new Map(this._internalState),et},Y}(),tB="traceparent",tU="tracestate",tH="00",tG=RegExp("^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$");function tV(Y){var et=tG.exec(Y);return!et||"00"===et[1]&&et[5]?null:{traceId:et[2],spanId:et[3],traceFlags:parseInt(et[4],16)}}var tW=function(){function Y(){}return Y.prototype.inject=function(Y,et,en){var ei=tk.g.getSpanContext(Y);if(!(!ei||tS(Y))&&(0,tw.BM)(ei)){var eo=tH+"-"+ei.traceId+"-"+ei.spanId+"-0"+Number(ei.traceFlags||t_.r.NONE).toString(16);en.set(et,tB,eo),ei.traceState&&en.set(et,tU,ei.traceState.serialize())}},Y.prototype.extract=function(Y,et,en){var ei=en.get(et,tB);if(!ei)return Y;var eo=Array.isArray(ei)?ei[0]:ei;if("string"!=typeof eo)return Y;var ea=tV(eo);if(!ea)return Y;ea.isRemote=!0;var eu=en.get(et,tU);if(eu){var ec=Array.isArray(eu)?eu.join(","):eu;ea.traceState=new tF("string"==typeof ec?ec:void 0)}return tk.g.setSpanContext(Y,ea)},Y.prototype.fields=function(){return[tB,tU]},Y}(),tq=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu},tZ=function(Y){var et="function"==typeof Symbol&&Symbol.iterator,en=et&&Y[et],ei=0;if(en)return en.call(Y);if(Y&&"number"==typeof Y.length)return{next:function(){return Y&&ei>=Y.length&&(Y=void 0),{value:Y&&Y[ei++],done:!Y}}};throw TypeError(et?"Object is not iterable.":"Symbol.iterator is not defined.")},tK=function(){function Y(Y){this._entries=Y?new Map(Y):new Map}return Y.prototype.getEntry=function(Y){var et=this._entries.get(Y);if(et)return Object.assign({},et)},Y.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(Y){var et=tq(Y,2);return[et[0],et[1]]})},Y.prototype.setEntry=function(et,en){var ei=new Y(this._entries);return ei._entries.set(et,en),ei},Y.prototype.removeEntry=function(et){var en=new Y(this._entries);return en._entries.delete(et),en},Y.prototype.removeEntries=function(){for(var et,en,ei=[],eo=0;eo<arguments.length;eo++)ei[eo]=arguments[eo];var ea=new Y(this._entries);try{for(var eu=tZ(ei),ec=eu.next();!ec.done;ec=eu.next()){var ed=ec.value;ea._entries.delete(ed)}}catch(Y){et={error:Y}}finally{try{ec&&!ec.done&&(en=eu.return)&&en.call(eu)}finally{if(et)throw et.error}}return ea},Y.prototype.clear=function(){return new Y},Y}(),t$=Symbol("BaggageEntryMetadata"),tY=tm.G.instance();function tQ(Y){return void 0===Y&&(Y={}),new tK(new Map(Object.entries(Y)))}function tX(Y){return"string"!=typeof Y&&(tY.error("Cannot create baggage metadata from unknown type: "+typeof Y),Y=""),{__TYPE__:t$,toString:function(){return Y}}}var tJ="=",t9=";",t5=",",t4="baggage",t3=180,t6=4096,t7=8192,t8=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu};function nt(Y){return Y.reduce(function(Y,et){var en=""+Y+(""!==Y?t5:"")+et;return en.length>t7?Y:en},"")}function nn(Y){return Y.getAllEntries().map(function(Y){var et=t8(Y,2),en=et[0],ei=et[1],eo=encodeURIComponent(en)+"="+encodeURIComponent(ei.value);return void 0!==ei.metadata&&(eo+=t9+ei.metadata.toString()),eo})}function ni(Y){var et,en=Y.split(t9);if(!(en.length<=0)){var ei=en.shift();if(ei){var eo=ei.indexOf(tJ);if(!(eo<=0)){var ea=decodeURIComponent(ei.substring(0,eo).trim()),eu=decodeURIComponent(ei.substring(eo+1).trim());return en.length>0&&(et=tX(en.join(t9))),{key:ea,value:eu,metadata:et}}}}}function na(Y){return"string"!=typeof Y||0===Y.length?{}:Y.split(t5).map(function(Y){return ni(Y)}).filter(function(Y){return void 0!==Y&&Y.value.length>0}).reduce(function(Y,et){return Y[et.key]=et.value,Y},{})}var nu=en(76443);!function(Y){Y.AlwaysOff="always_off",Y.AlwaysOn="always_on",Y.ParentBasedAlwaysOff="parentbased_always_off",Y.ParentBasedAlwaysOn="parentbased_always_on",Y.ParentBasedTraceIdRatio="parentbased_traceidratio",Y.TraceIdRatio="traceidratio"}(sL||(sL={}));var nd="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof en.g?en.g:{},nf=en(44675),nh=",",np=["OTEL_SDK_DISABLED"];function ng(Y){return np.indexOf(Y)>-1}var nv=["OTEL_BSP_EXPORT_TIMEOUT","OTEL_BSP_MAX_EXPORT_BATCH_SIZE","OTEL_BSP_MAX_QUEUE_SIZE","OTEL_BSP_SCHEDULE_DELAY","OTEL_BLRP_EXPORT_TIMEOUT","OTEL_BLRP_MAX_EXPORT_BATCH_SIZE","OTEL_BLRP_MAX_QUEUE_SIZE","OTEL_BLRP_SCHEDULE_DELAY","OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_EVENT_COUNT_LIMIT","OTEL_SPAN_LINK_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT","OTEL_EXPORTER_OTLP_TIMEOUT","OTEL_EXPORTER_OTLP_TRACES_TIMEOUT","OTEL_EXPORTER_OTLP_METRICS_TIMEOUT","OTEL_EXPORTER_OTLP_LOGS_TIMEOUT","OTEL_EXPORTER_JAEGER_AGENT_PORT"];function ny(Y){return nv.indexOf(Y)>-1}var nb=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS"];function nx(Y){return nb.indexOf(Y)>-1}var nk=1/0,nw=128,n_=128,nE=128,nC={OTEL_SDK_DISABLED:!1,CONTAINER_NAME:"",ECS_CONTAINER_METADATA_URI_V4:"",ECS_CONTAINER_METADATA_URI:"",HOSTNAME:"",KUBERNETES_SERVICE_HOST:"",NAMESPACE:"",OTEL_BSP_EXPORT_TIMEOUT:3e4,OTEL_BSP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BSP_MAX_QUEUE_SIZE:2048,OTEL_BSP_SCHEDULE_DELAY:5e3,OTEL_BLRP_EXPORT_TIMEOUT:3e4,OTEL_BLRP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BLRP_MAX_QUEUE_SIZE:2048,OTEL_BLRP_SCHEDULE_DELAY:5e3,OTEL_EXPORTER_JAEGER_AGENT_HOST:"",OTEL_EXPORTER_JAEGER_AGENT_PORT:6832,OTEL_EXPORTER_JAEGER_ENDPOINT:"",OTEL_EXPORTER_JAEGER_PASSWORD:"",OTEL_EXPORTER_JAEGER_USER:"",OTEL_EXPORTER_OTLP_ENDPOINT:"",OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:"",OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:"",OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:"",OTEL_EXPORTER_OTLP_HEADERS:"",OTEL_EXPORTER_OTLP_TRACES_HEADERS:"",OTEL_EXPORTER_OTLP_METRICS_HEADERS:"",OTEL_EXPORTER_OTLP_LOGS_HEADERS:"",OTEL_EXPORTER_OTLP_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_TRACES_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_METRICS_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_LOGS_TIMEOUT:1e4,OTEL_EXPORTER_ZIPKIN_ENDPOINT:"http://localhost:9411/api/v2/spans",OTEL_LOG_LEVEL:nu.n.INFO,OTEL_NO_PATCH_MODULES:[],OTEL_PROPAGATORS:["tracecontext","baggage"],OTEL_RESOURCE_ATTRIBUTES:"",OTEL_SERVICE_NAME:"",OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT:nk,OTEL_ATTRIBUTE_COUNT_LIMIT:nw,OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT:nk,OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT:nw,OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT:nk,OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT:nw,OTEL_SPAN_EVENT_COUNT_LIMIT:128,OTEL_SPAN_LINK_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:n_,OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:nE,OTEL_TRACES_EXPORTER:"",OTEL_TRACES_SAMPLER:sL.ParentBasedAlwaysOn,OTEL_TRACES_SAMPLER_ARG:"",OTEL_LOGS_EXPORTER:"",OTEL_EXPORTER_OTLP_INSECURE:"",OTEL_EXPORTER_OTLP_TRACES_INSECURE:"",OTEL_EXPORTER_OTLP_METRICS_INSECURE:"",OTEL_EXPORTER_OTLP_LOGS_INSECURE:"",OTEL_EXPORTER_OTLP_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_COMPRESSION:"",OTEL_EXPORTER_OTLP_TRACES_COMPRESSION:"",OTEL_EXPORTER_OTLP_METRICS_COMPRESSION:"",OTEL_EXPORTER_OTLP_LOGS_COMPRESSION:"",OTEL_EXPORTER_OTLP_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_LOGS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE:"cumulative"};function nT(Y,et,en){if(void 0!==en[Y]){var ei=String(en[Y]);et[Y]="true"===ei.toLowerCase()}}function nS(Y,et,en,ei,eo){if(void 0===ei&&(ei=-1/0),void 0===eo&&(eo=1/0),void 0!==en[Y]){var ea=Number(en[Y]);isNaN(ea)||(ea<ei?et[Y]=ei:ea>eo?et[Y]=eo:et[Y]=ea)}}function nA(Y,et,en,ei){void 0===ei&&(ei=nh);var eo=en[Y];"string"==typeof eo&&(et[Y]=eo.split(ei).map(function(Y){return Y.trim()}))}var nM={ALL:nu.n.ALL,VERBOSE:nu.n.VERBOSE,DEBUG:nu.n.DEBUG,INFO:nu.n.INFO,WARN:nu.n.WARN,ERROR:nu.n.ERROR,NONE:nu.n.NONE};function nP(Y,et,en){var ei=en[Y];if("string"==typeof ei){var eo=nM[ei.toUpperCase()];null!=eo&&(et[Y]=eo)}}function nj(Y){var et={};for(var en in nC){var ei=en;if("OTEL_LOG_LEVEL"===ei)nP(ei,et,Y);else if(ng(ei))nT(ei,et,Y);else if(ny(ei))nS(ei,et,Y);else if(nx(ei))nA(ei,et,Y);else{var eo=Y[ei];null!=eo&&(et[ei]=String(eo))}}return et}function nO(){return void 0!==nf&&nf&&nf.env?nj(nf.env):nj(nd)}function nI(){var Y=nj(nd);return Object.assign({},nC,Y)}var nN=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu},nL=1e4,nR=5,nD=1e3,nF=5e3,nB=1.5;function nz(Y){void 0===Y&&(Y={});var et={};return Object.entries(Y).forEach(function(Y){var en=nN(Y,2),ei=en[0],eo=en[1];void 0!==eo?et[ei]=String(eo):tg.warn('Header "'+ei+'" has wrong value and will be ignored')}),et}function nU(Y,et){return Y.endsWith("/")||(Y+="/"),Y+et}function nH(Y){try{var et=new URL(Y);return""===et.pathname&&(et.pathname=et.pathname+"/"),et.toString()}catch(et){return tg.warn("Could not parse export URL: '"+Y+"'"),Y}}function nG(Y){return"number"!=typeof Y?nV():Y<=0?nW(Y,nL):Y}function nV(){var Y,et=Number(null!==(Y=nI().OTEL_EXPORTER_OTLP_TRACES_TIMEOUT)&&void 0!==Y?Y:nI().OTEL_EXPORTER_OTLP_TIMEOUT);return et<=0?nW(et,nL):et}function nW(Y,et){return tg.warn("Timeout must be greater than 0",Y),et}function nq(Y){return[429,502,503,504].includes(Y)}function nZ(Y){if(null==Y)return -1;var et=Number.parseInt(Y,10);if(Number.isInteger(et))return et>0?1e3*et:-1;var en=new Date(Y).getTime()-Date.now();return en>=0?en:0}var nK=function(){function Y(){var Y=this;this._promise=new Promise(function(et,en){Y._resolve=et,Y._reject=en})}return Object.defineProperty(Y.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),Y.prototype.resolve=function(Y){this._resolve(Y)},Y.prototype.reject=function(Y){this._reject(Y)},Y}(),n$=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu},nY=function(Y,et,en){if(en||2==arguments.length)for(var ei,eo=0,ea=et.length;eo<ea;eo++)!ei&&eo in et||(ei||(ei=Array.prototype.slice.call(et,0,eo)),ei[eo]=et[eo]);return Y.concat(ei||Array.prototype.slice.call(et))},nQ=function(){function Y(Y,et){this._callback=Y,this._that=et,this._isCalled=!1,this._deferred=new nK}return Object.defineProperty(Y.prototype,"isCalled",{get:function(){return this._isCalled},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"promise",{get:function(){return this._deferred.promise},enumerable:!1,configurable:!0}),Y.prototype.call=function(){for(var Y,et=this,en=[],ei=0;ei<arguments.length;ei++)en[ei]=arguments[ei];if(!this._isCalled){this._isCalled=!0;try{Promise.resolve((Y=this._callback).call.apply(Y,nY([this._that],n$(en),!1))).then(function(Y){return et._deferred.resolve(Y)},function(Y){return et._deferred.reject(Y)})}catch(Y){this._deferred.reject(Y)}}return this._deferred.promise},Y}();!function(Y){Y[Y.SUCCESS=0]="SUCCESS",Y[Y.FAILED=1]="FAILED"}(sR||(sR={}));var nX=function(){function Y(Y){void 0===Y&&(Y={}),this._sendingPromises=[],this.url=this.getDefaultUrl(Y),"string"==typeof Y.hostname&&(this.hostname=Y.hostname),this.shutdown=this.shutdown.bind(this),this._shutdownOnce=new nQ(this._shutdown,this),this._concurrencyLimit="number"==typeof Y.concurrencyLimit?Y.concurrencyLimit:1/0,this.timeoutMillis=nG(Y.timeoutMillis),this.onInit(Y)}return Y.prototype.export=function(Y,et){if(this._shutdownOnce.isCalled){et({code:sR.FAILED,error:Error("Exporter has been shutdown")});return}if(this._sendingPromises.length>=this._concurrencyLimit){et({code:sR.FAILED,error:Error("Concurrent export limit reached")});return}this._export(Y).then(function(){et({code:sR.SUCCESS})}).catch(function(Y){et({code:sR.FAILED,error:Y})})},Y.prototype._export=function(Y){var et=this;return new Promise(function(en,ei){try{tg.debug("items to be sent",Y),et.send(Y,en,ei)}catch(Y){ei(Y)}})},Y.prototype.shutdown=function(){return this._shutdownOnce.call()},Y.prototype.forceFlush=function(){return Promise.all(this._sendingPromises).then(function(){})},Y.prototype._shutdown=function(){return tg.debug("shutdown started"),this.onShutdown(),this.forceFlush()},Y}(),nJ=function(){var Y=function(et,en){return(Y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(Y,et){Y.__proto__=et}||function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])})(et,en)};return function(et,en){if("function"!=typeof en&&null!==en)throw TypeError("Class extends value "+String(en)+" is not a constructor or null");function ei(){this.constructor=et}Y(et,en),et.prototype=null===en?Object.create(en):(ei.prototype=en.prototype,new ei)}}(),n0=function(Y){function et(et,en,ei){var eo=Y.call(this,et)||this;return eo.name="OTLPExporterError",eo.data=ei,eo.code=en,eo}return nJ(et,Y),et}(Error),n9=function(){return(n9=Object.assign||function(Y){for(var et,en=1,ei=arguments.length;en<ei;en++)for(var eo in et=arguments[en])Object.prototype.hasOwnProperty.call(et,eo)&&(Y[eo]=et[eo]);return Y}).apply(this,arguments)},n5=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu};function n4(Y,et,en,ei,eo){navigator.sendBeacon(et,new Blob([Y],en))?(tg.debug("sendBeacon - can send",Y),ei()):eo(new n0("sendBeacon - cannot send "+Y))}function n3(Y,et,en,ei,eo,ea){var eu,ec,ed=!1,ef=setTimeout(function(){clearTimeout(eu),ed=!0,ec.readyState===XMLHttpRequest.DONE?ea(new n0("Request Timeout")):ec.abort()},ei),eh=function(ei,ep){void 0===ei&&(ei=nR),void 0===ep&&(ep=nD),(ec=new XMLHttpRequest).open("POST",et),Object.entries(n9(n9({},{Accept:"application/json","Content-Type":"application/json"}),en)).forEach(function(Y){var et=n5(Y,2),en=et[0],ei=et[1];ec.setRequestHeader(en,ei)}),ec.send(Y),ec.onreadystatechange=function(){if(ec.readyState===XMLHttpRequest.DONE&&!1===ed){if(ec.status>=200&&ec.status<=299)tg.debug("xhr success",Y),eo(),clearTimeout(ef),clearTimeout(eu);else if(ec.status&&nq(ec.status)&&ei>0){var et=void 0;ep*=nB,eu=setTimeout(function(){eh(ei-1,ep)},et=ec.getResponseHeader("Retry-After")?nZ(ec.getResponseHeader("Retry-After")):Math.round(Math.random()*(nF-ep)+ep))}else ea(new n0("Failed to export with XHR (status: "+ec.status+")",ec.status)),clearTimeout(ef),clearTimeout(eu)}},ec.onabort=function(){ed&&ea(new n0("Request Timeout")),clearTimeout(ef),clearTimeout(eu)},ec.onerror=function(){ed&&ea(new n0("Request Timeout")),clearTimeout(ef),clearTimeout(eu)}};eh()}var n6=function(){var Y=function(et,en){return(Y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(Y,et){Y.__proto__=et}||function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])})(et,en)};return function(et,en){if("function"!=typeof en&&null!==en)throw TypeError("Class extends value "+String(en)+" is not a constructor or null");function ei(){this.constructor=et}Y(et,en),et.prototype=null===en?Object.create(en):(ei.prototype=en.prototype,new ei)}}(),n7=function(Y){function et(et){void 0===et&&(et={});var en=Y.call(this,et)||this;return en._useXHR=!1,en._useXHR=!!et.headers||"function"!=typeof navigator.sendBeacon,en._useXHR?en._headers=Object.assign({},nz(et.headers),na(nI().OTEL_EXPORTER_OTLP_HEADERS)):en._headers={},en}return n6(et,Y),et.prototype.onInit=function(){nd.addEventListener("unload",this.shutdown)},et.prototype.onShutdown=function(){nd.removeEventListener("unload",this.shutdown)},et.prototype.send=function(Y,et,en){var ei=this;if(this._shutdownOnce.isCalled){tg.debug("Shutdown already started. Cannot send objects");return}var eo=JSON.stringify(this.convert(Y)),ea=new Promise(function(Y,et){ei._useXHR?n3(eo,ei.url,ei._headers,ei.timeoutMillis,Y,et):n4(eo,ei.url,{type:"application/json"},Y,et)}).then(et,en);this._sendingPromises.push(ea);var eu=function(){var Y=ei._sendingPromises.indexOf(ea);ei._sendingPromises.splice(Y,1)};ea.then(eu,eu)},et}(nX),n8=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu};function rn(Y){return Object.keys(Y).map(function(et){return rr(et,Y[et])})}function rr(Y,et){return{key:Y,value:ri(et)}}function ri(Y){var et=typeof Y;return"string"===et?{stringValue:Y}:"number"===et?Number.isInteger(Y)?{intValue:Y}:{doubleValue:Y}:"boolean"===et?{boolValue:Y}:Y instanceof Uint8Array?{bytesValue:Y}:Array.isArray(Y)?{arrayValue:{values:Y.map(ri)}}:"object"===et&&null!=Y?{kvlistValue:{values:Object.entries(Y).map(function(Y){var et=n8(Y,2);return rr(et[0],et[1])})}}:{}}var ro=4294967296,ra=function(){function Y(Y,et){this.low=Y,this.high=et}return Y.fromU32=function(et){return new Y(et%ro|0,0)},Y.prototype.multiply=function(et){var en,ei,eo=this.high>>>16,ea=65535&this.high,eu=this.low>>>16,ec=65535&this.low,ed=et.high>>>16,ef=65535&et.high,eh=et.low>>>16,ep=65535&et.low,em=0,eg=0;return en=0+((ei=0+ec*ep)>>>16),ei&=65535,en+=eu*ep,eg+=en>>>16,en&=65535,en+=ec*eh,eg+=en>>>16,en&=65535,eg+=ea*ep,em+=eg>>>16,eg&=65535,eg+=eu*eh,em+=eg>>>16,eg&=65535,eg+=ec*ef,em+=eg>>>16,eg&=65535,em+=eo*ep+ea*eh+eu*ef+ec*ed,em&=65535,new Y(en<<16|ei,em<<16|eg)},Y.prototype.add=function(et){var en,ei,eo=this.high>>>16,ea=65535&this.high,eu=this.low>>>16,ec=65535&this.low,ed=et.high>>>16,ef=65535&et.high,eh=et.low>>>16,ep=65535&et.low,em=0,eg=0;return en=0+((ei=0+(ec+ep))>>>16),ei&=65535,en+=eu+eh,eg+=en>>>16,en&=65535,eg+=ea+ef,em+=eg>>>16,eg&=65535,em+=eo+ed,em&=65535,new Y(en<<16|ei,em<<16|eg)},Y.fromString=function(et){for(var en=Y.fromU32(0),ei=0;ei<et.length;ei+=8){var eo=Math.min(8,et.length-ei),ea=parseInt(et.substring(ei,ei+eo));if(eo<8){var eu=Y.fromU32(Math.pow(10,eo));en=en.multiply(eu).add(Y.fromU32(ea))}else en=(en=en.multiply(Y.fromU32(1e8))).add(Y.fromU32(ea))}return en},Y}(),rs=ra.fromU32(1e9);function rl(Y){return ra.fromU32(Y[0]).multiply(rs).add(ra.fromU32(Y[1]))}function ru(Y){for(var et=Y.length,en="",ei=0;ei<et;ei+=2)en+=String.fromCharCode(parseInt(Y.substring(ei,ei+2),16));return btoa(en)}function rc(Y,et){var en,ei=Y.spanContext(),eo=Y.status,ea=et?Y.parentSpanId:null!=Y.parentSpanId?ru(Y.parentSpanId):void 0;return{traceId:et?ei.traceId:ru(ei.traceId),spanId:et?ei.spanId:ru(ei.spanId),parentSpanId:ea,traceState:null===(en=ei.traceState)||void 0===en?void 0:en.serialize(),name:Y.name,kind:null==Y.kind?0:Y.kind+1,startTimeUnixNano:rl(Y.startTime),endTimeUnixNano:rl(Y.endTime),attributes:rn(Y.attributes),droppedAttributesCount:Y.droppedAttributesCount,events:Y.events.map(rp),droppedEventsCount:Y.droppedEventsCount,status:{code:eo.code,message:eo.message},links:Y.links.map(function(Y){return rh(Y,et)}),droppedLinksCount:Y.droppedLinksCount}}function rh(Y,et){var en;return{attributes:Y.attributes?rn(Y.attributes):[],spanId:et?Y.context.spanId:ru(Y.context.spanId),traceId:et?Y.context.traceId:ru(Y.context.traceId),traceState:null===(en=Y.context.traceState)||void 0===en?void 0:en.serialize(),droppedAttributesCount:Y.droppedAttributesCount||0}}function rp(Y){return{attributes:Y.attributes?rn(Y.attributes):[],name:Y.name,timeUnixNano:rl(Y.time),droppedAttributesCount:Y.droppedAttributesCount||0}}var rm=function(Y){var et="function"==typeof Symbol&&Symbol.iterator,en=et&&Y[et],ei=0;if(en)return en.call(Y);if(Y&&"number"==typeof Y.length)return{next:function(){return Y&&ei>=Y.length&&(Y=void 0),{value:Y&&Y[ei++],done:!Y}}};throw TypeError(et?"Object is not iterable.":"Symbol.iterator is not defined.")},rg=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu};function rv(Y,et){return{resourceSpans:rb(Y,et)}}function ry(Y){var et,en,ei=new Map;try{for(var eo=rm(Y),ea=eo.next();!ea.done;ea=eo.next()){var eu=ea.value,ec=ei.get(eu.resource);ec||(ec=new Map,ei.set(eu.resource,ec));var ed=eu.instrumentationLibrary.name+"@"+(eu.instrumentationLibrary.version||"")+":"+(eu.instrumentationLibrary.schemaUrl||""),ef=ec.get(ed);ef||(ef=[],ec.set(ed,ef)),ef.push(eu)}}catch(Y){et={error:Y}}finally{try{ea&&!ea.done&&(en=eo.return)&&en.call(eo)}finally{if(et)throw et.error}}return ei}function rb(Y,et){for(var en=ry(Y),ei=[],eo=en.entries(),ea=eo.next();!ea.done;){for(var eu=rg(ea.value,2),ec=eu[0],ed=eu[1],ef=[],eh=ed.values(),ep=eh.next();!ep.done;){var em=ep.value;if(em.length>0){var eg=em[0].instrumentationLibrary,ey=eg.name,eb=eg.version,ek=eg.schemaUrl,ew=em.map(function(Y){return rc(Y,et)});ef.push({scope:{name:ey,version:eb},spans:ew,schemaUrl:ek})}ep=eh.next()}var e_={resource:{attributes:rn(ec.attributes),droppedAttributesCount:0},scopeSpans:ef,schemaUrl:void 0};ei.push(e_),ea=eo.next()}return ei}var rk=function(){var Y=function(et,en){return(Y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(Y,et){Y.__proto__=et}||function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])})(et,en)};return function(et,en){if("function"!=typeof en&&null!==en)throw TypeError("Class extends value "+String(en)+" is not a constructor or null");function ei(){this.constructor=et}Y(et,en),et.prototype=null===en?Object.create(en):(ei.prototype=en.prototype,new ei)}}(),r_="v1/traces",rE="http://localhost:4318/"+r_,rC=function(Y){function et(et){void 0===et&&(et={});var en=Y.call(this,et)||this;return en._headers=Object.assign(en._headers,na(nI().OTEL_EXPORTER_OTLP_TRACES_HEADERS)),en}return rk(et,Y),et.prototype.convert=function(Y){return rv(Y,!0)},et.prototype.getDefaultUrl=function(Y){return"string"==typeof Y.url?Y.url:nI().OTEL_EXPORTER_OTLP_TRACES_ENDPOINT.length>0?nH(nI().OTEL_EXPORTER_OTLP_TRACES_ENDPOINT):nI().OTEL_EXPORTER_OTLP_ENDPOINT.length>0?nU(nI().OTEL_EXPORTER_OTLP_ENDPOINT,r_):rE},et}(n7),rT=function(){var Y=function(et,en){return(Y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(Y,et){Y.__proto__=et}||function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])})(et,en)};return function(et,en){if("function"!=typeof en&&null!==en)throw TypeError("Class extends value "+String(en)+" is not a constructor or null");function ei(){this.constructor=et}Y(et,en),et.prototype=null===en?Object.create(en):(ei.prototype=en.prototype,new ei)}}(),rS=function(){function Y(){}return Y.prototype.createHistogram=function(Y,et){return rF},Y.prototype.createCounter=function(Y,et){return rD},Y.prototype.createUpDownCounter=function(Y,et){return rB},Y.prototype.createObservableGauge=function(Y,et){return rU},Y.prototype.createObservableCounter=function(Y,et){return rz},Y.prototype.createObservableUpDownCounter=function(Y,et){return rH},Y.prototype.addBatchObservableCallback=function(Y,et){},Y.prototype.removeBatchObservableCallback=function(Y){},Y}(),rA=function(){return function(){}}(),rM=function(Y){function et(){return null!==Y&&Y.apply(this,arguments)||this}return rT(et,Y),et.prototype.add=function(Y,et){},et}(rA),rP=function(Y){function et(){return null!==Y&&Y.apply(this,arguments)||this}return rT(et,Y),et.prototype.add=function(Y,et){},et}(rA),rj=function(Y){function et(){return null!==Y&&Y.apply(this,arguments)||this}return rT(et,Y),et.prototype.record=function(Y,et){},et}(rA),rO=function(){function Y(){}return Y.prototype.addCallback=function(Y){},Y.prototype.removeCallback=function(Y){},Y}(),rI=function(Y){function et(){return null!==Y&&Y.apply(this,arguments)||this}return rT(et,Y),et}(rO),rN=function(Y){function et(){return null!==Y&&Y.apply(this,arguments)||this}return rT(et,Y),et}(rO),rL=function(Y){function et(){return null!==Y&&Y.apply(this,arguments)||this}return rT(et,Y),et}(rO),rR=new rS,rD=new rM,rF=new rj,rB=new rP,rz=new rI,rU=new rN,rH=new rL,rG=new(function(){function Y(){}return Y.prototype.getMeter=function(Y,et,en){return rR},Y}()),rV=en(36248),rW="metrics",rq=(function(){function Y(){}return Y.getInstance=function(){return this._instance||(this._instance=new Y),this._instance},Y.prototype.setGlobalMeterProvider=function(Y){return(0,rV.TG)(rW,Y,tm.G.instance())},Y.prototype.getMeterProvider=function(){return(0,rV.Rd)(rW)||rG},Y.prototype.getMeter=function(Y,et,en){return this.getMeterProvider().getMeter(Y,et,en)},Y.prototype.disable=function(){(0,rV.J_)(rW,tm.G.instance())},Y})().getInstance();function rZ(Y){void 0===Y&&(Y=[]);for(var et=[],en=0,ei=Y.length;en<ei;en++){var eo=Y[en];if(Array.isArray(eo)){var ea=rZ(eo);et=et.concat(ea.instrumentations)}else"function"==typeof eo?et.push(new eo):eo.instrumentationName&&et.push(eo)}return{instrumentations:et}}function rK(Y,et,en){for(var ei=0,eo=Y.length;ei<eo;ei++){var ea=Y[ei];et&&ea.setTracerProvider(et),en&&ea.setMeterProvider(en),ea.getConfig().enabled||ea.enable()}}function r$(Y){Y.forEach(function(Y){return Y.disable()})}function rY(Y){var et=rZ(Y.instrumentations).instrumentations;return rK(et,Y.tracerProvider||tk.g.getTracerProvider(),Y.meterProvider||rq.getMeterProvider()),function(){r$(et)}}var rQ=en(55398),rX=function(){function Y(){}return Y.prototype.inject=function(Y,et){},Y.prototype.extract=function(Y,et){return Y},Y.prototype.fields=function(){return[]},Y}(),rJ={get:function(Y,et){if(null!=Y)return Y[et]},keys:function(Y){return null==Y?[]:Object.keys(Y)}},r0={set:function(Y,et,en){null!=Y&&(Y[et]=en)}},r1=en(18796),r2=(0,tE.Y)("OpenTelemetry Baggage Key");function r9(Y){return Y.getValue(r2)||void 0}function r5(){return r9(r1.c.getInstance().active())}function r4(Y,et){return Y.setValue(r2,et)}function r3(Y){return Y.deleteValue(r2)}var r6="propagation",r7=new rX,r8=(function(){function Y(){this.createBaggage=tQ,this.getBaggage=r9,this.getActiveBaggage=r5,this.setBaggage=r4,this.deleteBaggage=r3}return Y.getInstance=function(){return this._instance||(this._instance=new Y),this._instance},Y.prototype.setGlobalPropagator=function(Y){return(0,rV.TG)(r6,Y,tm.G.instance())},Y.prototype.inject=function(Y,et,en){return void 0===en&&(en=r0),this._getGlobalPropagator().inject(Y,et,en)},Y.prototype.extract=function(Y,et,en){return void 0===en&&(en=rJ),this._getGlobalPropagator().extract(Y,et,en)},Y.prototype.fields=function(){return this._getGlobalPropagator().fields()},Y.prototype.disable=function(){(0,rV.J_)(r6,tm.G.instance())},Y.prototype._getGlobalPropagator=function(){return(0,rV.Rd)(r6)||r7},Y})().getInstance(),ir=performance;!function(Y){Y.CONNECT_END="connectEnd",Y.CONNECT_START="connectStart",Y.DECODED_BODY_SIZE="decodedBodySize",Y.DOM_COMPLETE="domComplete",Y.DOM_CONTENT_LOADED_EVENT_END="domContentLoadedEventEnd",Y.DOM_CONTENT_LOADED_EVENT_START="domContentLoadedEventStart",Y.DOM_INTERACTIVE="domInteractive",Y.DOMAIN_LOOKUP_END="domainLookupEnd",Y.DOMAIN_LOOKUP_START="domainLookupStart",Y.ENCODED_BODY_SIZE="encodedBodySize",Y.FETCH_START="fetchStart",Y.LOAD_EVENT_END="loadEventEnd",Y.LOAD_EVENT_START="loadEventStart",Y.NAVIGATION_START="navigationStart",Y.REDIRECT_END="redirectEnd",Y.REDIRECT_START="redirectStart",Y.REQUEST_START="requestStart",Y.RESPONSE_END="responseEnd",Y.RESPONSE_START="responseStart",Y.SECURE_CONNECTION_START="secureConnectionStart",Y.UNLOAD_EVENT_END="unloadEventEnd",Y.UNLOAD_EVENT_START="unloadEventStart"}(sD||(sD={}));var ii=1e6,io=1e9;function ia(Y){return[Math.trunc(Y/1e3),Math.round(Y%1e3*ii)]}function il(){var Y=ir.timeOrigin;if("number"!=typeof Y){var et=ir;Y=et.timing&&et.timing.fetchStart}return Y}function iu(Y){return iw(ia(il()),ia("number"==typeof Y?Y:ir.now()))}function ih(Y){if(ib(Y))return Y;if("number"==typeof Y)return Y<il()?iu(Y):ia(Y);if(Y instanceof Date)return ia(Y.getTime());throw TypeError("Invalid input type")}function im(Y,et){var en=et[0]-Y[0],ei=et[1]-Y[1];return ei<0&&(en-=1,ei+=io),[en,ei]}function ig(Y){return Y[0]*io+Y[1]}function iy(Y){return 1e6*Y[0]+Y[1]/1e3}function ib(Y){return Array.isArray(Y)&&2===Y.length&&"number"==typeof Y[0]&&"number"==typeof Y[1]}function ix(Y){return ib(Y)||"number"==typeof Y||Y instanceof Date}function iw(Y,et){var en=[Y[0]+et[0],Y[1]+et[1]];return en[1]>=io&&(en[1]-=io,en[0]+=1),en}var i_=function(Y){var et="function"==typeof Symbol&&Symbol.iterator,en=et&&Y[et],ei=0;if(en)return en.call(Y);if(Y&&"number"==typeof Y.length)return{next:function(){return Y&&ei>=Y.length&&(Y=void 0),{value:Y&&Y[ei++],done:!Y}}};throw TypeError(et?"Object is not iterable.":"Symbol.iterator is not defined.")};function iE(Y,et){return"string"==typeof et?Y===et:!!Y.match(et)}function iC(Y,et){var en,ei;if(!et)return!1;try{for(var eo=i_(et),ea=eo.next();!ea.done;ea=eo.next()){var eu=ea.value;if(iE(Y,eu))return!0}}catch(Y){en={error:Y}}finally{try{ea&&!ea.done&&(ei=eo.return)&&ei.call(eo)}finally{if(en)throw en.error}}return!1}var iT={AWS_LAMBDA_INVOKED_ARN:"aws.lambda.invoked_arn",DB_SYSTEM:"db.system",DB_CONNECTION_STRING:"db.connection_string",DB_USER:"db.user",DB_JDBC_DRIVER_CLASSNAME:"db.jdbc.driver_classname",DB_NAME:"db.name",DB_STATEMENT:"db.statement",DB_OPERATION:"db.operation",DB_MSSQL_INSTANCE_NAME:"db.mssql.instance_name",DB_CASSANDRA_KEYSPACE:"db.cassandra.keyspace",DB_CASSANDRA_PAGE_SIZE:"db.cassandra.page_size",DB_CASSANDRA_CONSISTENCY_LEVEL:"db.cassandra.consistency_level",DB_CASSANDRA_TABLE:"db.cassandra.table",DB_CASSANDRA_IDEMPOTENCE:"db.cassandra.idempotence",DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT:"db.cassandra.speculative_execution_count",DB_CASSANDRA_COORDINATOR_ID:"db.cassandra.coordinator.id",DB_CASSANDRA_COORDINATOR_DC:"db.cassandra.coordinator.dc",DB_HBASE_NAMESPACE:"db.hbase.namespace",DB_REDIS_DATABASE_INDEX:"db.redis.database_index",DB_MONGODB_COLLECTION:"db.mongodb.collection",DB_SQL_TABLE:"db.sql.table",EXCEPTION_TYPE:"exception.type",EXCEPTION_MESSAGE:"exception.message",EXCEPTION_STACKTRACE:"exception.stacktrace",EXCEPTION_ESCAPED:"exception.escaped",FAAS_TRIGGER:"faas.trigger",FAAS_EXECUTION:"faas.execution",FAAS_DOCUMENT_COLLECTION:"faas.document.collection",FAAS_DOCUMENT_OPERATION:"faas.document.operation",FAAS_DOCUMENT_TIME:"faas.document.time",FAAS_DOCUMENT_NAME:"faas.document.name",FAAS_TIME:"faas.time",FAAS_CRON:"faas.cron",FAAS_COLDSTART:"faas.coldstart",FAAS_INVOKED_NAME:"faas.invoked_name",FAAS_INVOKED_PROVIDER:"faas.invoked_provider",FAAS_INVOKED_REGION:"faas.invoked_region",NET_TRANSPORT:"net.transport",NET_PEER_IP:"net.peer.ip",NET_PEER_PORT:"net.peer.port",NET_PEER_NAME:"net.peer.name",NET_HOST_IP:"net.host.ip",NET_HOST_PORT:"net.host.port",NET_HOST_NAME:"net.host.name",NET_HOST_CONNECTION_TYPE:"net.host.connection.type",NET_HOST_CONNECTION_SUBTYPE:"net.host.connection.subtype",NET_HOST_CARRIER_NAME:"net.host.carrier.name",NET_HOST_CARRIER_MCC:"net.host.carrier.mcc",NET_HOST_CARRIER_MNC:"net.host.carrier.mnc",NET_HOST_CARRIER_ICC:"net.host.carrier.icc",PEER_SERVICE:"peer.service",ENDUSER_ID:"enduser.id",ENDUSER_ROLE:"enduser.role",ENDUSER_SCOPE:"enduser.scope",THREAD_ID:"thread.id",THREAD_NAME:"thread.name",CODE_FUNCTION:"code.function",CODE_NAMESPACE:"code.namespace",CODE_FILEPATH:"code.filepath",CODE_LINENO:"code.lineno",HTTP_METHOD:"http.method",HTTP_URL:"http.url",HTTP_TARGET:"http.target",HTTP_HOST:"http.host",HTTP_SCHEME:"http.scheme",HTTP_STATUS_CODE:"http.status_code",HTTP_FLAVOR:"http.flavor",HTTP_USER_AGENT:"http.user_agent",HTTP_REQUEST_CONTENT_LENGTH:"http.request_content_length",HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED:"http.request_content_length_uncompressed",HTTP_RESPONSE_CONTENT_LENGTH:"http.response_content_length",HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED:"http.response_content_length_uncompressed",HTTP_SERVER_NAME:"http.server_name",HTTP_ROUTE:"http.route",HTTP_CLIENT_IP:"http.client_ip",AWS_DYNAMODB_TABLE_NAMES:"aws.dynamodb.table_names",AWS_DYNAMODB_CONSUMED_CAPACITY:"aws.dynamodb.consumed_capacity",AWS_DYNAMODB_ITEM_COLLECTION_METRICS:"aws.dynamodb.item_collection_metrics",AWS_DYNAMODB_PROVISIONED_READ_CAPACITY:"aws.dynamodb.provisioned_read_capacity",AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY:"aws.dynamodb.provisioned_write_capacity",AWS_DYNAMODB_CONSISTENT_READ:"aws.dynamodb.consistent_read",AWS_DYNAMODB_PROJECTION:"aws.dynamodb.projection",AWS_DYNAMODB_LIMIT:"aws.dynamodb.limit",AWS_DYNAMODB_ATTRIBUTES_TO_GET:"aws.dynamodb.attributes_to_get",AWS_DYNAMODB_INDEX_NAME:"aws.dynamodb.index_name",AWS_DYNAMODB_SELECT:"aws.dynamodb.select",AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES:"aws.dynamodb.global_secondary_indexes",AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES:"aws.dynamodb.local_secondary_indexes",AWS_DYNAMODB_EXCLUSIVE_START_TABLE:"aws.dynamodb.exclusive_start_table",AWS_DYNAMODB_TABLE_COUNT:"aws.dynamodb.table_count",AWS_DYNAMODB_SCAN_FORWARD:"aws.dynamodb.scan_forward",AWS_DYNAMODB_SEGMENT:"aws.dynamodb.segment",AWS_DYNAMODB_TOTAL_SEGMENTS:"aws.dynamodb.total_segments",AWS_DYNAMODB_COUNT:"aws.dynamodb.count",AWS_DYNAMODB_SCANNED_COUNT:"aws.dynamodb.scanned_count",AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS:"aws.dynamodb.attribute_definitions",AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES:"aws.dynamodb.global_secondary_index_updates",MESSAGING_SYSTEM:"messaging.system",MESSAGING_DESTINATION:"messaging.destination",MESSAGING_DESTINATION_KIND:"messaging.destination_kind",MESSAGING_TEMP_DESTINATION:"messaging.temp_destination",MESSAGING_PROTOCOL:"messaging.protocol",MESSAGING_PROTOCOL_VERSION:"messaging.protocol_version",MESSAGING_URL:"messaging.url",MESSAGING_MESSAGE_ID:"messaging.message_id",MESSAGING_CONVERSATION_ID:"messaging.conversation_id",MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES:"messaging.message_payload_size_bytes",MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES:"messaging.message_payload_compressed_size_bytes",MESSAGING_OPERATION:"messaging.operation",MESSAGING_CONSUMER_ID:"messaging.consumer_id",MESSAGING_RABBITMQ_ROUTING_KEY:"messaging.rabbitmq.routing_key",MESSAGING_KAFKA_MESSAGE_KEY:"messaging.kafka.message_key",MESSAGING_KAFKA_CONSUMER_GROUP:"messaging.kafka.consumer_group",MESSAGING_KAFKA_CLIENT_ID:"messaging.kafka.client_id",MESSAGING_KAFKA_PARTITION:"messaging.kafka.partition",MESSAGING_KAFKA_TOMBSTONE:"messaging.kafka.tombstone",RPC_SYSTEM:"rpc.system",RPC_SERVICE:"rpc.service",RPC_METHOD:"rpc.method",RPC_GRPC_STATUS_CODE:"rpc.grpc.status_code",RPC_JSONRPC_VERSION:"rpc.jsonrpc.version",RPC_JSONRPC_REQUEST_ID:"rpc.jsonrpc.request_id",RPC_JSONRPC_ERROR_CODE:"rpc.jsonrpc.error_code",RPC_JSONRPC_ERROR_MESSAGE:"rpc.jsonrpc.error_message",MESSAGE_TYPE:"message.type",MESSAGE_ID:"message.id",MESSAGE_COMPRESSED_SIZE:"message.compressed_size",MESSAGE_UNCOMPRESSED_SIZE:"message.uncompressed_size"};function iS(){return sF||(sF=document.createElement("a")),sF}function iA(Y,et){return et in Y}function iM(Y,et,en){if(iA(en,et)&&"number"==typeof en[et])return Y.addEvent(et,en[et]),Y}function iP(Y,et){iM(Y,sD.FETCH_START,et),iM(Y,sD.DOMAIN_LOOKUP_START,et),iM(Y,sD.DOMAIN_LOOKUP_END,et),iM(Y,sD.CONNECT_START,et),iA(et,"name")&&et.name.startsWith("https:")&&iM(Y,sD.SECURE_CONNECTION_START,et),iM(Y,sD.CONNECT_END,et),iM(Y,sD.REQUEST_START,et),iM(Y,sD.RESPONSE_START,et),iM(Y,sD.RESPONSE_END,et);var en=et[sD.ENCODED_BODY_SIZE];void 0!==en&&Y.setAttribute(iT.HTTP_RESPONSE_CONTENT_LENGTH,en);var ei=et[sD.DECODED_BODY_SIZE];void 0!==ei&&en!==ei&&Y.setAttribute(iT.HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED,ei)}function ij(Y){return Y.slice().sort(function(Y,et){var en=Y[sD.FETCH_START],ei=et[sD.FETCH_START];return en>ei?1:en<ei?-1:0})}function iO(Y,et,en,ei,eo,ea){void 0===eo&&(eo=new WeakSet);var eu=iL(Y),ec=iN(Y=eu.toString(),et,en,ei,eo,ea);if(0===ec.length)return{mainRequest:void 0};if(1===ec.length)return{mainRequest:ec[0]};var ed=ij(ec);if(eu.origin===location.origin||!(ed.length>1))return{mainRequest:ec[0]};var ef=ed[0],eh=iI(ed,ef[sD.RESPONSE_END],en),ep=ef[sD.RESPONSE_END];return eh[sD.FETCH_START]<ep&&(eh=ef,ef=void 0),{corsPreFlightRequest:ef,mainRequest:eh}}function iI(Y,et,en){for(var ei,eo=ig(en),ea=ig(ih(et)),eu=Y[1],ec=Y.length,ed=1;ed<ec;ed++){var ef=Y[ed],eh=ig(ih(ef[sD.FETCH_START])),ep=eo-ig(ih(ef[sD.RESPONSE_END]));eh>=ea&&(!ei||ep<ei)&&(ei=ep,eu=ef)}return eu}function iN(Y,et,en,ei,eo,ea){var eu=ig(et),ec=ig(en),ed=ei.filter(function(et){var en=ig(ih(et[sD.FETCH_START])),ei=ig(ih(et[sD.RESPONSE_END]));return et.initiatorType.toLowerCase()===(ea||"xmlhttprequest")&&et.name===Y&&en>=eu&&ei<=ec});return ed.length>0&&(ed=ed.filter(function(Y){return!eo.has(Y)})),ed}function iL(Y){if("function"==typeof URL)return new URL(Y,"undefined"!=typeof document?document.baseURI:"undefined"!=typeof location?location.href:void 0);var et=iS();return et.href=Y,et}function iR(Y,et){var en=et||[];return("string"==typeof en||en instanceof RegExp)&&(en=[en]),iL(Y).origin===location.origin||en.some(function(et){return iE(Y,et)})}function iD(Y,et,en){var ei,eo;try{eo=Y()}catch(Y){ei=Y}finally{if(et(ei,eo),ei&&!en)throw ei;return eo}}function iF(Y){return"function"==typeof Y&&"function"==typeof Y.__original&&"function"==typeof Y.__unwrap&&!0===Y.__wrapped}var iB=en(62777),iz=function(){return(iz=Object.assign||function(Y){for(var et,en=1,ei=arguments.length;en<ei;en++)for(var eo in et=arguments[en])Object.prototype.hasOwnProperty.call(et,eo)&&(Y[eo]=et[eo]);return Y}).apply(this,arguments)},iU=function(){function Y(Y,et,en){void 0===en&&(en={}),this.instrumentationName=Y,this.instrumentationVersion=et,this._wrap=iB.wrap,this._unwrap=iB.unwrap,this._massWrap=iB.massWrap,this._massUnwrap=iB.massUnwrap,this._config=iz({enabled:!0},en),this._diag=tg.createComponentLogger({namespace:Y}),this._tracer=tk.g.getTracer(Y,et),this._meter=rq.getMeter(Y,et),this._updateMetricInstruments()}return Object.defineProperty(Y.prototype,"meter",{get:function(){return this._meter},enumerable:!1,configurable:!0}),Y.prototype.setMeterProvider=function(Y){this._meter=Y.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()},Y.prototype._updateMetricInstruments=function(){},Y.prototype.getConfig=function(){return this._config},Y.prototype.setConfig=function(Y){void 0===Y&&(Y={}),this._config=Object.assign({},Y)},Y.prototype.setTracerProvider=function(Y){this._tracer=Y.getTracer(this.instrumentationName,this.instrumentationVersion)},Object.defineProperty(Y.prototype,"tracer",{get:function(){return this._tracer},enumerable:!1,configurable:!0}),Y}(),iH=function(){var Y=function(et,en){return(Y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(Y,et){Y.__proto__=et}||function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])})(et,en)};return function(et,en){if("function"!=typeof en&&null!==en)throw TypeError("Class extends value "+String(en)+" is not a constructor or null");function ei(){this.constructor=et}Y(et,en),et.prototype=null===en?Object.create(en):(ei.prototype=en.prototype,new ei)}}(),iG=function(Y){function et(et,en,ei){void 0===ei&&(ei={});var eo=Y.call(this,et,en,ei)||this;return eo._config.enabled&&eo.enable(),eo}return iH(et,Y),et}(iU);!function(Y){Y.DOCUMENT_LOAD="documentLoad",Y.DOCUMENT_FETCH="documentFetch",Y.RESOURCE_FETCH="resourceFetch"}(sB||(sB={}));var iV="0.33.2";!function(Y){Y.FIRST_PAINT="firstPaint",Y.FIRST_CONTENTFUL_PAINT="firstContentfulPaint"}(sU||(sU={}));var iW=function(){var Y,et,en={},ei=null===(et=(Y=ir).getEntriesByType)||void 0===et?void 0:et.call(Y,"navigation")[0];if(ei){var eo=Object.values(sD);eo.forEach(function(Y){if(iA(ei,Y)){var et=ei[Y];"number"==typeof et&&(en[Y]=et)}})}else{var ea=ir.timing;if(ea){var eo=Object.values(sD);eo.forEach(function(Y){if(iA(ea,Y)){var et=ea[Y];"number"==typeof et&&(en[Y]=et)}})}}return en},iq={"first-paint":sU.FIRST_PAINT,"first-contentful-paint":sU.FIRST_CONTENTFUL_PAINT},iZ=function(Y){var et,en,ei=null===(en=(et=ir).getEntriesByType)||void 0===en?void 0:en.call(et,"paint");ei&&ei.forEach(function(et){var en=et.name,ei=et.startTime;iA(iq,en)&&Y.addEvent(iq[en],ei)})},iK=function(){var Y=function(et,en){return(Y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(Y,et){Y.__proto__=et}||function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])})(et,en)};return function(et,en){if("function"!=typeof en&&null!==en)throw TypeError("Class extends value "+String(en)+" is not a constructor or null");function ei(){this.constructor=et}Y(et,en),et.prototype=null===en?Object.create(en):(ei.prototype=en.prototype,new ei)}}(),i$=function(Y){function et(et){void 0===et&&(et={});var en=Y.call(this,"@opentelemetry/instrumentation-document-load",iV,et)||this;return en.component="document-load",en.version="1",en.moduleName=en.component,en}return iK(et,Y),et.prototype.init=function(){},et.prototype._onDocumentLoaded=function(){var Y=this;window.setTimeout(function(){Y._collectPerformance()})},et.prototype._addResourcesSpans=function(Y){var et,en,ei=this,eo=null===(en=(et=ir).getEntriesByType)||void 0===en?void 0:en.call(et,"resource");eo&&eo.forEach(function(et){ei._initResourceSpan(et,Y)})},et.prototype._collectPerformance=function(){var Y=this,et=Array.from(document.getElementsByTagName("meta")).find(function(Y){return Y.getAttribute("name")===tB}),en=iW(),ei=et&&et.content||"";rQ.D.with(r8.extract(tE.I,{traceparent:ei}),function(){var et,ei=Y._startSpan(sB.DOCUMENT_LOAD,sD.FETCH_START,en);ei&&(rQ.D.with(tk.g.setSpan(rQ.D.active(),ei),function(){var et=Y._startSpan(sB.DOCUMENT_FETCH,sD.FETCH_START,en);et&&(et.setAttribute(iT.HTTP_URL,location.href),rQ.D.with(tk.g.setSpan(rQ.D.active(),et),function(){var ei;iP(et,en),Y._addCustomAttributesOnSpan(et,null===(ei=Y._getConfig().applyCustomAttributesOnSpan)||void 0===ei?void 0:ei.documentFetch),Y._endSpan(et,sD.RESPONSE_END,en)}))}),ei.setAttribute(iT.HTTP_URL,location.href),ei.setAttribute(iT.HTTP_USER_AGENT,navigator.userAgent),Y._addResourcesSpans(ei),iM(ei,sD.FETCH_START,en),iM(ei,sD.UNLOAD_EVENT_START,en),iM(ei,sD.UNLOAD_EVENT_END,en),iM(ei,sD.DOM_INTERACTIVE,en),iM(ei,sD.DOM_CONTENT_LOADED_EVENT_START,en),iM(ei,sD.DOM_CONTENT_LOADED_EVENT_END,en),iM(ei,sD.DOM_COMPLETE,en),iM(ei,sD.LOAD_EVENT_START,en),iM(ei,sD.LOAD_EVENT_END,en),iZ(ei),Y._addCustomAttributesOnSpan(ei,null===(et=Y._getConfig().applyCustomAttributesOnSpan)||void 0===et?void 0:et.documentLoad),Y._endSpan(ei,sD.LOAD_EVENT_END,en))})},et.prototype._endSpan=function(Y,et,en){Y&&(iA(en,et)?Y.end(en[et]):Y.end())},et.prototype._initResourceSpan=function(Y,et){var en,ei=this._startSpan(sB.RESOURCE_FETCH,sD.FETCH_START,Y,et);ei&&(ei.setAttribute(iT.HTTP_URL,Y.name),iP(ei,Y),this._addCustomAttributesOnResourceSpan(ei,Y,null===(en=this._getConfig().applyCustomAttributesOnSpan)||void 0===en?void 0:en.resourceFetch),this._endSpan(ei,sD.RESPONSE_END,Y))},et.prototype._startSpan=function(Y,et,en,ei){if(iA(en,et)&&"number"==typeof en[et])return this.tracer.startSpan(Y,{startTime:en[et]},ei?tk.g.setSpan(rQ.D.active(),ei):void 0)},et.prototype._waitForPageLoad=function(){"complete"===window.document.readyState?this._onDocumentLoaded():(this._onDocumentLoaded=this._onDocumentLoaded.bind(this),window.addEventListener("load",this._onDocumentLoaded))},et.prototype._getConfig=function(){return this._config},et.prototype._addCustomAttributesOnSpan=function(Y,et){var en=this;et&&iD(function(){return et(Y)},function(Y){Y&&en._diag.error("addCustomAttributesOnSpan",Y)},!0)},et.prototype._addCustomAttributesOnResourceSpan=function(Y,et,en){var ei=this;en&&iD(function(){return en(Y,et)},function(Y){Y&&ei._diag.error("addCustomAttributesOnResourceSpan",Y)},!0)},et.prototype.enable=function(){window.removeEventListener("load",this._onDocumentLoaded),this._waitForPageLoad()},et.prototype.disable=function(){window.removeEventListener("load",this._onDocumentLoaded)},et}(iG);!function(Y){Y[Y.INTERNAL=0]="INTERNAL",Y[Y.SERVER=1]="SERVER",Y[Y.CLIENT=2]="CLIENT",Y[Y.PRODUCER=3]="PRODUCER",Y[Y.CONSUMER=4]="CONSUMER"}(sH||(sH={})),function(Y){Y.COMPONENT="component",Y.HTTP_ERROR_NAME="http.error_name",Y.HTTP_STATUS_TEXT="http.status_text"}(sG||(sG={}));var iQ="0.44.0",iJ=function(){var Y=function(et,en){return(Y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(Y,et){Y.__proto__=et}||function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])})(et,en)};return function(et,en){if("function"!=typeof en&&null!==en)throw TypeError("Class extends value "+String(en)+" is not a constructor or null");function ei(){this.constructor=et}Y(et,en),et.prototype=null===en?Object.create(en):(ei.prototype=en.prototype,new ei)}}(),i0=300,i9=function(Y){function et(et){var en=Y.call(this,"@opentelemetry/instrumentation-fetch",iQ,et)||this;return en.component="fetch",en.version=iQ,en.moduleName=en.component,en._usedResources=new WeakSet,en._tasksCount=0,en}return iJ(et,Y),et.prototype.init=function(){},et.prototype._getConfig=function(){return this._config},et.prototype._addChildSpan=function(Y,et){var en=this.tracer.startSpan("CORS Preflight",{startTime:et[sD.FETCH_START]},tk.g.setSpan(rQ.D.active(),Y));this._getConfig().ignoreNetworkEvents||iP(en,et),en.end(et[sD.RESPONSE_END])},et.prototype._addFinalSpanAttributes=function(Y,et){var en=iL(et.url);Y.setAttribute(iT.HTTP_STATUS_CODE,et.status),null!=et.statusText&&Y.setAttribute(sG.HTTP_STATUS_TEXT,et.statusText),Y.setAttribute(iT.HTTP_HOST,en.host),Y.setAttribute(iT.HTTP_SCHEME,en.protocol.replace(":","")),Y.setAttribute(iT.HTTP_USER_AGENT,navigator.userAgent)},et.prototype._addHeaders=function(Y,et){if(!iR(et,this._getConfig().propagateTraceHeaderCorsUrls)){var en={};r8.inject(rQ.D.active(),en),Object.keys(en).length>0&&this._diag.debug("headers inject skipped due to CORS policy");return}if(Y instanceof Request)r8.inject(rQ.D.active(),Y.headers,{set:function(Y,et,en){return Y.set(et,"string"==typeof en?en:String(en))}});else if(Y.headers instanceof Headers)r8.inject(rQ.D.active(),Y.headers,{set:function(Y,et,en){return Y.set(et,"string"==typeof en?en:String(en))}});else{var en={};r8.inject(rQ.D.active(),en),Y.headers=Object.assign({},en,Y.headers||{})}},et.prototype._clearResources=function(){0===this._tasksCount&&this._getConfig().clearTimingResources&&(performance.clearResourceTimings(),this._usedResources=new WeakSet)},et.prototype._createSpan=function(Y,et){if(void 0===et&&(et={}),iC(Y,this._getConfig().ignoreUrls)){this._diag.debug("ignoring span as url matches ignored url");return}var en,ei=(et.method||"GET").toUpperCase(),eo="HTTP "+ei;return this.tracer.startSpan(eo,{kind:sH.CLIENT,attributes:((en={})[sG.COMPONENT]=this.moduleName,en[iT.HTTP_METHOD]=ei,en[iT.HTTP_URL]=Y,en)})},et.prototype._findResourceAndAddNetworkEvents=function(Y,et,en){var ei=et.entries;if(!ei.length){if(!performance.getEntriesByType)return;ei=performance.getEntriesByType("resource")}var eo=iO(et.spanUrl,et.startTime,en,ei,this._usedResources,"fetch");if(eo.mainRequest){var ea=eo.mainRequest;this._markResourceAsUsed(ea);var eu=eo.corsPreFlightRequest;eu&&(this._addChildSpan(Y,eu),this._markResourceAsUsed(eu)),this._getConfig().ignoreNetworkEvents||iP(Y,ea)}},et.prototype._markResourceAsUsed=function(Y){this._usedResources.add(Y)},et.prototype._endSpan=function(Y,et,en){var ei=this,eo=ia(Date.now()),ea=iu();this._addFinalSpanAttributes(Y,en),setTimeout(function(){var en;null===(en=et.observer)||void 0===en||en.disconnect(),ei._findResourceAndAddNetworkEvents(Y,et,ea),ei._tasksCount--,ei._clearResources(),Y.end(eo)},i0)},et.prototype._patchConstructor=function(){var Y=this;return function(et){var en=Y;return function(){for(var Y=[],ei=0;ei<arguments.length;ei++)Y[ei]=arguments[ei];var eo=this,ea=iL(Y[0]instanceof Request?Y[0].url:String(Y[0])).href,eu=Y[0]instanceof Request?Y[0]:Y[1]||{},ec=en._createSpan(ea,eu);if(!ec)return et.apply(this,Y);var ed=en._prepareSpanData(ea);function ef(Y,et){en._applyAttributesAfterFetch(Y,eu,et),en._endSpan(Y,ed,{status:et.status||0,statusText:et.message,url:ea})}function eh(Y,et){en._applyAttributesAfterFetch(Y,eu,et),et.status>=200&&et.status<400?en._endSpan(Y,ed,et):en._endSpan(Y,ed,{status:et.status,statusText:et.statusText,url:ea})}function ep(Y,et,en){try{var ei=en.clone(),eo=en.clone(),ea=ei.body;if(ea){var eu=ea.getReader(),ec=function(){eu.read().then(function(et){et.done?eh(Y,eo):ec()},function(et){ef(Y,et)})};ec()}else eh(Y,en)}finally{et(en)}}function em(Y,et,en){try{ef(Y,en)}finally{et(en)}}return new Promise(function(Y,ei){return rQ.D.with(tk.g.setSpan(rQ.D.active(),ec),function(){return en._addHeaders(eu,ea),en._tasksCount++,et.apply(eo,eu instanceof Request?[eu]:[ea,eu]).then(ep.bind(eo,ec,Y),em.bind(eo,ec,ei))})})}}},et.prototype._applyAttributesAfterFetch=function(Y,et,en){var ei=this,eo=this._getConfig().applyCustomAttributesOnSpan;eo&&iD(function(){return eo(Y,et,en)},function(Y){Y&&ei._diag.error("applyCustomAttributesOnSpan",Y)},!0)},et.prototype._prepareSpanData=function(Y){var et=iu(),en=[];if("function"!=typeof PerformanceObserver)return{entries:en,startTime:et,spanUrl:Y};var ei=new PerformanceObserver(function(et){et.getEntries().forEach(function(et){"fetch"===et.initiatorType&&et.name===Y&&en.push(et)})});return ei.observe({entryTypes:["resource"]}),{entries:en,observer:ei,startTime:et,spanUrl:Y}},et.prototype.enable=function(){iF(fetch)&&(this._unwrap(nd,"fetch"),this._diag.debug("removing previous patch for constructor")),this._wrap(nd,"fetch",this._patchConstructor())},et.prototype.disable=function(){this._unwrap(nd,"fetch"),this._usedResources=new WeakSet},et}(iG);!function(Y){Y.METHOD_OPEN="open",Y.METHOD_SEND="send",Y.EVENT_ABORT="abort",Y.EVENT_ERROR="error",Y.EVENT_LOAD="loaded",Y.EVENT_TIMEOUT="timeout"}(sV||(sV={}));var i5="0.44.0";!function(Y){Y.HTTP_STATUS_TEXT="http.status_text"}(sW||(sW={}));var i4=function(){var Y=function(et,en){return(Y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(Y,et){Y.__proto__=et}||function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])})(et,en)};return function(et,en){if("function"!=typeof en&&null!==en)throw TypeError("Class extends value "+String(en)+" is not a constructor or null");function ei(){this.constructor=et}Y(et,en),et.prototype=null===en?Object.create(en):(ei.prototype=en.prototype,new ei)}}(),i3=300,i6=function(Y){function et(et){var en=Y.call(this,"@opentelemetry/instrumentation-xml-http-request",i5,et)||this;return en.component="xml-http-request",en.version=i5,en.moduleName=en.component,en._tasksCount=0,en._xhrMem=new WeakMap,en._usedResources=new WeakSet,en}return i4(et,Y),et.prototype.init=function(){},et.prototype._getConfig=function(){return this._config},et.prototype._addHeaders=function(Y,et){if(!iR(iL(et).href,this._getConfig().propagateTraceHeaderCorsUrls)){var en={};r8.inject(rQ.D.active(),en),Object.keys(en).length>0&&this._diag.debug("headers inject skipped due to CORS policy");return}var ei={};r8.inject(rQ.D.active(),ei),Object.keys(ei).forEach(function(et){Y.setRequestHeader(et,String(ei[et]))})},et.prototype._addChildSpan=function(Y,et){var en=this;rQ.D.with(tk.g.setSpan(rQ.D.active(),Y),function(){var Y=en.tracer.startSpan("CORS Preflight",{startTime:et[sD.FETCH_START]});iP(Y,et),Y.end(et[sD.RESPONSE_END])})},et.prototype._addFinalSpanAttributes=function(Y,et,en){if("string"==typeof en){var ei=iL(en);void 0!==et.status&&Y.setAttribute(iT.HTTP_STATUS_CODE,et.status),void 0!==et.statusText&&Y.setAttribute(sW.HTTP_STATUS_TEXT,et.statusText),Y.setAttribute(iT.HTTP_HOST,ei.host),Y.setAttribute(iT.HTTP_SCHEME,ei.protocol.replace(":","")),Y.setAttribute(iT.HTTP_USER_AGENT,navigator.userAgent)}},et.prototype._applyAttributesAfterXHR=function(Y,et){var en=this,ei=this._getConfig().applyCustomAttributesOnSpan;"function"==typeof ei&&iD(function(){return ei(Y,et)},function(Y){Y&&en._diag.error("applyCustomAttributesOnSpan",Y)},!0)},et.prototype._addResourceObserver=function(Y,et){var en=this._xhrMem.get(Y);en&&"function"==typeof PerformanceObserver&&"function"==typeof PerformanceResourceTiming&&(en.createdResources={observer:new PerformanceObserver(function(Y){var ei=Y.getEntries(),eo=iL(et);ei.forEach(function(Y){"xmlhttprequest"===Y.initiatorType&&Y.name===eo.href&&en.createdResources&&en.createdResources.entries.push(Y)})}),entries:[]},en.createdResources.observer.observe({entryTypes:["resource"]}))},et.prototype._clearResources=function(){0===this._tasksCount&&this._getConfig().clearTimingResources&&(ir.clearResourceTimings(),this._xhrMem=new WeakMap,this._usedResources=new WeakSet)},et.prototype._findResourceAndAddNetworkEvents=function(Y,et,en,ei,eo){if(en&&ei&&eo&&Y.createdResources){var ea=Y.createdResources.entries;ea&&ea.length||(ea=ir.getEntriesByType("resource"));var eu=iO(iL(en).href,ei,eo,ea,this._usedResources);if(eu.mainRequest){var ec=eu.mainRequest;this._markResourceAsUsed(ec);var ed=eu.corsPreFlightRequest;ed&&(this._addChildSpan(et,ed),this._markResourceAsUsed(ed)),iP(et,ec)}}},et.prototype._cleanPreviousSpanInformation=function(Y){var et=this._xhrMem.get(Y);if(et){var en=et.callbackToRemoveEvents;en&&en(),this._xhrMem.delete(Y)}},et.prototype._createSpan=function(Y,et,en){if(iC(et,this._getConfig().ignoreUrls)){this._diag.debug("ignoring span as url matches ignored url");return}var ei,eo=en.toUpperCase(),ea=this.tracer.startSpan(eo,{kind:sH.CLIENT,attributes:((ei={})[iT.HTTP_METHOD]=en,ei[iT.HTTP_URL]=iL(et).toString(),ei)});return ea.addEvent(sV.METHOD_OPEN),this._cleanPreviousSpanInformation(Y),this._xhrMem.set(Y,{span:ea,spanUrl:et}),ea},et.prototype._markResourceAsUsed=function(Y){this._usedResources.add(Y)},et.prototype._patchOpen=function(){var Y=this;return function(et){var en=Y;return function(){for(var Y=[],ei=0;ei<arguments.length;ei++)Y[ei]=arguments[ei];var eo=Y[0],ea=Y[1];return en._createSpan(this,ea,eo),et.apply(this,Y)}}},et.prototype._patchSend=function(){var Y=this;function et(et,en,ei,eo){var ea=en.callbackToRemoveEvents;"function"==typeof ea&&ea();var eu=en.span,ec=en.spanUrl,ed=en.sendStartTime;eu&&(Y._findResourceAndAddNetworkEvents(en,eu,ec,ed,ei),eu.addEvent(et,eo),Y._addFinalSpanAttributes(eu,en,ec),eu.end(eo),Y._tasksCount--),Y._clearResources()}function en(en,ei){var eo=Y._xhrMem.get(ei);if(eo){eo.status=ei.status,eo.statusText=ei.statusText,Y._xhrMem.delete(ei),eo.span&&Y._applyAttributesAfterXHR(eo.span,ei);var ea=iu(),eu=Date.now();setTimeout(function(){et(en,eo,ea,eu)},i3)}}function ei(){en(sV.EVENT_ERROR,this)}function eo(){en(sV.EVENT_ABORT,this)}function ea(){en(sV.EVENT_TIMEOUT,this)}function eu(){this.status<299?en(sV.EVENT_LOAD,this):en(sV.EVENT_ERROR,this)}function ec(et){et.removeEventListener("abort",eo),et.removeEventListener("error",ei),et.removeEventListener("load",eu),et.removeEventListener("timeout",ea);var en=Y._xhrMem.get(et);en&&(en.callbackToRemoveEvents=void 0)}return function(et){return function(){for(var en=this,ed=[],ef=0;ef<arguments.length;ef++)ed[ef]=arguments[ef];var eh=Y._xhrMem.get(this);if(!eh)return et.apply(this,ed);var ep=eh.span,em=eh.spanUrl;return ep&&em&&rQ.D.with(tk.g.setSpan(rQ.D.active(),ep),function(){Y._tasksCount++,eh.sendStartTime=iu(),ep.addEvent(sV.METHOD_SEND),en.addEventListener("abort",eo),en.addEventListener("error",ei),en.addEventListener("load",eu),en.addEventListener("timeout",ea),eh.callbackToRemoveEvents=function(){ec(en),eh.createdResources&&eh.createdResources.observer.disconnect()},Y._addHeaders(en,em),Y._addResourceObserver(en,em)}),et.apply(this,ed)}}},et.prototype.enable=function(){this._diag.debug("applying patch to",this.moduleName,this.version),iF(XMLHttpRequest.prototype.open)&&(this._unwrap(XMLHttpRequest.prototype,"open"),this._diag.debug("removing previous patch from method open")),iF(XMLHttpRequest.prototype.send)&&(this._unwrap(XMLHttpRequest.prototype,"send"),this._diag.debug("removing previous patch from method send")),this._wrap(XMLHttpRequest.prototype,"open",this._patchOpen()),this._wrap(XMLHttpRequest.prototype,"send",this._patchSend())},et.prototype.disable=function(){this._diag.debug("removing patch from",this.moduleName,this.version),this._unwrap(XMLHttpRequest.prototype,"open"),this._unwrap(XMLHttpRequest.prototype,"send"),this._tasksCount=0,this._xhrMem=new WeakMap,this._usedResources=new WeakSet},et}(iG),i7={CLOUD_PROVIDER:"cloud.provider",CLOUD_ACCOUNT_ID:"cloud.account.id",CLOUD_REGION:"cloud.region",CLOUD_AVAILABILITY_ZONE:"cloud.availability_zone",CLOUD_PLATFORM:"cloud.platform",AWS_ECS_CONTAINER_ARN:"aws.ecs.container.arn",AWS_ECS_CLUSTER_ARN:"aws.ecs.cluster.arn",AWS_ECS_LAUNCHTYPE:"aws.ecs.launchtype",AWS_ECS_TASK_ARN:"aws.ecs.task.arn",AWS_ECS_TASK_FAMILY:"aws.ecs.task.family",AWS_ECS_TASK_REVISION:"aws.ecs.task.revision",AWS_EKS_CLUSTER_ARN:"aws.eks.cluster.arn",AWS_LOG_GROUP_NAMES:"aws.log.group.names",AWS_LOG_GROUP_ARNS:"aws.log.group.arns",AWS_LOG_STREAM_NAMES:"aws.log.stream.names",AWS_LOG_STREAM_ARNS:"aws.log.stream.arns",CONTAINER_NAME:"container.name",CONTAINER_ID:"container.id",CONTAINER_RUNTIME:"container.runtime",CONTAINER_IMAGE_NAME:"container.image.name",CONTAINER_IMAGE_TAG:"container.image.tag",DEPLOYMENT_ENVIRONMENT:"deployment.environment",DEVICE_ID:"device.id",DEVICE_MODEL_IDENTIFIER:"device.model.identifier",DEVICE_MODEL_NAME:"device.model.name",FAAS_NAME:"faas.name",FAAS_ID:"faas.id",FAAS_VERSION:"faas.version",FAAS_INSTANCE:"faas.instance",FAAS_MAX_MEMORY:"faas.max_memory",HOST_ID:"host.id",HOST_NAME:"host.name",HOST_TYPE:"host.type",HOST_ARCH:"host.arch",HOST_IMAGE_NAME:"host.image.name",HOST_IMAGE_ID:"host.image.id",HOST_IMAGE_VERSION:"host.image.version",K8S_CLUSTER_NAME:"k8s.cluster.name",K8S_NODE_NAME:"k8s.node.name",K8S_NODE_UID:"k8s.node.uid",K8S_NAMESPACE_NAME:"k8s.namespace.name",K8S_POD_UID:"k8s.pod.uid",K8S_POD_NAME:"k8s.pod.name",K8S_CONTAINER_NAME:"k8s.container.name",K8S_REPLICASET_UID:"k8s.replicaset.uid",K8S_REPLICASET_NAME:"k8s.replicaset.name",K8S_DEPLOYMENT_UID:"k8s.deployment.uid",K8S_DEPLOYMENT_NAME:"k8s.deployment.name",K8S_STATEFULSET_UID:"k8s.statefulset.uid",K8S_STATEFULSET_NAME:"k8s.statefulset.name",K8S_DAEMONSET_UID:"k8s.daemonset.uid",K8S_DAEMONSET_NAME:"k8s.daemonset.name",K8S_JOB_UID:"k8s.job.uid",K8S_JOB_NAME:"k8s.job.name",K8S_CRONJOB_UID:"k8s.cronjob.uid",K8S_CRONJOB_NAME:"k8s.cronjob.name",OS_TYPE:"os.type",OS_DESCRIPTION:"os.description",OS_NAME:"os.name",OS_VERSION:"os.version",PROCESS_PID:"process.pid",PROCESS_EXECUTABLE_NAME:"process.executable.name",PROCESS_EXECUTABLE_PATH:"process.executable.path",PROCESS_COMMAND:"process.command",PROCESS_COMMAND_LINE:"process.command_line",PROCESS_COMMAND_ARGS:"process.command_args",PROCESS_OWNER:"process.owner",PROCESS_RUNTIME_NAME:"process.runtime.name",PROCESS_RUNTIME_VERSION:"process.runtime.version",PROCESS_RUNTIME_DESCRIPTION:"process.runtime.description",SERVICE_NAME:"service.name",SERVICE_NAMESPACE:"service.namespace",SERVICE_INSTANCE_ID:"service.instance.id",SERVICE_VERSION:"service.version",TELEMETRY_SDK_NAME:"telemetry.sdk.name",TELEMETRY_SDK_LANGUAGE:"telemetry.sdk.language",TELEMETRY_SDK_VERSION:"telemetry.sdk.version",TELEMETRY_AUTO_VERSION:"telemetry.auto.version",WEBENGINE_NAME:"webengine.name",WEBENGINE_VERSION:"webengine.version",WEBENGINE_DESCRIPTION:"webengine.description"},i8={CPP:"cpp",DOTNET:"dotnet",ERLANG:"erlang",GO:"go",JAVA:"java",NODEJS:"nodejs",PHP:"php",PYTHON:"python",RUBY:"ruby",WEBJS:"webjs"},ot="1.17.1",or=((sq={})[i7.TELEMETRY_SDK_NAME]="opentelemetry",sq[i7.PROCESS_RUNTIME_NAME]="browser",sq[i7.TELEMETRY_SDK_LANGUAGE]=i8.WEBJS,sq[i7.TELEMETRY_SDK_VERSION]=ot,sq);function oi(){return"unknown_service"}var oo=function(){return(oo=Object.assign||function(Y){for(var et,en=1,ei=arguments.length;en<ei;en++)for(var eo in et=arguments[en])Object.prototype.hasOwnProperty.call(et,eo)&&(Y[eo]=et[eo]);return Y}).apply(this,arguments)},os=function(Y,et,en,ei){function eo(Y){return Y instanceof en?Y:new en(function(et){et(Y)})}return new(en||(en=Promise))(function(en,ea){function eu(Y){try{ed(ei.next(Y))}catch(Y){ea(Y)}}function ec(Y){try{ed(ei.throw(Y))}catch(Y){ea(Y)}}function ed(Y){Y.done?en(Y.value):eo(Y.value).then(eu,ec)}ed((ei=ei.apply(Y,et||[])).next())})},ol=function(Y,et){var en,ei,eo,ea,eu={label:0,sent:function(){if(1&eo[0])throw eo[1];return eo[1]},trys:[],ops:[]};return ea={next:ec(0),throw:ec(1),return:ec(2)},"function"==typeof Symbol&&(ea[Symbol.iterator]=function(){return this}),ea;function ec(Y){return function(et){return ed([Y,et])}}function ed(ea){if(en)throw TypeError("Generator is already executing.");for(;eu;)try{if(en=1,ei&&(eo=2&ea[0]?ei.return:ea[0]?ei.throw||((eo=ei.return)&&eo.call(ei),0):ei.next)&&!(eo=eo.call(ei,ea[1])).done)return eo;switch(ei=0,eo&&(ea=[2&ea[0],eo.value]),ea[0]){case 0:case 1:eo=ea;break;case 4:return eu.label++,{value:ea[1],done:!1};case 5:eu.label++,ei=ea[1],ea=[0];continue;case 7:ea=eu.ops.pop(),eu.trys.pop();continue;default:if(!(eo=(eo=eu.trys).length>0&&eo[eo.length-1])&&(6===ea[0]||2===ea[0])){eu=0;continue}if(3===ea[0]&&(!eo||ea[1]>eo[0]&&ea[1]<eo[3])){eu.label=ea[1];break}if(6===ea[0]&&eu.label<eo[1]){eu.label=eo[1],eo=ea;break}if(eo&&eu.label<eo[2]){eu.label=eo[2],eu.ops.push(ea);break}eo[2]&&eu.ops.pop(),eu.trys.pop();continue}ea=et.call(Y,eu)}catch(Y){ea=[6,Y],ei=0}finally{en=eo=0}if(5&ea[0])throw ea[1];return{value:ea[0]?ea[1]:void 0,done:!0}}},ou=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu},oc=function(){function Y(Y,et){var en,ei=this;this._attributes=Y,this.asyncAttributesPending=null!=et,this._syncAttributes=null!==(en=this._attributes)&&void 0!==en?en:{},this._asyncAttributesPromise=null==et?void 0:et.then(function(Y){return ei._attributes=Object.assign({},ei._attributes,Y),ei.asyncAttributesPending=!1,Y},function(Y){return tg.debug("a resource's async attributes promise rejected: %s",Y),ei.asyncAttributesPending=!1,{}})}return Y.empty=function(){return Y.EMPTY},Y.default=function(){var et;return new Y(((et={})[i7.SERVICE_NAME]=oi(),et[i7.TELEMETRY_SDK_LANGUAGE]=or[i7.TELEMETRY_SDK_LANGUAGE],et[i7.TELEMETRY_SDK_NAME]=or[i7.TELEMETRY_SDK_NAME],et[i7.TELEMETRY_SDK_VERSION]=or[i7.TELEMETRY_SDK_VERSION],et))},Object.defineProperty(Y.prototype,"attributes",{get:function(){var Y;return this.asyncAttributesPending&&tg.error("Accessing resource attributes before async attributes settled"),null!==(Y=this._attributes)&&void 0!==Y?Y:{}},enumerable:!1,configurable:!0}),Y.prototype.waitForAsyncAttributes=function(){return os(this,void 0,void 0,function(){return ol(this,function(Y){switch(Y.label){case 0:if(!this.asyncAttributesPending)return[3,2];return[4,this._asyncAttributesPromise];case 1:Y.sent(),Y.label=2;case 2:return[2]}})})},Y.prototype.merge=function(et){var en,ei=this;if(!et)return this;var eo=oo(oo({},this._syncAttributes),null!==(en=et._syncAttributes)&&void 0!==en?en:et.attributes);if(!this._asyncAttributesPromise&&!et._asyncAttributesPromise)return new Y(eo);var ea=Promise.all([this._asyncAttributesPromise,et._asyncAttributesPromise]).then(function(Y){var en,eo=ou(Y,2),ea=eo[0],eu=eo[1];return oo(oo(oo(oo({},ei._syncAttributes),ea),null!==(en=et._syncAttributes)&&void 0!==en?en:et.attributes),eu)});return new Y(eo,ea)},Y.EMPTY=new Y({}),Y}(),od={_export:function(Y,et){return new Promise(function(en){rQ.D.with(tT(rQ.D.active()),function(){Y.export(et,function(Y){en(Y)})})})}};function of(Y){return"string"==typeof Y?Y:JSON.stringify(oh(Y))}function oh(Y){for(var et={},en=Y;null!==en;)Object.getOwnPropertyNames(en).forEach(function(Y){if(!et[Y]){var ei=en[Y];ei&&(et[Y]=String(ei))}}),en=Object.getPrototypeOf(en);return et}var om=function(){return function(Y){tg.error(of(Y))}}();function og(Y){try{om(Y)}catch(Y){}}var ov=function(Y,et,en,ei){function eo(Y){return Y instanceof en?Y:new en(function(et){et(Y)})}return new(en||(en=Promise))(function(en,ea){function eu(Y){try{ed(ei.next(Y))}catch(Y){ea(Y)}}function ec(Y){try{ed(ei.throw(Y))}catch(Y){ea(Y)}}function ed(Y){Y.done?en(Y.value):eo(Y.value).then(eu,ec)}ed((ei=ei.apply(Y,et||[])).next())})},ow=function(Y,et){var en,ei,eo,ea,eu={label:0,sent:function(){if(1&eo[0])throw eo[1];return eo[1]},trys:[],ops:[]};return ea={next:ec(0),throw:ec(1),return:ec(2)},"function"==typeof Symbol&&(ea[Symbol.iterator]=function(){return this}),ea;function ec(Y){return function(et){return ed([Y,et])}}function ed(ea){if(en)throw TypeError("Generator is already executing.");for(;eu;)try{if(en=1,ei&&(eo=2&ea[0]?ei.return:ea[0]?ei.throw||((eo=ei.return)&&eo.call(ei),0):ei.next)&&!(eo=eo.call(ei,ea[1])).done)return eo;switch(ei=0,eo&&(ea=[2&ea[0],eo.value]),ea[0]){case 0:case 1:eo=ea;break;case 4:return eu.label++,{value:ea[1],done:!1};case 5:eu.label++,ei=ea[1],ea=[0];continue;case 7:ea=eu.ops.pop(),eu.trys.pop();continue;default:if(!(eo=(eo=eu.trys).length>0&&eo[eo.length-1])&&(6===ea[0]||2===ea[0])){eu=0;continue}if(3===ea[0]&&(!eo||ea[1]>eo[0]&&ea[1]<eo[3])){eu.label=ea[1];break}if(6===ea[0]&&eu.label<eo[1]){eu.label=eo[1],eo=ea;break}if(eo&&eu.label<eo[2]){eu.label=eo[2],eu.ops.push(ea);break}eo[2]&&eu.ops.pop(),eu.trys.pop();continue}ea=et.call(Y,eu)}catch(Y){ea=[6,Y],ei=0}finally{en=eo=0}if(5&ea[0])throw ea[1];return{value:ea[0]?ea[1]:void 0,done:!0}}},o_=function(){function Y(Y){this._exporter=Y,this._shutdownOnce=new nQ(this._shutdown,this),this._unresolvedExports=new Set}return Y.prototype.forceFlush=function(){return ov(this,void 0,void 0,function(){return ow(this,function(Y){switch(Y.label){case 0:return[4,Promise.all(Array.from(this._unresolvedExports))];case 1:if(Y.sent(),!this._exporter.forceFlush)return[3,3];return[4,this._exporter.forceFlush()];case 2:Y.sent(),Y.label=3;case 3:return[2]}})})},Y.prototype.onStart=function(Y,et){},Y.prototype.onEnd=function(Y){var et,en,ei=this;if(!this._shutdownOnce.isCalled&&(Y.spanContext().traceFlags&t_.r.SAMPLED)!=0){var eo=function(){return od._export(ei._exporter,[Y]).then(function(Y){var et;Y.code!==sR.SUCCESS&&og(null!==(et=Y.error)&&void 0!==et?et:Error("SimpleSpanProcessor: span export failed (status "+Y+")"))}).catch(function(Y){og(Y)})};if(Y.resource.asyncAttributesPending){var ea=null===(en=(et=Y.resource).waitForAsyncAttributes)||void 0===en?void 0:en.call(et).then(function(){return null!=ea&&ei._unresolvedExports.delete(ea),eo()},function(Y){return og(Y)});null!=ea&&this._unresolvedExports.add(ea)}else eo()}},Y.prototype.shutdown=function(){return this._shutdownOnce.call()},Y.prototype._shutdown=function(){return this._exporter.shutdown()},Y}(),oE=function(Y){var et="function"==typeof Symbol&&Symbol.iterator,en=et&&Y[et],ei=0;if(en)return en.call(Y);if(Y&&"number"==typeof Y.length)return{next:function(){return Y&&ei>=Y.length&&(Y=void 0),{value:Y&&Y[ei++],done:!Y}}};throw TypeError(et?"Object is not iterable.":"Symbol.iterator is not defined.")},oC=function(){function Y(){}return Y.prototype.export=function(Y,et){return this._sendSpans(Y,et)},Y.prototype.shutdown=function(){return this._sendSpans([]),this.forceFlush()},Y.prototype.forceFlush=function(){return Promise.resolve()},Y.prototype._exportInfo=function(Y){var et;return{traceId:Y.spanContext().traceId,parentId:Y.parentSpanId,traceState:null===(et=Y.spanContext().traceState)||void 0===et?void 0:et.serialize(),name:Y.name,id:Y.spanContext().spanId,kind:Y.kind,timestamp:iy(Y.startTime),duration:iy(Y.duration),attributes:Y.attributes,status:Y.status,events:Y.events,links:Y.links}},Y.prototype._sendSpans=function(Y,et){var en,ei;try{for(var eo=oE(Y),ea=eo.next();!ea.done;ea=eo.next()){var eu=ea.value;console.dir(this._exportInfo(eu),{depth:3})}}catch(Y){en={error:Y}}finally{try{ea&&!ea.done&&(ei=eo.return)&&ei.call(eo)}finally{if(en)throw en.error}}if(et)return et({code:sR.SUCCESS})},Y}(),oT=function(){function Y(Y,et){this._exporter=Y,this._isExporting=!1,this._finishedSpans=[],this._droppedSpansCount=0;var en=nI();this._maxExportBatchSize="number"==typeof(null==et?void 0:et.maxExportBatchSize)?et.maxExportBatchSize:en.OTEL_BSP_MAX_EXPORT_BATCH_SIZE,this._maxQueueSize="number"==typeof(null==et?void 0:et.maxQueueSize)?et.maxQueueSize:en.OTEL_BSP_MAX_QUEUE_SIZE,this._scheduledDelayMillis="number"==typeof(null==et?void 0:et.scheduledDelayMillis)?et.scheduledDelayMillis:en.OTEL_BSP_SCHEDULE_DELAY,this._exportTimeoutMillis="number"==typeof(null==et?void 0:et.exportTimeoutMillis)?et.exportTimeoutMillis:en.OTEL_BSP_EXPORT_TIMEOUT,this._shutdownOnce=new nQ(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(tg.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}return Y.prototype.forceFlush=function(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()},Y.prototype.onStart=function(Y,et){},Y.prototype.onEnd=function(Y){this._shutdownOnce.isCalled||(Y.spanContext().traceFlags&t_.r.SAMPLED)==0||this._addToBuffer(Y)},Y.prototype.shutdown=function(){return this._shutdownOnce.call()},Y.prototype._shutdown=function(){var Y=this;return Promise.resolve().then(function(){return Y.onShutdown()}).then(function(){return Y._flushAll()}).then(function(){return Y._exporter.shutdown()})},Y.prototype._addToBuffer=function(Y){if(this._finishedSpans.length>=this._maxQueueSize){0===this._droppedSpansCount&&tg.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(tg.warn("Dropped "+this._droppedSpansCount+" spans because maxQueueSize reached"),this._droppedSpansCount=0),this._finishedSpans.push(Y),this._maybeStartTimer()},Y.prototype._flushAll=function(){var Y=this;return new Promise(function(et,en){for(var ei=[],eo=Math.ceil(Y._finishedSpans.length/Y._maxExportBatchSize),ea=0,eu=eo;ea<eu;ea++)ei.push(Y._flushOneBatch());Promise.all(ei).then(function(){et()}).catch(en)})},Y.prototype._flushOneBatch=function(){var Y=this;return(this._clearTimer(),0===this._finishedSpans.length)?Promise.resolve():new Promise(function(et,en){var ei=setTimeout(function(){en(Error("Timeout"))},Y._exportTimeoutMillis);rQ.D.with(tT(rQ.D.active()),function(){var eo=Y._finishedSpans.splice(0,Y._maxExportBatchSize),ea=function(){return Y._exporter.export(eo,function(Y){var eo;clearTimeout(ei),Y.code===sR.SUCCESS?et():en(null!==(eo=Y.error)&&void 0!==eo?eo:Error("BatchSpanProcessor: span export failed"))})},eu=eo.map(function(Y){return Y.resource}).filter(function(Y){return Y.asyncAttributesPending});0===eu.length?ea():Promise.all(eu.map(function(Y){var et;return null===(et=Y.waitForAsyncAttributes)||void 0===et?void 0:et.call(Y)})).then(ea,function(Y){og(Y),en(Y)})})})},Y.prototype._maybeStartTimer=function(){var Y=this;if(!this._isExporting){var et=function(){Y._isExporting=!0,Y._flushOneBatch().then(function(){Y._isExporting=!1,Y._finishedSpans.length>0&&(Y._clearTimer(),Y._maybeStartTimer())}).catch(function(et){Y._isExporting=!1,og(et)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return et();void 0===this._timer&&(this._timer=setTimeout(function(){return et()},this._scheduledDelayMillis),this._timer)}},Y.prototype._clearTimer=function(){void 0!==this._timer&&(clearTimeout(this._timer),this._timer=void 0)},Y}(),oS=function(){var Y=function(et,en){return(Y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(Y,et){Y.__proto__=et}||function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])})(et,en)};return function(et,en){if("function"!=typeof en&&null!==en)throw TypeError("Class extends value "+String(en)+" is not a constructor or null");function ei(){this.constructor=et}Y(et,en),et.prototype=null===en?Object.create(en):(ei.prototype=en.prototype,new ei)}}(),oA=function(Y){function et(et,en){var ei=Y.call(this,et,en)||this;return ei.onInit(en),ei}return oS(et,Y),et.prototype.onInit=function(Y){var et=this;(null==Y?void 0:Y.disableAutoFlushOnDocumentHide)!==!0&&"undefined"!=typeof document&&(this._visibilityChangeListener=function(){"hidden"===document.visibilityState&&et.forceFlush()},this._pageHideListener=function(){et.forceFlush()},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))},et.prototype.onShutdown=function(){"undefined"!=typeof document&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))},et}(oT),oM="[object Object]",oP="[object Null]",oj="[object Undefined]",oO=Function.prototype.toString,oI=oO.call(Object),oN=oB(Object.getPrototypeOf,Object),oL=Object.prototype,oR=oL.hasOwnProperty,oD=Symbol?Symbol.toStringTag:void 0,oF=oL.toString;function oB(Y,et){return function(en){return Y(et(en))}}function oz(Y){if(!oU(Y)||oH(Y)!==oM)return!1;var et=oN(Y);if(null===et)return!0;var en=oR.call(et,"constructor")&&et.constructor;return"function"==typeof en&&en instanceof en&&oO.call(en)===oI}function oU(Y){return null!=Y&&"object"==typeof Y}function oH(Y){return null==Y?void 0===Y?oj:oP:oD&&oD in Object(Y)?oG(Y):oV(Y)}function oG(Y){var et=oR.call(Y,oD),en=Y[oD],ei=!1;try{Y[oD]=void 0,ei=!0}catch(Y){}var eo=oF.call(Y);return ei&&(et?Y[oD]=en:delete Y[oD]),eo}function oV(Y){return oF.call(Y)}var oW=20;function oq(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];for(var en=Y.shift(),ei=new WeakMap;Y.length>0;)en=oK(en,Y.shift(),0,ei);return en}function oZ(Y){return oQ(Y)?Y.slice():Y}function oK(Y,et,en,ei){if(void 0===en&&(en=0),!(en>oW)){if(en++,o9(Y)||o9(et)||oJ(et))eo=oZ(et);else if(oQ(Y)){if(eo=Y.slice(),oQ(et))for(var eo,ea=0,eu=et.length;ea<eu;ea++)eo.push(oZ(et[ea]));else if(o0(et))for(var ec=Object.keys(et),ea=0,eu=ec.length;ea<eu;ea++){var ed=ec[ea];eo[ed]=oZ(et[ed])}}else if(o0(Y)){if(o0(et)){if(!o5(Y,et))return et;eo=Object.assign({},Y);for(var ec=Object.keys(et),ea=0,eu=ec.length;ea<eu;ea++){var ed=ec[ea],ef=et[ed];if(o9(ef))void 0===ef?delete eo[ed]:eo[ed]=ef;else{var eh=eo[ed],ep=ef;if(o$(Y,ed,ei)||o$(et,ed,ei))delete eo[ed];else{if(o0(eh)&&o0(ep)){var em=ei.get(eh)||[],eg=ei.get(ep)||[];em.push({obj:Y,key:ed}),eg.push({obj:et,key:ed}),ei.set(eh,em),ei.set(ep,eg)}eo[ed]=oK(eo[ed],ef,en,ei)}}}}else eo=et}return eo}}function o$(Y,et,en){for(var ei=en.get(Y[et])||[],eo=0,ea=ei.length;eo<ea;eo++){var eu=ei[eo];if(eu.key===et&&eu.obj===Y)return!0}return!1}function oQ(Y){return Array.isArray(Y)}function oJ(Y){return"function"==typeof Y}function o0(Y){return!o9(Y)&&!oQ(Y)&&!oJ(Y)&&"object"==typeof Y}function o9(Y){return"string"==typeof Y||"number"==typeof Y||"boolean"==typeof Y||void 0===Y||Y instanceof Date||Y instanceof RegExp||null===Y}function o5(Y,et){return!!(oz(Y)&&oz(et))}var o4=function(){function Y(){}return Y.prototype.inject=function(Y,et,en){var ei=r8.getBaggage(Y);if(!(!ei||tS(Y))){var eo=nn(ei).filter(function(Y){return Y.length<=t6}).slice(0,t3),ea=nt(eo);ea.length>0&&en.set(et,t4,ea)}},Y.prototype.extract=function(Y,et,en){var ei=en.get(et,t4),eo=Array.isArray(ei)?ei.join(t5):ei;if(!eo)return Y;var ea={};return 0===eo.length?Y:(eo.split(t5).forEach(function(Y){var et=ni(Y);if(et){var en={value:et.value};et.metadata&&(en.metadata=et.metadata),ea[et.key]=en}}),0===Object.entries(ea).length)?Y:r8.setBaggage(Y,r8.createBaggage(ea))},Y.prototype.fields=function(){return[t4]},Y}(),o3=en(58634);!function(Y){Y[Y.NOT_RECORD=0]="NOT_RECORD",Y[Y.RECORD=1]="RECORD",Y[Y.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(sZ||(sZ={}));var o6=function(Y){var et="function"==typeof Symbol&&Symbol.iterator,en=et&&Y[et],ei=0;if(en)return en.call(Y);if(Y&&"number"==typeof Y.length)return{next:function(){return Y&&ei>=Y.length&&(Y=void 0),{value:Y&&Y[ei++],done:!Y}}};throw TypeError(et?"Object is not iterable.":"Symbol.iterator is not defined.")},o7=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu};function o8(Y){var et,en,ei={};if("object"!=typeof Y||null==Y)return ei;try{for(var eo=o6(Object.entries(Y)),ea=eo.next();!ea.done;ea=eo.next()){var eu=o7(ea.value,2),ec=eu[0],ed=eu[1];if(!ai(ec)){tg.warn("Invalid attribute key: "+ec);continue}if(!ao(ed)){tg.warn("Invalid attribute value set for key: "+ec);continue}Array.isArray(ed)?ei[ec]=ed.slice():ei[ec]=ed}}catch(Y){et={error:Y}}finally{try{ea&&!ea.done&&(en=eo.return)&&en.call(eo)}finally{if(et)throw et.error}}return ei}function ai(Y){return"string"==typeof Y&&Y.length>0}function ao(Y){return null==Y||(Array.isArray(Y)?aa(Y):al(Y))}function aa(Y){try{for(var et,en,ei,eo=o6(Y),ea=eo.next();!ea.done;ea=eo.next()){var eu=ea.value;if(null!=eu){if(!ei){if(al(eu)){ei=typeof eu;continue}return!1}if(typeof eu===ei)continue;return!1}}}catch(Y){et={error:Y}}finally{try{ea&&!ea.done&&(en=eo.return)&&en.call(eo)}finally{if(et)throw et.error}}return!0}function al(Y){switch(typeof Y){case"number":case"boolean":case"string":return!0}return!1}!function(Y){Y[Y.UNSET=0]="UNSET",Y[Y.OK=1]="OK",Y[Y.ERROR=2]="ERROR"}(sK||(sK={}));var au="exception",ac=function(Y){var et="function"==typeof Symbol&&Symbol.iterator,en=et&&Y[et],ei=0;if(en)return en.call(Y);if(Y&&"number"==typeof Y.length)return{next:function(){return Y&&ei>=Y.length&&(Y=void 0),{value:Y&&Y[ei++],done:!Y}}};throw TypeError(et?"Object is not iterable.":"Symbol.iterator is not defined.")},af=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu},ah=function(){function Y(Y,et,en,ei,eo,ea,eu,ec,ed){void 0===eu&&(eu=[]),this.attributes={},this.links=[],this.events=[],this._droppedAttributesCount=0,this._droppedEventsCount=0,this._droppedLinksCount=0,this.status={code:sK.UNSET},this.endTime=[0,0],this._ended=!1,this._duration=[-1,-1],this.name=en,this._spanContext=ei,this.parentSpanId=ea,this.kind=eo,this.links=eu;var ef=Date.now();this._performanceStartTime=ir.now(),this._performanceOffset=ef-(this._performanceStartTime+il()),this._startTimeProvided=null!=ec,this.startTime=this._getTime(null!=ec?ec:ef),this.resource=Y.resource,this.instrumentationLibrary=Y.instrumentationLibrary,this._spanLimits=Y.getSpanLimits(),this._spanProcessor=Y.getActiveSpanProcessor(),this._spanProcessor.onStart(this,et),this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0}return Y.prototype.spanContext=function(){return this._spanContext},Y.prototype.setAttribute=function(Y,et){return null==et||this._isSpanEnded()?this:0===Y.length?(tg.warn("Invalid attribute key: "+Y),this):ao(et)?Object.keys(this.attributes).length>=this._spanLimits.attributeCountLimit&&!Object.prototype.hasOwnProperty.call(this.attributes,Y)?(this._droppedAttributesCount++,this):(this.attributes[Y]=this._truncateToSize(et),this):(tg.warn("Invalid attribute value set for key: "+Y),this)},Y.prototype.setAttributes=function(Y){var et,en;try{for(var ei=ac(Object.entries(Y)),eo=ei.next();!eo.done;eo=ei.next()){var ea=af(eo.value,2),eu=ea[0],ec=ea[1];this.setAttribute(eu,ec)}}catch(Y){et={error:Y}}finally{try{eo&&!eo.done&&(en=ei.return)&&en.call(ei)}finally{if(et)throw et.error}}return this},Y.prototype.addEvent=function(Y,et,en){if(this._isSpanEnded())return this;if(0===this._spanLimits.eventCountLimit)return tg.warn("No events allowed."),this._droppedEventsCount++,this;this.events.length>=this._spanLimits.eventCountLimit&&(tg.warn("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),ix(et)&&(ix(en)||(en=et),et=void 0);var ei=o8(et);return this.events.push({name:Y,attributes:ei,time:this._getTime(en),droppedAttributesCount:0}),this},Y.prototype.setStatus=function(Y){return this._isSpanEnded()||(this.status=Y),this},Y.prototype.updateName=function(Y){return this._isSpanEnded()||(this.name=Y),this},Y.prototype.end=function(Y){if(this._isSpanEnded()){tg.error(this.name+" "+this._spanContext.traceId+"-"+this._spanContext.spanId+" - You can only call end() on a span once.");return}this._ended=!0,this.endTime=this._getTime(Y),this._duration=im(this.startTime,this.endTime),this._duration[0]<0&&(tg.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._spanProcessor.onEnd(this)},Y.prototype._getTime=function(Y){if("number"==typeof Y&&Y<ir.now())return iu(Y+this._performanceOffset);if("number"==typeof Y)return ia(Y);if(Y instanceof Date)return ia(Y.getTime());if(ib(Y))return Y;if(this._startTimeProvided)return ia(Date.now());var et=ir.now()-this._performanceStartTime;return iw(this.startTime,ia(et))},Y.prototype.isRecording=function(){return!1===this._ended},Y.prototype.recordException=function(Y,et){var en={};"string"==typeof Y?en[iT.EXCEPTION_MESSAGE]=Y:Y&&(Y.code?en[iT.EXCEPTION_TYPE]=Y.code.toString():Y.name&&(en[iT.EXCEPTION_TYPE]=Y.name),Y.message&&(en[iT.EXCEPTION_MESSAGE]=Y.message),Y.stack&&(en[iT.EXCEPTION_STACKTRACE]=Y.stack)),en[iT.EXCEPTION_TYPE]||en[iT.EXCEPTION_MESSAGE]?this.addEvent(au,en,et):tg.warn("Failed to record an exception "+Y)},Object.defineProperty(Y.prototype,"duration",{get:function(){return this._duration},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"ended",{get:function(){return this._ended},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"droppedAttributesCount",{get:function(){return this._droppedAttributesCount},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"droppedEventsCount",{get:function(){return this._droppedEventsCount},enumerable:!1,configurable:!0}),Object.defineProperty(Y.prototype,"droppedLinksCount",{get:function(){return this._droppedLinksCount},enumerable:!1,configurable:!0}),Y.prototype._isSpanEnded=function(){return this._ended&&tg.warn("Can not execute the operation on ended Span {traceId: "+this._spanContext.traceId+", spanId: "+this._spanContext.spanId+"}"),this._ended},Y.prototype._truncateToLimitUtil=function(Y,et){return Y.length<=et?Y:Y.substr(0,et)},Y.prototype._truncateToSize=function(Y){var et=this,en=this._attributeValueLengthLimit;return en<=0?(tg.warn("Attribute value limit must be positive, got "+en),Y):"string"==typeof Y?this._truncateToLimitUtil(Y,en):Array.isArray(Y)?Y.map(function(Y){return"string"==typeof Y?et._truncateToLimitUtil(Y,en):Y}):Y},Y}();!function(Y){Y[Y.NOT_RECORD=0]="NOT_RECORD",Y[Y.RECORD=1]="RECORD",Y[Y.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(s$||(s$={}));var ap=function(){function Y(){}return Y.prototype.shouldSample=function(){return{decision:s$.NOT_RECORD}},Y.prototype.toString=function(){return"AlwaysOffSampler"},Y}(),am=function(){function Y(){}return Y.prototype.shouldSample=function(){return{decision:s$.RECORD_AND_SAMPLED}},Y.prototype.toString=function(){return"AlwaysOnSampler"},Y}(),ag=function(){function Y(Y){var et,en,ei,eo;this._root=Y.root,this._root||(og(Error("ParentBasedSampler must have a root sampler configured")),this._root=new am),this._remoteParentSampled=null!==(et=Y.remoteParentSampled)&&void 0!==et?et:new am,this._remoteParentNotSampled=null!==(en=Y.remoteParentNotSampled)&&void 0!==en?en:new ap,this._localParentSampled=null!==(ei=Y.localParentSampled)&&void 0!==ei?ei:new am,this._localParentNotSampled=null!==(eo=Y.localParentNotSampled)&&void 0!==eo?eo:new ap}return Y.prototype.shouldSample=function(Y,et,en,ei,eo,ea){var eu=tk.g.getSpanContext(Y);return eu&&(0,tw.BM)(eu)?eu.isRemote?eu.traceFlags&t_.r.SAMPLED?this._remoteParentSampled.shouldSample(Y,et,en,ei,eo,ea):this._remoteParentNotSampled.shouldSample(Y,et,en,ei,eo,ea):eu.traceFlags&t_.r.SAMPLED?this._localParentSampled.shouldSample(Y,et,en,ei,eo,ea):this._localParentNotSampled.shouldSample(Y,et,en,ei,eo,ea):this._root.shouldSample(Y,et,en,ei,eo,ea)},Y.prototype.toString=function(){return"ParentBased{root="+this._root.toString()+", remoteParentSampled="+this._remoteParentSampled.toString()+", remoteParentNotSampled="+this._remoteParentNotSampled.toString()+", localParentSampled="+this._localParentSampled.toString()+", localParentNotSampled="+this._localParentNotSampled.toString()+"}"},Y}(),av=function(){function Y(Y){void 0===Y&&(Y=0),this._ratio=Y,this._ratio=this._normalize(Y),this._upperBound=Math.floor(4294967295*this._ratio)}return Y.prototype.shouldSample=function(Y,et){return{decision:(0,tw.jN)(et)&&this._accumulate(et)<this._upperBound?s$.RECORD_AND_SAMPLED:s$.NOT_RECORD}},Y.prototype.toString=function(){return"TraceIdRatioBased{"+this._ratio+"}"},Y.prototype._normalize=function(Y){return"number"!=typeof Y||isNaN(Y)?0:Y>=1?1:Y<=0?0:Y},Y.prototype._accumulate=function(Y){for(var et=0,en=0;en<Y.length/8;en++){var ei=8*en;et=(et^parseInt(Y.slice(ei,ei+8),16))>>>0}return et},Y}(),ak=nI(),a_=sL.AlwaysOn,aE=1;function aC(){return{sampler:aS(ak),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:nI().OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:nI().OTEL_ATTRIBUTE_COUNT_LIMIT},spanLimits:{attributeValueLengthLimit:nI().OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:nI().OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT,linkCountLimit:nI().OTEL_SPAN_LINK_COUNT_LIMIT,eventCountLimit:nI().OTEL_SPAN_EVENT_COUNT_LIMIT,attributePerEventCountLimit:nI().OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT,attributePerLinkCountLimit:nI().OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT}}}function aS(Y){switch(void 0===Y&&(Y=nI()),Y.OTEL_TRACES_SAMPLER){case sL.AlwaysOn:return new am;case sL.AlwaysOff:return new ap;case sL.ParentBasedAlwaysOn:return new ag({root:new am});case sL.ParentBasedAlwaysOff:return new ag({root:new ap});case sL.TraceIdRatio:return new av(aM(Y));case sL.ParentBasedTraceIdRatio:return new ag({root:new av(aM(Y))});default:return tg.error('OTEL_TRACES_SAMPLER value "'+Y.OTEL_TRACES_SAMPLER+" invalid, defaulting to "+a_+'".'),new am}}function aM(Y){if(void 0===Y.OTEL_TRACES_SAMPLER_ARG||""===Y.OTEL_TRACES_SAMPLER_ARG)return tg.error("OTEL_TRACES_SAMPLER_ARG is blank, defaulting to "+aE+"."),aE;var et=Number(Y.OTEL_TRACES_SAMPLER_ARG);return isNaN(et)?(tg.error("OTEL_TRACES_SAMPLER_ARG="+Y.OTEL_TRACES_SAMPLER_ARG+" was given, but it is invalid, defaulting to "+aE+"."),aE):et<0||et>1?(tg.error("OTEL_TRACES_SAMPLER_ARG="+Y.OTEL_TRACES_SAMPLER_ARG+" was given, but it is out of range ([0..1]), defaulting to "+aE+"."),aE):et}function aP(Y){var et={sampler:aS()},en=aC(),ei=Object.assign({},en,et,Y);return ei.generalLimits=Object.assign({},en.generalLimits,Y.generalLimits||{}),ei.spanLimits=Object.assign({},en.spanLimits,Y.spanLimits||{}),ei}function aj(Y){var et,en,ei,eo,ea,eu,ec,ed,ef,eh,ep,em,eg=Object.assign({},Y.spanLimits),ey=nO();return eg.attributeCountLimit=null!==(eu=null!==(ea=null!==(eo=null!==(en=null===(et=Y.spanLimits)||void 0===et?void 0:et.attributeCountLimit)&&void 0!==en?en:null===(ei=Y.generalLimits)||void 0===ei?void 0:ei.attributeCountLimit)&&void 0!==eo?eo:ey.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT)&&void 0!==ea?ea:ey.OTEL_ATTRIBUTE_COUNT_LIMIT)&&void 0!==eu?eu:nw,eg.attributeValueLengthLimit=null!==(em=null!==(ep=null!==(eh=null!==(ed=null===(ec=Y.spanLimits)||void 0===ec?void 0:ec.attributeValueLengthLimit)&&void 0!==ed?ed:null===(ef=Y.generalLimits)||void 0===ef?void 0:ef.attributeValueLengthLimit)&&void 0!==eh?eh:ey.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT)&&void 0!==ep?ep:ey.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT)&&void 0!==em?em:nk,Object.assign({},Y,{spanLimits:eg})}var aO=8,aI=16,aN=function(){return function(){this.generateTraceId=aR(aI),this.generateSpanId=aR(aO)}}(),aL=Array(32);function aR(Y){return function(){for(var et=0;et<2*Y;et++)aL[et]=Math.floor(16*Math.random())+48,aL[et]>=58&&(aL[et]+=39);return String.fromCharCode.apply(null,aL.slice(0,2*Y))}}var aD=function(){function Y(Y,et,en){this._tracerProvider=en;var ei=aP(et);this._sampler=ei.sampler,this._generalLimits=ei.generalLimits,this._spanLimits=ei.spanLimits,this._idGenerator=et.idGenerator||new aN,this.resource=en.resource,this.instrumentationLibrary=Y}return Y.prototype.startSpan=function(Y,et,en){void 0===et&&(et={}),void 0===en&&(en=rQ.D.active()),et.root&&(en=tk.g.deleteSpan(en));var ei,eo,ea,eu,ec,ed,ef=tk.g.getSpan(en);if(tS(en)){tg.debug("Instrumentation suppressed, returning Noop Span");var eh=tk.g.wrapSpanContext(o3.Rr);return eh}var ep=null==ef?void 0:ef.spanContext(),em=this._idGenerator.generateSpanId();ep&&tk.g.isSpanContextValid(ep)?(eu=ep.traceId,ec=ep.traceState,ed=ep.spanId):eu=this._idGenerator.generateTraceId();var eg=null!==(ei=et.kind)&&void 0!==ei?ei:sH.INTERNAL,ey=(null!==(eo=et.links)&&void 0!==eo?eo:[]).map(function(Y){return{context:Y.context,attributes:o8(Y.attributes)}}),eb=o8(et.attributes),ek=this._sampler.shouldSample(en,eu,Y,eg,eb,ey);ec=null!==(ea=ek.traceState)&&void 0!==ea?ea:ec;var ew=ek.decision===sZ.RECORD_AND_SAMPLED?t_.r.SAMPLED:t_.r.NONE,e_={traceId:eu,spanId:em,traceFlags:ew,traceState:ec};if(ek.decision===sZ.NOT_RECORD){tg.debug("Recording is off, propagating context in a non-recording span");var eh=tk.g.wrapSpanContext(e_);return eh}var eE=new ah(this,en,Y,e_,eg,ed,ey,et.startTime),eC=o8(Object.assign(eb,ek.attributes));return eE.setAttributes(eC),eE},Y.prototype.startActiveSpan=function(Y,et,en,ei){if(!(arguments.length<2)){2==arguments.length?eu=et:3==arguments.length?(eo=et,eu=en):(eo=et,ea=en,eu=ei);var eo,ea,eu,ec=null!=ea?ea:rQ.D.active(),ed=this.startSpan(Y,eo,ec),ef=tk.g.setSpan(ec,ed);return rQ.D.with(ef,eu,void 0,ed)}},Y.prototype.getGeneralLimits=function(){return this._generalLimits},Y.prototype.getSpanLimits=function(){return this._spanLimits},Y.prototype.getActiveSpanProcessor=function(){return this._tracerProvider.getActiveSpanProcessor()},Y}(),aF=function(Y){var et="function"==typeof Symbol&&Symbol.iterator,en=et&&Y[et],ei=0;if(en)return en.call(Y);if(Y&&"number"==typeof Y.length)return{next:function(){return Y&&ei>=Y.length&&(Y=void 0),{value:Y&&Y[ei++],done:!Y}}};throw TypeError(et?"Object is not iterable.":"Symbol.iterator is not defined.")},aU=function(){function Y(Y){this._spanProcessors=Y}return Y.prototype.forceFlush=function(){var Y,et,en=[];try{for(var ei=aF(this._spanProcessors),eo=ei.next();!eo.done;eo=ei.next()){var ea=eo.value;en.push(ea.forceFlush())}}catch(et){Y={error:et}}finally{try{eo&&!eo.done&&(et=ei.return)&&et.call(ei)}finally{if(Y)throw Y.error}}return new Promise(function(Y){Promise.all(en).then(function(){Y()}).catch(function(et){og(et||Error("MultiSpanProcessor: forceFlush failed")),Y()})})},Y.prototype.onStart=function(Y,et){var en,ei;try{for(var eo=aF(this._spanProcessors),ea=eo.next();!ea.done;ea=eo.next())ea.value.onStart(Y,et)}catch(Y){en={error:Y}}finally{try{ea&&!ea.done&&(ei=eo.return)&&ei.call(eo)}finally{if(en)throw en.error}}},Y.prototype.onEnd=function(Y){var et,en;try{for(var ei=aF(this._spanProcessors),eo=ei.next();!eo.done;eo=ei.next())eo.value.onEnd(Y)}catch(Y){et={error:Y}}finally{try{eo&&!eo.done&&(en=ei.return)&&en.call(ei)}finally{if(et)throw et.error}}},Y.prototype.shutdown=function(){var Y,et,en=[];try{for(var ei=aF(this._spanProcessors),eo=ei.next();!eo.done;eo=ei.next()){var ea=eo.value;en.push(ea.shutdown())}}catch(et){Y={error:et}}finally{try{eo&&!eo.done&&(et=ei.return)&&et.call(ei)}finally{if(Y)throw Y.error}}return new Promise(function(Y,et){Promise.all(en).then(function(){Y()},et)})},Y}(),aH=function(){function Y(){}return Y.prototype.onStart=function(Y,et){},Y.prototype.onEnd=function(Y){},Y.prototype.shutdown=function(){return Promise.resolve()},Y.prototype.forceFlush=function(){return Promise.resolve()},Y}();!function(Y){Y[Y.resolved=0]="resolved",Y[Y.timeout=1]="timeout",Y[Y.error=2]="error",Y[Y.unresolved=3]="unresolved"}(sY||(sY={}));var aG=function(){function Y(Y){void 0===Y&&(Y={}),this._registeredSpanProcessors=[],this._tracers=new Map;var et,en=oq({},aC(),aj(Y));this.resource=null!==(et=en.resource)&&void 0!==et?et:oc.empty(),this.resource=oc.default().merge(this.resource),this._config=Object.assign({},en,{resource:this.resource});var ei=this._buildExporterFromEnv();if(void 0!==ei){var eo=new oA(ei);this.activeSpanProcessor=eo}else this.activeSpanProcessor=new aH}return Y.prototype.getTracer=function(Y,et,en){var ei=Y+"@"+(et||"")+":"+((null==en?void 0:en.schemaUrl)||"");return this._tracers.has(ei)||this._tracers.set(ei,new aD({name:Y,version:et,schemaUrl:null==en?void 0:en.schemaUrl},this._config,this)),this._tracers.get(ei)},Y.prototype.addSpanProcessor=function(Y){0===this._registeredSpanProcessors.length&&this.activeSpanProcessor.shutdown().catch(function(Y){return tg.error("Error while trying to shutdown current span processor",Y)}),this._registeredSpanProcessors.push(Y),this.activeSpanProcessor=new aU(this._registeredSpanProcessors)},Y.prototype.getActiveSpanProcessor=function(){return this.activeSpanProcessor},Y.prototype.register=function(Y){void 0===Y&&(Y={}),tk.g.setGlobalTracerProvider(this),void 0===Y.propagator&&(Y.propagator=this._buildPropagatorFromEnv()),Y.contextManager&&rQ.D.setGlobalContextManager(Y.contextManager),Y.propagator&&r8.setGlobalPropagator(Y.propagator)},Y.prototype.forceFlush=function(){var Y=this._config.forceFlushTimeoutMillis,et=this._registeredSpanProcessors.map(function(et){return new Promise(function(en){var ei,eo=setTimeout(function(){en(Error("Span processor did not completed within timeout period of "+Y+" ms")),ei=sY.timeout},Y);et.forceFlush().then(function(){clearTimeout(eo),ei!==sY.timeout&&en(ei=sY.resolved)}).catch(function(Y){clearTimeout(eo),ei=sY.error,en(Y)})})});return new Promise(function(Y,en){Promise.all(et).then(function(et){var ei=et.filter(function(Y){return Y!==sY.resolved});ei.length>0?en(ei):Y()}).catch(function(Y){return en([Y])})})},Y.prototype.shutdown=function(){return this.activeSpanProcessor.shutdown()},Y.prototype._getPropagator=function(Y){var et;return null===(et=this.constructor._registeredPropagators.get(Y))||void 0===et?void 0:et()},Y.prototype._getSpanExporter=function(Y){var et;return null===(et=this.constructor._registeredExporters.get(Y))||void 0===et?void 0:et()},Y.prototype._buildPropagatorFromEnv=function(){var Y=this,et=Array.from(new Set(nI().OTEL_PROPAGATORS)),en=et.map(function(et){var en=Y._getPropagator(et);return en||tg.warn('Propagator "'+et+'" requested through environment variable is unavailable.'),en}).reduce(function(Y,et){return et&&Y.push(et),Y},[]);return 0===en.length?void 0:1===et.length?en[0]:new tb({propagators:en})},Y.prototype._buildExporterFromEnv=function(){var Y=nI().OTEL_TRACES_EXPORTER;if("none"!==Y&&""!==Y){var et=this._getSpanExporter(Y);return et||tg.error('Exporter "'+Y+'" requested through environment variable is unavailable.'),et}},Y._registeredPropagators=new Map([["tracecontext",function(){return new tW}],["baggage",function(){return new o4}]]),Y._registeredExporters=new Map,Y}(),aV=function(Y,et){var en="function"==typeof Symbol&&Y[Symbol.iterator];if(!en)return Y;var ei,eo,ea=en.call(Y),eu=[];try{for(;(void 0===et||et-- >0)&&!(ei=ea.next()).done;)eu.push(ei.value)}catch(Y){eo={error:Y}}finally{try{ei&&!ei.done&&(en=ea.return)&&en.call(ea)}finally{if(eo)throw eo.error}}return eu},aW=function(Y,et,en){if(en||2==arguments.length)for(var ei,eo=0,ea=et.length;eo<ea;eo++)!ei&&eo in et||(ei||(ei=Array.prototype.slice.call(et,0,eo)),ei[eo]=et[eo]);return Y.concat(ei||Array.prototype.slice.call(et))},aq=function(){function Y(){this._enabled=!1,this._currentContext=tE.I}return Y.prototype._bindFunction=function(Y,et){void 0===Y&&(Y=tE.I);var en=this,ei=function(){for(var ei=this,eo=[],ea=0;ea<arguments.length;ea++)eo[ea]=arguments[ea];return en.with(Y,function(){return et.apply(ei,eo)})};return Object.defineProperty(ei,"length",{enumerable:!1,configurable:!0,writable:!1,value:et.length}),ei},Y.prototype.active=function(){return this._currentContext},Y.prototype.bind=function(Y,et){return(void 0===Y&&(Y=this.active()),"function"==typeof et)?this._bindFunction(Y,et):et},Y.prototype.disable=function(){return this._currentContext=tE.I,this._enabled=!1,this},Y.prototype.enable=function(){return this._enabled||(this._enabled=!0,this._currentContext=tE.I),this},Y.prototype.with=function(Y,et,en){for(var ei=[],eo=3;eo<arguments.length;eo++)ei[eo-3]=arguments[eo];var ea=this._currentContext;this._currentContext=Y||tE.I;try{return et.call.apply(et,aW([en],aV(ei),!1))}finally{this._currentContext=ea}},Y}(),aZ=function(){var Y=function(et,en){return(Y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(Y,et){Y.__proto__=et}||function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])})(et,en)};return function(et,en){if("function"!=typeof en&&null!==en)throw TypeError("Class extends value "+String(en)+" is not a constructor or null");function ei(){this.constructor=et}Y(et,en),et.prototype=null===en?Object.create(en):(ei.prototype=en.prototype,new ei)}}(),aK=function(Y){function et(et){void 0===et&&(et={});var en=Y.call(this,et)||this;if(et.contextManager)throw"contextManager should be defined in register method not in constructor";if(et.propagator)throw"propagator should be defined in register method not in constructor";return en}return aZ(et,Y),et.prototype.register=function(et){void 0===et&&(et={}),void 0===et.contextManager&&(et.contextManager=new aq),et.contextManager&&et.contextManager.enable(),Y.prototype.register.call(this,et)},et}(aG),a$=en(4536),aY=!1,aQ=!1;function aJ(){return a0.apply(this,arguments)}function a0(){return(a0=(0,ea._)(function(){var Y,et,ei,eo,ea;return(0,ed.Jh)(this,function(eu){switch(eu.label){case 0:return[4,en.e(4114).then(en.bind(en,54114))];case 1:return Y=eu.sent().ZoneContextManager,et=new oc((0,tp._)({},i7.SERVICE_NAME,"chatgpt-web")),ei=new aK({resource:et,sampler:new am}),aY&&ei.addSpanProcessor(new o_(new oC)),ei.addSpanProcessor(new oA(new rC({url:"".concat("https://chat.openai.com/backend-api","/o11y/v1/traces")}))),ei.register({contextManager:new Y,propagator:new tb({propagators:[new tW]})}),eo=[RegExp(".*/api/lat(/.*)?"),RegExp(".*/ces(/.*)?")],ea=[RegExp("https?://.*.openai.com/"),RegExp("https?://.*.openai.org/"),RegExp("http://localhost:8000/")],rY({instrumentations:[new i$,new i6({propagateTraceHeaderCorsUrls:ea,ignoreUrls:eo}),new i9({propagateTraceHeaderCorsUrls:ea,ignoreUrls:eo})]}),[2]}})})).apply(this,arguments)}function a9(){var Y=(0,a$.kP)().session,et=(0,eV.hz)();!aQ&&et.has(eG.Nt)&&Y&&Y.user&&(aQ=!0,aJ().then(function(){}))}var a5=en(42918),a4=en(8874),a3=en(21546),a6=en(21682);function a7(Y,et,en,ei,eo){var ea=(0,a$.kP)().session,ec=(0,eV.ec)(function(Y){return{subscriptionStatus:Y.subscriptionStatus,features:Y.features,currentWorkspace:Y.currentWorkspace}}),ed=ec.subscriptionStatus,ef=ec.features,eh=ec.currentWorkspace,ep=(0,a6.fv)({serverPrimedAllowBrowserStorageValue:en,enabled:null!=et.id&&ei});(0,eZ.z)({allowBrowserStorage:ep,user:et,extraParams:eo}),(0,e_.useEffect)(function(){if(null!=ed&&null!=eh){var Y=(0,eS._)((0,eu._)({},ed),{accountUserRole:eh.role});et.id&&((0,a3.u$)(et,Y),a5.U.setUser(et,Array.from(ef),Y,eo),a4.m9.setUser(et,Y))}},[ed,et.id]),(0,a3.oG)(),(0,e_.useEffect)(function(){(null==ea?void 0:ea.error)==="RefreshAccessTokenError"&&window._oaiHandleSessionExpired("page load",ea.error)},[ea,et.id]),(0,e_.useEffect)(function(){document.title=Y},[Y]),a9()}function a8(Y){var et=Y.user,en=Y.children,ei=Y.serverPrimedAllowBrowserStorageValue,eo=Y.canManageBrowserStorage;return void 0===et?(0,ef.jsx)(ef.Fragment,{children:en}):(0,ef.jsx)(sn,{user:et,serverPrimedAllowBrowserStorageValue:ei,canManageBrowserStorage:eo,children:en})}function sn(Y){var et=Y.user,en=Y.serverPrimedAllowBrowserStorageValue,ei=Y.children;return a7("ChatGPT",et,en,Y.canManageBrowserStorage,{}),(0,ef.jsx)(ef.Fragment,{children:ei})}a5.U.initialize();var si=en(70216),so=en(38899),sl=en(15912),su=en(92897),sd=en(26890);function sf(Y,et){Y.prototype=Object.create(et.prototype),Y.prototype.constructor=Y,(0,sd.Z)(Y,et)}var sh=en(99581),sm={disabled:!1},sg=e_.createContext(null),sb=function(Y){return Y.scrollTop},sk="unmounted",s_="exited",sE="entering",sC="entered",sT="exiting",sS=function(Y){function et(et,en){ei=Y.call(this,et,en)||this;var ei,eo,ea=en,eu=ea&&!ea.isMounting?et.enter:et.appear;return ei.appearStatus=null,et.in?eu?(eo=s_,ei.appearStatus=sE):eo=sC:eo=et.unmountOnExit||et.mountOnEnter?sk:s_,ei.state={status:eo},ei.nextCallback=null,ei}sf(et,Y),et.getDerivedStateFromProps=function(Y,et){return Y.in&&et.status===sk?{status:s_}:null};var en=et.prototype;return en.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},en.componentDidUpdate=function(Y){var et=null;if(Y!==this.props){var en=this.state.status;this.props.in?en!==sE&&en!==sC&&(et=sE):(en===sE||en===sC)&&(et=sT)}this.updateStatus(!1,et)},en.componentWillUnmount=function(){this.cancelNextCallback()},en.getTimeouts=function(){var Y,et,en,ei=this.props.timeout;return Y=et=en=ei,null!=ei&&"number"!=typeof ei&&(Y=ei.exit,et=ei.enter,en=void 0!==ei.appear?ei.appear:et),{exit:Y,enter:et,appear:en}},en.updateStatus=function(Y,et){if(void 0===Y&&(Y=!1),null!==et){if(this.cancelNextCallback(),et===sE){if(this.props.unmountOnExit||this.props.mountOnEnter){var en=this.props.nodeRef?this.props.nodeRef.current:sh.findDOMNode(this);en&&sb(en)}this.performEnter(Y)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===s_&&this.setState({status:sk})},en.performEnter=function(Y){var et=this,en=this.props.enter,ei=this.context?this.context.isMounting:Y,eo=this.props.nodeRef?[ei]:[sh.findDOMNode(this),ei],ea=eo[0],eu=eo[1],ec=this.getTimeouts(),ed=ei?ec.appear:ec.enter;if(!Y&&!en||sm.disabled){this.safeSetState({status:sC},function(){et.props.onEntered(ea)});return}this.props.onEnter(ea,eu),this.safeSetState({status:sE},function(){et.props.onEntering(ea,eu),et.onTransitionEnd(ed,function(){et.safeSetState({status:sC},function(){et.props.onEntered(ea,eu)})})})},en.performExit=function(){var Y=this,et=this.props.exit,en=this.getTimeouts(),ei=this.props.nodeRef?void 0:sh.findDOMNode(this);if(!et||sm.disabled){this.safeSetState({status:s_},function(){Y.props.onExited(ei)});return}this.props.onExit(ei),this.safeSetState({status:sT},function(){Y.props.onExiting(ei),Y.onTransitionEnd(en.exit,function(){Y.safeSetState({status:s_},function(){Y.props.onExited(ei)})})})},en.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},en.safeSetState=function(Y,et){et=this.setNextCallback(et),this.setState(Y,et)},en.setNextCallback=function(Y){var et=this,en=!0;return this.nextCallback=function(ei){en&&(en=!1,et.nextCallback=null,Y(ei))},this.nextCallback.cancel=function(){en=!1},this.nextCallback},en.onTransitionEnd=function(Y,et){this.setNextCallback(et);var en=this.props.nodeRef?this.props.nodeRef.current:sh.findDOMNode(this),ei=null==Y&&!this.props.addEndListener;if(!en||ei){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var eo=this.props.nodeRef?[this.nextCallback]:[en,this.nextCallback],ea=eo[0],eu=eo[1];this.props.addEndListener(ea,eu)}null!=Y&&setTimeout(this.nextCallback,Y)},en.render=function(){var Y=this.state.status;if(Y===sk)return null;var et=this.props,en=et.children,ei=(et.in,et.mountOnEnter,et.unmountOnExit,et.appear,et.enter,et.exit,et.timeout,et.addEndListener,et.onEnter,et.onEntering,et.onEntered,et.onExit,et.onExiting,et.onExited,et.nodeRef,(0,su.Z)(et,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return e_.createElement(sg.Provider,{value:null},"function"==typeof en?en(Y,ei):e_.cloneElement(e_.Children.only(en),ei))},et}(e_.Component);function sA(){}sS.contextType=sg,sS.propTypes={},sS.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:sA,onEntering:sA,onEntered:sA,onExit:sA,onExiting:sA,onExited:sA},sS.UNMOUNTED=sk,sS.EXITED=s_,sS.ENTERING=sE,sS.ENTERED=sC,sS.EXITING=sT;var sM=sS,sP=(sQ={},(0,tp._)(sQ,so.n.success,eE._rq),(0,tp._)(sQ,so.n.warning,eE.BJv),(0,tp._)(sQ,so.n.danger,eE.U0j),sQ),sj=function(Y){var et,en=Y.zIndex,ei=Y.duration,eo=Y.onRemove,ea=Y.intent,eu=void 0===ea?so.n.info:ea,ed=Y.title,eh=Y.description,ep=Y.hasCloseButton,em=Y.isShown,eg=void 0===em||em,ey=(0,ec._)((0,e_.useState)(0),2),eb=ey[0],ek=ey[1],ew=(0,ec._)((0,e_.useState)(eg),2),eE=ew[0],eC=ew[1],eT=(0,e_.useRef)(null),eS=(0,e_.useRef)(null),eA=(0,e_.useCallback)(function(){null==eo||eo(),eP(),eC(!1)},[eo]),eM=(0,e_.useCallback)(function(){ei&&(eS.current=setTimeout(function(){eA()},1e3*ei))},[eA,ei]);(0,e_.useEffect)(function(){return eM(),function(){eP()}},[eE,eM]);var eP=function(){eS.current&&(clearTimeout(eS.current),eS.current=null)},ej=function(){eP()},eO=function(){eM()},eI=function(Y){if(null!==Y){var et=Y.getBoundingClientRect().height;ek(et)}};return(0,ef.jsx)(sM,{appear:!0,unmountOnExit:!0,timeout:240,in:eE,onExited:eo,nodeRef:eT,children:function(Y){return(0,ef.jsx)("div",{ref:eT,"data-state":Y,className:"toast-root",onMouseEnter:ej,onMouseLeave:eO,style:{height:eb,zIndex:en,marginBottom:eE?0:-eb},children:(0,ef.jsx)("div",{ref:eI,className:"w-full p-1 text-center md:w-auto md:text-justify",children:(0,ef.jsxs)(so.b,{icon:null!==(et=sP[eu])&&void 0!==et?et:void 0,intent:eu,onRemove:ep?function(){return eA()}:void 0,children:[(0,ef.jsx)("div",{className:"whitespace-pre-wrap text-left",children:ed}),eh&&(0,ef.jsx)("div",{children:eh})]})})})}})},sO=en(72290),sI=function(Y){return Object.hasOwnProperty.call(Y,"id")},sN=function(Y){(0,e7._)(en,Y);var et=(0,tt._)(en);function en(Y){var ei;return(0,eW._)(this,en),(ei=et.call(this,Y)).getToasts=function(){return ei.state.toasts},ei.closeAll=function(){ei.getToasts().forEach(function(Y){return Y.close()})},ei.notify=function(Y,et){if(sI(et)){var en=!0,eo=!1,ea=void 0;try{for(var eu,ec=ei.state.toasts[Symbol.iterator]();!(en=(eu=ec.next()).done);en=!0){var ed=eu.value;String(ed.id).startsWith(et.id)&&ei.closeToast(ed.id)}}catch(Y){eo=!0,ea=Y}finally{try{en||null==ec.return||ec.return()}finally{if(eo)throw ea}}}var ef=ei.createToastInstance(Y,et);return ei.setState(function(Y){return{toasts:[ef].concat((0,e8._)(Y.toasts))}}),ef},ei.createToastInstance=function(Y,et){var eo=++en.idCounter,ea=sI(et)?"".concat(et.id,"-").concat(eo):eo;return{id:ea,title:Y,description:et.description,hasCloseButton:!!et.hasCloseButton,duration:"number"==typeof et.duration?et.duration:5,close:function(){return ei.closeToast(ea)},onRemove:et.onRemove,intent:et.intent||so.n.info,isShown:!0}},ei.closeToast=function(Y){ei.setState(function(et){return{toasts:et.toasts.map(function(et){return et.id===Y?(0,eS._)((0,eu._)({},et),{isShown:!1}):et})}})},ei.removeToast=function(Y){ei.setState(function(et){var en,ei;return null===(en=et.toasts.find(function(et){return et.id===Y}))||void 0===en||null===(ei=en.onRemove)||void 0===ei||ei.call(en),{toasts:et.toasts.filter(function(et){return et.id!==Y})}})},ei.state={toasts:[],isBrowserHydrated:!1},sO.m._bindNotify(ei.notify),sO.m._bindGetToasts(ei.getToasts),sO.m._bindCloseAll(ei.closeAll),ei}var ei=en.prototype;return ei.componentDidMount=function(){this.setState({isBrowserHydrated:!0})},ei.render=function(){var Y=this;return this.state.isBrowserHydrated?(0,ef.jsx)(sl.h,{children:(0,ef.jsx)("span",{className:"pointer-events-none fixed inset-0 z-[60] mx-auto my-2 flex max-w-[560px] flex-col items-stretch justify-start md:pb-5",children:this.state.toasts.map(function(et){var en=et.id,ei=(0,si._)(et,["id"]);return(0,ef.jsx)(sj,(0,eS._)((0,eu._)({},ei),{onRemove:function(){return Y.removeToast(en)}}),en)})})}):null},en}(e_.PureComponent);!function(){sN.idCounter=0}();var sL,sR,sD,sF,sB,sU,sH,sG,sV,sW,sq,sZ,sK,s$,sY,sQ,sX,sJ,s9,s5,s4=en(34609),s6=en(25687),s7=en(71573),s8=en(68951),ln=-1,lr=function(Y){addEventListener("pageshow",function(et){et.persisted&&(ln=et.timeStamp,Y(et))},!0)},li=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},la=function(){var Y=li();return Y&&Y.activationStart||0},ls=function(Y,et){var en=li(),ei="navigate";return ln>=0?ei="back-forward-cache":en&&(document.prerendering||la()>0?ei="prerender":document.wasDiscarded?ei="restore":en.type&&(ei=en.type.replace(/_/g,"-"))),{name:Y,value:void 0===et?-1:et,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:ei}},ll=function(Y,et,en){try{if(PerformanceObserver.supportedEntryTypes.includes(Y)){var ei=new PerformanceObserver(function(Y){Promise.resolve().then(function(){et(Y.getEntries())})});return ei.observe(Object.assign({type:Y,buffered:!0},en||{})),ei}}catch(Y){}},lu=function(Y,et,en,ei){var eo,ea;return function(eu){et.value>=0&&(eu||ei)&&((ea=et.value-(eo||0))||void 0===eo)&&(eo=et.value,et.delta=ea,et.rating=function(Y,et){return Y>et[1]?"poor":Y>et[0]?"needs-improvement":"good"}(et.value,en),Y(et))}},ld=function(Y){requestAnimationFrame(function(){return requestAnimationFrame(function(){return Y()})})},lf=-1,lp=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},lm=function(Y){"hidden"===document.visibilityState&&lf>-1&&(lf="visibilitychange"===Y.type?Y.timeStamp:0,lv())},lg=function(){addEventListener("visibilitychange",lm,!0),addEventListener("prerenderingchange",lm,!0)},lv=function(){removeEventListener("visibilitychange",lm,!0),removeEventListener("prerenderingchange",lm,!0)},ly=function(){return lf<0&&(lf=lp(),lg(),lr(function(){setTimeout(function(){lf=lp(),lg()},0)})),{get firstHiddenTime(){return lf}}},lb=function(Y){document.prerendering?addEventListener("prerenderingchange",function(){return Y()},!0):Y()},lk=[1800,3e3],lw=function(Y,et){et=et||{},lb(function(){var en,ei=ly(),eo=ls("FCP"),ea=ll("paint",function(Y){Y.forEach(function(Y){"first-contentful-paint"===Y.name&&(ea.disconnect(),Y.startTime<ei.firstHiddenTime&&(eo.value=Math.max(Y.startTime-la(),0),eo.entries.push(Y),en(!0)))})});ea&&(en=lu(Y,eo,lk,et.reportAllChanges),lr(function(ei){en=lu(Y,eo=ls("FCP"),lk,et.reportAllChanges),ld(function(){eo.value=performance.now()-ei.timeStamp,en(!0)})}))})},l_={passive:!0,capture:!0},lE=new Date,lC=function(Y,et){sX||(sX=et,sJ=Y,s9=new Date,lA(removeEventListener),lT())},lT=function(){if(sJ>=0&&sJ<s9-lE){var Y={entryType:"first-input",name:sX.type,target:sX.target,cancelable:sX.cancelable,startTime:sX.timeStamp,processingStart:sX.timeStamp+sJ};s5.forEach(function(et){et(Y)}),s5=[]}},lS=function(Y){if(Y.cancelable){var et=(Y.timeStamp>1e12?new Date:performance.now())-Y.timeStamp;"pointerdown"==Y.type?function(Y,et){var en=function(){lC(Y,et),eo()},ei=function(){eo()},eo=function(){removeEventListener("pointerup",en,l_),removeEventListener("pointercancel",ei,l_)};addEventListener("pointerup",en,l_),addEventListener("pointercancel",ei,l_)}(et,Y):lC(et,Y)}},lA=function(Y){["mousedown","keydown","touchstart","pointerdown"].forEach(function(et){return Y(et,lS,l_)})},lM=en(86646),lP=!1;function lj(){lP||(lP=!0,lw(function(Y){var et=function(){null!=ea&&clearTimeout(ea),eo=performance.now(),ea=setTimeout(function(){null!=eu&&(eu.disconnect(),eu=null);var Y=eo-ei,et=Y+en;lM.ZP.postTTITimingEvent({fcp:en,longTasks:Y,tti:et})},5e3)},en=Y.value,ei=performance.now(),eo=performance.now(),ea=null,eu=null;et();try{(eu=new PerformanceObserver(function(){et()})).observe({type:"longtask",buffered:!0})}catch(Y){}}))}var lO=en(4551),lI=en(89319);function lN(Y){var et=Y.workspaceName,en=Y.onChangeWorkspaceName,ei=(0,eC.Z)();return(0,ef.jsxs)(ef.Fragment,{children:[(0,ef.jsxs)("div",{className:"mb-4 flex-wrap",children:[(0,ef.jsx)("label",{htmlFor:"workspace-name",className:"block pb-1 text-lg font-medium text-token-text-primary",children:(0,ef.jsx)(eI.Z,(0,eu._)({},lL.workspaceNameLabel))}),(0,ef.jsx)("p",{className:"font-base text-sm text-token-text-secondary",children:(0,ef.jsx)(eI.Z,(0,eu._)({},lL.workspaceNameDescription))})]}),(0,ef.jsx)(lI.Z,{type:"text",name:"workspace-name",placeholder:ei.formatMessage(lL.exampleTeamWorkspaceName),value:et,onChange:function(Y){return en(Y.target.value)},maxLength:64})]})}var lL=(0,eT.vU)({workspaceNameLabel:{id:"createWorkspace.workspaceNameLabel",defaultMessage:"Workspace name",description:"Label for the workspace name input field"},workspaceNameDescription:{id:"createWorkspace.workspaceNameDescription",defaultMessage:"Set a workspace name for your team. The name can be changed at any time.",description:"Description text below the workspace name label"},exampleTeamWorkspaceName:{id:"createWorkspace.exampleTeamWorkspaceName",defaultMessage:"Acme Inc.",description:"Example Team Workspace name"}}),lR=en(19841);function lD(Y){var et=Y.surface;return(0,ef.jsx)("hr",{className:(0,lR.default)("primary"===et&&"border-token-surface-primary","tertiary"===et&&"border-token-surface-tertiary","secondary"===et&&"border-token-surface-secondary")})}function lF(){var Y=(0,eA._)(["ml-5 list-decimal"]);return lF=function(){return Y},Y}function lB(){var Y=(0,eA._)(["ml-3 list-disc"]);return lB=function(){return Y},Y}function lz(){var Y=(0,eA._)(["marker:text-gray-500 text-token-text-primary mb-2"]);return lz=function(){return Y},Y}eN.Z.ol(lF());var lU=eN.Z.ul(lB()),lH=eN.Z.li(lz()),lG=en(35427);function lV(){var Y=(0,eA._)(["p-6"]);return lV=function(){return Y},Y}function lW(){var Y=(0,eA._)(["font-medium text-base cursor-pointer"]);return lW=function(){return Y},Y}function lq(){var Y=(0,eA._)(["flex flex-col gap-3 text-token-text-secondary text-sm mt-3"]);return lq=function(){return Y},Y}function lZ(){var Y=(0,eA._)(["text-gray-500"]);return lZ=function(){return Y},Y}function lK(){var Y=(0,eA._)(["text-token-text-primary"]);return lK=function(){return Y},Y}function l$(){var Y=(0,eA._)(["text-base font-medium mb-3 mt-3"]);return l$=function(){return Y},Y}!function(Y){Y.FLEXIBLE="month",Y.ANNUAL="year"}(ei||(ei={}));var lY=999,lQ=2,lX=300,lJ=30,l0=Object.values(ei),l9=function(Y){var et=Y.isOpen,en=Y.onClose,ei=Y.onSubmit,eo=(0,ec._)((0,e_.useState)(""),2),ea=eo[0],ed=eo[1],eh=(0,eC.Z)();return(0,ef.jsxs)(eR.Z,{type:"success",isOpen:et,onClose:en,className:"max-w-lg",closeButton:(0,ef.jsx)(e4.ZP.CloseButton,{onClose:en}),title:(0,ef.jsx)(eI.Z,(0,eu._)({},ui.createWorkspace)),children:[(0,ef.jsx)("div",{className:"flex flex-col justify-center bg-token-surface-primary pb-2",children:(0,ef.jsx)(lN,{workspaceName:ea,onChangeWorkspaceName:ed})}),(0,ef.jsxs)("div",{className:"mt-4 flex flex-row justify-end",children:[(0,ef.jsx)(e4.mH,{title:eh.formatMessage(ui.cancel),onClick:en}),(0,ef.jsx)(e4.mH,{title:eh.formatMessage(ui.selectBillingOption),onClick:function(){ei(ea)},disabled:""==ea,color:"primary",className:"ml-4"})]})]})},l5=eN.Z.div(lV()),l4=eN.Z.label(lW()),l3=eN.Z.div(lq()),l6=eN.Z.s(lZ()),l7=eN.Z.p(lK()),l8=eN.Z.p(l$());function ut(Y){var et=Y.billingType,en=Y.name,ei=Y.billingFeatures,eo=Y.cost,ea=Y.costStructure;return(0,ef.jsxs)(l5,{children:[(0,ef.jsxs)("div",{className:"flex items-center gap-4",children:[(0,ef.jsx)(lG.ck,{value:et,id:et,className:"h-5 w-5 cursor-pointer rounded-full border border-token-border-medium bg-token-surface-primary outline-none hover:bg-token-surface-secondary radix-state-checked:border-green-500 radix-state-checked:bg-green-500",children:(0,ef.jsx)(lG.z$,{className:"flex items-center justify-center",children:(0,ef.jsx)(eE.UgA,{className:"mt-0.5 h-[14px] w-[14px] stroke-[3] text-white"})})}),(0,ef.jsx)(l4,{htmlFor:et,children:(0,ef.jsx)(eI.Z,(0,eu._)({},en))})]}),(0,ef.jsxs)(l3,{children:[(0,ef.jsxs)("div",{children:[(0,ef.jsx)(l7,{children:(0,ef.jsx)(eI.Z,(0,eS._)((0,eu._)({},eo),{values:{s:function(){for(var Y=arguments.length,et=Array(Y),en=0;en<Y;en++)et[en]=arguments[en];return(0,ef.jsx)(l6,{children:et})}}}))}),(0,ef.jsx)("p",{children:(0,ef.jsx)(eI.Z,(0,eu._)({},ea))})]}),(0,ef.jsx)(lU,{children:ei.map(function(Y){return(0,ef.jsx)(lH,{children:(0,ef.jsx)(eI.Z,(0,eu._)({},Y))},Y.id)})})]})]})}var un=function(Y){var et=Y.isOpen,en=Y.onClose,eo=Y.onSubmit,ea=(0,ec._)((0,e_.useState)(ei.ANNUAL),2),ed=ea[0],eh=ea[1],ep=(0,ec._)((0,e_.useState)(!1),2),em=ep[0],eg=ep[1],ey=(0,eC.Z)(),eb=(0,ec._)((0,e_.useState)(lQ),2),ek=eb[0],ew=eb[1],eA=(0,ec._)((0,e_.useState)(new Date),1)[0],eM=uo[ed];return(0,ef.jsx)(eR.Z,{type:"success",isOpen:et,onClose:en,size:"fullscreen",className:"max-w-3xl",closeButton:(0,ef.jsx)(e4.ZP.CloseButton,{onClose:en}),title:ey.formatMessage(ui.selectTeamPlanModalTitle),children:(0,ef.jsxs)("div",{className:"grid grid-flow-row grid-cols-3",children:[(0,ef.jsxs)(lG.fC,{className:"col-span-3 grid md:col-span-2 md:grid-cols-2",defaultValue:ed,onValueChange:function(Y){l0.includes(Y)&&eh(Y)},children:[(0,ef.jsx)(ut,(0,eu._)({billingType:ei.FLEXIBLE},ua)),(0,ef.jsx)(ut,(0,eu._)({billingType:ei.ANNUAL},us))]}),(0,ef.jsxs)("div",{className:"col-span-3 overflow-hidden border-l border-token-surface-tertiary bg-token-surface-secondary p-6 md:col-span-1",children:[(0,ef.jsx)("label",{className:"mb-3 block text-base font-medium",htmlFor:"seats",children:(0,ef.jsx)(eI.Z,(0,eu._)({},ui.seatsTitle))}),(0,ef.jsxs)("div",{className:"mb-3 flex items-center",children:[(0,ef.jsx)(eL.z,{color:"none",disabled:ek<=lQ,onClick:function(Y){var et=Y.shiftKey;ew(function(Y){return Y-(et?10:1)})},className:"px-2 disabled:text-token-text-tertiary",children:(0,ef.jsx)(eE.ego,{className:"icon-lg"})}),(0,ef.jsx)("input",{type:"number",min:2,max:999,name:"seats",value:ek,onChange:function(Y){ew(parseInt(Y.target.value))},onBlur:function(){ek<lQ&&ew(lQ),ek>lY&&ew(lY),ek||ew(lQ)},className:"m-0 h-9 appearance-none rounded border border-gray-200 px-2 py-0 text-center text-sm text-gray-800 shadow-none outline-none ring-transparent focus:border-green-500 focus:ring-green-500 dark:border-gray-700"}),(0,ef.jsx)(eL.z,{color:"none",disabled:ek>=lY,onClick:function(){return ew(function(Y){return Y+1})},className:"px-2 disabled:text-token-text-tertiary",children:(0,ef.jsx)(eE.OvN,{className:"icon-lg"})})]}),(0,ef.jsx)(lD,{surface:"tertiary"}),(0,ef.jsx)(l8,{children:(0,ef.jsx)(eI.Z,(0,eu._)({},ui.summaryTitle))}),(0,ef.jsxs)("div",{className:"text-sm",children:[(0,ef.jsx)("p",{className:"mb-2",children:(0,ef.jsx)(eI.Z,(0,eu._)({},eM.name))}),(0,ef.jsxs)(lU,{children:[(0,ef.jsx)(lH,{children:(0,ef.jsx)(eI.Z,(0,eS._)((0,eu._)({},eM.billed),{values:{date:(0,ef.jsx)(eT.Ji,{value:eA})}}))}),(0,ef.jsx)(lH,{children:(0,ef.jsx)("b",{children:(0,ef.jsx)(eI.Z,(0,eS._)((0,eu._)({},eM.total),{values:{totalCost:(ek||0)*(ed===ei.ANNUAL?lX:lJ)}}))})})]})]}),(0,ef.jsx)("div",{className:"mt-4 flex justify-end",children:(0,ef.jsx)(e4.mH,{title:ey.formatMessage(ui.continueToBillingButton),onClick:function(){eg(!0),eo(ed,ek)},disabled:!1,loading:em,color:"primary"})})]})]})})};function ur(Y){var et=Y.isOpen,en=Y.onClose,ei=(0,ec._)((0,e_.useState)(""),2),eo=ei[0],eu=ei[1],eh=(0,eC.Z)(),ep=function(){var Y=(0,ea._)(function(Y,et){var en,ei;return(0,ed.Jh)(this,function(ea){switch(ea.label){case 0:return ea.trys.push([0,2,,3]),[4,lM.ZP.getCheckoutLink({plan_name:"chatgptteamplan",team_plan_data:{workspace_name:eo,price_interval:Y,seat_quantity:et}})];case 1:return en=ea.sent(),ew().push(en.url),[3,3];case 2:return ei=ea.sent(),sO.m.warning(eh.formatMessage(ui.paymentErrorWarning),{hasCloseButton:!0}),[3,3];case 3:return[2]}})});return function(et,en){return Y.apply(this,arguments)}}();return""==eo?(0,ef.jsx)(l9,{isOpen:et,onClose:en,onSubmit:function(Y){eu(Y)}}):(0,ef.jsx)(un,{isOpen:et,onClose:en,onSubmit:function(Y,et){ep(Y,et)}})}var ui=(0,eT.vU)({flexiblePlanName:{id:"teamBilling.flexiblePlan.name",defaultMessage:"Flexible plan",description:"Name for the Flexible billing plan"},flexiblePlanCost:{id:"teamBilling.flexiblePlan.cost",defaultMessage:"USD $30",description:"Cost for the Flexible billing plan"},flexibleBilledMonthly:{id:"teamBilling.flexiblePlan.billedMonthly",defaultMessage:"Price billed monthly",description:"Feature indicating the Flexible plan is billed monthly"},flexibleAddRemoveUsers:{id:"teamBilling.flexiblePlan.addRemoveUsers",defaultMessage:"Add or remove users as needed",description:"Feature indicating users can be added or removed in the Flexible plan"},flexibleMinBill:{id:"teamBilling.flexiblePlan.minBill",defaultMessage:"The minimum monthly bill is for 2 users, USD $60/month",description:"Minimum bill details for the Flexible plan"},seatsTitle:{id:"teamBilling.seatsTitle",defaultMessage:"Seats",description:"Seats section title"},summaryTitle:{id:"teamBilling.summaryTitle",defaultMessage:"Summary",description:"Summary section title"},annualPlanName:{id:"teamBilling.annualPlan.name",defaultMessage:"Annual plan",description:"Name for the Annual billing plan"},annualPlanCost:{id:"teamBilling.annualPlan.cost",defaultMessage:"USD $25 <s>$30</s>",description:"Cost for the Annual billing plan"},annualBilledAnnually:{id:"teamBilling.annualPlan.billedAnnually",defaultMessage:"Annual price billed annually",description:"Feature indicating the Annual plan is billed once a year"},annualAddUsersWithRenewal:{id:"teamBilling.annualPlan.addUsersWithRenewal",defaultMessage:"Add users as needed, remove users only when you renew the contract",description:"Feature about adding/removing users in the Annual plan"},annualMinBill:{id:"teamBilling.annualPlan.minBill",defaultMessage:"The minimum bill is for 2 users, USD $50/month billed annually",description:"Minimum bill details for the Annual plan"},teamsCostStructure:{id:"teamBilling.teamsCostStructure",defaultMessage:"per person/month",description:"The cost structure for teams plan"},annualSavingsPercentage:{id:"teamBilling.annualSavingsPercentage",defaultMessage:"16.7% off",description:"The savings percentage annual has on flexible"},createWorkspace:{id:"createWorkspace.title",defaultMessage:"Create workspace",description:"Title for the create workspace modal"},cancel:{id:"createWorkspace.cancel",defaultMessage:"Cancel",description:"Cancel button text"},selectTeamPlan:{id:"createWorkspace.selectTeamPlan",defaultMessage:"Select Team Plan",description:"Button text for selecting team plan"},selectTeamPlanModalTitle:{id:"createWorkspace.selectTeamPlanModalTitle",defaultMessage:"Select your team plan",description:"Select team plan modal title"},continueToBillingButton:{id:"createWorkspace.continueToBillingButton",defaultMessage:"Continue to billing",description:"Continue to billing button text"},paymentErrorWarning:{id:"createWorkspace.paymentErrorWarning",description:"Error toast when payment page has an error",defaultMessage:"The payments page encountered an error. Please try again. If the problem continues, please visit help.openai.com."},selectBillingOption:{id:"createWorkspace.selectBillingOption",defaultMessage:"Select billing options",description:"Button text for selecting team plan"},annualPlanSelected:{id:"teamBilling.annualPlanSelected",defaultMessage:"ChatGPT Team annual plan",description:"Summary title of selected plan"},annualPlanBilled:{id:"teamBilling.annualPlanBilled",defaultMessage:"Price billed annually, starting {date}",description:"Summary of billing of selected plan"},annualPlanTotal:{id:"teamBilling.annualPlanTotal",defaultMessage:"USD ${totalCost} per year total",description:"Summary total of selected plan"},flexiblePlanSelected:{id:"teamBilling.flexiblePlanSelected",defaultMessage:"ChatGPT Team flexible plan",description:"Summary title of selected plan"},flexiblePlanBilled:{id:"teamBilling.flexiblePlanBilled",defaultMessage:"Price billed monthly, starting {date}",description:"Summary billing of selected plan"},flexiblePlanTotal:{id:"teamBilling.flexiblePlanTotal",defaultMessage:"USD ${totalCost} per month total",description:"Summary total of selected plan"}}),uo=(eo={},(0,tp._)(eo,ei.FLEXIBLE,{name:ui.flexiblePlanSelected,billed:ui.flexiblePlanBilled,total:ui.flexiblePlanTotal}),(0,tp._)(eo,ei.ANNUAL,{name:ui.annualPlanSelected,billed:ui.annualPlanBilled,total:ui.annualPlanTotal}),eo),ua={type:ei.FLEXIBLE,name:ui.flexiblePlanName,cost:ui.flexiblePlanCost,costStructure:ui.teamsCostStructure,billingFeatures:[ui.flexibleBilledMonthly,ui.flexibleAddRemoveUsers,ui.flexibleMinBill]},us={type:ei.ANNUAL,name:ui.annualPlanName,cost:ui.annualPlanCost,costStructure:ui.teamsCostStructure,originalCost:ui.flexiblePlanCost,savingsFromOriginal:ui.annualSavingsPercentage,billingFeatures:[ui.annualBilledAnnually,ui.annualAddUsersWithRenewal,ui.annualMinBill]},ul={src:"https://cdn.oaistatic.com/_next/static/media/apple-touch-icon.59f2e898.png",height:180,width:180,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAb1BMVEXN3NjL29bL2tbG19LE1tHC1M/B1M/A08680cu80Mu70Mq5z8m4zsi2zce2zcawycKvyMGuyMGOtauNtaqMtKqLtKmCr6OBr6N3qp12qZx1qZx0qJtzqJtyqJpxp5pxp5lupZhtpZdrpJZno5RnopTLRnOIAAAARklEQVR42gVAhxZAIBS9RsMrsqlI6/+/0YHzcb1rsPDZ8GY+PyQJxcRQcBDpqe8evF0/aqIdhQRTkAnhWlpusocN1W7Rux+jjQSNTfAgDwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},uu={src:"https://cdn.oaistatic.com/_next/static/media/favicon-16x16.9b8dbb69.png",height:16,width:16,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA2ElEQVR42j2PS7LBUBCGzzat4D4muNdjyNACUJ4TQRJUUCZBCiEUcVQlFDbBFvp3OlWMTp/qr//+WmR6jdi/UX8m9SoKE4OyvSZ9a0X86bWHqmMipZqJbhVtz6H5WWJ5DWDsFpQfakgqSMS7FYykR+49hHX0YIdHzM5S1Rv6bZchONYOffQPLsZyi/7eZSAC02aDRMqs01R95pfTBxoc1rADn50gfrQSLH9D76mh9MDr+I0rN8G2OasVia1uARyV1Nk6YHF1AASfwtBXq4iM2SSOTehRkx3wAlEavbaAWUXMAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},uc={src:"https://cdn.oaistatic.com/_next/static/media/favicon-32x32.be48395e.png",height:32,width:32,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA3ElEQVR42hWPS2oCYRCE/3t6gQQSQ0xilsk2j23IEHUTUWdGEcXxsfAxgjq/qDOijqCn8ARddm0auuujusrkvWLm2S1cslUH34Eveb8kN+UfPNb+Lq9+KWMo3ld+0bChjPcbRKcD6lEo781/EDIU+8lS7PmIzmaBkULD3VpvVm7VyXx0XNEFQRyhvZ6jtZphfIgxTbd4cgticjrCNAGPFAl1FR4kS3wGHgxterEV2tKeb+w55VtkKw4Mg7xpIH8xEQYkVI8muNNsWgCGVXIKsdqLV5QvtX2oOhS54wr3fr7qponcLQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},ud=en(71690);function uf(Y){var et=Y.canManageBrowserStorage,en=Y.serverPrimedAllowBrowserStorageValue,ei=(0,eM.EV)(eM.B.CreateWorkspace);return(0,ef.jsxs)(ef.Fragment,{children:[(0,ef.jsx)(eU.ZP,{canManageBrowserStorage:et,serverPrimedAllowBrowserStorageValue:en}),(0,ef.jsx)(eF,{}),(0,ef.jsx)(ur,{isOpen:ei,onClose:function(){return eM.vm.closeModal(eM.B.CreateWorkspace)}}),(0,ef.jsx)(lO.ZP,{})]})}function uh(){return(0,eH.ZP)(),null}var up=function(Y){var et,en,ei,eo=Y.Component,ea=Y.pageProps;e5();var ed=(0,ec._)((0,e_.useState)(!1),2),em=ed[0],ey=ed[1],ew=(0,ec._)((0,e_.useState)(""),2),eE=ew[0],eC=ew[1],eT=(0,ek.useRouter)(),eS=eT.query.shareId||"",eA=eT.query.chatId||void 0,eM=null!==(et=Array.isArray(eT.query.locale)?eT.query.locale[0]:eT.query.locale)&&void 0!==et?et:null,eP=(0,s4.Z)(eA);(0,e_.useEffect)(function(){window._oaiHandleSessionExpired=function(Y,et){window.location.href.includes("/auth/login")||(ey(!0),eZ.A.logEvent(eK.M.forceLogInModal,{content:"".concat(Y,": ").concat(et)}))}},[]),(0,e_.useEffect)(function(){lj()},[]),(0,e3.cj)();var ej=(0,e_.useMemo)(function(){return{serviceStatus:null!==(en=ea.serviceStatus)&&void 0!==en?en:void 0}},[ea]),eO=null!==(ei=eo.getLayout)&&void 0!==ei?ei:function(Y){return Y};return(0,ef.jsxs)(ef.Fragment,{children:[(0,ef.jsx)(e6.Z,{}),(0,ef.jsxs)(eb(),{children:[(0,ef.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:ul.src}),(0,ef.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:uc.src}),(0,ef.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:uu.src}),(0,ef.jsx)("link",{rel:"preconnect",href:"https://cdn.oaistatic.com"}),(0,ef.jsx)("meta",{name:"title",content:"ChatGPT: Get instant answers, find inspiration, learn something new"},"title"),(0,ef.jsx)("meta",{name:"description",content:"ChatGPT is a free-to-use AI system. Use it for engaging conversations, gain insights, automate tasks, and witness the future of AI, all in one place."},"description"),(0,ef.jsx)("meta",{name:"keywords",content:"ai chat,ai,chap gpt,chat gbt,chat gpt 3,chat gpt login,chat gpt website,chat gpt,chat gtp,chat openai,chat,chatai,chatbot gpt,chatg,chatgpt login,chatgpt,gpt chat,open ai,openai chat,openai chatgpt,openai"}),(0,ef.jsx)("meta",{property:"og:description",content:"A conversational AI system that listens, learns, and challenges"},"og:description"),(0,ef.jsx)("meta",{name:"robots",content:"index, follow"}),(0,ef.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html; charset=utf-8"}),(0,ef.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,ef.jsx)("meta",{property:"og:title",content:"ChatGPT"},"og:title"),(0,ef.jsx)("meta",{property:"og:image",content:ud.Z.src},"og:image"),(0,ef.jsx)("meta",{property:"og:url",content:"https://chat.openai.com"},"og:url"),(0,ef.jsx)("meta",{name:"apple-itunes-app",content:"app-id=6448311069"})]}),(0,ef.jsx)(s7.S,{name:"ui_boundary_error",fallback:function(Y){var et=Y.resetError,en=Y.componentStack,ei=Y.error;return(0,ef.jsx)(um,{resetError:et,componentStack:en,error:ei})},children:(0,ef.jsx)(ep.aH,{client:s8.E,children:(0,ef.jsx)(a8,{user:ea.user,serverPrimedAllowBrowserStorageValue:ea.serverPrimedAllowBrowserStorageValue,canManageBrowserStorage:ea.canManageBrowserStorage,children:(0,ef.jsx)(eg.f,{attribute:"class",children:(0,ef.jsx)(eh.zt,{children:(0,ef.jsx)(s6.gt.Provider,{value:ej,children:(0,ef.jsx)(th.ZP,{urlLocale:eM,children:(0,ef.jsx)(s6.QL.Provider,{value:eP,children:(0,ef.jsxs)(tf,{children:[eO((0,ef.jsx)(eo,(0,eu._)({signInUrl:eE,sharedConversationId:eS,urlThreadId:eA},ea))),(0,ef.jsx)(sN,{}),(0,ef.jsx)(uh,{}),(0,ef.jsx)(ug,{isOpen:em,onLogInClick:function(Y){ey(!1),eC(Y.url)}}),(0,ef.jsx)(uf,{serverPrimedAllowBrowserStorageValue:ea.serverPrimedAllowBrowserStorageValue,canManageBrowserStorage:ea.canManageBrowserStorage})]})})})})})})})})})]})},um=function(Y){var et=Y.resetError,en=Y.componentStack,ei=Y.error;return(0,e_.useEffect)(function(){console.error(ei)},[ei]),(0,ef.jsxs)("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4",children:[(0,ef.jsx)("h2",{children:"Oops, an error occurred!"}),eP.D0&&(0,ef.jsxs)(ef.Fragment,{children:[(0,ef.jsx)("div",{className:"font-mono",children:ei.toString()}),(0,ef.jsx)("div",{className:"mx-6 font-mono",children:en})]}),(0,ef.jsx)(eL.z,{color:"neutral",onClick:et,children:"Try again"})]})},ug=function(Y){var et=Y.isOpen,en=Y.onLogInClick,ei=(0,ek.useRouter)(),eo=(0,eC.Z)();return(0,ef.jsx)(eR.Z,{isOpen:et,icon:eE.BJv,title:eo.formatMessage(uv.forceLogInModalTitle),description:eo.formatMessage(uv.forceLogInModalDescription),type:"warning",onClose:eO(),primaryButton:(0,ef.jsx)(e4.ZP.Button,{onClick:(0,ea._)(function(){var Y;return(0,ed.Jh)(this,function(et){switch(et.label){case 0:return[4,(0,em.signOut)({redirect:!1,callbackUrl:"/auth/login?next=".concat(encodeURIComponent(ei.asPath))})];case 1:return Y=et.sent(),ei.push(Y.url),en(Y),[2]}})}),title:eo.formatMessage(uv.forceLogInModalButton)})})},uv=(0,eT.vU)({forceLogInModalTitle:{id:"App.forceLogInModalTitle",defaultMessage:"Your session has expired",description:"Title displayed in the modal when user session has expired"},forceLogInModalDescription:{id:"App.forceLogInModalDescription",defaultMessage:"Please log in again to continue using the app.",description:"Description displayed in the modal when user session has expired"},forceLogInModalButton:{id:"App.forceLogInModalButton",defaultMessage:"Log in",description:"Button displayed in the modal when user session has expired"}})},5053:function(Y,et,en){"use strict";var ei,eo,ea,eu,ec,ed,ef,eh,ep,em,eg,ey,eb,ek,ew,e_;en.d(et,{CZ:function(){return ep},Cd:function(){return eh},D8:function(){return ea},Ei:function(){return ey},Gz:function(){return eu},KF:function(){return eb},NN:function(){return ec},PO:function(){return ew},Xf:function(){return ek},bb:function(){return ed},pT:function(){return eg},qK:function(){return e_},r3:function(){return em},tr:function(){return ei}}),function(Y){Y.BROWSING="browsing",Y.CODE_INTERPRETER="code_interpreter",Y.PLUGINS="plugins",Y.SUNSHINE="sunshine",Y.VOICE="breeze",Y.WORKSPACE_GPT_CUSTOM_ACTIONS="workspace_gpt_custom_actions"}(ei||(ei={})),function(Y){Y.FREE="chatgptfreeplan",Y.PLUS="chatgptplusplan",Y.PRO_FREE="chatgptprofreeplan",Y.PLUS_FREE="chatgptplusfreeplan",Y.ENTERPRISE="chatgptenterpriseplan",Y.TEAM="chatgptteamplan"}(eo||(eo={})),function(Y){Y.FREE="free",Y.PLUS="plus",Y.ENTERPRISE="enterprise",Y.TEAM="team"}(ea||(ea={})),function(Y){Y.ANYONE="anyone",Y.NO_ONE="no_one",Y.WORKSPACE_ONLY="workspace_only"}(eu||(eu={})),function(Y){Y.ALLOW_ALL="allow_all",Y.ALLOW_NONE="allow_none"}(ec||(ec={})),function(Y){Y.GPT_SHARE_SETTINGS="gpt_share_setting",Y.CHAT_SHARE_SETTINGS="chat_share_setting"}(ed||(ed={})),function(Y){Y.DALLE="dalle",Y.WORKSPACE_SHARE_LINKS="workspace_share_links"}(ef||(ef={})),function(Y){Y.CodeInterpreter="code_interpreter",Y.Multimodal="multimodal",Y.Retrieval="retrieval",Y.ContextConnector="context_connector"}(eh||(eh={})),function(Y){Y.PERSONAL="personal",Y.WORKSPACE="workspace"}(ep||(ep={})),function(Y){Y.OWNER="account-owner",Y.ADMIN="account-admin",Y.STANDARD="standard-user"}(em||(em={})),function(Y){Y.VERIFIED="verified",Y.PENDING="pending",Y.EXPIRED="expired"}(eg||(eg={})),function(Y){Y.AceUpload="ace_upload",Y.MyFiles="my_files",Y.Multimodal="multimodal",Y.ProfilePicture="profile_picture",Y.Gizmo="gizmo"}(ey||(ey={})),function(Y){Y.Success="success",Y.Retry="retry",Y.Error="error"}(eb||(eb={})),function(Y){Y.Success="success",Y.Failed="failed",Y.Processing="processing",Y.Skipped="skipped"}(ek||(ek={})),function(Y){Y.GDRIVE="gdrive",Y.O365="o365"}(ew||(ew={})),function(Y){Y.PYTHON="python",Y.RETRIEVAL="retrieval",Y.BROWSER="browser",Y.FUNCTION="function",Y.DALLE="dalle",Y.API="api",Y.PARALLEL_BROWSE="parallel_browse",Y.MEMORY="memory",Y.CONTEXT_CONNECTOR="context_connector",Y.JIT_PLUGIN="plugins_prototype"}(e_||(e_={}))},20630:function(Y,et,en){"use strict";function ei(Y){return void 0!==Y.userMessage}en.d(et,{T:function(){return ei}})},61098:function(Y,et,en){"use strict";en.d(et,{$x:function(){return ep},Jv:function(){return ef},L5:function(){return em},OL:function(){return ed},Os:function(){return ea},PX:function(){return eh},RF:function(){return eg},Zq:function(){return ey},uU:function(){return eu}}),function(Y){Y.Default="default",Y.Dark="dark"}(ei||(ei={})),function(Y){Y.Retrieval="retrieval"}(eo||(eo={}));var ei,eo,ea,eu,ec,ed,ef,eh,ep,em,eg,ey="NEW:DUMMY";!function(Y){Y.Next="next",Y.Variant="variant",Y.Continue="continue"}(ea||(ea={})),function(Y){Y.Root="root",Y.User="user",Y.Assistant="assistant",Y.System="system",Y.Critic="critic",Y.Tool="tool"}(eu||(eu={})),function(Y){Y.Draft="DRAFT",Y.Live="LIVE"}(ec||(ec={})),function(Y){Y.PrimaryAssistant="primary_assistant",Y.BusinessTemplate="business_template",Y.BusinessTemplatePlayground="business_template_playground",Y.GizmoInteraction="gizmo_interaction",Y.GizmoMagicCreate="gizmo_magic_create",Y.GizmoTest="gizmo_test"}(ed||(ed={})),function(Y){Y.None="none",Y.OAuth="oauth",Y.ServiceHTTP="service_http"}(ef||(ef={})),function(Y){Y.Text="text",Y.MultimodalText="multimodal_text",Y.TetherBrowsingCode="tether_browsing_code",Y.Code="code",Y.ExecutionOutput="execution_output",Y.SystemError="system_error",Y.SystemMessage="system_message",Y.SystemContent="system_content",Y.TetherBrowsingDisplay="tether_browsing_display",Y.TetherQuote="tether_quote",Y.UserEditableContext="user_editable_context",Y.ModelEditableContext="model_editable_context"}(eh||(eh={})),function(Y){Y.Search="search",Y.Click="click",Y.OpenUrl="open_url",Y.Quote="quote",Y.QuoteFull="quote_full",Y.QuoteLines="quote_lines",Y.Back="back",Y.Scroll="scroll"}(ep||(ep={})),function(Y){Y.Running="running",Y.Finished="finished"}(em||(em={})),function(Y){Y.Starting="starting",Y.Running="running",Y.Done="done",Y.Timeout="timeout",Y.Error="error",Y.Cancelled="cancelled"}(eg||(eg={}))},13246:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ed}});var ei=en(35250),eo=en(19841),ea=en(94968),eu=en(70671),ec=(0,ea.vU)({altText:{id:"AppLogo.altText",description:"The alt text for the app logo image",defaultMessage:"{name} logo"}});function ed(Y){var et=Y.url,en=Y.name,ea=Y.size,ed=Y.large,ef=Y.className,eh=(0,eu.Z)();return(0,ei.jsxs)("div",{className:(0,eo.default)("relative",ef),style:{width:ea,height:ea},children:[(0,ei.jsx)("img",{src:et,alt:eh.formatMessage(ec.altText,{name:en}),className:(0,eo.default)("h-full w-full bg-white",ed?"rounded-[5px]":"rounded-sm")}),(0,ei.jsx)("div",{className:(0,eo.default)("absolute inset-0 ring-1 ring-inset ring-black/10",ed?"rounded-[5px]":"rounded-sm")})]})}},12952:function(Y,et,en){"use strict";en.d(et,{Ao:function(){return eD},B0:function(){return eL},EF:function(){return eO},Ph:function(){return eM},Py:function(){return eF},Yt:function(){return eN},k$:function(){return eA},zf:function(){return eR}});var ei=en(4337),eo=en(35250),ea=en(19841),eu=en(21988),ec=en.n(eu),ed=en(1454),ef=en(13002),eh=en(21389),ep=en(5053),em=en(17944),eg=en(13246),ey=en(39368),eb=en(23234),ek=en(59904);function ew(){var Y=(0,ei._)(["relative p-1 rounded-sm h-9 w-9 text-white flex items-center justify-center"]);return ew=function(){return Y},Y}function e_(){var Y=(0,ei._)(["\n absolute w-4 h-4 rounded-full text-[10px] text-white flex justify-center items-center right-0 top-[20px] -mr-2 border border-white\n ","\n ","\n"]);return e_=function(){return Y},Y}function eE(){var Y=(0,ei._)(["text-white flex justify-center items-center relative tracking-widest"]);return eE=function(){return Y},Y}function eC(){var Y=(0,ei._)(["relative flex"]);return eC=function(){return Y},Y}var eT=eh.Z.div(ew()),eS=eh.Z.span(e_(),function(Y){return"warning"===Y.$type&&"bg-orange-500 text-white"},function(Y){return"danger"===Y.$type&&"bg-red-500 text-white"}),eA=function(Y){var et=Y.iconName,en=Y.background,ei=Y.notice,ea=Y.size,eu=void 0===ea?"medium":ea,ec=ek.nI;switch(et){case"globe":ec=ed.RsK;break;case"terminal":ec=ed.cDN;break;case"text":ec=ed.RUS;break;case"code":ec=ef.oT$;break;case"plugin":ec=ed.yG;break;case"user":ec=ed.fzv}return(0,eo.jsxs)(eT,{style:{backgroundColor:en,width:eO[eu],height:eO[eu]},children:[(0,eo.jsx)(ec,{className:eI[eu]}),ei&&(0,eo.jsx)(eS,{$type:ei,children:"!"})]})},eM=function(Y){var et=Y.plugin,en=Y.notice,ei=Y.iconSize,ea=void 0===ei?"medium":ei,eu=(0,eb.Ml)(),ec=(0,eo.jsxs)(eo.Fragment,{children:[(0,eo.jsx)(eg.Z,{url:et.manifest.logo_url,name:et.manifest.name_for_human,size:"100%"}),en&&(0,eo.jsx)(eS,{$type:en,children:"!"})]});return eu?(0,eo.jsx)(ej,{className:"overflow-hidden rounded-sm",style:{height:eO[ea],width:eO[ea]},children:ec}):(0,eo.jsx)(eT,{className:"p-0",children:ec})},eP=eh.Z.div(eE()),ej=eh.Z.div(eC()),eO={small:16,gizmo:32,gizmoConversation:24,medium:36,large:48,workspaceAvatarPreview:96,cover:234},eI={small:"icon-xs",medium:"icon-md",large:"icon-lg",workspaceAvatarPreview:"icon-workspace-avatar-preview",cover:"icon-cover",gizmo:"icon-md",gizmoConversation:"icon-sm"},eN=function(Y){var et,en=Y.user,ei=Y.size,eu=Y.notice,ef=eu&&(0,eo.jsx)(eS,{$type:eu,children:"!"});if((null==en?void 0:en.picture)!=null)return(0,eo.jsxs)(ej,{children:[(0,eo.jsx)(ec(),{src:en.picture,alt:"User",width:eO[ei],height:eO[ei],className:"rounded-sm",unoptimized:!0}),ef]});var eh=(null!==(et=null==en?void 0:en.name)&&void 0!==et?et:"").split(" ").map(function(Y){return Y[0]}).join("");return(0,eo.jsxs)(eP,{className:(0,ea.default)("bg-blue-300","gizmo"===ei?"h-7 w-7 text-xs":"small"===ei?"h-5 w-5 text-xs":"h-[30px] w-[30px] text-sm","rounded-sm"),children:[eh||(0,eo.jsx)(ed.fzv,{className:eI[ei]}),ef]})};function eL(Y){var et=Y.src,en=Y.size,ei=void 0===en?"large":en,ea=Y.alt;return(0,eo.jsx)(eo.Fragment,{children:et?(0,eo.jsx)("img",{src:et,className:"inline rounded-full bg-token-surface-secondary dark:bg-token-surface-tertiary",alt:ea,width:eO[ei],height:eO[ei]}):(0,eo.jsx)("div",{className:"inline overflow-hidden rounded-full bg-[#3C46FF] text-white",style:{width:eO[ei]+"px",height:eO[ei]+"px"},children:(0,eo.jsx)("div",{className:"mx-1 my-1",children:(0,eo.jsx)(ek.HW,{})})})})}function eR(Y){var et=Y.className,en=Y.iconSize,ei=void 0===en?"medium":en,eu=Y.notice,ec=Y.workspace,ed=(0,em.ec)(function(Y){return Y.currentWorkspace});null!=ec||(ec=ed);var ef=(null==ec?void 0:ec.structure)===ep.CZ.PERSONAL,eh=(0,em.aF)();return(0,eo.jsx)("div",{className:(0,ea.default)("flex items-center justify-center rounded gizmo:overflow-hidden gizmo:rounded-full",et),children:!ec||ef&&void 0!==eh?(0,eo.jsx)(eN,{user:eh,size:ei,notice:eu}):(0,eo.jsxs)(eo.Fragment,{children:[(0,eo.jsx)(eL,{src:ec.profilePictureUrl,size:ei}),eu&&(0,eo.jsx)(eS,{$type:eu,children:"!"})]})})}function eD(Y){var et=Y.className,en=Y.iconSize,ei=void 0===en?"medium":en,ea=Y.notice,eu=Y.workspaceId,ec=Y.templateId,ed=(0,ey.Lm)(eu,ec,{includeDeleted:!0}).data;return ed?(0,eo.jsx)(eF,{className:et,iconSize:ei,notice:ea,conversationTemplate:ed}):(0,eo.jsx)(eA,{iconName:"openai",background:"#3C46FF",notice:ea,size:ei})}function eF(Y){var et,en,ei=Y.className,eu=Y.iconSize,ec=void 0===eu?"medium":eu,ed=Y.notice,ef=Y.conversationTemplate,eh=(0,ey.i_)(null!==(et=null==ef?void 0:ef.icon)&&void 0!==et?et:ey.bj.Box);return(0,eo.jsxs)("div",{className:(0,ea.default)("flex items-center justify-center rounded-sm text-white",ei),style:{backgroundColor:(0,ey.uJ)(null!==(en=null==ef?void 0:ef.color)&&void 0!==en?en:ey.Id.Blue),height:eO[ec],width:eO[ec]},children:[(0,eo.jsx)(eh,{className:eI[ec]}),ed&&(0,eo.jsx)(eS,{$type:ed,children:"!"})]})}},48133:function(Y,et,en){"use strict";en.d(et,{z:function(){return em}});var ei=en(39324),eo=en(71209),ea=en(70216),eu=en(35250),ec=en(19841),ed=en(73040),ef=en.n(ed),eh=en(70079),ep=en(42798),em=(0,eh.forwardRef)(function(Y,et){var en,ed=Y.children,eh=Y.onClick,ep=Y.className,em=Y.color,ey=void 0===em?"primary":em,eb=Y.disabled,ek=void 0!==eb&&eb,ew=Y.visuallyDisabled,e_=void 0!==ew&&ew,eE=Y.loading,eC=void 0!==eE&&eE,eT=Y.size,eS=void 0===eT?"medium":eT,eA=(0,ea._)(Y,["children","onClick","className","color","disabled","visuallyDisabled","loading","size"]),eM=e_||ek||eC,eP=eC||ek,ej=(0,ec.default)(eM&&"opacity-50 hover:bg-inherit",eP&&"cursor-not-allowed","btn relative","primary"===ey&&"btn-primary","neutral"===ey&&"btn-neutral","dark"===ey&&"btn-dark","light"===ey&&"btn-light","danger"===ey&&"btn-danger","danger-outline"===ey&&"btn-danger-outline","disabled"===ey&&"btn-disabled","small"===eS&&"btn-small","large"===eS&&"w-full py-3",ep);switch(eA.as){case"link":case"a":return(0,eu.jsx)(ef(),{href:null!==(en=eA.to)&&void 0!==en?en:"/",legacyBehavior:!0,children:(0,eu.jsxs)("a",(0,eo._)((0,ei._)({target:!0===eA.openNewTab?"_blank":"_self",ref:et,onClick:eh,className:ej},eA),{children:[(0,eu.jsx)("div",{className:(0,ec.default)("flex w-full gap-2","items-center justify-center",eC&&"opacity-0"),children:ed}),eC&&(0,eu.jsx)(eg,{})]}))});default:return(0,eu.jsxs)("button",(0,eo._)((0,ei._)({className:ej,ref:et,onClick:eh,disabled:eP},eA),{children:[(0,eu.jsx)("div",{className:(0,ec.default)("flex w-full gap-2","items-center justify-center",eC&&"opacity-0"),children:ed}),eC&&(0,eu.jsx)(eg,{})]}))}});function eg(){return(0,eu.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,eu.jsx)(ep.Z,{})})}em.displayName="Button"},13205:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ea}});var ei=en(35250),eo=en(19841);function ea(Y){var et=Y.id,en=Y.label,ea=Y.checked,eu=Y.onChange,ec=Y.disabled,ed=Y.className,ef=Y.labelClassName;return(0,ei.jsxs)("div",{className:"form-check flex items-center",children:[(0,ei.jsx)("input",{className:(0,eo.default)("form-check-input float-left mr-2 h-4 w-4 cursor-pointer appearance-none rounded-sm border border-gray-300 bg-white bg-contain bg-center bg-no-repeat align-top transition duration-200 checked:border-blue-600 checked:bg-blue-600 focus:outline-none",ed),type:"checkbox",disabled:ec,onChange:eu,checked:ea,id:et}),(0,ei.jsx)("label",{className:(0,eo.default)("form-check-label text-gray-800 dark:text-gray-100",ef),htmlFor:et,children:en})]})}},66161:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ea}});var ei=en(35250),eo=en(19841);function ea(Y){var et=Y.percentage,en=Y.thickness,ea=void 0===en?1/12:en,eu=Y.className,ec=Y.backgroundStrokeClassName,ed=void 0===ec?"stroke-gray-400":ec,ef=Y.transitionDuration,eh=Y.transitionTimingFunction,ep=Y.onTransitionEnd,em=120,eg=120*ea,ey=(120-eg)/2,eb=2*Math.PI*ey,ek=eb-et/100*eb;return(0,ei.jsxs)("svg",{width:em,height:em,viewBox:"0 0 ".concat(em," ").concat(em),className:eu,children:[(0,ei.jsx)("circle",{className:(0,eo.default)("origin-[50%_50%] -rotate-90",ed),strokeWidth:eg,fill:"transparent",r:ey,cx:em/2,cy:em/2}),(0,ei.jsx)("circle",{className:"origin-[50%_50%] -rotate-90 transition-[stroke-dashoffset]",stroke:"currentColor",strokeWidth:eg,strokeDashoffset:ek,strokeDasharray:"".concat(eb," ").concat(eb),fill:"transparent",r:ey,cx:em/2,cy:em/2,style:{transitionDuration:ef,transitionTimingFunction:eh},onTransitionEnd:ep})]})}},96114:function(Y,et,en){"use strict";en.d(et,{Z:function(){return eh}});var ei=en(35250),eo=en(70079);function ea({title:Y,titleId:et,...en},ei){return eo.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:ei,"aria-labelledby":et},en),Y?eo.createElement("title",{id:et},Y):null,eo.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 00-3.375-3.375h-1.5a1.125 1.125 0 01-1.125-1.125v-1.5A3.375 3.375 0 006.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0015 2.25h-1.5a2.251 2.251 0 00-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 00-9-9z"}))}let eu=eo.forwardRef(ea);var ec=eu,ed=en(38574),ef=en(48133),eh=function(Y){var et=Y.label,en=Y.value,eo=Y.onCopied,ea=function(){(0,ed.S)(en),eo()};return(0,ei.jsxs)("div",{className:"flex flex-col space-y-2",children:[void 0!==et&&(0,ei.jsx)("label",{className:"font-medium",children:et}),(0,ei.jsxs)("div",{className:"flex items-center gap-2",children:[(0,ei.jsx)("div",{onClick:ea,className:"w-full cursor-pointer break-all rounded-lg bg-token-surface-tertiary px-4 py-2 font-mono text-sm text-token-text-primary",children:en}),(0,ei.jsx)(ef.z,{color:"none",onClick:ea,className:"cursor-pointer",children:(0,ei.jsx)(ec,{className:"h-5 w-5"})})]})]})}},66306:function(Y,et,en){"use strict";en.d(et,{om:function(){return Ar},ZP:function(){return Ao},ne:function(){return At}});var ei,eo,ea,eu,ec,ed,ef,eh,ep,em={};en.r(em),en.d(em,{attentionMarkers:function(){return oQ},contentInitial:function(){return oV},disable:function(){return oJ},document:function(){return oG},flow:function(){return oq},flowInitial:function(){return oW},insideSpan:function(){return o$},string:function(){return oZ},text:function(){return oK}});var eg={};en.r(eg),en.d(eg,{boolean:function(){return sW},booleanish:function(){return sq},commaOrSpaceSeparated:function(){return sQ},commaSeparated:function(){return sY},number:function(){return sK},overloadedBoolean:function(){return sZ},spaceSeparated:function(){return s$}});var ey=en(39324),eb=en(71209),ek=en(10064),ew=en(4337),e_=en(35250),eE=en(19841),eC=en(70079),eT=en(1454),eS=en(21389),eA=en(35265),eM=en(67568),eP=en(54636),ej=en(42780),eO=en(70671),eI=en(94968),eN=en(61098),eL=en(66638),eR=en(55548),eD=en(17944),eF=en(25687),eB=en(1491),ez=en(86925),eU=en(15066),eH=en(73779),eG=en(41955),eV=en(12952),eW=en(418),eZ=en(23234),eK=en(87694),e$=en(86585),eY="#19c37d",eQ="openai",eX=["#7989FF"];function eJ(Y){var et;return eX[(null!==(et=null==Y?void 0:Y.charCodeAt(0))&&void 0!==et?et:0)%eX.length]}function e0(Y,et){var en=(0,ez.rH)(et.message);if(en===ez.Cs.Plugin||en===ez.Cs.PluginTool){var ei=(0,ez.Lx)(en===ez.Cs.Plugin?et.message.recipient:et.message.author.name);return Y.find(function(Y){return Y.namespace===(null==ei?void 0:ei.namespace)})}}var e9=function(Y){var et=Y.children;return(0,eZ.Ml)()?(0,e_.jsx)("div",{className:"pt-0.5",children:(0,e_.jsx)("div",{className:"gizmo-shadow-stroke flex h-6 w-6 items-center justify-center overflow-hidden rounded-full",children:et})}):(0,e_.jsx)(e_.Fragment,{children:et})};function e5(Y){var et,en=Y.isCompletionRequestInProgress,ei=Y.messages,eo=Y.clientThreadId,ea=Y.isCompletion,eu=Y.avatarColor,ec=Y.showInlineEmbeddedDisplay,ed=void 0!==ec&&ec,ef=(0,eC.useMemo)(function(){var Y=!0,et=!1,en=void 0;try{for(var eo,ea=ei[Symbol.iterator]();!(Y=(eo=ea.next()).done);Y=!0){var eu=eo.value,ec=(0,eK.ZC)(eu).flagSeverity;if(void 0!==ec)return ec}}catch(Y){et=!0,en=Y}finally{try{Y||null==ea.return||ea.return()}finally{if(et)throw en}}},[ei]),eh=null===(et=ei[0].message.metadata)||void 0===et?void 0:et.shared_conversation_id,ep=null!=eh,em=(0,eD.aF)(),eg=(0,eL.UL)(eo),ey=(0,eD.ec)(function(Y){var et;return null===(et=Y.currentWorkspace)||void 0===et?void 0:et.id}),eb=(0,eZ.Ml)(),ek=(0,eH.p_)().playgroundTemplate,ew=(0,eH.QH)(),eE=ew.gizmoEditorData,eT=ew.mode,eS=(0,e_.jsx)(e9,{children:(0,e_.jsx)(eV.k$,{background:null!=eu?eu:eY,iconName:eQ,notice:null!=ef?ef:void 0,size:eb?"gizmoConversation":void 0})}),eA=(0,e$.i)(eo),eM=eb?"gizmoConversation":void 0;if(en&&ei.length>0){var eP=e0(eA,ei[ei.length-1]);null!=eP&&(eS=(0,e_.jsx)(e9,{children:(0,e_.jsx)(eV.Ph,{plugin:eP,notice:null!=ef?ef:void 0,iconSize:eM})}))}return null!=eg.gizmoId?eS=(0,e_.jsx)(e9,{children:(0,e_.jsx)(eW.M,{gizmoId:eg.gizmoId,className:"h-6 w-6"})}):null!=ey&&null!=eg.conversationTemplateId?eS=(0,e_.jsx)(e9,{children:(0,e_.jsx)(eV.Ao,{workspaceId:ey,templateId:eg.conversationTemplateId,iconSize:eM})}):null!=ek?eS=(0,e_.jsx)(eV.Py,{iconSize:eM,conversationTemplate:ek}):null!=eE&&"test"===eT&&(eS=(0,e_.jsx)(eW.Z,{isFirstParty:!1,src:eE.profilePictureUrl,className:"h-6 w-6"})),(0,e_.jsx)("div",{children:ea?eS:ep||ed?(0,e_.jsx)(e9,{children:(0,e_.jsx)(eV.k$,{background:eJ(eh),iconName:"user",size:eb?"gizmoConversation":void 0})}):(0,e_.jsx)(e9,{children:(0,e_.jsx)(eV.Yt,{user:em,notice:null!=ef?ef:void 0,size:eb?"gizmoConversation":"medium"})})})}var e4=en(21722),e3=en(58036),e6=en(81158),e7=en(49347),e8=en(59378);function tt(Y){return(0,e3.o)(Y)||(0,e6.f)(Y)||(0,e8.N)(Y)||(0,e7.i)()}var ta=en(38104),tu=en(5053),tc=en(48133),td=en(38574),tf=en(13464);function th(){var Y=(0,ew._)(["bg-black rounded-md"]);return th=function(){return Y},Y}function tp(){var Y=(0,ew._)(["flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md"]);return tp=function(){return Y},Y}function tm(){var Y=(0,ew._)(["p-4 overflow-y-auto"]);return tm=function(){return Y},Y}function tg(){var Y=(0,ew._)(["",""]);return tg=function(){return Y},Y}var tv=eS.Z.div(th()),tb=eS.Z.div(tp()),tk=eS.Z.div(tm()),tw=eS.Z.code(tg(),function(Y){return Y.$shouldWrap?"!whitespace-pre-wrap":"!whitespace-pre"});function t_(Y){var et=Y.children,en=Y.className,ei=Y.language,eo=Y.content,ea=(0,eC.useCallback)(function(){(0,td.S)(eo)},[eo]);return(0,e_.jsx)(tE,{title:ei,headerDecoration:(0,e_.jsx)(tf.Z,{buttonText:"Copy code",onCopy:ea}),codeClassName:en,children:et})}function tE(Y){var et=Y.children,en=Y.title,ei=Y.headerDecoration,eo=Y.shouldWrapCode,ea=void 0!==eo&&eo,eu=Y.className,ec=Y.codeContainerClassName,ed=Y.codeClassName;return(0,e_.jsxs)(tv,{className:eu,children:[(null!=en||null!=ei)&&(0,e_.jsxs)(tb,{children:[en&&(0,e_.jsx)("span",{children:en}),ei]}),(0,e_.jsx)(tk,{className:ec,children:(0,e_.jsx)(tw,{$shouldWrap:ea,className:ed,children:et})})]})}var tC=en(21950),tT=en(30769),tS=en(18481),tA=en(6013),tM=en(32004),tP=en(8844),tj=1e4,tO=8e3,tI=15e3,tN=3e4,tL=13e3,tR=2e3,tD=en(66161);function tF(Y,et){var en=(0,eC.useRef)(Y);(0,eC.useEffect)(function(){en.current=Y},[Y]),(0,eC.useEffect)(function(){var Y=function(){en.current()};if(null!==et){var ei=window.setInterval(Y,et);return function(){return clearInterval(ei)}}},[et])}var tB=en(70737),tU=en(97296),tH=en(43477),tG=en(78103),tV=(0,tH.Z)(function(){return{delayedRenderingMessageIds:new Set}}),tW=(0,tG.ZP)(tV);function tq(){return tW(function(Y){return Y.delayedRenderingMessageIds})}var tZ={addDelayedRenderingMessage:function(Y){tV.setState(function(et){if(et.delayedRenderingMessageIds.has(Y))return et;var en=new Set(et.delayedRenderingMessageIds);return en.add(Y),{delayedRenderingMessageIds:en}})},removeDelayedRenderingMessage:function(Y){tV.setState(function(et){if(!et.delayedRenderingMessageIds.has(Y))return et;var en=new Set(et.delayedRenderingMessageIds);return en.delete(Y),{delayedRenderingMessageIds:en}})}},tK=en(59904),t$=JSON.parse('{"v":"5.7.5","fr":100,"ip":0,"op":400,"w":20,"h":20,"nm":"Comp 1","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[3.5,6.75],"ix":2},"a":{"a":0,"k":[5.999855130910873,5.99917334318161],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":2,"ty":4,"nm":"dot","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"rc","hd":false,"d":1,"s":{"a":0,"k":[3.5,3.5],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":1.75,"ix":2}},{"ty":"fl","c":{"a":0,"k":[0.203921568627451,0.207843137254902,0.2509803921568627],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[10.00000762939453,9.997123718261719],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":1,"k":[{"t":100,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":160,"s":[410],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":200,"s":[360],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":300,"s":[360],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":360,"s":[770],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":400,"s":[720],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"p":{"a":0,"k":[10,10],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":4,"ty":4,"nm":"compass","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":3,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[3.897755676788864,2.156718939201098],[9.466585676788863,0.04442893920109814],[10.31768567678886,0.895618939201098],[8.205185676788863,6.464308939201097],[6.464305676788864,8.205198939201097],[0.8956156767888639,10.3176989392011],[0.04442567678886356,9.466498939201099],[2.156725676788863,3.897748939201098],[3.897755676788864,2.156718939201098],[3.897755676788864,2.156718939201098],[3.897755676788864,2.156718939201098]],"i":[[0,0],[-1.856276666666666,0.7040966666666666],[0.2018000000000004,-0.5320100000000001],[0.7041666666666675,-1.85623],[0.8026800000000005,-0.3044999999999982],[1.85623,-0.7041666666666657],[-0.2018,0.5320999999999998],[-0.7040999999999995,1.8562499999999993],[-0.80274,0.3044900000000004],[0,0],[0,0]],"o":[[1.856276666666667,-0.7040966666666666],[0.532,-0.20181],[-0.7041666666666675,1.8562299999999992],[-0.3044999999999991,0.8025900000000004],[-1.85623,0.7041666666666693],[-0.5320100000000001,0.2018000000000022],[0.7041,-1.85625],[0.3044800000000008,-0.8027300000000004],[0,0],[0,0],[1.856276666666667,-0.7040966666666666]]}}},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[-5.181057929992676,-5.181064605712891],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0}],"markers":[]}'),tY=JSON.parse('{"v":"5.7.5","fr":100,"ip":0,"op":400,"w":20,"h":20,"nm":"Comp 1","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[3.5,6.75],"ix":2},"a":{"a":0,"k":[5.999855130910873,5.99917334318161],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":2,"ty":4,"nm":"dot","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"rc","hd":false,"d":1,"s":{"a":0,"k":[3.5,3.5],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":1.75,"ix":2}},{"ty":"fl","c":{"a":0,"k":[1,1,1],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[10.00000762939453,9.997123718261719],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":1,"k":[{"t":100,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":160,"s":[410],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":200,"s":[360],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":300,"s":[360],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":360,"s":[770],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":400,"s":[720],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"p":{"a":0,"k":[10,10],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":4,"ty":4,"nm":"compass","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":3,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[3.897755676788864,2.156718939201098],[9.466585676788863,0.04442893920109814],[10.31768567678886,0.895618939201098],[8.205185676788863,6.464308939201097],[6.464305676788864,8.205198939201097],[0.8956156767888639,10.3176989392011],[0.04442567678886356,9.466498939201099],[2.156725676788863,3.897748939201098],[3.897755676788864,2.156718939201098],[3.897755676788864,2.156718939201098],[3.897755676788864,2.156718939201098]],"i":[[0,0],[-1.856276666666666,0.7040966666666666],[0.2018000000000004,-0.5320100000000001],[0.7041666666666675,-1.85623],[0.8026800000000005,-0.3044999999999982],[1.85623,-0.7041666666666657],[-0.2018,0.5320999999999998],[-0.7040999999999995,1.8562499999999993],[-0.80274,0.3044900000000004],[0,0],[0,0]],"o":[[1.856276666666667,-0.7040966666666666],[0.532,-0.20181],[-0.7041666666666675,1.8562299999999992],[-0.3044999999999991,0.8025900000000004],[-1.85623,0.7041666666666693],[-0.5320100000000001,0.2018000000000022],[0.7041,-1.85625],[0.3044800000000008,-0.8027300000000004],[0,0],[0,0],[1.856276666666667,-0.7040966666666666]]}}},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[-5.181057929992676,-5.181064605712891],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0}],"markers":[]}'),tQ=JSON.parse('{"v":"5.7.5","fr":100,"ip":0,"op":400,"w":20,"h":20,"nm":"Comp 1","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10,10],"ix":2},"a":{"a":0,"k":[12,12],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":2,"ty":4,"nm":"Path","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":1,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[4.3226,0],[0.8041999999999998,0],[0,0.8041],[0.8041999999999998,1.6081],[4.3226,1.6081],[5.126800000000001,0.8041],[4.3226,0],[4.3226,0],[4.3226,0]],"i":[[0,0],[1.1728000000000005,0],[0,-0.4441000000000006],[-0.4441000000000006,0],[-1.1728000000000005,0],[0,0.4441000000000006],[0.4441999999999986,0],[0,0],[0,0]],"o":[[-1.1728000000000005,0],[-0.4441000000000006,0],[0,0.4441000000000006],[1.1728000000000005,0],[0.4441999999999986,0],[0,-0.4441000000000006],[0,0],[0,0],[-1.1728000000000005,0]]}}},{"ty":"st","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":0.100515,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":70,"s":[11.79640007019043,13.51219940185547],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":146,"s":[11.79640007019043,16.51219940185547],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":148,"s":[11.79640007019043,9.401088290744358],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":195,"s":[11.79640007019043,13.51219940185547],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":270,"s":[11.79640007019043,13.51219940185547],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":346,"s":[11.79640007019043,16.51219940185547],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":348,"s":[11.79640007019043,9.401088290744358],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":395,"s":[11.79640007019043,13.51219940185547],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":1,"k":[{"t":70,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":146,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":195,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":270,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":346,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":348,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":395,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Path","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":1,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[1.28704,0.2207774999999987],[0.2208300000000003,0.2207774999999987],[0.2208300000000003,1.286817499999998],[2.100320000000001,3.165917499999999],[0.2208300000000003,5.045017499999998],[0.2208300000000003,6.111017499999999],[1.28704,6.111017499999999],[3.69972,3.6989174999999985],[3.69972,2.6329175],[1.28704,0.2207774999999987],[1.28704,0.2207774999999987],[1.28704,0.2207774999999987]],"i":[[0,0],[0.2944300000000002,-0.2943700000000007],[-0.2944399999999998,-0.2943799999999985],[-0.6264966666666663,-0.6263666666666676],[0.6264966666666671,-0.6263666666666659],[-0.2944399999999998,-0.2943999999999996],[-0.2944300000000002,0.2943999999999996],[-0.8042266666666666,0.8040333333333329],[0.2943999999999996,0.2942999999999998],[0.8042266666666666,0.8040466666666664],[0,0],[0,0]],"o":[[-0.2944300000000002,-0.2943700000000007],[-0.2944399999999998,0.2943800000000003],[0.6264966666666671,0.6263666666666676],[-0.6264966666666663,0.6263666666666659],[-0.2944399999999998,0.2943999999999996],[0.2944300000000002,0.2943999999999996],[0.8042266666666666,-0.8040333333333329],[0.2943999999999996,-0.2943999999999996],[-0.8042266666666666,-0.8040466666666664],[0,0],[0,0],[-0.2944300000000002,-0.2943700000000007]]}}},{"ty":"st","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":0.201031,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":76,"s":[7.026679992675781,8.836983680725098],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":136,"s":[13.00268173217773,8.834091186523438],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":138,"s":[2,8.834091186523438],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":200,"s":[7.026679992675781,8.834091186523438],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":276,"s":[7.026679992675781,8.834091186523438],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":336,"s":[13,8.834091186523438],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":338,"s":[2,8.834091186523438],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":400,"s":[7.03,8.834091186523438],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":1,"k":[{"t":136,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":200,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":276,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":76,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":136,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":200,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":276,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":336,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":338,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":400,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0}],"markers":[]}'),tX=JSON.parse('{"v":"5.7.5","fr":100,"ip":0,"op":400,"w":20,"h":20,"nm":"Comp 1","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":1,"k":[{"t":50,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":100,"s":[90],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":150,"s":[180],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":250,"s":[180],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":300,"s":[270],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":350,"s":[360],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"p":{"a":0,"k":[10,10],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":2,"ty":4,"nm":"moon","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":1,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[2.66029,2.2502500000000003],[2.94257,2.2253300000000005],[3.16411,2.15946],[3.3642200000000004,2.1007100000000003],[3.4624800000000002,2.13988],[3.5,2.24491],[3.48749,2.3303700000000003],[3.45176,2.4336200000000003],[3.17483,2.87157],[2.79071,3.2080400000000004],[2.32261,3.42523],[1.8027100000000003,3.5],[1.08448,3.36648],[0.5109700000000004,2.9926200000000005],[0.13400000000000034,2.4229400000000005],[0,1.70727],[0.13935999999999993,1.0129700000000001],[0.5306300000000004,0.4290440000000002],[1.1219999999999999,0.03738600000000025],[1.2095500000000001,0.00890100000000027],[1.2881600000000004,2.220446049250313e-16],[1.4007100000000001,0.042726000000000264],[1.4435900000000004,0.14954200000000017],[1.4275099999999998,0.23855500000000018],[1.3864200000000002,0.33290900000000023],[1.3256800000000002,0.49313300000000027],[1.2881600000000004,0.6960800000000003],[1.2756499999999997,0.9150600000000002],[1.3703399999999997,1.4722800000000003],[1.6472699999999998,1.8942000000000003],[2.0832100000000002,2.15946],[2.66029,2.2502500000000003],[2.66029,2.2502500000000003],[2.66029,2.2502500000000003]],"i":[[0,0],[-0.09170999999999996,0.016619999999999635],[-0.05597999999999992,0.027300000000000324],[-0.05837000000000003,0],[-0.02382000000000062,-0.02610999999999919],[0,-0.04390999999999945],[0.00833999999999957,-0.03204999999999991],[0.016680000000000028,-0.03678999999999988],[0.1131599999999997,-0.13056],[0.14412000000000003,-0.09376000000000051],[0.16795000000000027,-0.04985000000000017],[0.17985000000000007,0],[0.21915999999999958,0.08901000000000003],[0.16317999999999966,0.16141999999999967],[0.08932999999999947,0.2183799999999998],[0,0.25873999999999997],[-0.09290999999999983,0.21957000000000004],[-0.16794000000000064,0.16853600000000002],[-0.22510999999999992,0.09138599999999997],[-0.026209999999999845,0.005934999999999913],[-0.025020000000000486,0],[-0.02739000000000047,-0.028484000000000065],[0,-0.04272599999999993],[0.010720000000000063,-0.030856999999999912],[0.017869999999999386,-0.03323100000000001],[0.01666999999999952,-0.06290200000000001],[0.008329999999999949,-0.07357999999999998],[0,-0.07359000000000004],[-0.06312999999999924,-0.16497000000000006],[-0.12029999999999941,-0.11630999999999991],[-0.17032999999999987,-0.06170999999999971],[-0.21321000000000012,0],[0,0],[0,0]],"o":[[0.09647000000000006,0],[0.09172000000000047,-0.016620000000000523],[0.07504000000000044,-0.03915999999999986],[0.041679999999999495,0],[0.025009999999999977,0.026110000000000078],[0,0.02493000000000034],[-0.00714000000000059,0.03204000000000029],[-0.07146000000000008,0.16141000000000005],[-0.11195999999999984,0.1305500000000004],[-0.14412000000000003,0.09493999999999936],[-0.1667500000000004,0.04985000000000017],[-0.2596600000000002,0],[-0.21916000000000047,-0.0878300000000003],[-0.16198000000000068,-0.16141000000000005],[-0.08933000000000035,-0.21838000000000068],[0,-0.24329999999999985],[0.0929000000000002,-0.22075],[0.16913,-0.16971899999999995],[0.03216000000000019,-0.013056000000000068],[0.02738999999999958,-0.005933999999999995],[0.04763999999999946,0],[0.02858999999999945,0.028484999999999983],[0,0.028484000000000065],[-0.009520000000000195,0.02967200000000003],[-0.02382000000000062,0.04391400000000001],[-0.016680000000000028,0.06171700000000002],[-0.008340000000000458,0.07240000000000002],[0,0.20650999999999997],[0.06432000000000038,0.16496999999999984],[0.1203000000000003,0.11512999999999995],[0.1715099999999996,0.06052999999999997],[0,0],[0,0],[0.09647000000000006,0]]}}},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[3.75,5.5],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":-180,"ix":2},"o":{"a":1,"k":[{"t":50,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":100,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":140,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":250,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":280,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":350,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"sun","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":1,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"el","hd":false,"d":1,"s":{"a":0,"k":[3.00708,3.00704],"ix":2},"p":{"a":0,"k":[0,0],"ix":2}},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[-2.1999998092651376,-3.507655143737793],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":1,"k":[{"t":50,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":80,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":150,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":250,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":300,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":340,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":1,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"rc","hd":false,"d":1,"s":{"a":0,"k":[18,18],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"fl","c":{"a":0,"k":[1,0.8392156862745098,0.25098039215686274],"ix":2},"o":{"a":0,"k":0,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":1,"k":[{"t":50,"s":[9.999999284744263,10.17067003250122],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":100,"s":[9.999999284744263,11.17067003250122],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":150,"s":[9.999999284744263,10.17067003250122],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":250,"s":[9.999999284744263,10.17067003250122],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":300,"s":[9.999999284744263,11.17067003250122],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":350,"s":[9.999999284744263,10.17067003250122],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":6,"ty":4,"nm":"line","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":5,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[0,0],[4.18847,0],[4.18847,0.3221899999999991],[0,0.3221899999999991],[0,0],[0,0],[0,0]],"i":[[0,0],[-1.396156666666667,0],[0,-0.1073966666666664],[1.396156666666666,0],[0,0.1073966666666664],[0,0],[0,0]],"o":[[1.396156666666666,0],[0,0.1073966666666664],[-1.396156666666666,0],[0,-0.1073966666666664],[0,0],[0,0],[1.396156666666666,0]]}}},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[-2.900433540344238,3.517374992370605],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"small","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":5,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[3.215839629698487,0.4155599999999988],[1.871029629698487,0.4155599999999988],[0.08033652969848645,3.996899999999999],[0.7527406296984864,5.084849999999998],[4.334119629698487,5.084849999999998],[5.006529629698486,3.996899999999999],[3.215839629698487,0.4155599999999988],[3.215839629698487,0.4155599999999988],[3.215839629698487,0.4155599999999988]],"i":[[0,0],[0.2770400000000002,-0.5540800000000004],[0.5968977000000001,-1.19378],[-0.5588519999999999,0],[-1.193793,0],[0.2499200000000004,0.4998400000000003],[0.5968966666666669,1.19378],[0,0],[0,0]],"o":[[-0.27705,-0.5540800000000004],[-0.5968977,1.1937799999999994],[-0.2499269,0.4998400000000003],[1.193793,0],[0.5588600000000001,0],[-0.5968966666666669,-1.19378],[0,0],[0,0],[-0.27705,-0.5540800000000004]]}}},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[-6.000233173370361,-1.244344711303711],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"big","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":5,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[4.719378057214302,0.41556],[3.374568057214302,0.41556],[0.08033805721430198,7.00394],[0.7527380572143016,8.0919],[7.341158057214302,8.0919],[8.0136580572143,7.00394],[4.719378057214302,0.41556],[4.719378057214302,0.41556],[4.719378057214302,0.41556]],"i":[[0,0],[0.27705,-0.55408],[1.098076666666667,-2.196126666666667],[-0.5588499999999996,0],[-2.196140000000002,0],[0.2499000000000002,0.4998400000000007],[1.098093333333333,2.196126666666667],[0,0],[0,0]],"o":[[-0.2770500000000009,-0.55408],[-1.098076666666667,2.196126666666666],[-0.24993,0.4998400000000007],[2.19614,0],[0.5588999999999995,0],[-1.098093333333332,-2.196126666666666],[0,0],[0,0],[-0.2770500000000009,-0.55408]]}}},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[-2.093742370605469,-4.256064891815186],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0}],"markers":[]}'),tJ=JSON.parse('{"v":"5.7.5","fr":100,"ip":0,"op":350,"w":24,"h":24,"nm":"Comp 1","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"border","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"el","hd":false,"d":1,"s":{"a":0,"k":[22,22],"ix":2},"p":{"a":0,"k":[0,0],"ix":2}},{"ty":"st","c":{"a":0,"k":[0.203921568627451,0.207843137254902,0.2509803921568627],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":2,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[12,12],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":-180,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Path","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[8.6485975,0.1178352687211168],[8.880497499999999,1.074935268721117],[6.6505975,3.304865268721118],[6.6505975,6.016105268721118],[9.3617975,6.016105268721118],[11.5916975,3.786175268721117],[12.5487975,4.018115268721118],[11.1692975,8.727405268721117],[5.5576975,9.820205268721118],[3.272757499999999,12.10510526872112],[0.561517499999999,12.10510526872112],[0.561517499999999,9.393905268721117],[2.8464575,7.109005268721118],[3.9393075,1.497375268721117],[8.6485975,0.1178352687211168],[8.6485975,0.1178352687211168],[8.6485975,0.1178352687211168]],"i":[[0,0],[0.3205000000000009,-0.3204799999999999],[0.7432999999999996,-0.7433100000000001],[-0.7487000000000013,-0.7487000000000013],[-0.7487000000000013,0.7486999999999995],[-0.7433000000000014,0.743310000000001],[-0.09659999999999869,-0.4428200000000011],[1.278300000000002,-1.2783],[1.8610999999999986,0.7885999999999989],[0.7616466666666675,-0.7616333333333323],[0.7486899999999999,0.7486999999999995],[-0.7486899999999999,0.7487000000000013],[-0.7616466666666675,0.7616333333333323],[-1.5171100000000006,1.5171199999999994],[-1.6442,-0.3585899999999995],[0,0],[0,0]],"o":[[0.4428000000000001,0.09658000000000033],[-0.7432999999999996,0.7433100000000001],[-0.7487000000000013,0.7486899999999999],[0.7485999999999997,0.7486999999999995],[0.7432999999999996,-0.743310000000001],[0.3204999999999991,-0.3204799999999999],[0.3585999999999991,1.644189999999998],[-1.5170999999999992,1.5170999999999992],[-0.7616466666666675,0.761633333333334],[-0.7486899999999999,0.7486999999999995],[-0.7486899999999999,-0.7485999999999997],[0.7616466666666666,-0.7616333333333323],[-0.7885500000000008,-1.8611],[1.278289999999998,-1.27829],[0,0],[0,0],[0.4428000000000001,0.09658000000000033]]}}},{"ty":"fl","c":{"a":0,"k":[0.6980392156862745,0.3843137254901961,0.996078431372549],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":0,"s":[13.23,10.77154381752014],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":50,"s":[12,12],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":100,"s":[12,12],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":117,"s":[12,12],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":227,"s":[12,12],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":282,"s":[13.23,10.77],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"a":{"a":1,"k":[{"t":0,"s":[7.559483528137207,5.104858875274658],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":50,"s":[7.559483528137207,5.104858875274658],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"s":{"a":1,"k":[{"t":0,"s":[100,100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":50,"s":[121.15,121.15],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":60,"s":[121.15,121.15],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":100,"s":[121.15,121.15],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":117,"s":[121.15,121.15],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":227,"s":[121.15,121.15],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":282,"s":[100,100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"r":{"a":1,"k":[{"t":0,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":50,"s":[45],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":60,"s":[45],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":100,"s":[-45],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":117,"s":[-45],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":167,"s":[45],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":184,"s":[45],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":217,"s":[-45],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":227,"s":[-45],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":282,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":1,"k":[{"t":0,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":50,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Circle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[0,-10],[10,0],[0,10],[-10,0],[0,-10]],"i":[[-5.5228475,0],[0,-5.5228475],[5.5228475,0],[0,5.5228475],[-5.5228475,0]],"o":[[5.5228475,0],[0,5.5228475],[-5.5228475,0],[0,-5.5228475],[5.5228475,0]]}}},{"ty":"fl","c":{"a":0,"k":[0.203921568627451,0.207843137254902,0.2509803921568627],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[12,12],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":90,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Circle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"el","hd":false,"d":1,"s":{"a":0,"k":[24,24],"ix":2},"p":{"a":0,"k":[0,0],"ix":2}},{"ty":"fl","c":{"a":0,"k":[0.6980392156862745,0.3843137254901961,0.996078431372549],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[12,12],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":-180,"ix":2},"o":{"a":0,"k":25,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0}],"markers":[]}'),t9=JSON.parse('{"v":"5.7.5","fr":100,"ip":0,"op":400,"w":24,"h":24,"nm":"Comp 1","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[12,12],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":2,"ty":4,"nm":"Path\'s solid stroke","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":1,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":1,"k":[{"t":125,"s":[{"c":false,"v":[[3.5,0],[0,5.8332999999999995],[3.5,5.8332999999999995]],"i":[[0,0],[1.166666666666667,-1.944433333333334],[-1.166666666666667,0]],"o":[[-1.166666666666666,1.944433333333333],[1.166666666666666,0],[0,0]]}],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":200,"s":[{"c":false,"v":[[5.836999893188477,0],[9.336999893188477,5.83329963684082],[5.9886474609375,5.83329963684082]],"i":[[-1.184650421142578,-1.832367897033691],[0,0],[-1.166666666666667,0]],"o":[[1.184650897979736,1.832367539405823],[0,0],[0,0]]}],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":325,"s":[{"c":false,"v":[[5.836999893188477,0],[9.336999893188477,5.83329963684082],[5.9886474609375,5.83329963684082]],"i":[[-1.184650421142578,-1.832367897033691],[0,0],[-1.166666666666667,0]],"o":[[1.184650897979736,1.832367539405823],[0,0],[0,0]]}],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":400,"s":[{"c":false,"v":[[3.503000259399414,0],[0.003000259399414062,5.83329963684082],[3.503000259399414,5.83329963684082]],"i":[[0.2074432373046875,-0.3626899719238281],[0,0],[-1.166666666666667,0]],"o":[[-0.2074427604675293,0.3626899123191833],[0,0],[0,0]]}],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2}},{"ty":"st","c":{"a":0,"k":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":2.33333,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":125,"s":[-4.666999816894531,-4.666650772094727],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":200,"s":[-4.67,-4.666650772094727],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":325,"s":[-4.67,-4.666650772094727],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Path\'s solid stroke","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":1,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":1,"k":[{"t":125,"s":[{"c":false,"v":[[0,2.3332999999999995],[3.5,0]],"i":[[0,0],[-0.7981999999999996,1.4169]],"o":[[1.4311000000000007,0],[0,0]]}],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":200,"s":[{"c":false,"v":[[-2.333999633789062,2.333300590515137],[-5.833999633789062,0]],"i":[[1.169005393981934,0],[0.7811636924743652,1.481373190879822]],"o":[[-1.169005155563354,0],[-0.7811641693115234,-1.481372833251953]]}],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":325,"s":[{"c":false,"v":[[-2.333999633789062,2.333300590515137],[-5.833999633789062,0]],"i":[[1.169005393981934,0],[0.7811636924743652,1.481373190879822]],"o":[[-1.169005155563354,0],[-0.7811641693115234,-1.481372833251953]]}],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":400,"s":[{"c":false,"v":[[-0.003000259399414062,2.333300590515137],[3.496999740600586,0]],"i":[[-1.720494270324707,0],[-0.6510887145996094,1.120759010314941]],"o":[[1.720494627952576,0],[0.6510882377624512,-1.120759010314941]]}],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2}},{"ty":"st","c":{"a":0,"k":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":2.33333,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":200,"s":[1.166999816894531,2.33335018157959],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":325,"s":[1.17,2.33335018157959],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"border","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"el","hd":false,"d":1,"s":{"a":0,"k":[22,22],"ix":2},"p":{"a":0,"k":[0,0],"ix":2}},{"ty":"st","c":{"a":0,"k":[0.203921568627451,0.207843137254902,0.2509803921568627],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":2,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[12,12],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":-180,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0}],"markers":[]}'),t5=JSON.parse('{"v":"5.7.5","fr":100,"ip":0,"op":400,"w":24,"h":24,"nm":"Comp 1","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[12,12],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":2,"ty":4,"nm":"Path\'s solid stroke","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":1,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":1,"k":[{"t":125,"s":[{"c":false,"v":[[3.5,0],[0,5.8332999999999995],[3.5,5.8332999999999995]],"i":[[0,0],[1.166666666666667,-1.9444333333333343],[-1.166666666666667,0]],"o":[[-1.166666666666666,1.9444333333333326],[1.166666666666666,0],[0,0]]}],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":200,"s":[{"c":false,"v":[[5.836999893188477,0],[9.336999893188477,5.83329963684082],[5.9886474609375,5.83329963684082]],"i":[[-1.1846504211425781,-1.8323678970336914],[0,0],[-1.166666666666667,0]],"o":[[1.1846508979797363,1.8323675394058228],[0,0],[0,0]]}],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":325,"s":[{"c":false,"v":[[5.836999893188477,0],[9.336999893188477,5.83329963684082],[5.9886474609375,5.83329963684082]],"i":[[-1.1846504211425781,-1.8323678970336914],[0,0],[-1.166666666666667,0]],"o":[[1.1846508979797363,1.8323675394058228],[0,0],[0,0]]}],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":400,"s":[{"c":false,"v":[[3.503000259399414,0],[0.0030002593994140625,5.83329963684082],[3.503000259399414,5.83329963684082]],"i":[[0.2074432373046875,-0.3626899719238281],[0,0],[-1.166666666666667,0]],"o":[[-0.2074427604675293,0.36268991231918335],[0,0],[0,0]]}],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2}},{"ty":"st","c":{"a":0,"k":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":2.33333,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":125,"s":[-4.666999816894531,-4.666650772094727],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":200,"s":[-4.67,-4.666650772094727],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":325,"s":[-4.67,-4.666650772094727],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Path\'s solid stroke","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":1,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":1,"k":[{"t":125,"s":[{"c":false,"v":[[0,2.3332999999999995],[3.5,0]],"i":[[0,0],[-0.7981999999999996,1.4169]],"o":[[1.4311000000000007,0],[0,0]]}],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":200,"s":[{"c":false,"v":[[-2.3339996337890625,2.3333005905151367],[-5.8339996337890625,0]],"i":[[1.1690053939819336,0],[0.7811636924743652,1.4813731908798218]],"o":[[-1.1690051555633545,0],[-0.7811641693115234,-1.4813728332519531]]}],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":325,"s":[{"c":false,"v":[[-2.3339996337890625,2.3333005905151367],[-5.8339996337890625,0]],"i":[[1.1690053939819336,0],[0.7811636924743652,1.4813731908798218]],"o":[[-1.1690051555633545,0],[-0.7811641693115234,-1.4813728332519531]]}],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":400,"s":[{"c":false,"v":[[-0.0030002593994140625,2.3333005905151367],[3.496999740600586,0]],"i":[[-1.720494270324707,0],[-0.6510887145996094,1.1207590103149414]],"o":[[1.7204946279525757,0],[0.6510882377624512,-1.1207590103149414]]}],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2}},{"ty":"st","c":{"a":0,"k":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":2.33333,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":200,"s":[1.1669998168945312,2.33335018157959],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":325,"s":[1.17,2.33335018157959],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"border","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"el","hd":false,"d":1,"s":{"a":0,"k":[22,22],"ix":2},"p":{"a":0,"k":[0,0],"ix":2}},{"ty":"st","c":{"a":0,"k":[1,1,1],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":2,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[12,12],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":-180,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0}],"markers":[]}'),t4=JSON.parse('{"v":"5.7.5","fr":100,"ip":0,"op":350,"w":24,"h":24,"nm":"Comp 1","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"border","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"el","hd":false,"d":1,"s":{"a":0,"k":[22,22],"ix":2},"p":{"a":0,"k":[0,0],"ix":2}},{"ty":"st","c":{"a":0,"k":[1,1,1],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":2,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[12,12],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":-180,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Path","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[8.6485975,0.1178352687211168],[8.880497499999999,1.074935268721117],[6.6505975,3.304865268721118],[6.6505975,6.016105268721118],[9.3617975,6.016105268721118],[11.5916975,3.786175268721117],[12.5487975,4.018115268721118],[11.1692975,8.727405268721117],[5.5576975,9.820205268721118],[3.272757499999999,12.10510526872112],[0.561517499999999,12.10510526872112],[0.561517499999999,9.393905268721117],[2.8464575,7.109005268721118],[3.9393075,1.497375268721117],[8.6485975,0.1178352687211168],[8.6485975,0.1178352687211168],[8.6485975,0.1178352687211168]],"i":[[0,0],[0.3205000000000009,-0.3204799999999999],[0.7432999999999996,-0.7433100000000001],[-0.7487000000000013,-0.7487000000000013],[-0.7487000000000013,0.7486999999999995],[-0.7433000000000014,0.743310000000001],[-0.09659999999999869,-0.4428200000000011],[1.278300000000002,-1.2783],[1.8610999999999986,0.7885999999999989],[0.7616466666666675,-0.7616333333333323],[0.7486899999999999,0.7486999999999995],[-0.7486899999999999,0.7487000000000013],[-0.7616466666666675,0.7616333333333323],[-1.5171100000000006,1.5171199999999994],[-1.6442,-0.3585899999999995],[0,0],[0,0]],"o":[[0.4428000000000001,0.09658000000000033],[-0.7432999999999996,0.7433100000000001],[-0.7487000000000013,0.7486899999999999],[0.7485999999999997,0.7486999999999995],[0.7432999999999996,-0.743310000000001],[0.3204999999999991,-0.3204799999999999],[0.3585999999999991,1.644189999999998],[-1.5170999999999992,1.5170999999999992],[-0.7616466666666675,0.761633333333334],[-0.7486899999999999,0.7486999999999995],[-0.7486899999999999,-0.7485999999999997],[0.7616466666666666,-0.7616333333333323],[-0.7885500000000008,-1.8611],[1.278289999999998,-1.27829],[0,0],[0,0],[0.4428000000000001,0.09658000000000033]]}}},{"ty":"fl","c":{"a":0,"k":[0.6980392156862745,0.3843137254901961,0.996078431372549],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":0,"s":[13.23,10.77154381752014],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":50,"s":[12,12],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":100,"s":[12,12],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":117,"s":[12,12],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":227,"s":[12,12],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":282,"s":[13.23,10.77],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"a":{"a":1,"k":[{"t":0,"s":[7.559483528137207,5.104858875274658],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":50,"s":[7.559483528137207,5.104858875274658],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"s":{"a":1,"k":[{"t":0,"s":[100,100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":50,"s":[121.15,121.15],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":60,"s":[121.15,121.15],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":100,"s":[121.15,121.15],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":117,"s":[121.15,121.15],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":227,"s":[121.15,121.15],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":282,"s":[100,100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"r":{"a":1,"k":[{"t":0,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":50,"s":[45],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":60,"s":[45],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":100,"s":[-45],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":117,"s":[-45],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":167,"s":[45],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":184,"s":[45],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":217,"s":[-45],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":227,"s":[-45],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":282,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":1,"k":[{"t":0,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":50,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Circle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[0,-10],[10,0],[0,10],[-10,0],[0,-10]],"i":[[-5.5228475,0],[0,-5.5228475],[5.5228475,0],[0,5.5228475],[-5.5228475,0]],"o":[[5.5228475,0],[0,5.5228475],[-5.5228475,0],[0,-5.5228475],[5.5228475,0]]}}},{"ty":"fl","c":{"a":0,"k":[1,1,1],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[12,12],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":90,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Circle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"el","hd":false,"d":1,"s":{"a":0,"k":[24,24],"ix":2},"p":{"a":0,"k":[0,0],"ix":2}},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[12,12],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":-180,"ix":2},"o":{"a":0,"k":25,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0}],"markers":[]}'),t3=JSON.parse('{"v":"5.7.5","fr":100,"ip":0,"op":200,"w":20,"h":20,"nm":"Comp 1","ddd":0,"assets":[{"id":"1","layers":[{"ddd":0,"ind":5,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10000,10000],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":6,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[14.25,14.25],"ix":2},"a":{"a":0,"k":[8.25,8.25],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":5},{"ddd":0,"ind":7,"ty":4,"nm":"Rectangle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":6,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"gr","hd":false,"it":[{"ty":"rc","hd":false,"d":1,"s":{"a":0,"k":[4.5,4.5],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":1,"ix":2}},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[2.25,2.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]},{"ty":"st","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":3,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":200,"st":0,"bm":0}]},{"id":"3","layers":[{"ddd":0,"refId":"2","w":20000,"h":20000,"ind":1,"ty":0,"nm":"Masked Rectangle - mask content","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10000,10000],"ix":2},"a":{"a":0,"k":[10000,10000],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":0,"tt":1,"td":1},{"ddd":0,"refId":"1","w":20000,"h":20000,"ind":1,"ty":0,"nm":"Masked Rectangle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10000,10000],"ix":2},"a":{"a":0,"k":[10000,10000],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":0,"tt":1}]},{"id":"2","layers":[{"ddd":0,"ind":8,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10008.250000047683,10008.250000047683],"ix":2},"a":{"a":0,"k":[2.7,2.7],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":9,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[2.7,2.6999999999999993],"ix":2},"a":{"a":0,"k":[2.25,2.25],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":8},{"ddd":0,"ind":10,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[2.25,2.25],"ix":2},"a":{"a":0,"k":[2.25,2.25],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":9},{"ddd":0,"ind":11,"ty":4,"nm":"Rectangle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":10,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"gr","hd":false,"it":[{"ty":"rc","hd":false,"d":1,"s":{"a":0,"k":[4.5,4.5],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":1,"ix":2}},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[2.25,2.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]},{"ty":"fl","c":{"a":0,"k":[1,1,1],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":200,"st":0,"bm":0}]},{"id":"4","layers":[{"ddd":0,"ind":15,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10000,10000],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":16,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[14.25,14.25],"ix":2},"a":{"a":0,"k":[8.25,8.25],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":15},{"ddd":0,"ind":17,"ty":4,"nm":"Rectangle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":16,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"gr","hd":false,"it":[{"ty":"rc","hd":false,"d":1,"s":{"a":0,"k":[4.5,4.5],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":1,"ix":2}},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[2.25,2.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]},{"ty":"st","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":3,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":200,"st":0,"bm":0}]},{"id":"6","layers":[{"ddd":0,"refId":"5","w":20000,"h":20000,"ind":1,"ty":0,"nm":"Masked Rectangle - mask content","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10000,10000],"ix":2},"a":{"a":0,"k":[10000,10000],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":0,"tt":1,"td":1},{"ddd":0,"refId":"4","w":20000,"h":20000,"ind":1,"ty":0,"nm":"Masked Rectangle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10000,10000],"ix":2},"a":{"a":0,"k":[10000,10000],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":0,"tt":1}]},{"id":"5","layers":[{"ddd":0,"ind":18,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10008.250000047683,10008.250000047683],"ix":2},"a":{"a":0,"k":[2.7,2.7],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":19,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[2.6999999999999993,2.6999999999999993],"ix":2},"a":{"a":0,"k":[2.25,2.25],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":18},{"ddd":0,"ind":20,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[2.25,2.25],"ix":2},"a":{"a":0,"k":[2.25,2.25],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":19},{"ddd":0,"ind":21,"ty":4,"nm":"Rectangle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":20,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"gr","hd":false,"it":[{"ty":"rc","hd":false,"d":1,"s":{"a":0,"k":[4.5,4.5],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":1,"ix":2}},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[2.25,2.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]},{"ty":"fl","c":{"a":0,"k":[1,1,1],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":200,"st":0,"bm":0}]}],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Rectangle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"rc","hd":false,"d":1,"s":{"a":0,"k":[4,1.5],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":1,"k":[{"t":5,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":15,"s":[0.75],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":65,"s":[0.75],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":80,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2}},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3843137254901961,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[10,10.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":1,"k":[{"t":0,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":100,"s":[-360],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":200,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":1,"k":[{"t":0,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":100,"s":[180],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"p":{"a":0,"k":[10,10.25],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":3,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[-4.25,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":2},{"ddd":0,"ind":4,"ty":4,"nm":"Path","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":3,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[0,0.75],[0.75,0],[3,0],[3,1.5],[0.75,1.5],[0,0.75],[0,0.75],[0,0.75],[0,0.75]],"i":[[0,0],[-0.4142099999999997,0],[-0.75,0],[0,-0.5],[0.75,0],[0,0.4141999999999992],[0,0],[0,0],[0,0]],"o":[[0,-0.4141999999999992],[0.75,0],[0,0.5],[-0.75,0],[-0.4142099999999997,0],[0,0],[0,0],[0,0],[0,-0.4141999999999992]]}}},{"ty":"fl","c":{"a":0,"k":[0.9686274509803922,0.9686274509803922,0.9725490196078431],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[-0.75,-0.75],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":200,"st":0,"bm":0},{"ddd":0,"refId":"3","w":20000,"h":20000,"ind":12,"ty":0,"nm":"Masked Rectangle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[-8.25,-8.25],"ix":2},"a":{"a":0,"k":[10000,10000],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":3},{"ddd":0,"ind":13,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[4.25,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":2},{"ddd":0,"ind":14,"ty":4,"nm":"Path","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":13,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[0,0],[2.25,0],[3,0.75],[3,0.75],[2.25,1.5],[0,1.5],[0,0],[0,0],[0,0]],"i":[[0,0],[-0.75,0],[0,-0.4141999999999992],[0,0],[0.414200000000001,0],[0.75,0],[0,0.5],[0,0],[0,0]],"o":[[0.75,0],[0.414200000000001,0],[0,0],[0,0.4141999999999992],[-0.75,0],[0,-0.5],[0,0],[0,0],[0.75,0]]}}},{"ty":"fl","c":{"a":0,"k":[0.9686274509803922,0.9686274509803922,0.9725490196078431],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[-2.25,-0.75],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":200,"st":0,"bm":0},{"ddd":0,"refId":"6","w":20000,"h":20000,"ind":22,"ty":0,"nm":"Masked Rectangle","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[-8.25,-8.25],"ix":2},"a":{"a":0,"k":[10000,10000],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":200,"st":0,"bm":0,"hd":false,"parent":13}],"markers":[]}'),t6=JSON.parse('{"v":"5.7.5","fr":100,"ip":0,"op":350,"w":20,"h":20,"nm":"Comp 1","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"bottom","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"rc","hd":false,"d":1,"s":{"a":0,"k":[3,1.5],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0.75,"ix":2}},{"ty":"fl","c":{"a":0,"k":[0.6980392156862745,0.3843137254901961,0.996078431372549],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[7.847347463338371,11.1995756149292],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":1,"k":[{"t":180,"s":[0],"i":{"x":[0.8],"y":[1]},"o":{"x":[0.4],"y":[0]}},{"t":200,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":260,"s":[100],"i":{"x":[0.8],"y":[1]},"o":{"x":[0.4],"y":[0]}},{"t":280,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"top","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"rc","hd":false,"d":1,"s":{"a":0,"k":[4,1.5],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":0.75,"ix":2}},{"ty":"fl","c":{"a":0,"k":[0.6980392156862745,0.3843137254901961,0.996078431372549],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[8.347347344129082,8.7995756149292],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":1,"k":[{"t":165,"s":[0],"i":{"x":[0.8],"y":[1]},"o":{"x":[0.4],"y":[0]}},{"t":185,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":260,"s":[100],"i":{"x":[0.8],"y":[1]},"o":{"x":[0.4],"y":[0]}},{"t":280,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":1,"k":[{"t":80,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":120,"s":[-45],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":130,"s":[-45],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":160,"s":[-45],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":270,"s":[-45],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":320,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"p":{"a":0,"k":[10,10],"ix":2},"a":{"a":0,"k":[10,10],"ix":2},"s":{"a":1,"k":[{"t":80,"s":[100,100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":120,"s":[100,100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":160,"s":[120,120],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":270,"s":[120,120],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":320,"s":[100,100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2}},"ao":0,"ip":0,"op":350,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":4,"ty":4,"nm":"Path\'s solid stroke","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":3,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[0,0],[2.5581,2.5581]],"i":[[0,0],[-0.8527000000000005,-0.8527000000000005]],"o":[[0.8527000000000005,0.8527000000000005],[0,0]]}}},{"ty":"st","c":{"a":0,"k":[0.6980392156862745,0.3843137254901961,0.996078431372549],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":1.5,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[11.8169002532959,11.81639957427979],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Path\'s solid fill","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":3,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[0,0],[2.5581,2.5581]],"i":[[0,0],[-0.8527000000000005,-0.8527000000000005]],"o":[[0.8527000000000005,0.8527000000000005],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0.6980392156862745,0.3843137254901961,0.996078431372549],"ix":2},"o":{"a":0,"k":0,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[11.8169002532959,11.81639957427979],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Rectangle\'s solid stroke","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":3,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"rc","hd":false,"d":1,"s":{"a":0,"k":[7.80233,7.80233],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":3.901165,"ix":2}},{"ty":"st","c":{"a":0,"k":[0.6980392156862745,0.3843137254901961,0.996078431372549],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":1.5,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[9.026165008544922,9.026165008544922],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":1,"k":[{"t":130,"s":[100,100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":171,"s":[-100,100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}}],"ix":2},"r":{"a":0,"k":-45,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"Rectangle\'s solid fill","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":3,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"rc","hd":false,"d":1,"s":{"a":0,"k":[7.80233,7.80233],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"r":{"a":0,"k":3.90116,"ix":2}},{"ty":"fl","c":{"a":0,"k":[0.6980392156862745,0.3843137254901961,0.996078431372549],"ix":2},"o":{"a":0,"k":0,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[9.026165008544922,9.026165008544922],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":45,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Circle\'s solid stroke","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":3,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"el","hd":false,"d":1,"s":{"a":0,"k":[20,20],"ix":2},"p":{"a":0,"k":[0,0],"ix":2}},{"ty":"st","c":{"a":0,"k":[0.9607843137254902,0.9607843137254902,0.9607843137254902],"ix":2},"o":{"a":0,"k":100,"ix":2},"w":{"a":0,"k":1,"ix":2},"hd":false,"lc":2,"lj":2},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[10,10],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":90,"ix":2},"o":{"a":0,"k":0,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"Circle\'s solid fill","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":3,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"el","hd":false,"d":1,"s":{"a":0,"k":[20,20],"ix":2},"p":{"a":0,"k":[0,0],"ix":2}},{"ty":"fl","c":{"a":0,"k":[0.6980392156862745,0.3843137254901961,0.996078431372549],"ix":2},"o":{"a":0,"k":0,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[10,10],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":90,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":350,"st":0,"bm":0}],"markers":[]}'),t7=JSON.parse('{"v":"5.7.5","fr":100,"ip":0,"op":400,"w":20,"h":20,"nm":"Comp 1","ddd":0,"assets":[{"id":"2","layers":[{"ddd":0,"ind":1,"ty":4,"nm":"outer","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10000,10000],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"parent":0,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":1,"k":[{"t":77,"s":[{"c":false,"v":[[4,0.8788999999999998],[4,0.75],[3.25,0],[2.5,0.75],[2.5,0.8499999999999996],[2.482100000000001,1.7741000000000007],[2.4183,2.0905],[2.0905,2.4183],[1.7741000000000007,2.482100000000001],[0.8499999999999996,2.5],[0.75,2.5],[0,3.25],[0.75,4],[0.8788999999999998,4],[1.8963,3.9771],[2.7715,3.7547999999999995],[3.7547999999999995,2.7715],[3.9771,1.8963],[4,0.8788999999999998],[4,0.8788999999999998],[4,0.8788999999999998]],"i":[[0,0],[0,0.0429666666666666],[0.4141999999999992,0],[0,-0.4141999999999992],[0,-0.03333333333333321],[0.01729999999999876,-0.2125000000000004],[0.01879999999999882,-0.03710000000000058],[0.1410999999999998,-0.07200000000000095],[0.2037999999999993,-0.01670000000000016],[0.4324000000000012,0],[0.03333333333333321,0],[0,-0.4141999999999992],[-0.4141999999999992,0],[-0.0429666666666666,0],[-0.2810000000000006,0.02289999999999992],[-0.2837999999999994,0.1446000000000005],[-0.2157999999999998,0.4233000000000011],[-0.02430000000000021,0.2965],[0,0.3954000000000004],[0,0],[0,0]],"o":[[0,-0.0429666666666666],[0,-0.4141999999999992],[-0.4141999999999992,0],[0,0.03333333333333321],[0,0.4324000000000012],[-0.01670000000000016,0.2037999999999993],[-0.07200000000000095,0.1410999999999998],[-0.03710000000000058,0.01879999999999882],[-0.2125000000000004,0.01729999999999876],[-0.03333333333333321,0],[-0.4141999999999992,0],[0,0.4141999999999992],[0.0429666666666666,0],[0.3954000000000004,0],[0.2965,-0.02430000000000021],[0.4233000000000011,-0.2157999999999998],[0.1446000000000005,-0.2837999999999994],[0.02289999999999992,-0.2810000000000006],[0,0],[0,0],[0,-0.0429666666666666]]}],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[{"c":false,"v":[[4,0.8788999999999998],[4,0.75],[3.25,0],[2.5,0.75],[2.5,0.8499999999999996],[2.482100000000001,1.7741000000000007],[2.4183,2.0905],[2.0905,2.4183],[1.7741000000000007,2.482100000000001],[0.8499999999999996,2.5],[0.75,2.5],[0,3.25],[0.75,4],[0.8788999999999998,4],[1.8963,3.9771],[2.7715,3.7547999999999995],[3.7547999999999995,2.7715],[3.9771,1.8963],[4,0.8788999999999998],[4,0.8788999999999998],[4,0.8788999999999998]],"i":[[0,0],[0,0.0429666666666666],[0.4141999999999992,0],[0,-0.4141999999999992],[0,-0.03333333333333321],[0.01729999999999876,-0.2125000000000004],[0.01879999999999882,-0.03710000000000058],[0.1410999999999998,-0.07200000000000095],[0.2037999999999993,-0.01670000000000016],[0.4324000000000012,0],[0.03333333333333321,0],[0,-0.4141999999999992],[-0.4141999999999992,0],[-0.0429666666666666,0],[-0.2810000000000006,0.02289999999999992],[-0.2837999999999994,0.1446000000000005],[-0.2157999999999998,0.4233000000000011],[-0.02430000000000021,0.2965],[0,0.3954000000000004],[0,0],[0,0]],"o":[[0,-0.0429666666666666],[0,-0.4141999999999992],[-0.4141999999999992,0],[0,0.03333333333333321],[0,0.4324000000000012],[-0.01670000000000016,0.2037999999999993],[-0.07200000000000095,0.1410999999999998],[-0.03710000000000058,0.01879999999999882],[-0.2125000000000004,0.01729999999999876],[-0.03333333333333321,0],[-0.4141999999999992,0],[0,0.4141999999999992],[0.0429666666666666,0],[0.3954000000000004,0],[0.2965,-0.02430000000000021],[0.4233000000000011,-0.2157999999999998],[0.1446000000000005,-0.2837999999999994],[0.02289999999999992,-0.2810000000000006],[0,0],[0,0],[0,-0.0429666666666666]]}],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2}},{"ty":"fl","c":{"a":1,"k":[{"t":77,"s":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":true},{"ty":"tm","s":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"e":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":77,"s":[2.25,1.25],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[2.25,1.25],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"a":{"a":1,"k":[{"t":77,"s":[0,0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0,0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"s":{"a":1,"k":[{"t":77,"s":[100,100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100,100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"r":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"sk":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"sa":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2}}]},{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":1,"k":[{"t":77,"s":[{"c":false,"v":[[3.121130417391935,4],[3.250000417391935,4],[4.000000417391935,3.25],[3.250000417391935,2.5],[3.150030417391935,2.5],[2.225880417391935,2.482100000000001],[1.909510417391935,2.4183],[1.581750417391936,2.0905],[1.517950417391935,1.7741000000000007],[1.500000417391935,0.8499999999999996],[1.500000417391935,0.75],[0.7500004173919352,0],[4.173919352368216e-7,0.75],[4.173919352368216e-7,0.8788999999999998],[0.02293041739193535,1.8963],[0.2452404173919351,2.7715],[1.228520417391935,3.7547999999999995],[2.103740417391935,3.9771],[3.121130417391935,4],[3.121130417391935,4],[3.121130417391935,4]],"i":[[0,0],[-0.04295666666666698,0],[0,0.4141999999999992],[0.4142099999999997,0],[0.03332333333333359,0],[0.21251,0.01729999999999876],[0.03707999999999956,0.01879999999999882],[0.07189999999999941,0.1410999999999998],[0.01663999999999977,0.2037999999999993],[0,0.4324000000000012],[0,0.03333333333333321],[0.4142099999999997,0],[0,-0.4141999999999992],[0,-0.0429666666666666],[-0.02295000000000025,-0.2810000000000006],[-0.14460000000000006,-0.2837999999999994],[-0.4233599999999997,-0.2157999999999998],[-0.2965100000000005,-0.02430000000000021],[-0.3953800000000003,0],[0,0],[0,0]],"o":[[0.04295666666666698,0],[0.4142099999999997,0],[0,-0.4141999999999992],[-0.03332333333333359,0],[-0.4324200000000005,0],[-0.2037500000000003,-0.01670000000000016],[-0.1411199999999999,-0.07200000000000095],[-0.01890000000000036,-0.03710000000000058],[-0.01736999999999966,-0.2125000000000004],[0,-0.03333333333333321],[0,-0.4141999999999992],[-0.4142099999999997,0],[0,0.0429666666666666],[-0.00001000000000006551,0.3954000000000004],[0.02421999999999969,0.2965],[0.2157100000000005,0.4233000000000011],[0.2837900000000007,0.1446000000000005],[0.2809299999999997,0.02289999999999992],[0,0],[0,0],[0.04295666666666698,0]]}],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[{"c":false,"v":[[3.121130417391935,4],[3.250000417391935,4],[4.000000417391935,3.25],[3.250000417391935,2.5],[3.150030417391935,2.5],[2.225880417391935,2.482100000000001],[1.909510417391935,2.4183],[1.581750417391936,2.0905],[1.517950417391935,1.7741000000000007],[1.500000417391935,0.8499999999999996],[1.500000417391935,0.75],[0.7500004173919352,0],[4.173919352368216e-7,0.75],[4.173919352368216e-7,0.8788999999999998],[0.02293041739193535,1.8963],[0.2452404173919351,2.7715],[1.228520417391935,3.7547999999999995],[2.103740417391935,3.9771],[3.121130417391935,4],[3.121130417391935,4],[3.121130417391935,4]],"i":[[0,0],[-0.04295666666666698,0],[0,0.4141999999999992],[0.4142099999999997,0],[0.03332333333333359,0],[0.21251,0.01729999999999876],[0.03707999999999956,0.01879999999999882],[0.07189999999999941,0.1410999999999998],[0.01663999999999977,0.2037999999999993],[0,0.4324000000000012],[0,0.03333333333333321],[0.4142099999999997,0],[0,-0.4141999999999992],[0,-0.0429666666666666],[-0.02295000000000025,-0.2810000000000006],[-0.14460000000000006,-0.2837999999999994],[-0.4233599999999997,-0.2157999999999998],[-0.2965100000000005,-0.02430000000000021],[-0.3953800000000003,0],[0,0],[0,0]],"o":[[0.04295666666666698,0],[0.4142099999999997,0],[0,-0.4141999999999992],[-0.03332333333333359,0],[-0.4324200000000005,0],[-0.2037500000000003,-0.01670000000000016],[-0.1411199999999999,-0.07200000000000095],[-0.01890000000000036,-0.03710000000000058],[-0.01736999999999966,-0.2125000000000004],[0,-0.03333333333333321],[0,-0.4141999999999992],[-0.4142099999999997,0],[0,0.0429666666666666],[-0.00001000000000006551,0.3954000000000004],[0.02421999999999969,0.2965],[0.2157100000000005,0.4233000000000011],[0.2837900000000007,0.1446000000000005],[0.2809299999999997,0.02289999999999992],[0,0],[0,0],[0.04295666666666698,0]]}],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2}},{"ty":"fl","c":{"a":1,"k":[{"t":77,"s":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":true},{"ty":"tm","s":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"e":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":77,"s":[-6.250000476837158,1.25],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[-6.250000476837158,1.25],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"a":{"a":1,"k":[{"t":77,"s":[0,0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0,0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"s":{"a":1,"k":[{"t":77,"s":[100,100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100,100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"r":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"sk":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"sa":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2}}]},{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":1,"k":[{"t":77,"s":[{"c":false,"v":[[4,3.121090417391934],[4,3.250000417391934],[3.25,4.000000417391934],[2.5,3.250000417391934],[2.5,3.150000417391935],[2.482100000000001,2.225880417391934],[2.4183,1.909510417391934],[2.0905,1.581750417391935],[1.7741000000000007,1.517950417391934],[0.8499999999999996,1.500000417391934],[0.75,1.500000417391934],[0,0.7500004173919343],[0.75,4.173919343486432e-7],[0.8788999999999998,4.173919343486432e-7],[1.8963,0.02293041739193402],[2.7715,0.2452404173919343],[3.7547999999999995,1.228520417391934],[3.9771,2.103730417391934],[4,3.121090417391934],[4,3.121090417391934],[4,3.121090417391934]],"i":[[0,0],[0,-0.0429700000000004],[0.4141999999999992,0],[0,0.4142100000000006],[0,0.03333333333333321],[0.01729999999999876,0.2125000000000004],[0.01879999999999882,0.03707999999999956],[0.1410999999999998,0.07189999999999941],[0.2037999999999993,0.01663999999999977],[0.4324000000000012,0],[0.03333333333333321,0],[0,0.4142099999999997],[-0.4141999999999992,0],[-0.0429666666666666,0],[-0.2810000000000006,-0.0229499999999998],[-0.2837999999999994,-0.1445999999999996],[-0.2157999999999998,-0.4233599999999997],[-0.02430000000000021,-0.2965099999999996],[0,-0.3953599999999993],[0,0],[0,0]],"o":[[0,0.0429700000000004],[0,0.4142100000000006],[-0.4141999999999992,0],[0,-0.03333333333333321],[0,-0.43241],[-0.01670000000000016,-0.2037500000000003],[-0.07200000000000095,-0.1411199999999999],[-0.03710000000000058,-0.01890000000000036],[-0.2125000000000004,-0.01736999999999966],[-0.03333333333333321,0],[-0.4141999999999992,0],[0,-0.4142099999999997],[0.0429666666666666,0],[0.3954000000000004,-0.000009999999999621423],[0.2965,0.02422000000000057],[0.4233000000000011,0.2157100000000005],[0.1446000000000005,0.2837900000000007],[0.02289999999999992,0.2809300000000006],[0,0],[0,0],[0,0.0429700000000004]]}],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[{"c":false,"v":[[4,3.121090417391934],[4,3.250000417391934],[3.25,4.000000417391934],[2.5,3.250000417391934],[2.5,3.150000417391935],[2.482100000000001,2.225880417391934],[2.4183,1.909510417391934],[2.0905,1.581750417391935],[1.7741000000000007,1.517950417391934],[0.8499999999999996,1.500000417391934],[0.75,1.500000417391934],[0,0.7500004173919343],[0.75,4.173919343486432e-7],[0.8788999999999998,4.173919343486432e-7],[1.8963,0.02293041739193402],[2.7715,0.2452404173919343],[3.7547999999999995,1.228520417391934],[3.9771,2.103730417391934],[4,3.121090417391934],[4,3.121090417391934],[4,3.121090417391934]],"i":[[0,0],[0,-0.0429700000000004],[0.4141999999999992,0],[0,0.4142100000000006],[0,0.03333333333333321],[0.01729999999999876,0.2125000000000004],[0.01879999999999882,0.03707999999999956],[0.1410999999999998,0.07189999999999941],[0.2037999999999993,0.01663999999999977],[0.4324000000000012,0],[0.03333333333333321,0],[0,0.4142099999999997],[-0.4141999999999992,0],[-0.0429666666666666,0],[-0.2810000000000006,-0.0229499999999998],[-0.2837999999999994,-0.1445999999999996],[-0.2157999999999998,-0.4233599999999997],[-0.02430000000000021,-0.2965099999999996],[0,-0.3953599999999993],[0,0],[0,0]],"o":[[0,0.0429700000000004],[0,0.4142100000000006],[-0.4141999999999992,0],[0,-0.03333333333333321],[0,-0.43241],[-0.01670000000000016,-0.2037500000000003],[-0.07200000000000095,-0.1411199999999999],[-0.03710000000000058,-0.01890000000000036],[-0.2125000000000004,-0.01736999999999966],[-0.03333333333333321,0],[-0.4141999999999992,0],[0,-0.4142099999999997],[0.0429666666666666,0],[0.3954000000000004,-0.000009999999999621423],[0.2965,0.02422000000000057],[0.4233000000000011,0.2157100000000005],[0.1446000000000005,0.2837900000000007],[0.02289999999999992,0.2809300000000006],[0,0],[0,0],[0,0.0429700000000004]]}],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2}},{"ty":"fl","c":{"a":1,"k":[{"t":77,"s":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":true},{"ty":"tm","s":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"e":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":77,"s":[2.25,-5.250000476837158],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[2.25,-5.250000476837158],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"a":{"a":1,"k":[{"t":77,"s":[0,0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0,0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"s":{"a":1,"k":[{"t":77,"s":[100,100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100,100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"r":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"sk":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"sa":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2}}]},{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":1,"k":[{"t":77,"s":[{"c":false,"v":[[3.121090417391935,4.17391936125e-7],[3.250000417391935,4.17391936125e-7],[4.000000417391935,0.7500004173919361],[3.250000417391935,1.500000417391936],[3.150000417391936,1.500000417391936],[2.225880417391935,1.517950417391936],[1.909510417391935,1.581750417391937],[1.581750417391936,1.909510417391936],[1.517950417391935,2.225880417391936],[1.500000417391935,3.150000417391936],[1.500000417391935,3.250000417391936],[0.7500004173919352,4.000000417391936],[4.173919352368216e-7,3.250000417391936],[4.173919352368216e-7,3.121090417391936],[0.02293041739193535,2.103730417391936],[0.2452404173919351,1.228520417391936],[1.228520417391935,0.245240417391936],[2.103730417391935,0.0229304173919358],[3.121090417391935,4.17391936125e-7],[3.121090417391935,4.17391936125e-7],[3.121090417391935,4.17391936125e-7]],"i":[[0,0],[-0.0429700000000004,0],[0,-0.4142099999999997],[0.4142099999999997,0],[0.03333333333333321,0],[0.2125000000000004,-0.01736999999999966],[0.03707999999999956,-0.01890000000000036],[0.07189999999999941,-0.1411199999999999],[0.01663999999999977,-0.2037500000000003],[0,-0.43241],[0,-0.03333333333333321],[0.4142099999999997,0],[0,0.4142100000000006],[0,0.0429700000000004],[-0.02295000000000025,0.2809300000000006],[-0.14460000000000006,0.2837900000000007],[-0.4233599999999997,0.2157100000000005],[-0.2965099999999996,0.02422000000000057],[-0.3953599999999993,-0.000009999999999621423],[0,0],[0,0]],"o":[[0.0429700000000004,0],[0.4142099999999997,0],[0,0.4142099999999997],[-0.03333333333333321,0],[-0.43241,0],[-0.2037500000000003,0.01663999999999977],[-0.1411199999999999,0.07189999999999941],[-0.01890000000000036,0.03707999999999956],[-0.01736999999999966,0.2125000000000004],[0,0.03333333333333321],[0,0.4142100000000006],[-0.4142099999999997,0],[0,-0.0429700000000004],[-0.00001000000000006551,-0.3953599999999993],[0.02421999999999969,-0.2965099999999996],[0.2157100000000005,-0.4233599999999997],[0.2837900000000007,-0.1445999999999996],[0.2809300000000006,-0.0229499999999998],[0,0],[0,0],[0.0429700000000004,0]]}],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[{"c":false,"v":[[3.121090417391935,4.17391936125e-7],[3.250000417391935,4.17391936125e-7],[4.000000417391935,0.7500004173919361],[3.250000417391935,1.500000417391936],[3.150000417391936,1.500000417391936],[2.225880417391935,1.517950417391936],[1.909510417391935,1.581750417391937],[1.581750417391936,1.909510417391936],[1.517950417391935,2.225880417391936],[1.500000417391935,3.150000417391936],[1.500000417391935,3.250000417391936],[0.7500004173919352,4.000000417391936],[4.173919352368216e-7,3.250000417391936],[4.173919352368216e-7,3.121090417391936],[0.02293041739193535,2.103730417391936],[0.2452404173919351,1.228520417391936],[1.228520417391935,0.245240417391936],[2.103730417391935,0.0229304173919358],[3.121090417391935,4.17391936125e-7],[3.121090417391935,4.17391936125e-7],[3.121090417391935,4.17391936125e-7]],"i":[[0,0],[-0.0429700000000004,0],[0,-0.4142099999999997],[0.4142099999999997,0],[0.03333333333333321,0],[0.2125000000000004,-0.01736999999999966],[0.03707999999999956,-0.01890000000000036],[0.07189999999999941,-0.1411199999999999],[0.01663999999999977,-0.2037500000000003],[0,-0.43241],[0,-0.03333333333333321],[0.4142099999999997,0],[0,0.4142100000000006],[0,0.0429700000000004],[-0.02295000000000025,0.2809300000000006],[-0.14460000000000006,0.2837900000000007],[-0.4233599999999997,0.2157100000000005],[-0.2965099999999996,0.02422000000000057],[-0.3953599999999993,-0.000009999999999621423],[0,0],[0,0]],"o":[[0.0429700000000004,0],[0.4142099999999997,0],[0,0.4142099999999997],[-0.03333333333333321,0],[-0.43241,0],[-0.2037500000000003,0.01663999999999977],[-0.1411199999999999,0.07189999999999941],[-0.01890000000000036,0.03707999999999956],[-0.01736999999999966,0.2125000000000004],[0,0.03333333333333321],[0,0.4142100000000006],[-0.4142099999999997,0],[0,-0.0429700000000004],[-0.00001000000000006551,-0.3953599999999993],[0.02421999999999969,-0.2965099999999996],[0.2157100000000005,-0.4233599999999997],[0.2837900000000007,-0.1445999999999996],[0.2809300000000006,-0.0229499999999998],[0,0],[0,0],[0.0429700000000004,0]]}],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2}},{"ty":"fl","c":{"a":1,"k":[{"t":77,"s":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":true},{"ty":"tm","s":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"e":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":77,"s":[-6.250000476837158,-5.250000476837158],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[-6.250000476837158,-5.250000476837158],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"a":{"a":1,"k":[{"t":77,"s":[0,0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0,0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"s":{"a":1,"k":[{"t":77,"s":[100,100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100,100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"r":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"o":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"sk":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"sa":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2}}]},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","hd":false,"p":{"a":1,"k":[{"t":77,"s":[9.999999761581421,9.999999761581421],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[9.999999761581421,9.999999761581421],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":1,"k":[{"t":77,"s":[100,100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[60,60],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":137,"s":[107,107],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":167,"s":[100,100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":277,"s":[100,100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":307,"s":[60,60],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":337,"s":[107,107],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":367,"s":[99.99999999999999,99.99999999999999],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":167,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":277,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":307,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":367,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"refId":"1","w":20000,"h":20000,"ind":4,"ty":0,"nm":"middle","sr":1,"ks":{"o":{"a":1,"k":[{"t":277,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":307,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10010,10010],"ix":2},"a":{"a":0,"k":[10000,10000],"ix":2},"s":{"a":1,"k":[{"t":77,"s":[100,100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[50,50],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":148,"s":[100,100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":200,"s":[100,100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":277,"s":[100,100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":307,"s":[50,50],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":348,"s":[100,100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false}]},{"id":"1","layers":[{"ddd":0,"ind":2,"ty":4,"nm":"bottom","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10000,10000],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[0,0.75],[0.75,0],[4.25,0],[5,0.75],[4.25,1.5],[0.75,1.5],[0,0.75],[0,0.75],[0,0.75]],"i":[[0,0],[-0.4142099999999997,0],[-1.166666666666668,0],[0,-0.4141999999999992],[0.4141999999999992,0],[1.166666666666668,0],[0,0.4141999999999992],[0,0],[0,0]],"o":[[0,-0.4141999999999992],[1.166666666666666,0],[0.4141999999999992,0],[0,0.4141999999999992],[-1.166666666666666,0],[-0.4142099999999997,0],[0,0],[0,0],[0,-0.4141999999999992]]}}},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[-3.25,0.625],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":175,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":200,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":277,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":307,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":375,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":400,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"top","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[10000,10000],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"hd":false,"shapes":[{"ty":"gr","hd":false,"it":[{"ty":"sh","hd":false,"d":1,"ks":{"a":0,"k":{"c":false,"v":[[0,0.7500000000000009],[0.75,8.881784197001252e-16],[5.75,8.881784197001252e-16],[6.5,0.7500000000000009],[5.75,1.5000000000000009],[0.75,1.5000000000000009],[0,0.7500000000000009],[0,0.7500000000000009],[0,0.7500000000000009]],"i":[[0,0],[-0.4142099999999997,0],[-1.666666666666668,0],[0,-0.4142100000000006],[0.4141999999999992,0],[1.666666666666668,0],[0,0.4142100000000006],[0,0],[0,0]],"o":[[0,-0.4142100000000006],[1.666666666666666,0],[0.4141999999999992,0],[0,0.4142100000000006],[-1.666666666666666,0],[-0.4142099999999997,0],[0,0],[0,0],[0,-0.4142100000000006]]}}},{"ty":"fl","c":{"a":0,"k":[0.6941176470588235,0.3803921568627451,0.9921568627450981],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tm","s":{"a":0,"k":0,"ix":2},"e":{"a":0,"k":100,"ix":2},"o":{"a":0,"k":0,"ix":2},"m":1,"hd":false},{"ty":"tr","hd":false,"p":{"a":0,"k":[-3.25,-2.125],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2},"r":{"a":0,"k":0,"ix":2},"o":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}},{"t":163,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":188,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":277,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":307,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":363,"s":[0],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}},{"t":388,"s":[100],"i":{"x":[1],"y":[1]},"o":{"x":[0],"y":[0]}}],"ix":2},"sk":{"a":0,"k":0,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":400,"st":0,"bm":0}]}],"layers":[{"ddd":0,"ind":5,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":1,"k":[{"t":77,"s":[0],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[0],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"p":{"a":1,"k":[{"t":77,"s":[10,10],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[10,10],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false},{"ddd":0,"ind":7,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":1,"k":[{"t":77,"s":[45],"i":{"x":[0],"y":[0]},"o":{"x":[0],"y":[0]}},{"t":107,"s":[45],"i":{"x":[0],"y":[0]},"o":{"x":[0],"y":[0]}}],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":0,"k":[100,100],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false,"parent":5},{"ddd":0,"ind":6,"ty":3,"nm":"","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2},"r":{"a":0,"k":0,"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":2},"s":{"a":1,"k":[{"t":77,"s":[100,100],"i":{"x":[0],"y":[0]},"o":{"x":[0],"y":[0]}},{"t":107,"s":[100,100],"i":{"x":[0],"y":[0]},"o":{"x":[0],"y":[0]}}],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false,"parent":7},{"ddd":0,"refId":"2","w":20000,"h":20000,"ind":8,"ty":0,"nm":"SVG Import 1","sr":1,"ks":{"o":{"a":1,"k":[{"t":77,"s":[100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"r":{"a":1,"k":[{"t":77,"s":[-45],"i":{"x":[0],"y":[0]},"o":{"x":[0],"y":[0]}},{"t":107,"s":[-45],"i":{"x":[0],"y":[0]},"o":{"x":[0],"y":[0]}}],"ix":2},"p":{"a":0,"k":[0,0],"ix":2},"a":{"a":1,"k":[{"t":77,"s":[10010,10010],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[10010,10010],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2},"s":{"a":1,"k":[{"t":77,"s":[100,100],"i":{"x":[0.5],"y":[1.5]},"o":{"x":[0.8],"y":[0]}},{"t":107,"s":[100,100],"i":{"x":[0.2],"y":[1]},"o":{"x":[0.5],"y":[-0.5]}}],"ix":2}},"ao":0,"ip":0,"op":400,"st":0,"bm":0,"hd":false,"parent":6}],"markers":[]}'),t8=en(68233),nt=en.n(t8),nn=en(77997);function ni(Y){var et=Y.animationData,en=Y.animationSegmentToPlay,ei=Y.animationLoopCounter,eo=(0,eC.useRef)(null);return(0,eC.useEffect)(function(){var Y;null===(Y=eo.current)||void 0===Y||Y.playSegments(en,!0)},[ei]),(0,e_.jsx)(nt(),{animationData:et,lottieRef:eo,loop:!1,autoplay:!1})}function na(Y){var et=Y.animationLoopCounter,en="dark"===(0,nn.F)().resolvedTheme;return(0,e_.jsx)(ni,{animationData:en?t$:tY,animationSegmentToPlay:[180,380],animationLoopCounter:et})}function nu(Y){var et=Y.animationLoopCounter;return(0,e_.jsx)(ni,{animationData:t7,animationSegmentToPlay:[132,332],animationLoopCounter:et})}function nd(Y){var et=Y.animationLoopCounter;return(0,e_.jsx)(ni,{animationData:tQ,animationSegmentToPlay:[160,360],animationLoopCounter:et})}function nf(Y){var et=Y.animationLoopCounter;return(0,e_.jsx)(ni,{animationData:t6,animationSegmentToPlay:[0,350],animationLoopCounter:et})}function nh(Y){var et=Y.animationLoopCounter;return(0,e_.jsx)(ni,{animationData:tX,animationSegmentToPlay:[0,400],animationLoopCounter:et})}function np(Y){return(0,e_.jsx)(tK.A0,(0,eb._)((0,ey._)({width:"8",height:"9",viewBox:"0 0 8 9",fill:"none"},Y),{children:(0,e_.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.66607 0.376042C8.01072 0.605806 8.10385 1.07146 7.87408 1.4161L3.54075 7.9161C3.40573 8.11863 3.18083 8.24304 2.93752 8.24979C2.69421 8.25654 2.46275 8.1448 2.31671 7.95008L0.150044 5.06119C-0.098484 4.72982 -0.0313267 4.25972 0.300044 4.01119C0.631415 3.76266 1.10152 3.82982 1.35004 4.16119L2.88068 6.20204L6.62601 0.584055C6.85577 0.239408 7.32142 0.146278 7.66607 0.376042Z",fill:"currentColor"})}))}function ng(Y){return(0,e_.jsxs)(tK.A0,(0,eb._)((0,ey._)({width:"4",height:"12",viewBox:"0 0 4 12",fill:"none"},Y),{children:[(0,e_.jsx)("mask",{id:"path-1-inside-1_1975_4008",fill:"currentColor",children:(0,e_.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 6.5C1 7.05228 1.44772 7.5 2 7.5C2.55228 7.5 3 7.05228 3 6.5V1.5C3 0.947715 2.55228 0.5 2 0.5C1.44772 0.5 1 0.947715 1 1.5L1 6.5ZM0.75 10.25C0.75 10.9404 1.30964 11.5 2 11.5C2.69036 11.5 3.25 10.9404 3.25 10.25C3.25 9.55964 2.69036 9 2 9C1.30964 9 0.75 9.55964 0.75 10.25Z"})}),(0,e_.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 6.5C1 7.05228 1.44772 7.5 2 7.5C2.55228 7.5 3 7.05228 3 6.5V1.5C3 0.947715 2.55228 0.5 2 0.5C1.44772 0.5 1 0.947715 1 1.5L1 6.5ZM0.75 10.25C0.75 10.9404 1.30964 11.5 2 11.5C2.69036 11.5 3.25 10.9404 3.25 10.25C3.25 9.55964 2.69036 9 2 9C1.30964 9 0.75 9.55964 0.75 10.25Z",fill:"currentColor"}),(0,e_.jsx)("path",{d:"M1 6.5H-0.25H1ZM1 1.5L-0.25 1.5L-0.25 1.5L1 1.5ZM2 6.25C2.13807 6.25 2.25 6.36193 2.25 6.5H-0.25C-0.25 7.74264 0.757359 8.75 2 8.75V6.25ZM1.75 6.5C1.75 6.36193 1.86193 6.25 2 6.25V8.75C3.24264 8.75 4.25 7.74264 4.25 6.5H1.75ZM1.75 1.5V6.5H4.25V1.5H1.75ZM2 1.75C1.86193 1.75 1.75 1.63807 1.75 1.5H4.25C4.25 0.257359 3.24264 -0.75 2 -0.75V1.75ZM2.25 1.5C2.25 1.63807 2.13807 1.75 2 1.75V-0.75C0.757359 -0.75 -0.25 0.257359 -0.25 1.5L2.25 1.5ZM2.25 6.5L2.25 1.5L-0.25 1.5L-0.25 6.5L2.25 6.5ZM2 10.25H-0.5C-0.5 11.6307 0.619288 12.75 2 12.75V10.25ZM2 10.25V12.75C3.38071 12.75 4.5 11.6307 4.5 10.25H2ZM2 10.25H2H4.5C4.5 8.86929 3.38071 7.75 2 7.75V10.25ZM2 10.25H2V7.75C0.619288 7.75 -0.5 8.86929 -0.5 10.25H2Z",fill:"currentColor",mask:"url(#path-1-inside-1_1975_4008)"})]}))}function nv(Y){return(0,e_.jsx)(tK.A0,(0,eb._)((0,ey._)({width:"8",height:"9",viewBox:"0 0 8 9",fill:"none"},Y),{children:(0,e_.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.32256 1.48447C7.59011 1.16827 7.55068 0.695034 7.23447 0.427476C6.91827 0.159918 6.44503 0.199354 6.17748 0.515559L4.00002 3.08892L1.82256 0.515559C1.555 0.199354 1.08176 0.159918 0.765559 0.427476C0.449355 0.695034 0.409918 1.16827 0.677476 1.48447L3.01755 4.25002L0.677476 7.01556C0.409918 7.33176 0.449354 7.805 0.765559 8.07256C1.08176 8.34011 1.555 8.30068 1.82256 7.98447L4.00002 5.41111L6.17748 7.98447C6.44503 8.30068 6.91827 8.34011 7.23447 8.07256C7.55068 7.805 7.59011 7.33176 7.32256 7.01556L4.98248 4.25002L7.32256 1.48447Z",fill:"currentColor"})}))}function ny(Y){var et=Y.animationLoopCounter,en="dark"===(0,nn.F)().resolvedTheme;return(0,e_.jsx)(ni,{animationData:en?tJ:t4,animationSegmentToPlay:[0,300],animationLoopCounter:et})}function nb(Y){var et=Y.animationLoopCounter,en="dark"===(0,nn.F)().resolvedTheme;return(0,e_.jsx)(ni,{animationData:en?t9:t5,animationSegmentToPlay:[0,400],animationLoopCounter:et})}function nx(Y){var et=Y.animationLoopCounter;return(0,e_.jsx)(ni,{animationData:t3,animationSegmentToPlay:[0,200],animationLoopCounter:et})}var nk=en(86646),nw=en(62682),n_=en(95552),nE=en.n(n_),nC=en(70216),nT=en(64502);function nS(Y){var et,en=Y.url,ei=Y.size,eo=void 0===ei?16:ei,ea=Y.className;try{et=new URL(en)}catch(Y){return console.error(Y),null}return(0,e_.jsx)("img",{src:"https://icons.duckduckgo.com/ip3/".concat(et.hostname,".ico"),alt:"Favicon",width:eo,height:eo,className:ea})}function nA(Y){return(0,e_.jsxs)(tK.A0,(0,eb._)((0,ey._)({width:"19",height:"15",viewBox:"0 0 19 15",fill:"none"},Y),{children:[(0,e_.jsx)("path",{d:"M4.42 0.75H2.8625H2.75C1.64543 0.75 0.75 1.64543 0.75 2.75V11.65C0.75 12.7546 1.64543 13.65 2.75 13.65H2.8625C2.8625 13.65 2.8625 13.65 2.8625 13.65C2.8625 13.65 4.00751 13.65 4.42 13.65M13.98 13.65H15.5375H15.65C16.7546 13.65 17.65 12.7546 17.65 11.65V2.75C17.65 1.64543 16.7546 0.75 15.65 0.75H15.5375H13.98",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e_.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.16045 7.41534C5.32257 7.228 4.69638 6.47988 4.69638 5.58551C4.69638 4.54998 5.53584 3.71051 6.57136 3.71051C7.60689 3.71051 8.44635 4.54998 8.44635 5.58551C8.44635 5.8965 8.37064 6.1898 8.23664 6.448C8.22998 6.48984 8.21889 6.53136 8.20311 6.57208L6.77017 10.2702C6.63182 10.6272 6.18568 10.7873 5.7737 10.6276C5.36172 10.468 5.13991 10.0491 5.27826 9.69206L6.16045 7.41534ZM11.4177 7.41534C10.5798 7.228 9.95362 6.47988 9.95362 5.58551C9.95362 4.54998 10.7931 3.71051 11.8286 3.71051C12.8641 3.71051 13.7036 4.54998 13.7036 5.58551C13.7036 5.8965 13.6279 6.1898 13.4939 6.448C13.4872 6.48984 13.4761 6.53136 13.4604 6.57208L12.0274 10.2702C11.8891 10.6272 11.4429 10.7873 11.0309 10.6276C10.619 10.468 10.3971 10.0491 10.5355 9.69206L11.4177 7.41534Z",fill:"currentColor"})]}))}function nM(Y){return(0,e_.jsxs)(tK.A0,(0,eb._)((0,ey._)({width:"19",height:"15",viewBox:"0 0 19 15",fill:"none"},Y),{children:[(0,e_.jsx)("path",{d:"M4.42 0.75H2.8625H2.75C1.64543 0.75 0.75 1.64543 0.75 2.75V11.65C0.75 12.7546 1.64543 13.65 2.75 13.65H2.8625C2.8625 13.65 2.8625 13.65 2.8625 13.65C2.8625 13.65 4.00751 13.65 4.42 13.65M13.98 13.65H15.5375H15.65C16.7546 13.65 17.65 12.7546 17.65 11.65V2.75C17.65 1.64543 16.7546 0.75 15.65 0.75H15.5375H13.98",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e_.jsx)("path",{d:"M5.55283 4.21963C5.25993 3.92674 4.78506 3.92674 4.49217 4.21963C4.19927 4.51252 4.19927 4.9874 4.49217 5.28029L6.36184 7.14996L4.49217 9.01963C4.19927 9.31252 4.19927 9.7874 4.49217 10.0803C4.78506 10.3732 5.25993 10.3732 5.55283 10.0803L7.95283 7.68029C8.24572 7.3874 8.24572 6.91252 7.95283 6.61963L5.55283 4.21963Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"0.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,e_.jsx)("path",{d:"M9.77753 8.75003C9.3357 8.75003 8.97753 9.10821 8.97753 9.55003C8.97753 9.99186 9.3357 10.35 9.77753 10.35H13.2775C13.7194 10.35 14.0775 9.99186 14.0775 9.55003C14.0775 9.10821 13.7194 8.75003 13.2775 8.75003H9.77753Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"0.1"})]}))}var nP=en(94705),nj=en(72871),nO=en(71573),nI=en(38165);function nN(Y){return Y&&"object"==typeof Y?"position"in Y||"type"in Y?nR(Y.position):"start"in Y||"end"in Y?nR(Y):"line"in Y||"column"in Y?nL(Y):"":""}function nL(Y){return nD(Y&&Y.line)+":"+nD(Y&&Y.column)}function nR(Y){return nL(Y&&Y.start)+"-"+nL(Y&&Y.end)}function nD(Y){return Y&&"number"==typeof Y?Y:1}class nF extends Error{constructor(Y,et,en){let ei=[null,null],eo={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof et&&(en=et,et=void 0),"string"==typeof en){let Y=en.indexOf(":");-1===Y?ei[1]=en:(ei[0]=en.slice(0,Y),ei[1]=en.slice(Y+1))}et&&("type"in et||"position"in et?et.position&&(eo=et.position):"start"in et||"end"in et?eo=et:("line"in et||"column"in et)&&(eo.start=et)),this.name=nN(et)||"1:1",this.message="object"==typeof Y?Y.message:Y,this.stack="object"==typeof Y?Y.stack:"",this.reason=this.message,this.fatal,this.line=eo.start.line,this.column=eo.start.column,this.source=ei[0],this.ruleId=ei[1],this.position=eo,this.actual,this.expected,this.file,this.url,this.note}}nF.prototype.file="",nF.prototype.name="",nF.prototype.reason="",nF.prototype.message="",nF.prototype.stack="",nF.prototype.fatal=null,nF.prototype.column=null,nF.prototype.line=null,nF.prototype.source=null,nF.prototype.ruleId=null,nF.prototype.position=null;let nB={basename:nz,dirname:nU,extname:nH,join:nG,sep:"/"};function nz(Y,et){let en;if(void 0!==et&&"string"!=typeof et)throw TypeError('"ext" argument must be a string');nq(Y);let ei=0,eo=-1,ea=Y.length;if(void 0===et||0===et.length||et.length>Y.length){for(;ea--;)if(47===Y.charCodeAt(ea)){if(en){ei=ea+1;break}}else eo<0&&(en=!0,eo=ea+1);return eo<0?"":Y.slice(ei,eo)}if(et===Y)return"";let eu=-1,ec=et.length-1;for(;ea--;)if(47===Y.charCodeAt(ea)){if(en){ei=ea+1;break}}else eu<0&&(en=!0,eu=ea+1),ec>-1&&(Y.charCodeAt(ea)===et.charCodeAt(ec--)?ec<0&&(eo=ea):(ec=-1,eo=eu));return ei===eo?eo=eu:eo<0&&(eo=Y.length),Y.slice(ei,eo)}function nU(Y){let et;if(nq(Y),0===Y.length)return".";let en=-1,ei=Y.length;for(;--ei;)if(47===Y.charCodeAt(ei)){if(et){en=ei;break}}else et||(et=!0);return en<0?47===Y.charCodeAt(0)?"/":".":1===en&&47===Y.charCodeAt(0)?"//":Y.slice(0,en)}function nH(Y){let et;nq(Y);let en=Y.length,ei=-1,eo=0,ea=-1,eu=0;for(;en--;){let ec=Y.charCodeAt(en);if(47===ec){if(et){eo=en+1;break}continue}ei<0&&(et=!0,ei=en+1),46===ec?ea<0?ea=en:1!==eu&&(eu=1):ea>-1&&(eu=-1)}return ea<0||ei<0||0===eu||1===eu&&ea===ei-1&&ea===eo+1?"":Y.slice(ea,ei)}function nG(...Y){let et,en=-1;for(;++en<Y.length;)nq(Y[en]),Y[en]&&(et=void 0===et?Y[en]:et+"/"+Y[en]);return void 0===et?".":nV(et)}function nV(Y){nq(Y);let et=47===Y.charCodeAt(0),en=nW(Y,!et);return 0!==en.length||et||(en="."),en.length>0&&47===Y.charCodeAt(Y.length-1)&&(en+="/"),et?"/"+en:en}function nW(Y,et){let en,ei,eo="",ea=0,eu=-1,ec=0,ed=-1;for(;++ed<=Y.length;){if(ed<Y.length)en=Y.charCodeAt(ed);else if(47===en)break;else en=47;if(47===en){if(eu===ed-1||1===ec);else if(eu!==ed-1&&2===ec){if(eo.length<2||2!==ea||46!==eo.charCodeAt(eo.length-1)||46!==eo.charCodeAt(eo.length-2)){if(eo.length>2){if((ei=eo.lastIndexOf("/"))!==eo.length-1){ei<0?(eo="",ea=0):ea=(eo=eo.slice(0,ei)).length-1-eo.lastIndexOf("/"),eu=ed,ec=0;continue}}else if(eo.length>0){eo="",ea=0,eu=ed,ec=0;continue}}et&&(eo=eo.length>0?eo+"/..":"..",ea=2)}else eo.length>0?eo+="/"+Y.slice(eu+1,ed):eo=Y.slice(eu+1,ed),ea=ed-eu-1;eu=ed,ec=0}else 46===en&&ec>-1?ec++:ec=-1}return eo}function nq(Y){if("string"!=typeof Y)throw TypeError("Path must be a string. Received "+JSON.stringify(Y))}let nZ={cwd:nK};function nK(){return"/"}function n$(Y){return null!==Y&&"object"==typeof Y&&Y.href&&Y.origin}function nY(Y){if("string"==typeof Y)Y=new URL(Y);else if(!n$(Y)){let et=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+Y+"`");throw et.code="ERR_INVALID_ARG_TYPE",et}if("file:"!==Y.protocol){let Y=TypeError("The URL must be of scheme file");throw Y.code="ERR_INVALID_URL_SCHEME",Y}return nQ(Y)}function nQ(Y){if(""!==Y.hostname){let Y=TypeError('File URL host must be "localhost" or empty on darwin');throw Y.code="ERR_INVALID_FILE_URL_HOST",Y}let et=Y.pathname,en=-1;for(;++en<et.length;)if(37===et.charCodeAt(en)&&50===et.charCodeAt(en+1)){let Y=et.charCodeAt(en+2);if(70===Y||102===Y){let Y=TypeError("File URL path must not include encoded / characters");throw Y.code="ERR_INVALID_FILE_URL_PATH",Y}}return decodeURIComponent(et)}let nX=["history","path","basename","stem","extname","dirname"];class nJ{constructor(Y){let et,en;et=Y?"string"==typeof Y||nI(Y)?{value:Y}:n$(Y)?{path:Y}:Y:{},this.data={},this.messages=[],this.history=[],this.cwd=nZ.cwd(),this.value,this.stored,this.result,this.map;let ei=-1;for(;++ei<nX.length;){let Y=nX[ei];Y in et&&void 0!==et[Y]&&(this[Y]="history"===Y?[...et[Y]]:et[Y])}for(en in et)nX.includes(en)||(this[en]=et[en])}get path(){return this.history[this.history.length-1]}set path(Y){n$(Y)&&(Y=nY(Y)),n9(Y,"path"),this.path!==Y&&this.history.push(Y)}get dirname(){return"string"==typeof this.path?nB.dirname(this.path):void 0}set dirname(Y){n5(this.basename,"dirname"),this.path=nB.join(Y||"",this.basename)}get basename(){return"string"==typeof this.path?nB.basename(this.path):void 0}set basename(Y){n9(Y,"basename"),n0(Y,"basename"),this.path=nB.join(this.dirname||"",Y)}get extname(){return"string"==typeof this.path?nB.extname(this.path):void 0}set extname(Y){if(n0(Y,"extname"),n5(this.dirname,"extname"),Y){if(46!==Y.charCodeAt(0))throw Error("`extname` must start with `.`");if(Y.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=nB.join(this.dirname,this.stem+(Y||""))}get stem(){return"string"==typeof this.path?nB.basename(this.path,this.extname):void 0}set stem(Y){n9(Y,"stem"),n0(Y,"stem"),this.path=nB.join(this.dirname||"",Y+(this.extname||""))}toString(Y){return(this.value||"").toString(Y)}message(Y,et,en){let ei=new nF(Y,et,en);return this.path&&(ei.name=this.path+":"+ei.name,ei.file=this.path),ei.fatal=!1,this.messages.push(ei),ei}info(Y,et,en){let ei=this.message(Y,et,en);return ei.fatal=null,ei}fail(Y,et,en){let ei=this.message(Y,et,en);throw ei.fatal=!0,ei}}function n0(Y,et){if(Y&&Y.includes(nB.sep))throw Error("`"+et+"` cannot be a path: did not expect `"+nB.sep+"`")}function n9(Y,et){if(!Y)throw Error("`"+et+"` cannot be empty")}function n5(Y,et){if(!Y)throw Error("Setting `"+et+"` requires `path` to be set too")}function n4(Y){if(Y)throw Y}var n3=en(24740);function n6(Y){if("object"!=typeof Y||null===Y)return!1;let et=Object.getPrototypeOf(Y);return(null===et||et===Object.prototype||null===Object.getPrototypeOf(et))&&!(Symbol.toStringTag in Y)&&!(Symbol.iterator in Y)}function n7(){let Y=[],et={run:en,use:ei};return et;function en(...et){let ei=-1,eo=et.pop();if("function"!=typeof eo)throw TypeError("Expected function as last argument, not "+eo);function ea(en,...eu){let ec=Y[++ei],ed=-1;if(en){eo(en);return}for(;++ed<et.length;)(null===eu[ed]||void 0===eu[ed])&&(eu[ed]=et[ed]);et=eu,ec?n8(ec,ea)(...eu):eo(null,...eu)}ea(null,...et)}function ei(en){if("function"!=typeof en)throw TypeError("Expected `middelware` to be a function, not "+en);return Y.push(en),et}}function n8(Y,et){let en;return ei;function ei(...et){let eu;let ec=Y.length>et.length;ec&&et.push(eo);try{eu=Y.apply(this,et)}catch(et){let Y=et;if(ec&&en)throw Y;return eo(Y)}ec||(eu instanceof Promise?eu.then(ea,eo):eu instanceof Error?eo(eu):ea(eu))}function eo(Y,...ei){en||(en=!0,et(Y,...ei))}function ea(Y){eo(null,Y)}}let rn=ri().freeze(),rr={}.hasOwnProperty;function ri(){let Y;let et=n7(),en=[],ei={},eo=-1;return ea.data=eu,ea.Parser=void 0,ea.Compiler=void 0,ea.freeze=ec,ea.attachers=en,ea.use=ed,ea.parse=ef,ea.stringify=eh,ea.run=ep,ea.runSync=em,ea.process=eg,ea.processSync=ey,ea;function ea(){let Y=ri(),et=-1;for(;++et<en.length;)Y.use(...en[et]);return Y.data(n3(!0,{},ei)),Y}function eu(et,en){return"string"==typeof et?2==arguments.length?(ru("data",Y),ei[et]=en,ea):rr.call(ei,et)&&ei[et]||null:et?(ru("data",Y),ei=et,ea):ei}function ec(){if(Y)return ea;for(;++eo<en.length;){let[Y,...ei]=en[eo];if(!1===ei[0])continue;!0===ei[0]&&(ei[0]=void 0);let eu=Y.call(ea,...ei);"function"==typeof eu&&et.use(eu)}return Y=!0,eo=Number.POSITIVE_INFINITY,ea}function ed(et,...eo){let eu;if(ru("use",Y),null==et);else if("function"==typeof et)ep(et,...eo);else if("object"==typeof et)Array.isArray(et)?eh(et):ef(et);else throw TypeError("Expected usable value, not `"+et+"`");return eu&&(ei.settings=Object.assign(ei.settings||{},eu)),ea;function ec(Y){if("function"==typeof Y)ep(Y);else if("object"==typeof Y){if(Array.isArray(Y)){let[et,...en]=Y;ep(et,...en)}else ef(Y)}else throw TypeError("Expected usable value, not `"+Y+"`")}function ef(Y){eh(Y.plugins),Y.settings&&(eu=Object.assign(eu||{},Y.settings))}function eh(Y){let et=-1;if(null==Y);else if(Array.isArray(Y))for(;++et<Y.length;){let en=Y[et];ec(en)}else throw TypeError("Expected a list of plugins, not `"+Y+"`")}function ep(Y,et){let ei,eo=-1;for(;++eo<en.length;)if(en[eo][0]===Y){ei=en[eo];break}ei?(n6(ei[1])&&n6(et)&&(et=n3(!0,ei[1],et)),ei[1]=et):en.push([...arguments])}}function ef(Y){ea.freeze();let et=rp(Y),en=ea.Parser;return(rs("parse",en),ro(en,"parse"))?new en(String(et),et).parse():en(String(et),et)}function eh(Y,et){ea.freeze();let en=rp(et),ei=ea.Compiler;return(rl("stringify",ei),rc(Y),ro(ei,"compile"))?new ei(Y,en).compile():ei(Y,en)}function ep(Y,en,ei){if(rc(Y),ea.freeze(),ei||"function"!=typeof en||(ei=en,en=void 0),!ei)return new Promise(eo);function eo(eo,ea){et.run(Y,rp(en),eu);function eu(et,en,eu){en=en||Y,et?ea(et):eo?eo(en):ei(null,en,eu)}}eo(null,ei)}function em(Y,et){let en,ei;return ea.run(Y,et,eo),rh("runSync","run",ei),en;function eo(Y,et){n4(Y),en=et,ei=!0}}function eg(Y,et){if(ea.freeze(),rs("process",ea.Parser),rl("process",ea.Compiler),!et)return new Promise(en);function en(en,ei){let eo=rp(Y);function eu(Y,eo){Y||!eo?ei(Y):en?en(eo):et(null,eo)}ea.run(ea.parse(eo),eo,(Y,et,en)=>{if(!Y&&et&&en){let ei=ea.stringify(et,en);null==ei||(rg(ei)?en.value=ei:en.result=ei),eu(Y,en)}else eu(Y)})}en(null,et)}function ey(Y){let et;ea.freeze(),rs("processSync",ea.Parser),rl("processSync",ea.Compiler);let en=rp(Y);return ea.process(en,ei),rh("processSync","process",et),en;function ei(Y){et=!0,n4(Y)}}}function ro(Y,et){return"function"==typeof Y&&Y.prototype&&(ra(Y.prototype)||et in Y.prototype)}function ra(Y){let et;for(et in Y)if(rr.call(Y,et))return!0;return!1}function rs(Y,et){if("function"!=typeof et)throw TypeError("Cannot `"+Y+"` without `Parser`")}function rl(Y,et){if("function"!=typeof et)throw TypeError("Cannot `"+Y+"` without `Compiler`")}function ru(Y,et){if(et)throw Error("Cannot call `"+Y+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function rc(Y){if(!n6(Y)||"string"!=typeof Y.type)throw TypeError("Expected node, got `"+Y+"`")}function rh(Y,et,en){if(!en)throw Error("`"+Y+"` finished async. Use `"+et+"` instead")}function rp(Y){return rm(Y)?Y:new nJ(Y)}function rm(Y){return!!(Y&&"object"==typeof Y&&"message"in Y&&"messages"in Y)}function rg(Y){return"string"==typeof Y||nI(Y)}function rv(Y,et){var{includeImageAlt:en=!0}=et||{};return ry(Y,en)}function ry(Y,et){return Y&&"object"==typeof Y&&(Y.value||(et?Y.alt:"")||"children"in Y&&rb(Y.children,et)||Array.isArray(Y)&&rb(Y,et))||""}function rb(Y,et){for(var en=[],ei=-1;++ei<Y.length;)en[ei]=ry(Y[ei],et);return en.join("")}function rk(Y,et,en,ei){let eo;let ea=Y.length,eu=0;if(et=et<0?-et>ea?0:ea+et:et>ea?ea:et,en=en>0?en:0,ei.length<1e4)(eo=Array.from(ei)).unshift(et,en),[].splice.apply(Y,eo);else for(en&&[].splice.apply(Y,[et,en]);eu<ei.length;)(eo=ei.slice(eu,eu+1e4)).unshift(et,0),[].splice.apply(Y,eo),eu+=1e4,et+=1e4}function r_(Y,et){return Y.length>0?(rk(Y,Y.length,0,et),Y):et}let rE={}.hasOwnProperty;function rC(Y){let et={},en=-1;for(;++en<Y.length;)rT(et,Y[en]);return et}function rT(Y,et){let en;for(en in et){let ei;let eo=rE.call(Y,en)?Y[en]:void 0,ea=eo||(Y[en]={}),eu=et[en];for(ei in eu){rE.call(ea,ei)||(ea[ei]=[]);let Y=eu[ei];rS(ea[ei],Array.isArray(Y)?Y:Y?[Y]:[])}}}function rS(Y,et){let en=-1,ei=[];for(;++en<et.length;)("after"===et[en].add?Y:ei).push(et[en]);rk(Y,0,0,ei)}let rA=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,rM=rU(/[A-Za-z]/),rP=rU(/\d/),rj=rU(/[\dA-Fa-f]/),rO=rU(/[\dA-Za-z]/),rI=rU(/[!-/:-@[-`{-~]/),rN=rU(/[#-'*+\--9=?A-Z^-~]/);function rL(Y){return null!==Y&&(Y<32||127===Y)}function rR(Y){return null!==Y&&(Y<0||32===Y)}function rD(Y){return null!==Y&&Y<-2}function rF(Y){return -2===Y||-1===Y||32===Y}let rB=rU(/\s/),rz=rU(rA);function rU(Y){return et;function et(et){return null!==et&&Y.test(String.fromCharCode(et))}}function rH(Y,et,en,ei){let eo=ei?ei-1:Number.POSITIVE_INFINITY,ea=0;return eu;function eu(ei){return rF(ei)?(Y.enter(en),ec(ei)):et(ei)}function ec(ei){return rF(ei)&&ea++<eo?(Y.consume(ei),ec):(Y.exit(en),et(ei))}}let rG={tokenize:rV};function rV(Y){let et;let en=Y.attempt(this.parser.constructs.contentInitial,ei,eo);return en;function ei(et){if(null===et){Y.consume(et);return}return Y.enter("lineEnding"),Y.consume(et),Y.exit("lineEnding"),rH(Y,en,"linePrefix")}function eo(et){return Y.enter("paragraph"),ea(et)}function ea(en){let ei=Y.enter("chunkText",{contentType:"text",previous:et});return et&&(et.next=ei),et=ei,eu(en)}function eu(et){if(null===et){Y.exit("chunkText"),Y.exit("paragraph"),Y.consume(et);return}return rD(et)?(Y.consume(et),Y.exit("chunkText"),ea):(Y.consume(et),eu)}}let rW={tokenize:rZ},rq={tokenize:rK};function rZ(Y){let et,en,ei;let eo=this,ea=[],eu=0;return ec;function ec(et){if(eu<ea.length){let en=ea[eu];return eo.containerState=en[1],Y.attempt(en[0].continuation,ed,ef)(et)}return ef(et)}function ed(Y){if(eu++,eo.containerState._closeFlow){let en;eo.containerState._closeFlow=void 0,et&&e_();let ei=eo.events.length,ea=ei;for(;ea--;)if("exit"===eo.events[ea][0]&&"chunkFlow"===eo.events[ea][1].type){en=eo.events[ea][1].end;break}ew(eu);let ec=ei;for(;ec<eo.events.length;)eo.events[ec][1].end=Object.assign({},en),ec++;return rk(eo.events,ea+1,0,eo.events.slice(ei)),eo.events.length=ec,ef(Y)}return ec(Y)}function ef(en){if(eu===ea.length){if(!et)return em(en);if(et.currentConstruct&&et.currentConstruct.concrete)return ey(en);eo.interrupt=!!(et.currentConstruct&&!et._gfmTableDynamicInterruptHack)}return eo.containerState={},Y.check(rq,eh,ep)(en)}function eh(Y){return et&&e_(),ew(eu),em(Y)}function ep(Y){return eo.parser.lazy[eo.now().line]=eu!==ea.length,ei=eo.now().offset,ey(Y)}function em(et){return eo.containerState={},Y.attempt(rq,eg,ey)(et)}function eg(Y){return eu++,ea.push([eo.currentConstruct,eo.containerState]),em(Y)}function ey(ei){if(null===ei){et&&e_(),ew(0),Y.consume(ei);return}return et=et||eo.parser.flow(eo.now()),Y.enter("chunkFlow",{contentType:"flow",previous:en,_tokenizer:et}),eb(ei)}function eb(et){if(null===et){ek(Y.exit("chunkFlow"),!0),ew(0),Y.consume(et);return}return rD(et)?(Y.consume(et),ek(Y.exit("chunkFlow")),eu=0,eo.interrupt=void 0,ec):(Y.consume(et),eb)}function ek(Y,ea){let ec=eo.sliceStream(Y);if(ea&&ec.push(null),Y.previous=en,en&&(en.next=Y),en=Y,et.defineSkip(Y.start),et.write(ec),eo.parser.lazy[Y.start.line]){let Y,en,ea=et.events.length;for(;ea--;)if(et.events[ea][1].start.offset<ei&&(!et.events[ea][1].end||et.events[ea][1].end.offset>ei))return;let ec=eo.events.length,ed=ec;for(;ed--;)if("exit"===eo.events[ed][0]&&"chunkFlow"===eo.events[ed][1].type){if(Y){en=eo.events[ed][1].end;break}Y=!0}for(ew(eu),ea=ec;ea<eo.events.length;)eo.events[ea][1].end=Object.assign({},en),ea++;rk(eo.events,ed+1,0,eo.events.slice(ec)),eo.events.length=ea}}function ew(et){let en=ea.length;for(;en-- >et;){let et=ea[en];eo.containerState=et[1],et[0].exit.call(eo,Y)}ea.length=et}function e_(){et.write([null]),en=void 0,et=void 0,eo.containerState._closeFlow=void 0}}function rK(Y,et,en){return rH(Y,Y.attempt(this.parser.constructs.document,et,en),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}let r$={tokenize:rY,partial:!0};function rY(Y,et,en){return rH(Y,ei,"linePrefix");function ei(Y){return null===Y||rD(Y)?et(Y):en(Y)}}function rQ(Y){let et,en,ei,eo,ea,eu,ec;let ed={},ef=-1;for(;++ef<Y.length;){for(;(ef in ed);)ef=ed[ef];if(et=Y[ef],ef&&"chunkFlow"===et[1].type&&"listItemPrefix"===Y[ef-1][1].type&&((ei=0)<(eu=et[1]._tokenizer.events).length&&"lineEndingBlank"===eu[ei][1].type&&(ei+=2),ei<eu.length&&"content"===eu[ei][1].type))for(;++ei<eu.length&&"content"!==eu[ei][1].type;)"chunkText"===eu[ei][1].type&&(eu[ei][1]._isInFirstContentOfListItem=!0,ei++);if("enter"===et[0])et[1].contentType&&(Object.assign(ed,rX(Y,ef)),ef=ed[ef],ec=!0);else if(et[1]._container){for(ei=ef,en=void 0;ei--;)if("lineEnding"===(eo=Y[ei])[1].type||"lineEndingBlank"===eo[1].type)"enter"===eo[0]&&(en&&(Y[en][1].type="lineEndingBlank"),eo[1].type="lineEnding",en=ei);else break;en&&(et[1].end=Object.assign({},Y[en][1].start),(ea=Y.slice(en,ef)).unshift(et),rk(Y,en,ef-en+1,ea))}}return!ec}function rX(Y,et){let en,ei;let eo=Y[et][1],ea=Y[et][2],eu=et-1,ec=[],ed=eo._tokenizer||ea.parser[eo.contentType](eo.start),ef=ed.events,eh=[],ep={},em=-1,eg=eo,ey=0,eb=0,ek=[eb];for(;eg;){for(;Y[++eu][1]!==eg;);ec.push(eu),!eg._tokenizer&&(en=ea.sliceStream(eg),eg.next||en.push(null),ei&&ed.defineSkip(eg.start),eg._isInFirstContentOfListItem&&(ed._gfmTasklistFirstContentOfListItem=!0),ed.write(en),eg._isInFirstContentOfListItem&&(ed._gfmTasklistFirstContentOfListItem=void 0)),ei=eg,eg=eg.next}for(eg=eo;++em<ef.length;)"exit"===ef[em][0]&&"enter"===ef[em-1][0]&&ef[em][1].type===ef[em-1][1].type&&ef[em][1].start.line!==ef[em][1].end.line&&(eb=em+1,ek.push(eb),eg._tokenizer=void 0,eg.previous=void 0,eg=eg.next);for(ed.events=[],eg?(eg._tokenizer=void 0,eg.previous=void 0):ek.pop(),em=ek.length;em--;){let et=ef.slice(ek[em],ek[em+1]),en=ec.pop();eh.unshift([en,en+et.length-1]),rk(Y,en,2,et)}for(em=-1;++em<eh.length;)ep[ey+eh[em][0]]=ey+eh[em][1],ey+=eh[em][1]-eh[em][0]-1;return ep}let rJ={tokenize:r2,resolve:r1},r0={tokenize:r9,partial:!0};function r1(Y){return rQ(Y),Y}function r2(Y,et){let en;return ei;function ei(et){return Y.enter("content"),en=Y.enter("chunkContent",{contentType:"content"}),eo(et)}function eo(et){return null===et?ea(et):rD(et)?Y.check(r0,eu,ea)(et):(Y.consume(et),eo)}function ea(en){return Y.exit("chunkContent"),Y.exit("content"),et(en)}function eu(et){return Y.consume(et),Y.exit("chunkContent"),en.next=Y.enter("chunkContent",{contentType:"content",previous:en}),en=en.next,eo}}function r9(Y,et,en){let ei=this;return eo;function eo(et){return Y.exit("chunkContent"),Y.enter("lineEnding"),Y.consume(et),Y.exit("lineEnding"),rH(Y,ea,"linePrefix")}function ea(eo){if(null===eo||rD(eo))return en(eo);let ea=ei.events[ei.events.length-1];return!ei.parser.constructs.disable.null.includes("codeIndented")&&ea&&"linePrefix"===ea[1].type&&ea[2].sliceSerialize(ea[1],!0).length>=4?et(eo):Y.interrupt(ei.parser.constructs.flow,en,et)(eo)}}let r5={tokenize:r4};function r4(Y){let et=this,en=Y.attempt(r$,ei,Y.attempt(this.parser.constructs.flowInitial,eo,rH(Y,Y.attempt(this.parser.constructs.flow,eo,Y.attempt(rJ,eo)),"linePrefix")));return en;function ei(ei){if(null===ei){Y.consume(ei);return}return Y.enter("lineEndingBlank"),Y.consume(ei),Y.exit("lineEndingBlank"),et.currentConstruct=void 0,en}function eo(ei){if(null===ei){Y.consume(ei);return}return Y.enter("lineEnding"),Y.consume(ei),Y.exit("lineEnding"),et.currentConstruct=void 0,en}}let r3={resolveAll:ir()},r6=r8("string"),r7=r8("text");function r8(Y){return{tokenize:et,resolveAll:ir("text"===Y?ii:void 0)};function et(et){let en=this,ei=this.parser.constructs[Y],eo=et.attempt(ei,ea,eu);return ea;function ea(Y){return ed(Y)?eo(Y):eu(Y)}function eu(Y){if(null===Y){et.consume(Y);return}return et.enter("data"),et.consume(Y),ec}function ec(Y){return ed(Y)?(et.exit("data"),eo(Y)):(et.consume(Y),ec)}function ed(Y){if(null===Y)return!0;let et=ei[Y],eo=-1;if(et)for(;++eo<et.length;){let Y=et[eo];if(!Y.previous||Y.previous.call(en,en.previous))return!0}return!1}}}function ir(Y){return et;function et(et,en){let ei,eo=-1;for(;++eo<=et.length;)void 0===ei?et[eo]&&"data"===et[eo][1].type&&(ei=eo,eo++):et[eo]&&"data"===et[eo][1].type||(eo!==ei+2&&(et[ei][1].end=et[eo-1][1].end,et.splice(ei+2,eo-ei-2),eo=ei+2),ei=void 0);return Y?Y(et,en):et}}function ii(Y,et){let en=0;for(;++en<=Y.length;)if((en===Y.length||"lineEnding"===Y[en][1].type)&&"data"===Y[en-1][1].type){let ei;let eo=Y[en-1][1],ea=et.sliceStream(eo),eu=ea.length,ec=-1,ed=0;for(;eu--;){let Y=ea[eu];if("string"==typeof Y){for(ec=Y.length;32===Y.charCodeAt(ec-1);)ed++,ec--;if(ec)break;ec=-1}else if(-2===Y)ei=!0,ed++;else if(-1===Y);else{eu++;break}}if(ed){let ea={type:en===Y.length||ei||ed<2?"lineSuffix":"hardBreakTrailing",start:{line:eo.end.line,column:eo.end.column-ed,offset:eo.end.offset-ed,_index:eo.start._index+eu,_bufferIndex:eu?ec:eo.start._bufferIndex+ec},end:Object.assign({},eo.end)};eo.end=Object.assign({},ea.start),eo.start.offset===eo.end.offset?Object.assign(eo,ea):(Y.splice(en,0,["enter",ea,et],["exit",ea,et]),en+=2)}en++}return Y}function io(Y,et,en){let ei=[],eo=-1;for(;++eo<Y.length;){let ea=Y[eo].resolveAll;ea&&!ei.includes(ea)&&(et=ea(et,en),ei.push(ea))}return et}function ia(Y,et,en){let ei=Object.assign(en?Object.assign({},en):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),eo={},ea=[],eu=[],ec=[],ed={consume:e_,enter:eE,exit:eC,attempt:eA(eT),check:eA(eS),interrupt:eA(eS,{interrupt:!0})},ef={previous:null,code:null,containerState:{},events:[],parser:Y,sliceStream:eg,sliceSerialize:em,now:ey,defineSkip:eb,write:ep},eh=et.tokenize.call(ef,ed);return et.resolveAll&&ea.push(et),ef;function ep(Y){return(eu=r_(eu,Y),ek(),null!==eu[eu.length-1])?[]:(eM(et,0),ef.events=io(ea,ef.events,ef),ef.events)}function em(Y,et){return iu(eg(Y),et)}function eg(Y){return il(eu,Y)}function ey(){return Object.assign({},ei)}function eb(Y){eo[Y.line]=Y.column,ej()}function ek(){let Y;for(;ei._index<eu.length;){let et=eu[ei._index];if("string"==typeof et)for(Y=ei._index,ei._bufferIndex<0&&(ei._bufferIndex=0);ei._index===Y&&ei._bufferIndex<et.length;)ew(et.charCodeAt(ei._bufferIndex));else ew(et)}}function ew(Y){eh=eh(Y)}function e_(Y){rD(Y)?(ei.line++,ei.column=1,ei.offset+=-3===Y?2:1,ej()):-1!==Y&&(ei.column++,ei.offset++),ei._bufferIndex<0?ei._index++:(ei._bufferIndex++,ei._bufferIndex===eu[ei._index].length&&(ei._bufferIndex=-1,ei._index++)),ef.previous=Y}function eE(Y,et){let en=et||{};return en.type=Y,en.start=ey(),ef.events.push(["enter",en,ef]),ec.push(en),en}function eC(Y){let et=ec.pop();return et.end=ey(),ef.events.push(["exit",et,ef]),et}function eT(Y,et){eM(Y,et.from)}function eS(Y,et){et.restore()}function eA(Y,et){return en;function en(en,ei,eo){let ea,eu,ec,eh;return Array.isArray(en)?em(en):"tokenize"in en?em([en]):ep(en);function ep(Y){return et;function et(et){let en=null!==et&&Y[et],ei=null!==et&&Y.null,eo=[...Array.isArray(en)?en:en?[en]:[],...Array.isArray(ei)?ei:ei?[ei]:[]];return em(eo)(et)}}function em(Y){return(ea=Y,eu=0,0===Y.length)?eo:eg(Y[eu])}function eg(Y){return en;function en(en){return(eh=eP(),ec=Y,Y.partial||(ef.currentConstruct=Y),Y.name&&ef.parser.constructs.disable.null.includes(Y.name))?eb(en):Y.tokenize.call(et?Object.assign(Object.create(ef),et):ef,ed,ey,eb)(en)}}function ey(et){return Y(ec,eh),ei}function eb(Y){return(eh.restore(),++eu<ea.length)?eg(ea[eu]):eo}}}function eM(Y,et){Y.resolveAll&&!ea.includes(Y)&&ea.push(Y),Y.resolve&&rk(ef.events,et,ef.events.length-et,Y.resolve(ef.events.slice(et),ef)),Y.resolveTo&&(ef.events=Y.resolveTo(ef.events,ef))}function eP(){let Y=ey(),et=ef.previous,en=ef.currentConstruct,eo=ef.events.length,ea=Array.from(ec);return{restore:eu,from:eo};function eu(){ei=Y,ef.previous=et,ef.currentConstruct=en,ef.events.length=eo,ec=ea,ej()}}function ej(){ei.line in eo&&ei.column<2&&(ei.column=eo[ei.line],ei.offset+=eo[ei.line]-1)}}function il(Y,et){let en;let ei=et.start._index,eo=et.start._bufferIndex,ea=et.end._index,eu=et.end._bufferIndex;return ei===ea?en=[Y[ei].slice(eo,eu)]:(en=Y.slice(ei,ea),eo>-1&&(en[0]=en[0].slice(eo)),eu>0&&en.push(Y[ea].slice(0,eu))),en}function iu(Y,et){let en,ei=-1,eo=[];for(;++ei<Y.length;){let ea;let eu=Y[ei];if("string"==typeof eu)ea=eu;else switch(eu){case -5:ea="\r";break;case -4:ea="\n";break;case -3:ea="\r\n";break;case -2:ea=et?" ":" ";break;case -1:if(!et&&en)continue;ea=" ";break;default:ea=String.fromCharCode(eu)}en=-2===eu,eo.push(ea)}return eo.join("")}let ih={name:"thematicBreak",tokenize:im};function im(Y,et,en){let ei,eo=0;return ea;function ea(et){return Y.enter("thematicBreak"),ei=et,eu(et)}function eu(ea){return ea===ei?(Y.enter("thematicBreakSequence"),ec(ea)):rF(ea)?rH(Y,eu,"whitespace")(ea):eo<3||null!==ea&&!rD(ea)?en(ea):(Y.exit("thematicBreak"),et(ea))}function ec(et){return et===ei?(Y.consume(et),eo++,ec):(Y.exit("thematicBreakSequence"),eu(et))}}let ig={name:"list",tokenize:ix,continuation:{tokenize:iw},exit:iE},iy={tokenize:iC,partial:!0},ib={tokenize:i_,partial:!0};function ix(Y,et,en){let ei=this,eo=ei.events[ei.events.length-1],ea=eo&&"linePrefix"===eo[1].type?eo[2].sliceSerialize(eo[1],!0).length:0,eu=0;return ec;function ec(et){let eo=ei.containerState.type||(42===et||43===et||45===et?"listUnordered":"listOrdered");if("listUnordered"===eo?!ei.containerState.marker||et===ei.containerState.marker:rP(et)){if(ei.containerState.type||(ei.containerState.type=eo,Y.enter(eo,{_container:!0})),"listUnordered"===eo)return Y.enter("listItemPrefix"),42===et||45===et?Y.check(ih,en,ef)(et):ef(et);if(!ei.interrupt||49===et)return Y.enter("listItemPrefix"),Y.enter("listItemValue"),ed(et)}return en(et)}function ed(et){return rP(et)&&++eu<10?(Y.consume(et),ed):(!ei.interrupt||eu<2)&&(ei.containerState.marker?et===ei.containerState.marker:41===et||46===et)?(Y.exit("listItemValue"),ef(et)):en(et)}function ef(et){return Y.enter("listItemMarker"),Y.consume(et),Y.exit("listItemMarker"),ei.containerState.marker=ei.containerState.marker||et,Y.check(r$,ei.interrupt?en:eh,Y.attempt(iy,em,ep))}function eh(Y){return ei.containerState.initialBlankLine=!0,ea++,em(Y)}function ep(et){return rF(et)?(Y.enter("listItemPrefixWhitespace"),Y.consume(et),Y.exit("listItemPrefixWhitespace"),em):en(et)}function em(en){return ei.containerState.size=ea+ei.sliceSerialize(Y.exit("listItemPrefix"),!0).length,et(en)}}function iw(Y,et,en){let ei=this;return ei.containerState._closeFlow=void 0,Y.check(r$,eo,ea);function eo(en){return ei.containerState.furtherBlankLines=ei.containerState.furtherBlankLines||ei.containerState.initialBlankLine,rH(Y,et,"listItemIndent",ei.containerState.size+1)(en)}function ea(en){return ei.containerState.furtherBlankLines||!rF(en)?(ei.containerState.furtherBlankLines=void 0,ei.containerState.initialBlankLine=void 0,eu(en)):(ei.containerState.furtherBlankLines=void 0,ei.containerState.initialBlankLine=void 0,Y.attempt(ib,et,eu)(en))}function eu(eo){return ei.containerState._closeFlow=!0,ei.interrupt=void 0,rH(Y,Y.attempt(ig,et,en),"linePrefix",ei.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(eo)}}function i_(Y,et,en){let ei=this;return rH(Y,eo,"listItemIndent",ei.containerState.size+1);function eo(Y){let eo=ei.events[ei.events.length-1];return eo&&"listItemIndent"===eo[1].type&&eo[2].sliceSerialize(eo[1],!0).length===ei.containerState.size?et(Y):en(Y)}}function iE(Y){Y.exit(this.containerState.type)}function iC(Y,et,en){let ei=this;return rH(Y,eo,"listItemPrefixWhitespace",ei.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function eo(Y){let eo=ei.events[ei.events.length-1];return!rF(Y)&&eo&&"listItemPrefixWhitespace"===eo[1].type?et(Y):en(Y)}}let iT={name:"blockQuote",tokenize:iS,continuation:{tokenize:iA},exit:iM};function iS(Y,et,en){let ei=this;return eo;function eo(et){if(62===et){let en=ei.containerState;return en.open||(Y.enter("blockQuote",{_container:!0}),en.open=!0),Y.enter("blockQuotePrefix"),Y.enter("blockQuoteMarker"),Y.consume(et),Y.exit("blockQuoteMarker"),ea}return en(et)}function ea(en){return rF(en)?(Y.enter("blockQuotePrefixWhitespace"),Y.consume(en),Y.exit("blockQuotePrefixWhitespace"),Y.exit("blockQuotePrefix"),et):(Y.exit("blockQuotePrefix"),et(en))}}function iA(Y,et,en){return rH(Y,Y.attempt(iT,et,en),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function iM(Y){Y.exit("blockQuote")}function iP(Y,et,en,ei,eo,ea,eu,ec,ed){let ef=ed||Number.POSITIVE_INFINITY,eh=0;return ep;function ep(et){return 60===et?(Y.enter(ei),Y.enter(eo),Y.enter(ea),Y.consume(et),Y.exit(ea),em):null===et||41===et||rL(et)?en(et):(Y.enter(ei),Y.enter(eu),Y.enter(ec),Y.enter("chunkString",{contentType:"string"}),eb(et))}function em(en){return 62===en?(Y.enter(ea),Y.consume(en),Y.exit(ea),Y.exit(eo),Y.exit(ei),et):(Y.enter(ec),Y.enter("chunkString",{contentType:"string"}),eg(en))}function eg(et){return 62===et?(Y.exit("chunkString"),Y.exit(ec),em(et)):null===et||60===et||rD(et)?en(et):(Y.consume(et),92===et?ey:eg)}function ey(et){return 60===et||62===et||92===et?(Y.consume(et),eg):eg(et)}function eb(eo){return 40===eo?++eh>ef?en(eo):(Y.consume(eo),eb):41===eo?eh--?(Y.consume(eo),eb):(Y.exit("chunkString"),Y.exit(ec),Y.exit(eu),Y.exit(ei),et(eo)):null===eo||rR(eo)?eh?en(eo):(Y.exit("chunkString"),Y.exit(ec),Y.exit(eu),Y.exit(ei),et(eo)):rL(eo)?en(eo):(Y.consume(eo),92===eo?ek:eb)}function ek(et){return 40===et||41===et||92===et?(Y.consume(et),eb):eb(et)}}function ij(Y,et,en,ei,eo,ea){let eu;let ec=this,ed=0;return ef;function ef(et){return Y.enter(ei),Y.enter(eo),Y.consume(et),Y.exit(eo),Y.enter(ea),eh}function eh(ef){return null===ef||91===ef||93===ef&&!eu||94===ef&&!ed&&"_hiddenFootnoteSupport"in ec.parser.constructs||ed>999?en(ef):93===ef?(Y.exit(ea),Y.enter(eo),Y.consume(ef),Y.exit(eo),Y.exit(ei),et):rD(ef)?(Y.enter("lineEnding"),Y.consume(ef),Y.exit("lineEnding"),eh):(Y.enter("chunkString",{contentType:"string"}),ep(ef))}function ep(et){return null===et||91===et||93===et||rD(et)||ed++>999?(Y.exit("chunkString"),eh(et)):(Y.consume(et),eu=eu||!rF(et),92===et?em:ep)}function em(et){return 91===et||92===et||93===et?(Y.consume(et),ed++,ep):ep(et)}}function iO(Y,et,en,ei,eo,ea){let eu;return ec;function ec(et){return Y.enter(ei),Y.enter(eo),Y.consume(et),Y.exit(eo),eu=40===et?41:et,ed}function ed(en){return en===eu?(Y.enter(eo),Y.consume(en),Y.exit(eo),Y.exit(ei),et):(Y.enter(ea),ef(en))}function ef(et){return et===eu?(Y.exit(ea),ed(eu)):null===et?en(et):rD(et)?(Y.enter("lineEnding"),Y.consume(et),Y.exit("lineEnding"),rH(Y,ef,"linePrefix")):(Y.enter("chunkString",{contentType:"string"}),eh(et))}function eh(et){return et===eu||null===et||rD(et)?(Y.exit("chunkString"),ef(et)):(Y.consume(et),92===et?ep:eh)}function ep(et){return et===eu||92===et?(Y.consume(et),eh):eh(et)}}function iI(Y,et){let en;return ei;function ei(eo){return rD(eo)?(Y.enter("lineEnding"),Y.consume(eo),Y.exit("lineEnding"),en=!0,ei):rF(eo)?rH(Y,ei,en?"linePrefix":"lineSuffix")(eo):et(eo)}}function iN(Y){return Y.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let iL={name:"definition",tokenize:iD},iR={tokenize:iF,partial:!0};function iD(Y,et,en){let ei;let eo=this;return ea;function ea(et){return Y.enter("definition"),ij.call(eo,Y,eu,en,"definitionLabel","definitionLabelMarker","definitionLabelString")(et)}function eu(et){return(ei=iN(eo.sliceSerialize(eo.events[eo.events.length-1][1]).slice(1,-1)),58===et)?(Y.enter("definitionMarker"),Y.consume(et),Y.exit("definitionMarker"),iI(Y,iP(Y,Y.attempt(iR,rH(Y,ec,"whitespace"),rH(Y,ec,"whitespace")),en,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):en(et)}function ec(ea){return null===ea||rD(ea)?(Y.exit("definition"),eo.parser.defined.includes(ei)||eo.parser.defined.push(ei),et(ea)):en(ea)}}function iF(Y,et,en){return ei;function ei(et){return rR(et)?iI(Y,eo)(et):en(et)}function eo(et){return 34===et||39===et||40===et?iO(Y,rH(Y,ea,"whitespace"),en,"definitionTitle","definitionTitleMarker","definitionTitleString")(et):en(et)}function ea(Y){return null===Y||rD(Y)?et(Y):en(Y)}}let iB={name:"codeIndented",tokenize:iU},iz={tokenize:iH,partial:!0};function iU(Y,et,en){let ei=this;return eo;function eo(et){return Y.enter("codeIndented"),rH(Y,ea,"linePrefix",5)(et)}function ea(Y){let et=ei.events[ei.events.length-1];return et&&"linePrefix"===et[1].type&&et[2].sliceSerialize(et[1],!0).length>=4?eu(Y):en(Y)}function eu(et){return null===et?ed(et):rD(et)?Y.attempt(iz,eu,ed)(et):(Y.enter("codeFlowValue"),ec(et))}function ec(et){return null===et||rD(et)?(Y.exit("codeFlowValue"),eu(et)):(Y.consume(et),ec)}function ed(en){return Y.exit("codeIndented"),et(en)}}function iH(Y,et,en){let ei=this;return eo;function eo(et){return ei.parser.lazy[ei.now().line]?en(et):rD(et)?(Y.enter("lineEnding"),Y.consume(et),Y.exit("lineEnding"),eo):rH(Y,ea,"linePrefix",5)(et)}function ea(Y){let ea=ei.events[ei.events.length-1];return ea&&"linePrefix"===ea[1].type&&ea[2].sliceSerialize(ea[1],!0).length>=4?et(Y):rD(Y)?eo(Y):en(Y)}}let iG={name:"headingAtx",tokenize:iW,resolve:iV};function iV(Y,et){let en,ei,eo=Y.length-2,ea=3;return"whitespace"===Y[3][1].type&&(ea+=2),eo-2>ea&&"whitespace"===Y[eo][1].type&&(eo-=2),"atxHeadingSequence"===Y[eo][1].type&&(ea===eo-1||eo-4>ea&&"whitespace"===Y[eo-2][1].type)&&(eo-=ea+1===eo?2:4),eo>ea&&(en={type:"atxHeadingText",start:Y[ea][1].start,end:Y[eo][1].end},ei={type:"chunkText",start:Y[ea][1].start,end:Y[eo][1].end,contentType:"text"},rk(Y,ea,eo-ea+1,[["enter",en,et],["enter",ei,et],["exit",ei,et],["exit",en,et]])),Y}function iW(Y,et,en){let ei=this,eo=0;return ea;function ea(et){return Y.enter("atxHeading"),Y.enter("atxHeadingSequence"),eu(et)}function eu(ea){return 35===ea&&eo++<6?(Y.consume(ea),eu):null===ea||rR(ea)?(Y.exit("atxHeadingSequence"),ei.interrupt?et(ea):ec(ea)):en(ea)}function ec(en){return 35===en?(Y.enter("atxHeadingSequence"),ed(en)):null===en||rD(en)?(Y.exit("atxHeading"),et(en)):rF(en)?rH(Y,ec,"whitespace")(en):(Y.enter("atxHeadingText"),ef(en))}function ed(et){return 35===et?(Y.consume(et),ed):(Y.exit("atxHeadingSequence"),ec(et))}function ef(et){return null===et||35===et||rR(et)?(Y.exit("atxHeadingText"),ec(et)):(Y.consume(et),ef)}}let iq={name:"setextUnderline",tokenize:iK,resolveTo:iZ};function iZ(Y,et){let en,ei,eo,ea=Y.length;for(;ea--;)if("enter"===Y[ea][0]){if("content"===Y[ea][1].type){en=ea;break}"paragraph"===Y[ea][1].type&&(ei=ea)}else"content"===Y[ea][1].type&&Y.splice(ea,1),eo||"definition"!==Y[ea][1].type||(eo=ea);let eu={type:"setextHeading",start:Object.assign({},Y[ei][1].start),end:Object.assign({},Y[Y.length-1][1].end)};return Y[ei][1].type="setextHeadingText",eo?(Y.splice(ei,0,["enter",eu,et]),Y.splice(eo+1,0,["exit",Y[en][1],et]),Y[en][1].end=Object.assign({},Y[eo][1].end)):Y[en][1]=eu,Y.push(["exit",eu,et]),Y}function iK(Y,et,en){let ei,eo;let ea=this,eu=ea.events.length;for(;eu--;)if("lineEnding"!==ea.events[eu][1].type&&"linePrefix"!==ea.events[eu][1].type&&"content"!==ea.events[eu][1].type){eo="paragraph"===ea.events[eu][1].type;break}return ec;function ec(et){return!ea.parser.lazy[ea.now().line]&&(ea.interrupt||eo)?(Y.enter("setextHeadingLine"),Y.enter("setextHeadingLineSequence"),ei=et,ed(et)):en(et)}function ed(et){return et===ei?(Y.consume(et),ed):(Y.exit("setextHeadingLineSequence"),rH(Y,ef,"lineSuffix")(et))}function ef(ei){return null===ei||rD(ei)?(Y.exit("setextHeadingLine"),et(ei)):en(ei)}}let i$=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],iQ=["pre","script","style","textarea"],iJ={name:"htmlFlow",tokenize:i5,resolveTo:i9,concrete:!0},i0={tokenize:i4,partial:!0};function i9(Y){let et=Y.length;for(;et--&&("enter"!==Y[et][0]||"htmlFlow"!==Y[et][1].type););return et>1&&"linePrefix"===Y[et-2][1].type&&(Y[et][1].start=Y[et-2][1].start,Y[et+1][1].start=Y[et-2][1].start,Y.splice(et-2,2)),Y}function i5(Y,et,en){let ei,eo,ea,eu,ec;let ed=this;return ef;function ef(et){return Y.enter("htmlFlow"),Y.enter("htmlFlowData"),Y.consume(et),eh}function eh(eu){return 33===eu?(Y.consume(eu),ep):47===eu?(Y.consume(eu),ey):63===eu?(Y.consume(eu),ei=3,ed.interrupt?et:ez):rM(eu)?(Y.consume(eu),ea=String.fromCharCode(eu),eo=!0,eb):en(eu)}function ep(eo){return 45===eo?(Y.consume(eo),ei=2,em):91===eo?(Y.consume(eo),ei=5,ea="CDATA[",eu=0,eg):rM(eo)?(Y.consume(eo),ei=4,ed.interrupt?et:ez):en(eo)}function em(ei){return 45===ei?(Y.consume(ei),ed.interrupt?et:ez):en(ei)}function eg(ei){return ei===ea.charCodeAt(eu++)?(Y.consume(ei),eu===ea.length?ed.interrupt?et:eO:eg):en(ei)}function ey(et){return rM(et)?(Y.consume(et),ea=String.fromCharCode(et),eb):en(et)}function eb(eu){return null===eu||47===eu||62===eu||rR(eu)?47!==eu&&eo&&iQ.includes(ea.toLowerCase())?(ei=1,ed.interrupt?et(eu):eO(eu)):i$.includes(ea.toLowerCase())?(ei=6,47===eu)?(Y.consume(eu),ek):ed.interrupt?et(eu):eO(eu):(ei=7,ed.interrupt&&!ed.parser.lazy[ed.now().line]?en(eu):eo?e_(eu):ew(eu)):45===eu||rO(eu)?(Y.consume(eu),ea+=String.fromCharCode(eu),eb):en(eu)}function ek(ei){return 62===ei?(Y.consume(ei),ed.interrupt?et:eO):en(ei)}function ew(et){return rF(et)?(Y.consume(et),ew):eP(et)}function e_(et){return 47===et?(Y.consume(et),eP):58===et||95===et||rM(et)?(Y.consume(et),eE):rF(et)?(Y.consume(et),e_):eP(et)}function eE(et){return 45===et||46===et||58===et||95===et||rO(et)?(Y.consume(et),eE):eC(et)}function eC(et){return 61===et?(Y.consume(et),eT):rF(et)?(Y.consume(et),eC):e_(et)}function eT(et){return null===et||60===et||61===et||62===et||96===et?en(et):34===et||39===et?(Y.consume(et),ec=et,eS):rF(et)?(Y.consume(et),eT):(ec=null,eA(et))}function eS(et){return null===et||rD(et)?en(et):et===ec?(Y.consume(et),eM):(Y.consume(et),eS)}function eA(et){return null===et||34===et||39===et||60===et||61===et||62===et||96===et||rR(et)?eC(et):(Y.consume(et),eA)}function eM(Y){return 47===Y||62===Y||rF(Y)?e_(Y):en(Y)}function eP(et){return 62===et?(Y.consume(et),ej):en(et)}function ej(et){return rF(et)?(Y.consume(et),ej):null===et||rD(et)?eO(et):en(et)}function eO(et){return 45===et&&2===ei?(Y.consume(et),eR):60===et&&1===ei?(Y.consume(et),eD):62===et&&4===ei?(Y.consume(et),eU):63===et&&3===ei?(Y.consume(et),ez):93===et&&5===ei?(Y.consume(et),eB):rD(et)&&(6===ei||7===ei)?Y.check(i0,eU,eI)(et):null===et||rD(et)?eI(et):(Y.consume(et),eO)}function eI(et){return Y.exit("htmlFlowData"),eN(et)}function eN(et){return null===et?eH(et):rD(et)?Y.attempt({tokenize:eL,partial:!0},eN,eH)(et):(Y.enter("htmlFlowData"),eO(et))}function eL(Y,et,en){return ei;function ei(et){return Y.enter("lineEnding"),Y.consume(et),Y.exit("lineEnding"),eo}function eo(Y){return ed.parser.lazy[ed.now().line]?en(Y):et(Y)}}function eR(et){return 45===et?(Y.consume(et),ez):eO(et)}function eD(et){return 47===et?(Y.consume(et),ea="",eF):eO(et)}function eF(et){return 62===et&&iQ.includes(ea.toLowerCase())?(Y.consume(et),eU):rM(et)&&ea.length<8?(Y.consume(et),ea+=String.fromCharCode(et),eF):eO(et)}function eB(et){return 93===et?(Y.consume(et),ez):eO(et)}function ez(et){return 62===et?(Y.consume(et),eU):45===et&&2===ei?(Y.consume(et),ez):eO(et)}function eU(et){return null===et||rD(et)?(Y.exit("htmlFlowData"),eH(et)):(Y.consume(et),eU)}function eH(en){return Y.exit("htmlFlow"),et(en)}}function i4(Y,et,en){return ei;function ei(ei){return Y.exit("htmlFlowData"),Y.enter("lineEndingBlank"),Y.consume(ei),Y.exit("lineEndingBlank"),Y.attempt(r$,et,en)}}let i3={name:"codeFenced",tokenize:i6,concrete:!0};function i6(Y,et,en){let ei;let eo=this,ea={tokenize:eT,partial:!0},eu={tokenize:eC,partial:!0},ec=this.events[this.events.length-1],ed=ec&&"linePrefix"===ec[1].type?ec[2].sliceSerialize(ec[1],!0).length:0,ef=0;return eh;function eh(et){return Y.enter("codeFenced"),Y.enter("codeFencedFence"),Y.enter("codeFencedFenceSequence"),ei=et,ep(et)}function ep(et){return et===ei?(Y.consume(et),ef++,ep):(Y.exit("codeFencedFenceSequence"),ef<3?en(et):rH(Y,em,"whitespace")(et))}function em(et){return null===et||rD(et)?ek(et):(Y.enter("codeFencedFenceInfo"),Y.enter("chunkString",{contentType:"string"}),eg(et))}function eg(et){return null===et||rR(et)?(Y.exit("chunkString"),Y.exit("codeFencedFenceInfo"),rH(Y,ey,"whitespace")(et)):96===et&&et===ei?en(et):(Y.consume(et),eg)}function ey(et){return null===et||rD(et)?ek(et):(Y.enter("codeFencedFenceMeta"),Y.enter("chunkString",{contentType:"string"}),eb(et))}function eb(et){return null===et||rD(et)?(Y.exit("chunkString"),Y.exit("codeFencedFenceMeta"),ek(et)):96===et&&et===ei?en(et):(Y.consume(et),eb)}function ek(en){return Y.exit("codeFencedFence"),eo.interrupt?et(en):ew(en)}function ew(et){return null===et?eE(et):rD(et)?Y.attempt(eu,Y.attempt(ea,eE,ed?rH(Y,ew,"linePrefix",ed+1):ew),eE)(et):(Y.enter("codeFlowValue"),e_(et))}function e_(et){return null===et||rD(et)?(Y.exit("codeFlowValue"),ew(et)):(Y.consume(et),e_)}function eE(en){return Y.exit("codeFenced"),et(en)}function eC(Y,et,en){let ei=this;return eo;function eo(et){return Y.enter("lineEnding"),Y.consume(et),Y.exit("lineEnding"),ea}function ea(Y){return ei.parser.lazy[ei.now().line]?en(Y):et(Y)}}function eT(Y,et,en){let eo=0;return rH(Y,ea,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ea(et){return Y.enter("codeFencedFence"),Y.enter("codeFencedFenceSequence"),eu(et)}function eu(et){return et===ei?(Y.consume(et),eo++,eu):eo<ef?en(et):(Y.exit("codeFencedFenceSequence"),rH(Y,ec,"whitespace")(et))}function ec(ei){return null===ei||rD(ei)?(Y.exit("codeFencedFence"),et(ei)):en(ei)}}}let i7=document.createElement("i");function i8(Y){let et="&"+Y+";";i7.innerHTML=et;let en=i7.textContent;return(59!==en.charCodeAt(en.length-1)||"semi"===Y)&&en!==et&&en}let ot={name:"characterReference",tokenize:or};function or(Y,et,en){let ei,eo;let ea=this,eu=0;return ec;function ec(et){return Y.enter("characterReference"),Y.enter("characterReferenceMarker"),Y.consume(et),Y.exit("characterReferenceMarker"),ed}function ed(et){return 35===et?(Y.enter("characterReferenceMarkerNumeric"),Y.consume(et),Y.exit("characterReferenceMarkerNumeric"),ef):(Y.enter("characterReferenceValue"),ei=31,eo=rO,eh(et))}function ef(et){return 88===et||120===et?(Y.enter("characterReferenceMarkerHexadecimal"),Y.consume(et),Y.exit("characterReferenceMarkerHexadecimal"),Y.enter("characterReferenceValue"),ei=6,eo=rj,eh):(Y.enter("characterReferenceValue"),ei=7,eo=rP,eh(et))}function eh(ec){let ed;return 59===ec&&eu?(ed=Y.exit("characterReferenceValue"),eo!==rO||i8(ea.sliceSerialize(ed)))?(Y.enter("characterReferenceMarker"),Y.consume(ec),Y.exit("characterReferenceMarker"),Y.exit("characterReference"),et):en(ec):eo(ec)&&eu++<ei?(Y.consume(ec),eh):en(ec)}}let oi={name:"characterEscape",tokenize:oo};function oo(Y,et,en){return ei;function ei(et){return Y.enter("characterEscape"),Y.enter("escapeMarker"),Y.consume(et),Y.exit("escapeMarker"),eo}function eo(ei){return rI(ei)?(Y.enter("characterEscapeValue"),Y.consume(ei),Y.exit("characterEscapeValue"),Y.exit("characterEscape"),et):en(ei)}}let os={name:"lineEnding",tokenize:ol};function ol(Y,et){return en;function en(en){return Y.enter("lineEnding"),Y.consume(en),Y.exit("lineEnding"),rH(Y,et,"linePrefix")}}let ou={name:"labelEnd",tokenize:og,resolveTo:om,resolveAll:oh},oc={tokenize:ov},od={tokenize:ow},of={tokenize:o_};function oh(Y){let et,en=-1;for(;++en<Y.length;)("labelImage"===(et=Y[en][1]).type||"labelLink"===et.type||"labelEnd"===et.type)&&(Y.splice(en+1,"labelImage"===et.type?4:2),et.type="data",en++);return Y}function om(Y,et){let en,ei,eo,ea,eu=Y.length,ec=0;for(;eu--;)if(en=Y[eu][1],ei){if("link"===en.type||"labelLink"===en.type&&en._inactive)break;"enter"===Y[eu][0]&&"labelLink"===en.type&&(en._inactive=!0)}else if(eo){if("enter"===Y[eu][0]&&("labelImage"===en.type||"labelLink"===en.type)&&!en._balanced&&(ei=eu,"labelLink"!==en.type)){ec=2;break}}else"labelEnd"===en.type&&(eo=eu);let ed={type:"labelLink"===Y[ei][1].type?"link":"image",start:Object.assign({},Y[ei][1].start),end:Object.assign({},Y[Y.length-1][1].end)},ef={type:"label",start:Object.assign({},Y[ei][1].start),end:Object.assign({},Y[eo][1].end)},eh={type:"labelText",start:Object.assign({},Y[ei+ec+2][1].end),end:Object.assign({},Y[eo-2][1].start)};return ea=r_(ea=[["enter",ed,et],["enter",ef,et]],Y.slice(ei+1,ei+ec+3)),ea=r_(ea,[["enter",eh,et]]),ea=r_(ea,io(et.parser.constructs.insideSpan.null,Y.slice(ei+ec+4,eo-3),et)),ea=r_(ea,[["exit",eh,et],Y[eo-2],Y[eo-1],["exit",ef,et]]),ea=r_(ea,Y.slice(eo+1)),ea=r_(ea,[["exit",ed,et]]),rk(Y,ei,Y.length,ea),Y}function og(Y,et,en){let ei,eo;let ea=this,eu=ea.events.length;for(;eu--;)if(("labelImage"===ea.events[eu][1].type||"labelLink"===ea.events[eu][1].type)&&!ea.events[eu][1]._balanced){ei=ea.events[eu][1];break}return ec;function ec(et){return ei?ei._inactive?ef(et):(eo=ea.parser.defined.includes(iN(ea.sliceSerialize({start:ei.end,end:ea.now()}))),Y.enter("labelEnd"),Y.enter("labelMarker"),Y.consume(et),Y.exit("labelMarker"),Y.exit("labelEnd"),ed):en(et)}function ed(en){return 40===en?Y.attempt(oc,et,eo?et:ef)(en):91===en?Y.attempt(od,et,eo?Y.attempt(of,et,ef):ef)(en):eo?et(en):ef(en)}function ef(Y){return ei._balanced=!0,en(Y)}}function ov(Y,et,en){return ei;function ei(et){return Y.enter("resource"),Y.enter("resourceMarker"),Y.consume(et),Y.exit("resourceMarker"),iI(Y,eo)}function eo(et){return 41===et?ec(et):iP(Y,ea,en,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(et)}function ea(et){return rR(et)?iI(Y,eu)(et):ec(et)}function eu(et){return 34===et||39===et||40===et?iO(Y,iI(Y,ec),en,"resourceTitle","resourceTitleMarker","resourceTitleString")(et):ec(et)}function ec(ei){return 41===ei?(Y.enter("resourceMarker"),Y.consume(ei),Y.exit("resourceMarker"),Y.exit("resource"),et):en(ei)}}function ow(Y,et,en){let ei=this;return eo;function eo(et){return ij.call(ei,Y,ea,en,"reference","referenceMarker","referenceString")(et)}function ea(Y){return ei.parser.defined.includes(iN(ei.sliceSerialize(ei.events[ei.events.length-1][1]).slice(1,-1)))?et(Y):en(Y)}}function o_(Y,et,en){return ei;function ei(et){return Y.enter("reference"),Y.enter("referenceMarker"),Y.consume(et),Y.exit("referenceMarker"),eo}function eo(ei){return 93===ei?(Y.enter("referenceMarker"),Y.consume(ei),Y.exit("referenceMarker"),Y.exit("reference"),et):en(ei)}}let oE={name:"labelStartImage",tokenize:oC,resolveAll:ou.resolveAll};function oC(Y,et,en){let ei=this;return eo;function eo(et){return Y.enter("labelImage"),Y.enter("labelImageMarker"),Y.consume(et),Y.exit("labelImageMarker"),ea}function ea(et){return 91===et?(Y.enter("labelMarker"),Y.consume(et),Y.exit("labelMarker"),Y.exit("labelImage"),eu):en(et)}function eu(Y){return 94===Y&&"_hiddenFootnoteSupport"in ei.parser.constructs?en(Y):et(Y)}}function oT(Y){return null===Y||rR(Y)||rB(Y)?1:rz(Y)?2:void 0}let oS={name:"attention",tokenize:oM,resolveAll:oA};function oA(Y,et){let en,ei,eo,ea,eu,ec,ed,ef,eh=-1;for(;++eh<Y.length;)if("enter"===Y[eh][0]&&"attentionSequence"===Y[eh][1].type&&Y[eh][1]._close){for(en=eh;en--;)if("exit"===Y[en][0]&&"attentionSequence"===Y[en][1].type&&Y[en][1]._open&&et.sliceSerialize(Y[en][1]).charCodeAt(0)===et.sliceSerialize(Y[eh][1]).charCodeAt(0)){if((Y[en][1]._close||Y[eh][1]._open)&&(Y[eh][1].end.offset-Y[eh][1].start.offset)%3&&!((Y[en][1].end.offset-Y[en][1].start.offset+Y[eh][1].end.offset-Y[eh][1].start.offset)%3))continue;ec=Y[en][1].end.offset-Y[en][1].start.offset>1&&Y[eh][1].end.offset-Y[eh][1].start.offset>1?2:1;let ep=Object.assign({},Y[en][1].end),em=Object.assign({},Y[eh][1].start);oP(ep,-ec),oP(em,ec),ea={type:ec>1?"strongSequence":"emphasisSequence",start:ep,end:Object.assign({},Y[en][1].end)},eu={type:ec>1?"strongSequence":"emphasisSequence",start:Object.assign({},Y[eh][1].start),end:em},eo={type:ec>1?"strongText":"emphasisText",start:Object.assign({},Y[en][1].end),end:Object.assign({},Y[eh][1].start)},ei={type:ec>1?"strong":"emphasis",start:Object.assign({},ea.start),end:Object.assign({},eu.end)},Y[en][1].end=Object.assign({},ea.start),Y[eh][1].start=Object.assign({},eu.end),ed=[],Y[en][1].end.offset-Y[en][1].start.offset&&(ed=r_(ed,[["enter",Y[en][1],et],["exit",Y[en][1],et]])),ed=r_(ed,[["enter",ei,et],["enter",ea,et],["exit",ea,et],["enter",eo,et]]),ed=r_(ed,io(et.parser.constructs.insideSpan.null,Y.slice(en+1,eh),et)),ed=r_(ed,[["exit",eo,et],["enter",eu,et],["exit",eu,et],["exit",ei,et]]),Y[eh][1].end.offset-Y[eh][1].start.offset?(ef=2,ed=r_(ed,[["enter",Y[eh][1],et],["exit",Y[eh][1],et]])):ef=0,rk(Y,en-1,eh-en+3,ed),eh=en+ed.length-ef-2;break}}for(eh=-1;++eh<Y.length;)"attentionSequence"===Y[eh][1].type&&(Y[eh][1].type="data");return Y}function oM(Y,et){let en;let ei=this.parser.constructs.attentionMarkers.null,eo=this.previous,ea=oT(eo);return eu;function eu(et){return Y.enter("attentionSequence"),en=et,ec(et)}function ec(eu){if(eu===en)return Y.consume(eu),ec;let ed=Y.exit("attentionSequence"),ef=oT(eu),eh=!ef||2===ef&&ea||ei.includes(eu),ep=!ea||2===ea&&ef||ei.includes(eo);return ed._open=!!(42===en?eh:eh&&(ea||!ep)),ed._close=!!(42===en?ep:ep&&(ef||!eh)),et(eu)}}function oP(Y,et){Y.column+=et,Y.offset+=et,Y._bufferIndex+=et}let oj={name:"autolink",tokenize:oO};function oO(Y,et,en){let ei=1;return eo;function eo(et){return Y.enter("autolink"),Y.enter("autolinkMarker"),Y.consume(et),Y.exit("autolinkMarker"),Y.enter("autolinkProtocol"),ea}function ea(et){return rM(et)?(Y.consume(et),eu):rN(et)?ef(et):en(et)}function eu(Y){return 43===Y||45===Y||46===Y||rO(Y)?ec(Y):ef(Y)}function ec(et){return 58===et?(Y.consume(et),ed):(43===et||45===et||46===et||rO(et))&&ei++<32?(Y.consume(et),ec):ef(et)}function ed(et){return 62===et?(Y.exit("autolinkProtocol"),eg(et)):null===et||32===et||60===et||rL(et)?en(et):(Y.consume(et),ed)}function ef(et){return 64===et?(Y.consume(et),ei=0,eh):rN(et)?(Y.consume(et),ef):en(et)}function eh(Y){return rO(Y)?ep(Y):en(Y)}function ep(et){return 46===et?(Y.consume(et),ei=0,eh):62===et?(Y.exit("autolinkProtocol").type="autolinkEmail",eg(et)):em(et)}function em(et){return(45===et||rO(et))&&ei++<63?(Y.consume(et),45===et?em:ep):en(et)}function eg(en){return Y.enter("autolinkMarker"),Y.consume(en),Y.exit("autolinkMarker"),Y.exit("autolink"),et}}let oI={name:"htmlText",tokenize:oN};function oN(Y,et,en){let ei,eo,ea,eu;let ec=this;return ed;function ed(et){return Y.enter("htmlText"),Y.enter("htmlTextData"),Y.consume(et),ef}function ef(et){return 33===et?(Y.consume(et),eh):47===et?(Y.consume(et),eA):63===et?(Y.consume(et),eT):rM(et)?(Y.consume(et),ej):en(et)}function eh(et){return 45===et?(Y.consume(et),ep):91===et?(Y.consume(et),eo="CDATA[",ea=0,ek):rM(et)?(Y.consume(et),eC):en(et)}function ep(et){return 45===et?(Y.consume(et),em):en(et)}function em(et){return null===et||62===et?en(et):45===et?(Y.consume(et),eg):ey(et)}function eg(Y){return null===Y||62===Y?en(Y):ey(Y)}function ey(et){return null===et?en(et):45===et?(Y.consume(et),eb):rD(et)?(eu=ey,eB(et)):(Y.consume(et),ey)}function eb(et){return 45===et?(Y.consume(et),eU):ey(et)}function ek(et){return et===eo.charCodeAt(ea++)?(Y.consume(et),ea===eo.length?ew:ek):en(et)}function ew(et){return null===et?en(et):93===et?(Y.consume(et),e_):rD(et)?(eu=ew,eB(et)):(Y.consume(et),ew)}function e_(et){return 93===et?(Y.consume(et),eE):ew(et)}function eE(et){return 62===et?eU(et):93===et?(Y.consume(et),eE):ew(et)}function eC(et){return null===et||62===et?eU(et):rD(et)?(eu=eC,eB(et)):(Y.consume(et),eC)}function eT(et){return null===et?en(et):63===et?(Y.consume(et),eS):rD(et)?(eu=eT,eB(et)):(Y.consume(et),eT)}function eS(Y){return 62===Y?eU(Y):eT(Y)}function eA(et){return rM(et)?(Y.consume(et),eM):en(et)}function eM(et){return 45===et||rO(et)?(Y.consume(et),eM):eP(et)}function eP(et){return rD(et)?(eu=eP,eB(et)):rF(et)?(Y.consume(et),eP):eU(et)}function ej(et){return 45===et||rO(et)?(Y.consume(et),ej):47===et||62===et||rR(et)?eO(et):en(et)}function eO(et){return 47===et?(Y.consume(et),eU):58===et||95===et||rM(et)?(Y.consume(et),eI):rD(et)?(eu=eO,eB(et)):rF(et)?(Y.consume(et),eO):eU(et)}function eI(et){return 45===et||46===et||58===et||95===et||rO(et)?(Y.consume(et),eI):eN(et)}function eN(et){return 61===et?(Y.consume(et),eL):rD(et)?(eu=eN,eB(et)):rF(et)?(Y.consume(et),eN):eO(et)}function eL(et){return null===et||60===et||61===et||62===et||96===et?en(et):34===et||39===et?(Y.consume(et),ei=et,eR):rD(et)?(eu=eL,eB(et)):rF(et)?(Y.consume(et),eL):(Y.consume(et),ei=void 0,eF)}function eR(et){return et===ei?(Y.consume(et),eD):null===et?en(et):rD(et)?(eu=eR,eB(et)):(Y.consume(et),eR)}function eD(Y){return 62===Y||47===Y||rR(Y)?eO(Y):en(Y)}function eF(et){return null===et||34===et||39===et||60===et||61===et||96===et?en(et):62===et||rR(et)?eO(et):(Y.consume(et),eF)}function eB(et){return Y.exit("htmlTextData"),Y.enter("lineEnding"),Y.consume(et),Y.exit("lineEnding"),rH(Y,ez,"linePrefix",ec.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ez(et){return Y.enter("htmlTextData"),eu(et)}function eU(ei){return 62===ei?(Y.consume(ei),Y.exit("htmlTextData"),Y.exit("htmlText"),et):en(ei)}}let oL={name:"labelStartLink",tokenize:oR,resolveAll:ou.resolveAll};function oR(Y,et,en){let ei=this;return eo;function eo(et){return Y.enter("labelLink"),Y.enter("labelMarker"),Y.consume(et),Y.exit("labelMarker"),Y.exit("labelLink"),ea}function ea(Y){return 94===Y&&"_hiddenFootnoteSupport"in ei.parser.constructs?en(Y):et(Y)}}let oD={name:"hardBreakEscape",tokenize:oF};function oF(Y,et,en){return ei;function ei(et){return Y.enter("hardBreakEscape"),Y.enter("escapeMarker"),Y.consume(et),eo}function eo(ei){return rD(ei)?(Y.exit("escapeMarker"),Y.exit("hardBreakEscape"),et(ei)):en(ei)}}let oB={name:"codeText",tokenize:oH,resolve:oz,previous:oU};function oz(Y){let et,en,ei=Y.length-4,eo=3;if(("lineEnding"===Y[3][1].type||"space"===Y[eo][1].type)&&("lineEnding"===Y[ei][1].type||"space"===Y[ei][1].type)){for(et=eo;++et<ei;)if("codeTextData"===Y[et][1].type){Y[eo][1].type="codeTextPadding",Y[ei][1].type="codeTextPadding",eo+=2,ei-=2;break}}for(et=eo-1,ei++;++et<=ei;)void 0===en?et!==ei&&"lineEnding"!==Y[et][1].type&&(en=et):(et===ei||"lineEnding"===Y[et][1].type)&&(Y[en][1].type="codeTextData",et!==en+2&&(Y[en][1].end=Y[et-1][1].end,Y.splice(en+2,et-en-2),ei-=et-en-2,et=en+2),en=void 0);return Y}function oU(Y){return 96!==Y||"characterEscape"===this.events[this.events.length-1][1].type}function oH(Y,et,en){let ei,eo,ea=0;return eu;function eu(et){return Y.enter("codeText"),Y.enter("codeTextSequence"),ec(et)}function ec(et){return 96===et?(Y.consume(et),ea++,ec):(Y.exit("codeTextSequence"),ed(et))}function ed(et){return null===et?en(et):96===et?(eo=Y.enter("codeTextSequence"),ei=0,eh(et)):32===et?(Y.enter("space"),Y.consume(et),Y.exit("space"),ed):rD(et)?(Y.enter("lineEnding"),Y.consume(et),Y.exit("lineEnding"),ed):(Y.enter("codeTextData"),ef(et))}function ef(et){return null===et||32===et||96===et||rD(et)?(Y.exit("codeTextData"),ed(et)):(Y.consume(et),ef)}function eh(en){return 96===en?(Y.consume(en),ei++,eh):ei===ea?(Y.exit("codeTextSequence"),Y.exit("codeText"),et(en)):(eo.type="codeTextData",ef(en))}}let oG={42:ig,43:ig,45:ig,48:ig,49:ig,50:ig,51:ig,52:ig,53:ig,54:ig,55:ig,56:ig,57:ig,62:iT},oV={91:iL},oW={[-2]:iB,[-1]:iB,32:iB},oq={35:iG,42:ih,45:[iq,ih],60:iJ,61:iq,95:ih,96:i3,126:i3},oZ={38:ot,92:oi},oK={[-5]:os,[-4]:os,[-3]:os,33:oE,38:ot,42:oS,60:[oj,oI],91:oL,92:[oD,oi],93:ou,95:oS,96:oB},o$={null:[oS,r3]},oQ={null:[42,95]},oJ={null:[]};function o0(Y={}){let et=rC([em].concat(Y.extensions||[])),en={defined:[],lazy:{},constructs:et,content:ei(rG),document:ei(rW),flow:ei(r5),string:ei(r6),text:ei(r7)};return en;function ei(Y){return et;function et(et){return ia(en,Y,et)}}}let o9=/[\0\t\n\r]/g;function o5(){let Y,et=1,en="",ei=!0;return eo;function eo(eo,ea,eu){let ec,ed,ef,eh,ep;let em=[];for(eo=en+eo.toString(ea),ef=0,en="",ei&&(65279===eo.charCodeAt(0)&&ef++,ei=void 0);ef<eo.length;){if(o9.lastIndex=ef,eh=(ec=o9.exec(eo))&&void 0!==ec.index?ec.index:eo.length,ep=eo.charCodeAt(eh),!ec){en=eo.slice(ef);break}if(10===ep&&ef===eh&&Y)em.push(-3),Y=void 0;else switch(Y&&(em.push(-5),Y=void 0),ef<eh&&(em.push(eo.slice(ef,eh)),et+=eh-ef),ep){case 0:em.push(65533),et++;break;case 9:for(ed=4*Math.ceil(et/4),em.push(-2);et++<ed;)em.push(-1);break;case 10:em.push(-4),et=1;break;default:Y=!0,et=1}ef=eh+1}return eu&&(Y&&em.push(-5),en&&em.push(en),em.push(null)),em}}function o4(Y){for(;!rQ(Y););return Y}function o3(Y,et){let en=Number.parseInt(Y,et);return en<9||11===en||en>13&&en<32||en>126&&en<160||en>55295&&en<57344||en>64975&&en<65008||(65535&en)==65535||(65535&en)==65534||en>1114111?"<22>":String.fromCharCode(en)}let o6=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function o7(Y){return Y.replace(o6,o8)}function o8(Y,et,en){if(et)return et;let ei=en.charCodeAt(0);if(35===ei){let Y=en.charCodeAt(1),et=120===Y||88===Y;return o3(en.slice(et?2:1),et?16:10)}return i8(en)||Y}let ai={}.hasOwnProperty,ao=function(Y,et,en){return"string"!=typeof et&&(en=et,et=void 0),aa(en)(o4(o0(en).document().write(o5()(Y,et,!0))))};function aa(Y={}){let et=al({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:ed(ta),autolinkProtocol:eI,autolinkEmail:eI,atxHeading:ed(e6),blockQuote:ed(e0),characterEscape:eI,characterReference:eI,codeFenced:ed(e9),codeFencedFenceInfo:ef,codeFencedFenceMeta:ef,codeIndented:ed(e9,ef),codeText:ed(e5,ef),codeTextData:eI,data:eI,codeFlowValue:eI,definition:ed(e4),definitionDestinationString:ef,definitionLabelString:ef,definitionTitleString:ef,emphasis:ed(e3),hardBreakEscape:ed(e7),hardBreakTrailing:ed(e7),htmlFlow:ed(e8,ef),htmlFlowData:eI,htmlText:ed(e8,ef),htmlTextData:eI,image:ed(tt),label:ef,link:ed(ta),listItem:ed(tc),listItemValue:eb,listOrdered:ed(tu,ey),listUnordered:ed(tu),paragraph:ed(td),reference:eK,referenceString:ef,resourceDestinationString:ef,resourceTitleString:ef,setextHeading:ed(e6),strong:ed(tf),thematicBreak:ed(tp)},exit:{atxHeading:ep(),atxHeadingSequence:eM,autolink:ep(),autolinkEmail:eJ,autolinkProtocol:eX,blockQuote:ep(),characterEscapeValue:eN,characterReferenceMarkerHexadecimal:eY,characterReferenceMarkerNumeric:eY,characterReferenceValue:eQ,codeFenced:ep(eE),codeFencedFence:e_,codeFencedFenceInfo:ek,codeFencedFenceMeta:ew,codeFlowValue:eN,codeIndented:ep(eC),codeText:ep(eB),codeTextData:eN,data:eN,definition:ep(),definitionDestinationString:eA,definitionLabelString:eT,definitionTitleString:eS,emphasis:ep(),hardBreakEscape:ep(eR),hardBreakTrailing:ep(eR),htmlFlow:ep(eD),htmlFlowData:eN,htmlText:ep(eF),htmlTextData:eN,image:ep(eU),label:eG,labelText:eH,lineEnding:eL,link:ep(ez),listItem:ep(),listOrdered:ep(),listUnordered:ep(),paragraph:ep(),referenceString:e$,resourceDestinationString:eV,resourceTitleString:eW,resource:eZ,setextHeading:ep(eO),setextHeadingLineSequence:ej,setextHeadingText:eP,strong:ep(),thematicBreak:ep()}},Y.mdastExtensions||[]),en={};return ei;function ei(Y){let en={type:"root",children:[]},ei=[en],ed=[],ep=[],ey={stack:ei,tokenStack:ed,config:et,enter:eh,exit:em,buffer:ef,resume:eg,setData:ea,getData:eu},eb=-1;for(;++eb<Y.length;)if("listOrdered"===Y[eb][1].type||"listUnordered"===Y[eb][1].type){if("enter"===Y[eb][0])ep.push(eb);else{let et=ep.pop();eb=eo(Y,et,eb)}}for(eb=-1;++eb<Y.length;){let en=et[Y[eb][0]];ai.call(en,Y[eb][1].type)&&en[Y[eb][1].type].call(Object.assign({sliceSerialize:Y[eb][2].sliceSerialize},ey),Y[eb][1])}if(ed.length>0){let Y=ed[ed.length-1],et=Y[1]||ac;et.call(ey,void 0,Y[0])}for(en.position={start:ec(Y.length>0?Y[0][1].start:{line:1,column:1,offset:0}),end:ec(Y.length>0?Y[Y.length-2][1].end:{line:1,column:1,offset:0})},eb=-1;++eb<et.transforms.length;)en=et.transforms[eb](en)||en;return en}function eo(Y,et,en){let ei,eo,ea,eu,ec=et-1,ed=-1,ef=!1;for(;++ec<=en;){let et=Y[ec];if("listUnordered"===et[1].type||"listOrdered"===et[1].type||"blockQuote"===et[1].type?("enter"===et[0]?ed++:ed--,eu=void 0):"lineEndingBlank"===et[1].type?"enter"===et[0]&&(!ei||eu||ed||ea||(ea=ec),eu=void 0):"linePrefix"===et[1].type||"listItemValue"===et[1].type||"listItemMarker"===et[1].type||"listItemPrefix"===et[1].type||"listItemPrefixWhitespace"===et[1].type||(eu=void 0),!ed&&"enter"===et[0]&&"listItemPrefix"===et[1].type||-1===ed&&"exit"===et[0]&&("listUnordered"===et[1].type||"listOrdered"===et[1].type)){if(ei){let eu=ec;for(eo=void 0;eu--;){let et=Y[eu];if("lineEnding"===et[1].type||"lineEndingBlank"===et[1].type){if("exit"===et[0])continue;eo&&(Y[eo][1].type="lineEndingBlank",ef=!0),et[1].type="lineEnding",eo=eu}else if("linePrefix"===et[1].type||"blockQuotePrefix"===et[1].type||"blockQuotePrefixWhitespace"===et[1].type||"blockQuoteMarker"===et[1].type||"listItemIndent"===et[1].type);else break}ea&&(!eo||ea<eo)&&(ei._spread=!0),ei.end=Object.assign({},eo?Y[eo][1].start:et[1].end),Y.splice(eo||ec,0,["exit",ei,et[2]]),ec++,en++}"listItemPrefix"===et[1].type&&(ei={type:"listItem",_spread:!1,start:Object.assign({},et[1].start)},Y.splice(ec,0,["enter",ei,et[2]]),ec++,en++,ea=void 0,eu=!0)}}return Y[et][1]._spread=ef,en}function ea(Y,et){en[Y]=et}function eu(Y){return en[Y]}function ec(Y){return{line:Y.line,column:Y.column,offset:Y.offset}}function ed(Y,et){return en;function en(en){eh.call(this,Y(en),en),et&&et.call(this,en)}}function ef(){this.stack.push({type:"fragment",children:[]})}function eh(Y,et,en){let ei=this.stack[this.stack.length-1];return ei.children.push(Y),this.stack.push(Y),this.tokenStack.push([et,en]),Y.position={start:ec(et.start)},Y}function ep(Y){return et;function et(et){Y&&Y.call(this,et),em.call(this,et)}}function em(Y,et){let en=this.stack.pop(),ei=this.tokenStack.pop();if(ei){if(ei[0].type!==Y.type){if(et)et.call(this,Y,ei[0]);else{let et=ei[1]||ac;et.call(this,Y,ei[0])}}}else throw Error("Cannot close `"+Y.type+"` ("+nN({start:Y.start,end:Y.end})+"): its not open");return en.position.end=ec(Y.end),en}function eg(){return rv(this.stack.pop())}function ey(){ea("expectingFirstListItemValue",!0)}function eb(Y){if(eu("expectingFirstListItemValue")){let et=this.stack[this.stack.length-2];et.start=Number.parseInt(this.sliceSerialize(Y),10),ea("expectingFirstListItemValue")}}function ek(){let Y=this.resume(),et=this.stack[this.stack.length-1];et.lang=Y}function ew(){let Y=this.resume(),et=this.stack[this.stack.length-1];et.meta=Y}function e_(){eu("flowCodeInside")||(this.buffer(),ea("flowCodeInside",!0))}function eE(){let Y=this.resume(),et=this.stack[this.stack.length-1];et.value=Y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),ea("flowCodeInside")}function eC(){let Y=this.resume(),et=this.stack[this.stack.length-1];et.value=Y.replace(/(\r?\n|\r)$/g,"")}function eT(Y){let et=this.resume(),en=this.stack[this.stack.length-1];en.label=et,en.identifier=iN(this.sliceSerialize(Y)).toLowerCase()}function eS(){let Y=this.resume(),et=this.stack[this.stack.length-1];et.title=Y}function eA(){let Y=this.resume(),et=this.stack[this.stack.length-1];et.url=Y}function eM(Y){let et=this.stack[this.stack.length-1];if(!et.depth){let en=this.sliceSerialize(Y).length;et.depth=en}}function eP(){ea("setextHeadingSlurpLineEnding",!0)}function ej(Y){let et=this.stack[this.stack.length-1];et.depth=61===this.sliceSerialize(Y).charCodeAt(0)?1:2}function eO(){ea("setextHeadingSlurpLineEnding")}function eI(Y){let et=this.stack[this.stack.length-1],en=et.children[et.children.length-1];en&&"text"===en.type||((en=th()).position={start:ec(Y.start)},et.children.push(en)),this.stack.push(en)}function eN(Y){let et=this.stack.pop();et.value+=this.sliceSerialize(Y),et.position.end=ec(Y.end)}function eL(Y){let en=this.stack[this.stack.length-1];if(eu("atHardBreak")){let et=en.children[en.children.length-1];et.position.end=ec(Y.end),ea("atHardBreak");return}!eu("setextHeadingSlurpLineEnding")&&et.canContainEols.includes(en.type)&&(eI.call(this,Y),eN.call(this,Y))}function eR(){ea("atHardBreak",!0)}function eD(){let Y=this.resume(),et=this.stack[this.stack.length-1];et.value=Y}function eF(){let Y=this.resume(),et=this.stack[this.stack.length-1];et.value=Y}function eB(){let Y=this.resume(),et=this.stack[this.stack.length-1];et.value=Y}function ez(){let Y=this.stack[this.stack.length-1];eu("inReference")?(Y.type+="Reference",Y.referenceType=eu("referenceType")||"shortcut",delete Y.url,delete Y.title):(delete Y.identifier,delete Y.label),ea("referenceType")}function eU(){let Y=this.stack[this.stack.length-1];eu("inReference")?(Y.type+="Reference",Y.referenceType=eu("referenceType")||"shortcut",delete Y.url,delete Y.title):(delete Y.identifier,delete Y.label),ea("referenceType")}function eH(Y){let et=this.stack[this.stack.length-2],en=this.sliceSerialize(Y);et.label=o7(en),et.identifier=iN(en).toLowerCase()}function eG(){let Y=this.stack[this.stack.length-1],et=this.resume(),en=this.stack[this.stack.length-1];ea("inReference",!0),"link"===en.type?en.children=Y.children:en.alt=et}function eV(){let Y=this.resume(),et=this.stack[this.stack.length-1];et.url=Y}function eW(){let Y=this.resume(),et=this.stack[this.stack.length-1];et.title=Y}function eZ(){ea("inReference")}function eK(){ea("referenceType","collapsed")}function e$(Y){let et=this.resume(),en=this.stack[this.stack.length-1];en.label=et,en.identifier=iN(this.sliceSerialize(Y)).toLowerCase(),ea("referenceType","full")}function eY(Y){ea("characterReferenceType",Y.type)}function eQ(Y){let et;let en=this.sliceSerialize(Y),ei=eu("characterReferenceType");ei?(et=o3(en,"characterReferenceMarkerNumeric"===ei?10:16),ea("characterReferenceType")):et=i8(en);let eo=this.stack.pop();eo.value+=et,eo.position.end=ec(Y.end)}function eX(Y){eN.call(this,Y);let et=this.stack[this.stack.length-1];et.url=this.sliceSerialize(Y)}function eJ(Y){eN.call(this,Y);let et=this.stack[this.stack.length-1];et.url="mailto:"+this.sliceSerialize(Y)}function e0(){return{type:"blockquote",children:[]}}function e9(){return{type:"code",lang:null,meta:null,value:""}}function e5(){return{type:"inlineCode",value:""}}function e4(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function e3(){return{type:"emphasis",children:[]}}function e6(){return{type:"heading",depth:void 0,children:[]}}function e7(){return{type:"break"}}function e8(){return{type:"html",value:""}}function tt(){return{type:"image",title:null,url:"",alt:null}}function ta(){return{type:"link",title:null,url:"",children:[]}}function tu(Y){return{type:"list",ordered:"listOrdered"===Y.type,start:null,spread:Y._spread,children:[]}}function tc(Y){return{type:"listItem",spread:Y._spread,checked:null,children:[]}}function td(){return{type:"paragraph",children:[]}}function tf(){return{type:"strong",children:[]}}function th(){return{type:"text",value:""}}function tp(){return{type:"thematicBreak"}}}function al(Y,et){let en=-1;for(;++en<et.length;){let ei=et[en];Array.isArray(ei)?al(Y,ei):au(Y,ei)}return Y}function au(Y,et){let en;for(en in et)if(ai.call(et,en)){let ei="canContainEols"===en||"transforms"===en,eo=ai.call(Y,en)?Y[en]:void 0,ea=eo||(Y[en]=ei?[]:{}),eu=et[en];eu&&(ei?Y[en]=[...ea,...eu]:Object.assign(ea,eu))}}function ac(Y,et){if(Y)throw Error("Cannot close `"+Y.type+"` ("+nN({start:Y.start,end:Y.end})+"): a different token (`"+et.type+"`, "+nN({start:et.start,end:et.end})+") is open");throw Error("Cannot close document, a token (`"+et.type+"`, "+nN({start:et.start,end:et.end})+") is still open")}function af(Y){let et=et=>{let en=this.data("settings");return ao(et,Object.assign({},en,Y,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))};Object.assign(this,{Parser:et})}var ah=function(Y,et,en){var ei={type:String(Y)};return null==en&&("string"==typeof et||Array.isArray(et))?en=et:Object.assign(ei,et),Array.isArray(en)?ei.children=en:null!=en&&(ei.value=String(en)),ei};let ap=function(Y){if(null==Y)return a_;if("string"==typeof Y)return av(Y);if("object"==typeof Y)return Array.isArray(Y)?am(Y):ag(Y);if("function"==typeof Y)return ak(Y);throw Error("Expected function, string, or object as test")};function am(Y){let et=[],en=-1;for(;++en<Y.length;)et[en]=ap(Y[en]);return ak(ei);function ei(...Y){let en=-1;for(;++en<et.length;)if(et[en].call(this,...Y))return!0;return!1}}function ag(Y){return ak(et);function et(et){let en;for(en in Y)if(et[en]!==Y[en])return!1;return!0}}function av(Y){return ak(et);function et(et){return et&&et.type===Y}}function ak(Y){return et;function et(...en){return!!Y.call(this,...en)}}function a_(){return!0}function aE(Y){return Y}let aC=!0,aS="skip",aM=!1,aP=function(Y,et,en,ei){"function"==typeof et&&"function"!=typeof en&&(ei=en,en=et,et=null);let eo=ap(et),ea=ei?-1:1;function eu(Y,ec,ed){let ef;let eh="object"==typeof Y&&null!==Y?Y:{};return"string"==typeof eh.type&&(ef="string"==typeof eh.tagName?eh.tagName:"string"==typeof eh.name?eh.name:void 0,Object.defineProperty(ep,"name",{value:"node ("+aE(eh.type+(ef?"<"+ef+">":""))+")"})),ep;function ep(){let ef,eh,ep,em=[];if((!et||eo(Y,ec,ed[ed.length-1]||null))&&(em=aj(en(Y,ed)))[0]===aM)return em;if(Y.children&&em[0]!==aS)for(eh=(ei?Y.children.length:-1)+ea,ep=ed.concat(Y);eh>-1&&eh<Y.children.length;){if((ef=eu(Y.children[eh],eh,ep)())[0]===aM)return ef;eh="number"==typeof ef[1]?ef[1]:eh+ea}return em}}eu(Y,null,[])()};function aj(Y){return Array.isArray(Y)?Y:"number"==typeof Y?[aC,Y]:[Y]}let aO=function(Y,et,en,ei){function eo(Y,et){let ei=et[et.length-1];return en(Y,ei?ei.children.indexOf(Y):null,ei)}"function"==typeof et&&"function"!=typeof en&&(ei=en,en=et,et=null),aP(Y,et,eo,ei)},aI=aL("start"),aN=aL("end");function aL(Y){return et;function et(et){let en=et&&et.position&&et.position[Y]||{};return{line:en.line||null,column:en.column||null,offset:en.offset>-1?en.offset:null}}}function aR(Y){return!Y||!Y.position||!Y.position.start||!Y.position.start.line||!Y.position.start.column||!Y.position.end||!Y.position.end.line||!Y.position.end.column}let aD={}.hasOwnProperty;function aF(Y){let et=Object.create(null);if(!Y||!Y.type)throw Error("mdast-util-definitions expected node");return aO(Y,"definition",Y=>{let en=aU(Y.identifier);en&&!aD.call(et,en)&&(et[en]=Y)}),en;function en(Y){let en=aU(Y);return en&&aD.call(et,en)?et[en]:null}}function aU(Y){return String(Y||"").toUpperCase()}let aH={}.hasOwnProperty;function aG(Y,et){let en=et.data||{};return"value"in et&&!(aH.call(en,"hName")||aH.call(en,"hProperties")||aH.call(en,"hChildren"))?Y.augment(et,ah("text",et.value)):Y(et,"div",aq(Y,et))}function aV(Y,et,en){let ei;let eo=et&&et.type;if(!eo)throw Error("Expected node, got `"+et+"`");return("function"==typeof(ei=aH.call(Y.handlers,eo)?Y.handlers[eo]:Y.passThrough&&Y.passThrough.includes(eo)?aW:Y.unknownHandler)?ei:aG)(Y,et,en)}function aW(Y,et){return"children"in et?{...et,children:aq(Y,et)}:et}function aq(Y,et){let en=[];if("children"in et){let ei=et.children,eo=-1;for(;++eo<ei.length;){let ea=aV(Y,ei[eo],et);if(ea){if(eo&&"break"===ei[eo-1].type&&(Array.isArray(ea)||"text"!==ea.type||(ea.value=ea.value.replace(/^\s+/,"")),!Array.isArray(ea)&&"element"===ea.type)){let Y=ea.children[0];Y&&"text"===Y.type&&(Y.value=Y.value.replace(/^\s+/,""))}Array.isArray(ea)?en.push(...ea):en.push(ea)}}}return en}function aZ(Y){let et=[],en=-1,ei=0,eo=0;for(;++en<Y.length;){let ea=Y.charCodeAt(en),eu="";if(37===ea&&rO(Y.charCodeAt(en+1))&&rO(Y.charCodeAt(en+2)))eo=2;else if(ea<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(ea))||(eu=String.fromCharCode(ea));else if(ea>55295&&ea<57344){let et=Y.charCodeAt(en+1);ea<56320&&et>56319&&et<57344?(eu=String.fromCharCode(ea,et),eo=1):eu="<22>"}else eu=String.fromCharCode(ea);eu&&(et.push(Y.slice(ei,en),encodeURIComponent(eu)),ei=en+eo+1,eu=""),eo&&(en+=eo,eo=0)}return et.join("")+Y.slice(ei)}function aK(Y,et){let en=[],ei=-1;for(et&&en.push(ah("text","\n"));++ei<Y.length;)ei&&en.push(ah("text","\n")),en.push(Y[ei]);return et&&Y.length>0&&en.push(ah("text","\n")),en}function a$(Y){let et=-1,en=[];for(;++et<Y.footnoteOrder.length;){let ei=Y.footnoteById[Y.footnoteOrder[et].toUpperCase()];if(!ei)continue;let eo=aq(Y,ei),ea=String(ei.identifier),eu=aZ(ea.toLowerCase()),ec=0,ed=[];for(;++ec<=Y.footnoteCounts[ea];){let et={type:"element",tagName:"a",properties:{href:"#"+Y.clobberPrefix+"fnref-"+eu+(ec>1?"-"+ec:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:Y.footnoteBackLabel},children:[{type:"text",value:"↩"}]};ec>1&&et.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(ec)}]}),ed.length>0&&ed.push({type:"text",value:" "}),ed.push(et)}let ef=eo[eo.length-1];if(ef&&"element"===ef.type&&"p"===ef.tagName){let Y=ef.children[ef.children.length-1];Y&&"text"===Y.type?Y.value+=" ":ef.children.push({type:"text",value:" "}),ef.children.push(...ed)}else eo.push(...ed);let eh={type:"element",tagName:"li",properties:{id:Y.clobberPrefix+"fn-"+eu},children:aK(eo,!0)};ei.position&&(eh.position=ei.position),en.push(eh)}return 0===en.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:Y.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(Y.footnoteLabelProperties)),id:"footnote-label"},children:[ah("text",Y.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:aK(en,!0)},{type:"text",value:"\n"}]}}function aY(Y,et){return Y(et,"blockquote",aK(aq(Y,et),!0))}function aQ(Y,et){return[Y(et,"br"),ah("text","\n")]}function aJ(Y,et){let en=et.value?et.value+"\n":"",ei=et.lang&&et.lang.match(/^[^ \t]+(?=[ \t]|$)/),eo={};ei&&(eo.className=["language-"+ei]);let ea=Y(et,"code",eo,[ah("text",en)]);return et.meta&&(ea.data={meta:et.meta}),Y(et.position,"pre",[ea])}function a0(Y,et){return Y(et,"del",aq(Y,et))}function a9(Y,et){return Y(et,"em",aq(Y,et))}function a5(Y,et){let en;let ei=String(et.identifier),eo=aZ(ei.toLowerCase()),ea=Y.footnoteOrder.indexOf(ei);-1===ea?(Y.footnoteOrder.push(ei),Y.footnoteCounts[ei]=1,en=Y.footnoteOrder.length):(Y.footnoteCounts[ei]++,en=ea+1);let eu=Y.footnoteCounts[ei];return Y(et,"sup",[Y(et.position,"a",{href:"#"+Y.clobberPrefix+"fn-"+eo,id:Y.clobberPrefix+"fnref-"+eo+(eu>1?"-"+eu:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[ah("text",String(en))])])}function a4(Y,et){let en=Y.footnoteById,ei=1;for(;(ei in en);)ei++;let eo=String(ei);return en[eo]={type:"footnoteDefinition",identifier:eo,children:[{type:"paragraph",children:et.children}],position:et.position},a5(Y,{type:"footnoteReference",identifier:eo,position:et.position})}function a3(Y,et){return Y(et,"h"+et.depth,aq(Y,et))}function a6(Y,et){return Y.dangerous?Y.augment(et,ah("raw",et.value)):null}function a7(Y,et){let en=et.referenceType,ei="]";if("collapsed"===en?ei+="[]":"full"===en&&(ei+="["+(et.label||et.identifier)+"]"),"imageReference"===et.type)return ah("text","!["+et.alt+ei);let eo=aq(Y,et),ea=eo[0];ea&&"text"===ea.type?ea.value="["+ea.value:eo.unshift(ah("text","["));let eu=eo[eo.length-1];return eu&&"text"===eu.type?eu.value+=ei:eo.push(ah("text",ei)),eo}function a8(Y,et){let en=Y.definition(et.identifier);if(!en)return a7(Y,et);let ei={src:aZ(en.url||""),alt:et.alt};return null!==en.title&&void 0!==en.title&&(ei.title=en.title),Y(et,"img",ei)}function sn(Y,et){let en={src:aZ(et.url),alt:et.alt};return null!==et.title&&void 0!==et.title&&(en.title=et.title),Y(et,"img",en)}function si(Y,et){return Y(et,"code",[ah("text",et.value.replace(/\r?\n|\r/g," "))])}function so(Y,et){let en=Y.definition(et.identifier);if(!en)return a7(Y,et);let ei={href:aZ(en.url||"")};return null!==en.title&&void 0!==en.title&&(ei.title=en.title),Y(et,"a",ei,aq(Y,et))}function sl(Y,et){let en={href:aZ(et.url)};return null!==et.title&&void 0!==et.title&&(en.title=et.title),Y(et,"a",en,aq(Y,et))}function su(Y,et,en){let ei=aq(Y,et),eo=en?sd(en):sf(et),ea={},eu=[];if("boolean"==typeof et.checked){let en;ei[0]&&"element"===ei[0].type&&"p"===ei[0].tagName?en=ei[0]:(en=Y(null,"p",[]),ei.unshift(en)),en.children.length>0&&en.children.unshift(ah("text"," ")),en.children.unshift(Y(null,"input",{type:"checkbox",checked:et.checked,disabled:!0})),ea.className=["task-list-item"]}let ec=-1;for(;++ec<ei.length;){let Y=ei[ec];(eo||0!==ec||"element"!==Y.type||"p"!==Y.tagName)&&eu.push(ah("text","\n")),"element"!==Y.type||"p"!==Y.tagName||eo?eu.push(Y):eu.push(...Y.children)}let ed=ei[ei.length-1];return!ed||!eo&&"tagName"in ed&&"p"===ed.tagName||eu.push(ah("text","\n")),Y(et,"li",ea,eu)}function sd(Y){let et=Y.spread,en=Y.children,ei=-1;for(;!et&&++ei<en.length;)et=sf(en[ei]);return!!et}function sf(Y){let et=Y.spread;return null==et?Y.children.length>1:et}function sh(Y,et){let en={},ei=et.ordered?"ol":"ul",eo=aq(Y,et),ea=-1;for("number"==typeof et.start&&1!==et.start&&(en.start=et.start);++ea<eo.length;){let Y=eo[ea];if("element"===Y.type&&"li"===Y.tagName&&Y.properties&&Array.isArray(Y.properties.className)&&Y.properties.className.includes("task-list-item")){en.className=["contains-task-list"];break}}return Y(et,ei,en,aK(eo,!0))}function sm(Y,et){return Y(et,"p",aq(Y,et))}function sg(Y,et){return Y.augment(et,ah("root",aK(aq(Y,et))))}function sb(Y,et){return Y(et,"strong",aq(Y,et))}function sk(Y,et){let en=et.children,ei=-1,eo=et.align||[],ea=[];for(;++ei<en.length;){let eu=en[ei].children,ec=0===ei?"th":"td",ed=[],ef=-1,eh=et.align?eo.length:eu.length;for(;++ef<eh;){let et=eu[ef];ed.push(Y(et,ec,{align:eo[ef]},et?aq(Y,et):[]))}ea[ei]=Y(en[ei],"tr",aK(ed,!0))}return Y(et,"table",aK([Y(ea[0].position,"thead",aK([ea[0]],!0))].concat(ea[1]?Y({start:aI(ea[1]),end:aN(ea[ea.length-1])},"tbody",aK(ea.slice(1),!0)):[]),!0))}let s_=9,sE=32;function sC(Y){let et=String(Y),en=/\r?\n|\r/g,ei=en.exec(et),eo=0,ea=[];for(;ei;)ea.push(sT(et.slice(eo,ei.index),eo>0,!0),ei[0]),eo=ei.index+ei[0].length,ei=en.exec(et);return ea.push(sT(et.slice(eo),eo>0,!1)),ea.join("")}function sT(Y,et,en){let ei=0,eo=Y.length;if(et){let et=Y.codePointAt(ei);for(;et===s_||et===sE;)ei++,et=Y.codePointAt(ei)}if(en){let et=Y.codePointAt(eo-1);for(;et===s_||et===sE;)eo--,et=Y.codePointAt(eo-1)}return eo>ei?Y.slice(ei,eo):""}function sS(Y,et){return Y.augment(et,ah("text",sC(String(et.value))))}function sA(Y,et){return Y(et,"hr")}let sM={blockquote:aY,break:aQ,code:aJ,delete:a0,emphasis:a9,footnoteReference:a5,footnote:a4,heading:a3,html:a6,imageReference:a8,image:sn,inlineCode:si,linkReference:so,link:sl,listItem:su,list:sh,paragraph:sm,root:sg,strong:sb,table:sk,text:sS,thematicBreak:sA,toml:sP,yaml:sP,definition:sP,footnoteDefinition:sP};function sP(){return null}let sj={}.hasOwnProperty;function sO(Y,et){let en=et||{},ei=en.allowDangerousHtml||!1,eo={};return eu.dangerous=ei,eu.clobberPrefix=void 0===en.clobberPrefix||null===en.clobberPrefix?"user-content-":en.clobberPrefix,eu.footnoteLabel=en.footnoteLabel||"Footnotes",eu.footnoteLabelTagName=en.footnoteLabelTagName||"h2",eu.footnoteLabelProperties=en.footnoteLabelProperties||{className:["sr-only"]},eu.footnoteBackLabel=en.footnoteBackLabel||"Back to content",eu.definition=aF(Y),eu.footnoteById=eo,eu.footnoteOrder=[],eu.footnoteCounts={},eu.augment=ea,eu.handlers={...sM,...en.handlers},eu.unknownHandler=en.unknownHandler,eu.passThrough=en.passThrough,aO(Y,"footnoteDefinition",Y=>{let et=String(Y.identifier).toUpperCase();sj.call(eo,et)||(eo[et]=Y)}),eu;function ea(Y,et){if(Y&&"data"in Y&&Y.data){let en=Y.data;en.hName&&("element"!==et.type&&(et={type:"element",tagName:"",properties:{},children:[]}),et.tagName=en.hName),"element"===et.type&&en.hProperties&&(et.properties={...et.properties,...en.hProperties}),"children"in et&&et.children&&en.hChildren&&(et.children=en.hChildren)}if(Y){let en="type"in Y?Y:{position:Y};aR(en)||(et.position={start:aI(en),end:aN(en)})}return et}function eu(Y,et,en,ei){return Array.isArray(en)&&(ei=en,en={}),ea(Y,{type:"element",tagName:et,properties:en||{},children:ei||[]})}}function sI(Y,et){let en=sO(Y,et),ei=aV(en,Y,null),eo=a$(en);return eo&&ei.children.push(ah("text","\n"),eo),Array.isArray(ei)?{type:"root",children:ei}:ei}let sN=function(Y,et){return Y&&"run"in Y?sR(Y,et):sD(Y||et)};var sL=sN;function sR(Y,et){return(en,ei,eo)=>{Y.run(sI(en,et),ei,Y=>{eo(Y)})}}function sD(Y){return et=>sI(et,Y)}var sF=en(39519);class sB{constructor(Y,et,en){this.property=Y,this.normal=et,en&&(this.space=en)}}function sU(Y,et){let en={},ei={},eo=-1;for(;++eo<Y.length;)Object.assign(en,Y[eo].property),Object.assign(ei,Y[eo].normal);return new sB(en,ei,et)}function sH(Y){return Y.toLowerCase()}sB.prototype.property={},sB.prototype.normal={},sB.prototype.space=null;class sG{constructor(Y,et){this.property=Y,this.attribute=et}}sG.prototype.space=null,sG.prototype.boolean=!1,sG.prototype.booleanish=!1,sG.prototype.overloadedBoolean=!1,sG.prototype.number=!1,sG.prototype.commaSeparated=!1,sG.prototype.spaceSeparated=!1,sG.prototype.commaOrSpaceSeparated=!1,sG.prototype.mustUseProperty=!1,sG.prototype.defined=!1;let sV=0,sW=sX(),sq=sX(),sZ=sX(),sK=sX(),s$=sX(),sY=sX(),sQ=sX();function sX(){return 2**++sV}let sJ=Object.keys(eg);class s9 extends sG{constructor(Y,et,en,ei){let eo=-1;if(super(Y,et),s5(this,"space",ei),"number"==typeof en)for(;++eo<sJ.length;){let Y=sJ[eo];s5(this,sJ[eo],(en&eg[Y])===eg[Y])}}}function s5(Y,et,en){en&&(Y[et]=en)}s9.prototype.defined=!0;let s4={}.hasOwnProperty;function s6(Y){let et;let en={},ei={};for(et in Y.properties)if(s4.call(Y.properties,et)){let eo=Y.properties[et],ea=new s9(et,Y.transform(Y.attributes||{},et),eo,Y.space);Y.mustUseProperty&&Y.mustUseProperty.includes(et)&&(ea.mustUseProperty=!0),en[et]=ea,ei[sH(et)]=et,ei[sH(ea.attribute)]=et}return new sB(en,ei,Y.space)}let s7=s6({space:"xlink",transform:(Y,et)=>"xlink:"+et.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),s8=s6({space:"xml",transform:(Y,et)=>"xml:"+et.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function ln(Y,et){return et in Y?Y[et]:et}function lr(Y,et){return ln(Y,et.toLowerCase())}let li=s6({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:lr,properties:{xmlns:null,xmlnsXLink:null}}),la=s6({transform:(Y,et)=>"role"===et?et:"aria-"+et.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:sq,ariaAutoComplete:null,ariaBusy:sq,ariaChecked:sq,ariaColCount:sK,ariaColIndex:sK,ariaColSpan:sK,ariaControls:s$,ariaCurrent:null,ariaDescribedBy:s$,ariaDetails:null,ariaDisabled:sq,ariaDropEffect:s$,ariaErrorMessage:null,ariaExpanded:sq,ariaFlowTo:s$,ariaGrabbed:sq,ariaHasPopup:null,ariaHidden:sq,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s$,ariaLevel:sK,ariaLive:null,ariaModal:sq,ariaMultiLine:sq,ariaMultiSelectable:sq,ariaOrientation:null,ariaOwns:s$,ariaPlaceholder:null,ariaPosInSet:sK,ariaPressed:sq,ariaReadOnly:sq,ariaRelevant:null,ariaRequired:sq,ariaRoleDescription:s$,ariaRowCount:sK,ariaRowIndex:sK,ariaRowSpan:sK,ariaSelected:sq,ariaSetSize:sK,ariaSort:null,ariaValueMax:sK,ariaValueMin:sK,ariaValueNow:sK,ariaValueText:null,role:null}}),ls=s6({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:lr,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:sY,acceptCharset:s$,accessKey:s$,action:null,allow:null,allowFullScreen:sW,allowPaymentRequest:sW,allowUserMedia:sW,alt:null,as:null,async:sW,autoCapitalize:null,autoComplete:s$,autoFocus:sW,autoPlay:sW,capture:sW,charSet:null,checked:sW,cite:null,className:s$,cols:sK,colSpan:null,content:null,contentEditable:sq,controls:sW,controlsList:s$,coords:sK|sY,crossOrigin:null,data:null,dateTime:null,decoding:null,default:sW,defer:sW,dir:null,dirName:null,disabled:sW,download:sZ,draggable:sq,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:sW,formTarget:null,headers:s$,height:sK,hidden:sW,high:sK,href:null,hrefLang:null,htmlFor:s$,httpEquiv:s$,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:sW,itemId:null,itemProp:s$,itemRef:s$,itemScope:sW,itemType:s$,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:sW,low:sK,manifest:null,max:null,maxLength:sK,media:null,method:null,min:null,minLength:sK,multiple:sW,muted:sW,name:null,nonce:null,noModule:sW,noValidate:sW,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:sW,optimum:sK,pattern:null,ping:s$,placeholder:null,playsInline:sW,poster:null,preload:null,readOnly:sW,referrerPolicy:null,rel:s$,required:sW,reversed:sW,rows:sK,rowSpan:sK,sandbox:s$,scope:null,scoped:sW,seamless:sW,selected:sW,shape:null,size:sK,sizes:null,slot:null,span:sK,spellCheck:sq,src:null,srcDoc:null,srcLang:null,srcSet:null,start:sK,step:null,style:null,tabIndex:sK,target:null,title:null,translate:null,type:null,typeMustMatch:sW,useMap:null,value:sq,width:sK,wrap:null,align:null,aLink:null,archive:s$,axis:null,background:null,bgColor:null,border:sK,borderColor:null,bottomMargin:sK,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:sW,declare:sW,event:null,face:null,frame:null,frameBorder:null,hSpace:sK,leftMargin:sK,link:null,longDesc:null,lowSrc:null,marginHeight:sK,marginWidth:sK,noResize:sW,noHref:sW,noShade:sW,noWrap:sW,object:null,profile:null,prompt:null,rev:null,rightMargin:sK,rules:null,scheme:null,scrolling:sq,standby:null,summary:null,text:null,topMargin:sK,valueType:null,version:null,vAlign:null,vLink:null,vSpace:sK,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:sW,disableRemotePlayback:sW,prefix:null,property:null,results:sK,security:null,unselectable:null}}),ll=s6({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:ln,properties:{about:sQ,accentHeight:sK,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:sK,amplitude:sK,arabicForm:null,ascent:sK,attributeName:null,attributeType:null,azimuth:sK,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:sK,by:null,calcMode:null,capHeight:sK,className:s$,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:sK,diffuseConstant:sK,direction:null,display:null,dur:null,divisor:sK,dominantBaseline:null,download:sW,dx:null,dy:null,edgeMode:null,editable:null,elevation:sK,enableBackground:null,end:null,event:null,exponent:sK,externalResourcesRequired:null,fill:null,fillOpacity:sK,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:sY,g2:sY,glyphName:sY,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:sK,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:sK,horizOriginX:sK,horizOriginY:sK,id:null,ideographic:sK,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:sK,k:sK,k1:sK,k2:sK,k3:sK,k4:sK,kernelMatrix:sQ,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:sK,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:sK,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:sK,overlineThickness:sK,paintOrder:null,panose1:null,path:null,pathLength:sK,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:s$,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:sK,pointsAtY:sK,pointsAtZ:sK,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:sQ,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:sQ,rev:sQ,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:sQ,requiredFeatures:sQ,requiredFonts:sQ,requiredFormats:sQ,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:sK,specularExponent:sK,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:sK,strikethroughThickness:sK,string:null,stroke:null,strokeDashArray:sQ,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:sK,strokeOpacity:sK,strokeWidth:null,style:null,surfaceScale:sK,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:sQ,tabIndex:sK,tableValues:null,target:null,targetX:sK,targetY:sK,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:sQ,to:null,transform:null,u1:null,u2:null,underlinePosition:sK,underlineThickness:sK,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:sK,values:null,vAlphabetic:sK,vMathematical:sK,vectorEffect:null,vHanging:sK,vIdeographic:sK,version:null,vertAdvY:sK,vertOriginX:sK,vertOriginY:sK,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:sK,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),lu=sU([s8,s7,li,la,ls],"html"),ld=sU([s8,s7,li,la,ll],"svg");function lf(Y){if(Y.allowedElements&&Y.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(Y.allowedElements||Y.disallowedElements||Y.allowElement)return et=>{aO(et,"element",(et,en,ei)=>{let eo;let ea=ei;if(Y.allowedElements?eo=!Y.allowedElements.includes(et.tagName):Y.disallowedElements&&(eo=Y.disallowedElements.includes(et.tagName)),!eo&&Y.allowElement&&"number"==typeof en&&(eo=!Y.allowElement(et,en,ea)),eo&&"number"==typeof en)return Y.unwrapDisallowed&&et.children?ea.children.splice(en,1,...et.children):ea.children.splice(en,1),en})}}let lp=["http","https","mailto","tel"];function lm(Y){let et=(Y||"").trim(),en=et.charAt(0);if("#"===en||"/"===en)return et;let ei=et.indexOf(":");if(-1===ei)return et;let eo=-1;for(;++eo<lp.length;){let Y=lp[eo];if(ei===Y.length&&et.slice(0,Y.length).toLowerCase()===Y)return et}return -1!==(eo=et.indexOf("?"))&&ei>eo||-1!==(eo=et.indexOf("#"))&&ei>eo?et:"javascript:void(0)"}var lg=en(72037);function lv(Y){var et=Y&&"object"==typeof Y&&"text"===Y.type?Y.value||"":Y;return"string"==typeof et&&""===et.replace(/[ \t\n\f\r]/g,"")}let ly=/^data[-\w.:]+$/i,lb=/-[a-z]/g,lk=/[A-Z]/g;function lw(Y,et){let en=sH(et),ei=et,eo=sG;if(en in Y.normal)return Y.property[Y.normal[en]];if(en.length>4&&"data"===en.slice(0,4)&&ly.test(et)){if("-"===et.charAt(4)){let Y=et.slice(5).replace(lb,lE);ei="data"+Y.charAt(0).toUpperCase()+Y.slice(1)}else{let Y=et.slice(4);if(!lb.test(Y)){let en=Y.replace(lk,l_);"-"!==en.charAt(0)&&(en="-"+en),et="data"+en}}eo=s9}return new eo(ei,et)}function l_(Y){return"-"+Y.toLowerCase()}function lE(Y){return Y.charAt(1).toUpperCase()}let lC={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function lT(Y){let et=String(Y||"").trim();return et?et.split(/[ \t\n\r\f]+/g):[]}function lS(Y){return Y.join(" ").trim()}function lA(Y){for(var et,en,ei=[],eo=String(Y||""),ea=eo.indexOf(","),eu=0;!et;)-1===ea&&(ea=eo.length,et=!0),((en=eo.slice(eu,ea).trim())||!et)&&ei.push(en),eu=ea+1,ea=eo.indexOf(",",eu);return ei}function lM(Y,et){var en=et||{};return""===Y[Y.length-1]&&(Y=Y.concat("")),Y.join((en.padRight?" ":"")+","+(!1===en.padLeft?"":" ")).trim()}var lP=en(78791);let lj={}.hasOwnProperty,lO=new Set(["table","thead","tbody","tfoot","tr"]);function lI(Y,et){let en;let ei=[],eo=-1;for(;++eo<et.children.length;)"element"===(en=et.children[eo]).type?ei.push(lN(Y,en,eo,et)):"text"===en.type?"element"===et.type&&lO.has(et.tagName)&&lv(en)||ei.push(en.value):"raw"!==en.type||Y.options.skipHtml||ei.push(en.value);return ei}function lN(Y,et,en,ei){let eo;let ea=Y.options,eu=Y.schema,ec=et.tagName,ed={},ef=eu;if("html"===eu.space&&"svg"===ec&&(ef=ld,Y.schema=ef),et.properties)for(eo in et.properties)lj.call(et.properties,eo)&&lD(ed,eo,et.properties[eo],Y);("ol"===ec||"ul"===ec)&&Y.listDepth++;let eh=lI(Y,et);("ol"===ec||"ul"===ec)&&Y.listDepth--,Y.schema=eu;let ep=et.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},em=ea.components&&lj.call(ea.components,ec)?ea.components[ec]:ec,eg="string"==typeof em||em===eC.Fragment;if(!lg.isValidElementType(em))throw TypeError(`Component for name \`${ec}\` not defined or is not renderable`);if(ed.key=[ec,ep.start.line,ep.start.column,en].join("-"),"a"===ec&&ea.linkTarget&&(ed.target="function"==typeof ea.linkTarget?ea.linkTarget(String(ed.href||""),et.children,"string"==typeof ed.title?ed.title:null):ea.linkTarget),"a"===ec&&ea.transformLinkUri&&(ed.href=ea.transformLinkUri(String(ed.href||""),et.children,"string"==typeof ed.title?ed.title:null)),eg||"code"!==ec||"element"!==ei.type||"pre"===ei.tagName||(ed.inline=!0),eg||"h1"!==ec&&"h2"!==ec&&"h3"!==ec&&"h4"!==ec&&"h5"!==ec&&"h6"!==ec||(ed.level=Number.parseInt(ec.charAt(1),10)),"img"===ec&&ea.transformImageUri&&(ed.src=ea.transformImageUri(String(ed.src||""),String(ed.alt||""),"string"==typeof ed.title?ed.title:null)),!eg&&"li"===ec&&"element"===ei.type){let Y=lL(et);ed.checked=Y&&Y.properties?!!Y.properties.checked:null,ed.index=lR(ei,et),ed.ordered="ol"===ei.tagName}return eg||"ol"!==ec&&"ul"!==ec||(ed.ordered="ol"===ec,ed.depth=Y.listDepth),"td"!==ec&&"th"!==ec||(ed.align&&(ed.style||(ed.style={}),ed.style.textAlign=ed.align,delete ed.align),eg||(ed.isHeader="th"===ec)),eg||"tr"!==ec||"element"!==ei.type||(ed.isHeader="thead"===ei.tagName),ea.sourcePos&&(ed["data-sourcepos"]=lz(ep)),!eg&&ea.rawSourcePos&&(ed.sourcePosition=et.position),!eg&&ea.includeElementIndex&&(ed.index=lR(ei,et),ed.siblingCount=lR(ei)),eg||(ed.node=et),eh.length>0?eC.createElement(em,ed,eh):eC.createElement(em,ed)}function lL(Y){let et=-1;for(;++et<Y.children.length;){let en=Y.children[et];if("element"===en.type&&"input"===en.tagName)return en}return null}function lR(Y,et){let en=-1,ei=0;for(;++en<Y.children.length&&Y.children[en]!==et;)"element"===Y.children[en].type&&ei++;return ei}function lD(Y,et,en,ei){let eo=lw(ei.schema,et),ea=en;null!=ea&&ea==ea&&(Array.isArray(ea)&&(ea=eo.commaSeparated?lM(ea):lS(ea)),"style"===eo.property&&"string"==typeof ea&&(ea=lF(ea)),eo.space&&eo.property?Y[lj.call(lC,eo.property)?lC[eo.property]:eo.property]=ea:eo.attribute&&(Y[eo.attribute]=ea))}function lF(Y){let et={};try{lP(Y,en)}catch{}return et;function en(Y,en){let ei="-ms-"===Y.slice(0,4)?`ms-${Y.slice(4)}`:Y;et[ei.replace(/-([a-z])/g,lB)]=en}}function lB(Y,et){return et.toUpperCase()}function lz(Y){return[Y.start.line,":",Y.start.column,"-",Y.end.line,":",Y.end.column].map(Y=>String(Y)).join("")}let lU={}.hasOwnProperty,lH="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",lG={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function lV(Y){for(let et in lG)if(lU.call(lG,et)&&lU.call(Y,et)){let Y=lG[et];console.warn(`[react-markdown] Warning: please ${Y.to?`use \`${Y.to}\` instead of`:"remove"} \`${et}\` (see <${lH}#${Y.id}> for more info)`),delete lG[et]}let et=rn().use(af).use(Y.remarkPlugins||[]).use(sL,{...Y.remarkRehypeOptions,allowDangerousHtml:!0}).use(Y.rehypePlugins||[]).use(lf,Y),en=new nJ;"string"==typeof Y.children?en.value=Y.children:void 0!==Y.children&&null!==Y.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${Y.children}\`)`);let ei=et.runSync(et.parse(en),en);if("root"!==ei.type)throw TypeError("Expected a `root` node");let eo=eC.createElement(eC.Fragment,{},lI({options:Y,schema:lu,listDepth:0},ei));return Y.className&&(eo=eC.createElement("div",{className:Y.className},eo)),eo}lV.defaultProps={transformLinkUri:lm},lV.propTypes={children:sF.string,className:sF.string,allowElement:sF.func,allowedElements:sF.arrayOf(sF.string),disallowedElements:sF.arrayOf(sF.string),unwrapDisallowed:sF.bool,remarkPlugins:sF.arrayOf(sF.oneOfType([sF.object,sF.func,sF.arrayOf(sF.oneOfType([sF.bool,sF.string,sF.object,sF.func,sF.arrayOf(sF.any)]))])),rehypePlugins:sF.arrayOf(sF.oneOfType([sF.object,sF.func,sF.arrayOf(sF.oneOfType([sF.bool,sF.string,sF.object,sF.func,sF.arrayOf(sF.any)]))])),sourcePos:sF.bool,rawSourcePos:sF.bool,skipHtml:sF.bool,includeElementIndex:sF.bool,transformLinkUri:sF.oneOfType([sF.func,sF.bool]),linkTarget:sF.oneOfType([sF.func,sF.string]),transformImageUri:sF.func,components:sF.object};var lW=en(96237);function lq(Y,et){let en=String(Y),ei=en.indexOf(et),eo=ei,ea=0,eu=0;if("string"!=typeof et||1!==et.length)throw Error("Expected character");for(;-1!==ei;)ei===eo?++ea>eu&&(eu=ea):ea=1,eo=ei+1,ei=en.indexOf(et,eo);return eu}function lZ(Y){if(!Y._compiled){let et=(Y.atBreak?"[\\r\\n][\\t ]*":"")+(Y.before?"(?:"+Y.before+")":"");Y._compiled=RegExp((et?"("+et+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(Y.character)?"\\":"")+Y.character+(Y.after?"(?:"+Y.after+")":""),"g")}return Y._compiled}function lK(Y,et){return l$(Y,et.inConstruct,!0)&&!l$(Y,et.notInConstruct,!1)}function l$(Y,et,en){if(!et)return en;"string"==typeof et&&(et=[et]);let ei=-1;for(;++ei<et.length;)if(Y.includes(et[ei]))return!0;return!1}function lY(Y,et,en){let ei=(en.before||"")+(et||"")+(en.after||""),eo=[],ea=[],eu={},ec=-1;for(;++ec<Y.unsafe.length;){let et;let en=Y.unsafe[ec];if(!lK(Y.stack,en))continue;let ea=lZ(en);for(;et=ea.exec(ei);){let Y="before"in en||!!en.atBreak,ei="after"in en,ea=et.index+(Y?et[1].length:0);eo.includes(ea)?(eu[ea].before&&!Y&&(eu[ea].before=!1),eu[ea].after&&!ei&&(eu[ea].after=!1)):(eo.push(ea),eu[ea]={before:Y,after:ei})}}eo.sort(lQ);let ed=en.before?en.before.length:0,ef=ei.length-(en.after?en.after.length:0);for(ec=-1;++ec<eo.length;){let Y=eo[ec];!(Y<ed)&&!(Y>=ef)&&(!(Y+1<ef)||eo[ec+1]!==Y+1||!eu[Y].after||eu[Y+1].before||eu[Y+1].after)&&(eo[ec-1]!==Y-1||!eu[Y].before||eu[Y-1].before||eu[Y-1].after)&&(ed!==Y&&ea.push(lX(ei.slice(ed,Y),"\\")),ed=Y,!/[!-/:-@[-`{-~]/.test(ei.charAt(Y))||en.encode&&en.encode.includes(ei.charAt(Y))?(ea.push("&#x"+ei.charCodeAt(Y).toString(16).toUpperCase()+";"),ed++):ea.push("\\"))}return ea.push(lX(ei.slice(ed,ef),en.after)),ea.join("")}function lQ(Y,et){return Y-et}function lX(Y,et){let en;let ei=/\\(?=[!-/:-@[-`{-~])/g,eo=[],ea=[],eu=Y+et,ec=-1,ed=0;for(;en=ei.exec(eu);)eo.push(en.index);for(;++ec<eo.length;)ed!==eo[ec]&&ea.push(Y.slice(ed,eo[ec])),ea.push("\\"),ed=eo[ec];return ea.push(Y.slice(ed)),ea.join("")}function lJ(Y){let et=Y||{},en=et.now||{},ei=et.lineShift||0,eo=en.line||1,ea=en.column||1;return{move:ed,current:eu,shift:ec};function eu(){return{now:{line:eo,column:ea},lineShift:ei}}function ec(Y){ei+=Y}function ed(Y=""){let et=Y.split(/\r?\n|\r/g),en=et[et.length-1];return eo+=et.length-1,ea=1===et.length?ea+en.length:1+en.length+ei,Y}}function l0(){return{enter:{mathFlow:Y,mathFlowFenceMeta:et,mathText:ea},exit:{mathFlow:eo,mathFlowFence:ei,mathFlowFenceMeta:en,mathFlowValue:ec,mathText:eu,mathTextData:ec}};function Y(Y){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},Y)}function et(){this.buffer()}function en(){let Y=this.resume(),et=this.stack[this.stack.length-1];et.meta=Y}function ei(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function eo(Y){let et=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),en=this.exit(Y);en.value=et,en.data.hChildren[0].value=et,this.setData("mathFlowInside")}function ea(Y){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},Y),this.buffer()}function eu(Y){let et=this.resume(),en=this.exit(Y);en.value=et,en.data.hChildren[0].value=et}function ec(Y){this.config.enter.data.call(this,Y),this.config.exit.data.call(this,Y)}}function l9(Y={}){let et=Y.singleDollarTextMath;return null==et&&(et=!0),ei.peek=eo,{unsafe:[{character:"\r",inConstruct:["mathFlowMeta"]},{character:"\r",inConstruct:["mathFlowMeta"]},et?{character:"$",inConstruct:["mathFlowMeta","phrasing"]}:{character:"$",after:"\\$",inConstruct:["mathFlowMeta","phrasing"]},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:en,inlineMath:ei}};function en(Y,et,en,ei){let eo=Y.value||"",ea="$".repeat(Math.max(lq(eo,"$")+1,2)),eu=en.enter("mathFlow"),ec=lJ(ei),ed=ec.move(ea);if(Y.meta){let et=en.enter("mathFlowMeta");ed+=ec.move(lY(en,Y.meta,{...ec.current(),before:ed,after:" ",encode:["$"]})),et()}return ed+=ec.move("\n"),eo&&(ed+=ec.move(eo+"\n")),ed+=ec.move(ea),eu(),ed}function ei(Y){let en=Y.value||"",ei=1,eo="";for(!et&&ei++;RegExp("(^|[^$])"+"\\$".repeat(ei)+"([^$]|$)").test(en);)ei++;/[^ \r\n]/.test(en)&&(/[ \r\n$]/.test(en.charAt(0))||/[ \r\n$]/.test(en.charAt(en.length-1)))&&(eo=" ");let ea="$".repeat(ei);return ea+eo+en+eo+ea}function eo(){return"$"}}let l5={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533},l4={attentionSideBefore:1,attentionSideAfter:2,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupWhitespace:1,characterGroupPunctuation:2,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeContent:"content",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlRaw:1,htmlComment:2,htmlInstruction:3,htmlDeclaration:4,htmlCdata:5,htmlBasic:6,htmlComplete:7,htmlRawSizeMax:8,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4},l3={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"};var l6={tokenize:l8,concrete:!0},l7={tokenize:ut,partial:!0};function l8(Y,et,en){var ei=function(et){return l5.backslash,Y.enter("mathFlow"),Y.enter("mathFlowFence"),Y.enter("mathFlowFenceSequence"),em(et)},eo=function(et){return et===l5.eof||rD(et)?ea(et):(Y.enter("mathFlowFenceMeta"),Y.enter(l3.chunkString,{contentType:l4.contentTypeString}),eg(et))},ea=function(en){return Y.exit("mathFlowFence"),ed.interrupt?et(en):ey(en)},eu=function(en){return Y.exit("mathFlow"),et(en)},ec=function(Y,et,en){var ei=[];return rH(Y,eo,l3.linePrefix,l4.tabSize);function eo(et){return Y.enter("mathFlowFence"),Y.enter("mathFlowFenceSequence"),ea(et)}function ea(et){return et===l5.backslash&&0===ei.length||et===l5.rightSquareBracket&&ei[0]===l5.backslash?(Y.consume(et),ei.push(et),ea):ei<ep?en(et):(Y.exit("mathFlowFenceSequence"),rH(Y,eu,l3.whitespace)(et))}function eu(ei){return ei===l5.eof||rD(ei)?(Y.exit("mathFlowFence"),et(ei)):en(ei)}},ed=this,ef=this.events[this.events.length-1],eh=ef&&ef[1].type===l3.linePrefix?ef[2].sliceSerialize(ef[1],!0).length:0,ep=[];return ei;function em(et){return et===l5.backslash||et===l5.leftSquareBracket&&ep[0]===l5.backslash?(Y.consume(et),ep.push(et),em):(Y.exit("mathFlowFenceSequence"),ep.length<2?en(et):rH(Y,eo,l3.whitespace)(et))}function eg(et){return et===l5.eof||rD(et)?(Y.exit(l3.chunkString),Y.exit("mathFlowFenceMeta"),ea(et)):et===l5.rightSquareBracket?en(et):(Y.consume(et),eg)}function ey(et){return et===l5.eof?eu(et):rD(et)?Y.attempt(l7,Y.attempt({tokenize:ec,partial:!0},eu,eh?rH(Y,ey,l3.linePrefix,eh+1):ey),eu)(et):(Y.enter("mathFlowValue"),eb(et))}function eb(et){return et===l5.eof||rD(et)?(Y.exit("mathFlowValue"),ey(et)):(Y.consume(et),eb)}}function ut(Y,et,en){var ei=function(Y){return eo.parser.lazy[eo.now().line]?en(Y):et(Y)},eo=this;return function(et){return Y.enter(l3.lineEnding),Y.consume(et),Y.exit(l3.lineEnding),ei}}var un={tokenize:ui,concrete:!0},ur={tokenize:uo,partial:!0};function ui(Y,et,en){var ei=function(et){return l5.dollarSign,Y.enter("mathFlow"),Y.enter("mathFlowFence"),Y.enter("mathFlowFenceSequence"),em(et)},eo=function(et){return et===l5.eof||rD(et)?ea(et):(Y.enter("mathFlowFenceMeta"),Y.enter(l3.chunkString,{contentType:l4.contentTypeString}),eg(et))},ea=function(en){return Y.exit("mathFlowFence"),ed.interrupt?et(en):ey(en)},eu=function(en){return Y.exit("mathFlow"),et(en)},ec=function(Y,et,en){var ei=0;return rH(Y,eo,l3.linePrefix,l4.tabSize);function eo(et){return Y.enter("mathFlowFence"),Y.enter("mathFlowFenceSequence"),ea(et)}function ea(et){return et===l5.dollarSign?(Y.consume(et),ei++,ea):ei<ep?en(et):(Y.exit("mathFlowFenceSequence"),rH(Y,eu,l3.whitespace)(et))}function eu(ei){return ei===l5.eof||rD(ei)?(Y.exit("mathFlowFence"),et(ei)):en(ei)}},ed=this,ef=ed.events[ed.events.length-1],eh=ef&&ef[1].type===l3.linePrefix?ef[2].sliceSerialize(ef[1],!0).length:0,ep=0;return ei;function em(et){return et===l5.dollarSign?(Y.consume(et),ep++,em):(Y.exit("mathFlowFenceSequence"),ep<2?en(et):rH(Y,eo,l3.whitespace)(et))}function eg(et){return et===l5.eof||rD(et)?(Y.exit(l3.chunkString),Y.exit("mathFlowFenceMeta"),ea(et)):et===l5.dollarSign?en(et):(Y.consume(et),eg)}function ey(et){return et===l5.eof?eu(et):rD(et)?Y.attempt(ur,Y.attempt({tokenize:ec,partial:!0},eu,eh?rH(Y,ey,l3.linePrefix,eh+1):ey),eu)(et):(Y.enter("mathFlowValue"),eb(et))}function eb(et){return et===l5.eof||rD(et)?(Y.exit("mathFlowValue"),ey(et)):(Y.consume(et),eb)}}function uo(Y,et,en){var ei=function(Y){return eo.parser.lazy[eo.now().line]?en(Y):et(Y)},eo=this;return function(et){return rD(et),Y.enter(l3.lineEnding),Y.consume(et),Y.exit(l3.lineEnding),ei}}function ua(){return{tokenize:function(Y,et,en){var ei,eo=[],ea=[],eu=this;return ec;function ec(et){return l5.backslash,ul.call(eu,eu.previous)&&eu.previous,Y.enter("mathText"),Y.enter("mathTextSequence"),ed(et)}function ed(et){return(eo.join(","),et===l5.backslash&&0===eo.length||et===l5.leftParenthesis&&1===eo.length)?(Y.consume(et),eo.push(et),ed):eo.length<2?en(et):(Y.exit("mathTextSequence"),ef(et))}function ef(et){return et===l5.eof?en(et):et===l5.backslash?(ei=Y.enter("mathTextSequence"),ea=[],ep(et)):et===l5.space?(Y.enter("space"),Y.consume(et),Y.exit("space"),ef):rD(et)?(Y.enter(l3.lineEnding),Y.consume(et),Y.exit(l3.lineEnding),ef):(Y.enter("mathTextData"),eh(et))}function eh(et){return et===l5.eof||et===l5.space||et===l5.backslash||rD(et)?(Y.exit("mathTextData"),ef(et)):(Y.consume(et),eh)}function ep(en){return(eo.join(","),en===l5.backslash&&0===ea.length||en===l5.rightParenthesis&&1===ea.length)?(Y.consume(en),ea.push(en),ep):ea.length===eo.length?(Y.exit("mathTextSequence"),Y.exit("mathText"),et(en)):(ei.type="mathTextData",eh(en))}},resolve:us,previous:ul}}function us(Y){var et,en,ei=Y.length-4,eo=3;if((Y[3][1].type===l3.lineEnding||"space"===Y[eo][1].type)&&(Y[ei][1].type===l3.lineEnding||"space"===Y[ei][1].type)){for(et=eo;++et<ei;)if("mathTextData"===Y[et][1].type){Y[ei][1].type="mathTextPadding",Y[eo][1].type="mathTextPadding",eo+=2,ei-=2;break}}for(et=eo-1,ei++;++et<=ei;)void 0===en?et!==ei&&Y[et][1].type!==l3.lineEnding&&(en=et):(et===ei||Y[et][1].type===l3.lineEnding)&&(Y[en][1].type="mathTextData",et!==en+2&&(Y[en][1].end=Y[et-1][1].end,Y.splice(en+2,et-en-2),ei-=et-en-2,et=en+2),en=void 0);return Y}function ul(Y){return Y!==l5.backslash||this.events[this.events.length-1][1].type===l3.characterEscape}function uu(){return{tokenize:function(Y,et,en){var ei,eo,ea=0;return eu;function eu(et){return Y.enter("mathText"),Y.enter("mathTextSequence"),ec(et)}function ec(et){return et===l5.dollarSign?(Y.consume(et),ea++,ec):ea<2?en(et):(Y.exit("mathTextSequence"),ed(et))}function ed(et){return et===l5.eof?en(et):et===l5.dollarSign?(eo=Y.enter("mathTextSequence"),ei=0,eh(et)):et===l5.space?(Y.enter("space"),Y.consume(et),Y.exit("space"),ed):rD(et)?(Y.enter(l3.lineEnding),Y.consume(et),Y.exit(l3.lineEnding),ed):(Y.enter("mathTextData"),ef(et))}function ef(et){return et===l5.eof||et===l5.space||et===l5.dollarSign||rD(et)?(Y.exit("mathTextData"),ed(et)):(Y.consume(et),ef)}function eh(en){return en===l5.dollarSign?(Y.consume(en),ei++,eh):ei===ea?(Y.exit("mathTextSequence"),Y.exit("mathText"),et(en)):(eo.type="mathTextData",ef(en))}},resolve:uc,previous:ud}}function uc(Y){var et,en,ei=Y.length-4,eo=3;if((Y[3][1].type===l3.lineEnding||"space"===Y[eo][1].type)&&(Y[ei][1].type===l3.lineEnding||"space"===Y[ei][1].type)){for(et=eo;++et<ei;)if("mathTextData"===Y[et][1].type){Y[ei][1].type="mathTextPadding",Y[eo][1].type="mathTextPadding",eo+=2,ei-=2;break}}for(et=eo-1,ei++;++et<=ei;)void 0===en?et!==ei&&Y[et][1].type!==l3.lineEnding&&(en=et):(et===ei||Y[et][1].type===l3.lineEnding)&&(Y[en][1].type="mathTextData",et!==en+2&&(Y[en][1].end=Y[et-1][1].end,Y.splice(en+2,et-en-2),ei-=et-en-2,et=en+2),en=void 0);return Y}function ud(Y){return Y!==l5.dollarSign||this.events[this.events.length-1][1].type===l3.characterEscape}function uf(){return{tokenize:function(Y,et,en){var ei,eo=[],ea=[],eu=this;return ec;function ec(et){return l5.backslash,up.call(eu,eu.previous)&&eu.previous,Y.enter("mathText"),Y.enter("mathTextSequence"),ed(et)}function ed(et){return(eo.join(","),et===l5.backslash&&0===eo.length||et===l5.leftSquareBracket&&1===eo.length)?(Y.consume(et),eo.push(et),ed):eo.length<2?en(et):(Y.exit("mathTextSequence"),ef(et))}function ef(et){return et===l5.eof?en(et):et===l5.backslash?(ei=Y.enter("mathTextSequence"),ea=[],ep(et)):et===l5.space?(Y.enter("space"),Y.consume(et),Y.exit("space"),ef):rD(et)?(Y.enter(l3.lineEnding),Y.consume(et),Y.exit(l3.lineEnding),ef):(Y.enter("mathTextData"),eh(et))}function eh(et){return et===l5.eof||et===l5.space||et===l5.backslash||rD(et)?(Y.exit("mathTextData"),ef(et)):(Y.consume(et),eh)}function ep(en){return(eo.join(","),en===l5.backslash&&0===ea.length||en===l5.rightSquareBracket&&1===ea.length)?(Y.consume(en),ea.push(en),ep):ea.length===eo.length?(Y.exit("mathTextSequence"),Y.exit("mathText"),et(en)):(ei.type="mathTextData",eh(en))}},resolve:uh,previous:up}}function uh(Y){var et,en,ei=Y.length-4,eo=3;if((Y[3][1].type===l3.lineEnding||"space"===Y[eo][1].type)&&(Y[ei][1].type===l3.lineEnding||"space"===Y[ei][1].type)){for(et=eo;++et<ei;)if("mathTextData"===Y[et][1].type){Y[ei][1].type="mathTextPadding",Y[eo][1].type="mathTextPadding",eo+=2,ei-=2;break}}for(et=eo-1,ei++;++et<=ei;)void 0===en?et!==ei&&Y[et][1].type!==l3.lineEnding&&(en=et):(et===ei||Y[et][1].type===l3.lineEnding)&&(Y[en][1].type="mathTextData",et!==en+2&&(Y[en][1].end=Y[et-1][1].end,Y.splice(en+2,et-en-2),ei-=et-en-2,et=en+2),en=void 0);return Y}function up(Y){return Y!==l5.backslash||this.events[this.events.length-1][1].type===l3.characterEscape}function um(){var Y,et;return{flow:(Y={},(0,lW._)(Y,l5.dollarSign,un),(0,lW._)(Y,l5.backslash,l6),Y),text:(et={},(0,lW._)(et,l5.dollarSign,uu()),(0,lW._)(et,l5.backslash,[ua(),uf()]),et)}}function ug(){var Y=function(Y,en){(et[Y]?et[Y]:et[Y]=[]).push(en)},et=this.data();Y("micromarkExtensions",um()),Y("fromMarkdownExtensions",l0()),Y("toMarkdownExtensions",l9())}let uv=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Apply","ApplySides","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayQ","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstronomicalData","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomList","AtomQ","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTracks","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","BabyMonsterGroupB","Back","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginFrontEndInteractionPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","Binomial","BinomialDistribution","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockMap","BlockRandom","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CardinalBSplineBasis","CarlemanLinearize","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalData","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","ClosingSaveDialog","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledFunction","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteKaryTree","CompletionsListPacket","Complex","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","ConformAudio","ConformImages","Congruent","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegionBox","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnesWindow","ConoverTest","ConsoleMessage","ConsoleMessagePacket","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","Convergents","ConversionOptions","ConversionRules","ConvertToBitmapPacket","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexPolygonQ","ConvexPolyhedronQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyTag","CopyToClipboard","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePalettePacket","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","Cumulant","CumulantGeneratingFunction","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentlySpeakingPacket","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylindricalDecomposition","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFormatTypeForStyle","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayFlushImagePacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplaySetSizePacket","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DragAndDrop","DrawEdges","DrawFrontFaces","DrawHighlighted","Drop","DropoutLayer","DSolve","DSolveValue","Dt","DualLinearProgramming","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoFunction","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EnableConsolePrintPacket","Enabled","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndFrontEndInteractionPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedProcess","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPostmanTour","FindProcessParameters","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlipView","Floor","FlowPolynomial","FlushPrintOutputPacket","Fold","FoldList","FoldPair","FoldPairList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FractionalBrownianMotionProcess","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceOpacity","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionDomain","FunctionExpand","FunctionInterpolation","FunctionPeriod","FunctionRange","FunctionSpace","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedCell","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoPath","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetBoundingBoxSizePacket","GetContext","GetEnvironment","GetFileName","GetFrontEndOptionsDataPacket","GetLinebreakInformationPacket","GetMenusPacket","GetPageBreakInformationPacket","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","Grad","Gradient","GradientFilter","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphElementData","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","HeaderSize","HeaderStyle","Heads","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","Here","HermiteDecomposition","HermiteH","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IgnoreCase","IgnoreDiacritics","IgnorePunctuation","IgnoreSpellCheck","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImagingDevice","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","Interactive","InteractiveTradingChart","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LibraryDataType","LibraryFunction","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseID","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeContainsQ","MoleculeEquivalentQ","MoleculeGraph","MoleculeModify","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeValue","Moment","Momentary","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborGraph","NearestTo","NebulaData","NeedCurrentFrontEndPackagePacket","NeedCurrentFrontEndSymbolsPacket","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestWhile","NestWhileList","NetAppend","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookCreateReturnObject","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookFindReturnObject","NotebookGet","NotebookGetLayoutInformationPacket","NotebookGetMisspellingsPacket","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookOpenReturnObject","NotebookPath","NotebookPrint","NotebookPut","NotebookPutReturnObject","NotebookRead","NotebookResetGeneratedCells","Notebooks","NotebookSave","NotebookSaveAs","NotebookSelection","NotebookSetupLayoutInformationPacket","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhysicalSystemData","Pi","Pick","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderReplace","Plain","PlanarAngle","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointFigureChart","PointLegend","PointSize","PoissonConsulDistribution","PoissonDistribution","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","Projection","Prolog","PromptForm","ProofObject","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","Quit","Quotient","QuotientRemainder","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomChoice","RandomColor","RandomComplex","RandomEntity","RandomFunction","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecognitionPrior","RecognitionThreshold","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionDifference","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionFillingStyle","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteConnect","RemoteConnectionObject","RemoteFile","RemoteRun","RemoteRunProcess","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetMenusPacket","ResetScheduledTask","ReshapeLayer","Residue","ResizeLayer","Resolve","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RiskAchievementImportance","RiskReductionImportance","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionDuplicateCell","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectionSetStyle","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetBoxFormNamesPacket","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetEvaluationNotebook","SetFileDate","SetFileLoadingContext","SetNotebookStatusLine","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetSpeechParametersPacket","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","SetValue","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SnDispersion","Snippet","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolidAngle","SolidData","SolidRegionQ","Solve","SolveAlways","SolveDelayed","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SpatialGraphDistribution","SpatialMedian","SpatialTransformationLayer","Speak","SpeakerMatchQ","SpeakTextPacket","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","SpellingSuggestionsPacket","Sphere","SphereBox","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripWrapperBoxes","StrokeForm","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTracks","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxBackground","TableViewBoxItemSize","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThompsonGroupTh","Thread","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRules","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","TreeForm","TreeGraph","TreeGraphQ","TreePlot","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValidationLength","ValidationSet","Value","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceTest","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerboseConvertToPostScriptPacket","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","Version","VersionedPreferences","VersionNumber","VertexAdd","VertexCapacity","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoPause","VideoPlay","VideoQ","VideoStop","VideoStream","VideoStreams","VideoTimeSeries","VideoTracks","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$ConditionHold","$ConfiguredKernels","$Context","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultLocalBase","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$PublisherID","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterWolframID","$RequesterWolframUUID","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function uy(Y){let et=Y.regex,en=/([2-9]|[1-2]\d|[3][0-5])\^\^/,ei=/(\w*\.\w+|\w+\.\w*|\w+)/,eo=/(\d*\.\d+|\d+\.\d*|\d+)/,ea=et.either(et.concat(en,ei),eo),eu=/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,ec=/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/,ed=et.either(eu,ec),ef=/\*\^[+-]?\d+/,eh=et.concat(ea,et.optional(ed),et.optional(ef)),ep={className:"number",relevance:0,begin:eh},em=/[a-zA-Z$][a-zA-Z0-9$]*/,eg=new Set(uv),ey={variants:[{className:"builtin-symbol",begin:em,"on:begin":(Y,et)=>{eg.has(Y[0])||et.ignoreMatch()}},{className:"symbol",relevance:0,begin:em}]},eb={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},ek={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},ew={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},e_={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},eE={className:"brace",relevance:0,begin:/[[\](){}]/},eC={className:"message-name",relevance:0,begin:et.concat("::",em)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[Y.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),ew,e_,eC,ey,eb,Y.QUOTE_STRING_MODE,ep,ek,eE]}}function ub(Y){let et=Y.regex,en=Y.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),ei="decltype\\(auto\\)",eo="[a-zA-Z_]\\w*::",ea="<[^<>]+>",eu="(?!struct)("+ei+"|"+et.optional(eo)+"[a-zA-Z_]\\w*"+et.optional(ea)+")",ec={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},ed="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",ef={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[Y.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+ed+"|.)",end:"'",illegal:"."},Y.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},eh={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},ep={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},Y.inherit(ef,{className:"string"}),{className:"string",begin:/<.*?>/},en,Y.C_BLOCK_COMMENT_MODE]},em={className:"title",begin:et.optional(eo)+Y.IDENT_RE,relevance:0},eg=et.optional(eo)+Y.IDENT_RE+"\\s*\\(",ey=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],eb=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],ek=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],ew=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],e_=["NULL","false","nullopt","nullptr","true"],eE=["_Pragma"],eC={type:eb,keyword:ey,literal:e_,built_in:eE,_type_hints:ek},eT={className:"function.dispatch",relevance:0,keywords:{_hint:ew},begin:et.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,Y.IDENT_RE,et.lookahead(/(<[^<>]+>|)\s*\(/))},eS=[eT,ep,ec,en,Y.C_BLOCK_COMMENT_MODE,eh,ef],eA={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:eC,contains:eS.concat([{begin:/\(/,end:/\)/,keywords:eC,contains:eS.concat(["self"]),relevance:0}]),relevance:0},eM={className:"function",begin:"("+eu+"[\\*&\\s]+)+"+eg,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:eC,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ei,keywords:eC,relevance:0},{begin:eg,returnBegin:!0,contains:[em],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[ef,eh]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:eC,relevance:0,contains:[en,Y.C_BLOCK_COMMENT_MODE,ef,eh,ec,{begin:/\(/,end:/\)/,keywords:eC,relevance:0,contains:["self",en,Y.C_BLOCK_COMMENT_MODE,ef,eh,ec]}]},ec,en,Y.C_BLOCK_COMMENT_MODE,ep]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:eC,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(eA,eM,eT,eS,[ep,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:eC,contains:["self",ec]},{begin:Y.IDENT_RE+"::",keywords:eC},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function ux(Y){let et={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},en=ub(Y),ei=en.keywords;return ei.type=[...ei.type,...et.type],ei.literal=[...ei.literal,...et.literal],ei.built_in=[...ei.built_in,...et.built_in],ei._hints=et._hints,en.name="Arduino",en.aliases=["ino"],en.supersetOf="cpp",en}function uk(Y){let et=Y.regex,en={},ei={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[en]}]};Object.assign(en,{className:"variable",variants:[{begin:et.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},ei]});let eo={className:"subst",begin:/\$\(/,end:/\)/,contains:[Y.BACKSLASH_ESCAPE]},ea={begin:/<<-?\s*(?=\w+)/,starts:{contains:[Y.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},eu={className:"string",begin:/"/,end:/"/,contains:[Y.BACKSLASH_ESCAPE,en,eo]};eo.contains.push(eu);let ec={className:"",begin:/\\"/},ed={className:"string",begin:/'/,end:/'/},ef={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},Y.NUMBER_MODE,en]},eh=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],ep=Y.SHEBANG({binary:`(${eh.join("|")})`,relevance:10}),em={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[Y.inherit(Y.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},eg=["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"],ey=["true","false"],eb={match:/(\/[a-z._-]+)+/},ek=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],ew=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],e_=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],eE=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:eg,literal:ey,built_in:[...ek,...ew,"set","shopt",...e_,...eE]},contains:[ep,Y.SHEBANG(),em,ef,Y.HASH_COMMENT_MODE,ea,eb,eu,ec,ed,en]}}function uw(Y){let et=Y.regex,en=Y.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),ei="decltype\\(auto\\)",eo="[a-zA-Z_]\\w*::",ea="<[^<>]+>",eu="("+ei+"|"+et.optional(eo)+"[a-zA-Z_]\\w*"+et.optional(ea)+")",ec={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},ed="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",ef={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[Y.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+ed+"|.)",end:"'",illegal:"."},Y.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},eh={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},ep={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},Y.inherit(ef,{className:"string"}),{className:"string",begin:/<.*?>/},en,Y.C_BLOCK_COMMENT_MODE]},em={className:"title",begin:et.optional(eo)+Y.IDENT_RE,relevance:0},eg=et.optional(eo)+Y.IDENT_RE+"\\s*\\(",ey=["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],eb=["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],ek={keyword:ey,type:eb,literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},ew=[ep,ec,en,Y.C_BLOCK_COMMENT_MODE,eh,ef],e_={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:ek,contains:ew.concat([{begin:/\(/,end:/\)/,keywords:ek,contains:ew.concat(["self"]),relevance:0}]),relevance:0},eE={begin:"("+eu+"[\\*&\\s]+)+"+eg,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:ek,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ei,keywords:ek,relevance:0},{begin:eg,returnBegin:!0,contains:[Y.inherit(em,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:ek,relevance:0,contains:[en,Y.C_BLOCK_COMMENT_MODE,ef,eh,ec,{begin:/\(/,end:/\)/,keywords:ek,relevance:0,contains:["self",en,Y.C_BLOCK_COMMENT_MODE,ef,eh,ec]}]},ec,en,Y.C_BLOCK_COMMENT_MODE,ep]};return{name:"C",aliases:["h"],keywords:ek,disableAutodetect:!0,illegal:"</",contains:[].concat(e_,eE,ew,[ep,{begin:Y.IDENT_RE+"::",keywords:ek},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},Y.TITLE_MODE]}]),exports:{preprocessor:ep,strings:ef,keywords:ek}}}function u_(Y){let et=Y.regex,en=Y.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),ei="decltype\\(auto\\)",eo="[a-zA-Z_]\\w*::",ea="<[^<>]+>",eu="(?!struct)("+ei+"|"+et.optional(eo)+"[a-zA-Z_]\\w*"+et.optional(ea)+")",ec={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},ed="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",ef={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[Y.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+ed+"|.)",end:"'",illegal:"."},Y.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},eh={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},ep={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},Y.inherit(ef,{className:"string"}),{className:"string",begin:/<.*?>/},en,Y.C_BLOCK_COMMENT_MODE]},em={className:"title",begin:et.optional(eo)+Y.IDENT_RE,relevance:0},eg=et.optional(eo)+Y.IDENT_RE+"\\s*\\(",ey=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],eb=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],ek=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],ew=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],e_=["NULL","false","nullopt","nullptr","true"],eE=["_Pragma"],eC={type:eb,keyword:ey,literal:e_,built_in:eE,_type_hints:ek},eT={className:"function.dispatch",relevance:0,keywords:{_hint:ew},begin:et.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,Y.IDENT_RE,et.lookahead(/(<[^<>]+>|)\s*\(/))},eS=[eT,ep,ec,en,Y.C_BLOCK_COMMENT_MODE,eh,ef],eA={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:eC,contains:eS.concat([{begin:/\(/,end:/\)/,keywords:eC,contains:eS.concat(["self"]),relevance:0}]),relevance:0},eM={className:"function",begin:"("+eu+"[\\*&\\s]+)+"+eg,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:eC,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:ei,keywords:eC,relevance:0},{begin:eg,returnBegin:!0,contains:[em],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[ef,eh]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:eC,relevance:0,contains:[en,Y.C_BLOCK_COMMENT_MODE,ef,eh,ec,{begin:/\(/,end:/\)/,keywords:eC,relevance:0,contains:["self",en,Y.C_BLOCK_COMMENT_MODE,ef,eh,ec]}]},ec,en,Y.C_BLOCK_COMMENT_MODE,ep]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:eC,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(eA,eM,eT,eS,[ep,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:eC,contains:["self",ec]},{begin:Y.IDENT_RE+"::",keywords:eC},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function uE(Y){let et=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],en=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],ei=["default","false","null","true"],eo=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],ea=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],eu={keyword:eo.concat(ea),built_in:et,literal:ei},ec=Y.inherit(Y.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),ed={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},ef={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},eh=Y.inherit(ef,{illegal:/\n/}),ep={className:"subst",begin:/\{/,end:/\}/,keywords:eu},em=Y.inherit(ep,{illegal:/\n/}),eg={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},Y.BACKSLASH_ESCAPE,em]},ey={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},ep]},eb=Y.inherit(ey,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},em]});ep.contains=[ey,eg,ef,Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE,ed,Y.C_BLOCK_COMMENT_MODE],em.contains=[eb,eg,eh,Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE,ed,Y.inherit(Y.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let ek={variants:[ey,eg,ef,Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE]},ew={begin:"<",end:">",contains:[{beginKeywords:"in out"},ec]},e_=Y.IDENT_RE+"(<"+Y.IDENT_RE+"(\\s*,\\s*"+Y.IDENT_RE+")*>)?(\\[\\])?",eE={begin:"@"+Y.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:eu,illegal:/::/,contains:[Y.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},ek,ed,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},ec,ew,Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[ec,Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[ec,ew,Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+e_+"\\s+)+"+Y.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:eu,contains:[{beginKeywords:en.join(" "),relevance:0},{begin:Y.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[Y.TITLE_MODE,ew],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:eu,relevance:0,contains:[ek,ed,Y.C_BLOCK_COMMENT_MODE]},Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE]},eE]}}let uC=Y=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:Y.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:Y.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),uT=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],uS=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],uA=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],uM=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],uP=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function uj(Y){let et=Y.regex,en=uC(Y),ei={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},eo="and or not only",ea=/@-?\w[\w]*(-\w+)*/,eu="[a-zA-Z-][a-zA-Z0-9_-]*",ec=[Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[en.BLOCK_COMMENT,ei,en.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+eu,relevance:0},en.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+uA.join("|")+")"},{begin:":(:)?("+uM.join("|")+")"}]},en.CSS_VARIABLE,{className:"attribute",begin:"\\b("+uP.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[en.BLOCK_COMMENT,en.HEXCOLOR,en.IMPORTANT,en.CSS_NUMBER_MODE,...ec,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...ec,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},en.FUNCTION_DISPATCH]},{begin:et.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:ea},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:eo,attribute:uS.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...ec,en.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+uT.join("|")+")\\b"}]}}function uO(Y){let et=Y.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:et.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:et.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function uI(Y){let et=["true","false","iota","nil"],en=["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"],ei=["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],eo=["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],ea={keyword:eo,type:ei,literal:et,built_in:en};return{name:"Go",aliases:["golang"],keywords:ea,illegal:"</",contains:[Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE,{className:"string",variants:[Y.QUOTE_STRING_MODE,Y.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:Y.C_NUMBER_RE+"[i]",relevance:1},Y.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[Y.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:ea,illegal:/["']/}]}]}}function uN(Y){let et=Y.regex,en=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[Y.HASH_COMMENT_MODE,Y.QUOTE_STRING_MODE,Y.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:et.concat(en,et.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function uL(Y){let et=Y.regex,en={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:Y.NUMBER_RE}]},ei=Y.COMMENT();ei.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let eo={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},ea={className:"literal",begin:/\bon|off|true|false|yes|no\b/},eu={className:"string",contains:[Y.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},ec={begin:/\[/,end:/\]/,contains:[ei,ea,eo,eu,en,"self"],relevance:0},ed=/[A-Za-z0-9_-]+/,ef=/"(\\"|[^"])*"/,eh=/'[^']*'/,ep=et.either(ed,ef,eh),em=et.concat(ep,"(\\s*\\.\\s*",ep,")*",et.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[ei,{className:"section",begin:/\[+/,end:/\]+/},{begin:em,className:"attr",starts:{end:/$/,contains:[ei,ec,ea,eo,eu,en]}}]}}var uR="[0-9](_*[0-9])*",uD=`\\.(${uR})`,uF="[0-9a-fA-F](_*[0-9a-fA-F])*",uB={className:"number",variants:[{begin:`(\\b(${uR})((${uD})|\\.)?|(${uD}))[eE][+-]?(${uR})[fFdD]?\\b`},{begin:`\\b(${uR})((${uD})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${uD})[fFdD]?\\b`},{begin:`\\b(${uR})[fFdD]\\b`},{begin:`\\b0[xX]((${uF})\\.?|(${uF})?\\.(${uF}))[pP][+-]?(${uR})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${uF})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function uz(Y,et,en){return -1===en?"":Y.replace(et,ei=>uz(Y,et,en-1))}function uU(Y){let et=Y.regex,en="[\xc0-ʸa-zA-Z_$][\xc0-ʸa-zA-Z_$0-9]*",ei=en+uz("(?:<"+en+"~~~(?:\\s*,\\s*"+en+"~~~)*>)?",/~~~/g,2),eo=["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],ea=["super","this"],eu=["false","true","null"],ec=["char","boolean","long","float","int","byte","short","double"],ed={keyword:eo,literal:eu,type:ec,built_in:ea},ef={className:"meta",begin:"@"+en,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},eh={className:"params",begin:/\(/,end:/\)/,keywords:ed,relevance:0,contains:[Y.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:ed,illegal:/<\/|#/,contains:[Y.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[Y.BACKSLASH_ESCAPE]},Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,en],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[et.concat(/(?!else)/,en),/\s+/,en,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,en],className:{1:"keyword",3:"title.class"},contains:[eh,Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+ei+"\\s+)",Y.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:ed,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:ed,relevance:0,contains:[ef,Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE,uB,Y.C_BLOCK_COMMENT_MODE]},Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE]},uB,ef]}}let uH="[A-Za-z$_][0-9A-Za-z$_]*",uG=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],uV=["true","false","null","undefined","NaN","Infinity"],uW=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],uq=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],uZ=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],uK=["arguments","this","super","console","window","document","localStorage","module","global"],u$=[].concat(uZ,uW,uq);function uY(Y){let et=Y.regex,en=(Y,{after:et})=>{let en="</"+Y[0].slice(1),ei=Y.input.indexOf(en,et);return -1!==ei},ei=uH,eo={begin:"<>",end:"</>"},ea=/<[A-Za-z0-9\\._:-]+\s*\/>/,eu={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Y,et)=>{let ei;let eo=Y[0].length+Y.index,ea=Y.input[eo];if("<"===ea||","===ea){et.ignoreMatch();return}">"!==ea||en(Y,{after:eo})||et.ignoreMatch();let eu=Y.input.substring(eo);if((ei=eu.match(/^\s*=/))||(ei=eu.match(/^\s+extends\s+/))&&0===ei.index){et.ignoreMatch();return}}},ec={$pattern:uH,keyword:uG,literal:uV,built_in:u$,"variable.language":uK},ed="[0-9](_?[0-9])*",ef=`\\.(${ed})`,eh="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",ep={className:"number",variants:[{begin:`(\\b(${eh})((${ef})|\\.)?|(${ef}))[eE][+-]?(${ed})\\b`},{begin:`\\b(${eh})\\b((${ef})\\b|\\.)?|(${ef})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},em={className:"subst",begin:"\\$\\{",end:"\\}",keywords:ec,contains:[]},eg={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[Y.BACKSLASH_ESCAPE,em],subLanguage:"xml"}},ey={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[Y.BACKSLASH_ESCAPE,em],subLanguage:"css"}},eb={className:"string",begin:"`",end:"`",contains:[Y.BACKSLASH_ESCAPE,em]},ek=Y.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:ei+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),ew={className:"comment",variants:[ek,Y.C_BLOCK_COMMENT_MODE,Y.C_LINE_COMMENT_MODE]},e_=[Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE,eg,ey,eb,{match:/\$\d+/},ep];em.contains=e_.concat({begin:/\{/,end:/\}/,keywords:ec,contains:["self"].concat(e_)});let eE=[].concat(ew,em.contains),eC=eE.concat([{begin:/\(/,end:/\)/,keywords:ec,contains:["self"].concat(eE)}]),eT={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ec,contains:eC},eS={variants:[{match:[/class/,/\s+/,ei,/\s+/,/extends/,/\s+/,et.concat(ei,"(",et.concat(/\./,ei),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,ei],scope:{1:"keyword",3:"title.class"}}]},eA={relevance:0,match:et.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...uW,...uq]}},eM={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},eP={variants:[{match:[/function/,/\s+/,ei,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[eT],illegal:/%/},ej={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function eO(Y){return et.concat("(?!",Y.join("|"),")")}let eI={match:et.concat(/\b/,eO([...uZ,"super","import"]),ei,et.lookahead(/\(/)),className:"title.function",relevance:0},eN={begin:et.concat(/\./,et.lookahead(et.concat(ei,/(?![0-9A-Za-z$_(])/))),end:ei,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},eL={match:[/get|set/,/\s+/,ei,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},eT]},eR="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+Y.UNDERSCORE_IDENT_RE+")\\s*=>",eD={match:[/const|var|let/,/\s+/,ei,/\s*/,/=\s*/,/(async\s*)?/,et.lookahead(eR)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[eT]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:ec,exports:{PARAMS_CONTAINS:eC,CLASS_REFERENCE:eA},illegal:/#(?![$_A-z])/,contains:[Y.SHEBANG({label:"shebang",binary:"node",relevance:5}),eM,Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE,eg,ey,eb,ew,{match:/\$\d+/},ep,eA,{className:"attr",begin:ei+et.lookahead(":"),relevance:0},eD,{begin:"("+Y.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[ew,Y.REGEXP_MODE,{className:"function",begin:eR,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:Y.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ec,contains:eC}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:eo.begin,end:eo.end},{match:ea},{begin:eu.begin,"on:begin":eu.isTrulyOpeningTag,end:eu.end}],subLanguage:"xml",contains:[{begin:eu.begin,end:eu.end,skip:!0,contains:["self"]}]}]},eP,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+Y.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[eT,Y.inherit(Y.TITLE_MODE,{begin:ei,className:"title.function"})]},{match:/\.\.\./,relevance:0},eN,{match:"\\$"+ei,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[eT]},eI,ej,eS,eL,{match:/\$[(.]/}]}}function uQ(Y){let et={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},en={match:/[{}[\],:]/,className:"punctuation",relevance:0},ei=["true","false","null"],eo={scope:"literal",beginKeywords:ei.join(" ")};return{name:"JSON",keywords:{literal:ei},contains:[et,en,Y.QUOTE_STRING_MODE,eo,Y.C_NUMBER_MODE,Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var uX="[0-9](_*[0-9])*",uJ=`\\.(${uX})`,u2="[0-9a-fA-F](_*[0-9a-fA-F])*",u9={className:"number",variants:[{begin:`(\\b(${uX})((${uJ})|\\.)?|(${uJ}))[eE][+-]?(${uX})[fFdD]?\\b`},{begin:`\\b(${uX})((${uJ})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${uJ})[fFdD]?\\b`},{begin:`\\b(${uX})[fFdD]\\b`},{begin:`\\b0[xX]((${u2})\\.?|(${u2})?\\.(${u2}))[pP][+-]?(${uX})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${u2})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function u5(Y){let et={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},en={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},ei={className:"symbol",begin:Y.UNDERSCORE_IDENT_RE+"@"},eo={className:"subst",begin:/\$\{/,end:/\}/,contains:[Y.C_NUMBER_MODE]},ea={className:"variable",begin:"\\$"+Y.UNDERSCORE_IDENT_RE},eu={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[ea,eo]},{begin:"'",end:"'",illegal:/\n/,contains:[Y.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[Y.BACKSLASH_ESCAPE,ea,eo]}]};eo.contains.push(eu);let ec={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+Y.UNDERSCORE_IDENT_RE+")?"},ed={className:"meta",begin:"@"+Y.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[Y.inherit(eu,{className:"string"}),"self"]}]},ef=u9,eh=Y.COMMENT("/\\*","\\*/",{contains:[Y.C_BLOCK_COMMENT_MODE]}),ep={variants:[{className:"type",begin:Y.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},em=ep;return em.variants[1].contains=[ep],ep.variants[1].contains=[em],{name:"Kotlin",aliases:["kt","kts"],keywords:et,contains:[Y.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),Y.C_LINE_COMMENT_MODE,eh,en,ei,ec,ed,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:et,relevance:5,contains:[{begin:Y.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[Y.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:et,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[ep,Y.C_LINE_COMMENT_MODE,eh],relevance:0},Y.C_LINE_COMMENT_MODE,eh,ec,ed,eu,Y.C_NUMBER_MODE]},eh]},{begin:[/class|interface|trait/,/\s+/,Y.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},Y.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},ec,ed]},eu,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},ef]}}let u4=Y=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:Y.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:Y.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),u3=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],u6=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],u7=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],u8=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],cr=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),co=u7.concat(u8);function cl(Y){let et=u4(Y),en=co,ei="and or not only",eo="[\\w-]+",ea="("+eo+"|@\\{"+eo+"\\})",eu=[],ec=[],ed=function(Y){return{className:"string",begin:"~?"+Y+".*?"+Y}},ef=function(Y,et,en){return{className:Y,begin:et,relevance:en}},eh={$pattern:/[a-z-]+/,keyword:ei,attribute:u6.join(" ")},ep={begin:"\\(",end:"\\)",contains:ec,keywords:eh,relevance:0};ec.push(Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE,ed("'"),ed('"'),et.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},et.HEXCOLOR,ep,ef("variable","@@?"+eo,10),ef("variable","@\\{"+eo+"\\}"),ef("built_in","~?`[^`]*?`"),{className:"attribute",begin:eo+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},et.IMPORTANT,{beginKeywords:"and not"},et.FUNCTION_DISPATCH);let em=ec.concat({begin:/\{/,end:/\}/,contains:eu}),eg={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(ec)},ey={begin:ea+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},et.CSS_VARIABLE,{className:"attribute",begin:"\\b("+cr.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:ec}}]},eb={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:eh,returnEnd:!0,contains:ec,relevance:0}},ek={className:"variable",variants:[{begin:"@"+eo+"\\s*:",relevance:15},{begin:"@"+eo}],starts:{end:"[;}]",returnEnd:!0,contains:em}},ew={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:ea,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE,eg,ef("keyword","all\\b"),ef("variable","@\\{"+eo+"\\}"),{begin:"\\b("+u3.join("|")+")\\b",className:"selector-tag"},et.CSS_NUMBER_MODE,ef("selector-tag",ea,0),ef("selector-id","#"+ea),ef("selector-class","\\."+ea,0),ef("selector-tag","&",0),et.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+u7.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+u8.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:em},{begin:"!important"},et.FUNCTION_DISPATCH]},e_={begin:eo+":(:)?"+`(${en.join("|")})`,returnBegin:!0,contains:[ew]};return eu.push(Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE,eb,ek,e_,ey,ew,eg,et.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:eu}}function cu(Y){let et="\\[=*\\[",en="\\]=*\\]",ei={begin:et,end:en,contains:["self"]},eo=[Y.COMMENT("--(?!"+et+")","$"),Y.COMMENT("--"+et,en,{contains:[ei],relevance:10})];return{name:"Lua",keywords:{$pattern:Y.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:eo.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[Y.inherit(Y.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:eo}].concat(eo)},Y.C_NUMBER_MODE,Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE,{className:"string",begin:et,end:en,contains:[ei],relevance:5}])}}function cf(Y){let et={className:"variable",variants:[{begin:"\\$\\("+Y.UNDERSCORE_IDENT_RE+"\\)",contains:[Y.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},en={className:"string",begin:/"/,end:/"/,contains:[Y.BACKSLASH_ESCAPE,et]},ei={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[et]},eo={begin:"^"+Y.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},ea={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},eu={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[et]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[Y.HASH_COMMENT_MODE,et,en,ei,eo,ea,eu]}}function cm(Y){let et=Y.regex,en={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},ei={begin:"^[-\\*]{3,}",end:"$"},eo={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},ea={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},eu={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},ec=/[A-Za-z][A-Za-z0-9+.-]*/,ed={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:et.concat(/\[.+?\]\(/,ec,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},ef={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},eh={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},ep=Y.inherit(ef,{contains:[]}),em=Y.inherit(eh,{contains:[]});ef.contains.push(em),eh.contains.push(ep);let eg=[en,ed];[ef,eh,ep,em].forEach(Y=>{Y.contains=Y.contains.concat(eg)}),eg=eg.concat(ef,eh);let ey={className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:eg},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:eg}]}]},eb={className:"quote",begin:"^>\\s+",contains:eg,end:"$"};return{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[ey,en,ea,ef,eh,eb,eo,ei,ed,eu]}}function cg(Y){let et={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},en=/[a-zA-Z@][a-zA-Z0-9_]*/,ei=["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"],eo=["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],ea=["false","true","FALSE","TRUE","nil","YES","NO","NULL"],eu=["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],ec={"variable.language":["this","super"],$pattern:en,keyword:eo,literal:ea,built_in:eu,type:ei},ed={$pattern:en,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:ec,illegal:"</",contains:[et,Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE,Y.C_NUMBER_MODE,Y.QUOTE_STRING_MODE,Y.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[Y.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},Y.inherit(Y.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+ed.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:ed,contains:[Y.UNDERSCORE_TITLE_MODE]},{begin:"\\."+Y.UNDERSCORE_IDENT_RE,relevance:0}]}}function cy(Y){let et=Y.regex,en=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],ei=/[dualxmsipngr]{0,12}/,eo={$pattern:/[\w.]+/,keyword:en.join(" ")},ea={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:eo},eu={begin:/->\{/,end:/\}/},ec={variants:[{begin:/\$\d/},{begin:et.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},ed=[Y.BACKSLASH_ESCAPE,ea,ec],ef=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],eh=(Y,en,eo="\\1")=>{let ea="\\1"===eo?eo:et.concat(eo,en);return et.concat(et.concat("(?:",Y,")"),en,/(?:\\.|[^\\\/])*?/,ea,/(?:\\.|[^\\\/])*?/,eo,ei)},ep=(Y,en,eo)=>et.concat(et.concat("(?:",Y,")"),en,/(?:\\.|[^\\\/])*?/,eo,ei),em=[ec,Y.HASH_COMMENT_MODE,Y.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),eu,{className:"string",contains:ed,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[Y.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[Y.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+Y.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[Y.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:eh("s|tr|y",et.either(...ef,{capture:!0}))},{begin:eh("s|tr|y","\\(","\\)")},{begin:eh("s|tr|y","\\[","\\]")},{begin:eh("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:ep("(?:m|qr)?",/\//,/\//)},{begin:ep("m|qr",et.either(...ef,{capture:!0}),/\1/)},{begin:ep("m|qr",/\(/,/\)/)},{begin:ep("m|qr",/\[/,/\]/)},{begin:ep("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[Y.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return ea.contains=em,eu.contains=em,{name:"Perl",aliases:["pl","pm"],keywords:eo,contains:em}}function cw(Y){let et=Y.regex,en=/(?![A-Za-z0-9])(?![$])/,ei=et.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,en),eo=et.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,en),ea={scope:"variable",match:"\\$+"+ei},eu={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},ec={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},ed=Y.inherit(Y.APOS_STRING_MODE,{illegal:null}),ef=Y.inherit(Y.QUOTE_STRING_MODE,{illegal:null,contains:Y.QUOTE_STRING_MODE.contains.concat(ec)}),eh=Y.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:Y.QUOTE_STRING_MODE.contains.concat(ec)}),ep="[ \n]",em={scope:"string",variants:[ef,ed,eh]},eg={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},ey=["false","null","true"],eb=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],ek=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],ew=Y=>{let et=[];return Y.forEach(Y=>{et.push(Y),Y.toLowerCase()===Y?et.push(Y.toUpperCase()):et.push(Y.toLowerCase())}),et},e_={keyword:eb,literal:ew(ey),built_in:ek},eE=Y=>Y.map(Y=>Y.replace(/\|\d+$/,"")),eC={variants:[{match:[/new/,et.concat(ep,"+"),et.concat("(?!",eE(ek).join("\\b|"),"\\b)"),eo],scope:{1:"keyword",4:"title.class"}}]},eT=et.concat(ei,"\\b(?!\\()"),eS={variants:[{match:[et.concat(/::/,et.lookahead(/(?!class\b)/)),eT],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[eo,et.concat(/::/,et.lookahead(/(?!class\b)/)),eT],scope:{1:"title.class",3:"variable.constant"}},{match:[eo,et.concat("::",et.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[eo,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},eA={scope:"attr",match:et.concat(ei,et.lookahead(":"),et.lookahead(/(?!::)/))},eM={relevance:0,begin:/\(/,end:/\)/,keywords:e_,contains:[eA,ea,eS,Y.C_BLOCK_COMMENT_MODE,em,eg,eC]},eP={relevance:0,match:[/\b/,et.concat("(?!fn\\b|function\\b|",eE(eb).join("\\b|"),"|",eE(ek).join("\\b|"),"\\b)"),ei,et.concat(ep,"*"),et.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[eM]};eM.contains.push(eP);let ej=[eA,eS,Y.C_BLOCK_COMMENT_MODE,em,eg,eC],eO={begin:et.concat(/#\[\s*/,eo),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:ey,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:ey,keyword:["new","array"]},contains:["self",...ej]},...ej,{scope:"meta",match:eo}]};return{case_insensitive:!1,keywords:e_,contains:[eO,Y.HASH_COMMENT_MODE,Y.COMMENT("//","$"),Y.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:Y.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},eu,{scope:"variable.language",match:/\$this\b/},ea,eP,eS,{match:[/const/,/\s/,ei],scope:{1:"keyword",3:"variable.constant"}},eC,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},Y.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:e_,contains:["self",ea,eS,Y.C_BLOCK_COMMENT_MODE,em,eg]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},Y.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[Y.inherit(Y.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},Y.UNDERSCORE_TITLE_MODE]},em,eg]}}function c_(Y){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},Y.inherit(Y.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),Y.inherit(Y.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function cE(Y){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function cC(Y){let et=Y.regex,en=/[\p{XID_Start}_]\p{XID_Continue}*/u,ei=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],eo=["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],ea=["__debug__","Ellipsis","False","None","NotImplemented","True"],eu=["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"],ec={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:ei,built_in:eo,literal:ea,type:eu},ed={className:"meta",begin:/^(>>>|\.\.\.) /},ef={className:"subst",begin:/\{/,end:/\}/,keywords:ec,illegal:/#/},eh={begin:/\{\{/,relevance:0},ep={className:"string",contains:[Y.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[Y.BACKSLASH_ESCAPE,ed],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[Y.BACKSLASH_ESCAPE,ed],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[Y.BACKSLASH_ESCAPE,ed,eh,ef]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[Y.BACKSLASH_ESCAPE,ed,eh,ef]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[Y.BACKSLASH_ESCAPE,eh,ef]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[Y.BACKSLASH_ESCAPE,eh,ef]},Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE]},em="[0-9](_?[0-9])*",eg=`(\\b(${em}))?\\.(${em})|\\b(${em})\\.`,ey=`\\b|${ei.join("|")}`,eb={className:"number",relevance:0,variants:[{begin:`(\\b(${em})|(${eg}))[eE][+-]?(${em})[jJ]?(?=${ey})`},{begin:`(${eg})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${ey})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${ey})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${ey})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${ey})`},{begin:`\\b(${em})[jJ](?=${ey})`}]},ek={className:"comment",begin:et.lookahead(/# type:/),end:/$/,keywords:ec,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},ew={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ec,contains:["self",ed,eb,ep,Y.HASH_COMMENT_MODE]}]};return ef.contains=[ep,eb,ed],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:ec,illegal:/(<\/|->|\?)|=>/,contains:[ed,eb,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},ep,ek,Y.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,en],scope:{1:"keyword",3:"title.function"},contains:[ew]},{variants:[{match:[/\bclass/,/\s+/,en,/\s*/,/\(\s*/,en,/\s*\)/]},{match:[/\bclass/,/\s+/,en]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[eb,ew,ep]}]}}function cT(Y){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function cS(Y){let et=Y.regex,en=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,ei=et.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),eo=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,ea=et.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:en,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[Y.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:et.lookahead(et.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:en},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),Y.HASH_COMMENT_MODE,{scope:"string",contains:[Y.BACKSLASH_ESCAPE],variants:[Y.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),Y.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),Y.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),Y.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),Y.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),Y.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[eo,ei]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,ei]},{scope:{1:"punctuation",2:"number"},match:[ea,ei]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,ei]}]},{scope:{3:"operator"},match:[en,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:eo},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:ea},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function cA(Y){let et=Y.regex,en="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",ei=et.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),eo=et.concat(ei,/(::\w+)*/),ea=["include","extend","prepend","public","private","protected","raise","throw"],eu={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...ea],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},ec={className:"doctag",begin:"@[A-Za-z]+"},ed={begin:"#<",end:">"},ef=[Y.COMMENT("#","$",{contains:[ec]}),Y.COMMENT("^=begin","^=end",{contains:[ec],relevance:10}),Y.COMMENT("^__END__",Y.MATCH_NOTHING_RE)],eh={className:"subst",begin:/#\{/,end:/\}/,keywords:eu},ep={className:"string",contains:[Y.BACKSLASH_ESCAPE,eh],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:et.concat(/<<[-~]?'?/,et.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[Y.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[Y.BACKSLASH_ESCAPE,eh]})]}]},em="[1-9](_?[0-9])*|0",eg="[0-9](_?[0-9])*",ey={className:"number",relevance:0,variants:[{begin:`\\b(${em})(\\.(${eg}))?([eE][+-]?(${eg})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},eb={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:eu}]},ek={match:[/(include|extend)\s+/,eo],scope:{2:"title.class"},keywords:eu},ew={variants:[{match:[/class\s+/,eo,/\s+<\s+/,eo]},{match:[/\b(class|module)\s+/,eo]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:eu},e_={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},eE={match:[/def/,/\s+/,en],scope:{1:"keyword",3:"title.function"},contains:[eb]},eC={relevance:0,match:[eo,/\.new[. (]/],scope:{1:"title.class"}},eT={relevance:0,match:ei,scope:"title.class"},eS=[ep,ew,ek,eC,e_,eT,eE,{begin:Y.IDENT_RE+"::"},{className:"symbol",begin:Y.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[ep,{begin:en}],relevance:0},ey,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:eu},{begin:"("+Y.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[Y.BACKSLASH_ESCAPE,eh],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(ed,ef),relevance:0}].concat(ed,ef);eh.contains=eS,eb.contains=eS;let eA="[>?]>",eM="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",eP="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",ej=[{begin:/^\s*=>/,starts:{end:"$",contains:eS}},{className:"meta.prompt",begin:"^("+eA+"|"+eM+"|"+eP+")(?=[ ])",starts:{end:"$",keywords:eu,contains:eS}}];return ef.unshift(ed),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:eu,illegal:/\/\*/,contains:[Y.SHEBANG({binary:"ruby"})].concat(ej).concat(ef).concat(eS)}}function cM(Y){let et=Y.regex,en={className:"title.function.invoke",relevance:0,begin:et.concat(/\b/,/(?!let\b)/,Y.IDENT_RE,et.lookahead(/\s*\(/))},ei="([ui](8|16|32|64|128|size)|f(32|64))?",eo=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],ea=["true","false","Some","None","Ok","Err"],eu=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],ec=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:Y.IDENT_RE+"!?",type:ec,keyword:eo,literal:ea,built_in:eu},illegal:"</",contains:[Y.C_LINE_COMMENT_MODE,Y.COMMENT("/\\*","\\*/",{contains:["self"]}),Y.inherit(Y.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+ei},{begin:"\\b0o([0-7_]+)"+ei},{begin:"\\b0x([A-Fa-f0-9_]+)"+ei},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+ei}],relevance:0},{begin:[/fn/,/\s+/,Y.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,Y.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,Y.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,Y.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,Y.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:Y.IDENT_RE+"::",keywords:{keyword:"Self",built_in:eu,type:ec}},{className:"punctuation",begin:"->"},en]}}let cP=Y=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:Y.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:Y.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),cj=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],cO=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],cI=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],cN=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],cL=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function cR(Y){let et=cP(Y),en=cN,ei=cI,eo="@[a-z-]+",ea="and or not only",eu="[a-zA-Z-][a-zA-Z0-9_-]*",ec={className:"variable",begin:"(\\$"+eu+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[Y.C_LINE_COMMENT_MODE,Y.C_BLOCK_COMMENT_MODE,et.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},et.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+cj.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+ei.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+en.join("|")+")"},ec,{begin:/\(/,end:/\)/,contains:[et.CSS_NUMBER_MODE]},et.CSS_VARIABLE,{className:"attribute",begin:"\\b("+cL.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[et.BLOCK_COMMENT,ec,et.HEXCOLOR,et.CSS_NUMBER_MODE,Y.QUOTE_STRING_MODE,Y.APOS_STRING_MODE,et.IMPORTANT,et.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:eo,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:ea,attribute:cO.join(" ")},contains:[{begin:eo,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},ec,Y.QUOTE_STRING_MODE,Y.APOS_STRING_MODE,et.HEXCOLOR,et.CSS_NUMBER_MODE]},et.FUNCTION_DISPATCH]}}function cD(Y){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function cF(Y){let et=Y.regex,en=Y.COMMENT("--","$"),ei={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},eo={begin:/"/,end:/"/,contains:[{begin:/""/}]},ea=["true","false","unknown"],eu=["double precision","large object","with timezone","without timezone"],ec=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],ed=["add","asc","collation","desc","final","first","last","view"],ef=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],eh=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],ep=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],em=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],eg=eh,ey=[...ef,...ed].filter(Y=>!eh.includes(Y)),eb={className:"variable",begin:/@[a-z0-9]+/},ek={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},ew={begin:et.concat(/\b/,et.either(...eg),/\s*\(/),relevance:0,keywords:{built_in:eg}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(Y,{exceptions:et,when:en}={}){let ei=en;return et=et||[],Y.map(Y=>Y.match(/\|\d+$/)||et.includes(Y)?Y:ei(Y)?`${Y}|0`:Y)}(ey,{when:Y=>Y.length<3}),literal:ea,type:ec,built_in:ep},contains:[{begin:et.either(...em),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:ey.concat(em),literal:ea,type:ec}},{className:"type",begin:et.either(...eu)},ew,eb,ei,eo,Y.C_NUMBER_MODE,Y.C_BLOCK_COMMENT_MODE,en,ek]}}function cB(Y){return Y?"string"==typeof Y?Y:Y.source:null}function cz(Y){return cU("(?=",Y,")")}function cU(...Y){let et=Y.map(Y=>cB(Y)).join("");return et}function cH(Y){let et=Y[Y.length-1];return"object"==typeof et&&et.constructor===Object?(Y.splice(Y.length-1,1),et):{}}function cG(...Y){let et=cH(Y),en="("+(et.capture?"":"?:")+Y.map(Y=>cB(Y)).join("|")+")";return en}let cV=Y=>cU(/\b/,Y,/\w$/.test(Y)?/\b/:/\B/),cW=["Protocol","Type"].map(cV),cq=["init","self"].map(cV),cZ=["Any","Self"],cK=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],c$=["false","nil","true"],cY=["assignment","associativity","higherThan","left","lowerThan","none","right"],cQ=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],cX=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],cJ=cG(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),c0=cG(cJ,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),c9=cU(cJ,c0,"*"),c5=cG(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),c4=cG(c5,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),c6=cU(c5,c4,"*"),c7=cU(/[A-Z]/,c4,"*"),c8=["autoclosure",cU(/convention\(/,cG("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",cU(/objc\(/,c6,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],dn=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function dr(Y){let et={match:/\s+/,relevance:0},en=Y.COMMENT("/\\*","\\*/",{contains:["self"]}),ei=[Y.C_LINE_COMMENT_MODE,en],eo={match:[/\./,cG(...cW,...cq)],className:{2:"keyword"}},ea={match:cU(/\./,cG(...cK)),relevance:0},eu=cK.filter(Y=>"string"==typeof Y).concat(["_|0"]),ec=cK.filter(Y=>"string"!=typeof Y).concat(cZ).map(cV),ed={variants:[{className:"keyword",match:cG(...ec,...cq)}]},ef={$pattern:cG(/\b\w+/,/#\w+/),keyword:eu.concat(cQ),literal:c$},eh=[eo,ea,ed],ep={match:cU(/\./,cG(...cX)),relevance:0},em={className:"built_in",match:cU(/\b/,cG(...cX),/(?=\()/)},eg=[ep,em],ey={match:/->/,relevance:0},eb={className:"operator",relevance:0,variants:[{match:c9},{match:`\\.(\\.|${c0})+`}]},ek=[ey,eb],ew="([0-9]_*)+",e_="([0-9a-fA-F]_*)+",eE={className:"number",relevance:0,variants:[{match:`\\b(${ew})(\\.(${ew}))?([eE][+-]?(${ew}))?\\b`},{match:`\\b0x(${e_})(\\.(${e_}))?([pP][+-]?(${ew}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},eC=(Y="")=>({className:"subst",variants:[{match:cU(/\\/,Y,/[0\\tnr"']/)},{match:cU(/\\/,Y,/u\{[0-9a-fA-F]{1,8}\}/)}]}),eT=(Y="")=>({className:"subst",match:cU(/\\/,Y,/[\t ]*(?:[\r\n]|\r\n)/)}),eS=(Y="")=>({className:"subst",label:"interpol",begin:cU(/\\/,Y,/\(/),end:/\)/}),eA=(Y="")=>({begin:cU(Y,/"""/),end:cU(/"""/,Y),contains:[eC(Y),eT(Y),eS(Y)]}),eM=(Y="")=>({begin:cU(Y,/"/),end:cU(/"/,Y),contains:[eC(Y),eS(Y)]}),eP={className:"string",variants:[eA(),eA("#"),eA("##"),eA("###"),eM(),eM("#"),eM("##"),eM("###")]},ej={match:cU(/`/,c6,/`/)},eO={className:"variable",match:/\$\d+/},eI={className:"variable",match:`\\$${c4}+`},eN=[ej,eO,eI],eL={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:dn,contains:[...ek,eE,eP]}]}},eR={className:"keyword",match:cU(/@/,cG(...c8))},eD={className:"meta",match:cU(/@/,c6)},eF=[eL,eR,eD],eB={match:cz(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:cU(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,c4,"+")},{className:"type",match:c7,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:cU(/\s+&\s+/,cz(c7)),relevance:0}]},ez={begin:/</,end:/>/,keywords:ef,contains:[...ei,...eh,...eF,ey,eB]};eB.contains.push(ez);let eU={match:cU(c6,/\s*:/),keywords:"_|0",relevance:0},eH={begin:/\(/,end:/\)/,relevance:0,keywords:ef,contains:["self",eU,...ei,...eh,...eg,...ek,eE,eP,...eN,...eF,eB]},eG={begin:/</,end:/>/,contains:[...ei,eB]},eV={begin:cG(cz(cU(c6,/\s*:/)),cz(cU(c6,/\s+/,c6,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:c6}]},eW={begin:/\(/,end:/\)/,keywords:ef,contains:[eV,...ei,...eh,...ek,eE,eP,...eF,eB,eH],endsParent:!0,illegal:/["']/},eZ={match:[/func/,/\s+/,cG(ej.match,c6,c9)],className:{1:"keyword",3:"title.function"},contains:[eG,eW,et],illegal:[/\[/,/%/]},eK={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[eG,eW,et],illegal:/\[|%/},e$={match:[/operator/,/\s+/,c9],className:{1:"keyword",3:"title"}},eY={begin:[/precedencegroup/,/\s+/,c7],className:{1:"keyword",3:"title"},contains:[eB],keywords:[...cY,...c$],end:/}/};for(let Y of eP.variants){let et=Y.contains.find(Y=>"interpol"===Y.label);et.keywords=ef;let en=[...eh,...eg,...ek,eE,eP,...eN];et.contains=[...en,{begin:/\(/,end:/\)/,contains:["self",...en]}]}return{name:"Swift",keywords:ef,contains:[...ei,eZ,eK,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:ef,contains:[Y.inherit(Y.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...eh]},e$,eY,{beginKeywords:"import",end:/$/,contains:[...ei],relevance:0},...eh,...eg,...ek,eE,eP,...eN,...eF,eB,eH]}}let di="[A-Za-z$_][0-9A-Za-z$_]*",ds=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],dl=["true","false","null","undefined","NaN","Infinity"],du=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],dd=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],df=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],dh=["arguments","this","super","console","window","document","localStorage","module","global"],dp=[].concat(df,du,dd);function dm(Y){let et=Y.regex,en=(Y,{after:et})=>{let en="</"+Y[0].slice(1),ei=Y.input.indexOf(en,et);return -1!==ei},ei=di,eo={begin:"<>",end:"</>"},ea=/<[A-Za-z0-9\\._:-]+\s*\/>/,eu={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Y,et)=>{let ei;let eo=Y[0].length+Y.index,ea=Y.input[eo];if("<"===ea||","===ea){et.ignoreMatch();return}">"!==ea||en(Y,{after:eo})||et.ignoreMatch();let eu=Y.input.substring(eo);if((ei=eu.match(/^\s*=/))||(ei=eu.match(/^\s+extends\s+/))&&0===ei.index){et.ignoreMatch();return}}},ec={$pattern:di,keyword:ds,literal:dl,built_in:dp,"variable.language":dh},ed="[0-9](_?[0-9])*",ef=`\\.(${ed})`,eh="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",ep={className:"number",variants:[{begin:`(\\b(${eh})((${ef})|\\.)?|(${ef}))[eE][+-]?(${ed})\\b`},{begin:`\\b(${eh})\\b((${ef})\\b|\\.)?|(${ef})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},em={className:"subst",begin:"\\$\\{",end:"\\}",keywords:ec,contains:[]},eg={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[Y.BACKSLASH_ESCAPE,em],subLanguage:"xml"}},ey={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[Y.BACKSLASH_ESCAPE,em],subLanguage:"css"}},eb={className:"string",begin:"`",end:"`",contains:[Y.BACKSLASH_ESCAPE,em]},ek=Y.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:ei+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),ew={className:"comment",variants:[ek,Y.C_BLOCK_COMMENT_MODE,Y.C_LINE_COMMENT_MODE]},e_=[Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE,eg,ey,eb,{match:/\$\d+/},ep];em.contains=e_.concat({begin:/\{/,end:/\}/,keywords:ec,contains:["self"].concat(e_)});let eE=[].concat(ew,em.contains),eC=eE.concat([{begin:/\(/,end:/\)/,keywords:ec,contains:["self"].concat(eE)}]),eT={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ec,contains:eC},eS={variants:[{match:[/class/,/\s+/,ei,/\s+/,/extends/,/\s+/,et.concat(ei,"(",et.concat(/\./,ei),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,ei],scope:{1:"keyword",3:"title.class"}}]},eA={relevance:0,match:et.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...du,...dd]}},eM={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},eP={variants:[{match:[/function/,/\s+/,ei,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[eT],illegal:/%/},ej={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function eO(Y){return et.concat("(?!",Y.join("|"),")")}let eI={match:et.concat(/\b/,eO([...df,"super","import"]),ei,et.lookahead(/\(/)),className:"title.function",relevance:0},eN={begin:et.concat(/\./,et.lookahead(et.concat(ei,/(?![0-9A-Za-z$_(])/))),end:ei,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},eL={match:[/get|set/,/\s+/,ei,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},eT]},eR="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+Y.UNDERSCORE_IDENT_RE+")\\s*=>",eD={match:[/const|var|let/,/\s+/,ei,/\s*/,/=\s*/,/(async\s*)?/,et.lookahead(eR)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[eT]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:ec,exports:{PARAMS_CONTAINS:eC,CLASS_REFERENCE:eA},illegal:/#(?![$_A-z])/,contains:[Y.SHEBANG({label:"shebang",binary:"node",relevance:5}),eM,Y.APOS_STRING_MODE,Y.QUOTE_STRING_MODE,eg,ey,eb,ew,{match:/\$\d+/},ep,eA,{className:"attr",begin:ei+et.lookahead(":"),relevance:0},eD,{begin:"("+Y.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[ew,Y.REGEXP_MODE,{className:"function",begin:eR,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:Y.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:ec,contains:eC}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:eo.begin,end:eo.end},{match:ea},{begin:eu.begin,"on:begin":eu.isTrulyOpeningTag,end:eu.end}],subLanguage:"xml",contains:[{begin:eu.begin,end:eu.end,skip:!0,contains:["self"]}]}]},eP,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+Y.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[eT,Y.inherit(Y.TITLE_MODE,{begin:ei,className:"title.function"})]},{match:/\.\.\./,relevance:0},eN,{match:"\\$"+ei,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[eT]},eI,ej,eS,eL,{match:/\$[(.]/}]}}function dg(Y){let et=dm(Y),en=di,ei=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],eo={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[et.exports.CLASS_REFERENCE]},ea={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:ei},contains:[et.exports.CLASS_REFERENCE]},eu={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},ec=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],ed={$pattern:di,keyword:ds.concat(ec),literal:dl,built_in:dp.concat(ei),"variable.language":dh},ef={className:"meta",begin:"@"+en},eh=(Y,et,en)=>{let ei=Y.contains.findIndex(Y=>Y.label===et);if(-1===ei)throw Error("can not find mode to replace");Y.contains.splice(ei,1,en)};Object.assign(et.keywords,ed),et.exports.PARAMS_CONTAINS.push(ef),et.contains=et.contains.concat([ef,eo,ea]),eh(et,"shebang",Y.SHEBANG()),eh(et,"use_strict",eu);let ep=et.contains.find(Y=>"func.def"===Y.label);return ep.relevance=0,Object.assign(et,{name:"TypeScript",aliases:["ts","tsx"]}),et}function dv(Y){let et=Y.regex,en={className:"string",begin:/"(""|[^/n])"C\b/},ei={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},eo=/\d{1,2}\/\d{1,2}\/\d{4}/,ea=/\d{4}-\d{1,2}-\d{1,2}/,eu=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,ec=/\d{1,2}(:\d{1,2}){1,2}/,ed={className:"literal",variants:[{begin:et.concat(/# */,et.either(ea,eo),/ *#/)},{begin:et.concat(/# */,ec,/ *#/)},{begin:et.concat(/# */,eu,/ *#/)},{begin:et.concat(/# */,et.either(ea,eo),/ +/,et.either(eu,ec),/ *#/)}]},ef={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},eh={className:"label",begin:/^\w+:/},ep=Y.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),em=Y.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]}),eg={className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[em]};return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[en,ei,ed,ef,eh,ep,em,eg]}}function db(Y){Y.regex;let et=Y.COMMENT(/\(;/,/;\)/);et.contains.push("self");let en=Y.COMMENT(/;;/,/$/),ei=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],eo={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},ea={className:"variable",begin:/\$[\w_]+/},eu={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},ec={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},ed={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},ef={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/},eh={match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:ei},contains:[en,et,eh,ea,eu,eo,Y.QUOTE_STRING_MODE,ed,ef,ec]}}function dk(Y){let et=Y.regex,en=et.concat(/[\p{L}_]/u,et.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),ei=/[\p{L}0-9._:-]+/u,eo={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},ea={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},eu=Y.inherit(ea,{begin:/\(/,end:/\)/}),ec=Y.inherit(Y.APOS_STRING_MODE,{className:"string"}),ed=Y.inherit(Y.QUOTE_STRING_MODE,{className:"string"}),ef={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:ei,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[eo]},{begin:/'/,end:/'/,contains:[eo]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[ea,ed,ec,eu,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[ea,eu,ed,ec]}]}]},Y.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},eo,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[ed]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[ef],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[ef],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:et.concat(/</,et.lookahead(et.concat(en,et.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:en,relevance:0,starts:ef}]},{className:"tag",begin:et.concat(/<\//,et.lookahead(et.concat(en,/>/))),contains:[{className:"name",begin:en,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function dw(Y){let et="true false yes no null",en="[\\w#;/?:@&=+$,.~*'()[\\]]+",ei={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},eo={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},ea={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[Y.BACKSLASH_ESCAPE,eo]},eu=Y.inherit(ea,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),ec="[0-9]{4}(-[0-9][0-9]){0,2}",ed="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",ef="(\\.[0-9]*)?",eh="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",ep={className:"number",begin:"\\b"+ec+ed+ef+eh+"\\b"},em={end:",",endsWithParent:!0,excludeEnd:!0,keywords:et,relevance:0},eg={begin:/\{/,end:/\}/,contains:[em],illegal:"\\n",relevance:0},ey={begin:"\\[",end:"\\]",contains:[em],illegal:"\\n",relevance:0},eb=[ei,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+en},{className:"type",begin:"!<"+en+">"},{className:"type",begin:"!"+en},{className:"type",begin:"!!"+en},{className:"meta",begin:"&"+Y.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+Y.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},Y.HASH_COMMENT_MODE,{beginKeywords:et,keywords:{literal:et}},ep,{className:"number",begin:Y.C_NUMBER_RE+"\\b",relevance:0},eg,ey,ea],ek=[...eb];return ek.pop(),ek.push(eu),em.contains=ek,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:eb}}var d_=en(76966),dE=en(98544);let dC=Object.assign(dT(Error),{eval:dT(EvalError),range:dT(RangeError),reference:dT(ReferenceError),syntax:dT(SyntaxError),type:dT(TypeError),uri:dT(URIError)});function dT(Y){return et.displayName=Y.displayName||Y.name,et;function et(en,...ei){let eo=en?dE(en,...ei):en;return new Y(eo)}}let dS={}.hasOwnProperty,dA="hljs-";function dM(Y,et,en={}){let ei=en.prefix;if("string"!=typeof Y)throw dC("Expected `string` for name, got `%s`",Y);if(!d_.getLanguage(Y))throw dC("Unknown language: `%s` is not registered",Y);if("string"!=typeof et)throw dC("Expected `string` for value, got `%s`",et);null==ei&&(ei=dA),d_.configure({__emitter:dL,classPrefix:ei});let eo=d_.highlight(et,{language:Y,ignoreIllegals:!0});if(d_.configure({}),eo.errorRaised)throw eo.errorRaised;return eo._emitter.root.data.language=eo.language,eo._emitter.root.data.relevance=eo.relevance,eo._emitter.root}function dP(Y,et={}){let en=et.subset||d_.listLanguages(),ei=et.prefix,eo=-1,ea={type:"root",data:{language:null,relevance:0},children:[]};if(null==ei&&(ei=dA),"string"!=typeof Y)throw dC("Expected `string` for value, got `%s`",Y);for(;++eo<en.length;){let ei=en[eo];if(!d_.getLanguage(ei))continue;let eu=dM(ei,Y,et);eu.data.relevance>ea.data.relevance&&(ea=eu)}return ea}function dj(Y,et){d_.registerLanguage(Y,et)}let dO=function(Y,et){if("string"==typeof Y)d_.registerAliases(et,{languageName:Y});else{let et;for(et in Y)dS.call(Y,et)&&d_.registerAliases(Y[et],{languageName:et})}};function dI(Y){return!!d_.getLanguage(Y)}function dN(){return d_.listLanguages()}class dL{constructor(Y){this.options=Y,this.root={type:"root",data:{language:null,relevance:0},children:[]},this.stack=[this.root]}addText(Y){if(""===Y)return;let et=this.stack[this.stack.length-1],en=et.children[et.children.length-1];en&&"text"===en.type?en.value+=Y:et.children.push({type:"text",value:Y})}addKeyword(Y,et){this.openNode(et),this.addText(Y),this.closeNode()}addSublanguage(Y,et){let en=this.stack[this.stack.length-1],ei=Y.root.children;et?en.children.push({type:"element",tagName:"span",properties:{className:[et]},children:ei}):en.children.push(...ei)}openNode(Y){let et=Y.split(".").map((Y,et)=>et?Y+"_".repeat(et):this.options.classPrefix+Y),en=this.stack[this.stack.length-1],ei={type:"element",tagName:"span",properties:{className:et},children:[]};en.children.push(ei),this.stack.push(ei)}closeNode(){this.stack.pop()}closeAllNodes(){}finalize(){}toHTML(){return""}}let dR={highlight:dM,highlightAuto:dP,registerLanguage:dj,registered:dI,listLanguages:dN,registerAlias:dO};dR.registerLanguage("arduino",ux),dR.registerLanguage("bash",uk),dR.registerLanguage("c",uw),dR.registerLanguage("cpp",u_),dR.registerLanguage("csharp",uE),dR.registerLanguage("css",uj),dR.registerLanguage("diff",uO),dR.registerLanguage("go",uI),dR.registerLanguage("graphql",uN),dR.registerLanguage("ini",uL),dR.registerLanguage("java",uU),dR.registerLanguage("javascript",uY),dR.registerLanguage("json",uQ),dR.registerLanguage("kotlin",u5),dR.registerLanguage("less",cl),dR.registerLanguage("lua",cu),dR.registerLanguage("makefile",cf),dR.registerLanguage("markdown",cm),dR.registerLanguage("objectivec",cg),dR.registerLanguage("perl",cy),dR.registerLanguage("php",cw),dR.registerLanguage("php-template",c_),dR.registerLanguage("plaintext",cE),dR.registerLanguage("python",cC),dR.registerLanguage("python-repl",cT),dR.registerLanguage("r",cS),dR.registerLanguage("ruby",cA),dR.registerLanguage("rust",cM),dR.registerLanguage("scss",cR),dR.registerLanguage("shell",cD),dR.registerLanguage("sql",cF),dR.registerLanguage("swift",dr),dR.registerLanguage("typescript",dg),dR.registerLanguage("vbnet",dv),dR.registerLanguage("wasm",db),dR.registerLanguage("xml",dk),dR.registerLanguage("yaml",dw);let dD=function(Y,et,en,ei,eo){let ea=dF(et);if(null!=en&&("number"!=typeof en||en<0||en===Number.POSITIVE_INFINITY))throw Error("Expected positive finite index for child node");if(null!=ei&&(!ei.type||!ei.children))throw Error("Expected parent node");if(!Y||!Y.type||"string"!=typeof Y.type)return!1;if(null==ei!=(null==en))throw Error("Expected both parent and index");return ea.call(eo,Y,en,ei)},dF=function(Y){if(null==Y)return dH;if("string"==typeof Y)return dz(Y);if("object"==typeof Y)return dB(Y);if("function"==typeof Y)return dU(Y);throw Error("Expected function, string, or array as test")};function dB(Y){let et=[],en=-1;for(;++en<Y.length;)et[en]=dF(Y[en]);return dU(ei);function ei(...Y){let en=-1;for(;++en<et.length;)if(et[en].call(this,...Y))return!0;return!1}}function dz(Y){return et;function et(et){return dH(et)&&et.tagName===Y}}function dU(Y){return et;function et(en,...ei){return dH(en)&&!!Y.call(this,en,...ei)}}function dH(Y){return!!(Y&&"object"==typeof Y&&"element"===Y.type&&"string"==typeof Y.tagName)}var dG=function(Y,et,en){var ei=ap(en);if(!Y||!Y.type||!Y.children)throw Error("Expected parent node");if("number"==typeof et){if(et<0||et===Number.POSITIVE_INFINITY)throw Error("Expected positive finite number as index")}else if((et=Y.children.indexOf(et))<0)throw Error("Expected child node or index");for(;++et<Y.children.length;)if(ei(Y.children[et],et,Y))return Y.children[et];return null};let dV=/\n/g,dW=/[\t ]+/g,dq=dF("br"),dZ=dF("p"),dK=dF(["th","td"]),d$=dF("tr"),dY=dF(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",d6,d7]),dQ=dF(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function dX(Y,et={}){let en,ei,eo;let ea=Y.children||[],eu=dQ(Y),ec=d3(Y,{whitespace:et.whitespace||"normal",breakBefore:!1,breakAfter:!1}),ed=-1;if("text"===Y.type||"comment"===Y.type)return d9(Y,{whitespace:ec,breakBefore:!0,breakAfter:!0});for(en=[];++ed<ea.length;)en=en.concat(dJ(ea[ed],Y,{whitespace:ec,breakBefore:ed?null:eu,breakAfter:ed<ea.length-1?dq(ea[ed+1]):eu}));ed=-1;let ef=[];for(;++ed<en.length;)"number"==typeof(ei=en[ed])?void 0!==eo&&ei>eo&&(eo=ei):ei&&(eo&&ef.push("\n".repeat(eo)),eo=0,ef.push(ei));return ef.join("")}function dJ(Y,et,en){return"element"===Y.type?d0(Y,et,en):"text"===Y.type?["normal"===en.whitespace?d9(Y,en):d5(Y)]:[]}function d0(Y,et,en){let ei,eo;let ea=d3(Y,en),eu=Y.children||[],ec=-1,ed=[];if(dY(Y))return ed;for(dq(Y)?eo="\n":d$(Y)&&dG(et,Y,d$)?eo="\n":dZ(Y)?(ei=2,eo=2):dQ(Y)&&(ei=1,eo=1);++ec<eu.length;)ed=ed.concat(dJ(eu[ec],Y,{whitespace:ea,breakBefore:ec?void 0:ei,breakAfter:ec<eu.length-1?dq(eu[ec+1]):eo}));return dK(Y)&&dG(et,Y,dK)&&ed.push(" "),ei&&ed.unshift(ei),eo&&ed.push(eo),ed}function d9(Y,et){let en,ei,eo;let ea=String(Y.value),eu=[],ec=[],ed=0,ef=-1;for(;ed<ea.length;)dV.lastIndex=ed,ei=(en=dV.exec(ea))?en.index:ea.length,eu.push(d4(ea.slice(ed,ei).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),et.breakBefore,et.breakAfter)),ed=ei+1;for(;++ef<eu.length;)8203===eu[ef].charCodeAt(eu[ef].length-1)||ef<eu.length-1&&8203===eu[ef+1].charCodeAt(0)?(ec.push(eu[ef]),eo=""):eu[ef]&&(eo&&ec.push(eo),ec.push(eu[ef]),eo=" ");return ec.join("")}function d5(Y){return String(Y.value)}function d4(Y,et,en){let ei,eo;let ea=[],eu=0;for(;eu<Y.length;)dW.lastIndex=eu,eo=(ei=dW.exec(Y))?ei.index:Y.length,eu||eo||!ei||et||ea.push(""),eu!==eo&&ea.push(Y.slice(eu,eo)),eu=ei?eo+ei[0].length:eo;return eu===eo||en||ea.push(""),ea.join(" ")}function d3(Y,et){let en;if("element"===Y.type)switch(en=Y.properties||{},Y.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return en.wrap?"pre-wrap":"pre";case"td":case"th":return en.noWrap?"nowrap":et.whitespace;case"textarea":return"pre-wrap"}return et.whitespace}function d6(Y){return!!(Y.properties||{}).hidden}function d7(Y){return"dialog"===Y.tagName&&!(Y.properties||{}).open}let d8={}.hasOwnProperty;function ft(Y={}){let{aliases:et,languages:en,prefix:ei,plainText:eo,ignoreMissing:ea,subset:eu,detect:ec}=Y,ed="hljs";if(et&&dR.registerAlias(et),en){let Y;for(Y in en)d8.call(en,Y)&&dR.registerLanguage(Y,en[Y])}if(ei){let Y=ei.indexOf("-");ed=Y>-1?ei.slice(0,Y):ei}return(Y,et)=>{aO(Y,"element",(Y,en,ef)=>{let eh;let ep=ef;if(!ep||!("tagName"in ep)||"pre"!==ep.tagName||"code"!==Y.tagName||!Y.properties)return;let em=fi(Y);if(!(!1===em||!em&&!ec||em&&eo&&eo.includes(em))){Array.isArray(Y.properties.className)||(Y.properties.className=[]),Y.properties.className.includes(ed)||Y.properties.className.unshift(ed);try{eh=em?dR.highlight(em,dX(ep),{prefix:ei}):dR.highlightAuto(dX(ep),{prefix:ei,subset:eu})}catch(ei){let en=ei;ea&&/Unknown language/.test(en.message)||et.fail(en,Y,"rehype-highlight:missing-language");return}!em&&eh.data.language&&Y.properties.className.push("language-"+eh.data.language),Array.isArray(eh.children)&&eh.children.length>0&&(Y.children=eh.children)}})}}function fi(Y){let et=Y.properties&&Y.properties.className,en=-1;if(Array.isArray(et))for(;++en<et.length;){let Y=String(et[en]);if("no-highlight"===Y||"nohighlight"===Y)return!1;if("lang-"===Y.slice(0,5))return Y.slice(5);if("language-"===Y.slice(0,9))return Y.slice(9)}}class fo{constructor(Y,et,en){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=Y,this.start=et,this.end=en}static range(Y,et){return et?Y&&Y.loc&&et.loc&&Y.loc.lexer===et.loc.lexer?new fo(Y.loc.lexer,Y.loc.start,et.loc.end):null:Y&&Y.loc}}class fa{constructor(Y,et){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=Y,this.loc=et}range(Y,et){return new fa(et,fo.range(this,Y))}}class fl{constructor(Y,et){this.position=void 0;var en="KaTeX parse error: "+Y,ei=et&&et.loc;if(ei&&ei.start<=ei.end){var eo,ea,eu=ei.lexer.input;eo=ei.start;var ec=ei.end;eo===eu.length?en+=" at end of input: ":en+=" at position "+(eo+1)+": ";var ed=eu.slice(eo,ec).replace(/[^]/g,"$&̲");en+=(eo>15?"…"+eu.slice(eo-15,eo):eu.slice(0,eo))+ed+(ea=ec+15<eu.length?eu.slice(ec,ec+15)+"…":eu.slice(ec))}var ef=Error(en);return ef.name="ParseError",ef.__proto__=fl.prototype,ef.position=eo,ef}}fl.prototype.__proto__=Error.prototype;var fu=/([A-Z])/g,fd={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},ff=/[&><"']/g,fh=function Y(et){return"ordgroup"===et.type||"color"===et.type?1===et.body.length?Y(et.body[0]):et:"font"===et.type?Y(et.body):et},fp=function(Y){if(!Y)throw Error("Expected non-null, but got "+String(Y));return Y},fm={contains:function(Y,et){return -1!==Y.indexOf(et)},deflt:function(Y,et){return void 0===Y?et:Y},escape:function(Y){return String(Y).replace(ff,Y=>fd[Y])},hyphenate:function(Y){return Y.replace(fu,"-$1").toLowerCase()},getBaseElem:fh,isCharacterBox:function(Y){var et=fh(Y);return"mathord"===et.type||"textord"===et.type||"atom"===et.type},protocolFromUrl:function(Y){var et=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(Y);return null!=et?et[1]:"_relative"}},fg={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:Y=>"#"+Y},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(Y,et)=>(et.push(Y),et)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:Y=>Math.max(0,Y),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:Y=>Math.max(0,Y),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:Y=>Math.max(0,Y),cli:"-e, --max-expand <n>",cliProcessor:Y=>"Infinity"===Y?1/0:parseInt(Y)},globalGroup:{type:"boolean",cli:!1}};function fv(Y){if(Y.default)return Y.default;var et=Y.type,en=Array.isArray(et)?et[0]:et;if("string"!=typeof en)return en.enum[0];switch(en){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class fy{constructor(Y){for(var et in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,Y=Y||{},fg)if(fg.hasOwnProperty(et)){var en=fg[et];this[et]=void 0!==Y[et]?en.processor?en.processor(Y[et]):Y[et]:fv(en)}}reportNonstrict(Y,et,en){var ei=this.strict;if("function"==typeof ei&&(ei=ei(Y,et,en)),ei&&"ignore"!==ei){if(!0===ei||"error"===ei)throw new fl("LaTeX-incompatible input and strict mode is set to 'error': "+et+" ["+Y+"]",en);"warn"===ei?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+et+" ["+Y+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+ei+"': "+et)+" ["+Y+"]")}}useStrictBehavior(Y,et,en){var ei=this.strict;if("function"==typeof ei)try{ei=ei(Y,et,en)}catch(Y){ei="error"}return!!ei&&"ignore"!==ei&&(!0===ei||"error"===ei||("warn"===ei?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+et+" ["+Y+"]"),!1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+ei+"': "+et)+" ["+Y+"]"),!1)))}isTrusted(Y){return Y.url&&!Y.protocol&&(Y.protocol=fm.protocolFromUrl(Y.url)),!!("function"==typeof this.trust?this.trust(Y):this.trust)}}class fb{constructor(Y,et,en){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Y,this.size=et,this.cramped=en}sup(){return fA[fM[this.id]]}sub(){return fA[fP[this.id]]}fracNum(){return fA[fj[this.id]]}fracDen(){return fA[fO[this.id]]}cramp(){return fA[fI[this.id]]}text(){return fA[fN[this.id]]}isTight(){return this.size>=2}}var fx=0,fk=1,fw=2,f_=3,fE=4,fC=5,fT=6,fS=7,fA=[new fb(fx,0,!1),new fb(fk,0,!0),new fb(fw,1,!1),new fb(f_,1,!0),new fb(fE,2,!1),new fb(fC,2,!0),new fb(fT,3,!1),new fb(fS,3,!0)],fM=[fE,fC,fE,fC,fT,fS,fT,fS],fP=[fC,fC,fC,fC,fS,fS,fS,fS],fj=[fw,f_,fE,fC,fT,fS,fT,fS],fO=[f_,f_,fC,fC,fS,fS,fS,fS],fI=[fk,fk,f_,f_,fC,fC,fS,fS],fN=[fx,fk,fw,f_,fw,f_,fw,f_],fL={DISPLAY:fA[fx],TEXT:fA[fw],SCRIPT:fA[fE],SCRIPTSCRIPT:fA[fT]},fR=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function fD(Y){for(var et=0;et<fR.length;et++)for(var en=fR[et],ei=0;ei<en.blocks.length;ei++){var eo=en.blocks[ei];if(Y>=eo[0]&&Y<=eo[1])return en.name}return null}var fF=[];function fB(Y){for(var et=0;et<fF.length;et+=2)if(Y>=fF[et]&&Y<=fF[et+1])return!0;return!1}fR.forEach(Y=>Y.blocks.forEach(Y=>fF.push(...Y)));var fz=80,fU=function(Y,et){return"M95,"+(622+Y+et)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+Y/2.075+" -"+Y+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+Y)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+Y)+" "+et+"h400000v"+(40+Y)+"h-400000z"},fH=function(Y,et){return"M263,"+(601+Y+et)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+Y/2.084+" -"+Y+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+Y)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+Y)+" "+et+"h400000v"+(40+Y)+"h-400000z"},fG=function(Y,et){return"M983 "+(10+Y+et)+"\nl"+Y/3.13+" -"+Y+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+Y)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+Y)+" "+et+"h400000v"+(40+Y)+"h-400000z"},fV=function(Y,et){return"M424,"+(2398+Y+et)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+Y/4.223+" -"+Y+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+Y)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+Y)+" "+et+"\nh400000v"+(40+Y)+"h-400000z"},fW=function(Y,et){return"M473,"+(2713+Y+et)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+Y/5.298+" -"+Y+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+Y)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+Y)+" "+et+"h400000v"+(40+Y)+"H1017.7z"},fq=function(Y){var et=Y/2;return"M400000 "+Y+" H0 L"+et+" 0 l65 45 L145 "+(Y-80)+" H400000z"},fZ=function(Y,et,en){var ei=en-54-et-Y;return"M702 "+(Y+et)+"H400000"+(40+Y)+"\nH742v"+ei+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+et+"H400000v"+(40+Y)+"H742z"},fK=function(Y,et,en){et*=1e3;var ei="";switch(Y){case"sqrtMain":ei=fU(et,fz);break;case"sqrtSize1":ei=fH(et,fz);break;case"sqrtSize2":ei=fG(et,fz);break;case"sqrtSize3":ei=fV(et,fz);break;case"sqrtSize4":ei=fW(et,fz);break;case"sqrtTall":ei=fZ(et,fz,en)}return ei},f$=function(Y,et){switch(Y){case"⎜":return"M291 0 H417 V"+et+" H291z M291 0 H417 V"+et+" H291z";case"":return"M145 0 H188 V"+et+" H145z M145 0 H188 V"+et+" H145z";case"∥":return"M145 0 H188 V"+et+" H145z M145 0 H188 V"+et+" H145z"+("M367 0 H410 V"+et)+" H367z M367 0 H410 V"+et+" H367z";case"⎟":return"M457 0 H583 V"+et+" H457z M457 0 H583 V"+et+" H457z";case"⎢":return"M319 0 H403 V"+et+" H319z M319 0 H403 V"+et+" H319z";case"⎥":return"M263 0 H347 V"+et+" H263z M263 0 H347 V"+et+" H263z";case"⎪":return"M384 0 H504 V"+et+" H384z M384 0 H504 V"+et+" H384z";case"⏐":return"M312 0 H355 V"+et+" H312z M312 0 H355 V"+et+" H312z";case"‖":return"M257 0 H300 V"+et+" H257z M257 0 H300 V"+et+" H257z"+("M478 0 H521 V"+et)+" H478z M478 0 H521 V"+et+" H478z";default:return""}},fY={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class fQ{constructor(Y){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=Y,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(Y){return fm.contains(this.classes,Y)}toNode(){for(var Y=document.createDocumentFragment(),et=0;et<this.children.length;et++)Y.appendChild(this.children[et].toNode());return Y}toMarkup(){for(var Y="",et=0;et<this.children.length;et++)Y+=this.children[et].toMarkup();return Y}toText(){var Y=Y=>Y.toText();return this.children.map(Y).join("")}}var fX={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-.00099,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-.00099,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-.00099,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-.00099,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},fJ={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},f0={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function f9(Y,et){fX[Y]=et}function f5(Y,et,en){if(!fX[et])throw Error("Font metrics not found for font: "+et+".");var ei=Y.charCodeAt(0),eo=fX[et][ei];if(!eo&&Y[0]in f0&&(ei=f0[Y[0]].charCodeAt(0),eo=fX[et][ei]),!eo&&"text"===en&&fB(ei)&&(eo=fX[et][77]),eo)return{depth:eo[0],height:eo[1],italic:eo[2],skew:eo[3],width:eo[4]}}var f4={};function f3(Y){var et;if(!f4[et=Y>=5?0:Y>=3?1:2]){var en=f4[et]={cssEmPerMu:fJ.quad[et]/18};for(var ei in fJ)fJ.hasOwnProperty(ei)&&(en[ei]=fJ[ei][et])}return f4[et]}var f6=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],f7=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],f8=function(Y,et){return et.size<2?Y:f6[Y-1][et.size-1]};class ht{constructor(Y){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=Y.style,this.color=Y.color,this.size=Y.size||ht.BASESIZE,this.textSize=Y.textSize||this.size,this.phantom=!!Y.phantom,this.font=Y.font||"",this.fontFamily=Y.fontFamily||"",this.fontWeight=Y.fontWeight||"",this.fontShape=Y.fontShape||"",this.sizeMultiplier=f7[this.size-1],this.maxSize=Y.maxSize,this.minRuleThickness=Y.minRuleThickness,this._fontMetrics=void 0}extend(Y){var et={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var en in Y)Y.hasOwnProperty(en)&&(et[en]=Y[en]);return new ht(et)}havingStyle(Y){return this.style===Y?this:this.extend({style:Y,size:f8(this.textSize,Y)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(Y){return this.size===Y&&this.textSize===Y?this:this.extend({style:this.style.text(),size:Y,textSize:Y,sizeMultiplier:f7[Y-1]})}havingBaseStyle(Y){Y=Y||this.style.text();var et=f8(ht.BASESIZE,Y);return this.size===et&&this.textSize===ht.BASESIZE&&this.style===Y?this:this.extend({style:Y,size:et})}havingBaseSizing(){var Y;switch(this.style.id){case 4:case 5:Y=3;break;case 6:case 7:Y=1;break;default:Y=6}return this.extend({style:this.style.text(),size:Y})}withColor(Y){return this.extend({color:Y})}withPhantom(){return this.extend({phantom:!0})}withFont(Y){return this.extend({font:Y})}withTextFontFamily(Y){return this.extend({fontFamily:Y,font:""})}withTextFontWeight(Y){return this.extend({fontWeight:Y,font:""})}withTextFontShape(Y){return this.extend({fontShape:Y,font:""})}sizingClasses(Y){return Y.size!==this.size?["sizing","reset-size"+Y.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==ht.BASESIZE?["sizing","reset-size"+this.size,"size"+ht.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=f3(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}ht.BASESIZE=6;var hn={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},hr={ex:!0,em:!0,mu:!0},ho=function(Y){return"string"!=typeof Y&&(Y=Y.unit),Y in hn||Y in hr||"ex"===Y},ha=function(Y,et){var en,ei;if(Y.unit in hn)en=hn[Y.unit]/et.fontMetrics().ptPerEm/et.sizeMultiplier;else if("mu"===Y.unit)en=et.fontMetrics().cssEmPerMu;else{if(ei=et.style.isTight()?et.havingStyle(et.style.text()):et,"ex"===Y.unit)en=ei.fontMetrics().xHeight;else if("em"===Y.unit)en=ei.fontMetrics().quad;else throw new fl("Invalid unit: '"+Y.unit+"'");ei!==et&&(en*=ei.sizeMultiplier/et.sizeMultiplier)}return Math.min(Y.number*en,et.maxSize)},hs=function(Y){return+Y.toFixed(4)+"em"},hl=function(Y){return Y.filter(Y=>Y).join(" ")},hu=function(Y,et,en){if(this.classes=Y||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=en||{},et){et.style.isTight()&&this.classes.push("mtight");var ei=et.getColor();ei&&(this.style.color=ei)}},hc=function(Y){var et=document.createElement(Y);for(var en in et.className=hl(this.classes),this.style)this.style.hasOwnProperty(en)&&(et.style[en]=this.style[en]);for(var ei in this.attributes)this.attributes.hasOwnProperty(ei)&&et.setAttribute(ei,this.attributes[ei]);for(var eo=0;eo<this.children.length;eo++)et.appendChild(this.children[eo].toNode());return et},hd=function(Y){var et="<"+Y;this.classes.length&&(et+=' class="'+fm.escape(hl(this.classes))+'"');var en="";for(var ei in this.style)this.style.hasOwnProperty(ei)&&(en+=fm.hyphenate(ei)+":"+this.style[ei]+";");for(var eo in en&&(et+=' style="'+fm.escape(en)+'"'),this.attributes)this.attributes.hasOwnProperty(eo)&&(et+=" "+eo+'="'+fm.escape(this.attributes[eo])+'"');et+=">";for(var ea=0;ea<this.children.length;ea++)et+=this.children[ea].toMarkup();return et+("</"+Y)+">"};class hf{constructor(Y,et,en,ei){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,hu.call(this,Y,en,ei),this.children=et||[]}setAttribute(Y,et){this.attributes[Y]=et}hasClass(Y){return fm.contains(this.classes,Y)}toNode(){return hc.call(this,"span")}toMarkup(){return hd.call(this,"span")}}class hh{constructor(Y,et,en,ei){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,hu.call(this,et,ei),this.children=en||[],this.setAttribute("href",Y)}setAttribute(Y,et){this.attributes[Y]=et}hasClass(Y){return fm.contains(this.classes,Y)}toNode(){return hc.call(this,"a")}toMarkup(){return hd.call(this,"a")}}class hp{constructor(Y,et,en){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=et,this.src=Y,this.classes=["mord"],this.style=en}hasClass(Y){return fm.contains(this.classes,Y)}toNode(){var Y=document.createElement("img");for(var et in Y.src=this.src,Y.alt=this.alt,Y.className="mord",this.style)this.style.hasOwnProperty(et)&&(Y.style[et]=this.style[et]);return Y}toMarkup(){var Y="<img src='"+this.src+" 'alt='"+this.alt+"' ",et="";for(var en in this.style)this.style.hasOwnProperty(en)&&(et+=fm.hyphenate(en)+":"+this.style[en]+";");return et&&(Y+=' style="'+fm.escape(et)+'"'),Y+="'/>"}}var hm={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class hg{constructor(Y,et,en,ei,eo,ea,eu,ec){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=Y,this.height=et||0,this.depth=en||0,this.italic=ei||0,this.skew=eo||0,this.width=ea||0,this.classes=eu||[],this.style=ec||{},this.maxFontSize=0;var ed=fD(this.text.charCodeAt(0));ed&&this.classes.push(ed+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=hm[this.text])}hasClass(Y){return fm.contains(this.classes,Y)}toNode(){var Y=document.createTextNode(this.text),et=null;for(var en in this.italic>0&&((et=document.createElement("span")).style.marginRight=hs(this.italic)),this.classes.length>0&&((et=et||document.createElement("span")).className=hl(this.classes)),this.style)this.style.hasOwnProperty(en)&&((et=et||document.createElement("span")).style[en]=this.style[en]);return et?(et.appendChild(Y),et):Y}toMarkup(){var Y=!1,et="<span";this.classes.length&&(Y=!0,et+=' class="'+fm.escape(hl(this.classes))+'"');var en="";for(var ei in this.italic>0&&(en+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(ei)&&(en+=fm.hyphenate(ei)+":"+this.style[ei]+";");en&&(Y=!0,et+=' style="'+fm.escape(en)+'"');var eo=fm.escape(this.text);return Y?et+=">"+eo+"</span>":eo}}class hv{constructor(Y,et){this.children=void 0,this.attributes=void 0,this.children=Y||[],this.attributes=et||{}}toNode(){var Y="http://www.w3.org/2000/svg",et=document.createElementNS(Y,"svg");for(var en in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,en)&&et.setAttribute(en,this.attributes[en]);for(var ei=0;ei<this.children.length;ei++)et.appendChild(this.children[ei].toNode());return et}toMarkup(){var Y='<svg xmlns="http://www.w3.org/2000/svg"';for(var et in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,et)&&(Y+=" "+et+"='"+this.attributes[et]+"'");Y+=">";for(var en=0;en<this.children.length;en++)Y+=this.children[en].toMarkup();return Y+"</svg>"}}class hy{constructor(Y,et){this.pathName=void 0,this.alternate=void 0,this.pathName=Y,this.alternate=et}toNode(){var Y="http://www.w3.org/2000/svg",et=document.createElementNS(Y,"path");return this.alternate?et.setAttribute("d",this.alternate):et.setAttribute("d",fY[this.pathName]),et}toMarkup(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+fY[this.pathName]+"'/>"}}class hb{constructor(Y){this.attributes=void 0,this.attributes=Y||{}}toNode(){var Y="http://www.w3.org/2000/svg",et=document.createElementNS(Y,"line");for(var en in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,en)&&et.setAttribute(en,this.attributes[en]);return et}toMarkup(){var Y="<line";for(var et in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,et)&&(Y+=" "+et+"='"+this.attributes[et]+"'");return Y+"/>"}}function hx(Y){if(Y instanceof hg)return Y;throw Error("Expected symbolNode but got "+String(Y)+".")}function hk(Y){if(Y instanceof hf)return Y;throw Error("Expected span<HtmlDomNode> but got "+String(Y)+".")}var hw={bin:1,close:1,inner:1,open:1,punct:1,rel:1},h_={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},hE={math:{},text:{}};function hC(Y,et,en,ei,eo,ea){hE[Y][eo]={font:et,group:en,replace:ei},ea&&ei&&(hE[Y][ei]=hE[Y][eo])}var hT="math",hS="text",hA="main",hM="ams",hP="accent-token",hj="bin",hO="close",hI="inner",hN="mathord",hL="op-token",hR="open",hD="punct",hF="rel",hB="spacing",hz="textord";hC(hT,hA,hF,"≡","\\equiv",!0),hC(hT,hA,hF,"≺","\\prec",!0),hC(hT,hA,hF,"≻","\\succ",!0),hC(hT,hA,hF,"","\\sim",!0),hC(hT,hA,hF,"⊥","\\perp"),hC(hT,hA,hF,"⪯","\\preceq",!0),hC(hT,hA,hF,"⪰","\\succeq",!0),hC(hT,hA,hF,"≃","\\simeq",!0),hC(hT,hA,hF,"","\\mid",!0),hC(hT,hA,hF,"≪","\\ll",!0),hC(hT,hA,hF,"≫","\\gg",!0),hC(hT,hA,hF,"≍","\\asymp",!0),hC(hT,hA,hF,"∥","\\parallel"),hC(hT,hA,hF,"⋈","\\bowtie",!0),hC(hT,hA,hF,"⌣","\\smile",!0),hC(hT,hA,hF,"⊑","\\sqsubseteq",!0),hC(hT,hA,hF,"⊒","\\sqsupseteq",!0),hC(hT,hA,hF,"≐","\\doteq",!0),hC(hT,hA,hF,"⌢","\\frown",!0),hC(hT,hA,hF,"∋","\\ni",!0),hC(hT,hA,hF,"∝","\\propto",!0),hC(hT,hA,hF,"⊢","\\vdash",!0),hC(hT,hA,hF,"⊣","\\dashv",!0),hC(hT,hA,hF,"∋","\\owns"),hC(hT,hA,hD,".","\\ldotp"),hC(hT,hA,hD,"⋅","\\cdotp"),hC(hT,hA,hz,"#","\\#"),hC(hS,hA,hz,"#","\\#"),hC(hT,hA,hz,"&","\\&"),hC(hS,hA,hz,"&","\\&"),hC(hT,hA,hz,"ℵ","\\aleph",!0),hC(hT,hA,hz,"∀","\\forall",!0),hC(hT,hA,hz,"ℏ","\\hbar",!0),hC(hT,hA,hz,"∃","\\exists",!0),hC(hT,hA,hz,"∇","\\nabla",!0),hC(hT,hA,hz,"♭","\\flat",!0),hC(hT,hA,hz,"","\\ell",!0),hC(hT,hA,hz,"♮","\\natural",!0),hC(hT,hA,hz,"♣","\\clubsuit",!0),hC(hT,hA,hz,"℘","\\wp",!0),hC(hT,hA,hz,"♯","\\sharp",!0),hC(hT,hA,hz,"♢","\\diamondsuit",!0),hC(hT,hA,hz,"","\\Re",!0),hC(hT,hA,hz,"♡","\\heartsuit",!0),hC(hT,hA,hz,"","\\Im",!0),hC(hT,hA,hz,"♠","\\spadesuit",!0),hC(hT,hA,hz,"\xa7","\\S",!0),hC(hS,hA,hz,"\xa7","\\S"),hC(hT,hA,hz,"\xb6","\\P",!0),hC(hS,hA,hz,"\xb6","\\P"),hC(hT,hA,hz,"†","\\dag"),hC(hS,hA,hz,"†","\\dag"),hC(hS,hA,hz,"†","\\textdagger"),hC(hT,hA,hz,"‡","\\ddag"),hC(hS,hA,hz,"‡","\\ddag"),hC(hS,hA,hz,"‡","\\textdaggerdbl"),hC(hT,hA,hO,"⎱","\\rmoustache",!0),hC(hT,hA,hR,"⎰","\\lmoustache",!0),hC(hT,hA,hO,"⟯","\\rgroup",!0),hC(hT,hA,hR,"⟮","\\lgroup",!0),hC(hT,hA,hj,"∓","\\mp",!0),hC(hT,hA,hj,"⊖","\\ominus",!0),hC(hT,hA,hj,"⊎","\\uplus",!0),hC(hT,hA,hj,"⊓","\\sqcap",!0),hC(hT,hA,hj,"","\\ast"),hC(hT,hA,hj,"⊔","\\sqcup",!0),hC(hT,hA,hj,"◯","\\bigcirc",!0),hC(hT,hA,hj,"∙","\\bullet",!0),hC(hT,hA,hj,"‡","\\ddagger"),hC(hT,hA,hj,"≀","\\wr",!0),hC(hT,hA,hj,"⨿","\\amalg"),hC(hT,hA,hj,"&","\\And"),hC(hT,hA,hF,"⟵","\\longleftarrow",!0),hC(hT,hA,hF,"⇐","\\Leftarrow",!0),hC(hT,hA,hF,"⟸","\\Longleftarrow",!0),hC(hT,hA,hF,"⟶","\\longrightarrow",!0),hC(hT,hA,hF,"⇒","\\Rightarrow",!0),hC(hT,hA,hF,"⟹","\\Longrightarrow",!0),hC(hT,hA,hF,"↔","\\leftrightarrow",!0),hC(hT,hA,hF,"⟷","\\longleftrightarrow",!0),hC(hT,hA,hF,"⇔","\\Leftrightarrow",!0),hC(hT,hA,hF,"⟺","\\Longleftrightarrow",!0),hC(hT,hA,hF,"↦","\\mapsto",!0),hC(hT,hA,hF,"⟼","\\longmapsto",!0),hC(hT,hA,hF,"↗","\\nearrow",!0),hC(hT,hA,hF,"↩","\\hookleftarrow",!0),hC(hT,hA,hF,"↪","\\hookrightarrow",!0),hC(hT,hA,hF,"↘","\\searrow",!0),hC(hT,hA,hF,"↼","\\leftharpoonup",!0),hC(hT,hA,hF,"⇀","\\rightharpoonup",!0),hC(hT,hA,hF,"↙","\\swarrow",!0),hC(hT,hA,hF,"↽","\\leftharpoondown",!0),hC(hT,hA,hF,"⇁","\\rightharpoondown",!0),hC(hT,hA,hF,"↖","\\nwarrow",!0),hC(hT,hA,hF,"⇌","\\rightleftharpoons",!0),hC(hT,hM,hF,"≮","\\nless",!0),hC(hT,hM,hF,"","\\@nleqslant"),hC(hT,hM,hF,"","\\@nleqq"),hC(hT,hM,hF,"⪇","\\lneq",!0),hC(hT,hM,hF,"≨","\\lneqq",!0),hC(hT,hM,hF,"","\\@lvertneqq"),hC(hT,hM,hF,"⋦","\\lnsim",!0),hC(hT,hM,hF,"⪉","\\lnapprox",!0),hC(hT,hM,hF,"⊀","\\nprec",!0),hC(hT,hM,hF,"⋠","\\npreceq",!0),hC(hT,hM,hF,"⋨","\\precnsim",!0),hC(hT,hM,hF,"⪹","\\precnapprox",!0),hC(hT,hM,hF,"≁","\\nsim",!0),hC(hT,hM,hF,"","\\@nshortmid"),hC(hT,hM,hF,"∤","\\nmid",!0),hC(hT,hM,hF,"⊬","\\nvdash",!0),hC(hT,hM,hF,"⊭","\\nvDash",!0),hC(hT,hM,hF,"⋪","\\ntriangleleft"),hC(hT,hM,hF,"⋬","\\ntrianglelefteq",!0),hC(hT,hM,hF,"⊊","\\subsetneq",!0),hC(hT,hM,hF,"","\\@varsubsetneq"),hC(hT,hM,hF,"⫋","\\subsetneqq",!0),hC(hT,hM,hF,"","\\@varsubsetneqq"),hC(hT,hM,hF,"≯","\\ngtr",!0),hC(hT,hM,hF,"","\\@ngeqslant"),hC(hT,hM,hF,"","\\@ngeqq"),hC(hT,hM,hF,"⪈","\\gneq",!0),hC(hT,hM,hF,"≩","\\gneqq",!0),hC(hT,hM,hF,"","\\@gvertneqq"),hC(hT,hM,hF,"⋧","\\gnsim",!0),hC(hT,hM,hF,"⪊","\\gnapprox",!0),hC(hT,hM,hF,"⊁","\\nsucc",!0),hC(hT,hM,hF,"⋡","\\nsucceq",!0),hC(hT,hM,hF,"⋩","\\succnsim",!0),hC(hT,hM,hF,"⪺","\\succnapprox",!0),hC(hT,hM,hF,"≆","\\ncong",!0),hC(hT,hM,hF,"","\\@nshortparallel"),hC(hT,hM,hF,"∦","\\nparallel",!0),hC(hT,hM,hF,"⊯","\\nVDash",!0),hC(hT,hM,hF,"⋫","\\ntriangleright"),hC(hT,hM,hF,"⋭","\\ntrianglerighteq",!0),hC(hT,hM,hF,"","\\@nsupseteqq"),hC(hT,hM,hF,"⊋","\\supsetneq",!0),hC(hT,hM,hF,"","\\@varsupsetneq"),hC(hT,hM,hF,"⫌","\\supsetneqq",!0),hC(hT,hM,hF,"","\\@varsupsetneqq"),hC(hT,hM,hF,"⊮","\\nVdash",!0),hC(hT,hM,hF,"⪵","\\precneqq",!0),hC(hT,hM,hF,"⪶","\\succneqq",!0),hC(hT,hM,hF,"","\\@nsubseteqq"),hC(hT,hM,hj,"⊴","\\unlhd"),hC(hT,hM,hj,"⊵","\\unrhd"),hC(hT,hM,hF,"↚","\\nleftarrow",!0),hC(hT,hM,hF,"↛","\\nrightarrow",!0),hC(hT,hM,hF,"⇍","\\nLeftarrow",!0),hC(hT,hM,hF,"⇏","\\nRightarrow",!0),hC(hT,hM,hF,"↮","\\nleftrightarrow",!0),hC(hT,hM,hF,"⇎","\\nLeftrightarrow",!0),hC(hT,hM,hF,"△","\\vartriangle"),hC(hT,hM,hz,"ℏ","\\hslash"),hC(hT,hM,hz,"▽","\\triangledown"),hC(hT,hM,hz,"◊","\\lozenge"),hC(hT,hM,hz,"Ⓢ","\\circledS"),hC(hT,hM,hz,"\xae","\\circledR"),hC(hS,hM,hz,"\xae","\\circledR"),hC(hT,hM,hz,"∡","\\measuredangle",!0),hC(hT,hM,hz,"∄","\\nexists"),hC(hT,hM,hz,"℧","\\mho"),hC(hT,hM,hz,"Ⅎ","\\Finv",!0),hC(hT,hM,hz,"⅁","\\Game",!0),hC(hT,hM,hz,"","\\backprime"),hC(hT,hM,hz,"▲","\\blacktriangle"),hC(hT,hM,hz,"▼","\\blacktriangledown"),hC(hT,hM,hz,"■","\\blacksquare"),hC(hT,hM,hz,"⧫","\\blacklozenge"),hC(hT,hM,hz,"★","\\bigstar"),hC(hT,hM,hz,"∢","\\sphericalangle",!0),hC(hT,hM,hz,"∁","\\complement",!0),hC(hT,hM,hz,"\xf0","\\eth",!0),hC(hS,hA,hz,"\xf0","\xf0"),hC(hT,hM,hz,"","\\diagup"),hC(hT,hM,hz,"╲","\\diagdown"),hC(hT,hM,hz,"□","\\square"),hC(hT,hM,hz,"□","\\Box"),hC(hT,hM,hz,"◊","\\Diamond"),hC(hT,hM,hz,"\xa5","\\yen",!0),hC(hS,hM,hz,"\xa5","\\yen",!0),hC(hT,hM,hz,"✓","\\checkmark",!0),hC(hS,hM,hz,"✓","\\checkmark"),hC(hT,hM,hz,"ℶ","\\beth",!0),hC(hT,hM,hz,"ℸ","\\daleth",!0),hC(hT,hM,hz,"ℷ","\\gimel",!0),hC(hT,hM,hz,"ϝ","\\digamma",!0),hC(hT,hM,hz,"ϰ","\\varkappa"),hC(hT,hM,hR,"┌","\\@ulcorner",!0),hC(hT,hM,hO,"┐","\\@urcorner",!0),hC(hT,hM,hR,"└","\\@llcorner",!0),hC(hT,hM,hO,"┘","\\@lrcorner",!0),hC(hT,hM,hF,"≦","\\leqq",!0),hC(hT,hM,hF,"⩽","\\leqslant",!0),hC(hT,hM,hF,"⪕","\\eqslantless",!0),hC(hT,hM,hF,"≲","\\lesssim",!0),hC(hT,hM,hF,"⪅","\\lessapprox",!0),hC(hT,hM,hF,"≊","\\approxeq",!0),hC(hT,hM,hj,"⋖","\\lessdot"),hC(hT,hM,hF,"⋘","\\lll",!0),hC(hT,hM,hF,"≶","\\lessgtr",!0),hC(hT,hM,hF,"⋚","\\lesseqgtr",!0),hC(hT,hM,hF,"⪋","\\lesseqqgtr",!0),hC(hT,hM,hF,"≑","\\doteqdot"),hC(hT,hM,hF,"≓","\\risingdotseq",!0),hC(hT,hM,hF,"≒","\\fallingdotseq",!0),hC(hT,hM,hF,"∽","\\backsim",!0),hC(hT,hM,hF,"⋍","\\backsimeq",!0),hC(hT,hM,hF,"⫅","\\subseteqq",!0),hC(hT,hM,hF,"⋐","\\Subset",!0),hC(hT,hM,hF,"⊏","\\sqsubset",!0),hC(hT,hM,hF,"≼","\\preccurlyeq",!0),hC(hT,hM,hF,"⋞","\\curlyeqprec",!0),hC(hT,hM,hF,"≾","\\precsim",!0),hC(hT,hM,hF,"⪷","\\precapprox",!0),hC(hT,hM,hF,"⊲","\\vartriangleleft"),hC(hT,hM,hF,"⊴","\\trianglelefteq"),hC(hT,hM,hF,"⊨","\\vDash",!0),hC(hT,hM,hF,"⊪","\\Vvdash",!0),hC(hT,hM,hF,"⌣","\\smallsmile"),hC(hT,hM,hF,"⌢","\\smallfrown"),hC(hT,hM,hF,"≏","\\bumpeq",!0),hC(hT,hM,hF,"≎","\\Bumpeq",!0),hC(hT,hM,hF,"≧","\\geqq",!0),hC(hT,hM,hF,"⩾","\\geqslant",!0),hC(hT,hM,hF,"⪖","\\eqslantgtr",!0),hC(hT,hM,hF,"≳","\\gtrsim",!0),hC(hT,hM,hF,"⪆","\\gtrapprox",!0),hC(hT,hM,hj,"⋗","\\gtrdot"),hC(hT,hM,hF,"⋙","\\ggg",!0),hC(hT,hM,hF,"≷","\\gtrless",!0),hC(hT,hM,hF,"⋛","\\gtreqless",!0),hC(hT,hM,hF,"⪌","\\gtreqqless",!0),hC(hT,hM,hF,"≖","\\eqcirc",!0),hC(hT,hM,hF,"≗","\\circeq",!0),hC(hT,hM,hF,"≜","\\triangleq",!0),hC(hT,hM,hF,"","\\thicksim"),hC(hT,hM,hF,"≈","\\thickapprox"),hC(hT,hM,hF,"⫆","\\supseteqq",!0),hC(hT,hM,hF,"⋑","\\Supset",!0),hC(hT,hM,hF,"⊐","\\sqsupset",!0),hC(hT,hM,hF,"≽","\\succcurlyeq",!0),hC(hT,hM,hF,"⋟","\\curlyeqsucc",!0),hC(hT,hM,hF,"≿","\\succsim",!0),hC(hT,hM,hF,"⪸","\\succapprox",!0),hC(hT,hM,hF,"⊳","\\vartriangleright"),hC(hT,hM,hF,"⊵","\\trianglerighteq"),hC(hT,hM,hF,"⊩","\\Vdash",!0),hC(hT,hM,hF,"","\\shortmid"),hC(hT,hM,hF,"∥","\\shortparallel"),hC(hT,hM,hF,"≬","\\between",!0),hC(hT,hM,hF,"⋔","\\pitchfork",!0),hC(hT,hM,hF,"∝","\\varpropto"),hC(hT,hM,hF,"◀","\\blacktriangleleft"),hC(hT,hM,hF,"∴","\\therefore",!0),hC(hT,hM,hF,"∍","\\backepsilon"),hC(hT,hM,hF,"▶","\\blacktriangleright"),hC(hT,hM,hF,"∵","\\because",!0),hC(hT,hM,hF,"⋘","\\llless"),hC(hT,hM,hF,"⋙","\\gggtr"),hC(hT,hM,hj,"⊲","\\lhd"),hC(hT,hM,hj,"⊳","\\rhd"),hC(hT,hM,hF,"≂","\\eqsim",!0),hC(hT,hA,hF,"⋈","\\Join"),hC(hT,hM,hF,"≑","\\Doteq",!0),hC(hT,hM,hj,"∔","\\dotplus",!0),hC(hT,hM,hj,"","\\smallsetminus"),hC(hT,hM,hj,"⋒","\\Cap",!0),hC(hT,hM,hj,"⋓","\\Cup",!0),hC(hT,hM,hj,"⩞","\\doublebarwedge",!0),hC(hT,hM,hj,"⊟","\\boxminus",!0),hC(hT,hM,hj,"⊞","\\boxplus",!0),hC(hT,hM,hj,"⋇","\\divideontimes",!0),hC(hT,hM,hj,"⋉","\\ltimes",!0),hC(hT,hM,hj,"⋊","\\rtimes",!0),hC(hT,hM,hj,"⋋","\\leftthreetimes",!0),hC(hT,hM,hj,"⋌","\\rightthreetimes",!0),hC(hT,hM,hj,"⋏","\\curlywedge",!0),hC(hT,hM,hj,"⋎","\\curlyvee",!0),hC(hT,hM,hj,"⊝","\\circleddash",!0),hC(hT,hM,hj,"⊛","\\circledast",!0),hC(hT,hM,hj,"⋅","\\centerdot"),hC(hT,hM,hj,"⊺","\\intercal",!0),hC(hT,hM,hj,"⋒","\\doublecap"),hC(hT,hM,hj,"⋓","\\doublecup"),hC(hT,hM,hj,"⊠","\\boxtimes",!0),hC(hT,hM,hF,"⇢","\\dashrightarrow",!0),hC(hT,hM,hF,"⇠","\\dashleftarrow",!0),hC(hT,hM,hF,"⇇","\\leftleftarrows",!0),hC(hT,hM,hF,"⇆","\\leftrightarrows",!0),hC(hT,hM,hF,"⇚","\\Lleftarrow",!0),hC(hT,hM,hF,"↞","\\twoheadleftarrow",!0),hC(hT,hM,hF,"↢","\\leftarrowtail",!0),hC(hT,hM,hF,"↫","\\looparrowleft",!0),hC(hT,hM,hF,"⇋","\\leftrightharpoons",!0),hC(hT,hM,hF,"↶","\\curvearrowleft",!0),hC(hT,hM,hF,"↺","\\circlearrowleft",!0),hC(hT,hM,hF,"↰","\\Lsh",!0),hC(hT,hM,hF,"⇈","\\upuparrows",!0),hC(hT,hM,hF,"↿","\\upharpoonleft",!0),hC(hT,hM,hF,"⇃","\\downharpoonleft",!0),hC(hT,hA,hF,"⊶","\\origof",!0),hC(hT,hA,hF,"⊷","\\imageof",!0),hC(hT,hM,hF,"⊸","\\multimap",!0),hC(hT,hM,hF,"↭","\\leftrightsquigarrow",!0),hC(hT,hM,hF,"⇉","\\rightrightarrows",!0),hC(hT,hM,hF,"⇄","\\rightleftarrows",!0),hC(hT,hM,hF,"↠","\\twoheadrightarrow",!0),hC(hT,hM,hF,"↣","\\rightarrowtail",!0),hC(hT,hM,hF,"↬","\\looparrowright",!0),hC(hT,hM,hF,"↷","\\curvearrowright",!0),hC(hT,hM,hF,"↻","\\circlearrowright",!0),hC(hT,hM,hF,"↱","\\Rsh",!0),hC(hT,hM,hF,"⇊","\\downdownarrows",!0),hC(hT,hM,hF,"↾","\\upharpoonright",!0),hC(hT,hM,hF,"⇂","\\downharpoonright",!0),hC(hT,hM,hF,"⇝","\\rightsquigarrow",!0),hC(hT,hM,hF,"⇝","\\leadsto"),hC(hT,hM,hF,"⇛","\\Rrightarrow",!0),hC(hT,hM,hF,"↾","\\restriction"),hC(hT,hA,hz,"","`"),hC(hT,hA,hz,"$","\\$"),hC(hS,hA,hz,"$","\\$"),hC(hS,hA,hz,"$","\\textdollar"),hC(hT,hA,hz,"%","\\%"),hC(hS,hA,hz,"%","\\%"),hC(hT,hA,hz,"_","\\_"),hC(hS,hA,hz,"_","\\_"),hC(hS,hA,hz,"_","\\textunderscore"),hC(hT,hA,hz,"∠","\\angle",!0),hC(hT,hA,hz,"∞","\\infty",!0),hC(hT,hA,hz,"","\\prime"),hC(hT,hA,hz,"△","\\triangle"),hC(hT,hA,hz,"Γ","\\Gamma",!0),hC(hT,hA,hz,"Δ","\\Delta",!0),hC(hT,hA,hz,"Θ","\\Theta",!0),hC(hT,hA,hz,"Λ","\\Lambda",!0),hC(hT,hA,hz,"Ξ","\\Xi",!0),hC(hT,hA,hz,"Π","\\Pi",!0),hC(hT,hA,hz,"Σ","\\Sigma",!0),hC(hT,hA,hz,"Υ","\\Upsilon",!0),hC(hT,hA,hz,"Φ","\\Phi",!0),hC(hT,hA,hz,"Ψ","\\Psi",!0),hC(hT,hA,hz,"Ω","\\Omega",!0),hC(hT,hA,hz,"A","Α"),hC(hT,hA,hz,"B","Β"),hC(hT,hA,hz,"E","Ε"),hC(hT,hA,hz,"Z","Ζ"),hC(hT,hA,hz,"H","Η"),hC(hT,hA,hz,"I","Ι"),hC(hT,hA,hz,"K","Κ"),hC(hT,hA,hz,"M","Μ"),hC(hT,hA,hz,"N","Ν"),hC(hT,hA,hz,"O","Ο"),hC(hT,hA,hz,"P","Ρ"),hC(hT,hA,hz,"T","Τ"),hC(hT,hA,hz,"X","Χ"),hC(hT,hA,hz,"\xac","\\neg",!0),hC(hT,hA,hz,"\xac","\\lnot"),hC(hT,hA,hz,"","\\top"),hC(hT,hA,hz,"⊥","\\bot"),hC(hT,hA,hz,"∅","\\emptyset"),hC(hT,hM,hz,"∅","\\varnothing"),hC(hT,hA,hN,"α","\\alpha",!0),hC(hT,hA,hN,"β","\\beta",!0),hC(hT,hA,hN,"γ","\\gamma",!0),hC(hT,hA,hN,"δ","\\delta",!0),hC(hT,hA,hN,"ϵ","\\epsilon",!0),hC(hT,hA,hN,"ζ","\\zeta",!0),hC(hT,hA,hN,"η","\\eta",!0),hC(hT,hA,hN,"θ","\\theta",!0),hC(hT,hA,hN,"ι","\\iota",!0),hC(hT,hA,hN,"κ","\\kappa",!0),hC(hT,hA,hN,"λ","\\lambda",!0),hC(hT,hA,hN,"μ","\\mu",!0),hC(hT,hA,hN,"ν","\\nu",!0),hC(hT,hA,hN,"ξ","\\xi",!0),hC(hT,hA,hN,"ο","\\omicron",!0),hC(hT,hA,hN,"π","\\pi",!0),hC(hT,hA,hN,"ρ","\\rho",!0),hC(hT,hA,hN,"σ","\\sigma",!0),hC(hT,hA,hN,"τ","\\tau",!0),hC(hT,hA,hN,"υ","\\upsilon",!0),hC(hT,hA,hN,"ϕ","\\phi",!0),hC(hT,hA,hN,"χ","\\chi",!0),hC(hT,hA,hN,"ψ","\\psi",!0),hC(hT,hA,hN,"ω","\\omega",!0),hC(hT,hA,hN,"ε","\\varepsilon",!0),hC(hT,hA,hN,"ϑ","\\vartheta",!0),hC(hT,hA,hN,"ϖ","\\varpi",!0),hC(hT,hA,hN,"ϱ","\\varrho",!0),hC(hT,hA,hN,"ς","\\varsigma",!0),hC(hT,hA,hN,"φ","\\varphi",!0),hC(hT,hA,hj,"","*",!0),hC(hT,hA,hj,"+","+"),hC(hT,hA,hj,"","-",!0),hC(hT,hA,hj,"⋅","\\cdot",!0),hC(hT,hA,hj,"∘","\\circ",!0),hC(hT,hA,hj,"\xf7","\\div",!0),hC(hT,hA,hj,"\xb1","\\pm",!0),hC(hT,hA,hj,"\xd7","\\times",!0),hC(hT,hA,hj,"∩","\\cap",!0),hC(hT,hA,hj,"","\\cup",!0),hC(hT,hA,hj,"","\\setminus",!0),hC(hT,hA,hj,"∧","\\land"),hC(hT,hA,hj,"","\\lor"),hC(hT,hA,hj,"∧","\\wedge",!0),hC(hT,hA,hj,"","\\vee",!0),hC(hT,hA,hz,"√","\\surd"),hC(hT,hA,hR,"⟨","\\langle",!0),hC(hT,hA,hR,"","\\lvert"),hC(hT,hA,hR,"∥","\\lVert"),hC(hT,hA,hO,"?","?"),hC(hT,hA,hO,"!","!"),hC(hT,hA,hO,"⟩","\\rangle",!0),hC(hT,hA,hO,"","\\rvert"),hC(hT,hA,hO,"∥","\\rVert"),hC(hT,hA,hF,"=","="),hC(hT,hA,hF,":",":"),hC(hT,hA,hF,"≈","\\approx",!0),hC(hT,hA,hF,"≅","\\cong",!0),hC(hT,hA,hF,"≥","\\ge"),hC(hT,hA,hF,"≥","\\geq",!0),hC(hT,hA,hF,"←","\\gets"),hC(hT,hA,hF,">","\\gt",!0),hC(hT,hA,hF,"∈","\\in",!0),hC(hT,hA,hF,"","\\@not"),hC(hT,hA,hF,"⊂","\\subset",!0),hC(hT,hA,hF,"⊃","\\supset",!0),hC(hT,hA,hF,"⊆","\\subseteq",!0),hC(hT,hA,hF,"⊇","\\supseteq",!0),hC(hT,hM,hF,"⊈","\\nsubseteq",!0),hC(hT,hM,hF,"⊉","\\nsupseteq",!0),hC(hT,hA,hF,"⊨","\\models"),hC(hT,hA,hF,"←","\\leftarrow",!0),hC(hT,hA,hF,"≤","\\le"),hC(hT,hA,hF,"≤","\\leq",!0),hC(hT,hA,hF,"<","\\lt",!0),hC(hT,hA,hF,"→","\\rightarrow",!0),hC(hT,hA,hF,"→","\\to"),hC(hT,hM,hF,"≱","\\ngeq",!0),hC(hT,hM,hF,"≰","\\nleq",!0),hC(hT,hA,hB,"\xa0","\\ "),hC(hT,hA,hB,"\xa0","\\space"),hC(hT,hA,hB,"\xa0","\\nobreakspace"),hC(hS,hA,hB,"\xa0","\\ "),hC(hS,hA,hB,"\xa0"," "),hC(hS,hA,hB,"\xa0","\\space"),hC(hS,hA,hB,"\xa0","\\nobreakspace"),hC(hT,hA,hB,null,"\\nobreak"),hC(hT,hA,hB,null,"\\allowbreak"),hC(hT,hA,hD,",",","),hC(hT,hA,hD,";",";"),hC(hT,hM,hj,"⊼","\\barwedge",!0),hC(hT,hM,hj,"⊻","\\veebar",!0),hC(hT,hA,hj,"⊙","\\odot",!0),hC(hT,hA,hj,"⊕","\\oplus",!0),hC(hT,hA,hj,"⊗","\\otimes",!0),hC(hT,hA,hz,"∂","\\partial",!0),hC(hT,hA,hj,"⊘","\\oslash",!0),hC(hT,hM,hj,"⊚","\\circledcirc",!0),hC(hT,hM,hj,"⊡","\\boxdot",!0),hC(hT,hA,hj,"△","\\bigtriangleup"),hC(hT,hA,hj,"▽","\\bigtriangledown"),hC(hT,hA,hj,"†","\\dagger"),hC(hT,hA,hj,"⋄","\\diamond"),hC(hT,hA,hj,"⋆","\\star"),hC(hT,hA,hj,"◃","\\triangleleft"),hC(hT,hA,hj,"▹","\\triangleright"),hC(hT,hA,hR,"{","\\{"),hC(hS,hA,hz,"{","\\{"),hC(hS,hA,hz,"{","\\textbraceleft"),hC(hT,hA,hO,"}","\\}"),hC(hS,hA,hz,"}","\\}"),hC(hS,hA,hz,"}","\\textbraceright"),hC(hT,hA,hR,"{","\\lbrace"),hC(hT,hA,hO,"}","\\rbrace"),hC(hT,hA,hR,"[","\\lbrack",!0),hC(hS,hA,hz,"[","\\lbrack",!0),hC(hT,hA,hO,"]","\\rbrack",!0),hC(hS,hA,hz,"]","\\rbrack",!0),hC(hT,hA,hR,"(","\\lparen",!0),hC(hT,hA,hO,")","\\rparen",!0),hC(hS,hA,hz,"<","\\textless",!0),hC(hS,hA,hz,">","\\textgreater",!0),hC(hT,hA,hR,"⌊","\\lfloor",!0),hC(hT,hA,hO,"⌋","\\rfloor",!0),hC(hT,hA,hR,"⌈","\\lceil",!0),hC(hT,hA,hO,"⌉","\\rceil",!0),hC(hT,hA,hz,"\\","\\backslash"),hC(hT,hA,hz,"","|"),hC(hT,hA,hz,"","\\vert"),hC(hS,hA,hz,"|","\\textbar",!0),hC(hT,hA,hz,"∥","\\|"),hC(hT,hA,hz,"∥","\\Vert"),hC(hS,hA,hz,"∥","\\textbardbl"),hC(hS,hA,hz,"~","\\textasciitilde"),hC(hS,hA,hz,"\\","\\textbackslash"),hC(hS,hA,hz,"^","\\textasciicircum"),hC(hT,hA,hF,"↑","\\uparrow",!0),hC(hT,hA,hF,"⇑","\\Uparrow",!0),hC(hT,hA,hF,"↓","\\downarrow",!0),hC(hT,hA,hF,"⇓","\\Downarrow",!0),hC(hT,hA,hF,"↕","\\updownarrow",!0),hC(hT,hA,hF,"⇕","\\Updownarrow",!0),hC(hT,hA,hL,"∐","\\coprod"),hC(hT,hA,hL,"","\\bigvee"),hC(hT,hA,hL,"⋀","\\bigwedge"),hC(hT,hA,hL,"⨄","\\biguplus"),hC(hT,hA,hL,"⋂","\\bigcap"),hC(hT,hA,hL,"","\\bigcup"),hC(hT,hA,hL,"∫","\\int"),hC(hT,hA,hL,"∫","\\intop"),hC(hT,hA,hL,"∬","\\iint"),hC(hT,hA,hL,"∭","\\iiint"),hC(hT,hA,hL,"∏","\\prod"),hC(hT,hA,hL,"∑","\\sum"),hC(hT,hA,hL,"⨂","\\bigotimes"),hC(hT,hA,hL,"⨁","\\bigoplus"),hC(hT,hA,hL,"⨀","\\bigodot"),hC(hT,hA,hL,"∮","\\oint"),hC(hT,hA,hL,"∯","\\oiint"),hC(hT,hA,hL,"∰","\\oiiint"),hC(hT,hA,hL,"⨆","\\bigsqcup"),hC(hT,hA,hL,"∫","\\smallint"),hC(hS,hA,hI,"…","\\textellipsis"),hC(hT,hA,hI,"…","\\mathellipsis"),hC(hS,hA,hI,"…","\\ldots",!0),hC(hT,hA,hI,"…","\\ldots",!0),hC(hT,hA,hI,"⋯","\\@cdots",!0),hC(hT,hA,hI,"⋱","\\ddots",!0),hC(hT,hA,hz,"⋮","\\varvdots"),hC(hT,hA,hP,"ˊ","\\acute"),hC(hT,hA,hP,"ˋ","\\grave"),hC(hT,hA,hP,"\xa8","\\ddot"),hC(hT,hA,hP,"~","\\tilde"),hC(hT,hA,hP,"ˉ","\\bar"),hC(hT,hA,hP,"˘","\\breve"),hC(hT,hA,hP,"ˇ","\\check"),hC(hT,hA,hP,"^","\\hat"),hC(hT,hA,hP,"⃗","\\vec"),hC(hT,hA,hP,"˙","\\dot"),hC(hT,hA,hP,"˚","\\mathring"),hC(hT,hA,hN,"","\\@imath"),hC(hT,hA,hN,"","\\@jmath"),hC(hT,hA,hz,"ı","ı"),hC(hT,hA,hz,"ȷ","ȷ"),hC(hS,hA,hz,"ı","\\i",!0),hC(hS,hA,hz,"ȷ","\\j",!0),hC(hS,hA,hz,"\xdf","\\ss",!0),hC(hS,hA,hz,"\xe6","\\ae",!0),hC(hS,hA,hz,"œ","\\oe",!0),hC(hS,hA,hz,"\xf8","\\o",!0),hC(hS,hA,hz,"\xc6","\\AE",!0),hC(hS,hA,hz,"Œ","\\OE",!0),hC(hS,hA,hz,"\xd8","\\O",!0),hC(hS,hA,hP,"ˊ","\\'"),hC(hS,hA,hP,"ˋ","\\`"),hC(hS,hA,hP,"ˆ","\\^"),hC(hS,hA,hP,"˜","\\~"),hC(hS,hA,hP,"ˉ","\\="),hC(hS,hA,hP,"˘","\\u"),hC(hS,hA,hP,"˙","\\."),hC(hS,hA,hP,"\xb8","\\c"),hC(hS,hA,hP,"˚","\\r"),hC(hS,hA,hP,"ˇ","\\v"),hC(hS,hA,hP,"\xa8",'\\"'),hC(hS,hA,hP,"˝","\\H"),hC(hS,hA,hP,"◯","\\textcircled");var hU={"--":!0,"---":!0,"``":!0,"''":!0};hC(hS,hA,hz,"","--",!0),hC(hS,hA,hz,"","\\textendash"),hC(hS,hA,hz,"—","---",!0),hC(hS,hA,hz,"—","\\textemdash"),hC(hS,hA,hz,"","`",!0),hC(hS,hA,hz,"","\\textquoteleft"),hC(hS,hA,hz,"","'",!0),hC(hS,hA,hz,"","\\textquoteright"),hC(hS,hA,hz,"“","``",!0),hC(hS,hA,hz,"“","\\textquotedblleft"),hC(hS,hA,hz,"”","''",!0),hC(hS,hA,hz,"”","\\textquotedblright"),hC(hT,hA,hz,"\xb0","\\degree",!0),hC(hS,hA,hz,"\xb0","\\degree"),hC(hS,hA,hz,"\xb0","\\textdegree",!0),hC(hT,hA,hz,"\xa3","\\pounds"),hC(hT,hA,hz,"\xa3","\\mathsterling",!0),hC(hS,hA,hz,"\xa3","\\pounds"),hC(hS,hA,hz,"\xa3","\\textsterling",!0),hC(hT,hM,hz,"✠","\\maltese"),hC(hS,hM,hz,"✠","\\maltese");for(var hH='0123456789/@."',hG=0;hG<hH.length;hG++){var hV=hH.charAt(hG);hC(hT,hA,hz,hV,hV)}for(var hW='0123456789!@*()-=+";:?/.,',hq=0;hq<hW.length;hq++){var hZ=hW.charAt(hq);hC(hS,hA,hz,hZ,hZ)}for(var hK="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",h$=0;h$<hK.length;h$++){var hY=hK.charAt(h$);hC(hT,hA,hN,hY,hY),hC(hS,hA,hz,hY,hY)}hC(hT,hM,hz,"C",""),hC(hS,hM,hz,"C",""),hC(hT,hM,hz,"H",""),hC(hS,hM,hz,"H",""),hC(hT,hM,hz,"N",""),hC(hS,hM,hz,"N",""),hC(hT,hM,hz,"P",""),hC(hS,hM,hz,"P",""),hC(hT,hM,hz,"Q",""),hC(hS,hM,hz,"Q",""),hC(hT,hM,hz,"R",""),hC(hS,hM,hz,"R",""),hC(hT,hM,hz,"Z",""),hC(hS,hM,hz,"Z",""),hC(hT,hA,hN,"h",""),hC(hS,hA,hN,"h","");for(var hQ="",hX=0;hX<hK.length;hX++){var hJ=hK.charAt(hX);hC(hT,hA,hN,hJ,hQ=String.fromCharCode(55349,56320+hX)),hC(hS,hA,hz,hJ,hQ),hC(hT,hA,hN,hJ,hQ=String.fromCharCode(55349,56372+hX)),hC(hS,hA,hz,hJ,hQ),hC(hT,hA,hN,hJ,hQ=String.fromCharCode(55349,56424+hX)),hC(hS,hA,hz,hJ,hQ),hC(hT,hA,hN,hJ,hQ=String.fromCharCode(55349,56580+hX)),hC(hS,hA,hz,hJ,hQ),hC(hT,hA,hN,hJ,hQ=String.fromCharCode(55349,56736+hX)),hC(hS,hA,hz,hJ,hQ),hC(hT,hA,hN,hJ,hQ=String.fromCharCode(55349,56788+hX)),hC(hS,hA,hz,hJ,hQ),hC(hT,hA,hN,hJ,hQ=String.fromCharCode(55349,56840+hX)),hC(hS,hA,hz,hJ,hQ),hC(hT,hA,hN,hJ,hQ=String.fromCharCode(55349,56944+hX)),hC(hS,hA,hz,hJ,hQ),hX<26&&(hC(hT,hA,hN,hJ,hQ=String.fromCharCode(55349,56632+hX)),hC(hS,hA,hz,hJ,hQ),hC(hT,hA,hN,hJ,hQ=String.fromCharCode(55349,56476+hX)),hC(hS,hA,hz,hJ,hQ))}hC(hT,hA,hN,"k",hQ=String.fromCharCode(55349,56668)),hC(hS,hA,hz,"k",hQ);for(var h9=0;h9<10;h9++){var h8=h9.toString();hC(hT,hA,hN,h8,hQ=String.fromCharCode(55349,57294+h9)),hC(hS,hA,hz,h8,hQ),hC(hT,hA,hN,h8,hQ=String.fromCharCode(55349,57314+h9)),hC(hS,hA,hz,h8,hQ),hC(hT,hA,hN,h8,hQ=String.fromCharCode(55349,57324+h9)),hC(hS,hA,hz,h8,hQ),hC(hT,hA,hN,h8,hQ=String.fromCharCode(55349,57334+h9)),hC(hS,hA,hz,h8,hQ)}for(var pe="\xd0\xde\xfe",pn=0;pn<pe.length;pn++){var pr=pe.charAt(pn);hC(hT,hA,hN,pr,pr),hC(hS,hA,hz,pr,pr)}var pi=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],pa=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],ps=function(Y,et){var en=(Y.charCodeAt(0)-55296)*1024+(Y.charCodeAt(1)-56320)+65536,ei="math"===et?0:1;if(119808<=en&&en<120484){var eo=Math.floor((en-119808)/26);return[pi[eo][2],pi[eo][ei]]}if(120782<=en&&en<=120831){var ea=Math.floor((en-120782)/10);return[pa[ea][2],pa[ea][ei]]}if(120485===en||120486===en)return[pi[0][2],pi[0][ei]];if(120486<en&&en<120782)return["",""];throw new fl("Unsupported character: "+Y)},pu=function(Y,et,en){return hE[en][Y]&&hE[en][Y].replace&&(Y=hE[en][Y].replace),{value:Y,metrics:f5(Y,et,en)}},pc=function(Y,et,en,ei,eo){var ea,eu=pu(Y,et,en),ec=eu.metrics;if(Y=eu.value,ec){var ed=ec.italic;("text"===en||ei&&"mathit"===ei.font)&&(ed=0),ea=new hg(Y,ec.height,ec.depth,ed,ec.skew,ec.width,eo)}else"undefined"!=typeof console&&console.warn("No character metrics "+("for '"+Y+"' in style '"+et)+"' and mode '"+en+"'"),ea=new hg(Y,0,0,0,0,0,eo);if(ei){ea.maxFontSize=ei.sizeMultiplier,ei.style.isTight()&&ea.classes.push("mtight");var ef=ei.getColor();ef&&(ea.style.color=ef)}return ea},pd=function(Y,et,en,ei,eo){return"textord"!==eo&&pu(Y,"Math-BoldItalic",et).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},pf=(Y,et)=>{if(hl(Y.classes)!==hl(et.classes)||Y.skew!==et.skew||Y.maxFontSize!==et.maxFontSize)return!1;if(1===Y.classes.length){var en=Y.classes[0];if("mbin"===en||"mord"===en)return!1}for(var ei in Y.style)if(Y.style.hasOwnProperty(ei)&&Y.style[ei]!==et.style[ei])return!1;for(var eo in et.style)if(et.style.hasOwnProperty(eo)&&Y.style[eo]!==et.style[eo])return!1;return!0},ph=function(Y){for(var et=0,en=0,ei=0,eo=0;eo<Y.children.length;eo++){var ea=Y.children[eo];ea.height>et&&(et=ea.height),ea.depth>en&&(en=ea.depth),ea.maxFontSize>ei&&(ei=ea.maxFontSize)}Y.height=et,Y.depth=en,Y.maxFontSize=ei},pp=function(Y,et,en,ei){var eo=new hf(Y,et,en,ei);return ph(eo),eo},pm=(Y,et,en,ei)=>new hf(Y,et,en,ei),pg=function(Y,et,en){var ei=pp([Y],[],et);return ei.height=Math.max(en||et.fontMetrics().defaultRuleThickness,et.minRuleThickness),ei.style.borderBottomWidth=hs(ei.height),ei.maxFontSize=1,ei},pv=function(Y){var et=new fQ(Y);return ph(et),et},pb=function(Y,et){return Y instanceof fQ?pp([],[Y],et):Y},pk=function(Y){if("individualShift"===Y.positionType){for(var et,en=Y.children,ei=[en[0]],eo=-en[0].shift-en[0].elem.depth,ea=eo,eu=1;eu<en.length;eu++){var ec=-en[eu].shift-ea-en[eu].elem.depth,ed=ec-(en[eu-1].elem.height+en[eu-1].elem.depth);ea+=ec,ei.push({type:"kern",size:ed}),ei.push(en[eu])}return{children:ei,depth:eo}}if("top"===Y.positionType){for(var ef=Y.positionData,eh=0;eh<Y.children.length;eh++){var ep=Y.children[eh];ef-="kern"===ep.type?ep.size:ep.elem.height+ep.elem.depth}et=ef}else if("bottom"===Y.positionType)et=-Y.positionData;else{var em=Y.children[0];if("elem"!==em.type)throw Error('First child must have type "elem".');if("shift"===Y.positionType)et=-em.elem.depth-Y.positionData;else if("firstBaseline"===Y.positionType)et=-em.elem.depth;else throw Error("Invalid positionType "+Y.positionType+".")}return{children:Y.children,depth:et}},pw=function(Y,et){for(var en,{children:ei,depth:eo}=pk(Y),ea=0,eu=0;eu<ei.length;eu++){var ec=ei[eu];if("elem"===ec.type){var ed=ec.elem;ea=Math.max(ea,ed.maxFontSize,ed.height)}}ea+=2;var ef=pp(["pstrut"],[]);ef.style.height=hs(ea);for(var eh=[],ep=eo,em=eo,eg=eo,ey=0;ey<ei.length;ey++){var eb=ei[ey];if("kern"===eb.type)eg+=eb.size;else{var ek=eb.elem,ew=pp(eb.wrapperClasses||[],[ef,ek],void 0,eb.wrapperStyle||{});ew.style.top=hs(-ea-eg-ek.depth),eb.marginLeft&&(ew.style.marginLeft=eb.marginLeft),eb.marginRight&&(ew.style.marginRight=eb.marginRight),eh.push(ew),eg+=ek.height+ek.depth}ep=Math.min(ep,eg),em=Math.max(em,eg)}var e_=pp(["vlist"],eh);if(e_.style.height=hs(em),ep<0){var eE=pp([],[]),eC=pp(["vlist"],[eE]);eC.style.height=hs(-ep);var eT=pp(["vlist-s"],[new hg("")]);en=[pp(["vlist-r"],[e_,eT]),pp(["vlist-r"],[eC])]}else en=[pp(["vlist-r"],[e_])];var eS=pp(["vlist-t"],en);return 2===en.length&&eS.classes.push("vlist-t2"),eS.height=em,eS.depth=-ep,eS},p_=(Y,et)=>{var en=pp(["mspace"],[],et),ei=ha(Y,et);return en.style.marginRight=hs(ei),en},pE=function(Y,et,en){var ei,eo="";switch(Y){case"amsrm":eo="AMS";break;case"textrm":eo="Main";break;case"textsf":eo="SansSerif";break;case"texttt":eo="Typewriter";break;default:eo=Y}return eo+"-"+(ei="textbf"===et&&"textit"===en?"BoldItalic":"textbf"===et?"Bold":"textit"===et?"Italic":"Regular")},pC={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},pT={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},pS={fontMap:pC,makeSymbol:pc,mathsym:function(Y,et,en,ei){return(void 0===ei&&(ei=[]),"boldsymbol"===en.font&&pu(Y,"Main-Bold",et).metrics)?pc(Y,"Main-Bold",et,en,ei.concat(["mathbf"])):"\\"===Y||"main"===hE[et][Y].font?pc(Y,"Main-Regular",et,en,ei):pc(Y,"AMS-Regular",et,en,ei.concat(["amsrm"]))},makeSpan:pp,makeSvgSpan:pm,makeLineSpan:pg,makeAnchor:function(Y,et,en,ei){var eo=new hh(Y,et,en,ei);return ph(eo),eo},makeFragment:pv,wrapFragment:pb,makeVList:pw,makeOrd:function(Y,et,en){var ei=Y.mode,eo=Y.text,ea=["mord"],eu="math"===ei||"text"===ei&&et.font,ec=eu?et.font:et.fontFamily;if(55349===eo.charCodeAt(0)){var[ed,ef]=ps(eo,ei);return pc(eo,ed,ei,et,ea.concat(ef))}if(ec){if("boldsymbol"===ec){var eh,ep,em=pd(eo,ei,et,ea,en);eh=em.fontName,ep=[em.fontClass]}else eu?(eh=pC[ec].fontName,ep=[ec]):(eh=pE(ec,et.fontWeight,et.fontShape),ep=[ec,et.fontWeight,et.fontShape]);if(pu(eo,eh,ei).metrics)return pc(eo,eh,ei,et,ea.concat(ep));if(hU.hasOwnProperty(eo)&&"Typewriter"===eh.substr(0,10)){for(var eg=[],ey=0;ey<eo.length;ey++)eg.push(pc(eo[ey],eh,ei,et,ea.concat(ep)));return pv(eg)}}if("mathord"===en)return pc(eo,"Math-Italic",ei,et,ea.concat(["mathnormal"]));if("textord"===en){var eb=hE[ei][eo]&&hE[ei][eo].font;if("ams"===eb)return pc(eo,pE("amsrm",et.fontWeight,et.fontShape),ei,et,ea.concat("amsrm",et.fontWeight,et.fontShape));if("main"===eb||!eb)return pc(eo,pE("textrm",et.fontWeight,et.fontShape),ei,et,ea.concat(et.fontWeight,et.fontShape));var ek=pE(eb,et.fontWeight,et.fontShape);return pc(eo,ek,ei,et,ea.concat(ek,et.fontWeight,et.fontShape))}throw Error("unexpected type: "+en+" in makeOrd")},makeGlue:p_,staticSvg:function(Y,et){var[en,ei,eo]=pT[Y],ea=new hy(en),eu=pm(["overlay"],[new hv([ea],{width:hs(ei),height:hs(eo),style:"width:"+hs(ei),viewBox:"0 0 "+1e3*ei+" "+1e3*eo,preserveAspectRatio:"xMinYMin"})],et);return eu.height=eo,eu.style.height=hs(eo),eu.style.width=hs(ei),eu},svgData:pT,tryCombineChars:Y=>{for(var et=0;et<Y.length-1;et++){var en=Y[et],ei=Y[et+1];en instanceof hg&&ei instanceof hg&&pf(en,ei)&&(en.text+=ei.text,en.height=Math.max(en.height,ei.height),en.depth=Math.max(en.depth,ei.depth),en.italic=ei.italic,Y.splice(et+1,1),et--)}return Y}},pA={number:3,unit:"mu"},pM={number:4,unit:"mu"},pP={number:5,unit:"mu"},pj={mord:{mop:pA,mbin:pM,mrel:pP,minner:pA},mop:{mord:pA,mop:pA,mrel:pP,minner:pA},mbin:{mord:pM,mop:pM,mopen:pM,minner:pM},mrel:{mord:pP,mop:pP,mopen:pP,minner:pP},mopen:{},mclose:{mop:pA,mbin:pM,mrel:pP,minner:pA},mpunct:{mord:pA,mop:pA,mrel:pP,mopen:pA,mclose:pA,mpunct:pA,minner:pA},minner:{mord:pA,mop:pA,mbin:pM,mrel:pP,mopen:pA,mpunct:pA,minner:pA}},pO={mord:{mop:pA},mop:{mord:pA,mop:pA},mbin:{},mrel:{},mopen:{},mclose:{mop:pA},mpunct:{},minner:{mop:pA}},pI={},pN={},pL={};function pR(Y){for(var{type:et,names:en,props:ei,handler:eo,htmlBuilder:ea,mathmlBuilder:eu}=Y,ec={type:et,numArgs:ei.numArgs,argTypes:ei.argTypes,allowedInArgument:!!ei.allowedInArgument,allowedInText:!!ei.allowedInText,allowedInMath:void 0===ei.allowedInMath||ei.allowedInMath,numOptionalArgs:ei.numOptionalArgs||0,infix:!!ei.infix,primitive:!!ei.primitive,handler:eo},ed=0;ed<en.length;++ed)pI[en[ed]]=ec;et&&(ea&&(pN[et]=ea),eu&&(pL[et]=eu))}function pD(Y){var{type:et,htmlBuilder:en,mathmlBuilder:ei}=Y;pR({type:et,names:[],props:{numArgs:0},handler(){throw Error("Should never be called.")},htmlBuilder:en,mathmlBuilder:ei})}var pF=function(Y){return"ordgroup"===Y.type&&1===Y.body.length?Y.body[0]:Y},pB=function(Y){return"ordgroup"===Y.type?Y.body:[Y]},pz=pS.makeSpan,pU=["leftmost","mbin","mopen","mrel","mop","mpunct"],pH=["rightmost","mrel","mclose","mpunct"],pG={display:fL.DISPLAY,text:fL.TEXT,script:fL.SCRIPT,scriptscript:fL.SCRIPTSCRIPT},pV={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},pW=function(Y,et,en,ei){void 0===ei&&(ei=[null,null]);for(var eo=[],ea=0;ea<Y.length;ea++){var eu=pQ(Y[ea],et);if(eu instanceof fQ){var ec=eu.children;eo.push(...ec)}else eo.push(eu)}if(pS.tryCombineChars(eo),!en)return eo;var ed=et;if(1===Y.length){var ef=Y[0];"sizing"===ef.type?ed=et.havingSize(ef.size):"styling"===ef.type&&(ed=et.havingStyle(pG[ef.style]))}var eh=pz([ei[0]||"leftmost"],[],et),ep=pz([ei[1]||"rightmost"],[],et),em="root"===en;return pq(eo,(Y,et)=>{var en=et.classes[0],ei=Y.classes[0];"mbin"===en&&fm.contains(pH,ei)?et.classes[0]="mord":"mbin"===ei&&fm.contains(pU,en)&&(Y.classes[0]="mord")},{node:eh},ep,em),pq(eo,(Y,et)=>{var en=p$(et),ei=p$(Y),eo=en&&ei?Y.hasClass("mtight")?pO[en][ei]:pj[en][ei]:null;if(eo)return pS.makeGlue(eo,ed)},{node:eh},ep,em),eo},pq=function Y(et,en,ei,eo,ea){eo&&et.push(eo);for(var eu=0;eu<et.length;eu++){var ec,ed=et[eu],ef=pZ(ed);if(ef){Y(ef.children,en,ei,null,ea);continue}var eh=!ed.hasClass("mspace");if(eh){var ep=en(ed,ei.node);ep&&(ei.insertAfter?ei.insertAfter(ep):(et.unshift(ep),eu++))}eh?ei.node=ed:ea&&ed.hasClass("newline")&&(ei.node=pz(["leftmost"])),ei.insertAfter=(ec=eu,Y=>{et.splice(ec+1,0,Y),eu++})}eo&&et.pop()},pZ=function(Y){return Y instanceof fQ||Y instanceof hh||Y instanceof hf&&Y.hasClass("enclosing")?Y:null},pK=function Y(et,en){var ei=pZ(et);if(ei){var eo=ei.children;if(eo.length){if("right"===en)return Y(eo[eo.length-1],"right");if("left"===en)return Y(eo[0],"left")}}return et},p$=function(Y,et){return Y?(et&&(Y=pK(Y,et)),pV[Y.classes[0]]||null):null},pY=function(Y,et){var en=["nulldelimiter"].concat(Y.baseSizingClasses());return pz(et.concat(en))},pQ=function(Y,et,en){if(!Y)return pz();if(pN[Y.type]){var ei=pN[Y.type](Y,et);if(en&&et.size!==en.size){ei=pz(et.sizingClasses(en),[ei],et);var eo=et.sizeMultiplier/en.sizeMultiplier;ei.height*=eo,ei.depth*=eo}return ei}throw new fl("Got group of unknown type: '"+Y.type+"'")};function pX(Y,et){var en=pz(["base"],Y,et),ei=pz(["strut"]);return ei.style.height=hs(en.height+en.depth),en.depth&&(ei.style.verticalAlign=hs(-en.depth)),en.children.unshift(ei),en}function pJ(Y,et){var en,ei,eo=null;1===Y.length&&"tag"===Y[0].type&&(eo=Y[0].tag,Y=Y[0].body);var ea=pW(Y,et,"root");2===ea.length&&ea[1].hasClass("tag")&&(en=ea.pop());for(var eu=[],ec=[],ed=0;ed<ea.length;ed++)if(ec.push(ea[ed]),ea[ed].hasClass("mbin")||ea[ed].hasClass("mrel")||ea[ed].hasClass("allowbreak")){for(var ef=!1;ed<ea.length-1&&ea[ed+1].hasClass("mspace")&&!ea[ed+1].hasClass("newline");)ed++,ec.push(ea[ed]),ea[ed].hasClass("nobreak")&&(ef=!0);ef||(eu.push(pX(ec,et)),ec=[])}else ea[ed].hasClass("newline")&&(ec.pop(),ec.length>0&&(eu.push(pX(ec,et)),ec=[]),eu.push(ea[ed]));ec.length>0&&eu.push(pX(ec,et)),eo?((ei=pX(pW(eo,et,!0))).classes=["tag"],eu.push(ei)):en&&eu.push(en);var eh=pz(["katex-html"],eu);if(eh.setAttribute("aria-hidden","true"),ei){var ep=ei.children[0];ep.style.height=hs(eh.height+eh.depth),eh.depth&&(ep.style.verticalAlign=hs(-eh.depth))}return eh}function p9(Y){return new fQ(Y)}class p6{constructor(Y,et,en){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=Y,this.attributes={},this.children=et||[],this.classes=en||[]}setAttribute(Y,et){this.attributes[Y]=et}getAttribute(Y){return this.attributes[Y]}toNode(){var Y=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var et in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,et)&&Y.setAttribute(et,this.attributes[et]);this.classes.length>0&&(Y.className=hl(this.classes));for(var en=0;en<this.children.length;en++)Y.appendChild(this.children[en].toNode());return Y}toMarkup(){var Y="<"+this.type;for(var et in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,et)&&(Y+=" "+et+'="'+fm.escape(this.attributes[et])+'"');this.classes.length>0&&(Y+=' class ="'+fm.escape(hl(this.classes))+'"'),Y+=">";for(var en=0;en<this.children.length;en++)Y+=this.children[en].toMarkup();return Y+("</"+this.type)+">"}toText(){return this.children.map(Y=>Y.toText()).join("")}}class p7{constructor(Y){this.text=void 0,this.text=Y}toNode(){return document.createTextNode(this.text)}toMarkup(){return fm.escape(this.toText())}toText(){return this.text}}class p8{constructor(Y){this.width=void 0,this.character=void 0,this.width=Y,Y>=.05555&&Y<=.05556?this.character="":Y>=.1666&&Y<=.1667?this.character="":Y>=.2222&&Y<=.2223?this.character="":Y>=.2777&&Y<=.2778?this.character="":Y>=-.05556&&Y<=-.05555?this.character="":Y>=-.1667&&Y<=-.1666?this.character="":Y>=-.2223&&Y<=-.2222?this.character="":Y>=-.2778&&Y<=-.2777?this.character="":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var Y=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return Y.setAttribute("width",hs(this.width)),Y}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+hs(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var mt={MathNode:p6,TextNode:p7,SpaceNode:p8,newDocumentFragment:p9},mn=function(Y,et,en){return hE[et][Y]&&hE[et][Y].replace&&55349!==Y.charCodeAt(0)&&!(hU.hasOwnProperty(Y)&&en&&(en.fontFamily&&"tt"===en.fontFamily.substr(4,2)||en.font&&"tt"===en.font.substr(4,2)))&&(Y=hE[et][Y].replace),new mt.TextNode(Y)},mr=function(Y){return 1===Y.length?Y[0]:new mt.MathNode("mrow",Y)},mi=function(Y,et){if("texttt"===et.fontFamily)return"monospace";if("textsf"===et.fontFamily)return"textit"===et.fontShape&&"textbf"===et.fontWeight?"sans-serif-bold-italic":"textit"===et.fontShape?"sans-serif-italic":"textbf"===et.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===et.fontShape&&"textbf"===et.fontWeight)return"bold-italic";if("textit"===et.fontShape)return"italic";if("textbf"===et.fontWeight)return"bold";var en=et.font;if(!en||"mathnormal"===en)return null;var ei=Y.mode;if("mathit"===en)return"italic";if("boldsymbol"===en)return"textord"===Y.type?"bold":"bold-italic";if("mathbf"===en)return"bold";if("mathbb"===en)return"double-struck";if("mathfrak"===en)return"fraktur";if("mathscr"===en||"mathcal"===en)return"script";if("mathsf"===en)return"sans-serif";else if("mathtt"===en)return"monospace";var eo=Y.text;return fm.contains(["\\imath","\\jmath"],eo)?null:(hE[ei][eo]&&hE[ei][eo].replace&&(eo=hE[ei][eo].replace),f5(eo,pS.fontMap[en].fontName,ei))?pS.fontMap[en].variant:null},mo=function(Y,et,en){if(1===Y.length){var ei,eo=ml(Y[0],et);return en&&eo instanceof p6&&"mo"===eo.type&&(eo.setAttribute("lspace","0em"),eo.setAttribute("rspace","0em")),[eo]}for(var ea=[],eu=0;eu<Y.length;eu++){var ec=ml(Y[eu],et);if(ec instanceof p6&&ei instanceof p6){if("mtext"===ec.type&&"mtext"===ei.type&&ec.getAttribute("mathvariant")===ei.getAttribute("mathvariant")||"mn"===ec.type&&"mn"===ei.type){ei.children.push(...ec.children);continue}if("mi"===ec.type&&1===ec.children.length&&"mn"===ei.type){var ed=ec.children[0];if(ed instanceof p7&&"."===ed.text){ei.children.push(...ec.children);continue}}else if("mi"===ei.type&&1===ei.children.length){var ef=ei.children[0];if(ef instanceof p7&&"̸"===ef.text&&("mo"===ec.type||"mi"===ec.type||"mn"===ec.type)){var eh=ec.children[0];eh instanceof p7&&eh.text.length>0&&(eh.text=eh.text.slice(0,1)+"̸"+eh.text.slice(1),ea.pop())}}}ea.push(ec),ei=ec}return ea},ma=function(Y,et,en){return mr(mo(Y,et,en))},ml=function(Y,et){if(!Y)return new mt.MathNode("mrow");if(pL[Y.type])return pL[Y.type](Y,et);throw new fl("Got group of unknown type: '"+Y.type+"'")};function mu(Y,et,en,ei,eo){var ea,eu=mo(Y,en);ea=1===eu.length&&eu[0]instanceof p6&&fm.contains(["mrow","mtable"],eu[0].type)?eu[0]:new mt.MathNode("mrow",eu);var ec=new mt.MathNode("annotation",[new mt.TextNode(et)]);ec.setAttribute("encoding","application/x-tex");var ed=new mt.MathNode("semantics",[ea,ec]),ef=new mt.MathNode("math",[ed]);ef.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),ei&&ef.setAttribute("display","block");var eh=eo?"katex":"katex-mathml";return pS.makeSpan([eh],[ef])}var mc=function(Y){return new ht({style:Y.displayMode?fL.DISPLAY:fL.TEXT,maxSize:Y.maxSize,minRuleThickness:Y.minRuleThickness})},mf=function(Y,et){if(et.displayMode){var en=["katex-display"];et.leqno&&en.push("leqno"),et.fleqn&&en.push("fleqn"),Y=pS.makeSpan(en,[Y])}return Y},mh=function(Y,et,en){var ei,eo=mc(en);if("mathml"===en.output)return mu(Y,et,eo,en.displayMode,!0);if("html"===en.output){var ea=pJ(Y,eo);ei=pS.makeSpan(["katex"],[ea])}else{var eu=mu(Y,et,eo,en.displayMode,!1),ec=pJ(Y,eo);ei=pS.makeSpan(["katex"],[eu,ec])}return mf(ei,en)},mp=function(Y,et,en){var ei=pJ(Y,mc(en));return mf(pS.makeSpan(["katex"],[ei]),en)},mg={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},mv={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},my=function(Y){return"ordgroup"===Y.type?Y.body.length:1},mb={encloseSpan:function(Y,et,en,ei,eo){var ea,eu=Y.height+Y.depth+en+ei;if(/fbox|color|angl/.test(et)){if(ea=pS.makeSpan(["stretchy",et],[],eo),"fbox"===et){var ec=eo.color&&eo.getColor();ec&&(ea.style.borderColor=ec)}}else{var ed=[];/^[bx]cancel$/.test(et)&&ed.push(new hb({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(et)&&ed.push(new hb({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var ef=new hv(ed,{width:"100%",height:hs(eu)});ea=pS.makeSvgSpan([],[ef],eo)}return ea.height=eu,ea.style.height=hs(eu),ea},mathMLnode:function(Y){var et=new mt.MathNode("mo",[new mt.TextNode(mg[Y.replace(/^\\/,"")])]);return et.setAttribute("stretchy","true"),et},svgSpan:function(Y,et){var{span:en,minWidth:ei,height:eo}=function(){var en=4e5,ei=Y.label.substr(1);if(fm.contains(["widehat","widecheck","widetilde","utilde"],ei)){var eo,ea,eu,ec=my(Y.base);if(ec>5)"widehat"===ei||"widecheck"===ei?(eo=420,en=2364,eu=.42,ea=ei+"4"):(eo=312,en=2340,eu=.34,ea="tilde4");else{var ed=[1,1,2,2,3,3][ec];"widehat"===ei||"widecheck"===ei?(en=[0,1062,2364,2364,2364][ed],eo=[0,239,300,360,420][ed],eu=[0,.24,.3,.3,.36,.42][ed],ea=ei+ed):(en=[0,600,1033,2339,2340][ed],eo=[0,260,286,306,312][ed],eu=[0,.26,.286,.3,.306,.34][ed],ea="tilde"+ed)}var ef=new hy(ea),eh=new hv([ef],{width:"100%",height:hs(eu),viewBox:"0 0 "+en+" "+eo,preserveAspectRatio:"none"});return{span:pS.makeSvgSpan([],[eh],et),minWidth:0,height:eu}}var ep,em,eg=[],ey=mv[ei],[eb,ek,ew]=ey,e_=ew/1e3,eE=eb.length;if(1===eE)ep=["hide-tail"],em=[ey[3]];else if(2===eE)ep=["halfarrow-left","halfarrow-right"],em=["xMinYMin","xMaxYMin"];else if(3===eE)ep=["brace-left","brace-center","brace-right"],em=["xMinYMin","xMidYMin","xMaxYMin"];else throw Error("Correct katexImagesData or update code here to support\n "+eE+" children.");for(var eC=0;eC<eE;eC++){var eT=new hy(eb[eC]),eS=new hv([eT],{width:"400em",height:hs(e_),viewBox:"0 0 "+en+" "+ew,preserveAspectRatio:em[eC]+" slice"}),eA=pS.makeSvgSpan([ep[eC]],[eS],et);if(1===eE)return{span:eA,minWidth:ek,height:e_};eA.style.height=hs(e_),eg.push(eA)}return{span:pS.makeSpan(["stretchy"],eg,et),minWidth:ek,height:e_}}();return en.height=eo,en.style.height=hs(eo),ei>0&&(en.style.minWidth=hs(ei)),en}};function mx(Y,et){if(!Y||Y.type!==et)throw Error("Expected node of type "+et+", but got "+(Y?"node of type "+Y.type:String(Y)));return Y}function mk(Y){var et=mw(Y);if(!et)throw Error("Expected node of symbol group type, but got "+(Y?"node of type "+Y.type:String(Y)));return et}function mw(Y){return Y&&("atom"===Y.type||h_.hasOwnProperty(Y.type))?Y:null}var m_=(Y,et)=>{Y&&"supsub"===Y.type?(ec=(ed=mx(Y.base,"accent")).base,Y.base=ec,ef=hk(pQ(Y,et)),Y.base=ed):ec=(ed=mx(Y,"accent")).base;var en=pQ(ec,et.havingCrampedStyle()),ei=ed.isShifty&&fm.isCharacterBox(ec),eo=0;ei&&(eo=hx(pQ(fm.getBaseElem(ec),et.havingCrampedStyle())).skew);var ea="\\c"===ed.label,eu=ea?en.height+en.depth:Math.min(en.height,et.fontMetrics().xHeight);if(ed.isStretchy)eh=mb.svgSpan(ed,et),eh=pS.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:en},{type:"elem",elem:eh,wrapperClasses:["svg-align"],wrapperStyle:eo>0?{width:"calc(100% - "+hs(2*eo)+")",marginLeft:hs(2*eo)}:void 0}]},et);else{"\\vec"===ed.label?(ep=pS.staticSvg("vec",et),em=pS.svgData.vec[1]):((ep=hx(ep=pS.makeOrd({mode:ed.mode,text:ed.label},et,"textord"))).italic=0,em=ep.width,ea&&(eu+=ep.depth)),eh=pS.makeSpan(["accent-body"],[ep]);var ec,ed,ef,eh,ep,em,eg="\\textcircled"===ed.label;eg&&(eh.classes.push("accent-full"),eu=en.height);var ey=eo;eg||(ey-=em/2),eh.style.left=hs(ey),"\\textcircled"===ed.label&&(eh.style.top=".2em"),eh=pS.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:en},{type:"kern",size:-eu},{type:"elem",elem:eh}]},et)}var eb=pS.makeSpan(["mord","accent"],[eh],et);return ef?(ef.children[0]=eb,ef.height=Math.max(eb.height,ef.height),ef.classes[0]="mord",ef):eb},mE=(Y,et)=>{var en=Y.isStretchy?mb.mathMLnode(Y.label):new mt.MathNode("mo",[mn(Y.label,Y.mode)]),ei=new mt.MathNode("mover",[ml(Y.base,et),en]);return ei.setAttribute("accent","true"),ei},mC=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(Y=>"\\"+Y).join("|"));pR({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(Y,et)=>{var en=pF(et[0]),ei=!mC.test(Y.funcName),eo=!ei||"\\widehat"===Y.funcName||"\\widetilde"===Y.funcName||"\\widecheck"===Y.funcName;return{type:"accent",mode:Y.parser.mode,label:Y.funcName,isStretchy:ei,isShifty:eo,base:en}},htmlBuilder:m_,mathmlBuilder:mE}),pR({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(Y,et)=>{var en=et[0],ei=Y.parser.mode;return"math"===ei&&(Y.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+Y.funcName+" works only in text mode"),ei="text"),{type:"accent",mode:ei,label:Y.funcName,isStretchy:!1,isShifty:!0,base:en}},htmlBuilder:m_,mathmlBuilder:mE}),pR({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(Y,et)=>{var{parser:en,funcName:ei}=Y,eo=et[0];return{type:"accentUnder",mode:en.mode,label:ei,base:eo}},htmlBuilder:(Y,et)=>{var en=pQ(Y.base,et),ei=mb.svgSpan(Y,et),eo="\\utilde"===Y.label?.12:0,ea=pS.makeVList({positionType:"top",positionData:en.height,children:[{type:"elem",elem:ei,wrapperClasses:["svg-align"]},{type:"kern",size:eo},{type:"elem",elem:en}]},et);return pS.makeSpan(["mord","accentunder"],[ea],et)},mathmlBuilder:(Y,et)=>{var en=mb.mathMLnode(Y.label),ei=new mt.MathNode("munder",[ml(Y.base,et),en]);return ei.setAttribute("accentunder","true"),ei}});var mT=Y=>{var et=new mt.MathNode("mpadded",Y?[Y]:[]);return et.setAttribute("width","+0.6em"),et.setAttribute("lspace","0.3em"),et};pR({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(Y,et,en){var{parser:ei,funcName:eo}=Y;return{type:"xArrow",mode:ei.mode,label:eo,body:et[0],below:en[0]}},htmlBuilder(Y,et){var en,ei,eo=et.style,ea=et.havingStyle(eo.sup()),eu=pS.wrapFragment(pQ(Y.body,ea,et),et),ec="\\x"===Y.label.slice(0,2)?"x":"cd";eu.classes.push(ec+"-arrow-pad"),Y.below&&(ea=et.havingStyle(eo.sub()),(en=pS.wrapFragment(pQ(Y.below,ea,et),et)).classes.push(ec+"-arrow-pad"));var ed=mb.svgSpan(Y,et),ef=-et.fontMetrics().axisHeight+.5*ed.height,eh=-et.fontMetrics().axisHeight-.5*ed.height-.111;if((eu.depth>.25||"\\xleftequilibrium"===Y.label)&&(eh-=eu.depth),en){var ep=-et.fontMetrics().axisHeight+en.height+.5*ed.height+.111;ei=pS.makeVList({positionType:"individualShift",children:[{type:"elem",elem:eu,shift:eh},{type:"elem",elem:ed,shift:ef},{type:"elem",elem:en,shift:ep}]},et)}else ei=pS.makeVList({positionType:"individualShift",children:[{type:"elem",elem:eu,shift:eh},{type:"elem",elem:ed,shift:ef}]},et);return ei.children[0].children[0].children[1].classes.push("svg-align"),pS.makeSpan(["mrel","x-arrow"],[ei],et)},mathmlBuilder(Y,et){var en,ei=mb.mathMLnode(Y.label);if(ei.setAttribute("minsize","x"===Y.label.charAt(0)?"1.75em":"3.0em"),Y.body){var eo=mT(ml(Y.body,et));if(Y.below){var ea=mT(ml(Y.below,et));en=new mt.MathNode("munderover",[ei,ea,eo])}else en=new mt.MathNode("mover",[ei,eo])}else if(Y.below){var eu=mT(ml(Y.below,et));en=new mt.MathNode("munder",[ei,eu])}else en=mT(),en=new mt.MathNode("mover",[ei,en]);return en}});var mS={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},mA=()=>({type:"styling",body:[],mode:"math",style:"display"}),mM=Y=>"textord"===Y.type&&"@"===Y.text,mP=(Y,et)=>("mathord"===Y.type||"atom"===Y.type)&&Y.text===et;function mj(Y,et,en){var ei=mS[Y];switch(ei){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return en.callFunction(ei,[et[0]],[et[1]]);case"\\uparrow":case"\\downarrow":var eo=en.callFunction("\\\\cdleft",[et[0]],[]),ea={type:"atom",text:ei,mode:"math",family:"rel"},eu={type:"ordgroup",mode:"math",body:[eo,en.callFunction("\\Big",[ea],[]),en.callFunction("\\\\cdright",[et[1]],[])]};return en.callFunction("\\\\cdparent",[eu],[]);case"\\\\cdlongequal":return en.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":var ec={type:"textord",text:"\\Vert",mode:"math"};return en.callFunction("\\Big",[ec],[]);default:return{type:"textord",text:" ",mode:"math"}}}function mO(Y){var et=[];for(Y.gullet.beginGroup(),Y.gullet.macros.set("\\cr","\\\\\\relax"),Y.gullet.beginGroup();;){et.push(Y.parseExpression(!1,"\\\\")),Y.gullet.endGroup(),Y.gullet.beginGroup();var en=Y.fetch().text;if("&"===en||"\\\\"===en)Y.consume();else if("\\end"===en){0===et[et.length-1].length&&et.pop();break}else throw new fl("Expected \\\\ or \\cr or \\end",Y.nextToken)}for(var ei=[],eo=[ei],ea=0;ea<et.length;ea++){for(var eu=et[ea],ec=mA(),ed=0;ed<eu.length;ed++)if(mM(eu[ed])){ei.push(ec);var ef=mk(eu[ed+=1]).text,eh=[,,];if(eh[0]={type:"ordgroup",mode:"math",body:[]},eh[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(ef)>-1);else if("<>AV".indexOf(ef)>-1)for(var ep=0;ep<2;ep++){for(var em=!0,eg=ed+1;eg<eu.length;eg++){if(mP(eu[eg],ef)){em=!1,ed=eg;break}if(mM(eu[eg]))throw new fl("Missing a "+ef+" character to complete a CD arrow.",eu[eg]);eh[ep].body.push(eu[eg])}if(em)throw new fl("Missing a "+ef+" character to complete a CD arrow.",eu[ed])}else throw new fl('Expected one of "<>AV=|." after @',eu[ed]);var ey={type:"styling",body:[mj(ef,eh,Y)],mode:"math",style:"display"};ei.push(ey),ec=mA()}else ec.body.push(eu[ed]);ea%2==0?ei.push(ec):ei.shift(),ei=[],eo.push(ei)}return Y.gullet.endGroup(),Y.gullet.endGroup(),{type:"array",mode:"math",body:eo,arraystretch:1,addJot:!0,rowGaps:[null],cols:Array(eo[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25}),colSeparationType:"CD",hLinesBeforeRow:Array(eo.length+1).fill([])}}pR({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(Y,et){var{parser:en,funcName:ei}=Y;return{type:"cdlabel",mode:en.mode,side:ei.slice(4),label:et[0]}},htmlBuilder(Y,et){var en=et.havingStyle(et.style.sup()),ei=pS.wrapFragment(pQ(Y.label,en,et),et);return ei.classes.push("cd-label-"+Y.side),ei.style.bottom=hs(.8-ei.depth),ei.height=0,ei.depth=0,ei},mathmlBuilder(Y,et){var en=new mt.MathNode("mrow",[ml(Y.label,et)]);return(en=new mt.MathNode("mpadded",[en])).setAttribute("width","0"),"left"===Y.side&&en.setAttribute("lspace","-1width"),en.setAttribute("voffset","0.7em"),(en=new mt.MathNode("mstyle",[en])).setAttribute("displaystyle","false"),en.setAttribute("scriptlevel","1"),en}}),pR({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(Y,et){var{parser:en}=Y;return{type:"cdlabelparent",mode:en.mode,fragment:et[0]}},htmlBuilder(Y,et){var en=pS.wrapFragment(pQ(Y.fragment,et),et);return en.classes.push("cd-vert-arrow"),en},mathmlBuilder:(Y,et)=>new mt.MathNode("mrow",[ml(Y.fragment,et)])}),pR({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(Y,et){for(var en,{parser:ei}=Y,eo=mx(et[0],"ordgroup").body,ea="",eu=0;eu<eo.length;eu++)ea+=mx(eo[eu],"textord").text;var ec=parseInt(ea);if(isNaN(ec))throw new fl("\\@char has non-numeric argument "+ea);if(ec<0||ec>=1114111)throw new fl("\\@char with invalid code point "+ea);return ec<=65535?en=String.fromCharCode(ec):(ec-=65536,en=String.fromCharCode((ec>>10)+55296,(1023&ec)+56320)),{type:"textord",mode:ei.mode,text:en}}});var mI=(Y,et)=>{var en=pW(Y.body,et.withColor(Y.color),!1);return pS.makeFragment(en)},mN=(Y,et)=>{var en=mo(Y.body,et.withColor(Y.color)),ei=new mt.MathNode("mstyle",en);return ei.setAttribute("mathcolor",Y.color),ei};pR({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(Y,et){var{parser:en}=Y,ei=mx(et[0],"color-token").color,eo=et[1];return{type:"color",mode:en.mode,color:ei,body:pB(eo)}},htmlBuilder:mI,mathmlBuilder:mN}),pR({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(Y,et){var{parser:en,breakOnTokenText:ei}=Y,eo=mx(et[0],"color-token").color;en.gullet.macros.set("\\current@color",eo);var ea=en.parseExpression(!0,ei);return{type:"color",mode:en.mode,color:eo,body:ea}},htmlBuilder:mI,mathmlBuilder:mN}),pR({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler(Y,et,en){var{parser:ei}=Y,eo=en[0],ea=!ei.settings.displayMode||!ei.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:ei.mode,newLine:ea,size:eo&&mx(eo,"size").value}},htmlBuilder(Y,et){var en=pS.makeSpan(["mspace"],[],et);return Y.newLine&&(en.classes.push("newline"),Y.size&&(en.style.marginTop=hs(ha(Y.size,et)))),en},mathmlBuilder(Y,et){var en=new mt.MathNode("mspace");return Y.newLine&&(en.setAttribute("linebreak","newline"),Y.size&&en.setAttribute("height",hs(ha(Y.size,et)))),en}});var mL={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},mR=Y=>{var et=Y.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(et))throw new fl("Expected a control sequence",Y);return et},mD=Y=>{var et=Y.gullet.popToken();return"="===et.text&&" "===(et=Y.gullet.popToken()).text&&(et=Y.gullet.popToken()),et},mF=(Y,et,en,ei)=>{var eo=Y.gullet.macros.get(en.text);null==eo&&(en.noexpand=!0,eo={tokens:[en],numArgs:0,unexpandable:!Y.gullet.isExpandable(en.text)}),Y.gullet.macros.set(et,eo,ei)};pR({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(Y){var{parser:et,funcName:en}=Y;et.consumeSpaces();var ei=et.fetch();if(mL[ei.text])return("\\global"===en||"\\\\globallong"===en)&&(ei.text=mL[ei.text]),mx(et.parseFunction(),"internal");throw new fl("Invalid token after macro prefix",ei)}}),pR({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(Y){var et,{parser:en,funcName:ei}=Y,eo=en.gullet.popToken(),ea=eo.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(ea))throw new fl("Expected a control sequence",eo);for(var eu=0,ec=[[]];"{"!==en.gullet.future().text;)if("#"===(eo=en.gullet.popToken()).text){if("{"===en.gullet.future().text){et=en.gullet.future(),ec[eu].push("{");break}if(eo=en.gullet.popToken(),!/^[1-9]$/.test(eo.text))throw new fl('Invalid argument number "'+eo.text+'"');if(parseInt(eo.text)!==eu+1)throw new fl('Argument number "'+eo.text+'" out of order');eu++,ec.push([])}else if("EOF"===eo.text)throw new fl("Expected a macro definition");else ec[eu].push(eo.text);var{tokens:ed}=en.gullet.consumeArg();return et&&ed.unshift(et),("\\edef"===ei||"\\xdef"===ei)&&(ed=en.gullet.expandTokens(ed)).reverse(),en.gullet.macros.set(ea,{tokens:ed,numArgs:eu,delimiters:ec},ei===mL[ei]),{type:"internal",mode:en.mode}}}),pR({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(Y){var{parser:et,funcName:en}=Y,ei=mR(et.gullet.popToken());et.gullet.consumeSpaces();var eo=mD(et);return mF(et,ei,eo,"\\\\globallet"===en),{type:"internal",mode:et.mode}}}),pR({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(Y){var{parser:et,funcName:en}=Y,ei=mR(et.gullet.popToken()),eo=et.gullet.popToken(),ea=et.gullet.popToken();return mF(et,ei,ea,"\\\\globalfuture"===en),et.gullet.pushToken(ea),et.gullet.pushToken(eo),{type:"internal",mode:et.mode}}});var mB=function(Y,et,en){var ei=f5(hE.math[Y]&&hE.math[Y].replace||Y,et,en);if(!ei)throw Error("Unsupported symbol "+Y+" and font size "+et+".");return ei},mz=function(Y,et,en,ei){var eo=en.havingBaseStyle(et),ea=pS.makeSpan(ei.concat(eo.sizingClasses(en)),[Y],en),eu=eo.sizeMultiplier/en.sizeMultiplier;return ea.height*=eu,ea.depth*=eu,ea.maxFontSize=eo.sizeMultiplier,ea},mU=function(Y,et,en){var ei=et.havingBaseStyle(en),eo=(1-et.sizeMultiplier/ei.sizeMultiplier)*et.fontMetrics().axisHeight;Y.classes.push("delimcenter"),Y.style.top=hs(eo),Y.height-=eo,Y.depth+=eo},mH=function(Y,et,en,ei,eo,ea){var eu=mz(pS.makeSymbol(Y,"Main-Regular",eo,ei),et,ei,ea);return en&&mU(eu,ei,et),eu},mG=function(Y,et,en,ei){return pS.makeSymbol(Y,"Size"+et+"-Regular",en,ei)},mV=function(Y,et,en,ei,eo,ea){var eu=mG(Y,et,eo,ei),ec=mz(pS.makeSpan(["delimsizing","size"+et],[eu],ei),fL.TEXT,ei,ea);return en&&mU(ec,ei,fL.TEXT),ec},mW=function(Y,et,en){var ei;return ei="Size1-Regular"===et?"delim-size1":"delim-size4",{type:"elem",elem:pS.makeSpan(["delimsizinginner",ei],[pS.makeSpan([],[pS.makeSymbol(Y,et,en)])])}},mq=function(Y,et,en){var ei=fX["Size4-Regular"][Y.charCodeAt(0)]?fX["Size4-Regular"][Y.charCodeAt(0)][4]:fX["Size1-Regular"][Y.charCodeAt(0)][4],eo=new hy("inner",f$(Y,Math.round(1e3*et))),ea=new hv([eo],{width:hs(ei),height:hs(et),style:"width:"+hs(ei),viewBox:"0 0 "+1e3*ei+" "+Math.round(1e3*et),preserveAspectRatio:"xMinYMin"}),eu=pS.makeSvgSpan([],[ea],en);return eu.height=et,eu.style.height=hs(et),eu.style.width=hs(ei),{type:"elem",elem:eu}},mZ=.008,mK={type:"kern",size:-.008},m$=["|","\\lvert","\\rvert","\\vert"],mY=["\\|","\\lVert","\\rVert","\\Vert"],mQ=function(Y,et,en,ei,eo,ea){eu=ed=ef=Y,ec=null;var eu,ec,ed,ef,eh="Size1-Regular";"\\uparrow"===Y?ed=ef="⏐":"\\Uparrow"===Y?ed=ef="‖":"\\downarrow"===Y?eu=ed="⏐":"\\Downarrow"===Y?eu=ed="‖":"\\updownarrow"===Y?(eu="\\uparrow",ed="⏐",ef="\\downarrow"):"\\Updownarrow"===Y?(eu="\\Uparrow",ed="‖",ef="\\Downarrow"):fm.contains(m$,Y)?ed="":fm.contains(mY,Y)?ed="∥":"["===Y||"\\lbrack"===Y?(eu="⎡",ed="⎢",ef="⎣",eh="Size4-Regular"):"]"===Y||"\\rbrack"===Y?(eu="⎤",ed="⎥",ef="⎦",eh="Size4-Regular"):"\\lfloor"===Y||"⌊"===Y?(ed=eu="⎢",ef="⎣",eh="Size4-Regular"):"\\lceil"===Y||"⌈"===Y?(eu="⎡",ed=ef="⎢",eh="Size4-Regular"):"\\rfloor"===Y||"⌋"===Y?(ed=eu="⎥",ef="⎦",eh="Size4-Regular"):"\\rceil"===Y||"⌉"===Y?(eu="⎤",ed=ef="⎥",eh="Size4-Regular"):"("===Y||"\\lparen"===Y?(eu="⎛",ed="⎜",ef="⎝",eh="Size4-Regular"):")"===Y||"\\rparen"===Y?(eu="⎞",ed="⎟",ef="⎠",eh="Size4-Regular"):"\\{"===Y||"\\lbrace"===Y?(eu="⎧",ec="⎨",ef="⎩",ed="⎪",eh="Size4-Regular"):"\\}"===Y||"\\rbrace"===Y?(eu="⎫",ec="⎬",ef="⎭",ed="⎪",eh="Size4-Regular"):"\\lgroup"===Y||"⟮"===Y?(eu="⎧",ef="⎩",ed="⎪",eh="Size4-Regular"):"\\rgroup"===Y||"⟯"===Y?(eu="⎫",ef="⎭",ed="⎪",eh="Size4-Regular"):"\\lmoustache"===Y||"⎰"===Y?(eu="⎧",ef="⎭",ed="⎪",eh="Size4-Regular"):("\\rmoustache"===Y||"⎱"===Y)&&(eu="⎫",ef="⎩",ed="⎪",eh="Size4-Regular");var ep=mB(eu,eh,eo),em=ep.height+ep.depth,eg=mB(ed,eh,eo),ey=eg.height+eg.depth,eb=mB(ef,eh,eo),ek=eb.height+eb.depth,ew=0,e_=1;if(null!==ec){var eE=mB(ec,eh,eo);ew=eE.height+eE.depth,e_=2}var eC=em+ek+ew,eT=Math.max(0,Math.ceil((et-eC)/(e_*ey))),eS=eC+eT*e_*ey,eA=ei.fontMetrics().axisHeight;en&&(eA*=ei.sizeMultiplier);var eM=eS/2-eA,eP=[];if(eP.push(mW(ef,eh,eo)),eP.push(mK),null===ec){var ej=eS-em-ek+2*mZ;eP.push(mq(ed,ej,ei))}else{var eO=(eS-em-ek-ew)/2+2*mZ;eP.push(mq(ed,eO,ei)),eP.push(mK),eP.push(mW(ec,eh,eo)),eP.push(mK),eP.push(mq(ed,eO,ei))}eP.push(mK),eP.push(mW(eu,eh,eo));var eI=ei.havingBaseStyle(fL.TEXT),eN=pS.makeVList({positionType:"bottom",positionData:eM,children:eP},eI);return mz(pS.makeSpan(["delimsizing","mult"],[eN],eI),fL.TEXT,ei,ea)},mX=80,mJ=.08,m0=function(Y,et,en,ei,eo){var ea=fK(Y,ei,en),eu=new hy(Y,ea),ec=new hv([eu],{width:"400em",height:hs(et),viewBox:"0 0 400000 "+en,preserveAspectRatio:"xMinYMin slice"});return pS.makeSvgSpan(["hide-tail"],[ec],eo)},m9=function(Y,et){var en,ei,eo=et.havingBaseSizing(),ea=ga("\\surd",Y*eo.sizeMultiplier,gr,eo),eu=eo.sizeMultiplier,ec=Math.max(0,et.minRuleThickness-et.fontMetrics().sqrtRuleThickness),ed=0,ef=0,eh=0;return"small"===ea.type?(eh=1e3+1e3*ec+mX,Y<1?eu=1:Y<1.4&&(eu=.7),ed=(1+ec+mJ)/eu,ef=(1+ec)/eu,(en=m0("sqrtMain",ed,eh,ec,et)).style.minWidth="0.853em",ei=.833/eu):"large"===ea.type?(eh=(1e3+mX)*m6[ea.size],ef=(m6[ea.size]+ec)/eu,ed=(m6[ea.size]+ec+mJ)/eu,(en=m0("sqrtSize"+ea.size,ed,eh,ec,et)).style.minWidth="1.02em",ei=1/eu):(ed=Y+ec+mJ,ef=Y+ec,(en=m0("sqrtTall",ed,eh=Math.floor(1e3*Y+ec)+mX,ec,et)).style.minWidth="0.742em",ei=1.056),en.height=ef,en.style.height=hs(ed),{span:en,advanceWidth:ei,ruleWidth:(et.fontMetrics().sqrtRuleThickness+ec)*eu}},m5=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],m4=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],m3=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],m6=[0,1.2,1.8,2.4,3],m7=function(Y,et,en,ei,eo){if("<"===Y||"\\lt"===Y||"⟨"===Y?Y="\\langle":(">"===Y||"\\gt"===Y||"⟩"===Y)&&(Y="\\rangle"),fm.contains(m5,Y)||fm.contains(m3,Y))return mV(Y,et,!1,en,ei,eo);if(fm.contains(m4,Y))return mQ(Y,m6[et],!1,en,ei,eo);throw new fl("Illegal delimiter: '"+Y+"'")},m8=[{type:"small",style:fL.SCRIPTSCRIPT},{type:"small",style:fL.SCRIPT},{type:"small",style:fL.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],gn=[{type:"small",style:fL.SCRIPTSCRIPT},{type:"small",style:fL.SCRIPT},{type:"small",style:fL.TEXT},{type:"stack"}],gr=[{type:"small",style:fL.SCRIPTSCRIPT},{type:"small",style:fL.SCRIPT},{type:"small",style:fL.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],gi=function(Y){if("small"===Y.type)return"Main-Regular";if("large"===Y.type)return"Size"+Y.size+"-Regular";if("stack"===Y.type)return"Size4-Regular";throw Error("Add support for delim type '"+Y.type+"' here.")},ga=function(Y,et,en,ei){for(var eo=Math.min(2,3-ei.style.size),ea=eo;ea<en.length&&"stack"!==en[ea].type;ea++){var eu=mB(Y,gi(en[ea]),"math"),ec=eu.height+eu.depth;if("small"===en[ea].type&&(ec*=ei.havingBaseStyle(en[ea].style).sizeMultiplier),ec>et)return en[ea]}return en[en.length-1]},gs=function(Y,et,en,ei,eo,ea){"<"===Y||"\\lt"===Y||"⟨"===Y?Y="\\langle":(">"===Y||"\\gt"===Y||"⟩"===Y)&&(Y="\\rangle"),eu=fm.contains(m3,Y)?m8:fm.contains(m5,Y)?gr:gn;var eu,ec=ga(Y,et,eu,ei);return"small"===ec.type?mH(Y,ec.style,en,ei,eo,ea):"large"===ec.type?mV(Y,ec.size,en,ei,eo,ea):mQ(Y,et,en,ei,eo,ea)},gl=function(Y,et,en,ei,eo,ea){var eu=ei.fontMetrics().axisHeight*ei.sizeMultiplier,ec=901,ed=5/ei.fontMetrics().ptPerEm,ef=Math.max(et-eu,en+eu);return gs(Y,Math.max(ef/500*ec,2*ef-ed),!0,ei,eo,ea)},gu={sqrtImage:m9,sizedDelim:m7,sizeToMaxHeight:m6,customSizedDelim:gs,leftRightDelim:gl},gc={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},gd=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function gf(Y,et){var en=mw(Y);if(en&&fm.contains(gd,en.text))return en;if(en)throw new fl("Invalid delimiter '"+en.text+"' after '"+et.funcName+"'",Y);throw new fl("Invalid delimiter type '"+Y.type+"'",Y)}function gh(Y){if(!Y.body)throw Error("Bug: The leftright ParseNode wasn't fully parsed.")}pR({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(Y,et)=>{var en=gf(et[0],Y);return{type:"delimsizing",mode:Y.parser.mode,size:gc[Y.funcName].size,mclass:gc[Y.funcName].mclass,delim:en.text}},htmlBuilder:(Y,et)=>"."===Y.delim?pS.makeSpan([Y.mclass]):gu.sizedDelim(Y.delim,Y.size,et,Y.mode,[Y.mclass]),mathmlBuilder:Y=>{var et=[];"."!==Y.delim&&et.push(mn(Y.delim,Y.mode));var en=new mt.MathNode("mo",et);"mopen"===Y.mclass||"mclose"===Y.mclass?en.setAttribute("fence","true"):en.setAttribute("fence","false"),en.setAttribute("stretchy","true");var ei=hs(gu.sizeToMaxHeight[Y.size]);return en.setAttribute("minsize",ei),en.setAttribute("maxsize",ei),en}}),pR({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(Y,et)=>{var en=Y.parser.gullet.macros.get("\\current@color");if(en&&"string"!=typeof en)throw new fl("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Y.parser.mode,delim:gf(et[0],Y).text,color:en}}}),pR({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(Y,et)=>{var en=gf(et[0],Y),ei=Y.parser;++ei.leftrightDepth;var eo=ei.parseExpression(!1);--ei.leftrightDepth,ei.expect("\\right",!1);var ea=mx(ei.parseFunction(),"leftright-right");return{type:"leftright",mode:ei.mode,body:eo,left:en.text,right:ea.delim,rightColor:ea.color}},htmlBuilder:(Y,et)=>{gh(Y);for(var en,ei,eo=pW(Y.body,et,!0,["mopen","mclose"]),ea=0,eu=0,ec=!1,ed=0;ed<eo.length;ed++)eo[ed].isMiddle?ec=!0:(ea=Math.max(eo[ed].height,ea),eu=Math.max(eo[ed].depth,eu));if(ea*=et.sizeMultiplier,eu*=et.sizeMultiplier,en="."===Y.left?pY(et,["mopen"]):gu.leftRightDelim(Y.left,ea,eu,et,Y.mode,["mopen"]),eo.unshift(en),ec)for(var ef=1;ef<eo.length;ef++){var eh=eo[ef].isMiddle;eh&&(eo[ef]=gu.leftRightDelim(eh.delim,ea,eu,eh.options,Y.mode,[]))}if("."===Y.right)ei=pY(et,["mclose"]);else{var ep=Y.rightColor?et.withColor(Y.rightColor):et;ei=gu.leftRightDelim(Y.right,ea,eu,ep,Y.mode,["mclose"])}return eo.push(ei),pS.makeSpan(["minner"],eo,et)},mathmlBuilder:(Y,et)=>{gh(Y);var en=mo(Y.body,et);if("."!==Y.left){var ei=new mt.MathNode("mo",[mn(Y.left,Y.mode)]);ei.setAttribute("fence","true"),en.unshift(ei)}if("."!==Y.right){var eo=new mt.MathNode("mo",[mn(Y.right,Y.mode)]);eo.setAttribute("fence","true"),Y.rightColor&&eo.setAttribute("mathcolor",Y.rightColor),en.push(eo)}return mr(en)}}),pR({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(Y,et)=>{var en=gf(et[0],Y);if(!Y.parser.leftrightDepth)throw new fl("\\middle without preceding \\left",en);return{type:"middle",mode:Y.parser.mode,delim:en.text}},htmlBuilder:(Y,et)=>{var en;if("."===Y.delim)en=pY(et,[]);else{en=gu.sizedDelim(Y.delim,1,et,Y.mode,[]);var ei={delim:Y.delim,options:et};en.isMiddle=ei}return en},mathmlBuilder:(Y,et)=>{var en="\\vert"===Y.delim||"|"===Y.delim?mn("|","text"):mn(Y.delim,Y.mode),ei=new mt.MathNode("mo",[en]);return ei.setAttribute("fence","true"),ei.setAttribute("lspace","0.05em"),ei.setAttribute("rspace","0.05em"),ei}});var gp=(Y,et)=>{var en,ei,eo=pS.wrapFragment(pQ(Y.body,et),et),ea=Y.label.substr(1),eu=et.sizeMultiplier,ec=0,ed=fm.isCharacterBox(Y.body);if("sout"===ea)(en=pS.makeSpan(["stretchy","sout"])).height=et.fontMetrics().defaultRuleThickness/eu,ec=-.5*et.fontMetrics().xHeight;else if("phase"===ea){var ef=ha({number:.6,unit:"pt"},et),eh=ha({number:.35,unit:"ex"},et);eu/=et.havingBaseSizing().sizeMultiplier;var ep=eo.height+eo.depth+ef+eh;eo.style.paddingLeft=hs(ep/2+ef);var em=Math.floor(1e3*ep*eu),eg=fq(em),ey=new hv([new hy("phase",eg)],{width:"400em",height:hs(em/1e3),viewBox:"0 0 400000 "+em,preserveAspectRatio:"xMinYMin slice"});(en=pS.makeSvgSpan(["hide-tail"],[ey],et)).style.height=hs(ep),ec=eo.depth+ef+eh}else{/cancel/.test(ea)?ed||eo.classes.push("cancel-pad"):"angl"===ea?eo.classes.push("anglpad"):eo.classes.push("boxpad");var eb=0,ek=0,ew=0;/box/.test(ea)?(ew=Math.max(et.fontMetrics().fboxrule,et.minRuleThickness),ek=eb=et.fontMetrics().fboxsep+("colorbox"===ea?0:ew)):"angl"===ea?(eb=4*(ew=Math.max(et.fontMetrics().defaultRuleThickness,et.minRuleThickness)),ek=Math.max(0,.25-eo.depth)):ek=eb=ed?.2:0,en=mb.encloseSpan(eo,ea,eb,ek,et),/fbox|boxed|fcolorbox/.test(ea)?(en.style.borderStyle="solid",en.style.borderWidth=hs(ew)):"angl"===ea&&.049!==ew&&(en.style.borderTopWidth=hs(ew),en.style.borderRightWidth=hs(ew)),ec=eo.depth+ek,Y.backgroundColor&&(en.style.backgroundColor=Y.backgroundColor,Y.borderColor&&(en.style.borderColor=Y.borderColor))}if(Y.backgroundColor)ei=pS.makeVList({positionType:"individualShift",children:[{type:"elem",elem:en,shift:ec},{type:"elem",elem:eo,shift:0}]},et);else{var e_=/cancel|phase/.test(ea)?["svg-align"]:[];ei=pS.makeVList({positionType:"individualShift",children:[{type:"elem",elem:eo,shift:0},{type:"elem",elem:en,shift:ec,wrapperClasses:e_}]},et)}return(/cancel/.test(ea)&&(ei.height=eo.height,ei.depth=eo.depth),/cancel/.test(ea)&&!ed)?pS.makeSpan(["mord","cancel-lap"],[ei],et):pS.makeSpan(["mord"],[ei],et)},gm=(Y,et)=>{var en=0,ei=new mt.MathNode(Y.label.indexOf("colorbox")>-1?"mpadded":"menclose",[ml(Y.body,et)]);switch(Y.label){case"\\cancel":ei.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":ei.setAttribute("notation","downdiagonalstrike");break;case"\\phase":ei.setAttribute("notation","phasorangle");break;case"\\sout":ei.setAttribute("notation","horizontalstrike");break;case"\\fbox":ei.setAttribute("notation","box");break;case"\\angl":ei.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(en=et.fontMetrics().fboxsep*et.fontMetrics().ptPerEm,ei.setAttribute("width","+"+2*en+"pt"),ei.setAttribute("height","+"+2*en+"pt"),ei.setAttribute("lspace",en+"pt"),ei.setAttribute("voffset",en+"pt"),"\\fcolorbox"===Y.label){var eo=Math.max(et.fontMetrics().fboxrule,et.minRuleThickness);ei.setAttribute("style","border: "+eo+"em solid "+String(Y.borderColor))}break;case"\\xcancel":ei.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return Y.backgroundColor&&ei.setAttribute("mathbackground",Y.backgroundColor),ei};pR({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(Y,et,en){var{parser:ei,funcName:eo}=Y,ea=mx(et[0],"color-token").color,eu=et[1];return{type:"enclose",mode:ei.mode,label:eo,backgroundColor:ea,body:eu}},htmlBuilder:gp,mathmlBuilder:gm}),pR({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(Y,et,en){var{parser:ei,funcName:eo}=Y,ea=mx(et[0],"color-token").color,eu=mx(et[1],"color-token").color,ec=et[2];return{type:"enclose",mode:ei.mode,label:eo,backgroundColor:eu,borderColor:ea,body:ec}},htmlBuilder:gp,mathmlBuilder:gm}),pR({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(Y,et){var{parser:en}=Y;return{type:"enclose",mode:en.mode,label:"\\fbox",body:et[0]}}}),pR({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(Y,et){var{parser:en,funcName:ei}=Y,eo=et[0];return{type:"enclose",mode:en.mode,label:ei,body:eo}},htmlBuilder:gp,mathmlBuilder:gm}),pR({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(Y,et){var{parser:en}=Y;return{type:"enclose",mode:en.mode,label:"\\angl",body:et[0]}}});var gv={};function gy(Y){for(var{type:et,names:en,props:ei,handler:eo,htmlBuilder:ea,mathmlBuilder:eu}=Y,ec={type:et,numArgs:ei.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:eo},ed=0;ed<en.length;++ed)gv[en[ed]]=ec;ea&&(pN[et]=ea),eu&&(pL[et]=eu)}var gb={};function gx(Y,et){gb[Y]=et}function gk(Y){var et=[];Y.consumeSpaces();for(var en=Y.fetch().text;"\\hline"===en||"\\hdashline"===en;)Y.consume(),et.push("\\hdashline"===en),Y.consumeSpaces(),en=Y.fetch().text;return et}var gw=Y=>{if(!Y.parser.settings.displayMode)throw new fl("{"+Y.envName+"} can be used only in display mode.")};function g_(Y){if(-1===Y.indexOf("ed"))return -1===Y.indexOf("*")}function gE(Y,et,en){var{hskipBeforeAndAfter:ei,addJot:eo,cols:ea,arraystretch:eu,colSeparationType:ec,autoTag:ed,singleRow:ef,emptySingleRow:eh,maxNumCols:ep,leqno:em}=et;if(Y.gullet.beginGroup(),ef||Y.gullet.macros.set("\\cr","\\\\\\relax"),!eu){var eg=Y.gullet.expandMacroAsText("\\arraystretch");if(null==eg)eu=1;else if(!(eu=parseFloat(eg))||eu<0)throw new fl("Invalid \\arraystretch: "+eg)}Y.gullet.beginGroup();var ey=[],eb=[ey],ek=[],ew=[],e_=null!=ed?[]:void 0;function eE(){ed&&Y.gullet.macros.set("\\@eqnsw","1",!0)}function eC(){e_&&(Y.gullet.macros.get("\\df@tag")?(e_.push(Y.subparse([new fa("\\df@tag")])),Y.gullet.macros.set("\\df@tag",void 0,!0)):e_.push(!!ed&&"1"===Y.gullet.macros.get("\\@eqnsw")))}for(eE(),ew.push(gk(Y));;){var eT=Y.parseExpression(!1,ef?"\\end":"\\\\");Y.gullet.endGroup(),Y.gullet.beginGroup(),eT={type:"ordgroup",mode:Y.mode,body:eT},en&&(eT={type:"styling",mode:Y.mode,style:en,body:[eT]}),ey.push(eT);var eS=Y.fetch().text;if("&"===eS){if(ep&&ey.length===ep){if(ef||ec)throw new fl("Too many tab characters: &",Y.nextToken);Y.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}Y.consume()}else if("\\end"===eS){eC(),1===ey.length&&"styling"===eT.type&&0===eT.body[0].body.length&&(eb.length>1||!eh)&&eb.pop(),ew.length<eb.length+1&&ew.push([]);break}else if("\\\\"===eS){Y.consume();var eA=void 0;" "!==Y.gullet.future().text&&(eA=Y.parseSizeGroup(!0)),ek.push(eA?eA.value:null),eC(),ew.push(gk(Y)),ey=[],eb.push(ey),eE()}else throw new fl("Expected & or \\\\ or \\cr or \\end",Y.nextToken)}return Y.gullet.endGroup(),Y.gullet.endGroup(),{type:"array",mode:Y.mode,addJot:eo,arraystretch:eu,body:eb,cols:ea,rowGaps:ek,hskipBeforeAndAfter:ei,hLinesBeforeRow:ew,colSeparationType:ec,tags:e_,leqno:em}}function gC(Y){return"d"===Y.substr(0,1)?"display":"text"}var gT=function(Y,et){var en,ei,eo,ea,eu=Y.body.length,ec=Y.hLinesBeforeRow,ed=0,ef=Array(eu),eh=[],ep=Math.max(et.fontMetrics().arrayRuleWidth,et.minRuleThickness),em=1/et.fontMetrics().ptPerEm,eg=5*em;Y.colSeparationType&&"small"===Y.colSeparationType&&(eg=.2778*(et.havingStyle(fL.SCRIPT).sizeMultiplier/et.sizeMultiplier));var ey="CD"===Y.colSeparationType?ha({number:3,unit:"ex"},et):12*em,eb=3*em,ek=Y.arraystretch*ey,ew=.7*ek,e_=.3*ek,eE=0;function eC(Y){for(var et=0;et<Y.length;++et)et>0&&(eE+=.25),eh.push({pos:eE,isDashed:Y[et]})}for(eC(ec[0]),en=0;en<Y.body.length;++en){var eT=Y.body[en],eS=ew,eA=e_;ed<eT.length&&(ed=eT.length);var eM=Array(eT.length);for(ei=0;ei<eT.length;++ei){var eP=pQ(eT[ei],et);eA<eP.depth&&(eA=eP.depth),eS<eP.height&&(eS=eP.height),eM[ei]=eP}var ej=Y.rowGaps[en],eO=0;ej&&(eO=ha(ej,et))>0&&(eA<(eO+=e_)&&(eA=eO),eO=0),Y.addJot&&(eA+=eb),eM.height=eS,eM.depth=eA,eE+=eS,eM.pos=eE,eE+=eA+eO,ef[en]=eM,eC(ec[en+1])}var eI=eE/2+et.fontMetrics().axisHeight,eN=Y.cols||[],eL=[],eR=[];if(Y.tags&&Y.tags.some(Y=>Y))for(en=0;en<eu;++en){var eD=ef[en],eF=eD.pos-eI,eB=Y.tags[en],ez=void 0;(ez=!0===eB?pS.makeSpan(["eqn-num"],[],et):!1===eB?pS.makeSpan([],[],et):pS.makeSpan([],pW(eB,et,!0),et)).depth=eD.depth,ez.height=eD.height,eR.push({type:"elem",elem:ez,shift:eF})}for(ei=0,ea=0;ei<ed||ea<eN.length;++ei,++ea){for(var eU=eN[ea]||{},eH=!0;"separator"===eU.type;){if(eH||((eo=pS.makeSpan(["arraycolsep"],[])).style.width=hs(et.fontMetrics().doubleRuleSep),eL.push(eo)),"|"===eU.separator||":"===eU.separator){var eG="|"===eU.separator?"solid":"dashed",eV=pS.makeSpan(["vertical-separator"],[],et);eV.style.height=hs(eE),eV.style.borderRightWidth=hs(ep),eV.style.borderRightStyle=eG,eV.style.margin="0 "+hs(-ep/2);var eW=eE-eI;eW&&(eV.style.verticalAlign=hs(-eW)),eL.push(eV)}else throw new fl("Invalid separator type: "+eU.separator);eU=eN[++ea]||{},eH=!1}if(!(ei>=ed)){var eZ=void 0;(ei>0||Y.hskipBeforeAndAfter)&&0!==(eZ=fm.deflt(eU.pregap,eg))&&((eo=pS.makeSpan(["arraycolsep"],[])).style.width=hs(eZ),eL.push(eo));var eK=[];for(en=0;en<eu;++en){var e$=ef[en],eY=e$[ei];if(eY){var eQ=e$.pos-eI;eY.depth=e$.depth,eY.height=e$.height,eK.push({type:"elem",elem:eY,shift:eQ})}}eK=pS.makeVList({positionType:"individualShift",children:eK},et),eK=pS.makeSpan(["col-align-"+(eU.align||"c")],[eK]),eL.push(eK),(ei<ed-1||Y.hskipBeforeAndAfter)&&0!==(eZ=fm.deflt(eU.postgap,eg))&&((eo=pS.makeSpan(["arraycolsep"],[])).style.width=hs(eZ),eL.push(eo))}}if(ef=pS.makeSpan(["mtable"],eL),eh.length>0){for(var eX=pS.makeLineSpan("hline",et,ep),eJ=pS.makeLineSpan("hdashline",et,ep),e0=[{type:"elem",elem:ef,shift:0}];eh.length>0;){var e9=eh.pop(),e5=e9.pos-eI;e9.isDashed?e0.push({type:"elem",elem:eJ,shift:e5}):e0.push({type:"elem",elem:eX,shift:e5})}ef=pS.makeVList({positionType:"individualShift",children:e0},et)}if(0===eR.length)return pS.makeSpan(["mord"],[ef],et);var e4=pS.makeVList({positionType:"individualShift",children:eR},et);return e4=pS.makeSpan(["tag"],[e4],et),pS.makeFragment([ef,e4])},gS={c:"center ",l:"left ",r:"right "},gA=function(Y,et){for(var en=[],ei=new mt.MathNode("mtd",[],["mtr-glue"]),eo=new mt.MathNode("mtd",[],["mml-eqn-num"]),ea=0;ea<Y.body.length;ea++){for(var eu=Y.body[ea],ec=[],ed=0;ed<eu.length;ed++)ec.push(new mt.MathNode("mtd",[ml(eu[ed],et)]));Y.tags&&Y.tags[ea]&&(ec.unshift(ei),ec.push(ei),Y.leqno?ec.unshift(eo):ec.push(eo)),en.push(new mt.MathNode("mtr",ec))}var ef=new mt.MathNode("mtable",en),eh=.5===Y.arraystretch?.1:.16+Y.arraystretch-1+(Y.addJot?.09:0);ef.setAttribute("rowspacing",hs(eh));var ep="",em="";if(Y.cols&&Y.cols.length>0){var eg=Y.cols,ey="",eb=!1,ek=0,ew=eg.length;"separator"===eg[0].type&&(ep+="top ",ek=1),"separator"===eg[eg.length-1].type&&(ep+="bottom ",ew-=1);for(var e_=ek;e_<ew;e_++)"align"===eg[e_].type?(em+=gS[eg[e_].align],eb&&(ey+="none "),eb=!0):"separator"===eg[e_].type&&eb&&(ey+="|"===eg[e_].separator?"solid ":"dashed ",eb=!1);ef.setAttribute("columnalign",em.trim()),/[sd]/.test(ey)&&ef.setAttribute("columnlines",ey.trim())}if("align"===Y.colSeparationType){for(var eE=Y.cols||[],eC="",eT=1;eT<eE.length;eT++)eC+=eT%2?"0em ":"1em ";ef.setAttribute("columnspacing",eC.trim())}else"alignat"===Y.colSeparationType||"gather"===Y.colSeparationType?ef.setAttribute("columnspacing","0em"):"small"===Y.colSeparationType?ef.setAttribute("columnspacing","0.2778em"):"CD"===Y.colSeparationType?ef.setAttribute("columnspacing","0.5em"):ef.setAttribute("columnspacing","1em");var eS="",eA=Y.hLinesBeforeRow;ep+=(eA[0].length>0?"left ":"")+(eA[eA.length-1].length>0?"right ":"");for(var eM=1;eM<eA.length-1;eM++)eS+=0===eA[eM].length?"none ":eA[eM][0]?"dashed ":"solid ";return/[sd]/.test(eS)&&ef.setAttribute("rowlines",eS.trim()),""!==ep&&(ef=new mt.MathNode("menclose",[ef])).setAttribute("notation",ep.trim()),Y.arraystretch&&Y.arraystretch<1&&(ef=new mt.MathNode("mstyle",[ef])).setAttribute("scriptlevel","1"),ef},gM=function(Y,et){-1===Y.envName.indexOf("ed")&&gw(Y);var en,ei=[],eo=Y.envName.indexOf("at")>-1?"alignat":"align",ea="split"===Y.envName,eu=gE(Y.parser,{cols:ei,addJot:!0,autoTag:ea?void 0:g_(Y.envName),emptySingleRow:!0,colSeparationType:eo,maxNumCols:ea?2:void 0,leqno:Y.parser.settings.leqno},"display"),ec=0,ed={type:"ordgroup",mode:Y.mode,body:[]};if(et[0]&&"ordgroup"===et[0].type){for(var ef="",eh=0;eh<et[0].body.length;eh++)ef+=mx(et[0].body[eh],"textord").text;ec=2*(en=Number(ef))}var ep=!ec;eu.body.forEach(function(Y){for(var et=1;et<Y.length;et+=2){var ei=mx(Y[et],"styling");mx(ei.body[0],"ordgroup").body.unshift(ed)}if(ep)ec<Y.length&&(ec=Y.length);else{var eo=Y.length/2;if(en<eo)throw new fl("Too many math in a row: expected "+en+", but got "+eo,Y[0])}});for(var em=0;em<ec;++em){var eg="r",ey=0;em%2==1?eg="l":em>0&&ep&&(ey=1),ei[em]={type:"align",align:eg,pregap:ey,postgap:0}}return eu.colSeparationType=ep?"align":"alignat",eu};gy({type:"array",names:["array","darray"],props:{numArgs:1},handler(Y,et){var en=(mw(et[0])?[et[0]]:mx(et[0],"ordgroup").body).map(function(Y){var et=mk(Y).text;if(-1!=="lcr".indexOf(et))return{type:"align",align:et};if("|"===et)return{type:"separator",separator:"|"};if(":"===et)return{type:"separator",separator:":"};throw new fl("Unknown column alignment: "+et,Y)}),ei={cols:en,hskipBeforeAndAfter:!0,maxNumCols:en.length};return gE(Y.parser,ei,gC(Y.envName))},htmlBuilder:gT,mathmlBuilder:gA}),gy({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(Y){var et={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Y.envName.replace("*","")],en="c",ei={hskipBeforeAndAfter:!1,cols:[{type:"align",align:en}]};if("*"===Y.envName.charAt(Y.envName.length-1)){var eo=Y.parser;if(eo.consumeSpaces(),"["===eo.fetch().text){if(eo.consume(),eo.consumeSpaces(),en=eo.fetch().text,-1==="lcr".indexOf(en))throw new fl("Expected l or c or r",eo.nextToken);eo.consume(),eo.consumeSpaces(),eo.expect("]"),eo.consume(),ei.cols=[{type:"align",align:en}]}}var ea=gE(Y.parser,ei,gC(Y.envName)),eu=Math.max(0,...ea.body.map(Y=>Y.length));return ea.cols=Array(eu).fill({type:"align",align:en}),et?{type:"leftright",mode:Y.mode,body:[ea],left:et[0],right:et[1],rightColor:void 0}:ea},htmlBuilder:gT,mathmlBuilder:gA}),gy({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(Y){var et={arraystretch:.5},en=gE(Y.parser,et,"script");return en.colSeparationType="small",en},htmlBuilder:gT,mathmlBuilder:gA}),gy({type:"array",names:["subarray"],props:{numArgs:1},handler(Y,et){var en=(mw(et[0])?[et[0]]:mx(et[0],"ordgroup").body).map(function(Y){var et=mk(Y).text;if(-1!=="lc".indexOf(et))return{type:"align",align:et};throw new fl("Unknown column alignment: "+et,Y)});if(en.length>1)throw new fl("{subarray} can contain only one column");var ei={cols:en,hskipBeforeAndAfter:!1,arraystretch:.5};if((ei=gE(Y.parser,ei,"script")).body.length>0&&ei.body[0].length>1)throw new fl("{subarray} can contain only one column");return ei},htmlBuilder:gT,mathmlBuilder:gA}),gy({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(Y){var et={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},en=gE(Y.parser,et,gC(Y.envName));return{type:"leftright",mode:Y.mode,body:[en],left:Y.envName.indexOf("r")>-1?".":"\\{",right:Y.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:gT,mathmlBuilder:gA}),gy({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:gM,htmlBuilder:gT,mathmlBuilder:gA}),gy({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(Y){fm.contains(["gather","gather*"],Y.envName)&&gw(Y);var et={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:g_(Y.envName),emptySingleRow:!0,leqno:Y.parser.settings.leqno};return gE(Y.parser,et,"display")},htmlBuilder:gT,mathmlBuilder:gA}),gy({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:gM,htmlBuilder:gT,mathmlBuilder:gA}),gy({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(Y){gw(Y);var et={autoTag:g_(Y.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:Y.parser.settings.leqno};return gE(Y.parser,et,"display")},htmlBuilder:gT,mathmlBuilder:gA}),gy({type:"array",names:["CD"],props:{numArgs:0},handler:Y=>(gw(Y),mO(Y.parser)),htmlBuilder:gT,mathmlBuilder:gA}),gx("\\nonumber","\\gdef\\@eqnsw{0}"),gx("\\notag","\\nonumber"),pR({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(Y,et){throw new fl(Y.funcName+" valid only within array environment")}});var gP=gv;pR({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(Y,et){var{parser:en,funcName:ei}=Y,eo=et[0];if("ordgroup"!==eo.type)throw new fl("Invalid environment name",eo);for(var ea="",eu=0;eu<eo.body.length;++eu)ea+=mx(eo.body[eu],"textord").text;if("\\begin"===ei){if(!gP.hasOwnProperty(ea))throw new fl("No such environment: "+ea,eo);var ec=gP[ea],{args:ed,optArgs:ef}=en.parseArguments("\\begin{"+ea+"}",ec),eh={mode:en.mode,envName:ea,parser:en},ep=ec.handler(eh,ed,ef);en.expect("\\end",!1);var em=en.nextToken,eg=mx(en.parseFunction(),"environment");if(eg.name!==ea)throw new fl("Mismatch: \\begin{"+ea+"} matched by \\end{"+eg.name+"}",em);return ep}return{type:"environment",mode:en.mode,name:ea,nameGroup:eo}}});var gj=pS.makeSpan;function gO(Y,et){var en=pW(Y.body,et,!0);return gj([Y.mclass],en,et)}function gI(Y,et){var en,ei=mo(Y.body,et);return"minner"===Y.mclass?en=new mt.MathNode("mpadded",ei):"mord"===Y.mclass?Y.isCharacterBox?(en=ei[0]).type="mi":en=new mt.MathNode("mi",ei):(Y.isCharacterBox?(en=ei[0]).type="mo":en=new mt.MathNode("mo",ei),"mbin"===Y.mclass?(en.attributes.lspace="0.22em",en.attributes.rspace="0.22em"):"mpunct"===Y.mclass?(en.attributes.lspace="0em",en.attributes.rspace="0.17em"):"mopen"===Y.mclass||"mclose"===Y.mclass?(en.attributes.lspace="0em",en.attributes.rspace="0em"):"minner"===Y.mclass&&(en.attributes.lspace="0.0556em",en.attributes.width="+0.1111em")),en}pR({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(Y,et){var{parser:en,funcName:ei}=Y,eo=et[0];return{type:"mclass",mode:en.mode,mclass:"m"+ei.substr(5),body:pB(eo),isCharacterBox:fm.isCharacterBox(eo)}},htmlBuilder:gO,mathmlBuilder:gI});var gN=Y=>{var et="ordgroup"===Y.type&&Y.body.length?Y.body[0]:Y;return"atom"===et.type&&("bin"===et.family||"rel"===et.family)?"m"+et.family:"mord"};pR({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(Y,et){var{parser:en}=Y;return{type:"mclass",mode:en.mode,mclass:gN(et[0]),body:pB(et[1]),isCharacterBox:fm.isCharacterBox(et[1])}}}),pR({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(Y,et){var en,{parser:ei,funcName:eo}=Y,ea=et[1],eu=et[0];en="\\stackrel"!==eo?gN(ea):"mrel";var ec={type:"op",mode:ea.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==eo,body:pB(ea)},ed={type:"supsub",mode:eu.mode,base:ec,sup:"\\underset"===eo?null:eu,sub:"\\underset"===eo?eu:null};return{type:"mclass",mode:ei.mode,mclass:en,body:[ed],isCharacterBox:fm.isCharacterBox(ed)}},htmlBuilder:gO,mathmlBuilder:gI});var gL=(Y,et)=>{var en=Y.font,ei=et.withFont(en);return pQ(Y.body,ei)},gR=(Y,et)=>{var en=Y.font,ei=et.withFont(en);return ml(Y.body,ei)},gD={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};pR({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(Y,et)=>{var{parser:en,funcName:ei}=Y,eo=pF(et[0]),ea=ei;return ea in gD&&(ea=gD[ea]),{type:"font",mode:en.mode,font:ea.slice(1),body:eo}},htmlBuilder:gL,mathmlBuilder:gR}),pR({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(Y,et)=>{var{parser:en}=Y,ei=et[0],eo=fm.isCharacterBox(ei);return{type:"mclass",mode:en.mode,mclass:gN(ei),body:[{type:"font",mode:en.mode,font:"boldsymbol",body:ei}],isCharacterBox:eo}}}),pR({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(Y,et)=>{var{parser:en,funcName:ei,breakOnTokenText:eo}=Y,{mode:ea}=en,eu=en.parseExpression(!0,eo);return{type:"font",mode:ea,font:"math"+ei.slice(1),body:{type:"ordgroup",mode:en.mode,body:eu}}},htmlBuilder:gL,mathmlBuilder:gR});var gF=(Y,et)=>{var en=et;return"display"===Y?en=en.id>=fL.SCRIPT.id?en.text():fL.DISPLAY:"text"===Y&&en.size===fL.DISPLAY.size?en=fL.TEXT:"script"===Y?en=fL.SCRIPT:"scriptscript"===Y&&(en=fL.SCRIPTSCRIPT),en},gB=(Y,et)=>{var en,ei,eo,ea,eu,ec,ed,ef,eh,ep,em,eg=gF(Y.size,et.style),ey=eg.fracNum(),eb=eg.fracDen();en=et.havingStyle(ey);var ek=pQ(Y.numer,en,et);if(Y.continued){var ew=8.5/et.fontMetrics().ptPerEm,e_=3.5/et.fontMetrics().ptPerEm;ek.height=ek.height<ew?ew:ek.height,ek.depth=ek.depth<e_?e_:ek.depth}en=et.havingStyle(eb);var eE=pQ(Y.denom,en,et);if(Y.hasBarLine?(Y.barSize?(eo=ha(Y.barSize,et),ei=pS.makeLineSpan("frac-line",et,eo)):ei=pS.makeLineSpan("frac-line",et),eo=ei.height,ea=ei.height):(ei=null,eo=0,ea=et.fontMetrics().defaultRuleThickness),eg.size===fL.DISPLAY.size||"display"===Y.size?(eu=et.fontMetrics().num1,ec=eo>0?3*ea:7*ea,ed=et.fontMetrics().denom1):(eo>0?(eu=et.fontMetrics().num2,ec=ea):(eu=et.fontMetrics().num3,ec=3*ea),ed=et.fontMetrics().denom2),ei){var eC=et.fontMetrics().axisHeight;eu-ek.depth-(eC+.5*eo)<ec&&(eu+=ec-(eu-ek.depth-(eC+.5*eo))),eC-.5*eo-(eE.height-ed)<ec&&(ed+=ec-(eC-.5*eo-(eE.height-ed)));var eT=-(eC-.5*eo);ef=pS.makeVList({positionType:"individualShift",children:[{type:"elem",elem:eE,shift:ed},{type:"elem",elem:ei,shift:eT},{type:"elem",elem:ek,shift:-eu}]},et)}else{var eS=eu-ek.depth-(eE.height-ed);eS<ec&&(eu+=.5*(ec-eS),ed+=.5*(ec-eS)),ef=pS.makeVList({positionType:"individualShift",children:[{type:"elem",elem:eE,shift:ed},{type:"elem",elem:ek,shift:-eu}]},et)}return en=et.havingStyle(eg),ef.height*=en.sizeMultiplier/et.sizeMultiplier,ef.depth*=en.sizeMultiplier/et.sizeMultiplier,eh=eg.size===fL.DISPLAY.size?et.fontMetrics().delim1:eg.size===fL.SCRIPTSCRIPT.size?et.havingStyle(fL.SCRIPT).fontMetrics().delim2:et.fontMetrics().delim2,ep=null==Y.leftDelim?pY(et,["mopen"]):gu.customSizedDelim(Y.leftDelim,eh,!0,et.havingStyle(eg),Y.mode,["mopen"]),em=Y.continued?pS.makeSpan([]):null==Y.rightDelim?pY(et,["mclose"]):gu.customSizedDelim(Y.rightDelim,eh,!0,et.havingStyle(eg),Y.mode,["mclose"]),pS.makeSpan(["mord"].concat(en.sizingClasses(et)),[ep,pS.makeSpan(["mfrac"],[ef]),em],et)},gz=(Y,et)=>{var en=new mt.MathNode("mfrac",[ml(Y.numer,et),ml(Y.denom,et)]);if(Y.hasBarLine){if(Y.barSize){var ei=ha(Y.barSize,et);en.setAttribute("linethickness",hs(ei))}}else en.setAttribute("linethickness","0px");var eo=gF(Y.size,et.style);if(eo.size!==et.style.size){en=new mt.MathNode("mstyle",[en]);var ea=eo.size===fL.DISPLAY.size?"true":"false";en.setAttribute("displaystyle",ea),en.setAttribute("scriptlevel","0")}if(null!=Y.leftDelim||null!=Y.rightDelim){var eu=[];if(null!=Y.leftDelim){var ec=new mt.MathNode("mo",[new mt.TextNode(Y.leftDelim.replace("\\",""))]);ec.setAttribute("fence","true"),eu.push(ec)}if(eu.push(en),null!=Y.rightDelim){var ed=new mt.MathNode("mo",[new mt.TextNode(Y.rightDelim.replace("\\",""))]);ed.setAttribute("fence","true"),eu.push(ed)}return mr(eu)}return en};pR({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(Y,et)=>{var en,{parser:ei,funcName:eo}=Y,ea=et[0],eu=et[1],ec=null,ed=null,ef="auto";switch(eo){case"\\dfrac":case"\\frac":case"\\tfrac":en=!0;break;case"\\\\atopfrac":en=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":en=!1,ec="(",ed=")";break;case"\\\\bracefrac":en=!1,ec="\\{",ed="\\}";break;case"\\\\brackfrac":en=!1,ec="[",ed="]";break;default:throw Error("Unrecognized genfrac command")}switch(eo){case"\\dfrac":case"\\dbinom":ef="display";break;case"\\tfrac":case"\\tbinom":ef="text"}return{type:"genfrac",mode:ei.mode,continued:!1,numer:ea,denom:eu,hasBarLine:en,leftDelim:ec,rightDelim:ed,size:ef,barSize:null}},htmlBuilder:gB,mathmlBuilder:gz}),pR({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(Y,et)=>{var{parser:en,funcName:ei}=Y,eo=et[0],ea=et[1];return{type:"genfrac",mode:en.mode,continued:!0,numer:eo,denom:ea,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),pR({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(Y){var et,{parser:en,funcName:ei,token:eo}=Y;switch(ei){case"\\over":et="\\frac";break;case"\\choose":et="\\binom";break;case"\\atop":et="\\\\atopfrac";break;case"\\brace":et="\\\\bracefrac";break;case"\\brack":et="\\\\brackfrac";break;default:throw Error("Unrecognized infix genfrac command")}return{type:"infix",mode:en.mode,replaceWith:et,token:eo}}});var gU=["display","text","script","scriptscript"],gH=function(Y){var et=null;return Y.length>0&&(et="."===(et=Y)?null:et),et};pR({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(Y,et){var en,{parser:ei}=Y,eo=et[4],ea=et[5],eu=pF(et[0]),ec="atom"===eu.type&&"open"===eu.family?gH(eu.text):null,ed=pF(et[1]),ef="atom"===ed.type&&"close"===ed.family?gH(ed.text):null,eh=mx(et[2],"size"),ep=null;en=!!eh.isBlank||(ep=eh.value).number>0;var em="auto",eg=et[3];return"ordgroup"===eg.type?eg.body.length>0&&(em=gU[Number(mx(eg.body[0],"textord").text)]):em=gU[Number((eg=mx(eg,"textord")).text)],{type:"genfrac",mode:ei.mode,numer:eo,denom:ea,continued:!1,hasBarLine:en,barSize:ep,leftDelim:ec,rightDelim:ef,size:em}},htmlBuilder:gB,mathmlBuilder:gz}),pR({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(Y,et){var{parser:en,funcName:ei,token:eo}=Y;return{type:"infix",mode:en.mode,replaceWith:"\\\\abovefrac",size:mx(et[0],"size").value,token:eo}}}),pR({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(Y,et)=>{var{parser:en,funcName:ei}=Y,eo=et[0],ea=fp(mx(et[1],"infix").size),eu=et[2],ec=ea.number>0;return{type:"genfrac",mode:en.mode,numer:eo,denom:eu,continued:!1,hasBarLine:ec,barSize:ea,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:gB,mathmlBuilder:gz});var gG=(Y,et)=>{var en,ei,eo,ea=et.style;"supsub"===Y.type?(en=Y.sup?pQ(Y.sup,et.havingStyle(ea.sup()),et):pQ(Y.sub,et.havingStyle(ea.sub()),et),ei=mx(Y.base,"horizBrace")):ei=mx(Y,"horizBrace");var eu=pQ(ei.base,et.havingBaseStyle(fL.DISPLAY)),ec=mb.svgSpan(ei,et);if(ei.isOver?(eo=pS.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:eu},{type:"kern",size:.1},{type:"elem",elem:ec}]},et)).children[0].children[0].children[1].classes.push("svg-align"):(eo=pS.makeVList({positionType:"bottom",positionData:eu.depth+.1+ec.height,children:[{type:"elem",elem:ec},{type:"kern",size:.1},{type:"elem",elem:eu}]},et)).children[0].children[0].children[0].classes.push("svg-align"),en){var ed=pS.makeSpan(["mord",ei.isOver?"mover":"munder"],[eo],et);eo=ei.isOver?pS.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ed},{type:"kern",size:.2},{type:"elem",elem:en}]},et):pS.makeVList({positionType:"bottom",positionData:ed.depth+.2+en.height+en.depth,children:[{type:"elem",elem:en},{type:"kern",size:.2},{type:"elem",elem:ed}]},et)}return pS.makeSpan(["mord",ei.isOver?"mover":"munder"],[eo],et)};pR({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(Y,et){var{parser:en,funcName:ei}=Y;return{type:"horizBrace",mode:en.mode,label:ei,isOver:/^\\over/.test(ei),base:et[0]}},htmlBuilder:gG,mathmlBuilder:(Y,et)=>{var en=mb.mathMLnode(Y.label);return new mt.MathNode(Y.isOver?"mover":"munder",[ml(Y.base,et),en])}}),pR({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(Y,et)=>{var{parser:en}=Y,ei=et[1],eo=mx(et[0],"url").url;return en.settings.isTrusted({command:"\\href",url:eo})?{type:"href",mode:en.mode,href:eo,body:pB(ei)}:en.formatUnsupportedCmd("\\href")},htmlBuilder:(Y,et)=>{var en=pW(Y.body,et,!1);return pS.makeAnchor(Y.href,[],en,et)},mathmlBuilder:(Y,et)=>{var en=ma(Y.body,et);return en instanceof p6||(en=new p6("mrow",[en])),en.setAttribute("href",Y.href),en}}),pR({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(Y,et)=>{var{parser:en}=Y,ei=mx(et[0],"url").url;if(!en.settings.isTrusted({command:"\\url",url:ei}))return en.formatUnsupportedCmd("\\url");for(var eo=[],ea=0;ea<ei.length;ea++){var eu=ei[ea];"~"===eu&&(eu="\\textasciitilde"),eo.push({type:"textord",mode:"text",text:eu})}var ec={type:"text",mode:en.mode,font:"\\texttt",body:eo};return{type:"href",mode:en.mode,href:ei,body:pB(ec)}}}),pR({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(Y,et){var{parser:en}=Y;return{type:"hbox",mode:en.mode,body:pB(et[0])}},htmlBuilder(Y,et){var en=pW(Y.body,et,!1);return pS.makeFragment(en)},mathmlBuilder:(Y,et)=>new mt.MathNode("mrow",mo(Y.body,et))}),pR({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(Y,et)=>{var en,{parser:ei,funcName:eo,token:ea}=Y,eu=mx(et[0],"raw").string,ec=et[1];ei.settings.strict&&ei.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var ed={};switch(eo){case"\\htmlClass":ed.class=eu,en={command:"\\htmlClass",class:eu};break;case"\\htmlId":ed.id=eu,en={command:"\\htmlId",id:eu};break;case"\\htmlStyle":ed.style=eu,en={command:"\\htmlStyle",style:eu};break;case"\\htmlData":for(var ef=eu.split(","),eh=0;eh<ef.length;eh++){var ep=ef[eh].split("=");if(2!==ep.length)throw new fl("Error parsing key-value for \\htmlData");ed["data-"+ep[0].trim()]=ep[1].trim()}en={command:"\\htmlData",attributes:ed};break;default:throw Error("Unrecognized html command")}return ei.settings.isTrusted(en)?{type:"html",mode:ei.mode,attributes:ed,body:pB(ec)}:ei.formatUnsupportedCmd(eo)},htmlBuilder:(Y,et)=>{var en=pW(Y.body,et,!1),ei=["enclosing"];Y.attributes.class&&ei.push(...Y.attributes.class.trim().split(/\s+/));var eo=pS.makeSpan(ei,en,et);for(var ea in Y.attributes)"class"!==ea&&Y.attributes.hasOwnProperty(ea)&&eo.setAttribute(ea,Y.attributes[ea]);return eo},mathmlBuilder:(Y,et)=>ma(Y.body,et)}),pR({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(Y,et)=>{var{parser:en}=Y;return{type:"htmlmathml",mode:en.mode,html:pB(et[0]),mathml:pB(et[1])}},htmlBuilder:(Y,et)=>{var en=pW(Y.html,et,!1);return pS.makeFragment(en)},mathmlBuilder:(Y,et)=>ma(Y.mathml,et)});var gV=function(Y){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(Y))return{number:+Y,unit:"bp"};var et=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Y);if(!et)throw new fl("Invalid size: '"+Y+"' in \\includegraphics");var en={number:+(et[1]+et[2]),unit:et[3]};if(!ho(en))throw new fl("Invalid unit: '"+en.unit+"' in \\includegraphics.");return en};pR({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(Y,et,en)=>{var{parser:ei}=Y,eo={number:0,unit:"em"},ea={number:.9,unit:"em"},eu={number:0,unit:"em"},ec="";if(en[0])for(var ed=mx(en[0],"raw").string.split(","),ef=0;ef<ed.length;ef++){var eh=ed[ef].split("=");if(2===eh.length){var ep=eh[1].trim();switch(eh[0].trim()){case"alt":ec=ep;break;case"width":eo=gV(ep);break;case"height":ea=gV(ep);break;case"totalheight":eu=gV(ep);break;default:throw new fl("Invalid key: '"+eh[0]+"' in \\includegraphics.")}}}var em=mx(et[0],"url").url;return(""===ec&&(ec=(ec=(ec=em).replace(/^.*[\\/]/,"")).substring(0,ec.lastIndexOf("."))),ei.settings.isTrusted({command:"\\includegraphics",url:em}))?{type:"includegraphics",mode:ei.mode,alt:ec,width:eo,height:ea,totalheight:eu,src:em}:ei.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(Y,et)=>{var en=ha(Y.height,et),ei=0;Y.totalheight.number>0&&(ei=ha(Y.totalheight,et)-en);var eo=0;Y.width.number>0&&(eo=ha(Y.width,et));var ea={height:hs(en+ei)};eo>0&&(ea.width=hs(eo)),ei>0&&(ea.verticalAlign=hs(-ei));var eu=new hp(Y.src,Y.alt,ea);return eu.height=en,eu.depth=ei,eu},mathmlBuilder:(Y,et)=>{var en=new mt.MathNode("mglyph",[]);en.setAttribute("alt",Y.alt);var ei=ha(Y.height,et),eo=0;if(Y.totalheight.number>0&&(eo=ha(Y.totalheight,et)-ei,en.setAttribute("valign",hs(-eo))),en.setAttribute("height",hs(ei+eo)),Y.width.number>0){var ea=ha(Y.width,et);en.setAttribute("width",hs(ea))}return en.setAttribute("src",Y.src),en}}),pR({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(Y,et){var{parser:en,funcName:ei}=Y,eo=mx(et[0],"size");if(en.settings.strict){var ea="m"===ei[1],eu="mu"===eo.value.unit;ea?(eu||en.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ei+" supports only mu units, not "+eo.value.unit+" units"),"math"!==en.mode&&en.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ei+" works only in math mode")):eu&&en.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ei+" doesn't support mu units")}return{type:"kern",mode:en.mode,dimension:eo.value}},htmlBuilder:(Y,et)=>pS.makeGlue(Y.dimension,et),mathmlBuilder(Y,et){var en=ha(Y.dimension,et);return new mt.SpaceNode(en)}}),pR({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(Y,et)=>{var{parser:en,funcName:ei}=Y,eo=et[0];return{type:"lap",mode:en.mode,alignment:ei.slice(5),body:eo}},htmlBuilder:(Y,et)=>{"clap"===Y.alignment?(en=pS.makeSpan([],[pQ(Y.body,et)]),en=pS.makeSpan(["inner"],[en],et)):en=pS.makeSpan(["inner"],[pQ(Y.body,et)]);var en,ei=pS.makeSpan(["fix"],[]),eo=pS.makeSpan([Y.alignment],[en,ei],et),ea=pS.makeSpan(["strut"]);return ea.style.height=hs(eo.height+eo.depth),eo.depth&&(ea.style.verticalAlign=hs(-eo.depth)),eo.children.unshift(ea),eo=pS.makeSpan(["thinbox"],[eo],et),pS.makeSpan(["mord","vbox"],[eo],et)},mathmlBuilder:(Y,et)=>{var en=new mt.MathNode("mpadded",[ml(Y.body,et)]);if("rlap"!==Y.alignment){var ei="llap"===Y.alignment?"-1":"-0.5";en.setAttribute("lspace",ei+"width")}return en.setAttribute("width","0px"),en}}),pR({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(Y,et){var{funcName:en,parser:ei}=Y,eo=ei.mode;ei.switchMode("math");var ea="\\("===en?"\\)":"$",eu=ei.parseExpression(!1,ea);return ei.expect(ea),ei.switchMode(eo),{type:"styling",mode:ei.mode,style:"text",body:eu}}}),pR({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(Y,et){throw new fl("Mismatched "+Y.funcName)}});var gW=(Y,et)=>{switch(et.style.size){case fL.DISPLAY.size:return Y.display;case fL.TEXT.size:return Y.text;case fL.SCRIPT.size:return Y.script;case fL.SCRIPTSCRIPT.size:return Y.scriptscript;default:return Y.text}};pR({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(Y,et)=>{var{parser:en}=Y;return{type:"mathchoice",mode:en.mode,display:pB(et[0]),text:pB(et[1]),script:pB(et[2]),scriptscript:pB(et[3])}},htmlBuilder:(Y,et)=>{var en=pW(gW(Y,et),et,!1);return pS.makeFragment(en)},mathmlBuilder:(Y,et)=>ma(gW(Y,et),et)});var gq=(Y,et,en,ei,eo,ea,eu)=>{Y=pS.makeSpan([],[Y]);var ec,ed,ef,eh=en&&fm.isCharacterBox(en);if(et){var ep=pQ(et,ei.havingStyle(eo.sup()),ei);ed={elem:ep,kern:Math.max(ei.fontMetrics().bigOpSpacing1,ei.fontMetrics().bigOpSpacing3-ep.depth)}}if(en){var em=pQ(en,ei.havingStyle(eo.sub()),ei);ec={elem:em,kern:Math.max(ei.fontMetrics().bigOpSpacing2,ei.fontMetrics().bigOpSpacing4-em.height)}}if(ed&&ec){var eg=ei.fontMetrics().bigOpSpacing5+ec.elem.height+ec.elem.depth+ec.kern+Y.depth+eu;ef=pS.makeVList({positionType:"bottom",positionData:eg,children:[{type:"kern",size:ei.fontMetrics().bigOpSpacing5},{type:"elem",elem:ec.elem,marginLeft:hs(-ea)},{type:"kern",size:ec.kern},{type:"elem",elem:Y},{type:"kern",size:ed.kern},{type:"elem",elem:ed.elem,marginLeft:hs(ea)},{type:"kern",size:ei.fontMetrics().bigOpSpacing5}]},ei)}else if(ec){var ey=Y.height-eu;ef=pS.makeVList({positionType:"top",positionData:ey,children:[{type:"kern",size:ei.fontMetrics().bigOpSpacing5},{type:"elem",elem:ec.elem,marginLeft:hs(-ea)},{type:"kern",size:ec.kern},{type:"elem",elem:Y}]},ei)}else{if(!ed)return Y;var eb=Y.depth+eu;ef=pS.makeVList({positionType:"bottom",positionData:eb,children:[{type:"elem",elem:Y},{type:"kern",size:ed.kern},{type:"elem",elem:ed.elem,marginLeft:hs(ea)},{type:"kern",size:ei.fontMetrics().bigOpSpacing5}]},ei)}var ek=[ef];if(ec&&0!==ea&&!eh){var ew=pS.makeSpan(["mspace"],[],ei);ew.style.marginRight=hs(ea),ek.unshift(ew)}return pS.makeSpan(["mop","op-limits"],ek,ei)},gZ=["\\smallint"],gK=(Y,et)=>{var en,ei,eo,ea,eu=!1;"supsub"===Y.type?(en=Y.sup,ei=Y.sub,eo=mx(Y.base,"op"),eu=!0):eo=mx(Y,"op");var ec=et.style,ed=!1;if(ec.size===fL.DISPLAY.size&&eo.symbol&&!fm.contains(gZ,eo.name)&&(ed=!0),eo.symbol){var ef=ed?"Size2-Regular":"Size1-Regular",eh="";if(("\\oiint"===eo.name||"\\oiiint"===eo.name)&&(eh=eo.name.substr(1),eo.name="oiint"===eh?"\\iint":"\\iiint"),ea=pS.makeSymbol(eo.name,ef,"math",et,["mop","op-symbol",ed?"large-op":"small-op"]),eh.length>0){var ep=ea.italic,em=pS.staticSvg(eh+"Size"+(ed?"2":"1"),et);ea=pS.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ea,shift:0},{type:"elem",elem:em,shift:ed?.08:0}]},et),eo.name="\\"+eh,ea.classes.unshift("mop"),ea.italic=ep}}else if(eo.body){var eg=pW(eo.body,et,!0);1===eg.length&&eg[0]instanceof hg?(ea=eg[0]).classes[0]="mop":ea=pS.makeSpan(["mop"],eg,et)}else{for(var ey=[],eb=1;eb<eo.name.length;eb++)ey.push(pS.mathsym(eo.name[eb],eo.mode,et));ea=pS.makeSpan(["mop"],ey,et)}var ek=0,ew=0;return((ea instanceof hg||"\\oiint"===eo.name||"\\oiiint"===eo.name)&&!eo.suppressBaseShift&&(ek=(ea.height-ea.depth)/2-et.fontMetrics().axisHeight,ew=ea.italic),eu)?gq(ea,en,ei,et,ec,ew,ek):(ek&&(ea.style.position="relative",ea.style.top=hs(ek)),ea)},g$=(Y,et)=>{var en;if(Y.symbol)en=new p6("mo",[mn(Y.name,Y.mode)]),fm.contains(gZ,Y.name)&&en.setAttribute("largeop","false");else if(Y.body)en=new p6("mo",mo(Y.body,et));else{en=new p6("mi",[new p7(Y.name.slice(1))]);var ei=new p6("mo",[mn("","text")]);en=Y.parentIsSupSub?new p6("mrow",[en,ei]):p9([en,ei])}return en},gY={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","":"\\bigvee","⋂":"\\bigcap","":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};pR({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","","⋂","","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(Y,et)=>{var{parser:en,funcName:ei}=Y,eo=ei;return 1===eo.length&&(eo=gY[eo]),{type:"op",mode:en.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:eo}},htmlBuilder:gK,mathmlBuilder:g$}),pR({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(Y,et)=>{var{parser:en}=Y,ei=et[0];return{type:"op",mode:en.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:pB(ei)}},htmlBuilder:gK,mathmlBuilder:g$});var gQ={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};pR({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(Y){var{parser:et,funcName:en}=Y;return{type:"op",mode:et.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:en}},htmlBuilder:gK,mathmlBuilder:g$}),pR({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(Y){var{parser:et,funcName:en}=Y;return{type:"op",mode:et.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:en}},htmlBuilder:gK,mathmlBuilder:g$}),pR({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(Y){var{parser:et,funcName:en}=Y,ei=en;return 1===ei.length&&(ei=gQ[ei]),{type:"op",mode:et.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:ei}},htmlBuilder:gK,mathmlBuilder:g$});var gX=(Y,et)=>{var en,ei,eo,ea,eu=!1;if("supsub"===Y.type?(en=Y.sup,ei=Y.sub,eo=mx(Y.base,"operatorname"),eu=!0):eo=mx(Y,"operatorname"),eo.body.length>0){for(var ec=pW(eo.body.map(Y=>{var et=Y.text;return"string"==typeof et?{type:"textord",mode:Y.mode,text:et}:Y}),et.withFont("mathrm"),!0),ed=0;ed<ec.length;ed++){var ef=ec[ed];ef instanceof hg&&(ef.text=ef.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}ea=pS.makeSpan(["mop"],ec,et)}else ea=pS.makeSpan(["mop"],[],et);return eu?gq(ea,en,ei,et,et.style,0,0):ea};function gJ(Y,et,en){for(var ei=pW(Y,et,!1),eo=et.sizeMultiplier/en.sizeMultiplier,ea=0;ea<ei.length;ea++){var eu=ei[ea].classes.indexOf("sizing");eu<0?Array.prototype.push.apply(ei[ea].classes,et.sizingClasses(en)):ei[ea].classes[eu+1]==="reset-size"+et.size&&(ei[ea].classes[eu+1]="reset-size"+en.size),ei[ea].height*=eo,ei[ea].depth*=eo}return pS.makeFragment(ei)}pR({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(Y,et)=>{var{parser:en,funcName:ei}=Y,eo=et[0];return{type:"operatorname",mode:en.mode,body:pB(eo),alwaysHandleSupSub:"\\operatornamewithlimits"===ei,limits:!1,parentIsSupSub:!1}},htmlBuilder:gX,mathmlBuilder:(Y,et)=>{for(var en=mo(Y.body,et.withFont("mathrm")),ei=!0,eo=0;eo<en.length;eo++){var ea=en[eo];if(ea instanceof mt.SpaceNode);else if(ea instanceof mt.MathNode)switch(ea.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var eu=ea.children[0];1===ea.children.length&&eu instanceof mt.TextNode?eu.text=eu.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):ei=!1;break;default:ei=!1}else ei=!1}if(ei){var ec=en.map(Y=>Y.toText()).join("");en=[new mt.TextNode(ec)]}var ed=new mt.MathNode("mi",en);ed.setAttribute("mathvariant","normal");var ef=new mt.MathNode("mo",[mn("","text")]);return Y.parentIsSupSub?new mt.MathNode("mrow",[ed,ef]):mt.newDocumentFragment([ed,ef])}}),gx("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),pD({type:"ordgroup",htmlBuilder:(Y,et)=>Y.semisimple?pS.makeFragment(pW(Y.body,et,!1)):pS.makeSpan(["mord"],pW(Y.body,et,!0),et),mathmlBuilder:(Y,et)=>ma(Y.body,et,!0)}),pR({type:"overline",names:["\\overline"],props:{numArgs:1},handler(Y,et){var{parser:en}=Y,ei=et[0];return{type:"overline",mode:en.mode,body:ei}},htmlBuilder(Y,et){var en=pQ(Y.body,et.havingCrampedStyle()),ei=pS.makeLineSpan("overline-line",et),eo=et.fontMetrics().defaultRuleThickness,ea=pS.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:en},{type:"kern",size:3*eo},{type:"elem",elem:ei},{type:"kern",size:eo}]},et);return pS.makeSpan(["mord","overline"],[ea],et)},mathmlBuilder(Y,et){var en=new mt.MathNode("mo",[new mt.TextNode("‾")]);en.setAttribute("stretchy","true");var ei=new mt.MathNode("mover",[ml(Y.body,et),en]);return ei.setAttribute("accent","true"),ei}}),pR({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(Y,et)=>{var{parser:en}=Y,ei=et[0];return{type:"phantom",mode:en.mode,body:pB(ei)}},htmlBuilder:(Y,et)=>{var en=pW(Y.body,et.withPhantom(),!1);return pS.makeFragment(en)},mathmlBuilder:(Y,et)=>{var en=mo(Y.body,et);return new mt.MathNode("mphantom",en)}}),pR({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(Y,et)=>{var{parser:en}=Y,ei=et[0];return{type:"hphantom",mode:en.mode,body:ei}},htmlBuilder:(Y,et)=>{var en=pS.makeSpan([],[pQ(Y.body,et.withPhantom())]);if(en.height=0,en.depth=0,en.children)for(var ei=0;ei<en.children.length;ei++)en.children[ei].height=0,en.children[ei].depth=0;return en=pS.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:en}]},et),pS.makeSpan(["mord"],[en],et)},mathmlBuilder:(Y,et)=>{var en=mo(pB(Y.body),et),ei=new mt.MathNode("mphantom",en),eo=new mt.MathNode("mpadded",[ei]);return eo.setAttribute("height","0px"),eo.setAttribute("depth","0px"),eo}}),pR({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(Y,et)=>{var{parser:en}=Y,ei=et[0];return{type:"vphantom",mode:en.mode,body:ei}},htmlBuilder:(Y,et)=>{var en=pS.makeSpan(["inner"],[pQ(Y.body,et.withPhantom())]),ei=pS.makeSpan(["fix"],[]);return pS.makeSpan(["mord","rlap"],[en,ei],et)},mathmlBuilder:(Y,et)=>{var en=mo(pB(Y.body),et),ei=new mt.MathNode("mphantom",en),eo=new mt.MathNode("mpadded",[ei]);return eo.setAttribute("width","0px"),eo}}),pR({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(Y,et){var{parser:en}=Y,ei=mx(et[0],"size").value,eo=et[1];return{type:"raisebox",mode:en.mode,dy:ei,body:eo}},htmlBuilder(Y,et){var en=pQ(Y.body,et),ei=ha(Y.dy,et);return pS.makeVList({positionType:"shift",positionData:-ei,children:[{type:"elem",elem:en}]},et)},mathmlBuilder(Y,et){var en=new mt.MathNode("mpadded",[ml(Y.body,et)]),ei=Y.dy.number+Y.dy.unit;return en.setAttribute("voffset",ei),en}}),pR({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(Y){var{parser:et}=Y;return{type:"internal",mode:et.mode}}}),pR({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(Y,et,en){var{parser:ei}=Y,eo=en[0],ea=mx(et[0],"size"),eu=mx(et[1],"size");return{type:"rule",mode:ei.mode,shift:eo&&mx(eo,"size").value,width:ea.value,height:eu.value}},htmlBuilder(Y,et){var en=pS.makeSpan(["mord","rule"],[],et),ei=ha(Y.width,et),eo=ha(Y.height,et),ea=Y.shift?ha(Y.shift,et):0;return en.style.borderRightWidth=hs(ei),en.style.borderTopWidth=hs(eo),en.style.bottom=hs(ea),en.width=ei,en.height=eo+ea,en.depth=-ea,en.maxFontSize=1.125*eo*et.sizeMultiplier,en},mathmlBuilder(Y,et){var en=ha(Y.width,et),ei=ha(Y.height,et),eo=Y.shift?ha(Y.shift,et):0,ea=et.color&&et.getColor()||"black",eu=new mt.MathNode("mspace");eu.setAttribute("mathbackground",ea),eu.setAttribute("width",hs(en)),eu.setAttribute("height",hs(ei));var ec=new mt.MathNode("mpadded",[eu]);return eo>=0?ec.setAttribute("height",hs(eo)):(ec.setAttribute("height",hs(eo)),ec.setAttribute("depth",hs(-eo))),ec.setAttribute("voffset",hs(eo)),ec}});var g0=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];pR({type:"sizing",names:g0,props:{numArgs:0,allowedInText:!0},handler:(Y,et)=>{var{breakOnTokenText:en,funcName:ei,parser:eo}=Y,ea=eo.parseExpression(!1,en);return{type:"sizing",mode:eo.mode,size:g0.indexOf(ei)+1,body:ea}},htmlBuilder:(Y,et)=>{var en=et.havingSize(Y.size);return gJ(Y.body,en,et)},mathmlBuilder:(Y,et)=>{var en=et.havingSize(Y.size),ei=mo(Y.body,en),eo=new mt.MathNode("mstyle",ei);return eo.setAttribute("mathsize",hs(en.sizeMultiplier)),eo}}),pR({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(Y,et,en)=>{var{parser:ei}=Y,eo=!1,ea=!1,eu=en[0]&&mx(en[0],"ordgroup");if(eu)for(var ec="",ed=0;ed<eu.body.length;++ed)if("t"===(ec=eu.body[ed].text))eo=!0;else if("b"===ec)ea=!0;else{eo=!1,ea=!1;break}else eo=!0,ea=!0;var ef=et[0];return{type:"smash",mode:ei.mode,body:ef,smashHeight:eo,smashDepth:ea}},htmlBuilder:(Y,et)=>{var en=pS.makeSpan([],[pQ(Y.body,et)]);if(!Y.smashHeight&&!Y.smashDepth)return en;if(Y.smashHeight&&(en.height=0,en.children))for(var ei=0;ei<en.children.length;ei++)en.children[ei].height=0;if(Y.smashDepth&&(en.depth=0,en.children))for(var eo=0;eo<en.children.length;eo++)en.children[eo].depth=0;var ea=pS.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:en}]},et);return pS.makeSpan(["mord"],[ea],et)},mathmlBuilder:(Y,et)=>{var en=new mt.MathNode("mpadded",[ml(Y.body,et)]);return Y.smashHeight&&en.setAttribute("height","0px"),Y.smashDepth&&en.setAttribute("depth","0px"),en}}),pR({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(Y,et,en){var{parser:ei}=Y,eo=en[0],ea=et[0];return{type:"sqrt",mode:ei.mode,body:ea,index:eo}},htmlBuilder(Y,et){var en=pQ(Y.body,et.havingCrampedStyle());0===en.height&&(en.height=et.fontMetrics().xHeight),en=pS.wrapFragment(en,et);var ei=et.fontMetrics().defaultRuleThickness,eo=ei;et.style.id<fL.TEXT.id&&(eo=et.fontMetrics().xHeight);var ea=ei+eo/4,eu=en.height+en.depth+ea+ei,{span:ec,ruleWidth:ed,advanceWidth:ef}=gu.sqrtImage(eu,et),eh=ec.height-ed;eh>en.height+en.depth+ea&&(ea=(ea+eh-en.height-en.depth)/2);var ep=ec.height-en.height-ea-ed;en.style.paddingLeft=hs(ef);var em=pS.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:en,wrapperClasses:["svg-align"]},{type:"kern",size:-(en.height+ep)},{type:"elem",elem:ec},{type:"kern",size:ed}]},et);if(!Y.index)return pS.makeSpan(["mord","sqrt"],[em],et);var eg=et.havingStyle(fL.SCRIPTSCRIPT),ey=pQ(Y.index,eg,et),eb=.6*(em.height-em.depth),ek=pS.makeVList({positionType:"shift",positionData:-eb,children:[{type:"elem",elem:ey}]},et),ew=pS.makeSpan(["root"],[ek]);return pS.makeSpan(["mord","sqrt"],[ew,em],et)},mathmlBuilder(Y,et){var{body:en,index:ei}=Y;return ei?new mt.MathNode("mroot",[ml(en,et),ml(ei,et)]):new mt.MathNode("msqrt",[ml(en,et)])}});var g9={display:fL.DISPLAY,text:fL.TEXT,script:fL.SCRIPT,scriptscript:fL.SCRIPTSCRIPT};pR({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(Y,et){var{breakOnTokenText:en,funcName:ei,parser:eo}=Y,ea=eo.parseExpression(!0,en),eu=ei.slice(1,ei.length-5);return{type:"styling",mode:eo.mode,style:eu,body:ea}},htmlBuilder(Y,et){var en=g9[Y.style],ei=et.havingStyle(en).withFont("");return gJ(Y.body,ei,et)},mathmlBuilder(Y,et){var en=g9[Y.style],ei=et.havingStyle(en),eo=mo(Y.body,ei),ea=new mt.MathNode("mstyle",eo),eu={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[Y.style];return ea.setAttribute("scriptlevel",eu[0]),ea.setAttribute("displaystyle",eu[1]),ea}});var g6=function(Y,et){var en=Y.base;return en?"op"===en.type?en.limits&&(et.style.size===fL.DISPLAY.size||en.alwaysHandleSupSub)?gK:null:"operatorname"===en.type?en.alwaysHandleSupSub&&(et.style.size===fL.DISPLAY.size||en.limits)?gX:null:"accent"===en.type?fm.isCharacterBox(en.base)?m_:null:"horizBrace"===en.type?!Y.sub===en.isOver?gG:null:null:null};pD({type:"supsub",htmlBuilder(Y,et){var en,ei,eo,ea,eu=g6(Y,et);if(eu)return eu(Y,et);var{base:ec,sup:ed,sub:ef}=Y,eh=pQ(ec,et),ep=et.fontMetrics(),em=0,eg=0,ey=ec&&fm.isCharacterBox(ec);if(ed){var eb=et.havingStyle(et.style.sup());en=pQ(ed,eb,et),ey||(em=eh.height-eb.fontMetrics().supDrop*eb.sizeMultiplier/et.sizeMultiplier)}if(ef){var ek=et.havingStyle(et.style.sub());ei=pQ(ef,ek,et),ey||(eg=eh.depth+ek.fontMetrics().subDrop*ek.sizeMultiplier/et.sizeMultiplier)}eo=et.style===fL.DISPLAY?ep.sup1:et.style.cramped?ep.sup3:ep.sup2;var ew=et.sizeMultiplier,e_=hs(.5/ep.ptPerEm/ew),eE=null;if(ei){var eC=Y.base&&"op"===Y.base.type&&Y.base.name&&("\\oiint"===Y.base.name||"\\oiiint"===Y.base.name);(eh instanceof hg||eC)&&(eE=hs(-eh.italic))}if(en&&ei){em=Math.max(em,eo,en.depth+.25*ep.xHeight),eg=Math.max(eg,ep.sub2);var eT=4*ep.defaultRuleThickness;if(em-en.depth-(ei.height-eg)<eT){eg=eT-(em-en.depth)+ei.height;var eS=.8*ep.xHeight-(em-en.depth);eS>0&&(em+=eS,eg-=eS)}var eA=[{type:"elem",elem:ei,shift:eg,marginRight:e_,marginLeft:eE},{type:"elem",elem:en,shift:-em,marginRight:e_}];ea=pS.makeVList({positionType:"individualShift",children:eA},et)}else if(ei){eg=Math.max(eg,ep.sub1,ei.height-.8*ep.xHeight);var eM=[{type:"elem",elem:ei,marginLeft:eE,marginRight:e_}];ea=pS.makeVList({positionType:"shift",positionData:eg,children:eM},et)}else if(en)em=Math.max(em,eo,en.depth+.25*ep.xHeight),ea=pS.makeVList({positionType:"shift",positionData:-em,children:[{type:"elem",elem:en,marginRight:e_}]},et);else throw Error("supsub must have either sup or sub.");var eP=p$(eh,"right")||"mord";return pS.makeSpan([eP],[eh,pS.makeSpan(["msupsub"],[ea])],et)},mathmlBuilder(Y,et){var en,ei,eo=!1;Y.base&&"horizBrace"===Y.base.type&&!!Y.sup===Y.base.isOver&&(eo=!0,en=Y.base.isOver),Y.base&&("op"===Y.base.type||"operatorname"===Y.base.type)&&(Y.base.parentIsSupSub=!0);var ea=[ml(Y.base,et)];if(Y.sub&&ea.push(ml(Y.sub,et)),Y.sup&&ea.push(ml(Y.sup,et)),eo)ei=en?"mover":"munder";else if(Y.sub){if(Y.sup){var eu=Y.base;ei=eu&&"op"===eu.type&&eu.limits&&et.style===fL.DISPLAY?"munderover":eu&&"operatorname"===eu.type&&eu.alwaysHandleSupSub&&(et.style===fL.DISPLAY||eu.limits)?"munderover":"msubsup"}else{var ec=Y.base;ei=ec&&"op"===ec.type&&ec.limits&&(et.style===fL.DISPLAY||ec.alwaysHandleSupSub)?"munder":ec&&"operatorname"===ec.type&&ec.alwaysHandleSupSub&&(ec.limits||et.style===fL.DISPLAY)?"munder":"msub"}}else{var ed=Y.base;ei=ed&&"op"===ed.type&&ed.limits&&(et.style===fL.DISPLAY||ed.alwaysHandleSupSub)?"mover":ed&&"operatorname"===ed.type&&ed.alwaysHandleSupSub&&(ed.limits||et.style===fL.DISPLAY)?"mover":"msup"}return new mt.MathNode(ei,ea)}}),pD({type:"atom",htmlBuilder:(Y,et)=>pS.mathsym(Y.text,Y.mode,et,["m"+Y.family]),mathmlBuilder(Y,et){var en=new mt.MathNode("mo",[mn(Y.text,Y.mode)]);if("bin"===Y.family){var ei=mi(Y,et);"bold-italic"===ei&&en.setAttribute("mathvariant",ei)}else"punct"===Y.family?en.setAttribute("separator","true"):("open"===Y.family||"close"===Y.family)&&en.setAttribute("stretchy","false");return en}});var g7={mi:"italic",mn:"normal",mtext:"normal"};pD({type:"mathord",htmlBuilder:(Y,et)=>pS.makeOrd(Y,et,"mathord"),mathmlBuilder(Y,et){var en=new mt.MathNode("mi",[mn(Y.text,Y.mode,et)]),ei=mi(Y,et)||"italic";return ei!==g7[en.type]&&en.setAttribute("mathvariant",ei),en}}),pD({type:"textord",htmlBuilder:(Y,et)=>pS.makeOrd(Y,et,"textord"),mathmlBuilder(Y,et){var en,ei=mn(Y.text,Y.mode,et),eo=mi(Y,et)||"normal";return eo!==g7[(en="text"===Y.mode?new mt.MathNode("mtext",[ei]):/[0-9]/.test(Y.text)?new mt.MathNode("mn",[ei]):"\\prime"===Y.text?new mt.MathNode("mo",[ei]):new mt.MathNode("mi",[ei])).type]&&en.setAttribute("mathvariant",eo),en}});var g8={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},vt={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};pD({type:"spacing",htmlBuilder(Y,et){if(vt.hasOwnProperty(Y.text)){var en=vt[Y.text].className||"";if("text"!==Y.mode)return pS.makeSpan(["mspace",en],[pS.mathsym(Y.text,Y.mode,et)],et);var ei=pS.makeOrd(Y,et,"textord");return ei.classes.push(en),ei}if(g8.hasOwnProperty(Y.text))return pS.makeSpan(["mspace",g8[Y.text]],[],et);throw new fl('Unknown type of space "'+Y.text+'"')},mathmlBuilder(Y,et){var en;if(vt.hasOwnProperty(Y.text))en=new mt.MathNode("mtext",[new mt.TextNode("\xa0")]);else if(g8.hasOwnProperty(Y.text))return new mt.MathNode("mspace");else throw new fl('Unknown type of space "'+Y.text+'"');return en}});var vn=()=>{var Y=new mt.MathNode("mtd",[]);return Y.setAttribute("width","50%"),Y};pD({type:"tag",mathmlBuilder(Y,et){var en=new mt.MathNode("mtable",[new mt.MathNode("mtr",[vn(),new mt.MathNode("mtd",[ma(Y.body,et)]),vn(),new mt.MathNode("mtd",[ma(Y.tag,et)])])]);return en.setAttribute("width","100%"),en}});var vr={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},vi={"\\textbf":"textbf","\\textmd":"textmd"},vo={"\\textit":"textit","\\textup":"textup"},va=(Y,et)=>{var en=Y.font;return en?vr[en]?et.withTextFontFamily(vr[en]):vi[en]?et.withTextFontWeight(vi[en]):et.withTextFontShape(vo[en]):et};pR({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(Y,et){var{parser:en,funcName:ei}=Y,eo=et[0];return{type:"text",mode:en.mode,body:pB(eo),font:ei}},htmlBuilder(Y,et){var en=va(Y,et),ei=pW(Y.body,en,!0);return pS.makeSpan(["mord","text"],ei,en)},mathmlBuilder(Y,et){var en=va(Y,et);return ma(Y.body,en)}}),pR({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(Y,et){var{parser:en}=Y;return{type:"underline",mode:en.mode,body:et[0]}},htmlBuilder(Y,et){var en=pQ(Y.body,et),ei=pS.makeLineSpan("underline-line",et),eo=et.fontMetrics().defaultRuleThickness,ea=pS.makeVList({positionType:"top",positionData:en.height,children:[{type:"kern",size:eo},{type:"elem",elem:ei},{type:"kern",size:3*eo},{type:"elem",elem:en}]},et);return pS.makeSpan(["mord","underline"],[ea],et)},mathmlBuilder(Y,et){var en=new mt.MathNode("mo",[new mt.TextNode("‾")]);en.setAttribute("stretchy","true");var ei=new mt.MathNode("munder",[ml(Y.body,et),en]);return ei.setAttribute("accentunder","true"),ei}}),pR({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(Y,et){var{parser:en}=Y;return{type:"vcenter",mode:en.mode,body:et[0]}},htmlBuilder(Y,et){var en=pQ(Y.body,et),ei=et.fontMetrics().axisHeight,eo=.5*(en.height-ei-(en.depth+ei));return pS.makeVList({positionType:"shift",positionData:eo,children:[{type:"elem",elem:en}]},et)},mathmlBuilder:(Y,et)=>new mt.MathNode("mpadded",[ml(Y.body,et)],["vcenter"])}),pR({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(Y,et,en){throw new fl("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(Y,et){for(var en=vs(Y),ei=[],eo=et.havingStyle(et.style.text()),ea=0;ea<en.length;ea++){var eu=en[ea];"~"===eu&&(eu="\\textasciitilde"),ei.push(pS.makeSymbol(eu,"Typewriter-Regular",Y.mode,eo,["mord","texttt"]))}return pS.makeSpan(["mord","text"].concat(eo.sizingClasses(et)),pS.tryCombineChars(ei),eo)},mathmlBuilder(Y,et){var en=new mt.TextNode(vs(Y)),ei=new mt.MathNode("mtext",[en]);return ei.setAttribute("mathvariant","monospace"),ei}});var vs=Y=>Y.body.replace(/ /g,Y.star?"␣":"\xa0"),vl=pI,vu="[ \r\n ]",vd="\\\\[^\uD800-\uDFFF]",vf="(\\\\[a-zA-Z@]+)"+vu+"*",vp="\\\\(\n|[ \r ]+\n?)[ \r ]*",vm="[̀-ͯ]",vg=RegExp(vm+"+$"),vv="("+vu+"+)|"+vp+"|([!-\\[\\]-‧‪-퟿豈-￿]"+vm+"*|[\uD800-\uDBFF][\uDC00-\uDFFF]"+vm+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+vf+"|"+vd+")";class vy{constructor(Y,et){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=Y,this.settings=et,this.tokenRegex=RegExp(vv,"g"),this.catcodes={"%":14,"~":13}}setCatcode(Y,et){this.catcodes[Y]=et}lex(){var Y=this.input,et=this.tokenRegex.lastIndex;if(et===Y.length)return new fa("EOF",new fo(this,et,et));var en=this.tokenRegex.exec(Y);if(null===en||en.index!==et)throw new fl("Unexpected character: '"+Y[et]+"'",new fa(Y[et],new fo(this,et,et+1)));var ei=en[6]||en[3]||(en[2]?"\\ ":" ");if(14===this.catcodes[ei]){var eo=Y.indexOf("\n",this.tokenRegex.lastIndex);return -1===eo?(this.tokenRegex.lastIndex=Y.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=eo+1,this.lex()}return new fa(ei,new fo(this,et,this.tokenRegex.lastIndex))}}class vb{constructor(Y,et){void 0===Y&&(Y={}),void 0===et&&(et={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=et,this.builtins=Y,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new fl("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var Y=this.undefStack.pop();for(var et in Y)Y.hasOwnProperty(et)&&(null==Y[et]?delete this.current[et]:this.current[et]=Y[et])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(Y){return this.current.hasOwnProperty(Y)||this.builtins.hasOwnProperty(Y)}get(Y){return this.current.hasOwnProperty(Y)?this.current[Y]:this.builtins[Y]}set(Y,et,en){if(void 0===en&&(en=!1),en){for(var ei=0;ei<this.undefStack.length;ei++)delete this.undefStack[ei][Y];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][Y]=et)}else{var eo=this.undefStack[this.undefStack.length-1];eo&&!eo.hasOwnProperty(Y)&&(eo[Y]=this.current[Y])}null==et?delete this.current[Y]:this.current[Y]=et}}var vx=gb;gx("\\noexpand",function(Y){var et=Y.popToken();return Y.isExpandable(et.text)&&(et.noexpand=!0,et.treatAsRelax=!0),{tokens:[et],numArgs:0}}),gx("\\expandafter",function(Y){var et=Y.popToken();return Y.expandOnce(!0),{tokens:[et],numArgs:0}}),gx("\\@firstoftwo",function(Y){return{tokens:Y.consumeArgs(2)[0],numArgs:0}}),gx("\\@secondoftwo",function(Y){return{tokens:Y.consumeArgs(2)[1],numArgs:0}}),gx("\\@ifnextchar",function(Y){var et=Y.consumeArgs(3);Y.consumeSpaces();var en=Y.future();return 1===et[0].length&&et[0][0].text===en.text?{tokens:et[1],numArgs:0}:{tokens:et[2],numArgs:0}}),gx("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),gx("\\TextOrMath",function(Y){var et=Y.consumeArgs(2);return"text"===Y.mode?{tokens:et[0],numArgs:0}:{tokens:et[1],numArgs:0}});var vk={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};gx("\\char",function(Y){var et,en,ei=Y.popToken(),eo="";if("'"===ei.text)et=8,ei=Y.popToken();else if('"'===ei.text)et=16,ei=Y.popToken();else if("`"===ei.text){if("\\"===(ei=Y.popToken()).text[0])eo=ei.text.charCodeAt(1);else if("EOF"===ei.text)throw new fl("\\char` missing argument");else eo=ei.text.charCodeAt(0)}else et=10;if(et){if(null==(eo=vk[ei.text])||eo>=et)throw new fl("Invalid base-"+et+" digit "+ei.text);for(;null!=(en=vk[Y.future().text])&&en<et;)eo*=et,eo+=en,Y.popToken()}return"\\@char{"+eo+"}"});var v_=(Y,et,en)=>{var ei=Y.consumeArg().tokens;if(1!==ei.length)throw new fl("\\newcommand's first argument must be a macro name");var eo=ei[0].text,ea=Y.isDefined(eo);if(ea&&!et)throw new fl("\\newcommand{"+eo+"} attempting to redefine "+eo+"; use \\renewcommand");if(!ea&&!en)throw new fl("\\renewcommand{"+eo+"} when command "+eo+" does not yet exist; use \\newcommand");var eu=0;if(1===(ei=Y.consumeArg().tokens).length&&"["===ei[0].text){for(var ec="",ed=Y.expandNextToken();"]"!==ed.text&&"EOF"!==ed.text;)ec+=ed.text,ed=Y.expandNextToken();if(!ec.match(/^\s*[0-9]+\s*$/))throw new fl("Invalid number of arguments: "+ec);eu=parseInt(ec),ei=Y.consumeArg().tokens}return Y.macros.set(eo,{tokens:ei,numArgs:eu}),""};gx("\\newcommand",Y=>v_(Y,!1,!0)),gx("\\renewcommand",Y=>v_(Y,!0,!1)),gx("\\providecommand",Y=>v_(Y,!0,!0)),gx("\\message",Y=>(console.log(Y.consumeArgs(1)[0].reverse().map(Y=>Y.text).join("")),"")),gx("\\errmessage",Y=>(console.error(Y.consumeArgs(1)[0].reverse().map(Y=>Y.text).join("")),"")),gx("\\show",Y=>{var et=Y.popToken(),en=et.text;return console.log(et,Y.macros.get(en),vl[en],hE.math[en],hE.text[en]),""}),gx("\\bgroup","{"),gx("\\egroup","}"),gx("~","\\nobreakspace"),gx("\\lq","`"),gx("\\rq","'"),gx("\\aa","\\r a"),gx("\\AA","\\r A"),gx("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),gx("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),gx("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),gx("","\\mathscr{B}"),gx("","\\mathscr{E}"),gx("","\\mathscr{F}"),gx("","\\mathscr{H}"),gx("","\\mathscr{I}"),gx("","\\mathscr{L}"),gx("","\\mathscr{M}"),gx("","\\mathscr{R}"),gx("","\\mathfrak{C}"),gx("","\\mathfrak{H}"),gx("","\\mathfrak{Z}"),gx("\\Bbbk","\\Bbb{k}"),gx("\xb7","\\cdotp"),gx("\\llap","\\mathllap{\\textrm{#1}}"),gx("\\rlap","\\mathrlap{\\textrm{#1}}"),gx("\\clap","\\mathclap{\\textrm{#1}}"),gx("\\mathstrut","\\vphantom{(}"),gx("\\underbar","\\underline{\\text{#1}}"),gx("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),gx("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),gx("\\ne","\\neq"),gx("≠","\\neq"),gx("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),gx("∉","\\notin"),gx("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),gx("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),gx("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),gx("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),gx("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),gx("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),gx("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),gx("⟂","\\perp"),gx("‼","\\mathclose{!\\mkern-0.8mu!}"),gx("∌","\\notni"),gx("⌜","\\ulcorner"),gx("⌝","\\urcorner"),gx("⌞","\\llcorner"),gx("⌟","\\lrcorner"),gx("\xa9","\\copyright"),gx("\xae","\\textregistered"),gx("","\\textregistered"),gx("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),gx("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),gx("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),gx("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),gx("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),gx("⋮","\\vdots"),gx("\\varGamma","\\mathit{\\Gamma}"),gx("\\varDelta","\\mathit{\\Delta}"),gx("\\varTheta","\\mathit{\\Theta}"),gx("\\varLambda","\\mathit{\\Lambda}"),gx("\\varXi","\\mathit{\\Xi}"),gx("\\varPi","\\mathit{\\Pi}"),gx("\\varSigma","\\mathit{\\Sigma}"),gx("\\varUpsilon","\\mathit{\\Upsilon}"),gx("\\varPhi","\\mathit{\\Phi}"),gx("\\varPsi","\\mathit{\\Psi}"),gx("\\varOmega","\\mathit{\\Omega}"),gx("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),gx("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),gx("\\boxed","\\fbox{$\\displaystyle{#1}$}"),gx("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),gx("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),gx("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var vE={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};gx("\\dots",function(Y){var et="\\dotso",en=Y.expandAfterFuture().text;return en in vE?et=vE[en]:"\\not"===en.substr(0,4)?et="\\dotsb":en in hE.math&&fm.contains(["bin","rel"],hE.math[en].group)&&(et="\\dotsb"),et});var vC={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};gx("\\dotso",function(Y){return Y.future().text in vC?"\\ldots\\,":"\\ldots"}),gx("\\dotsc",function(Y){var et=Y.future().text;return et in vC&&","!==et?"\\ldots\\,":"\\ldots"}),gx("\\cdots",function(Y){return Y.future().text in vC?"\\@cdots\\,":"\\@cdots"}),gx("\\dotsb","\\cdots"),gx("\\dotsm","\\cdots"),gx("\\dotsi","\\!\\cdots"),gx("\\dotsx","\\ldots\\,"),gx("\\DOTSI","\\relax"),gx("\\DOTSB","\\relax"),gx("\\DOTSX","\\relax"),gx("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),gx("\\,","\\tmspace+{3mu}{.1667em}"),gx("\\thinspace","\\,"),gx("\\>","\\mskip{4mu}"),gx("\\:","\\tmspace+{4mu}{.2222em}"),gx("\\medspace","\\:"),gx("\\;","\\tmspace+{5mu}{.2777em}"),gx("\\thickspace","\\;"),gx("\\!","\\tmspace-{3mu}{.1667em}"),gx("\\negthinspace","\\!"),gx("\\negmedspace","\\tmspace-{4mu}{.2222em}"),gx("\\negthickspace","\\tmspace-{5mu}{.277em}"),gx("\\enspace","\\kern.5em "),gx("\\enskip","\\hskip.5em\\relax"),gx("\\quad","\\hskip1em\\relax"),gx("\\qquad","\\hskip2em\\relax"),gx("\\tag","\\@ifstar\\tag@literal\\tag@paren"),gx("\\tag@paren","\\tag@literal{({#1})}"),gx("\\tag@literal",Y=>{if(Y.macros.get("\\df@tag"))throw new fl("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),gx("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),gx("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),gx("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),gx("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),gx("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),gx("\\newline","\\\\\\relax"),gx("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var vT=hs(fX["Main-Regular"][84][1]-.7*fX["Main-Regular"][65][1]);gx("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+vT+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),gx("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+vT+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),gx("\\hspace","\\@ifstar\\@hspacer\\@hspace"),gx("\\@hspace","\\hskip #1\\relax"),gx("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),gx("\\ordinarycolon",":"),gx("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),gx("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),gx("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),gx("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),gx("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),gx("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),gx("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),gx("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),gx("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),gx("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),gx("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),gx("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),gx("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),gx("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),gx("∷","\\dblcolon"),gx("∹","\\eqcolon"),gx("≔","\\coloneqq"),gx("≕","\\eqqcolon"),gx("⩴","\\Coloneqq"),gx("\\ratio","\\vcentcolon"),gx("\\coloncolon","\\dblcolon"),gx("\\colonequals","\\coloneqq"),gx("\\coloncolonequals","\\Coloneqq"),gx("\\equalscolon","\\eqqcolon"),gx("\\equalscoloncolon","\\Eqqcolon"),gx("\\colonminus","\\coloneq"),gx("\\coloncolonminus","\\Coloneq"),gx("\\minuscolon","\\eqcolon"),gx("\\minuscoloncolon","\\Eqcolon"),gx("\\coloncolonapprox","\\Colonapprox"),gx("\\coloncolonsim","\\Colonsim"),gx("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),gx("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),gx("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),gx("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),gx("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),gx("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),gx("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),gx("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),gx("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),gx("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),gx("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),gx("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),gx("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),gx("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),gx("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),gx("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),gx("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),gx("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),gx("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),gx("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),gx("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),gx("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),gx("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),gx("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),gx("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),gx("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),gx("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),gx("\\imath","\\html@mathml{\\@imath}{ı}"),gx("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),gx("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),gx("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),gx("⟦","\\llbracket"),gx("⟧","\\rrbracket"),gx("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),gx("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),gx("⦃","\\lBrace"),gx("⦄","\\rBrace"),gx("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),gx("⦵","\\minuso"),gx("\\darr","\\downarrow"),gx("\\dArr","\\Downarrow"),gx("\\Darr","\\Downarrow"),gx("\\lang","\\langle"),gx("\\rang","\\rangle"),gx("\\uarr","\\uparrow"),gx("\\uArr","\\Uparrow"),gx("\\Uarr","\\Uparrow"),gx("\\N","\\mathbb{N}"),gx("\\R","\\mathbb{R}"),gx("\\Z","\\mathbb{Z}"),gx("\\alef","\\aleph"),gx("\\alefsym","\\aleph"),gx("\\Alpha","\\mathrm{A}"),gx("\\Beta","\\mathrm{B}"),gx("\\bull","\\bullet"),gx("\\Chi","\\mathrm{X}"),gx("\\clubs","\\clubsuit"),gx("\\cnums","\\mathbb{C}"),gx("\\Complex","\\mathbb{C}"),gx("\\Dagger","\\ddagger"),gx("\\diamonds","\\diamondsuit"),gx("\\empty","\\emptyset"),gx("\\Epsilon","\\mathrm{E}"),gx("\\Eta","\\mathrm{H}"),gx("\\exist","\\exists"),gx("\\harr","\\leftrightarrow"),gx("\\hArr","\\Leftrightarrow"),gx("\\Harr","\\Leftrightarrow"),gx("\\hearts","\\heartsuit"),gx("\\image","\\Im"),gx("\\infin","\\infty"),gx("\\Iota","\\mathrm{I}"),gx("\\isin","\\in"),gx("\\Kappa","\\mathrm{K}"),gx("\\larr","\\leftarrow"),gx("\\lArr","\\Leftarrow"),gx("\\Larr","\\Leftarrow"),gx("\\lrarr","\\leftrightarrow"),gx("\\lrArr","\\Leftrightarrow"),gx("\\Lrarr","\\Leftrightarrow"),gx("\\Mu","\\mathrm{M}"),gx("\\natnums","\\mathbb{N}"),gx("\\Nu","\\mathrm{N}"),gx("\\Omicron","\\mathrm{O}"),gx("\\plusmn","\\pm"),gx("\\rarr","\\rightarrow"),gx("\\rArr","\\Rightarrow"),gx("\\Rarr","\\Rightarrow"),gx("\\real","\\Re"),gx("\\reals","\\mathbb{R}"),gx("\\Reals","\\mathbb{R}"),gx("\\Rho","\\mathrm{P}"),gx("\\sdot","\\cdot"),gx("\\sect","\\S"),gx("\\spades","\\spadesuit"),gx("\\sub","\\subset"),gx("\\sube","\\subseteq"),gx("\\supe","\\supseteq"),gx("\\Tau","\\mathrm{T}"),gx("\\thetasym","\\vartheta"),gx("\\weierp","\\wp"),gx("\\Zeta","\\mathrm{Z}"),gx("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),gx("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),gx("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),gx("\\bra","\\mathinner{\\langle{#1}|}"),gx("\\ket","\\mathinner{|{#1}\\rangle}"),gx("\\braket","\\mathinner{\\langle{#1}\\rangle}"),gx("\\Bra","\\left\\langle#1\\right|"),gx("\\Ket","\\left|#1\\right\\rangle");var vS=Y=>et=>{var en=et.consumeArg().tokens,ei=et.consumeArg().tokens,eo=et.consumeArg().tokens,ea=et.consumeArg().tokens,eu=et.macros.get("|"),ec=et.macros.get("\\|");et.macros.beginGroup();var ed=et=>en=>{Y&&(en.macros.set("|",eu),eo.length&&en.macros.set("\\|",ec));var ea=et;return!et&&eo.length&&"|"===en.future().text&&(en.popToken(),ea=!0),{tokens:ea?eo:ei,numArgs:0}};et.macros.set("|",ed(!1)),eo.length&&et.macros.set("\\|",ed(!0));var ef=et.consumeArg().tokens,eh=et.expandTokens([...ea,...ef,...en]);return et.macros.endGroup(),{tokens:eh.reverse(),numArgs:0}};gx("\\bra@ket",vS(!1)),gx("\\bra@set",vS(!0)),gx("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),gx("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),gx("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),gx("\\angln","{\\angl n}"),gx("\\blue","\\textcolor{##6495ed}{#1}"),gx("\\orange","\\textcolor{##ffa500}{#1}"),gx("\\pink","\\textcolor{##ff00af}{#1}"),gx("\\red","\\textcolor{##df0030}{#1}"),gx("\\green","\\textcolor{##28ae7b}{#1}"),gx("\\gray","\\textcolor{gray}{#1}"),gx("\\purple","\\textcolor{##9d38bd}{#1}"),gx("\\blueA","\\textcolor{##ccfaff}{#1}"),gx("\\blueB","\\textcolor{##80f6ff}{#1}"),gx("\\blueC","\\textcolor{##63d9ea}{#1}"),gx("\\blueD","\\textcolor{##11accd}{#1}"),gx("\\blueE","\\textcolor{##0c7f99}{#1}"),gx("\\tealA","\\textcolor{##94fff5}{#1}"),gx("\\tealB","\\textcolor{##26edd5}{#1}"),gx("\\tealC","\\textcolor{##01d1c1}{#1}"),gx("\\tealD","\\textcolor{##01a995}{#1}"),gx("\\tealE","\\textcolor{##208170}{#1}"),gx("\\greenA","\\textcolor{##b6ffb0}{#1}"),gx("\\greenB","\\textcolor{##8af281}{#1}"),gx("\\greenC","\\textcolor{##74cf70}{#1}"),gx("\\greenD","\\textcolor{##1fab54}{#1}"),gx("\\greenE","\\textcolor{##0d923f}{#1}"),gx("\\goldA","\\textcolor{##ffd0a9}{#1}"),gx("\\goldB","\\textcolor{##ffbb71}{#1}"),gx("\\goldC","\\textcolor{##ff9c39}{#1}"),gx("\\goldD","\\textcolor{##e07d10}{#1}"),gx("\\goldE","\\textcolor{##a75a05}{#1}"),gx("\\redA","\\textcolor{##fca9a9}{#1}"),gx("\\redB","\\textcolor{##ff8482}{#1}"),gx("\\redC","\\textcolor{##f9685d}{#1}"),gx("\\redD","\\textcolor{##e84d39}{#1}"),gx("\\redE","\\textcolor{##bc2612}{#1}"),gx("\\maroonA","\\textcolor{##ffbde0}{#1}"),gx("\\maroonB","\\textcolor{##ff92c6}{#1}"),gx("\\maroonC","\\textcolor{##ed5fa6}{#1}"),gx("\\maroonD","\\textcolor{##ca337c}{#1}"),gx("\\maroonE","\\textcolor{##9e034e}{#1}"),gx("\\purpleA","\\textcolor{##ddd7ff}{#1}"),gx("\\purpleB","\\textcolor{##c6b9fc}{#1}"),gx("\\purpleC","\\textcolor{##aa87ff}{#1}"),gx("\\purpleD","\\textcolor{##7854ab}{#1}"),gx("\\purpleE","\\textcolor{##543b78}{#1}"),gx("\\mintA","\\textcolor{##f5f9e8}{#1}"),gx("\\mintB","\\textcolor{##edf2df}{#1}"),gx("\\mintC","\\textcolor{##e0e5cc}{#1}"),gx("\\grayA","\\textcolor{##f6f7f7}{#1}"),gx("\\grayB","\\textcolor{##f0f1f2}{#1}"),gx("\\grayC","\\textcolor{##e3e5e6}{#1}"),gx("\\grayD","\\textcolor{##d6d8da}{#1}"),gx("\\grayE","\\textcolor{##babec2}{#1}"),gx("\\grayF","\\textcolor{##888d93}{#1}"),gx("\\grayG","\\textcolor{##626569}{#1}"),gx("\\grayH","\\textcolor{##3b3e40}{#1}"),gx("\\grayI","\\textcolor{##21242c}{#1}"),gx("\\kaBlue","\\textcolor{##314453}{#1}"),gx("\\kaGreen","\\textcolor{##71B307}{#1}");var vA={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class vM{constructor(Y,et,en){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=et,this.expansionCount=0,this.feed(Y),this.macros=new vb(vx,et.macros),this.mode=en,this.stack=[]}feed(Y){this.lexer=new vy(Y,this.settings)}switchMode(Y){this.mode=Y}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(Y){this.stack.push(Y)}pushTokens(Y){this.stack.push(...Y)}scanArgument(Y){var et,en,ei;if(Y){if(this.consumeSpaces(),"["!==this.future().text)return null;et=this.popToken(),{tokens:ei,end:en}=this.consumeArg(["]"])}else({tokens:ei,start:et,end:en}=this.consumeArg());return this.pushToken(new fa("EOF",en.loc)),this.pushTokens(ei),et.range(en,"")}consumeSpaces(){for(;;)if(" "===this.future().text)this.stack.pop();else break}consumeArg(Y){var et,en=[],ei=Y&&Y.length>0;ei||this.consumeSpaces();var eo=this.future(),ea=0,eu=0;do{if(et=this.popToken(),en.push(et),"{"===et.text)++ea;else if("}"===et.text){if(-1==--ea)throw new fl("Extra }",et)}else if("EOF"===et.text)throw new fl("Unexpected end of input in a macro argument, expected '"+(Y&&ei?Y[eu]:"}")+"'",et);if(Y&&ei){if((0===ea||1===ea&&"{"===Y[eu])&&et.text===Y[eu]){if(++eu===Y.length){en.splice(-eu,eu);break}}else eu=0}}while(0!==ea||ei);return"{"===eo.text&&"}"===en[en.length-1].text&&(en.pop(),en.shift()),en.reverse(),{tokens:en,start:eo,end:et}}consumeArgs(Y,et){if(et){if(et.length!==Y+1)throw new fl("The length of delimiters doesn't match the number of args!");for(var en=et[0],ei=0;ei<en.length;ei++){var eo=this.popToken();if(en[ei]!==eo.text)throw new fl("Use of the macro doesn't match its definition",eo)}}for(var ea=[],eu=0;eu<Y;eu++)ea.push(this.consumeArg(et&&et[eu+1]).tokens);return ea}expandOnce(Y){var et=this.popToken(),en=et.text,ei=et.noexpand?null:this._getExpansion(en);if(null==ei||Y&&ei.unexpandable){if(Y&&null==ei&&"\\"===en[0]&&!this.isDefined(en))throw new fl("Undefined control sequence: "+en);return this.pushToken(et),et}if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new fl("Too many expansions: infinite loop or need to increase maxExpand setting");var eo=ei.tokens,ea=this.consumeArgs(ei.numArgs,ei.delimiters);if(ei.numArgs){eo=eo.slice();for(var eu=eo.length-1;eu>=0;--eu){var ec=eo[eu];if("#"===ec.text){if(0===eu)throw new fl("Incomplete placeholder at end of macro body",ec);if("#"===(ec=eo[--eu]).text)eo.splice(eu+1,1);else if(/^[1-9]$/.test(ec.text))eo.splice(eu,2,...ea[+ec.text-1]);else throw new fl("Not a valid argument number",ec)}}}return this.pushTokens(eo),eo}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;){var Y=this.expandOnce();if(Y instanceof fa)return Y.treatAsRelax&&(Y.text="\\relax"),this.stack.pop()}throw Error()}expandMacro(Y){return this.macros.has(Y)?this.expandTokens([new fa(Y)]):void 0}expandTokens(Y){var et=[],en=this.stack.length;for(this.pushTokens(Y);this.stack.length>en;){var ei=this.expandOnce(!0);ei instanceof fa&&(ei.treatAsRelax&&(ei.noexpand=!1,ei.treatAsRelax=!1),et.push(this.stack.pop()))}return et}expandMacroAsText(Y){var et=this.expandMacro(Y);return et?et.map(Y=>Y.text).join(""):et}_getExpansion(Y){var et=this.macros.get(Y);if(null==et)return et;if(1===Y.length){var en=this.lexer.catcodes[Y];if(null!=en&&13!==en)return}var ei="function"==typeof et?et(this):et;if("string"==typeof ei){var eo=0;if(-1!==ei.indexOf("#"))for(var ea=ei.replace(/##/g,"");-1!==ea.indexOf("#"+(eo+1));)++eo;for(var eu=new vy(ei,this.settings),ec=[],ed=eu.lex();"EOF"!==ed.text;)ec.push(ed),ed=eu.lex();return ec.reverse(),{tokens:ec,numArgs:eo}}return ei}isDefined(Y){return this.macros.has(Y)||vl.hasOwnProperty(Y)||hE.math.hasOwnProperty(Y)||hE.text.hasOwnProperty(Y)||vA.hasOwnProperty(Y)}isExpandable(Y){var et=this.macros.get(Y);return null!=et?"string"==typeof et||"function"==typeof et||!et.unexpandable:vl.hasOwnProperty(Y)&&!vl[Y].primitive}}var vP=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,vj=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9",ₐ:"a",ₑ:"e",ₕ:"h",ᵢ:"i",ⱼ:"j",ₖ:"k",ₗ:"l",ₘ:"m",ₙ:"n",ₒ:"o",ₚ:"p",ᵣ:"r",ₛ:"s",ₜ:"t",ᵤ:"u",ᵥ:"v",ₓ:"x",ᵦ:"β",ᵧ:"γ",ᵨ:"ρ",ᵩ:"ϕ",ᵪ:"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","\xb9":"1","\xb2":"2","\xb3":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9",ᴬ:"A",ᴮ:"B",ᴰ:"D",ᴱ:"E",ᴳ:"G",ᴴ:"H",ᴵ:"I",ᴶ:"J",ᴷ:"K",ᴸ:"L",ᴹ:"M",ᴺ:"N",ᴼ:"O",ᴾ:"P",ᴿ:"R",ᵀ:"T",ᵁ:"U",ⱽ:"V",ᵂ:"W",ᵃ:"a",ᵇ:"b",ᶜ:"c",ᵈ:"d",ᵉ:"e",ᶠ:"f",ᵍ:"g",ʰ:"h",ⁱ:"i",ʲ:"j",ᵏ:"k",ˡ:"l",ᵐ:"m",ⁿ:"n",ᵒ:"o",ᵖ:"p",ʳ:"r",ˢ:"s",ᵗ:"t",ᵘ:"u",ᵛ:"v",ʷ:"w",ˣ:"x",ʸ:"y",ᶻ:"z",ᵝ:"β",ᵞ:"γ",ᵟ:"δ",ᵠ:"ϕ",ᵡ:"χ",ᶿ:"θ"}),vO={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},vI={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class vN{constructor(Y,et){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new vM(Y,et,this.mode),this.settings=et,this.leftrightDepth=0}expect(Y,et){if(void 0===et&&(et=!0),this.fetch().text!==Y)throw new fl("Expected '"+Y+"', got '"+this.fetch().text+"'",this.fetch());et&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(Y){this.mode=Y,this.gullet.switchMode(Y)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var Y=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),Y}finally{this.gullet.endGroups()}}subparse(Y){var et=this.nextToken;this.consume(),this.gullet.pushToken(new fa("}")),this.gullet.pushTokens(Y);var en=this.parseExpression(!1);return this.expect("}"),this.nextToken=et,en}parseExpression(Y,et){for(var en=[];;){"math"===this.mode&&this.consumeSpaces();var ei=this.fetch();if(-1!==vN.endOfExpression.indexOf(ei.text)||et&&ei.text===et||Y&&vl[ei.text]&&vl[ei.text].infix)break;var eo=this.parseAtom(et);if(eo){if("internal"===eo.type)continue}else break;en.push(eo)}return"text"===this.mode&&this.formLigatures(en),this.handleInfixNodes(en)}handleInfixNodes(Y){for(var et=-1,en=0;en<Y.length;en++)if("infix"===Y[en].type){if(-1!==et)throw new fl("only one infix operator per group",Y[en].token);et=en,ei=Y[en].replaceWith}if(-1===et||!ei)return Y;var ei,eo,ea,eu,ec=Y.slice(0,et),ed=Y.slice(et+1);return eo=1===ec.length&&"ordgroup"===ec[0].type?ec[0]:{type:"ordgroup",mode:this.mode,body:ec},ea=1===ed.length&&"ordgroup"===ed[0].type?ed[0]:{type:"ordgroup",mode:this.mode,body:ed},[eu="\\\\abovefrac"===ei?this.callFunction(ei,[eo,Y[et],ea],[]):this.callFunction(ei,[eo,ea],[])]}handleSupSubscript(Y){var et=this.fetch(),en=et.text;this.consume(),this.consumeSpaces();var ei=this.parseGroup(Y);if(!ei)throw new fl("Expected group after '"+en+"'",et);return ei}formatUnsupportedCmd(Y){for(var et=[],en=0;en<Y.length;en++)et.push({type:"textord",mode:"text",text:Y[en]});var ei={type:"text",mode:this.mode,body:et};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[ei]}}parseAtom(Y){var et,en,ei=this.parseGroup("atom",Y);if("text"===this.mode)return ei;for(;;){this.consumeSpaces();var eo=this.fetch();if("\\limits"===eo.text||"\\nolimits"===eo.text){if(ei&&"op"===ei.type){var ea="\\limits"===eo.text;ei.limits=ea,ei.alwaysHandleSupSub=!0}else if(ei&&"operatorname"===ei.type)ei.alwaysHandleSupSub&&(ei.limits="\\limits"===eo.text);else throw new fl("Limit controls must follow a math operator",eo);this.consume()}else if("^"===eo.text){if(et)throw new fl("Double superscript",eo);et=this.handleSupSubscript("superscript")}else if("_"===eo.text){if(en)throw new fl("Double subscript",eo);en=this.handleSupSubscript("subscript")}else if("'"===eo.text){if(et)throw new fl("Double superscript",eo);var eu={type:"textord",mode:this.mode,text:"\\prime"},ec=[eu];for(this.consume();"'"===this.fetch().text;)ec.push(eu),this.consume();"^"===this.fetch().text&&ec.push(this.handleSupSubscript("superscript")),et={type:"ordgroup",mode:this.mode,body:ec}}else if(vj[eo.text]){var ed=vj[eo.text],ef=vP.test(eo.text);for(this.consume();;){var eh=this.fetch().text;if(!vj[eh]||vP.test(eh)!==ef)break;this.consume(),ed+=vj[eh]}var ep=new vN(ed,this.settings).parse();ef?en={type:"ordgroup",mode:"math",body:ep}:et={type:"ordgroup",mode:"math",body:ep}}else break}return et||en?{type:"supsub",mode:this.mode,base:ei,sup:et,sub:en}:ei}parseFunction(Y,et){var en=this.fetch(),ei=en.text,eo=vl[ei];if(!eo)return null;if(this.consume(),et&&"atom"!==et&&!eo.allowedInArgument)throw new fl("Got function '"+ei+"' with no arguments"+(et?" as "+et:""),en);if("text"!==this.mode||eo.allowedInText){if("math"===this.mode&&!1===eo.allowedInMath)throw new fl("Can't use function '"+ei+"' in math mode",en)}else throw new fl("Can't use function '"+ei+"' in text mode",en);var{args:ea,optArgs:eu}=this.parseArguments(ei,eo);return this.callFunction(ei,ea,eu,en,Y)}callFunction(Y,et,en,ei,eo){var ea={funcName:Y,parser:this,token:ei,breakOnTokenText:eo},eu=vl[Y];if(eu&&eu.handler)return eu.handler(ea,et,en);throw new fl("No function handler for "+Y)}parseArguments(Y,et){var en=et.numArgs+et.numOptionalArgs;if(0===en)return{args:[],optArgs:[]};for(var ei=[],eo=[],ea=0;ea<en;ea++){var eu=et.argTypes&&et.argTypes[ea],ec=ea<et.numOptionalArgs;(et.primitive&&null==eu||"sqrt"===et.type&&1===ea&&null==eo[0])&&(eu="primitive");var ed=this.parseGroupOfType("argument to '"+Y+"'",eu,ec);if(ec)eo.push(ed);else if(null!=ed)ei.push(ed);else throw new fl("Null argument, please report this as a bug")}return{args:ei,optArgs:eo}}parseGroupOfType(Y,et,en){switch(et){case"color":return this.parseColorGroup(en);case"size":return this.parseSizeGroup(en);case"url":return this.parseUrlGroup(en);case"math":case"text":return this.parseArgumentGroup(en,et);case"hbox":var ei=this.parseArgumentGroup(en,"text");return null!=ei?{type:"styling",mode:ei.mode,body:[ei],style:"text"}:null;case"raw":var eo=this.parseStringGroup("raw",en);return null!=eo?{type:"raw",mode:"text",string:eo.text}:null;case"primitive":if(en)throw new fl("A primitive argument cannot be optional");var ea=this.parseGroup(Y);if(null==ea)throw new fl("Expected group as "+Y,this.fetch());return ea;case"original":case null:case void 0:return this.parseArgumentGroup(en);default:throw new fl("Unknown group type as "+Y,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(Y,et){var en,ei=this.gullet.scanArgument(et);if(null==ei)return null;for(var eo="";"EOF"!==(en=this.fetch()).text;)eo+=en.text,this.consume();return this.consume(),ei.text=eo,ei}parseRegexGroup(Y,et){for(var en,ei=this.fetch(),eo=ei,ea="";"EOF"!==(en=this.fetch()).text&&Y.test(ea+en.text);)ea+=(eo=en).text,this.consume();if(""===ea)throw new fl("Invalid "+et+": '"+ei.text+"'",ei);return ei.range(eo,ea)}parseColorGroup(Y){var et=this.parseStringGroup("color",Y);if(null==et)return null;var en=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(et.text);if(!en)throw new fl("Invalid color: '"+et.text+"'",et);var ei=en[0];return/^[0-9a-f]{6}$/i.test(ei)&&(ei="#"+ei),{type:"color-token",mode:this.mode,color:ei}}parseSizeGroup(Y){var et,en=!1;if(this.gullet.consumeSpaces(),!(et=Y||"{"===this.gullet.future().text?this.parseStringGroup("size",Y):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;Y||0!==et.text.length||(et.text="0pt",en=!0);var ei=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(et.text);if(!ei)throw new fl("Invalid size: '"+et.text+"'",et);var eo={number:+(ei[1]+ei[2]),unit:ei[3]};if(!ho(eo))throw new fl("Invalid unit: '"+eo.unit+"'",et);return{type:"size",mode:this.mode,value:eo,isBlank:en}}parseUrlGroup(Y){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var et=this.parseStringGroup("url",Y);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==et)return null;var en=et.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:en}}parseArgumentGroup(Y,et){var en=this.gullet.scanArgument(Y);if(null==en)return null;var ei=this.mode;et&&this.switchMode(et),this.gullet.beginGroup();var eo=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var ea={type:"ordgroup",mode:this.mode,loc:en.loc,body:eo};return et&&this.switchMode(ei),ea}parseGroup(Y,et){var en,ei=this.fetch(),eo=ei.text;if("{"===eo||"\\begingroup"===eo){this.consume();var ea="{"===eo?"}":"\\endgroup";this.gullet.beginGroup();var eu=this.parseExpression(!1,ea),ec=this.fetch();this.expect(ea),this.gullet.endGroup(),en={type:"ordgroup",mode:this.mode,loc:fo.range(ei,ec),body:eu,semisimple:"\\begingroup"===eo||void 0}}else if(null==(en=this.parseFunction(et,Y)||this.parseSymbol())&&"\\"===eo[0]&&!vA.hasOwnProperty(eo)){if(this.settings.throwOnError)throw new fl("Undefined control sequence: "+eo,ei);en=this.formatUnsupportedCmd(eo),this.consume()}return en}formLigatures(Y){for(var et=Y.length-1,en=0;en<et;++en){var ei=Y[en],eo=ei.text;"-"===eo&&"-"===Y[en+1].text&&(en+1<et&&"-"===Y[en+2].text?(Y.splice(en,3,{type:"textord",mode:"text",loc:fo.range(ei,Y[en+2]),text:"---"}),et-=2):(Y.splice(en,2,{type:"textord",mode:"text",loc:fo.range(ei,Y[en+1]),text:"--"}),et-=1)),("'"===eo||"`"===eo)&&Y[en+1].text===eo&&(Y.splice(en,2,{type:"textord",mode:"text",loc:fo.range(ei,Y[en+1]),text:eo+eo}),et-=1)}}parseSymbol(){var Y=this.fetch(),et=Y.text;if(/^\\verb[^a-zA-Z]/.test(et)){this.consume();var en=et.slice(5),ei="*"===en.charAt(0);if(ei&&(en=en.slice(1)),en.length<2||en.charAt(0)!==en.slice(-1))throw new fl("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:en=en.slice(1,-1),star:ei}}vI.hasOwnProperty(et[0])&&!hE[this.mode][et[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+et[0]+'" used in math mode',Y),et=vI[et[0]]+et.substr(1));var eo=vg.exec(et);if(eo&&("i"===(et=et.substring(0,eo.index))?et="ı":"j"===et&&(et="ȷ")),hE[this.mode][et]){this.settings.strict&&"math"===this.mode&&pe.indexOf(et)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+et[0]+'" used in math mode',Y);var ea,eu,ec=hE[this.mode][et].group,ed=fo.range(Y);if(hw.hasOwnProperty(ec)){var ef=ec;eu={type:"atom",mode:this.mode,family:ef,loc:ed,text:et}}else eu={type:ec,mode:this.mode,loc:ed,text:et};ea=eu}else{if(!(et.charCodeAt(0)>=128))return null;this.settings.strict&&(fB(et.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+et[0]+'" used in math mode',Y):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+et[0]+'" ('+et.charCodeAt(0)+")",Y)),ea={type:"textord",mode:"text",loc:fo.range(Y),text:et}}if(this.consume(),eo)for(var eh=0;eh<eo[0].length;eh++){var ep=eo[0][eh];if(!vO[ep])throw new fl("Unknown accent ' "+ep+"'",Y);var em=vO[ep][this.mode]||vO[ep].text;if(!em)throw new fl("Accent "+ep+" unsupported in "+this.mode+" mode",Y);ea={type:"accent",mode:this.mode,loc:fo.range(Y),label:em,isStretchy:!1,isShifty:!0,base:ea}}return ea}}vN.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var vL=function(Y,et){if(!("string"==typeof Y||Y instanceof String))throw TypeError("KaTeX can only parse string typed expression");var en=new vN(Y,et);delete en.gullet.macros.current["\\df@tag"];var ei=en.parse();if(delete en.gullet.macros.current["\\current@color"],delete en.gullet.macros.current["\\color"],en.gullet.macros.get("\\df@tag")){if(!et.displayMode)throw new fl("\\tag works only in display equations");ei=[{type:"tag",mode:"text",body:ei,tag:en.subparse([new fa("\\df@tag")])}]}return ei},vR=function(Y,et,en){et.textContent="";var ei=vF(Y,en).toNode();et.appendChild(ei)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),vR=function(){throw new fl("KaTeX doesn't work in quirks mode.")});var vD=function(Y,et,en){if(en.throwOnError||!(Y instanceof fl))throw Y;var ei=pS.makeSpan(["katex-error"],[new hg(et)]);return ei.setAttribute("title",Y.toString()),ei.setAttribute("style","color:"+en.errorColor),ei},vF=function(Y,et){var en=new fy(et);try{var ei=vL(Y,en);return mh(ei,Y,en)}catch(et){return vD(et,Y,en)}},vB={version:"0.15.6",render:vR,renderToString:function(Y,et){return vF(Y,et).toMarkup()},ParseError:fl,SETTINGS_SCHEMA:fg,__parse:function(Y,et){return vL(Y,new fy(et))},__renderToDomTree:vF,__renderToHTMLTree:function(Y,et){var en=new fy(et);try{var ei=vL(Y,en);return mp(ei,Y,en)}catch(et){return vD(et,Y,en)}},__setFontMetrics:f9,__defineSymbol:hC,__defineMacro:gx,__domTree:{Span:hf,Anchor:hh,SymbolNode:hg,SvgNode:hv,PathNode:hy,LineNode:hb}};let vz=function(Y,et){return aO(Y,en),Y;function en(Y){et?delete Y.position:Y.position=void 0}};var vU=en(92860);let vH=/[#.]/g;function vG(Y,et){let en,ei;let eo=Y||"",ea={},eu=0;for(;eu<eo.length;){vH.lastIndex=eu;let Y=vH.exec(eo),et=eo.slice(eu,Y?Y.index:eo.length);et&&(en?"#"===en?ea.id=et:Array.isArray(ea.className)?ea.className.push(et):ea.className=[et]:ei=et,eu+=et.length),Y&&(en=Y[0],eu++)}return{type:"element",tagName:ei||et||"div",properties:ea,children:[]}}let vV=new Set(["menu","submit","reset","button"]),vW={}.hasOwnProperty;function vq(Y,et,en){let ei=en&&v9(en),eo=function(en,eo,...ea){let eu,ec=-1;if(null==en)eu={type:"root",children:[]},ea.unshift(eo);else if((eu=vG(en,et)).tagName=eu.tagName.toLowerCase(),ei&&vW.call(ei,eu.tagName)&&(eu.tagName=ei[eu.tagName]),vZ(eo,eu.tagName)){let et;for(et in eo)vW.call(eo,et)&&vK(Y,eu.properties,et,eo[et])}else ea.unshift(eo);for(;++ec<ea.length;)v$(eu.children,ea[ec]);return"element"===eu.type&&"template"===eu.tagName&&(eu.content={type:"root",children:eu.children},eu.children=[]),eu};return eo}function vZ(Y,et){return!(null==Y||"object"!=typeof Y||Array.isArray(Y))&&("input"===et||!Y.type||"string"!=typeof Y.type||!("children"in Y&&Array.isArray(Y.children))&&("button"===et?vV.has(Y.type.toLowerCase()):!("value"in Y)))}function vK(Y,et,en,ei){let eo;let ea=lw(Y,en),eu=-1;if(null!=ei){if("number"==typeof ei){if(Number.isNaN(ei))return;eo=ei}else eo="boolean"==typeof ei?ei:"string"==typeof ei?ea.spaceSeparated?lT(ei):ea.commaSeparated?lA(ei):ea.commaOrSpaceSeparated?lT(lA(ei).join(" ")):vQ(ea,ea.property,ei):Array.isArray(ei)?ei.concat():"style"===ea.property?vJ(ei):String(ei);if(Array.isArray(eo)){let Y=[];for(;++eu<eo.length;)Y[eu]=vQ(ea,ea.property,eo[eu]);eo=Y}"className"===ea.property&&Array.isArray(et.className)&&(eo=et.className.concat(eo)),et[ea.property]=eo}}function v$(Y,et){let en=-1;if(null==et);else if("string"==typeof et||"number"==typeof et)Y.push({type:"text",value:String(et)});else if(Array.isArray(et))for(;++en<et.length;)v$(Y,et[en]);else if("object"==typeof et&&"type"in et)"root"===et.type?v$(Y,et.children):Y.push(et);else throw Error("Expected node, nodes, or string, got `"+et+"`")}function vQ(Y,et,en){if("string"==typeof en){if(Y.number&&en&&!Number.isNaN(Number(en)))return Number(en);if((Y.boolean||Y.overloadedBoolean)&&(""===en||sH(en)===sH(et)))return!0}return en}function vJ(Y){let et;let en=[];for(et in Y)vW.call(Y,et)&&en.push([et,Y[et]].join(": "));return en.join("; ")}function v9(Y){let et={},en=-1;for(;++en<Y.length;)et[Y[en].toLowerCase()]=Y[en];return et}let v5=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],v6=vq(ld,"g",v5),v7=vq(lu,"div");function ye(Y){for(var et=String(Y),en=[],ei=/\r?\n|\r/g;ei.test(et);)en.push(ei.lastIndex);return en.push(et.length+1),{toPoint:eo,toOffset:ea};function eo(Y){var et=-1;if(Y>-1&&Y<en[en.length-1]){for(;++et<en.length;)if(en[et]>Y)return{line:et+1,column:Y-(en[et-1]||0)+1,offset:Y}}return{line:void 0,column:void 0,offset:void 0}}function ea(Y){var et,ei=Y&&Y.line,eo=Y&&Y.column;return"number"==typeof ei&&"number"==typeof eo&&!Number.isNaN(ei)&&!Number.isNaN(eo)&&ei-1 in en&&(et=(en[ei-2]||0)+eo-1||0),et>-1&&et<en[en.length-1]?et:-1}}let yt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},yn={}.hasOwnProperty;function yr(Y,et){let en,ei;let eo=et||{};return yf(eo)?(ei=eo,en={}):(ei=eo.file||void 0,en=eo),yo({schema:"svg"===en.space?ld:lu,file:ei,verbose:en.verbose,location:!1},Y)}function yo(Y,et){let en;switch(et.nodeName){case"#comment":{let ei=et;return en={type:"comment",value:ei.data},yl(Y,ei,en),en}case"#document":case"#document-fragment":{let ei=et,eo="mode"in ei&&("quirks"===ei.mode||"limited-quirks"===ei.mode);if(en={type:"root",children:ya(Y,et.childNodes),data:{quirksMode:eo}},Y.file&&Y.location){let et=String(Y.file),ei=ye(et);en.position={start:ei.toPoint(0),end:ei.toPoint(et.length)}}return en}case"#documentType":{let ei=et;return yl(Y,ei,en={type:"doctype"}),en}case"#text":{let ei=et;return en={type:"text",value:ei.value},yl(Y,ei,en),en}default:{let en=et;return ys(Y,en)}}}function ya(Y,et){let en=-1,ei=[];for(;++en<et.length;)ei[en]=yo(Y,et[en]);return ei}function ys(Y,et){let en=Y.schema;Y.schema=et.namespaceURI===yt.svg?ld:lu;let ei=-1,eo={};for(;++ei<et.attrs.length;){let Y=et.attrs[ei];eo[(Y.prefix?Y.prefix+":":"")+Y.name]=Y.value}let ea="svg"===Y.schema.space?v6:v7,eu=ea(et.tagName,eo,ya(Y,et.childNodes));if(yl(Y,et,eu),"template"===eu.tagName){let en=et,ei=en.sourceCodeLocation,eo=ei&&ei.startTag&&yc(ei.startTag),ea=ei&&ei.endTag&&yc(ei.endTag),ec=yo(Y,en.content);eo&&ea&&Y.file&&(ec.position={start:eo.end,end:ea.start}),eu.content=ec}return Y.schema=en,eu}function yl(Y,et,en){if("sourceCodeLocation"in et&&et.sourceCodeLocation&&Y.file){let ei=yu(Y,en,et.sourceCodeLocation);ei&&(Y.location=!0,en.position=ei)}}function yu(Y,et,en){let ei=yc(en);if("element"===et.type){let eo=et.children[et.children.length-1];if(ei&&!en.endTag&&eo&&eo.position&&eo.position.end&&(ei.end=Object.assign({},eo.position.end)),Y.verbose){let ei;let eo={};if(en.attrs)for(ei in en.attrs)yn.call(en.attrs,ei)&&(eo[lw(Y.schema,ei).property]=yc(en.attrs[ei]));et.data={position:{opening:yc(en.startTag),closing:en.endTag?yc(en.endTag):null,properties:eo}}}}return ei}function yc(Y){let et=yd({line:Y.startLine,column:Y.startCol,offset:Y.startOffset}),en=yd({line:Y.endLine,column:Y.endCol,offset:Y.endOffset});return et||en?{start:et,end:en}:void 0}function yd(Y){return Y.line&&Y.column?Y:void 0}function yf(Y){return"messages"in Y}let yh={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}},yp="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",ym={2:!0,1:!1,0:null};function yg(Y){let et=this.data("settings"),en=Object.assign({},et,Y);Object.assign(this,{Parser:function(Y,et){let ei=en.fragment?"parseFragment":"parse",eo=en.emitParseErrors?eu:null,ea=new vU({sourceCodeLocationInfo:!0,onParseError:eo,scriptingEnabled:!1});return yr(ea[ei](Y),{space:en.space,file:et,verbose:en.verbose});function eu(ei){let eo=ei.code,ea=yv(eo),eu=en[ea],ec=null==eu||eu,ed="number"==typeof ec?ec:ec?1:0,ef={line:ei.startLine,column:ei.startCol,offset:ei.startOffset},eh={line:ei.endLine,column:ei.endCol,offset:ei.endOffset};if(ed){let Y=yh[ea]||{reason:"",description:"",url:""},en=et.message(ep(Y.reason),{start:ef,end:eh});en.source="parse-error",en.ruleId=eo,en.fatal=ym[ed],en.note=ep(Y.description),en.url="url"in Y&&!1===Y.url?null:yp+eo}function ep(et){return et.replace(/%c(?:-(\d+))?/g,(et,en)=>{let eo=en?-Number.parseInt(en,10):0,ea=Y.charAt(ei.startOffset+eo);return"`"===ea?"` ` `":ea}).replace(/%x/g,()=>"0x"+Y.charCodeAt(ei.startOffset).toString(16).toUpperCase())}}}})}function yv(Y){return Y.replace(/-[a-z]/g,Y=>Y.charAt(1).toUpperCase())}let yy=Object.assign,yb=rn().use(yg,{fragment:!0}),yx="rehype-katex";function yk(Y){let et=Y||{},en=et.throwOnError||!1;return(Y,ei)=>{aO(Y,"element",Y=>{let eo;let ea=Y.properties&&Array.isArray(Y.properties.className)?Y.properties.className:[],eu=ea.includes("math-inline"),ec=ea.includes("math-display");if(!eu&&!ec)return;let ed=dX(Y,{whitespace:"pre"});try{eo=vB.renderToString(ed,yy({},et,{displayMode:ec,throwOnError:!0}))}catch(eh){let ea=eh,eu=en?"fail":"message",ef=[yx,ea.name.toLowerCase()].join(":");ei[eu](ea.message,Y.position,ef),eo=vB.renderToString(ed,yy({},et,{displayMode:ec,throwOnError:!1,strict:"ignore"}))}Y.children=vz(yb.parse(eo),!0).children})}}let yw=dF(["audio","canvas","embed","iframe","img","math","object","picture","svg","video"]),y_=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],yE=["button","input","select","textarea"],yC=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],yT=ap(["doctype","comment"]);function yS(Y={}){let et=yz(Y.newlines?yF:yB);return Y=>{yA(Y,{collapse:et,whitespace:"normal"})}}function yA(Y,et){if("children"in Y){let en=Object.assign({},et);return("root"===Y.type||yL(Y))&&(en.before=!0,en.after=!0),en.whitespace=yU(Y,et),yP(Y,en)}if("text"===Y.type){if("normal"===et.whitespace)return yM(Y,et);"nowrap"===et.whitespace&&(Y.value=et.collapse(Y.value))}return{remove:!1,ignore:yT(Y),stripAtStart:!1}}function yM(Y,et){let en=et.collapse(Y.value),ei={remove:!1,ignore:!1,stripAtStart:!1},eo=0,ea=en.length;return et.before&&yD(en.charAt(0))&&eo++,eo!==ea&&yD(en.charAt(ea-1))&&(et.after?ea--:ei.stripAtStart=!0),eo===ea?ei.remove=!0:Y.value=en.slice(eo,ea),ei}function yP(Y,et){let en=et.before,ei=et.after,eo=Y.children,ea=eo.length,eu=-1;for(;++eu<ea;){let Y=yA(eo[eu],Object.assign({},et,{before:en,after:yO(eo,eu,ei)}));Y.remove?(eo.splice(eu,1),eu--,ea--):Y.ignore||(en=Y.stripAtStart),yN(eo[eu])&&(en=!1)}return{remove:!1,ignore:!1,stripAtStart:!!(en||ei)}}function yO(Y,et,en){for(;++et<Y.length;){let en=Y[et],ei=yI(en);if(void 0===ei&&"children"in en&&!yR(en)&&(ei=yO(en.children,-1)),"boolean"==typeof ei)return ei}return en}function yI(Y){if("element"===Y.type){if(yN(Y))return!1;if(yL(Y))return!0}else if("text"===Y.type){if(!lv(Y))return!1}else if(!yT(Y))return!1}function yN(Y){return yw(Y)||dD(Y,yE)}function yL(Y){return dD(Y,y_)}function yR(Y){return!!("properties"in Y&&Y.properties&&Y.properties.hidden)||yT(Y)||dD(Y,yC)}function yD(Y){return" "===Y||"\n"===Y}function yF(Y){let et=/\r?\n|\r/.exec(Y);return et?et[0]:" "}function yB(){return" "}function yz(Y){return et;function et(et){return String(et).replace(/[\t\n\v\f\r ]+/g,Y)}}function yU(Y,et){if("tagName"in Y&&Y.properties)switch(Y.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return Y.properties.wrap?"pre-wrap":"pre";case"td":case"th":return Y.properties.noWrap?"nowrap":et.whitespace;case"textarea":return"pre-wrap"}return et.whitespace}let yH={tokenize:y5,partial:!0},yG={tokenize:y4,partial:!0},yV={tokenize:y6,partial:!0},yW={tokenize:y8,partial:!0},yq={tokenize:y7,partial:!0},yZ={tokenize:y0,previous:bo},yK={tokenize:y9,previous:ba},y$={tokenize:yJ,previous:bl},yY={},yQ={text:yY},yX=48;for(;yX<123;)yY[yX]=y$,58==++yX?yX=65:91===yX&&(yX=97);function yJ(Y,et,en){let ei,eo;let ea=this;return eu;function eu(et){return!bi(et)||!bl(ea.previous)||bu(ea.events)?en(et):(Y.enter("literalAutolink"),Y.enter("literalAutolinkEmail"),ec(et))}function ec(et){return bi(et)?(Y.consume(et),ec):64===et?(Y.consume(et),ed):en(et)}function ed(et){return 46===et?Y.check(yW,em,ef)(et):45===et||95===et?Y.check(yW,en,eh)(et):rO(et)?(!eo&&rP(et)&&(eo=!0),Y.consume(et),ed):em(et)}function ef(et){return Y.consume(et),ei=!0,eo=void 0,ed}function eh(et){return Y.consume(et),ep}function ep(et){return 46===et?Y.check(yW,en,ef)(et):ed(et)}function em(ea){return ei&&!eo?(Y.exit("literalAutolinkEmail"),Y.exit("literalAutolink"),et(ea)):en(ea)}}function y0(Y,et,en){let ei=this;return eo;function eo(et){return 87!==et&&119!==et||!bo(ei.previous)||bu(ei.events)?en(et):(Y.enter("literalAutolink"),Y.enter("literalAutolinkWww"),Y.check(yH,Y.attempt(yG,Y.attempt(yV,ea),en),en)(et))}function ea(en){return Y.exit("literalAutolinkWww"),Y.exit("literalAutolink"),et(en)}}function y9(Y,et,en){let ei=this;return eo;function eo(et){return 72!==et&&104!==et||!ba(ei.previous)||bu(ei.events)?en(et):(Y.enter("literalAutolink"),Y.enter("literalAutolinkHttp"),Y.consume(et),ea)}function ea(et){return 84===et||116===et?(Y.consume(et),eu):en(et)}function eu(et){return 84===et||116===et?(Y.consume(et),ec):en(et)}function ec(et){return 80===et||112===et?(Y.consume(et),ed):en(et)}function ed(et){return 83===et||115===et?(Y.consume(et),ef):ef(et)}function ef(et){return 58===et?(Y.consume(et),eh):en(et)}function eh(et){return 47===et?(Y.consume(et),ep):en(et)}function ep(et){return 47===et?(Y.consume(et),em):en(et)}function em(et){return null===et||rL(et)||rB(et)||rz(et)?en(et):Y.attempt(yG,Y.attempt(yV,eg),en)(et)}function eg(en){return Y.exit("literalAutolinkHttp"),Y.exit("literalAutolink"),et(en)}}function y5(Y,et,en){return ei;function ei(et){return Y.consume(et),eo}function eo(et){return 87===et||119===et?(Y.consume(et),ea):en(et)}function ea(et){return 87===et||119===et?(Y.consume(et),eu):en(et)}function eu(et){return 46===et?(Y.consume(et),ec):en(et)}function ec(Y){return null===Y||rD(Y)?en(Y):et(Y)}}function y4(Y,et,en){let ei,eo;return ea;function ea(et){return 38===et?Y.check(yq,ec,eu)(et):46===et||95===et?Y.check(yW,ec,eu)(et):null===et||rL(et)||rB(et)||45!==et&&rz(et)?ec(et):(Y.consume(et),ea)}function eu(et){return 46===et?(eo=ei,ei=void 0,Y.consume(et),ea):(95===et&&(ei=!0),Y.consume(et),ea)}function ec(Y){return eo||ei?en(Y):et(Y)}}function y6(Y,et){let en=0;return ei;function ei(eu){return 38===eu?Y.check(yq,et,eo)(eu):(40===eu&&en++,41===eu)?Y.check(yW,ea,eo)(eu):bn(eu)?et(eu):bt(eu)?Y.check(yW,et,eo)(eu):(Y.consume(eu),ei)}function eo(et){return Y.consume(et),ei}function ea(Y){return--en<0?et(Y):eo(Y)}}function y7(Y,et,en){return ei;function ei(et){return Y.consume(et),eo}function eo(et){return rM(et)?(Y.consume(et),eo):59===et?(Y.consume(et),ea):en(et)}function ea(Y){return bn(Y)?et(Y):en(Y)}}function y8(Y,et,en){return ei;function ei(et){return Y.consume(et),eo}function eo(ei){return bt(ei)?(Y.consume(ei),eo):bn(ei)?et(ei):en(ei)}}function bt(Y){return 33===Y||34===Y||39===Y||41===Y||42===Y||44===Y||46===Y||58===Y||59===Y||60===Y||63===Y||95===Y||126===Y}function bn(Y){return null===Y||60===Y||rR(Y)}function bi(Y){return 43===Y||45===Y||46===Y||95===Y||rO(Y)}function bo(Y){return null===Y||40===Y||42===Y||95===Y||126===Y||rR(Y)}function ba(Y){return null===Y||!rM(Y)}function bl(Y){return 47!==Y&&ba(Y)}function bu(Y){let et=Y.length,en=!1;for(;et--;){let ei=Y[et][1];if(("labelLink"===ei.type||"labelImage"===ei.type)&&!ei._balanced){en=!0;break}if(ei._gfmAutolinkLiteralWalkedInto){en=!1;break}}return Y.length>0&&!en&&(Y[Y.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),en}yY[43]=y$,yY[45]=y$,yY[46]=y$,yY[95]=y$,yY[72]=[y$,yK],yY[104]=[y$,yK],yY[87]=[y$,yZ],yY[119]=[y$,yZ];let bd={tokenize:bE,partial:!0};function bf(){return{document:{91:{tokenize:bb,continuation:{tokenize:bk},exit:b_}},text:{91:{tokenize:bg},93:{add:"after",tokenize:bh,resolveTo:bp}}}}function bh(Y,et,en){let ei;let eo=this,ea=eo.events.length,eu=eo.parser.gfmFootnotes||(eo.parser.gfmFootnotes=[]);for(;ea--;){let Y=eo.events[ea][1];if("labelImage"===Y.type){ei=Y;break}if("gfmFootnoteCall"===Y.type||"labelLink"===Y.type||"label"===Y.type||"image"===Y.type||"link"===Y.type)break}return ec;function ec(ea){if(!ei||!ei._balanced)return en(ea);let ec=iN(eo.sliceSerialize({start:ei.end,end:eo.now()}));return 94===ec.charCodeAt(0)&&eu.includes(ec.slice(1))?(Y.enter("gfmFootnoteCallLabelMarker"),Y.consume(ea),Y.exit("gfmFootnoteCallLabelMarker"),et(ea)):en(ea)}}function bp(Y,et){let en,ei=Y.length;for(;ei--;)if("labelImage"===Y[ei][1].type&&"enter"===Y[ei][0]){en=Y[ei][1];break}Y[ei+1][1].type="data",Y[ei+3][1].type="gfmFootnoteCallLabelMarker";let eo={type:"gfmFootnoteCall",start:Object.assign({},Y[ei+3][1].start),end:Object.assign({},Y[Y.length-1][1].end)},ea={type:"gfmFootnoteCallMarker",start:Object.assign({},Y[ei+3][1].end),end:Object.assign({},Y[ei+3][1].end)};ea.end.column++,ea.end.offset++,ea.end._bufferIndex++;let eu={type:"gfmFootnoteCallString",start:Object.assign({},ea.end),end:Object.assign({},Y[Y.length-1][1].start)},ec={type:"chunkString",contentType:"string",start:Object.assign({},eu.start),end:Object.assign({},eu.end)},ed=[Y[ei+1],Y[ei+2],["enter",eo,et],Y[ei+3],Y[ei+4],["enter",ea,et],["exit",ea,et],["enter",eu,et],["enter",ec,et],["exit",ec,et],["exit",eu,et],Y[Y.length-2],Y[Y.length-1],["exit",eo,et]];return Y.splice(ei,Y.length-ei+1,...ed),Y}function bg(Y,et,en){let ei;let eo=this,ea=eo.parser.gfmFootnotes||(eo.parser.gfmFootnotes=[]),eu=0;return ec;function ec(et){return Y.enter("gfmFootnoteCall"),Y.enter("gfmFootnoteCallLabelMarker"),Y.consume(et),Y.exit("gfmFootnoteCallLabelMarker"),ed}function ed(et){return 94!==et?en(et):(Y.enter("gfmFootnoteCallMarker"),Y.consume(et),Y.exit("gfmFootnoteCallMarker"),Y.enter("gfmFootnoteCallString"),Y.enter("chunkString").contentType="string",ef)}function ef(et){let ec;return null===et||91===et||eu++>999?en(et):93===et?ei?(Y.exit("chunkString"),ec=Y.exit("gfmFootnoteCallString"),ea.includes(iN(eo.sliceSerialize(ec)))?ep(et):en(et)):en(et):(Y.consume(et),rR(et)||(ei=!0),92===et?eh:ef)}function eh(et){return 91===et||92===et||93===et?(Y.consume(et),eu++,ef):ef(et)}function ep(en){return Y.enter("gfmFootnoteCallLabelMarker"),Y.consume(en),Y.exit("gfmFootnoteCallLabelMarker"),Y.exit("gfmFootnoteCall"),et}}function bb(Y,et,en){let ei,eo;let ea=this,eu=ea.parser.gfmFootnotes||(ea.parser.gfmFootnotes=[]),ec=0;return ed;function ed(et){return Y.enter("gfmFootnoteDefinition")._container=!0,Y.enter("gfmFootnoteDefinitionLabel"),Y.enter("gfmFootnoteDefinitionLabelMarker"),Y.consume(et),Y.exit("gfmFootnoteDefinitionLabelMarker"),ef}function ef(et){return 94===et?(Y.enter("gfmFootnoteDefinitionMarker"),Y.consume(et),Y.exit("gfmFootnoteDefinitionMarker"),Y.enter("gfmFootnoteDefinitionLabelString"),eh):en(et)}function eh(et){let eu;return null===et||91===et||ec>999?en(et):93===et?eo?(eu=Y.exit("gfmFootnoteDefinitionLabelString"),ei=iN(ea.sliceSerialize(eu)),Y.enter("gfmFootnoteDefinitionLabelMarker"),Y.consume(et),Y.exit("gfmFootnoteDefinitionLabelMarker"),Y.exit("gfmFootnoteDefinitionLabel"),eg):en(et):rD(et)?(Y.enter("lineEnding"),Y.consume(et),Y.exit("lineEnding"),ec++,eh):(Y.enter("chunkString").contentType="string",ep(et))}function ep(et){return null===et||rD(et)||91===et||93===et||ec>999?(Y.exit("chunkString"),eh(et)):(rR(et)||(eo=!0),ec++,Y.consume(et),92===et?em:ep)}function em(et){return 91===et||92===et||93===et?(Y.consume(et),ec++,ep):ep(et)}function eg(et){return 58===et?(Y.enter("definitionMarker"),Y.consume(et),Y.exit("definitionMarker"),rH(Y,ey,"gfmFootnoteDefinitionWhitespace")):en(et)}function ey(Y){return eu.includes(ei)||eu.push(ei),et(Y)}}function bk(Y,et,en){return Y.check(r$,et,Y.attempt(bd,et,en))}function b_(Y){Y.exit("gfmFootnoteDefinition")}function bE(Y,et,en){let ei=this;return rH(Y,eo,"gfmFootnoteDefinitionIndent",5);function eo(Y){let eo=ei.events[ei.events.length-1];return eo&&"gfmFootnoteDefinitionIndent"===eo[1].type&&4===eo[2].sliceSerialize(eo[1],!0).length?et(Y):en(Y)}}function bC(Y={}){let et=Y.singleTilde,en={tokenize:eo,resolveAll:ei};return null==et&&(et=!0),{text:{126:en},insideSpan:{null:[en]},attentionMarkers:{null:[126]}};function ei(Y,et){let en=-1;for(;++en<Y.length;)if("enter"===Y[en][0]&&"strikethroughSequenceTemporary"===Y[en][1].type&&Y[en][1]._close){let ei=en;for(;ei--;)if("exit"===Y[ei][0]&&"strikethroughSequenceTemporary"===Y[ei][1].type&&Y[ei][1]._open&&Y[en][1].end.offset-Y[en][1].start.offset==Y[ei][1].end.offset-Y[ei][1].start.offset){Y[en][1].type="strikethroughSequence",Y[ei][1].type="strikethroughSequence";let eo={type:"strikethrough",start:Object.assign({},Y[ei][1].start),end:Object.assign({},Y[en][1].end)},ea={type:"strikethroughText",start:Object.assign({},Y[ei][1].end),end:Object.assign({},Y[en][1].start)},eu=[["enter",eo,et],["enter",Y[ei][1],et],["exit",Y[ei][1],et],["enter",ea,et]];rk(eu,eu.length,0,io(et.parser.constructs.insideSpan.null,Y.slice(ei+1,en),et)),rk(eu,eu.length,0,[["exit",ea,et],["enter",Y[en][1],et],["exit",Y[en][1],et],["exit",eo,et]]),rk(Y,ei-1,en-ei+3,eu),en=ei+eu.length-2;break}}for(en=-1;++en<Y.length;)"strikethroughSequenceTemporary"===Y[en][1].type&&(Y[en][1].type="data");return Y}function eo(Y,en,ei){let eo=this.previous,ea=this.events,eu=0;return ec;function ec(et){return 126===eo&&"characterEscape"!==ea[ea.length-1][1].type?ei(et):(Y.enter("strikethroughSequenceTemporary"),ed(et))}function ed(ea){let ec=oT(eo);if(126===ea)return eu>1?ei(ea):(Y.consume(ea),eu++,ed);if(eu<2&&!et)return ei(ea);let ef=Y.exit("strikethroughSequenceTemporary"),eh=oT(ea);return ef._open=!eh||2===eh&&!!ec,ef._close=!ec||2===ec&&!!eh,en(ea)}}}let bT={flow:{null:{tokenize:bM,resolve:bA}}},bS={tokenize:bP,partial:!0};function bA(Y,et){let en,ei,eo,ea,eu,ec,ed,ef=-1;for(;++ef<Y.length;){let eh=Y[ef][1];if(eo&&("temporaryTableCellContent"===eh.type&&(ea=ea||ef,eu=ef),("tableCellDivider"===eh.type||"tableRow"===eh.type)&&eu)){let en={type:"tableContent",start:Y[ea][1].start,end:Y[eu][1].end},ei={type:"chunkText",start:en.start,end:en.end,contentType:"text"};Y.splice(ea,eu-ea+1,["enter",en,et],["enter",ei,et],["exit",ei,et],["exit",en,et]),ef-=eu-ea-3,ea=void 0,eu=void 0}if("exit"===Y[ef][0]&&void 0!==ec&&ec+(ed?0:1)<ef&&("tableCellDivider"===eh.type||"tableRow"===eh.type&&(ec+3<ef||"whitespace"!==Y[ec][1].type))){let eo={type:ei?"tableDelimiter":en?"tableHeader":"tableData",start:Y[ec][1].start,end:Y[ef][1].end};Y.splice(ef+("tableCellDivider"===eh.type?1:0),0,["exit",eo,et]),Y.splice(ec,0,["enter",eo,et]),ef+=2,ec=ef+1,ed=!0}"tableRow"===eh.type&&(eo="enter"===Y[ef][0])&&(ec=ef+1,ed=!1),"tableDelimiterRow"===eh.type&&(ei="enter"===Y[ef][0])&&(ec=ef+1,ed=!1),"tableHead"===eh.type&&(en="enter"===Y[ef][0])}return Y}function bM(Y,et,en){let ei,eo;let ea=this,eu=[],ec=0;return ed;function ed(et){return(Y.enter("table")._align=eu,Y.enter("tableHead"),Y.enter("tableRow"),124===et)?ef(et):(ec++,Y.enter("temporaryTableCellContent"),em(et))}function ef(et){return Y.enter("tableCellDivider"),Y.consume(et),Y.exit("tableCellDivider"),ei=!0,eh}function eh(et){return null===et||rD(et)?ey(et):rF(et)?(Y.enter("whitespace"),Y.consume(et),ep):(ei&&(ei=void 0,ec++),124===et)?ef(et):(Y.enter("temporaryTableCellContent"),em(et))}function ep(et){return rF(et)?(Y.consume(et),ep):(Y.exit("whitespace"),eh(et))}function em(et){return null===et||124===et||rR(et)?(Y.exit("temporaryTableCellContent"),eh(et)):(Y.consume(et),92===et?eg:em)}function eg(et){return 92===et||124===et?(Y.consume(et),em):em(et)}function ey(et){if(null===et)return en(et);Y.exit("tableRow"),Y.exit("tableHead");let ei=ea.interrupt;return ea.interrupt=!0,Y.attempt({tokenize:eR,partial:!0},function(et){return ea.interrupt=ei,Y.enter("tableDelimiterRow"),eb(et)},function(Y){return ea.interrupt=ei,en(Y)})(et)}function eb(et){return null===et||rD(et)?eC(et):rF(et)?(Y.enter("whitespace"),Y.consume(et),ek):45===et?(Y.enter("tableDelimiterFiller"),Y.consume(et),eo=!0,eu.push("none"),ew):58===et?(Y.enter("tableDelimiterAlignment"),Y.consume(et),Y.exit("tableDelimiterAlignment"),eu.push("left"),e_):124===et?(Y.enter("tableCellDivider"),Y.consume(et),Y.exit("tableCellDivider"),eb):en(et)}function ek(et){return rF(et)?(Y.consume(et),ek):(Y.exit("whitespace"),eb(et))}function ew(et){return 45===et?(Y.consume(et),ew):(Y.exit("tableDelimiterFiller"),58===et)?(Y.enter("tableDelimiterAlignment"),Y.consume(et),Y.exit("tableDelimiterAlignment"),eu[eu.length-1]="left"===eu[eu.length-1]?"center":"right",eE):eb(et)}function e_(et){return 45===et?(Y.enter("tableDelimiterFiller"),Y.consume(et),eo=!0,ew):en(et)}function eE(et){return null===et||rD(et)?eC(et):rF(et)?(Y.enter("whitespace"),Y.consume(et),ek):124===et?(Y.enter("tableCellDivider"),Y.consume(et),Y.exit("tableCellDivider"),eb):en(et)}function eC(et){return(Y.exit("tableDelimiterRow"),eo&&ec===eu.length)?null===et?eT(et):Y.check(bS,eT,Y.attempt({tokenize:eR,partial:!0},rH(Y,eS,"linePrefix",4),eT))(et):en(et)}function eT(en){return Y.exit("table"),et(en)}function eS(et){return Y.enter("tableBody"),eA(et)}function eA(et){return(Y.enter("tableRow"),124===et)?eM(et):(Y.enter("temporaryTableCellContent"),eO(et))}function eM(et){return Y.enter("tableCellDivider"),Y.consume(et),Y.exit("tableCellDivider"),eP}function eP(et){return null===et||rD(et)?eN(et):rF(et)?(Y.enter("whitespace"),Y.consume(et),ej):124===et?eM(et):(Y.enter("temporaryTableCellContent"),eO(et))}function ej(et){return rF(et)?(Y.consume(et),ej):(Y.exit("whitespace"),eP(et))}function eO(et){return null===et||124===et||rR(et)?(Y.exit("temporaryTableCellContent"),eP(et)):(Y.consume(et),92===et?eI:eO)}function eI(et){return 92===et||124===et?(Y.consume(et),eO):eO(et)}function eN(et){return(Y.exit("tableRow"),null===et)?eL(et):Y.check(bS,eL,Y.attempt({tokenize:eR,partial:!0},rH(Y,eA,"linePrefix",4),eL))(et)}function eL(et){return Y.exit("tableBody"),eT(et)}function eR(Y,et,en){return ei;function ei(et){return Y.enter("lineEnding"),Y.consume(et),Y.exit("lineEnding"),rH(Y,eo,"linePrefix")}function eo(ei){if(ea.parser.lazy[ea.now().line]||null===ei||rD(ei))return en(ei);let eo=ea.events[ea.events.length-1];return!ea.parser.constructs.disable.null.includes("codeIndented")&&eo&&"linePrefix"===eo[1].type&&eo[2].sliceSerialize(eo[1],!0).length>=4?en(ei):(ea._gfmTableDynamicInterruptHack=!0,Y.check(ea.parser.constructs.flow,function(Y){return ea._gfmTableDynamicInterruptHack=!1,en(Y)},function(Y){return ea._gfmTableDynamicInterruptHack=!1,et(Y)})(ei))}}}function bP(Y,et,en){let ei=0;return eo;function eo(et){return Y.enter("check"),Y.consume(et),ea}function ea(eo){return -1===eo||32===eo?(Y.consume(eo),4==++ei?et:ea):null===eo||rR(eo)?et(eo):en(eo)}}let bj={tokenize:bI},bO={text:{91:bj}};function bI(Y,et,en){let ei=this;return eo;function eo(et){return null===ei.previous&&ei._gfmTasklistFirstContentOfListItem?(Y.enter("taskListCheck"),Y.enter("taskListCheckMarker"),Y.consume(et),Y.exit("taskListCheckMarker"),ea):en(et)}function ea(et){return rR(et)?(Y.enter("taskListCheckValueUnchecked"),Y.consume(et),Y.exit("taskListCheckValueUnchecked"),eu):88===et||120===et?(Y.enter("taskListCheckValueChecked"),Y.consume(et),Y.exit("taskListCheckValueChecked"),eu):en(et)}function eu(ei){return 93===ei?(Y.enter("taskListCheckMarker"),Y.consume(ei),Y.exit("taskListCheckMarker"),Y.exit("taskListCheck"),Y.check({tokenize:bN},et,en)):en(ei)}}function bN(Y,et,en){let ei=this;return rH(Y,eo,"whitespace");function eo(Y){let eo=ei.events[ei.events.length-1];return(eo&&"whitespace"===eo[1].type||rD(Y))&&null!==Y?et(Y):en(Y)}}function bL(Y){return rC([yQ,bf(),bC(Y),bT,bO])}function bR(Y,et){let en=String(Y);if("string"!=typeof et)throw TypeError("Expected character");let ei=0,eo=en.indexOf(et);for(;-1!==eo;)ei++,eo=en.indexOf(et,eo+et.length);return ei}function bD(Y){if("string"!=typeof Y)throw TypeError("Expected a string");return Y.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}let bF={}.hasOwnProperty,bB=function(Y,et,en,ei){let eo,ea;"string"==typeof et||et instanceof RegExp?(ea=[[et,en]],eo=ei):(ea=et,eo=en),eo||(eo={});let eu=ap(eo.ignore||[]),ec=bU(ea),ed=-1;for(;++ed<ec.length;)aP(Y,"text",ef);return Y;function ef(Y,et){let en,ei=-1;for(;++ei<et.length;){let Y=et[ei];if(eu(Y,en?en.children.indexOf(Y):void 0,en))return;en=Y}if(en)return eh(Y,et)}function eh(Y,et){let en;let ei=et[et.length-1],eo=ec[ed][0],ea=ec[ed][1],eu=0,ef=ei.children.indexOf(Y),eh=!1,ep=[];eo.lastIndex=0;let em=eo.exec(Y.value);for(;em;){en=em.index;let ei={index:em.index,input:em.input,stack:[...et,Y]},ec=ea(...em,ei);if("string"==typeof ec&&(ec=ec.length>0?{type:"text",value:ec}:void 0),!1!==ec&&(eu!==en&&ep.push({type:"text",value:Y.value.slice(eu,en)}),Array.isArray(ec)?ep.push(...ec):ec&&ep.push(ec),eu=en+em[0].length,eh=!0),!eo.global)break;em=eo.exec(Y.value)}return eh?(eu<Y.value.length&&ep.push({type:"text",value:Y.value.slice(eu)}),ei.children.splice(ef,1,...ep)):ep=[Y],ef+ep.length}};function bU(Y){let et=[];if("object"!=typeof Y)throw TypeError("Expected array or object as schema");if(Array.isArray(Y)){let en=-1;for(;++en<Y.length;)et.push([bH(Y[en][0]),bG(Y[en][1])])}else{let en;for(en in Y)bF.call(Y,en)&&et.push([bH(en),bG(Y[en])])}return et}function bH(Y){return"string"==typeof Y?RegExp(bD(Y),"g"):Y}function bG(Y){return"function"==typeof Y?Y:()=>Y}let bV="phrasing",bW=["autolink","link","image","label"],bq={transforms:[b0],enter:{literalAutolink:bK,literalAutolinkEmail:b$,literalAutolinkHttp:b$,literalAutolinkWww:b$},exit:{literalAutolink:bJ,literalAutolinkEmail:bX,literalAutolinkHttp:bY,literalAutolinkWww:bQ}},bZ={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:bV,notInConstruct:bW},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:bV,notInConstruct:bW},{character:":",before:"[ps]",after:"\\/",inConstruct:bV,notInConstruct:bW}]};function bK(Y){this.enter({type:"link",title:null,url:"",children:[]},Y)}function b$(Y){this.config.enter.autolinkProtocol.call(this,Y)}function bY(Y){this.config.exit.autolinkProtocol.call(this,Y)}function bQ(Y){this.config.exit.data.call(this,Y);let et=this.stack[this.stack.length-1];et.url="http://"+this.sliceSerialize(Y)}function bX(Y){this.config.exit.autolinkEmail.call(this,Y)}function bJ(Y){this.exit(Y)}function b0(Y){bB(Y,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,b9],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,b5]],{ignore:["link","linkReference"]})}function b9(Y,et,en,ei,eo){let ea="";if(!b6(eo)||(/^w/i.test(et)&&(en=et+en,et="",ea="http://"),!b4(en)))return!1;let eu=b3(en+ei);if(!eu[0])return!1;let ec={type:"link",title:null,url:ea+et+eu[0],children:[{type:"text",value:et+eu[0]}]};return eu[1]?[ec,{type:"text",value:eu[1]}]:ec}function b5(Y,et,en,ei){return!(!b6(ei,!0)||/[_-\d]$/.test(en))&&{type:"link",title:null,url:"mailto:"+et+"@"+en,children:[{type:"text",value:et+"@"+en}]}}function b4(Y){let et=Y.split(".");return!(et.length<2||et[et.length-1]&&(/_/.test(et[et.length-1])||!/[a-zA-Z\d]/.test(et[et.length-1]))||et[et.length-2]&&(/_/.test(et[et.length-2])||!/[a-zA-Z\d]/.test(et[et.length-2])))}function b3(Y){let et,en,ei,eo;let ea=/[!"&'),.:;<>?\]}]+$/.exec(Y);if(ea)for(Y=Y.slice(0,ea.index),et=(eo=ea[0]).indexOf(")"),en=bR(Y,"("),ei=bR(Y,")");-1!==et&&en>ei;)Y+=eo.slice(0,et+1),et=(eo=eo.slice(et+1)).indexOf(")"),ei++;return[Y,eo]}function b6(Y,et){let en=Y.input.charCodeAt(Y.index-1);return(0===Y.index||rB(en)||rz(en))&&(!et||47!==en)}function b7(Y){return Y.label||!Y.identifier?Y.label||"":o7(Y.identifier)}function b8(Y,et,en){let ei=et.indexStack,eo=Y.children||[],ea=lJ(en),eu=[],ec=-1;for(ei.push(-1);++ec<eo.length;){let en=eo[ec];ei[ei.length-1]=ec,eu.push(ea.move(et.handle(en,Y,et,{before:"\n",after:"\n",...ea.current()}))),"list"!==en.type&&(et.bulletLastUsed=void 0),ec<eo.length-1&&eu.push(ea.move(ed(en,eo[ec+1])))}return ei.pop(),eu.join("");function ed(en,ei){let eo=et.join.length;for(;eo--;){let ea=et.join[eo](en,ei,Y,et);if(!0===ea||1===ea)break;if("number"==typeof ea)return"\n".repeat(1+ea);if(!1===ea)return"\n\n<!---->\n\n"}return"\n\n"}}let xn=/\r?\n|\r/g;function xr(Y,et){let en;let ei=[],eo=0,ea=0;for(;en=xn.exec(Y);)eu(Y.slice(eo,en.index)),ei.push(en[0]),eo=en.index+en[0].length,ea++;return eu(Y.slice(eo)),ei.join("");function eu(Y){ei.push(et(Y,ea,!Y))}}function xo(){return{enter:{gfmFootnoteDefinition:Y,gfmFootnoteDefinitionLabelString:et,gfmFootnoteCall:eo,gfmFootnoteCallString:ea},exit:{gfmFootnoteDefinition:ei,gfmFootnoteDefinitionLabelString:en,gfmFootnoteCall:ec,gfmFootnoteCallString:eu}};function Y(Y){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},Y)}function et(){this.buffer()}function en(Y){let et=this.resume(),en=this.stack[this.stack.length-1];en.label=et,en.identifier=iN(this.sliceSerialize(Y)).toLowerCase()}function ei(Y){this.exit(Y)}function eo(Y){this.enter({type:"footnoteReference",identifier:"",label:""},Y)}function ea(){this.buffer()}function eu(Y){let et=this.resume(),en=this.stack[this.stack.length-1];en.label=et,en.identifier=iN(this.sliceSerialize(Y)).toLowerCase()}function ec(Y){this.exit(Y)}}function xa(){return Y.peek=et,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:en,footnoteReference:Y}};function Y(Y,et,en,ei){let eo=lJ(ei),ea=eo.move("[^"),eu=en.enter("footnoteReference"),ec=en.enter("reference");return ea+=eo.move(lY(en,b7(Y),{...eo.current(),before:ea,after:"]"})),ec(),eu(),ea+=eo.move("]")}function et(){return"["}function en(Y,et,en,ei){let eo=lJ(ei),ea=eo.move("[^"),eu=en.enter("footnoteDefinition"),ec=en.enter("label");return ea+=eo.move(lY(en,b7(Y),{...eo.current(),before:ea,after:"]"})),ec(),ea+=eo.move("]:"+(Y.children&&Y.children.length>0?" ":"")),eo.shift(4),ea+=eo.move(xr(b8(Y,en,eo.current()),ed)),eu(),ea;function ed(Y,et,en){return et?(en?"":" ")+Y:Y}}}function xs(Y,et,en){let ei=et.indexStack,eo=Y.children||[],ea=[],eu=-1,ec=en.before;ei.push(-1);let ed=lJ(en);for(;++eu<eo.length;){let ef;let eh=eo[eu];if(ei[ei.length-1]=eu,eu+1<eo.length){let en=et.handle.handlers[eo[eu+1].type];en&&en.peek&&(en=en.peek),ef=en?en(eo[eu+1],Y,et,{before:"",after:"",...ed.current()}).charAt(0):""}else ef=en.after;ea.length>0&&("\r"===ec||"\n"===ec)&&"html"===eh.type&&(ea[ea.length-1]=ea[ea.length-1].replace(/(\r?\n|\r)$/," "),ec=" ",(ed=lJ(en)).move(ea.join(""))),ea.push(ed.move(et.handle(eh,Y,et,{...ed.current(),before:ec,after:ef}))),ec=ea[ea.length-1].slice(-1)}return ei.pop(),ea.join("")}let xl={canContainEols:["delete"],enter:{strikethrough:xc},exit:{strikethrough:xd}},xu={unsafe:[{character:"~",inConstruct:"phrasing"}],handlers:{delete:xf}};function xc(Y){this.enter({type:"delete",children:[]},Y)}function xd(Y){this.exit(Y)}function xf(Y,et,en,ei){let eo=lJ(ei),ea=en.enter("emphasis"),eu=eo.move("~~");return eu+=xs(Y,en,{...eo.current(),before:eu,after:"~"})+eo.move("~~"),ea(),eu}function xh(){return"~"}function xp(Y,et,en){let ei=Y.value||"",eo="`",ea=-1;for(;RegExp("(^|[^`])"+eo+"([^`]|$)").test(ei);)eo+="`";for(/[^ \r\n]/.test(ei)&&(/^[ \r\n]/.test(ei)&&/[ \r\n]$/.test(ei)||/^`|`$/.test(ei))&&(ei=" "+ei+" ");++ea<en.unsafe.length;){let Y;let et=en.unsafe[ea],eo=lZ(et);if(et.atBreak)for(;Y=eo.exec(ei);){let et=Y.index;10===ei.charCodeAt(et)&&13===ei.charCodeAt(et-1)&&et--,ei=ei.slice(0,et)+" "+ei.slice(Y.index+1)}}return eo+ei+eo}function xm(){return"`"}function xv(Y,et={}){let en=(et.align||[]).concat(),ei=et.stringLength||xb,eo=[],ea=[],eu=[],ec=[],ed=0,ef=-1;for(;++ef<Y.length;){let en=[],eo=[],eh=-1;for(Y[ef].length>ed&&(ed=Y[ef].length);++eh<Y[ef].length;){let ea=xy(Y[ef][eh]);if(!1!==et.alignDelimiters){let Y=ei(ea);eo[eh]=Y,(void 0===ec[eh]||Y>ec[eh])&&(ec[eh]=Y)}en.push(ea)}ea[ef]=en,eu[ef]=eo}let eh=-1;if("object"==typeof en&&"length"in en)for(;++eh<ed;)eo[eh]=xx(en[eh]);else{let Y=xx(en);for(;++eh<ed;)eo[eh]=Y}eh=-1;let ep=[],em=[];for(;++eh<ed;){let Y=eo[eh],en="",ei="";99===Y?(en=":",ei=":"):108===Y?en=":":114===Y&&(ei=":");let ea=!1===et.alignDelimiters?1:Math.max(1,ec[eh]-en.length-ei.length),eu=en+"-".repeat(ea)+ei;!1!==et.alignDelimiters&&((ea=en.length+ea+ei.length)>ec[eh]&&(ec[eh]=ea),em[eh]=ea),ep[eh]=eu}ea.splice(1,0,ep),eu.splice(1,0,em),ef=-1;let eg=[];for(;++ef<ea.length;){let Y=ea[ef],en=eu[ef];eh=-1;let ei=[];for(;++eh<ed;){let ea=Y[eh]||"",eu="",ef="";if(!1!==et.alignDelimiters){let Y=ec[eh]-(en[eh]||0),et=eo[eh];114===et?eu=" ".repeat(Y):99===et?Y%2?(eu=" ".repeat(Y/2+.5),ef=" ".repeat(Y/2-.5)):ef=eu=" ".repeat(Y/2):ef=" ".repeat(Y)}!1===et.delimiterStart||eh||ei.push("|"),!1!==et.padding&&!(!1===et.alignDelimiters&&""===ea)&&(!1!==et.delimiterStart||eh)&&ei.push(" "),!1!==et.alignDelimiters&&ei.push(eu),ei.push(ea),!1!==et.alignDelimiters&&ei.push(ef),!1!==et.padding&&ei.push(" "),(!1!==et.delimiterEnd||eh!==ed-1)&&ei.push("|")}eg.push(!1===et.delimiterEnd?ei.join("").replace(/ +$/,""):ei.join(""))}return eg.join("\n")}function xy(Y){return null==Y?"":String(Y)}function xb(Y){return Y.length}function xx(Y){let et="string"==typeof Y?Y.codePointAt(0):0;return 67===et||99===et?99:76===et||108===et?108:82===et||114===et?114:0}xf.peek=xh,xp.peek=xm;let xk={enter:{table:xw,tableData:xT,tableHeader:xT,tableRow:xE},exit:{codeText:xS,table:x_,tableData:xC,tableHeader:xC,tableRow:xC}};function xw(Y){let et=Y._align;this.enter({type:"table",align:et.map(Y=>"none"===Y?null:Y),children:[]},Y),this.setData("inTable",!0)}function x_(Y){this.exit(Y),this.setData("inTable")}function xE(Y){this.enter({type:"tableRow",children:[]},Y)}function xC(Y){this.exit(Y)}function xT(Y){this.enter({type:"tableCell",children:[]},Y)}function xS(Y){let et=this.resume();this.getData("inTable")&&(et=et.replace(/\\([\\|])/g,xA));let en=this.stack[this.stack.length-1];en.value=et,this.exit(Y)}function xA(Y,et){return"|"===et?et:Y}function xM(Y){let et=Y||{},en=et.tableCellPadding,ei=et.tablePipeAlign,eo=et.stringLength,ea=en?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:eu,tableRow:ec,tableCell:ed,inlineCode:em}};function eu(Y,et,en,ei){return ef(eh(Y,en,ei),Y.align)}function ec(Y,et,en,ei){let eo=ep(Y,en,ei),ea=ef([eo]);return ea.slice(0,ea.indexOf("\n"))}function ed(Y,et,en,ei){let eo=en.enter("tableCell"),eu=en.enter("phrasing"),ec=xs(Y,en,{...ei,before:ea,after:ea});return eu(),eo(),ec}function ef(Y,et){return xv(Y,{align:et,alignDelimiters:ei,padding:en,stringLength:eo})}function eh(Y,et,en){let ei=Y.children,eo=-1,ea=[],eu=et.enter("table");for(;++eo<ei.length;)ea[eo]=ep(ei[eo],et,en);return eu(),ea}function ep(Y,et,en){let ei=Y.children,eo=-1,ea=[],eu=et.enter("tableRow");for(;++eo<ei.length;)ea[eo]=ed(ei[eo],Y,et,en);return eu(),ea}function em(Y,et,en){let ei=xp(Y,et,en);return en.stack.includes("tableCell")&&(ei=ei.replace(/\|/g,"\\$&")),ei}}function xP(Y){let et=Y.options.bullet||"*";if("*"!==et&&"+"!==et&&"-"!==et)throw Error("Cannot serialize items with `"+et+"` for `options.bullet`, expected `*`, `+`, or `-`");return et}function xO(Y){let et=Y.options.listItemIndent||"tab";if(1===et||"1"===et)return"one";if("tab"!==et&&"one"!==et&&"mixed"!==et)throw Error("Cannot serialize items with `"+et+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return et}function xI(Y,et,en,ei){let eo=xO(en),ea=en.bulletCurrent||xP(en);et&&"list"===et.type&&et.ordered&&(ea=("number"==typeof et.start&&et.start>-1?et.start:1)+(!1===en.options.incrementListMarker?0:et.children.indexOf(Y))+ea);let eu=ea.length+1;("tab"===eo||"mixed"===eo&&(et&&"list"===et.type&&et.spread||Y.spread))&&(eu=4*Math.ceil(eu/4));let ec=lJ(ei);ec.move(ea+" ".repeat(eu-ea.length)),ec.shift(eu);let ed=en.enter("listItem"),ef=xr(b8(Y,en,ec.current()),eh);return ed(),ef;function eh(Y,et,en){return et?(en?"":" ".repeat(eu))+Y:(en?ea:ea+" ".repeat(eu-ea.length))+Y}}let xN={exit:{taskListCheckValueChecked:xR,taskListCheckValueUnchecked:xR,paragraph:xD}},xL={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:xF}};function xR(Y){let et=this.stack[this.stack.length-2];et.checked="taskListCheckValueChecked"===Y.type}function xD(Y){let et;let en=this.stack[this.stack.length-2],ei=this.stack[this.stack.length-1],eo=en.children,ea=ei.children[0],eu=-1;if(en&&"listItem"===en.type&&"boolean"==typeof en.checked&&ea&&"text"===ea.type){for(;++eu<eo.length;){let Y=eo[eu];if("paragraph"===Y.type){et=Y;break}}et===ei&&(ea.value=ea.value.slice(1),0===ea.value.length?ei.children.shift():ei.position&&ea.position&&"number"==typeof ea.position.start.offset&&(ea.position.start.column++,ea.position.start.offset++,ei.position.start=Object.assign({},ea.position.start)))}this.exit(Y)}function xF(Y,et,en,ei){let eo=Y.children[0],ea="boolean"==typeof Y.checked&&eo&&"paragraph"===eo.type,eu="["+(Y.checked?"x":" ")+"] ",ec=lJ(ei);ea&&ec.move(eu);let ed=xI(Y,et,en,{...ei,...ec.current()});return ea&&(ed=ed.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,ef)),ed;function ef(Y){return Y+eu}}function xB(){return[bq,xo(),xl,xk,xN]}function xz(Y){return{extensions:[bZ,xa(),xu,xM(Y),xL]}}function xU(Y={}){let et=this.data();function en(Y,en){let ei=et[Y]?et[Y]:et[Y]=[];ei.push(en)}en("micromarkExtensions",bL(Y)),en("fromMarkdownExtensions",xB()),en("toMarkdownExtensions",xz(Y))}function xH(Y){return"children"in Y?xV(Y):"value"in Y?Y.value:""}function xG(Y){return"text"===Y.type?Y.value:"children"in Y?xV(Y):""}function xV(Y){let et=-1,en=[];for(;++et<Y.children.length;)en[et]=xG(Y.children[et]);return en.join("")}function xW(Y){var et=Y.inline,en=Y.node,ei=Y.className,eo=Y.children,ea=(0,nC._)(Y,["inline","node","className","children"]),eu=(0,eC.useContext)(kj);if(et){if(null!=eu){var ec=kL(xH(en)),ed=eu.displayedCitations;if(ec>=0&&ec<ed.length)return(0,e_.jsx)(kR,{index:ec,displayInfo:ed[ec]})}return(0,e_.jsx)("code",(0,eb._)((0,ey._)({className:ei},ea),{children:eo}))}var ef,eh=null===(ef=null==ei?void 0:ei.split(" ").filter(function(Y){return Y.startsWith("language-")}))||void 0===ef?void 0:ef[0],ep=eh?eh.split("-")[1]:"";return(0,e_.jsx)(t_,{language:ep,className:ei,content:xH(en),children:eo})}var xq=en(82473),xZ=en(61236),xK=en(15635),x$=en(17130),xY=en(42798),xQ=en(72290),xX="sandbox:";function xJ(Y){var et=Y.messageId,en=Y.clientThreadId,ei=Y.href,eo=(0,nC._)(Y,["messageId","clientThreadId","href"]),ea=null!==(0,eC.useContext)(eF.gB),eu=(0,xq.NL)(),ec=(0,ek._)((0,eC.useState)(!1),2),ed=ec[0],ef=ec[1],eh=ei.substring(xX.length),ep=eL.tQ.getServerThreadId(en),em=(0,eO.Z)(),eg=(0,eC.useCallback)(function(Y){var et=document.createElement("a");et.href=Y,et.click(),ef(!1)},[]),ew=x9(ed&&!ea,et,ep,eh,(0,eC.useCallback)(function(Y){ef(!1),xQ.m.danger(Y)},[]),eg).data,eE=(0,eC.useCallback)(function(){var Y=(0,e4._)(function(Y){return(0,ta.Jh)(this,function(ei){return void 0!==en&&(Y.preventDefault(),(void 0===ew||(null==ew?void 0:ew.status)==="error")&&eu.invalidateQueries({queryKey:x5(et,eh)}),(null==ew?void 0:ew.status)=="success"&&(null==ew?void 0:ew.download_url)?eg(ew.download_url):ef(!0)),[2]})});return function(et){return Y.apply(this,arguments)}}(),[en,ew,eu,et,eh,eg]);return(0,e_.jsx)(xK.u,{closeOnOutsideClick:!1,delayDuration:0,label:(0,e_.jsxs)("span",{className:"flex items-center gap-1",children:[ed?em.formatMessage(x4.startingDownload):em.formatMessage(x4.downloadFile),ed&&(0,e_.jsx)(xY.Z,{})]}),side:"top",sideOffset:4,children:(0,e_.jsx)("a",(0,eb._)((0,ey._)({},eo),{className:"cursor-pointer",onClick:function(Y){return!ed&&eE(Y)}}))})}function x0(Y){return(0,e_.jsx)(xK.u,{closeOnOutsideClick:!1,delayDuration:0,label:(0,e_.jsx)("span",{className:"flex items-center gap-1",children:(0,e_.jsx)(tM.Z,(0,ey._)({},x4.downloadUnavailable))}),side:"top",sideOffset:4,children:(0,e_.jsx)("span",(0,eb._)((0,ey._)({},Y),{className:"font-semibold text-gray-500 underline dark:text-gray-300"}))})}function x9(Y,et,en,ei,eo,ea){var eu=(0,x$.VF)();return(0,xZ.a)({queryKey:x5(et,ei),queryFn:function(){return nk.ZP.downloadFromInterpreter(et,en,ei).then(function(Y){return(null==Y?void 0:Y.status)==="success"&&ea(Y.download_url),Y}).catch(function(Y){var et=eu("default_download_link_error",{fileName:ei});throw void 0!==Y.code&&(et=eu(Y.code)),null==eo||eo(et),Y})},enabled:!!(Y&&et&&en&&ei)})}function x5(Y,et){return["downloadSandboxLink",Y,et]}var x4=(0,eI.vU)({downloadFile:{id:"SandboxDownload.downloadFile",defaultMessage:"Download file",description:"Tooltip label for downloading a file button"},startingDownload:{id:"SandboxDownload.startingDownload",defaultMessage:"Starting download",description:"Tooltip label for downloading started for file button"},downloadUnavailable:{id:"SandboxDownload.downloadUnavailable",defaultMessage:"File download not supported in a shared chat",description:"Tooltip label indicating file is unavailable to download for shared conversations"}}),x6=function(Y){return Y.startsWith(xX)?Y:lm(Y)},x7=[xU,[ug,{singleDollarTextMath:!1}]],x8=[[ft,{languages:{mathematica:uy},detect:!0,subset:["arduino","bash","c","cpp","csharp","css","diff","go","graphql","java","javascript","json","kotlin","latex","less","lua","makefile","makefile","markdown","matlab","mathematica","nginx","objectivec","perl","pgsql","php-template","php","plaintext","python-repl","python","r","ruby","rust","scss","shell","sql","swift","typescript","vbnet","wasm","xml","yaml"],ignoreMissing:!0,aliases:{mathematica:"wolfram"}}],yk,[yS,{newlines:!0}]],kn={code:xW},kr={},ki={};function ko(Y){var et=Y.size,en=void 0===et?"medium":et,ei=Y.children,eo=Y.className,ea=Y.clientThreadId,eu=Y.messageId,ec=(0,nn.F)().resolvedTheme,ed=(0,nj.H)().isAdvancedDataAnalysisAvailable,ef=null!==(0,eC.useContext)(eF.gB),eh=(0,eC.useMemo)(function(){return(0,eb._)((0,ey._)({},kn),{a:function(Y){var et=Y.node,en=(0,nC._)(Y,["node"]),ei=et.properties.href;if(ei.startsWith(xX))return ef?(0,e_.jsx)(x0,(0,ey._)({},en)):ed&&null!=ea&&null!=eu?(0,e_.jsx)(xJ,(0,ey._)({clientThreadId:ea,messageId:eu},en)):null;var eo=en.onClick,ec=(0,nC._)(en,["onClick"]),eh=eo;return null!=eu&&ei.includes("/bing/redirect")&&(kr[eu]||(eP.A.logEvent(ej.M.browsingShowBingLink,{id:eu,content:ei}),kr[eu]=!0),eh=function(Y){ki[eu]||(eP.A.logEvent(ej.M.browsingClickBingLink,{id:eu,content:ei}),ki[eu]=!0),null==eo||eo(Y)}),(0,e_.jsx)("a",(0,ey._)({onClick:eh},ec))},img:function(Y){var et=Y.node,en=(0,nC._)(Y,["node"]),ei=et.properties.src;return ei.startsWith(xX)||ei.startsWith("attachment:")?null:(0,e_.jsx)("img",(0,ey._)({},en))}})},[ea,ed,ef,eu]);return(0,e_.jsx)(nO.S,{name:"formatted_text_error",fallback:function(){return(0,e_.jsx)(e_.Fragment,{children:ei})},children:(0,e_.jsx)(lV,{rehypePlugins:x8,remarkPlugins:x7,linkTarget:"_new",className:(0,eE.default)(eo,"markdown prose w-full break-words dark:prose-invert","dark"===ec?"dark":"light","small"===en&&"prose-xs"),transformLinkUri:x6,components:eh,children:ei})})}var ka=en(45048);function ks(){var Y=(0,ew._)(["flex flex-col items-start"]);return ks=function(){return Y},Y}function kl(){var Y=(0,ew._)(["flex items-center text-xs bg-green-100 rounded p-3 text-gray-900 ",""]);return kl=function(){return Y},Y}function ku(){var Y=(0,ew._)(["max-w-full overflow-x-auto mt-3 flex flex-col gap-2 rounded bg-gray-100 p-3 text-sm text-gray-800"]);return ku=function(){return Y},Y}function kd(Y){var et=Y.children,en=Y.isComplete,ei=Y.expanderClosedLabel,eo=Y.expanderOpenLabel,ea=Y.resultsPreview,eu=Y.results,ec=Y.initialExpanded,ed=void 0!==ec&&ec,ef=Y.onExpand,eh=(0,ek._)((0,eC.useState)(ed),2),ep=eh[0],em=eh[1],eg=(0,eC.useCallback)(function(){em(function(Y){return!Y}),null==ef||ef()},[ef]);return(0,e_.jsxs)(kp,{children:[(0,e_.jsxs)(km,{$complete:en,children:[(0,e_.jsx)("div",{children:et}),!en&&(0,e_.jsx)(xY.Z,{className:(0,eE.default)("shrink-0",null!=eu?"ml-1":"ml-12")}),null!=eu&&(0,e_.jsxs)("div",{className:"ml-12 flex items-center gap-2",role:"button",onClick:eg,children:[null!=eo&&null!=ei&&(0,e_.jsx)("div",{className:"text-xs text-gray-600",children:ep?eo:ei}),!ep&&ea,ep?(0,e_.jsx)(eT.rH8,{className:"icon-sm"}):(0,e_.jsx)(eT.bTu,{className:"icon-sm"})]})]}),ep&&eu]})}var kh=eC.memo(kd),kp=eS.Z.div(ks()),km=eS.Z.div(kl(),function(Y){return Y.$complete&&"bg-gray-100"}),kg=eS.Z.div(ku()),kv={},ky={};function kb(Y){var et=function(Y,et){return"```".concat(et,"\n").concat(Y,"\n```")};if("code"===Y.content.content_type){var en="python";return et(Y.content.text,en)}if("python"===Y.recipient){if("text"!==Y.content.content_type)throw Error("Unexpected content type for code message");var ei=Y.content.parts;if(1!==ei.length||"string"!=typeof ei[0])throw Error("Unexpected parts for code message");return et(ei[0],"python")}throw Error("Unexpected code message format")}function kx(Y){var et,en=null===(et=null==Y?void 0:Y.message.metadata)||void 0===et?void 0:et.aggregate_result;return(null==en?void 0:en.status)!==void 0&&(null==en?void 0:en.status)!=="running"}function kk(Y){var et=Y.message,en=Y.outputMessage,ei=Y.clientThreadId,eo=Y.isComplete,ea=(0,eO.Z)(),eu=(0,nn.F)().resolvedTheme;(0,eC.useEffect)(function(){kv[et.message.id]||(eP.A.logEvent(ej.M.renderTool2Message,{id:et.message.id,finishedExecuting:eo}),kv[et.message.id]=!0)},[et,eo]);var ec=(0,eC.useCallback)(function(){ky[et.message.id]||(eP.A.logEvent(ej.M.expandTool2Message,{id:et.message.id,finishedExecuting:eo}),ky[et.message.id]=!0)},[et,eo]),ed=(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsx)("div",{className:"mt-3 self-stretch",children:(0,e_.jsx)(ko,{clientThreadId:ei,messageId:et.message.id,className:(0,eE.default)("markdown prose w-full break-words dark:prose-invert","dark"===eu?"dark":"light"),children:kb(et.message)})}),en&&(0,e_.jsx)("div",{className:"self-stretch",children:(0,e_.jsx)(ka.ZP,{message:en,isCollapsed:!0})})]});return(0,e_.jsx)(kh,{expanderClosedLabel:ea.formatMessage(k_.expanderClosedLabel),expanderOpenLabel:ea.formatMessage(k_.expanderOpenLabel),isComplete:eo,results:ed,onExpand:ec,children:eo?(0,e_.jsx)(tM.Z,(0,ey._)({},k_.finishedWorking)):(0,e_.jsx)(tM.Z,(0,ey._)({},k_.working))})}var k_=(0,eI.vU)({expanderClosedLabel:{id:"CodeMessage.expanderClosedLabel",defaultMessage:"Show work",description:"Label for the button to expand and show the code execution details"},expanderOpenLabel:{id:"CodeMessage.expanderOpenLabel",defaultMessage:"Hide work",description:"Label for the button to collapse and hide the code execution details"},finishedWorking:{id:"CodeMessage.finishedWorking",defaultMessage:"Finished working",description:"Status text indicating the code execution has completed"},working:{id:"CodeMessage.working",defaultMessage:"Working...",description:"Status text indicating the code execution is in progress"}});function kE(Y){var et,en=Y.messages,ei=Y.isRequestActive,ea=(0,ek._)(en,2),eu=ea[0],ec=ea[1],ed=(0,ek._)((0,eC.useState)(!1),2),ef=ed[0],eh=ed[1],ep=(0,ek._)((0,eC.useState)(!1),2),em=ep[0],eg=ep[1],ey=wO(eu.message),eb=null===(et=null==ec?void 0:ec.message.metadata)||void 0===et?void 0:et.aggregate_result,ew=eo.Running,eE=kA.running,eT={expander:function(Y){return(0,e_.jsxs)("button",{className:"inline-flex items-center gap-1",onClick:function(){eh(function(Y){return!Y}),ef||eg(!0)},children:[Y,(0,e_.jsx)(eA.ud,{})]})}};return(null==eb?void 0:eb.status)==="success"?(ew=eo.Finished,eE=em?kA.finished:void 0):null!=ec&&ec.message.content.content_type!==eN.PX.ExecutionOutput||null!=eb&&"running"!==eb.status?(ew=eo.Error,eE=kA.error):(ey||!ei)&&(ew=eo.Stopped,eE=kA.stopped),(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsx)(wU,{conversationMessages:en,icon:nd,status:ew,displayMessage:eE,displayMessageValues:eT,estimatedToolDurationMs:tI,shouldPersistAfterFinished:em}),ef&&(0,e_.jsxs)("div",{className:"mb-3 mt-0.5 overflow-hidden rounded-xl bg-black",children:[(0,e_.jsx)(kC,{message:eu.message}),null!=ec&&(0,e_.jsx)(kT,{message:ec.message})]})]})}function kC(Y){var et=Y.message,en=(0,nn.F)().resolvedTheme;return(0,e_.jsx)(ko,{className:(0,eE.default)("markdown prose w-full break-words dark:prose-invert","dark"===en?"dark":"light"),children:kb(et)})}function kT(Y){var et,en=Y.message,ei=(0,eO.Z)();if(en.content.content_type!==eN.PX.ExecutionOutput)return null;var eo=null===(et=en.metadata)||void 0===et?void 0:et.aggregate_result;if(!eo)return console.error("Corrupt code execution result message"),null;var ea=eo.messages.filter(ka.M),eu=ea.length>0,ec=null!=eo.final_expression_output;return(0,e_.jsxs)(e_.Fragment,{children:[eu&&(0,e_.jsx)(kS,{label:"STDOUT/STDERR",output:ea.map(function(Y,et){return(0,e_.jsx)("span",{className:"stderr"===Y.stream_name?"text-red-500":"",children:Y.text},"".concat(et))})}),ec&&(0,e_.jsx)(kS,{label:ei.formatMessage(kA.resultLabel),output:eo.final_expression_output})]})}function kS(Y){var et=Y.label,en=Y.output;return(0,e_.jsxs)("div",{className:"bg-gray-700 p-4 text-xs",children:[(0,e_.jsx)("div",{className:"mb-1 text-gray-400",children:et}),(0,e_.jsx)("div",{className:"prose flex flex-col-reverse text-white",children:(0,e_.jsx)("pre",{className:"shrink-0",children:en})})]})}var kA=(0,eI.vU)({running:{id:"codeInterpreterMessage.runningV2",defaultMessage:"<expander>Analyzing</expander>",description:"Status message when code interpreter is running"},finished:{id:"codeInterpreterMessage.finished",defaultMessage:"<expander>Finished analyzing</expander>",description:"Status message when code interpreter is finished"},stopped:{id:"codeInterpreterMessage.stoppedV2",defaultMessage:"<expander>Stopped analyzing</expander>",description:"Status message when code interpreter was stopped by the user"},error:{id:"codeInterpreterMessage.errorV2",defaultMessage:"<expander>Error analyzing</expander>",description:"Status message when code interpreter ran into an error"},resultLabel:{id:"codeInterpreterMessage.resultLabel",defaultMessage:"Result",description:"Label shown with the code execution result output"}});function kM(Y){var et=Y.codeMessage,en=Y.codeExecutionOutputMessage,ei=Y.onDismiss,eo=(0,eO.Z)();return(0,e_.jsx)(nP.ZP.Root,{isOpen:!0,onClose:ei,children:(0,e_.jsx)(nP.ZP.Overlay,{children:(0,e_.jsxs)(nP.ZP.Content,{className:"flex max-h-[75vh] max-w-lg flex-col overflow-hidden",children:[(0,e_.jsx)(nP.ZP.Header,{title:eo.formatMessage(kP.title),type:"success",closeButton:(0,e_.jsx)(nP.ZP.CloseButton,{onClose:ei})}),(0,e_.jsxs)("div",{className:"flex flex-1 flex-col overflow-auto bg-black",children:[(0,e_.jsx)("div",{children:(0,e_.jsx)(kC,{message:et})}),(0,e_.jsx)("div",{children:(0,e_.jsx)(kT,{message:en})})]})]})})})}var kP=(0,eI.vU)({title:{id:"CodeExecutionOutputModal.title",defaultMessage:"Analysis",description:"Title of the code execution output modal"}});!function(Y){Y[Y.Standard=0]="Standard",Y[Y.CodeExecution=1]="CodeExecution"}(ei||(ei={}));var kj=(0,eC.createContext)(void 0),kO="&#8203;";function kI(Y,et,en){var eo=[];if(null!=et)for(var ea=et.filter(function(et){return et.end_ix<=Y.length}),eu=ea.length-1;eu>=0;eu--){var ec=ea[eu],ed=ec.citation_format_type,ef=ec.start_ix,eh=ec.end_ix,ep=ec.metadata,em=ec.invalid_reason;if("tether_markdown"===ed){if(ep&&"file"!==ep.type){var eg=Y.slice(ef,eh).replace(/\[(.*?)\]\((\d+)\)/g,"[$1](".concat(ep.url,")"));Y=Y.slice(0,ef)+eg+Y.slice(eh)}}else{var ey={type:ei.Standard};ep?ey.metadata=ep:null!=em&&(ey.invalid_reason=em);var eb=!1;if(eu>0){var ek=ea[eu-1];null!=ek.metadata&&null!=ep&&kz(ek.metadata)===kz(ep)&&0===Y.slice(ek.end_ix,ec.start_ix).trim().length&&(Y=Y.slice(0,ek.end_ix)+Y.slice(ec.end_ix),eb=!0)}if(!eb){var ew=eo.length;Y=Y.slice(0,ef)+kN(ew)+Y.slice(eh),eo.push(ey)}}}if(null!=en){var e_=en.find(function(Y){return(0,ez.rH)(Y)===ez.Cs.Code}),eE=en.find(function(Y){return(0,ez.rH)(Y)===ez.Cs.CodeExecutionOutput});null!=e_&&null!=eE&&(Y=Y+" "+kN(eo.length),eo.push({type:ei.CodeExecution,codeMessage:e_,codeExecutionOutputMessage:eE}))}return{text:Y,displayedCitations:eo}}function kN(Y){return"".concat(kO,"``【oaicite:").concat(Y,"】``").concat(kO)}function kL(Y){var et=/【oaicite:(\d+)】/,en=Y.match(et);if(en)try{return parseInt(en[1],10)}catch(Y){}return -1}function kR(Y){var et=Y.index,en=Y.displayInfo;return en.type===ei.Standard?(0,e_.jsx)(kD,{index:et,displayInfo:en}):(0,e_.jsx)(kF,{displayInfo:en})}function kD(Y){var et,en,ei,eo=Y.index,ea=Y.displayInfo,eu=(0,x$.O6)(),ec=(0,eC.useContext)(kj),ed=(0,eL.XK)(null!==(en=null==ec?void 0:ec.clientThreadId)&&void 0!==en?en:eN.Zq),ef=(0,eM.WA)(null!==(ei=null==ec?void 0:ec.clientThreadId)&&void 0!==ei?ei:eN.Zq),eh=ea.metadata,ep=(null==eh?void 0:eh.type)==="file",em=!ep&&null!=ec&&!ec.isActivelyStreaming,eg=em?{conversation_id:ed,model_slug:null===(et=null==ec?void 0:ec.message.metadata)||void 0===et?void 0:et.model_slug,message_id:null==ec?void 0:ec.message.id,url:null==eh?void 0:eh.url,citation_number:eo}:null;if((0,eC.useEffect)(function(){null!=eg&&eP.A.logEvent(ej.M.browsingDisplayCitation,eg)},[em]),(ep||null==eh)&&(ef.kind===eN.OL.GizmoInteraction||ef.kind==eN.OL.GizmoTest||ef.kind==eN.OL.GizmoMagicCreate))return null;var ey=(0,e_.jsx)(nA,{className:"-mt-0.5 ml-0.5 inline-block text-link-base hover:text-link-hover"});return(0,e_.jsx)(xK.u,{label:(0,e_.jsx)(kB,{citationMetadata:eh,invalidReason:ea.invalid_reason,onClick:function(){null!=eg&&eP.A.logEvent(ej.M.browsingClickCitation,eg)}}),onOpenChange:function(Y){Y&&null!=eg&&eP.A.logEvent(ej.M.browsingHoverCitation,eg)},side:"top",sideOffset:4,withArrow:!1,delayDuration:150,interactive:!0,wide:!0,children:ep?(0,e_.jsx)("button",{onClick:function(){return eu(eh.id,eh.name)},className:"px-0.5 text-green-600",children:ey}):(0,e_.jsx)("a",{href:null==eh?void 0:eh.url,target:"_blank",rel:"noreferrer",className:"px-0.5 text-green-600 !no-underline",onClick:function(){null!=eg&&eP.A.logEvent(ej.M.browsingClickCitation,eg)},children:ey})})}function kF(Y){var et=Y.displayInfo,en=(0,ek._)((0,eC.useState)(!1),2),ei=en[0],eo=en[1],ea=(0,eO.Z)();return(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsx)(xK.u,{label:ea.formatMessage(kU.viewAnalysis),side:"top",sideOffset:4,withArrow:!1,delayDuration:150,children:(0,e_.jsx)("button",{onClick:function(){return eo(!0)},children:(0,e_.jsx)(nM,{className:"-mt-0.5 ml-0.5 inline-block text-link-base hover:text-link-hover"})})}),ei&&(0,e_.jsx)(kM,{codeMessage:et.codeMessage,codeExecutionOutputMessage:et.codeExecutionOutputMessage,onDismiss:function(){return eo(!1)}})]})}function kB(Y){var et=Y.citationMetadata,en=Y.invalidReason,ei=Y.onClick,eo=(0,x$.O6)(),ea=(null==et?void 0:et.type)==="file",eu=et?(0,e_.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e_.jsx)("div",{className:"flex shrink-0 items-center justify-center",children:ea?(0,e_.jsx)(eT.NOg,{}):(0,e_.jsx)(nS,{url:et.url,className:"my-0"})}),(0,e_.jsx)("div",{className:"max-w-xs truncate",children:ea?et.name:et.title}),(0,e_.jsx)("div",{className:"shrink-0",children:(0,e_.jsx)(eT.AlO,{className:"icon-xs"})})]}):(0,e_.jsx)("div",{className:"text-red-500",children:null!=en?en:(0,e_.jsx)(tM.Z,(0,ey._)({},kU.invalid))});return ea?(0,e_.jsx)("button",{onClick:function(){eo(et.id,et.name),null==ei||ei()},className:"text-xs",children:eu}):(0,e_.jsx)("a",{href:null==et?void 0:et.url,target:"_blank",rel:"noreferrer",className:"text-xs !no-underline",onClick:ei,children:eu})}function kz(Y){return"file"===Y.type?Y.id:Y.url}var kU=(0,eI.vU)({invalid:{id:"citations.invalid",description:"Text when citation is invalid",defaultMessage:"Invalid citation"},viewAnalysis:{id:"citations.viewAnalysis",description:"Tooltip text for a citation link to analysis",defaultMessage:"View analysis"}}),kH=en(8874),kG=en(47635),kV=en(13002),kW=en(55068),kq=en(3831),kZ=en(52847);function kK(Y){let et=(0,eC.useRef)(0),{isStatic:en}=(0,eC.useContext)(kZ._);(0,eC.useEffect)(()=>{if(en)return;let ei=({timestamp:en,delta:ei})=>{et.current||(et.current=en),Y(en-et.current,ei)};return kq.Wi.update(ei,!0),()=>(0,kq.Pn)(ei)},[Y])}var k$=en(33554);function kY(){let Y=(0,k$.c)(0);return kK(et=>Y.set(et)),Y}var kQ=en(59837),kX=en(62853),kJ=en(77421);function k0(){var Y=(0,ew._)(["0px 1px 12px 0px rgba(162, 107, 247, ",")"]);return k0=function(){return Y},Y}function k9(){var Y=(0,ew._)(["1px solid rgba(171, 97, 253, ",")"]);return k9=function(){return Y},Y}var k5=1900,k4=250,k3=2150,k6=[.28,.52,.83,.67],k7=kW._.apply(void 0,(0,nT._)(k6)),k8=function(Y,et,en){return(Y-et)*(1-Math.sin(2*en*Math.PI/k5-Math.PI/2))/2+et},wt=function(Y,et){return function(en){var ei=en%k3;return ei<k4?Y:k8(Y,et,k7((ei-k4)/k5)*k5)}};function wn(Y){var et=Y.children,en=Y.isComplete,ei=Y.results,eo=Y.initialExpanded,ea=void 0!==eo&&eo,eu=Y.onExpand,ec=(0,ek._)((0,eC.useState)(ea),2),ed=ec[0],ef=ec[1],eh=(0,ek._)((0,eC.useState)(et),2),ep=eh[0],em=eh[1],eg=(0,eO.Z)(),ey=function(){ef(function(Y){return!Y}),null==eu||eu()},eb=(0,eE.default)("bg-white dark:bg-gray-600 rounded-xl max-w-full overflow-hidden",en?"border-black/10 border-[0.5px] shadow-xxs":""),ew=(0,e_.jsx)(wo,{className:(0,eE.default)(eb,"w-[280px]"),onNewLoop:function(){em(et)},isComplete:en,children:(0,e_.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e_.jsx)("div",{className:"min-w-0",children:en?et:ep}),en&&null!=ei&&(0,e_.jsx)("div",{className:"mr-3 flex w-5 justify-center text-gray-600/50",children:ed?(0,e_.jsx)(eT.rH8,{className:"icon-sm"}):(0,e_.jsx)(eT.bTu,{className:"icon-sm"})})]})});return en&&null!=ei&&(ew=(0,e_.jsx)("button",{className:ed?"group/tool-expander-open":"group/tool-expander-closed",onClick:ey,"aria-label":eg.formatMessage(ed?wu.collapse:wu.expand),children:ew})),(0,e_.jsxs)("div",{className:"flex flex-col items-start gap-2",children:[ew,null!=ei&&en&&ed&&(0,e_.jsx)("div",{className:(0,eE.default)(eb,"min-w-[280px]"),children:ei})]})}var wr=eC.memo(wn);function wi(Y){var et=Y.icon,en=Y.title,ei=Y.subtitle;return(0,e_.jsxs)("div",{className:"flex h-14 items-center gap-2.5 px-3 py-2",children:[(0,e_.jsx)("div",{className:"flex h-[34px] w-[34px] shrink-0 items-center justify-center",children:et}),(0,e_.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col items-start text-sm leading-[18px]",children:[null!=en&&(0,e_.jsx)("div",{className:"truncate font-medium",children:en}),null!=ei&&(0,e_.jsx)("div",{className:"max-w-full truncate opacity-70",children:ei})]})]})}var wo=function(Y){var et=Y.children,en=Y.className,ei=Y.isComplete,eo=Y.onNewLoop;return ei?(0,e_.jsx)("div",{className:en,children:et}):(0,e_.jsx)(wl,{className:en,onNewLoop:eo,children:et})},wl=function(Y){var et=Y.children,en=Y.className,ei=Y.onNewLoop,eo=(0,ek._)((0,eC.useState)(0),2),ea=eo[0],eu=eo[1],ec=kY(),ed=(0,kQ.H)(ec,wt(.05,.2)),ef=(0,kX.Y)(k0(),ed),eh=(0,kQ.H)(ec,wt(.33,1)),ep=(0,kX.Y)(k9(),eh);return(0,kJ.W)(ec,"change",function(Y){eu(Y);var et=Math.floor(Y/k3);Math.floor(ea/k3)!==et&&ei(et)}),(0,e_.jsx)(tU.E.div,{className:en,style:{boxShadow:ef,border:ep},children:et})},wu=(0,eI.vU)({expand:{id:"NewToolMessage.expand",defaultMessage:"Expand",description:"Aria-label for the expand button"},collapse:{id:"NewToolMessage.collapse",defaultMessage:"Collapse",description:"Aria-label for the collapse button"}}),wc=(0,eI.vU)({startingBrowsing:{id:"browsingMessage.startingBrowsingV2",defaultMessage:"Starting up",description:"Status message when browsing is starting"},startingFileSearch:{id:"browsingMessage.startingFileSearch",defaultMessage:"Searching files...",description:"Status message when searching files is starting"},finishedFileSearch:{id:"browsingMessage.finishedFileSearch",defaultMessage:"Finished searching files",description:"Status message when searching files is finished"},searchInProgressTitle:{id:"browsingMessage.searchInProgressTitle",defaultMessage:"Browsing...",description:"Browsing command title when in progress"},searchFinishedTitle:{id:"browsingMessage.searchFinishedTitle",defaultMessage:"Finished browsing",description:"Browsing command title when finished"},searchInProgressWeb:{id:"browsingMessage.command.search.inProgress.web",defaultMessage:"Browsing",description:"Browsing command to search Bing is in progress"},searchInProgressFiles:{id:"browsingMessage.command.search.inProgress.files",defaultMessage:"Searching files: <bold>“{searchQuery}”</bold>",description:"Browsing command to search files is in progress"},searchFinishedWeb:{id:"browsingMessage.command.search.finished.web",defaultMessage:"Searched Bing: <bold>“<link>{searchQuery}</link>”</bold>",description:"Browsing command to search Bing finished"},searchFinishedFiles:{id:"browsingMessage.command.search.finished.files",defaultMessage:"Searched files: <bold>“{searchQuery}”</bold>",description:"Browsing command to search files finished"},searchError:{id:"browsingMessage.command.search.error",defaultMessage:"Search failed",description:"Browsing command to search the web failed"},clickInProgressForUrl:{id:"browsingMessage.command.click.inProgressForUrl",defaultMessage:"Clicking on {url}",description:"Browsing command to click on a link is in progress"},clickInProgress:{id:"browsingMessage.command.click.inProgress",defaultMessage:"Clicking…",description:"Browsing command to click on a link is in progress"},openFileInProgress:{id:"browsingMessage.command.openFile.inProgress",defaultMessage:"Opening a file...",description:"Browsing command to click into a file is in progress"},clickFinished:{id:"browsingMessage.command.click.finished",defaultMessage:"Clicked on a link",description:"Browsing command to click on a link finished"},openFileFinished:{id:"browsingMessage.command.openFile.finished",defaultMessage:"Opened a file",description:"Browsing command to click into a file finished"},clickFinishedWithLink:{id:"browsingMessage.command.click.finishedWithLink",defaultMessage:"Clicked on:",description:"Browsing command to click on a link finished. The link that was clicked will be displayed after the :"},openFileFinishedWithLink:{id:"browsingMessage.command.openFile.finishedWithLink",defaultMessage:"Opened:",description:"Browsing command to click into a file finished. The file that was opened will be displayed after the :"},clickError:{id:"browsingMessage.command.click.error",defaultMessage:"Click failed",description:"Browsing command to click on a link failed"},openFileError:{id:"browsingMessage.command.openFile.error",defaultMessage:"Opening file failed",description:"Browsing command to click on a link failed"},quote:{id:"browsingMessage.command.quote",defaultMessage:"Reading content",description:"Browsing command to read a specific quote from a page"},quoteWithTitle:{id:"browsingMessage.command.quoteWithTitle",defaultMessage:"Reading “{pageTitle}”",description:"Browsing command to read a specific quote from a page (with the page title included)"},quoteError:{id:"browsingMessage.command.quote.error",defaultMessage:"Reading content failed",description:"Browsing command to read a specific quote from a page failed"},error:{id:"browsingMessage.command.error",defaultMessage:"Trying something new",description:"Browsing command when there was an error"},back:{id:"browsingMessage.command.back",defaultMessage:"Going back",description:"Browsing command to go back to the last page"},backError:{id:"browsingMessage.command.back.error",defaultMessage:"Going back failed",description:"Browsing command to go back to the last page failed"},scroll:{id:"browsingMessage.command.scroll",defaultMessage:"Scrolling page",description:"Browsing command to scroll down on a page"},scrollError:{id:"browsingMessage.command.scroll.error",defaultMessage:"Scroll failed",description:"Browsing command to scroll down on a page failed"},showSteps:{id:"browsingMessage.showSteps",defaultMessage:"Show work",description:"Button label for showing the steps of a browsing session"},hideSteps:{id:"browsingMessage.hideSteps",defaultMessage:"Hide work",description:"Button label for hiding the steps of a browsing session"}});function wd(Y){var et=Y.messages,en=Y.isComplete,ei=Y.isRetrieval,eo=wS(et.map(function(Y){return Y.message})),ea=[(0,e_.jsx)(wk,{isRetrieval:ei},"starting")].concat((0,nT._)(eo.map(function(Y,et){return(0,e_.jsx)(wh,{command:Y,citationMetadata:wM(eo,et),isRetrieval:ei},et)}))),eu=null;return en?(ea.push((0,e_.jsx)(ww,{isRetrieval:ei},"finished")),eu=(0,e_.jsx)(ww,{isRetrieval:ei,isPreview:!0})):eu=0===eo.length?(0,e_.jsx)(wk,{isRetrieval:ei,isPreview:!0}):(0,e_.jsx)(wh,{command:eo[eo.length-1],citationMetadata:wM(eo,eo.length-1),isRetrieval:ei,isPreview:!0}),ei?(0,e_.jsx)(kh,{isComplete:en,results:(0,e_.jsx)(kg,{className:"text-xs",children:ea}),children:eu}):(0,e_.jsx)(wr,{isComplete:en,children:eu})}var wf=eC.memo(wd);function wh(Y){var et=Y.command,en=Y.citationMetadata,ei=Y.isRetrieval,eo=Y.isPreview;if(et.didError)return(0,e_.jsx)(wb,{isRetrieval:ei,commandType:et.type,citationMetadata:en});switch(et.type){case"search":var ea,eu,ec,ed,ef="browser_one_box"===et.message.author.name?null===(ea=et.message.metadata)||void 0===ea?void 0:null===(eu=ea._cite_metadata)||void 0===eu?void 0:eu.original_query:null===(ec=et.message.metadata)||void 0===ec?void 0:null===(ed=ec.args)||void 0===ed?void 0:ed[0];if(null==ef)return null;return(0,e_.jsx)(wp,{searchQuery:ef,isComplete:et.status===eN.L5.Finished,isRetrieval:ei,isPreview:eo});case"click":case"open_url":return(0,e_.jsx)(wm,{isRetrieval:ei,citationMetadata:en,isPreview:eo});case"quote":case"quote_full":case"quote_lines":return(0,e_.jsx)(wg,{isRetrieval:ei,isPreview:eo,citationMetadata:en});case"back":return(0,e_.jsx)(wv,{isRetrieval:ei,isPreview:eo,citationMetadata:en});case"scroll":return(0,e_.jsx)(wy,{isRetrieval:ei,isPreview:eo,citationMetadata:en});default:return null}}function wp(Y){var et=Y.searchQuery,en=Y.isComplete,ei=Y.isRetrieval,eo=Y.isPreview,ea=nk.ZP.getBingLink({query:et});if(!ei)return(0,e_.jsxs)(wE,{isRetrieval:ei,icon:tK.ol,isPreview:eo,iconBase:(0,e_.jsx)(tK.jE,{className:"absolute -left-1 -top-1 h-[21px] w-[21px]"}),link:ea,children:["“",et,"”"]});var eu=wc.searchInProgressFiles,ec=wc.searchFinishedFiles;return(0,e_.jsx)(wT,{icon:tK.ol,isPreview:eo,children:en?(0,e_.jsx)(tM.Z,(0,eb._)((0,ey._)({},ec),{values:{bold:function(Y){return(0,e_.jsx)("span",{className:"font-medium",children:Y})},searchQuery:et}})):(0,e_.jsx)(tM.Z,(0,eb._)((0,ey._)({},eu),{values:{bold:function(Y){return(0,e_.jsx)("span",{className:"font-medium",children:Y})},searchQuery:et}}))})}function wm(Y){var et=Y.isRetrieval,en=Y.citationMetadata,ei=Y.isPreview,eo=et?wc.openFileInProgress:wc.clickInProgress;if(!et){var ea=en?(0,e_.jsx)(w_,{citationMetadata:en,size:18}):null,eu=wj(en);return null!=eu&&(eo=wc.clickInProgressForUrl),(0,e_.jsx)(wE,{isRetrieval:et,icon:tK.G$,iconBase:ea,isPreview:ei,link:en?wP(en):void 0,children:(0,e_.jsx)(tM.Z,(0,eb._)((0,ey._)({},eo),{values:{url:eu}}))})}var ec=et?wc.openFileFinished:wc.clickFinished,ed=et?wc.openFileFinishedWithLink:wc.clickFinishedWithLink;return(0,e_.jsx)(wT,{icon:eT.NOg,isPreview:ei,children:en?!0===ei?(0,e_.jsx)(tM.Z,(0,ey._)({},ec)):(0,e_.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e_.jsx)(tM.Z,(0,ey._)({},ed)),(0,e_.jsx)("div",{className:"rounded border border-black/10 bg-white px-2 py-1",children:(0,e_.jsx)(kB,{citationMetadata:en,onClick:function(){if(void 0===en.type||"webpage"===en.type){var Y,et;kH.m9.logEvent("chatgpt_browsing_click_link",en.url,{domain:null!==(Y=kG.get(new URL(en.url).hostname))&&void 0!==Y?Y:""}),eP.A.logEvent(ej.M.browsingClickLink,{url:en.url,domain:null!==(et=kG.get(new URL(en.url).hostname))&&void 0!==et?et:""})}}})})]}):(0,e_.jsx)(tM.Z,(0,ey._)({},eo))})}function wg(Y){var et=Y.isPreview,en=Y.citationMetadata,ei=Y.isRetrieval,eo=en?(0,e_.jsx)(w_,{citationMetadata:en}):void 0,ea=wc.quote,eu=(null==en?void 0:en.type)==="webpage"?en.title:void 0;return null!=eu&&(ea=wc.quoteWithTitle),(0,e_.jsx)(wE,{iconBase:eo,icon:ei?eT.SnF:void 0,isPreview:et,isRetrieval:ei,children:(0,e_.jsx)(tM.Z,(0,eb._)((0,ey._)({},ea),{values:{pageTitle:eu}}))})}function wv(Y){var et=Y.isPreview,en=Y.citationMetadata,ei=Y.isRetrieval,eo=en?(0,e_.jsx)(w_,{citationMetadata:en,size:18}):null;return(0,e_.jsx)(wE,{isRetrieval:ei,icon:ei?eT.cww:kV.LVY,isPreview:et,iconBase:eo,children:(0,e_.jsx)(tM.Z,(0,ey._)({},wc.back))})}function wy(Y){var et=Y.isPreview,en=Y.citationMetadata,ei=Y.isRetrieval,eo=en?(0,e_.jsx)(w_,{citationMetadata:en,size:18}):null;return(0,e_.jsx)(wE,{icon:ei?eT.nlg:tK.NV,isPreview:et,iconBase:eo,isRetrieval:ei,children:(0,e_.jsx)(tM.Z,(0,ey._)({},wc.scroll))})}function wb(Y){var et,en=Y.commandType,ei=Y.isPreview,eo=Y.citationMetadata,ea=Y.isRetrieval;if(!ea)return(0,e_.jsx)(wx,{isPreview:ei,citationMetadata:eo,isRetrieval:ea});switch(en){case"search":et=wc.searchError;break;case"click":case"open_url":et=wc.clickError;break;case"quote":case"quote_full":case"quote_lines":et=wc.quoteError;break;case"back":et=wc.backError;break;case"scroll":et=wc.scrollError;break;default:return null}return(0,e_.jsx)(wT,{icon:eT.bcx,isPreview:ei,children:(0,e_.jsx)(tM.Z,(0,ey._)({},et))})}function wx(Y){var et=Y.isPreview,en=Y.citationMetadata,ei=Y.isRetrieval,eo=en?(0,e_.jsx)(w_,{citationMetadata:en,size:18}):null;return(0,e_.jsx)(wE,{icon:kV.LVY,isPreview:et,iconBase:eo,isRetrieval:ei,children:(0,e_.jsx)(tM.Z,(0,ey._)({},wc.error))})}function wk(Y){var et=Y.isRetrieval,en=Y.isPreview,ei=et?wc.startingFileSearch:wc.startingBrowsing;return(0,e_.jsx)(wE,{isPreview:en,iconBase:(0,e_.jsx)(tK.Wp,{className:"icon-2xl text-brand-purple"}),isRetrieval:et,children:(0,e_.jsx)(tM.Z,(0,ey._)({},ei))})}function ww(Y){var et=Y.isRetrieval,en=Y.isPreview;return(0,e_.jsx)(wE,{iconBase:(0,e_.jsx)(tK.aS,{className:"icon-2xl"}),icon:et?eT._rq:void 0,isPreview:en,isComplete:!0,isRetrieval:et,children:et?(0,e_.jsx)(tM.Z,(0,ey._)({},wc.finishedFileSearch)):(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsx)("div",{className:"hidden group-hover/tool-expander-closed:block",children:(0,e_.jsx)(tM.Z,(0,ey._)({},wc.showSteps))}),(0,e_.jsx)("div",{className:"hidden group-hover/tool-expander-open:block",children:(0,e_.jsx)(tM.Z,(0,ey._)({},wc.hideSteps))})]})})}var w_=function(Y){var et=Y.citationMetadata,en=Y.size,ei=void 0===en?24:en;return(0,e_.jsx)("div",{className:"overflow-hidden rounded-sm bg-[rgba(30,203,239,0.07)]",style:{width:ei,height:ei},children:(0,e_.jsx)(nS,{url:wP(et),size:ei})})};function wE(Y){var et=Y.isRetrieval,en=(0,nC._)(Y,["isRetrieval"]);return et?(0,e_.jsx)(wT,(0,ey._)({},en)):(0,e_.jsx)(wC,(0,ey._)({},en))}function wC(Y){var et=Y.children,en=Y.icon,ei=Y.isPreview,eo=Y.iconBase,ea=Y.link,eu=Y.isComplete,ec=null!=en?null!=eo?(0,e_.jsxs)("div",{className:"relative h-full w-full text-gray-600 dark:text-gray-200",children:[(0,e_.jsx)("div",{className:"absolute left-1 top-1",children:eo}),(0,e_.jsx)(en,{className:"absolute bottom-1 right-1 h-4 w-4 stroke-white",strokeWidth:.5})]}):(0,e_.jsx)(en,{className:"h-4 w-4 stroke-white text-gray-600 dark:text-gray-200",strokeWidth:.5}):(0,e_.jsx)("div",{className:"flex h-full w-full items-center justify-center text-gray-600 dark:text-gray-200",children:eo}),ed=(0,e_.jsx)(wi,{icon:ec,title:eu?(0,e_.jsx)(tM.Z,(0,ey._)({},wc.searchFinishedTitle)):ei?(0,e_.jsx)(tM.Z,(0,ey._)({},wc.searchInProgressTitle)):null,subtitle:et});return ei||null==ea||(ed=(0,e_.jsx)("a",{href:ea,target:"_blank",rel:"noreferrer",className:"block hover:bg-gray-50 dark:hover:bg-gray-800",children:(0,e_.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e_.jsx)("div",{className:"min-w-0",children:ed}),(0,e_.jsx)("div",{className:"mr-3 text-gray-600/50",children:(0,e_.jsx)(eT.AlO,{className:"icon-sm"})})]})})),(0,e_.jsx)("div",{className:"border-b-[0.5px] border-black/10 border-opacity-75 last:border-b-0",children:ed})}function wT(Y){var et=Y.children,en=Y.icon,ei=Y.isPreview;return(0,e_.jsxs)("div",{className:(0,eE.default)("flex items-center gap-2",!0!==ei&&"min-h-[24px]"),children:[null!=en&&(0,e_.jsx)(en,{className:"icon-sm shrink-0"}),(0,e_.jsx)("div",{children:et})]})}function wS(Y){return Y.map(function(et,en){if(et.author.role!==eN.uU.Tool||en>0&&wA(et)&&wA(Y[en-1]))return null;if("browser_one_box"===et.author.name)return{type:"search",didError:"system_error"===et.content.content_type,message:et};var ei=et.metadata;if(!ei)return null;var eo=ei.command,ea=ei.status;return eo?{type:eo,status:ea,didError:"system_error"===et.content.content_type,message:et}:null}).filter(Boolean)}function wA(Y){var et,en,ei;return(null===(et=Y.metadata)||void 0===et?void 0:et.command)==="quote"||(null===(en=Y.metadata)||void 0===en?void 0:en.command)==="quote_full"||(null===(ei=Y.metadata)||void 0===ei?void 0:ei.command)==="quote_lines"}function wM(Y,et){for(var en=et;en>=0;en--){var ei,eo,ea=null===(ei=Y[en].message.metadata)||void 0===ei?void 0:null===(eo=ei._cite_metadata)||void 0===eo?void 0:eo.metadata_list[0];if(null!=ea)return ea}}function wP(Y){return(null==Y?void 0:Y.type)!=="file"?Y.url:""}function wj(Y){if(null!=Y){var et=wP(Y);try{return new URL(et).hostname}catch(Y){return}}}function wO(Y){return(0,ez.qi)(Y)&&!(0,ez.oH)(Y)}var wI=50,wN=95;function wL(Y,et){if(Y<=et)return Y/et*wI;var en=wI,ei=wN-wI,eo=Y-et,ea=-(wI/et)/ei;return en+ei*(1-Math.exp(ea*eo))}function wR(){var Y=(0,eD.hz)(),et=(0,eZ.Ml)();return Y.has(nw.vE)&&et}var wD=.2;function wF(Y,et){if(null!=Y){var en=wS(Y.map(function(Y){return Y.message})).find(function(Y){return Y.type===eN.$x.Search});if(null!=en){var ei,eo,ea=null===(ei=en.message.metadata)||void 0===ei?void 0:null===(eo=ei.args)||void 0===eo?void 0:eo[0];if(null!=ea){var eu=[wB.browsingSearchLinkPrefix1,wB.browsingSearchLinkPrefix2,wB.browsingSearchLinkPrefix3,wB.browsingSearchLinkPrefix4,wB.browsingSearchLinkPrefix5,wB.browsingSearchLinkPrefix6,wB.browsingSearchLinkPrefix7,wB.browsingSearchLinkPrefix8,wB.browsingSearchLinkPrefix9,wB.browsingSearchLinkPrefix10],ec=nE()(en.message.id)();if(ec>wD)return null;var ed=eu[Math.floor(ec/wD*eu.length)];return et.formatMessage(ed,{searchLink:nk.ZP.getBingLink({query:ea})})+"\n\n"}}}return null}var wB=(0,eI.vU)({browsingSearchLinkPrefix1:{id:"toolsUtils.browsingSearchLinkPrefix1",defaultMessage:"Based on a [quick search]({searchLink}), here's what I found.",description:"Prefix added to the message to link to a Bing search result"},browsingSearchLinkPrefix2:{id:"toolsUtils.browsingSearchLinkPrefix2",defaultMessage:"After a [quick search]({searchLink}), here's what I found.",description:"Prefix added to the message to link to a Bing search result"},browsingSearchLinkPrefix3:{id:"toolsUtils.browsingSearchLinkPrefix3",defaultMessage:"From a [quick search]({searchLink}), here's what I found.",description:"Prefix added to the message to link to a Bing search result"},browsingSearchLinkPrefix4:{id:"toolsUtils.browsingSearchLinkPrefix4",defaultMessage:"I did a [quick search]({searchLink}) and here's what I found.",description:"Prefix added to the message to link to a Bing search result"},browsingSearchLinkPrefix5:{id:"toolsUtils.browsingSearchLinkPrefix5",defaultMessage:"I did a [quick search]({searchLink}) for more information and here's what I found.",description:"Prefix added to the message to link to a Bing search result"},browsingSearchLinkPrefix6:{id:"toolsUtils.browsingSearchLinkPrefix6",defaultMessage:"Based on a [quick search]({searchLink}), here's what I discovered.",description:"Prefix added to the message to link to a Bing search result"},browsingSearchLinkPrefix7:{id:"toolsUtils.browsingSearchLinkPrefix7",defaultMessage:"After a [quick search]({searchLink}), here's what I discovered.",description:"Prefix added to the message to link to a Bing search result"},browsingSearchLinkPrefix8:{id:"toolsUtils.browsingSearchLinkPrefix8",defaultMessage:"From a [quick search]({searchLink}), here's what I discovered.",description:"Prefix added to the message to link to a Bing search result"},browsingSearchLinkPrefix9:{id:"toolsUtils.browsingSearchLinkPrefix9",defaultMessage:"I did a [quick search]({searchLink}) and here's what I discovered.",description:"Prefix added to the message to link to a Bing search result"},browsingSearchLinkPrefix10:{id:"toolsUtils.browsingSearchLinkPrefix10",defaultMessage:"I did a [quick search]({searchLink}) for more information and here's what I discovered.",description:"Prefix added to the message to link to a Bing search result"}}),wz=2e3;function wU(Y){var et=Y.conversationMessages,en=Y.icon,ei=Y.status,eu=Y.displayMessage,ec=Y.displayMessageValues,ed=Y.estimatedToolDurationMs,ef=Y.animationLoopDurationMs,eh=void 0===ef?wz:ef,ep=Y.shouldPersistAfterFinished,em=void 0!==ep&&ep,eg=(0,ek._)((0,eC.useState)(ei===eo.Running?ea.RunningEnterAnimation:ea.SkippingEnterAnimation),2),ey=eg[0],eb=eg[1],ew=(0,ek._)((0,eC.useState)(0),2),eE=ew[0],eT=ew[1];(0,eC.useEffect)(function(){ei===eo.Error?eb(ea.ToolError):ei===eo.Stopped?eb(ea.ToolStopped):ei===eo.Paused?eb(ea.ToolPaused):ei===eo.Finished?ey===ea.ToolRunning?eb(ea.RunningFillProgressBarAnimation):eb(ea.ToolFinished):ei===eo.Running&&ey===ea.ToolPaused&&(eb(ea.ToolRunning),eT(function(Y){return Y+1}))},[ei]);var eS=wq(ey);return((0,eC.useEffect)(function(){var Y=et[0].message.id;if(eS)return tZ.addDelayedRenderingMessage(Y),function(){tZ.removeDelayedRenderingMessage(Y)}},[eS]),tF(function(){wW(ey)&&eT(function(Y){return Y+1})},eh),ey!==ea.ToolFinished||em)?(0,e_.jsxs)("div",{className:"my-2.5 flex items-center gap-2.5",children:[(0,e_.jsx)(wG,{icon:en,status:ei,uiState:ey,estimatedToolDurationMs:ed,animationLoopCounter:eE,shouldPersistAfterFinished:em,onFillProgressBarAnimationComplete:function(){return eb(ea.RunningFinishAnimation)},onFinishAnimationComplete:function(){eb(ea.FinishAnimationComplete),setTimeout(function(){em?eb(ea.ToolFinished):eb(ea.RunningHideAnimation)},500)},onHideAnimationComplete:function(){return eb(ea.ToolFinished)}}),(0,e_.jsx)(wV,{displayMessage:eu,displayMessageValues:ec,uiState:ey,animationLoopCounter:eE,onEnterAnimationComplete:function(){return eb(ea.ToolRunning)}})]}):null}!function(Y){Y[Y.Running=0]="Running",Y[Y.Finished=1]="Finished",Y[Y.Error=2]="Error",Y[Y.Stopped=3]="Stopped",Y[Y.Paused=4]="Paused"}(eo||(eo={})),function(Y){Y[Y.RunningEnterAnimation=0]="RunningEnterAnimation",Y[Y.SkippingEnterAnimation=1]="SkippingEnterAnimation",Y[Y.ToolRunning=2]="ToolRunning",Y[Y.RunningFillProgressBarAnimation=3]="RunningFillProgressBarAnimation",Y[Y.RunningFinishAnimation=4]="RunningFinishAnimation",Y[Y.FinishAnimationComplete=5]="FinishAnimationComplete",Y[Y.RunningHideAnimation=6]="RunningHideAnimation",Y[Y.ToolFinished=7]="ToolFinished",Y[Y.ToolError=8]="ToolError",Y[Y.ToolStopped=9]="ToolStopped",Y[Y.ToolPaused=10]="ToolPaused"}(ea||(ea={}));var wH=50;function wG(Y){var et,en,ei,eu=Y.icon,ec=Y.status,ed=Y.uiState,ef=Y.estimatedToolDurationMs,eh=Y.animationLoopCounter,ep=Y.shouldPersistAfterFinished,em=Y.onFillProgressBarAnimationComplete,eg=Y.onFinishAnimationComplete,ey=Y.onHideAnimationComplete,eb=(0,ek._)((0,eC.useState)(0),2),ew=eb[0],eT=eb[1];tF(function(){wW(ed)?eT(function(Y){return Y+wH}):ed===ea.ToolPaused&&eT(0)},wH),wW(ed)||ed===ea.ToolPaused?(et="running",en=(0,e_.jsx)(eu,{animationLoopCounter:eh}),ei="bg-transparent"):ed===ea.RunningFinishAnimation||ed===ea.FinishAnimationComplete||ed===ea.ToolFinished&&ep?(et="finished",en=(0,e_.jsx)(np,{}),ei="bg-brand-purple"):ec===eo.Error?(et="error",en=(0,e_.jsx)(ng,{}),ei="bg-orange-500"):ec===eo.Stopped&&(et="stopped",en=(0,e_.jsx)(nv,{}),ei="bg-gray-300");var eS={opacity:0,scale:0,rotate:-180,x:0},eA={type:"spring",bounce:.3,duration:.7},eM={opacity:0,scale:.6,rotate:0,x:0};ed===ea.RunningEnterAnimation?(eS={opacity:0,scale:.5,rotate:-180,x:-8},eA={type:"spring",bounce:.3,duration:.5}):ed===ea.SkippingEnterAnimation?eS=!1:ed===ea.FinishAnimationComplete&&(eM={opacity:0,scale:0,rotate:0,x:0});var eP=wL(ew,ef);return(0,e_.jsx)("div",{className:"relative h-5 w-5 shrink-0",children:(0,e_.jsx)(tB.M,{onExitComplete:function(){ed===ea.RunningHideAnimation&&ey()},children:null!=et&&(0,e_.jsxs)(tU.E.div,{className:(0,eE.default)("absolute left-0 top-0 flex h-full w-full items-center justify-center rounded-full text-white",ei),initial:eS,animate:{opacity:1,scale:1,rotate:0,x:0},exit:eM,transition:eA,onAnimationComplete:function(){ed===ea.RunningFinishAnimation&&eg()},children:[en,(wW(ed)||ed===ea.ToolPaused)&&(0,e_.jsx)(tD.Z,{percentage:ed===ea.RunningFillProgressBarAnimation?100:eP,thickness:1.5/23,className:"absolute left-1/2 top-1/2 h-[23px] w-[23px] -translate-x-1/2 -translate-y-1/2 text-brand-purple",backgroundStrokeClassName:"stroke-brand-purple/25 dark:stroke-brand-purple/50",transitionDuration:ed===ea.RunningFillProgressBarAnimation?"".concat((100-eP)/100*2,"s"):void 0,transitionTimingFunction:ed===ea.RunningFillProgressBarAnimation?"cubic-bezier(0.55, 0, 1, 1)":void 0,onTransitionEnd:function(){ed===ea.RunningFillProgressBarAnimation&&em()}})]},et)})})}function wV(Y){var et=Y.displayMessage,en=Y.displayMessageValues,ei=Y.uiState,eo=Y.animationLoopCounter,eu=Y.onEnterAnimationComplete,ec=(0,eO.Z)(),ed=(0,ek._)((0,eC.useState)({message:et,values:en}),2),ef=ed[0],eh=ed[1];(0,eC.useEffect)(function(){ei===ea.ToolRunning&&eh({message:et,values:en})},[eo]),(0,eC.useEffect)(function(){wW(ei)||eh({message:et,values:en})},[ei,et,en]);var ep={opacity:0,x:0,y:15},em={type:"spring",bounce:.3,opacity:{duration:.15},y:{duration:.3}};ei===ea.RunningEnterAnimation?(ep={opacity:0,x:-8,y:0},em={type:"spring",bounce:.3,duration:.5,delay:.15}):ei===ea.SkippingEnterAnimation&&(ep=!1);var eg=null!=ef.message?ec.formatMessage(ef.message,ef.values):void 0;return(0,e_.jsx)("div",{className:(0,eE.default)("relative h-5 w-full leading-5","-mt-[0.75px]",ei===ea.ToolError||ei===ea.ToolStopped?"text-token-text-tertiary":"text-token-text-secondary"),children:(0,e_.jsx)(tB.M,{children:null!=eg&&(0,e_.jsx)(tU.E.div,{className:"absolute left-0 top-0 line-clamp-1",initial:ep,animate:{opacity:1,x:0,y:0},exit:{opacity:0,x:0,y:-15},transition:em,onAnimationComplete:function(){ei===ea.RunningEnterAnimation&&eu()},children:eg},eg.toString())})})}function wW(Y){return Y===ea.RunningEnterAnimation||Y===ea.ToolRunning||Y===ea.RunningFillProgressBarAnimation}function wq(Y){return wW(Y)||Y===ea.RunningFinishAnimation||Y===ea.FinishAnimationComplete||Y===ea.RunningHideAnimation||Y===ea.ToolPaused}function wZ(Y){var et,en,ei=Y.messages,ea=Y.clientThreadId,eu=Y.isLastTurnInConversation,ec=Y.onRequestCompletion,ed=tt(ei),ef=ed[0],eh=ed.slice(1),ep=(0,eO.Z)(),em=null!=(0,eC.useContext)(eF.gB),eg=wO(ef.message),ek=(0,eM.Wq)(ea);(ek.kind===eN.OL.GizmoInteraction||ek.kind===eN.OL.GizmoMagicCreate||ek.kind===eN.OL.GizmoTest)&&(eQ=ek.gizmo);var ew=(0,ez.Lx)(ef.message.recipient);if((null==ew?void 0:ew.functionName)!=null&&(null==eQ?void 0:eQ.tools)!=null){var eE=!0,eT=!1,eS=void 0;try{for(var eA,eP,ej,eI,eL,eR,eD,eB,eU,eH,eG,eV,eW,eZ,eK,e$,eY,eQ,eX,eJ,e0=eQ.tools[Symbol.iterator]();!(eE=(eJ=e0.next()).done);eE=!0){var e9=eJ.value;if(wJ(e9,ew.functionName)){eX=e9;break}}}catch(Y){eT=!0,eS=Y}finally{try{eE||null==e0.return||e0.return()}finally{if(eT)throw eS}}}var e5=(null==eX?void 0:null===(eA=eX.metadata)||void 0===eA?void 0:null===(eP=eA.auth)||void 0===eP?void 0:eP.type)===eN.Jv.OAuth,e3=(0,tC.Wd)(null==eQ?void 0:eQ.gizmo.id,e5),e6=e3.data,e7=e3.isLoading;if(null==eQ||e5&&e7)return null;var e8=eh.filter(function(Y){var et,en,ei;return(null===(et=Y.message.metadata)||void 0===et?void 0:null===(en=et.jit_plugin_data)||void 0===en?void 0:null===(ei=en.from_server)||void 0===ei?void 0:ei.type)==="debug"}),tu=eh.filter(function(Y){return!["debug","send_test"].some(function(et){var en,ei,eo;return et===(null===(en=Y.message.metadata)||void 0===en?void 0:null===(ei=en.jit_plugin_data)||void 0===ei?void 0:null===(eo=ei.from_server)||void 0===eo?void 0:eo.type)})}),td=(null===(ej=ef.message.metadata)||void 0===ej?void 0:null===(eI=ej.jit_plugin_data)||void 0===eI?void 0:null===(eL=eI.from_server)||void 0===eL?void 0:eL.type)==="send_test"&&(null===(eR=ef.message.metadata)||void 0===eR?void 0:null===(eD=eR.jit_plugin_data)||void 0===eD?void 0:eD.from_server),tf=null===(eB=null===(eU=tu.find(function(Y){var et,en;return(null===(et=Y.message.metadata)||void 0===et?void 0:null===(en=et.jit_plugin_data)||void 0===en?void 0:en.from_server)!=null}))||void 0===eU?void 0:eU.message.metadata)||void 0===eB?void 0:null===(eH=eB.jit_plugin_data)||void 0===eH?void 0:eH.from_server,th=null===(eG=null===(eV=tu.find(function(Y){var et,en;return(null===(et=Y.message.metadata)||void 0===et?void 0:null===(en=et.jit_plugin_data)||void 0===en?void 0:en.from_client)!=null}))||void 0===eV?void 0:eV.message.metadata)||void 0===eG?void 0:null===(eW=eG.jit_plugin_data)||void 0===eW?void 0:eW.from_client,tp=null!==(et=tu.find(function(Y){var et;return(null===(et=Y.message.metadata)||void 0===et?void 0:et.invoked_plugin)!=null}))&&void 0!==et?et:null,tm=tu.some(function(Y){return Y.message.content.content_type===eN.PX.SystemError}),tg=(null===(eZ=null==e6?void 0:e6.settings.find(function(Y){var et;return Y.action_id===(null==eX?void 0:null===(et=eX.metadata)||void 0===et?void 0:et.action_id)}))||void 0===eZ?void 0:eZ.oauth_status)==="valid",tv=(null==tf?void 0:tf.type)==="confirm_action"&&!th&&eu,tb=(null==tf?void 0:tf.type)==="oauth_required",tk=tb&&!tg&&eu,tw=(null==th?void 0:null===(eK=th.user_action)||void 0===eK?void 0:eK.data.type)==="deny",t_=null!==(en=null==eX?void 0:null===(e$=eX.metadata)||void 0===e$?void 0:e$.domain)&&void 0!==en?en:null==tf?void 0:tf.body.domain,tE=null==eX?void 0:null===(eY=eX.metadata)||void 0===eY?void 0:eY.privacy_policy_url,tT=eo.Running,tS=t_?w1.running:w1.starting,tA={domain:t_};if(td)tT=eo.Finished,tS=w1.ranTest,tA={operationName:td.body.operation};else if(tb&&tg)tT=eo.Finished,tS=w1.signedIn;else if(tv||tk){tT=eo.Paused,tS=w1.confirming;var tP=ep.formatMessage(w1.confirmParamsTitle,{gizmoName:eQ.gizmo.display.name,domain:t_});tA={domain:t_,params:function(Y){return(0,e_.jsx)(w0,{title:tP,assistantMessage:ef,privacyPolicyUrl:tE,children:Y})}}}else if(null!=tp){tT=eo.Finished,tS=w1.finished;var tj=ep.formatMessage(w1.sentParamsTitle,{gizmoName:eQ.gizmo.display.name,domain:t_});tA={domain:t_,params:function(Y){return(0,e_.jsx)(w0,{title:tj,assistantMessage:ef,privacyPolicyUrl:tE,children:Y})}}}else tm?(tT=eo.Error,tS=w1.error):(eg||tw||!eu)&&(tT=eo.Stopped,tS=tw?w1.declined:w1.stopped);return(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsx)(w$,{debugMessages:e8}),(0,e_.jsx)(wU,{conversationMessages:ei,icon:nx,status:tT,displayMessage:tS,displayMessageValues:tA,estimatedToolDurationMs:tR,shouldPersistAfterFinished:!0}),eu&&!th&&!em&&(0,e_.jsx)("div",{className:"mb-2 flex gap-2",children:null==tf?void 0:tf.body.actions.map(function(Y){var et={assistantMessage:ef,allMessages:ei,clientThreadId:ea,conversationMode:ek,onRequestCompletion:ec};return"deny"===Y.type?(0,e_.jsx)(tc.z,{color:"neutral",className:"h-8",onClick:function(){wY((0,eb._)((0,ey._)({},et),{actionData:{type:"deny"},targetMessageId:Y.deny.target_message_id}))},children:(0,e_.jsx)(tM.Z,(0,ey._)({},w1.decline))}):"allow"===Y.type?(0,e_.jsx)(tc.z,{color:"dark",className:"h-8",onClick:function(){wY((0,eb._)((0,ey._)({},et),{actionData:{type:"allow"},targetMessageId:Y.allow.target_message_id}))},children:(0,e_.jsx)(tM.Z,(0,ey._)({},w1.allow))}):"always_allow"===Y.type?(0,e_.jsx)(tc.z,{color:"neutral",className:"h-8",onClick:(0,e4._)(function(){return(0,ta.Jh)(this,function(en){return wY((0,eb._)((0,ey._)({},et),{actionData:{type:"always_allow",operation_hash:Y.always_allow.operation_hash},targetMessageId:Y.always_allow.target_message_id})),[2]})}),children:(0,e_.jsx)(tM.Z,(0,ey._)({},w1.alwaysAllow))}):"oauth_redirect"===Y.type?(0,e_.jsx)(tc.z,{color:"dark",className:"h-8",onClick:function(){wQ(Y.oauth_redirect,ea,eQ,ek.kind)},children:(0,e_.jsx)(tM.Z,(0,eb._)((0,ey._)({},w1.signInButton),{values:{domain:t_}}))}):null})})]})}function wK(Y){var et=Y.messageMetadata,en=(0,ek._)((0,eC.useState)(!1),2),ei=en[0],eo=en[1];return(0,e_.jsxs)("div",{className:"my-2 flex flex-col text-sm",children:[(0,e_.jsxs)("div",{className:"flex flex-row items-center hover:cursor-pointer",onClick:function(){eo(!ei)},children:[ei?(0,e_.jsx)(eT.bTu,{className:"icon-sm"}):(0,e_.jsx)(eT.Tfp,{className:"icon-sm"}),(0,e_.jsx)("div",{className:"font-medium",children:et.display_message})]}),ei&&(0,e_.jsx)("pre",{children:JSON.stringify(et.data,null,2)})]})}function w$(Y){var et=Y.debugMessages;return(0,e_.jsx)("div",{children:et.map(function(Y,et){var en,ei,eo=null===(en=Y.message.metadata)||void 0===en?void 0:null===(ei=en.jit_plugin_data)||void 0===ei?void 0:ei.from_server;return eo&&"debug"===eo.type?(0,e_.jsx)(wK,{messageMetadata:eo.body},et):null})})}function wY(Y){var et=Y.actionData,en=Y.assistantMessage,ei=Y.targetMessageId,eo=Y.allMessages,ea=Y.clientThreadId,eu=Y.conversationMode,ec=Y.onRequestCompletion,ed={id:(0,tP.Z)(),author:{role:eN.uU.Tool,name:en.message.recipient},content:{content_type:eN.PX.Text,parts:[""]},recipient:"all",metadata:{jit_plugin_data:{from_client:{user_action:{data:et,target_message_id:ei}}}}};eL.tQ.updateTree(ea,function(Y){Y.addNode(ed.id,ed,eo[eo.length-1].message.id,eN.uU.Tool,{completionSampleFinishTime:Date.now()})}),eL.tQ.setThreadCurrentLeafId(ea,ed.id),ec({type:eN.Os.Next,promptId:ed.id,eventMetadata:{eventSource:"mouse"},cancelActiveRequests:!1,completionMetadata:{conversationMode:eu}})}function wQ(Y,et,en,ei){return wX.apply(this,arguments)}function wX(){return(wX=(0,e4._)(function(Y,et,en,ei){var eo,ea;return(0,ta.Jh)(this,function(eu){return eo=eL.tQ.getServerThreadId(et),ea=window.location.href,eo&&(ea=(0,tS.ZV)(eo,en)),tT.U.doOAuthRedirect(Y.gizmo_id,Y.gizmo_action_id,Y.domain,ea,ei===eN.OL.GizmoTest),[2]})})).apply(this,arguments)}function wJ(Y,et){if(Y.type!==tu.qK.JIT_PLUGIN||(null===(en=Y.metadata)||void 0===en?void 0:en.json_schema)==null)return!1;var en,ei=!1;function eo(Y){for(var en in Y)"operationId"===en&&Y[en]===et&&(ei=!0),Y[en]&&"object"==typeof Y[en]&&eo(Y[en])}return eo(Y.metadata.json_schema),ei}function w0(Y){var et=Y.title,en=Y.children,ei=Y.assistantMessage,eo=Y.privacyPolicyUrl,ea=(0,ez.RR)(ei.message);try{ea=JSON.stringify(JSON.parse(ea),null,2)}catch(Y){}return(0,e_.jsxs)(tA.fC,{children:[(0,e_.jsx)(tA.xz,{children:(0,e_.jsxs)("div",{className:"inline-flex items-center gap-1",children:[en,(0,e_.jsx)(eA.ud,{})]})}),(0,e_.jsx)(tA.h_,{children:(0,e_.jsx)(tA.VY,{side:"bottom",sideOffset:8,align:"start",children:(0,e_.jsxs)("div",{className:"max-w-sm rounded-lg bg-token-surface-primary p-2 shadow-[0_0_24px_0_rgba(0,0,0,0.05),inset_0_0.5px_0_0_rgba(0,0,0,0.05),0_2px_8px_0_rgba(0,0,0,0.05)]",children:[(0,e_.jsx)("div",{className:"mb-2 text-sm font-medium",children:et}),(0,e_.jsx)(tE,{className:"bg-token-surface-secondary text-xs text-token-text-primary",codeContainerClassName:"max-h-32 p-2",children:ea}),null!=eo&&(0,e_.jsx)("div",{className:"mt-2 flex text-sm",children:(0,e_.jsxs)("a",{href:eo,target:"_blank",rel:"noreferrer",className:"flex items-center gap-1 text-gray-500 transition hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200",children:[(0,e_.jsx)(tM.Z,(0,ey._)({},w1.privacyPolicyLink)),(0,e_.jsx)(eT.AlO,{})]})})]})})})]})}var w1=(0,eI.vU)({starting:{id:"jitPluginMessage.starting",defaultMessage:"Starting action",description:"Status message when a custom action is starting"},confirming:{id:"jitPluginMessage.confirmingV2",defaultMessage:"<params>Some info will be sent to {domain}, only do this for sites you trust</params>",description:"Status message when a custom action is showing a user confirmation"},running:{id:"jitPluginMessage.runningV4",defaultMessage:"Talking to {domain}",description:"Status message when a custom action is running"},finished:{id:"jitPluginMessage.finishedV3",defaultMessage:"<params>Talked to {domain}</params>",description:"Status message when a custom action is finished"},stopped:{id:"jitPluginMessage.stoppedV4",defaultMessage:"Stopped talking to {domain}",description:"Status message when a custom action was stopped by the user"},error:{id:"jitPluginMessage.errorV5",defaultMessage:"Error talking to {domain}",description:"Status message when a custom action ran into an error"},declined:{id:"jitPluginMessage.declined",defaultMessage:"You declined this action",description:"Status message when a custom action was declined by the user"},ranTest:{id:"jitPluginMessage.ranTest",defaultMessage:"Tested {operationName}",description:"Status message when the user launched a test action"},alwaysAllow:{id:"jitPluginMessage.alwaysAllow",defaultMessage:"Always allow",description:"Button text for the user to always allow the custom action"},allow:{id:"jitPluginMessage.allow",defaultMessage:"Allow",description:"Button text for the user to allow the custom action"},decline:{id:"jitPluginMessage.decline",defaultMessage:"Decline",description:"Button text for the user to decline the custom action"},confirmParamsTitle:{id:"jitPluginMessage.confirmParamsTitleV2",defaultMessage:"{gizmoName} needs to send this info to {domain}",description:"Title describing data that will be sent to the external website"},sentParamsTitle:{id:"jitPluginMessage.sentParamsTitleV2",defaultMessage:"{gizmoName} sent this info to {domain}",description:"Title describing data that was sent to the external website"},signInButton:{id:"jitPluginMessage.signInButton",defaultMessage:"Sign in with {domain}",description:"Button text for the user to sign in with an external website"},signedIn:{id:"jitPluginMessage.signedIn",defaultMessage:"Signed in with {domain}",description:"Status text when the user successfully signed in with an external website"},privacyPolicyLink:{id:"jitPluginMessage.privacyPolicyLinkV2",defaultMessage:"Privacy policy",description:"Text for the privacy policy link"}}),w9=en(42786),w5=en(39743),w4=en(60083),w6=en(74349),w7=en(52134);function w8(Y,et){return Y.filter(Y=>!et.includes(Y))}function _E(Y,et,en){let ei=Y.slice(0);return ei[et]=en,ei}var _C=class extends w6.l{#e;#t;#n;#r;#i;#o;constructor(Y,et,en){super(),this.#e=Y,this.#n=[],this.#r=[],this.#a([]),this.setQueries(et,en)}#a(Y){this.#t=Y,this.#o=this.#s(Y)}onSubscribe(){1===this.listeners.size&&this.#r.forEach(Y=>{Y.subscribe(et=>{this.#l(Y,et)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#r.forEach(Y=>{Y.destroy()})}setQueries(Y,et,en){this.#n=Y,this.#i=et,w5.V.batch(()=>{let Y=this.#r,et=this.#u(this.#n);et.forEach(Y=>Y.observer.setOptions(Y.defaultedQueryOptions,en));let ei=et.map(Y=>Y.observer),eo=ei.map(Y=>Y.getCurrentResult()),ea=ei.some((et,en)=>et!==Y[en]);(Y.length!==ei.length||ea)&&(this.#r=ei,this.#a(eo),this.hasListeners()&&(w8(Y,ei).forEach(Y=>{Y.destroy()}),w8(ei,Y).forEach(Y=>{Y.subscribe(et=>{this.#l(Y,et)})}),this.#c()))})}getCurrentResult(){return this.#o}getQueries(){return this.#r.map(Y=>Y.getCurrentQuery())}getObservers(){return this.#r}getOptimisticResult(Y){let et=this.#u(Y),en=et.map(Y=>Y.observer.getOptimisticResult(Y.defaultedQueryOptions));return[en,Y=>this.#s(Y??en),()=>et.map((Y,et)=>{let ei=en[et];return Y.defaultedQueryOptions.notifyOnChangeProps?ei:Y.observer.trackResult(ei)})]}#s(Y){let et=this.#i?.combine;return et?(0,w7.Q$)(this.#o,et(Y)):Y}#u(Y){let et=this.#r,en=new Map(et.map(Y=>[Y.options.queryHash,Y])),ei=Y.map(Y=>this.#e.defaultQueryOptions(Y)),eo=ei.flatMap(Y=>{let et=en.get(Y.queryHash);return null!=et?[{defaultedQueryOptions:Y,observer:et}]:[]}),ea=new Set(eo.map(Y=>Y.defaultedQueryOptions.queryHash)),eu=ei.filter(Y=>!ea.has(Y.queryHash)),ec=Y=>{let et=this.#e.defaultQueryOptions(Y),en=this.#r.find(Y=>Y.options.queryHash===et.queryHash);return en??new w4.z(this.#e,et)},ed=eu.map(Y=>({defaultedQueryOptions:Y,observer:ec(Y)})),ef=(Y,et)=>ei.indexOf(Y.defaultedQueryOptions)-ei.indexOf(et.defaultedQueryOptions);return eo.concat(ed).sort(ef)}#l(Y,et){let en=this.#r.indexOf(Y);-1!==en&&(this.#a(_E(this.#t,en,et)),this.#c())}#c(){w5.V.batch(()=>{this.listeners.forEach(Y=>{Y(this.#t)})})}},_T=en(76747),_S=en(24262),_A=en(23217),_M=en(57248);function _P({queries:Y,...et},en){let ei=(0,xq.NL)(en),eo=(0,_T.S)(),ea=(0,_S._)(),eu=eC.useMemo(()=>Y.map(Y=>{let et=ei.defaultQueryOptions(Y);return et._optimisticResults=eo?"isRestoring":"optimistic",et}),[Y,ei,eo]);eu.forEach(Y=>{(0,_M.Fb)(Y),(0,_A.pf)(Y,ea)}),(0,_A.JN)(ea);let[ec]=eC.useState(()=>new _C(ei,eu,et)),[ed,ef,eh]=ec.getOptimisticResult(eu);eC.useSyncExternalStore(eC.useCallback(Y=>eo?()=>void 0:ec.subscribe(w5.V.batchCalls(Y)),[ec,eo]),()=>ec.getCurrentResult(),()=>ec.getCurrentResult()),eC.useEffect(()=>{ec.setQueries(eu,et,{listeners:!1})},[eu,et,ec]);let ep=ed.some((Y,et)=>(0,_M.SB)(eu[et],Y,eo)),em=ep?ed.flatMap((Y,et)=>{let en=eu[et],ei=ec.getObservers()[et];if(en&&ei){if((0,_M.SB)(en,Y,eo))return(0,_M.j8)(en,ei,ea);(0,_M.Z$)(Y,eo)&&(0,_M.j8)(en,ei,ea)}return[]}):[];if(em.length>0)throw Promise.all(em);let eg=ec.getQueries(),ey=ed.find((Y,et)=>(0,_A.KJ)({result:Y,errorResetBoundary:ea,throwOnError:eu[et]?.throwOnError??!1,query:eg[et]}));if(ey?.error)throw ey.error;return ef(eh())}var _O=en(21988),_I=en.n(_O),_N=en(44675);function _L(Y){var et=function(et){var en;eo(!0),null===(en=Y.onLoadingComplete)||void 0===en||en.call(Y,et)},en=(0,ek._)((0,eC.useState)(!1),2),ei=en[0],eo=en[1];return(0,e_.jsx)(_I(),(0,eb._)((0,ey._)({},Y),{alt:Y.alt,onLoadingComplete:et,unoptimized:!0,className:(0,eE.default)(Y.className,"transition-opacity duration-300",ei?"opacity-100":"opacity-0")}))}function _R(Y){var et=(0,eC.useContext)(eF.gB),en=null==et?void 0:et.serverSharedThreadId;return _P({queries:Y.map(function(Y){var et=(0,x$.Iy)(Y.asset_pointer);return{queryKey:["getFileDownloadLink",et],queryFn:(0,e4._)(function(){var ei;return(0,ta.Jh)(this,function(eo){switch(eo.label){case 0:if(!(null!=en))return[3,1];return[2,(0,eb._)((0,ey._)({},Y),{url:_F(en,et)})];case 1:return[4,nk.ZP.getFileDownloadLink(et).catch(function(Y){throw console.error("Could not fetch file with ID ".concat(et," from file service"),Y.message),Y})];case 2:if((ei=eo.sent()).status!==tu.KF.Success)throw console.error("Could not fetch file with ID ".concat(et," from file service"),ei),Error("Could not fetch file with ID ".concat(et," from file service"));return[2,(0,eb._)((0,ey._)({},Y),{url:ei.download_url})];case 3:return[2]}})})}})})}function _D(Y,et){var en=Y.asset_pointer,ei=Y.width,eo=Y.height,ea=(0,eC.useContext)(eF.gB),eu=(0,x$.Iy)(en),ec=null==ea?void 0:ea.serverSharedThreadId,ed=null!=ec,ef=(0,xZ.a)({queryKey:["getFileDownloadLink",eu,et],queryFn:(0,e4._)(function(){return(0,ta.Jh)(this,function(Y){switch(Y.label){case 0:return[4,nk.ZP.getFileDownloadLink(eu,et).catch(function(Y){throw console.error("Could not fetch file with ID ".concat(eu," from file service"),Y.message),Y})];case 1:return[2,Y.sent()]}})}),enabled:!ed}),eh=ef.data,ep=ef.isLoading;return{isLoading:!ed&&ep,error:ef.error,url:ed?_F(ec,eu):(null==eh?void 0:eh.status)==tu.KF.Success?eh.download_url:null,width:ei,height:eo}}function _F(Y,et){var en,ei=null!==(en=_N.env.CDN_IMAGE_BASE_URL)&&void 0!==en?en:"",eo="".concat(Y,"/image/").concat(et);return ei?"".concat(ei,"/").concat(eo):"".concat(nk.B,"/share/").concat(eo)}function _B(Y){var et=Y.messages,en=_R(et.flatMap(function(Y){return"multimodal_text"===Y.message.content.content_type?Y.message.content.parts.filter(function(Y){return"object"==typeof Y&&"asset_pointer"in Y}):[]}));return(0,e_.jsx)("div",{children:en.map(function(Y,en){var ei=Y.isLoading,ea=Y.data,eu=Y.error;if(ei)return(0,e_.jsx)(wU,{conversationMessages:et,icon:nb,status:eo.Finished,displayMessage:_V.generatedProfilePic,estimatedToolDurationMs:tL,animationLoopDurationMs:4e3},en);if(null!=eu||(null==ea?void 0:ea.url)==null)return(0,e_.jsx)(wU,{conversationMessages:et,icon:ny,status:eo.Error,displayMessage:_V.failedProfilePic,estimatedToolDurationMs:0,animationLoopDurationMs:3500},en);var ec=ea.url,ed=ea.width,ef=ea.height;return(0,e_.jsx)("div",{className:"flex items-center justify-center p-4",children:(0,e_.jsx)(_L,{className:"gizmo-shadow-stroke h-48 w-48 rounded-full border-2 dark:border-gray-500",alt:"Profile Picture",src:ec,width:ed,height:ef})},en)})})}function _z(Y){var et=Y.messages;return 0===et.length?null:(0,e_.jsx)(wU,{conversationMessages:et,icon:nb,status:eo.Running,displayMessage:_V.generatingProfilePic,estimatedToolDurationMs:tL,animationLoopDurationMs:4e3})}function _U(Y){var et=Y.messages;return et.some(function(Y){return"in_progress"===Y.message.status})?(0,e_.jsx)(wU,{conversationMessages:et,icon:ny,status:eo.Running,displayMessage:_V.updating,estimatedToolDurationMs:1e4,animationLoopDurationMs:3500}):(0,e_.jsx)(wU,{conversationMessages:et,icon:ny,status:eo.Finished,displayMessage:_V.updated,estimatedToolDurationMs:1e4,animationLoopDurationMs:3500})}function _H(Y){var et=Y.messages,en=[],ei=[],eo=[],ea=!0,eu=!1,ec=void 0;try{for(var ed,ef=et[Symbol.iterator]();!(ea=(ed=ef.next()).done);ea=!0){var eh=ed.value;"gizmo_editor.generate_profile_pic"===eh.message.recipient?en.push(eh):"gizmo_editor.generate_profile_pic"===eh.message.author.name?ei.push(eh):"gizmo_editor.update_behavior"===eh.message.recipient&&eo.push(eh)}}catch(Y){eu=!0,ec=Y}finally{try{ea||null==ef.return||ef.return()}finally{if(eu)throw ec}}return(0,e_.jsxs)(e_.Fragment,{children:[en.length>0&&0===ei.length&&(0,e_.jsx)(_z,{messages:en}),ei.length>0&&(0,e_.jsx)(_B,{messages:ei}),eo.length>0&&(0,e_.jsx)(_U,{messages:eo})]})}var _G=eC.memo(_H),_V=(0,eI.vU)({updating:{id:"message.gizmo.updating",defaultMessage:"Updating GPT...",description:"Message displayed when the GPT editor is updating"},updated:{id:"message.gizmo.finished",defaultMessage:"GPT Behavior updated.",description:"Message displayed when the GPT editor is finished updating"},generatingProfilePic:{id:"message.gizmo.generatingProfilePic",defaultMessage:"Generating profile picture...",description:"Message displayed when the GPT editor is generating a profile picture"},generatedProfilePic:{id:"message.gizmo.generatedProfilePic",defaultMessage:"Generated profile picture prompt.",description:"Message displayed when the GPT editor is finished generating a profile picture"},failedProfilePic:{id:"message.gizmo.failed",defaultMessage:"Failed to generate profile picture.",description:"Message displayed when the GPT editor failed to generate a profile picture"}});function _W({title:Y,titleId:et,...en},ei){return eC.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:ei,"aria-labelledby":et},en),Y?eC.createElement("title",{id:et},Y):null,eC.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 9h3.75M15 12h3.75M15 15h3.75M4.5 19.5h15a2.25 2.25 0 002.25-2.25V6.75A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25v10.5A2.25 2.25 0 004.5 19.5zm6-10.125a1.875 1.875 0 11-3.75 0 1.875 1.875 0 013.75 0zm1.294 6.336a6.721 6.721 0 01-3.17.789 6.721 6.721 0 01-3.168-.789 3.376 3.376 0 016.338 0z"}))}let _Z=eC.forwardRef(_W);var _K=_Z,_$=en(7184);function _Y(Y){var et,en=Y.message,ei=Y.className,eo=(0,ek._)((0,eC.useState)(!1),2),ea=eo[0],eu=eo[1],ec=en.message.content.content_type===eN.PX.ModelEditableContext?en.message.content.model_set_context:null,ed=(0,ez.RR)(en.message);if([eN.PX.UserEditableContext,eN.PX.SystemContent].includes(en.message.content.content_type))return null;var ef=en.message.recipient;return(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsxs)("div",{className:(0,eE.default)(ei,"my-3 flex flex-col items-start gap-2 overflow-x-auto whitespace-pre-wrap break-words"),children:[(0,e_.jsxs)("div",{className:"text-xs",children:[(0,e_.jsx)("div",{className:"uppercase text-red-500",children:"debug message"}),!!ec&&(0,e_.jsxs)("button",{onClick:function(){return eu(!0)},className:"flex cursor-pointer items-center gap-1",children:[(0,e_.jsx)(_K,{className:"icon-sm"}),(0,e_.jsx)("div",{className:"underline",children:"View all model memories"})]})]}),(0,e_.jsx)("div",{className:"flex w-full items-start justify-between",children:(0,e_.jsxs)("div",{className:"text-xs text-gray-500",children:[(0,e_.jsxs)("div",{children:["From: ",null!==(et=en.message.author.name)&&void 0!==et?et:en.message.author.role]}),!!ef&&"all"!==ef&&(0,e_.jsxs)("div",{children:["To: ",ef]})]})}),(0,e_.jsx)("div",{className:"whitespace-pre-wrap font-mono text-sm",children:ed})]}),(0,e_.jsx)(_$.Z,{title:"All Model Memories",type:"success",isOpen:ea,onClose:function(){return eu(!1)},children:(0,e_.jsx)("div",{className:"max-h-[80vh] overflow-auto whitespace-pre-wrap font-mono text-sm",children:ec})})]})}var _Q=eC.memo(_Y),_X=en(10558),_J=en(98135),_0=en(2827);function _1(){var Y=(0,ew._)(["text-center mt-2 flex justify-center"]);return _1=function(){return Y},Y}function _2(){var Y=(0,ew._)(["flex gap-2 flex-wrap"]);return _2=function(){return Y},Y}var _9=(0,eI.vU)({saveAndSubmit:{id:"NodeEditor.saveAndSubmit",defaultMessage:"Save & Submit",description:"Save and submit button label in the NodeEditor component."},cancel:{id:"NodeEditor.cancel",defaultMessage:"Cancel",description:"Cancel button label in the NodeEditor component."}}),_5=eS.Z.div(_1());function _4(Y){var et=Y.initialText,en=Y.clientThreadId,ei=Y.currentLeaf,eo=Y.onChangeItemInView,ea=Y.onExitEdit,eu=Y.onRequestCompletion,ec=Y.disabled,ed=Y.attachments,ef=(0,eC.useId)(),eh="".concat(ei,"-").concat(ef),ep=(0,ek._)((0,eC.useState)(null!=et?et:""),2),em=ep[0],eg=ep[1],eb=(0,eC.useRef)(null),ew=(0,eC.useCallback)(function(Y){eg(Y.currentTarget.value)},[]),eE=(0,eM.WA)(en),eT=(0,eC.useCallback)(function(){eL.tQ.updateTree(en,function(Y){var et=Y.getParentId(ei);Y.addNode(eh,em,et,eN.uU.User,void 0,ed?{attachments:ed}:void 0)}),eo(eh),eu({type:eN.Os.Next,promptId:eh,eventMetadata:{eventSource:"mouse"},cancelActiveRequests:!0,completionMetadata:{conversationMode:eE}}),ea(),eP.A.logEvent(ej.M.changeNode,{intent:"edit_save"})},[ed,en,ei,eh,em,eo,eu,ea,eE]),eS=(0,eC.useCallback)(function(){eo(ei),eP.A.logEvent(ej.M.changeNode,{intent:"edit_cancel"}),ea(),eP.A.logEvent(ej.M.cancelEditPrompt,{threadId:eL.tQ.getServerThreadId(en)})},[ei,eo,ea,en]);(0,eC.useEffect)(function(){var Y=eb.current,et=function(Y){"Enter"===Y.key&&Y.metaKey?eT():"Escape"===Y.key&&eS()};return Y&&Y.addEventListener("keydown",et),function(){Y&&Y.removeEventListener("keydown",et)}},[eS,eT]);var eA=ed&&ed.length>0;return(0,e_.jsxs)(e_.Fragment,{children:[eA&&(0,e_.jsx)(_3,{children:ed.map(function(Y){return(0,e_.jsx)(_J.Z,{file:Y.name},Y.id)})}),(0,e_.jsx)(_0.ZP,{ref:eb,value:em,onChange:ew,className:"m-0 resize-none border-0 bg-transparent p-0 focus:ring-0 focus-visible:ring-0"}),(0,e_.jsxs)(_5,{children:[(0,e_.jsx)(tc.z,{as:"button",onClick:eT,className:"mr-2",disabled:ec,children:(0,e_.jsx)(tM.Z,(0,ey._)({},_9.saveAndSubmit))}),(0,e_.jsx)(tc.z,{as:"button",color:"neutral",onClick:eS,children:(0,e_.jsx)(tM.Z,(0,ey._)({},_9.cancel))})]})]})}var _3=eS.Z.div(_2()),_6=en(13246);function _7(){var Y=(0,ew._)(["text-xs text-black\n",""]);return _7=function(){return Y},Y}function _8(){var Y=(0,ew._)(["relative w-full overflow-hidden pt-[67%]"]);return _8=function(){return Y},Y}function Et(Y){var et,en=Y.title,ei=Y.url,eo=Y.imageUrl,ea=Y.logoUrl,eu=Y.className,ec=Y.mini,ed=void 0!==ec&&ec,ef=(0,eO.Z)(),eh=ei?"a":"div",ep=!!eo,em=ed||ep,eg=(0,eC.useCallback)(function(){eP.A.logEvent(ej.M.carouselCardClick,{content:ei})},[ei]);try{et=kG.get(new URL(ei).hostname)}catch(Y){return console.error("Invalid card url: ",Y),null}return(0,e_.jsxs)(eh,{className:(0,eE.default)("flex h-full w-full flex-col overflow-hidden rounded-md border border-black/10 bg-gray-50 shadow-[0_2px_24px_rgba(0,0,0,0.05)]",eu),href:ei,target:ei?"_blank":"",onClick:eg,children:[ep&&(0,e_.jsx)(Er,{children:(0,e_.jsx)("div",{className:"absolute inset-0",children:(0,e_.jsx)("img",{src:eo,alt:ef.formatMessage(Ei.imageAlt,{title:en}),className:"h-full w-full border-b border-black/10 object-cover"})})}),(0,e_.jsxs)("div",{className:"flex flex-1 flex-col justify-between gap-1.5 p-3",children:[(0,e_.jsx)(En,{$clamp:em,children:en}),(0,e_.jsxs)("div",{className:"flex items-center gap-1",children:[ea?(0,e_.jsx)(_6.Z,{url:ea,name:et,size:13}):(0,e_.jsx)(nS,{url:ei,size:13}),(0,e_.jsx)("div",{className:"text-[10px] leading-3 text-gray-500 line-clamp-1",children:et})]})]})]})}var En=eS.Z.div(_7(),function(Y){return Y.$clamp&&"line-clamp-2"}),Er=eS.Z.div(_8()),Ei=(0,eI.vU)({imageAlt:{id:"Card.imageAlt",description:"Alt text for the image, describing the content of the image",defaultMessage:"image of {title}"}}),Eo=en(83813);function Ea(Y,et,en){var ei;if("string"==typeof Y){let eo=document;et&&((0,Eo.k)(!!et.current,"Scope provided, but no element detected."),eo=et.current),en?(null!==(ei=en[Y])&&void 0!==ei||(en[Y]=eo.querySelectorAll(Y)),Y=en[Y]):Y=eo.querySelectorAll(Y)}else Y instanceof Element&&(Y=[Y]);return Array.from(Y||[])}var Es=en(30124);class El{constructor(Y){this.animations=Y.filter(Boolean)}then(Y,et){return Promise.all(this.animations).then(Y).catch(et)}getAll(Y){return this.animations[0][Y]}setAll(Y,et){for(let en=0;en<this.animations.length;en++)this.animations[en][Y]=et}get time(){return this.getAll("time")}set time(Y){this.setAll("time",Y)}get speed(){return this.getAll("speed")}set speed(Y){this.setAll("speed",Y)}get duration(){let Y=0;for(let et=0;et<this.animations.length;et++)Y=Math.max(Y,this.animations[et].duration);return Y}runAll(Y){this.animations.forEach(et=>et[Y]())}play(){this.runAll("play")}pause(){this.runAll("pause")}stop(){this.runAll("stop")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Eu(Y){return"object"==typeof Y&&!Array.isArray(Y)}var Ec=en(61005),Ed=en(19003),Ef=en(7561),Eh=en(92380);function Ep(Y){let et={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},en=(0,Ed.v)(Y)?new Ef.e(et,{enableHardwareAcceleration:!1}):new Eh.W(et,{enableHardwareAcceleration:!0});en.mount(Y),Es.R.set(Y,en)}var Em=en(64685),Eg=en(99419),Ev=en(40185),Ey=en(30309);function Eb(Y,et=100){let en=(0,Eg.S)({keyframes:[0,et],...Y}),ei=Math.min((0,Ev.i)(en),Ev.E);return{type:"keyframes",ease:Y=>en.next(ei*Y).value/et,duration:(0,Ey.X)(ei)}}var Ex=en(61293),Ek=en(76695),Ew=en(93427),E_=en(79237);function EE(Y,et,en,ei){var eo;return"number"==typeof et?et:et.startsWith("-")||et.startsWith("+")?Math.max(0,Y+parseFloat(et)):"<"===et?en:null!==(eo=ei.get(et))&&void 0!==eo?eo:Y}let EC=(Y,et,en)=>{let ei=et-Y;return((en-Y)%ei+ei)%ei+Y};var ET=en(87292);function ES(Y,et){return(0,ET.N)(Y)?Y[EC(0,Y.length,et)]:Y}var EA=en(45286),EM=en(31914);function EP(Y,et,en){for(let ei=0;ei<Y.length;ei++){let eo=Y[ei];eo.at>et&&eo.at<en&&((0,EA.cl)(Y,eo),ei--)}}function Ej(Y,et,en,ei,eo,ea){EP(Y,eo,ea);for(let eu=0;eu<et.length;eu++)Y.push({value:et[eu],at:(0,EM.C)(eo,ea,ei[eu]),easing:ES(en,eu)})}function EO(Y,et){return Y.at!==et.at?Y.at-et.at:null===Y.value?1:null===et.value?-1:0}let EI="easeInOut";function EN(Y,{defaultTransition:et={},...en}={},ei){let eo=et.duration||.3,ea=new Map,eu=new Map,ec={},ed=new Map,ef=0,eh=0,ep=0;for(let en=0;en<Y.length;en++){let ea=Y[en];if("string"==typeof ea){ed.set(ea,eh);continue}if(!Array.isArray(ea)){ed.set(ea.name,EE(eh,ea.at,ef,ed));continue}let[em,eg,ey={}]=ea;void 0!==ey.at&&(eh=EE(eh,ey.at,ef,ed));let eb=0,ek=(Y,en,ei,ea=0,eu=0)=>{let ec=ED(Y),{delay:ed=0,times:ef=(0,Ex.Y)(ec),type:em="keyframes",...eg}=en,{ease:ey=et.ease||"easeOut",duration:ek}=en,ew="function"==typeof ed?ed(ea,eu):ed,e_=ec.length;if(e_<=2&&"spring"===em){let Y=100;if(2===e_&&Ez(ec)){let et=ec[1]-ec[0];Y=Math.abs(et)}let et={...eg};void 0!==ek&&(et.duration=(0,Ey.w)(ek));let en=Eb(et,Y);ey=en.ease,ek=en.duration}null!=ek||(ek=eo);let eE=eh+ew,eC=eE+ek;1===ef.length&&0===ef[0]&&(ef[1]=1);let eT=ef.length-ec.length;eT>0&&(0,Ek.c)(ef,eT),1===ec.length&&ec.unshift(null),Ej(ei,ec,ey,ef,eE,eC),eb=Math.max(ew+ek,eb),ep=Math.max(eC,ep)};if((0,E_.i)(em)){let Y=EL(em,eu);ek(eg,ey,ER("default",Y))}else{let Y=Ea(em,ei,ec),et=Y.length;for(let en=0;en<et;en++){let ei=Y[en],eo=EL(ei,eu);for(let Y in eg)ek(eg[Y],EF(ey,Y),ER(Y,eo),en,et)}ef=eh,eh+=eb}}return eu.forEach((Y,ei)=>{for(let eo in Y){let eu=Y[eo];eu.sort(EO);let ec=[],ed=[],ef=[];for(let Y=0;Y<eu.length;Y++){let{at:et,value:en,easing:ei}=eu[Y];ec.push(en),ed.push((0,Ew.Y)(0,ep,et)),ef.push(ei||"easeOut")}0!==ed[0]&&(ed.unshift(0),ec.unshift(ec[0]),ef.unshift(EI)),1!==ed[ed.length-1]&&(ed.push(1),ec.push(null)),ea.has(ei)||ea.set(ei,{keyframes:{},transition:{}});let eh=ea.get(ei);eh.keyframes[eo]=ec,eh.transition[eo]={...et,duration:ep,ease:ef,times:ed,...en}}}),ea}function EL(Y,et){return et.has(Y)||et.set(Y,{}),et.get(Y)}function ER(Y,et){return et[Y]||(et[Y]=[]),et[Y]}function ED(Y){return Array.isArray(Y)?Y:[Y]}function EF(Y,et){return Y[et]?{...Y,...Y[et]}:{...Y}}let EB=Y=>"number"==typeof Y,Ez=Y=>Y.every(EB);function EU(Y,et,en,ei){let eo=Ea(Y,ei),ea=eo.length;(0,Eo.k)(!!ea,"No valid element provided.");let eu=[];for(let Y=0;Y<ea;Y++){let ei=eo[Y];Es.R.has(ei)||Ep(ei);let ec=Es.R.get(ei),ed={...en};"function"==typeof ed.delay&&(ed.delay=ed.delay(Y,ea)),eu.push(...(0,Ec.w)(ec,{...et,transition:ed},{}))}return new El(eu)}let EH=Y=>Array.isArray(Y)&&Array.isArray(Y[0]);function EG(Y,et,en){let ei=[],eo=EN(Y,et,en);return eo.forEach(({keyframes:Y,transition:et},en)=>{let eo;eo=(0,E_.i)(en)?(0,Em.D)(en,Y.default,et.default):EU(en,Y,et),ei.push(eo)}),new El(ei)}let EV=Y=>function(et,en,ei){let eo;return eo=EH(et)?EG(et,en,Y):Eu(en)?EU(et,en,ei,Y):(0,Em.D)(et,en,ei),Y&&Y.animations.push(eo),eo},EW=EV();var Eq=en(95182),EZ=en.n(Eq);function EK(Y){var et=Y.disabled,en=Y.onClick,ei=Y.left,eo=void 0!==ei&&ei,ea=Y.children;return(0,e_.jsx)("button",{disabled:et,onClick:en,"aria-disabled":et,className:(0,eE.default)("flex h-6 w-[30px] items-center justify-center rounded-full","bg-gray-900 text-white shadow-sm hover:bg-gray-700 disabled:hover:bg-gray-900 dark:bg-white dark:text-gray-900 dark:hover:bg-gray-200 dark:disabled:hover:bg-white","transition-opacity disabled:opacity-20","cursor-pointer disabled:cursor-auto","absolute top-full translate-y-3 lg:top-1/2 lg:-translate-y-1/2",eo?"left-1/2 -translate-x-[calc(100%+4px)] lg:-left-3 lg:-translate-x-full":"left-1/2 translate-x-1 lg:-right-3 lg:left-auto lg:translate-x-full",et&&"lg:hidden"),children:ea})}var E$=function(Y){var et=Y.x,en=Y.children,ei=Y.className;return(0,e_.jsx)(tU.E.div,{className:(0,eE.default)("mr-3 h-full w-full flex-none sm:w-[calc((100%-12px)/2)] lg:w-[calc((100%-24px)/3)]",ei),style:{x:et},children:en})},EY={type:"spring",bounce:0},EQ=(0,eC.forwardRef)(function(Y,et){return(0,e_.jsx)("div",{ref:et,className:(0,eE.default)("relative flex h-full w-full overflow-hidden",Y.className),children:Y.children})});EQ.displayName="CarouselContainer";var EX=(eu={},(0,lW._)(eu,eB._G.Mobile,1),(0,lW._)(eu,eB._G.Small,2),(0,lW._)(eu,eB._G.Medium,2),(0,lW._)(eu,eB._G.Large,3),(0,lW._)(eu,eB._G.XLarge,3),eu),EJ=12;function E0(Y){var et=Y.children,en=Y.loop,ei=void 0===en||en,eo=Y.className,ea=(0,k$.c)(0),eu=(0,eC.useRef)(null),ec=(0,ek._)((0,eC.useState)(0),2),ed=ec[0],ef=ec[1],eh=EX[(0,eB.dQ)()]||1,ep=eC.Children.count(et)>eh,em=eC.Children.toArray(et),eg=(0,eC.useCallback)(function(){var Y,et=null===(Y=eu.current)||void 0===Y?void 0:Y.clientWidth;return et?-Math.floor(ed/eh)*(et+EJ):0},[eh,ed]),ey=(0,eC.useCallback)(function(Y){var et=eh*Y;ei?ef(function(Y){return(Y+et)%em.length-1}):ef(function(Y){return EZ()(Y+et,0,em.length-1)})},[em.length,ei,eh]),eb=(0,eC.useCallback)(function(){ey(1)},[ey]),ew=(0,eC.useCallback)(function(){ey(-1)},[ey]),eS=(0,ek._)((0,eC.useMemo)(function(){return ei?[!0,!0]:[ed>0,ed<em.length-eh]},[em.length,ed,ei,eh]),2),eA=eS[0],eM=eS[1];return(0,eC.useEffect)(function(){return EW(ea,eg(),EY).stop},[eg,ed,ea]),(0,e_.jsxs)("div",{className:(0,eE.default)("relative h-full w-full",eo,ep&&"mb-12 lg:mb-0"),children:[(0,e_.jsx)(EQ,{ref:eu,children:em.map(function(Y,et){return(0,e_.jsx)(E$,{x:ea,children:Y},et)})}),ep&&(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsx)(EK,{onClick:ew,left:!0,disabled:!eA,children:(0,e_.jsx)(eT.YFh,{className:"icon-sm"})}),(0,e_.jsx)(EK,{onClick:eb,disabled:!eM,children:(0,e_.jsx)(eT.Tfp,{className:"icon-sm"})})]})]})}var E1=new Set(["og:site_name","og:title","og:description","og:image","og:url"]),E2={"og:site_name":"metadataTitle","og:title":"title","og:description":"description","og:image":"imageUrl","og:url":"url"},E9=/https:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)/g;function E5(Y){var et=Y.clientThreadId,en=Y.urls,ei=(0,e$.i)(et),eo=E3({urls:en}),ea=(0,eC.useMemo)(function(){return!eo.some(function(Y){return!!(null==Y?void 0:Y.imageUrl)})},[eo]),eu=(0,eC.useMemo)(function(){return ei.reduce(function(Y,et){return Y[kG.get(et.domain)]=et.manifest.logo_url,Y},{})},[ei]),ec=(0,eC.useMemo)(function(){return eo.map(function(Y){var et,en;if(!Y)return null;try{et=kG.get(new URL(Y.url).hostname)}catch(Y){return console.error("Invalid card url: ",Y),null}return et in eu&&(en=eu[et]),(0,e_.jsx)(Et,{title:Y.title||"",url:Y.url,imageUrl:Y.imageUrl,logoUrl:en,mini:ea},Y.url)})},[eo,ea,eu]);return 0===eo.length?null:(0,e_.jsx)(E0,{loop:!1,children:ec})}var E4=eC.memo(E5);function E3(Y){var et=Y.urls,en=_P({queries:et.map(function(Y){return{queryKey:["opengraph",Y],queryFn:(0,e4._)(function(){return(0,ta.Jh)(this,function(et){switch(et.label){case 0:return[4,nk.ZP.getPageMetadata({url:Y})];case 1:return[2,et.sent()]}})}),enabled:!!Y,retry:!1}})});return(0,eC.useMemo)(function(){return en.map(function(Y,en){var ei=Y.data,eo=Y.isError,ea=Y.isLoading,eu=et[en];if(eo||ea)return null;var ec=ei.tags.reduce(function(Y,et){return E1.has(et.type)&&(Y[E2[et.type]]=et.value),Y},{});try{var ed,ef=eu.split(/[#?]/)[0],eh=null===(ed=ec.url)||void 0===ed?void 0:ed.endsWith("/login"),ep=ec.url&&"/"===new URL(ec.url||"").pathname;if(ef!==ec.url&&(eh||ep))return null}catch(Y){return null}return ec.url=eu,ec}).filter(Boolean)},[en,et])}function E6(Y){var et=Y.text,en=Y.isCompletionInProgress;return(0,eC.useMemo)(function(){if(en)return[];var Y=et.match(E9);return Array.from(new Set(Y))},[en,et])}var E7=en(51217),E8=function(){function Y(et){(0,E7._)(this,Y),this.updateReactComponentDisplay=et,this.textMessageParts=[],this.textMessagePartsTextLength=0,this.displayedTextLength=0,this.displayNextCharDelayMs=Y.MAX_BUFFERING_MS_PER_CHAR}var et=Y.prototype;return et.displayNextChar=function(){var Y=this;this.displayNextCharTimeout=void 0,this.isBuffering()&&(this.displayedTextLength++,this.updateReactComponentDisplay(Cd(this.textMessageParts,this.displayedTextLength)),this.displayNextCharTimeout=window.setTimeout(function(){return Y.displayNextChar()},this.displayNextCharDelayMs))},et.isBuffering=function(){return this.displayedTextLength<this.textMessagePartsTextLength},et.onMessagePartsUpdated=function(et){this.textMessageParts=et,this.textMessagePartsTextLength=Cc(this.textMessageParts).length;var en=this.textMessagePartsTextLength-this.displayedTextLength;if(en>0){var ei=Y.MAX_BUFFERING_LAG_MS/en;this.displayNextCharDelayMs=Math.min(ei,Y.MAX_BUFFERING_MS_PER_CHAR)}null==this.displayNextCharTimeout&&this.displayNextChar()},et.destroy=function(){window.clearTimeout(this.displayNextCharTimeout)},Y}();!function(){E8.MAX_BUFFERING_LAG_MS=500}(),function(){E8.MAX_BUFFERING_MS_PER_CHAR=30}();var Ct=function(){function Y(et){(0,E7._)(this,Y),this.updateReactComponentDisplay=et,this.textMessageParts=[],this.textMessagePartsTextLength=0,this.displayedTextLength=0,this.chunkLength=0}var et=Y.prototype;return et.displayNextChunk=function(){var et=this;this.displayNextChunkTimeout=void 0,this.isBuffering()&&(this.displayedTextLength=Math.min(this.displayedTextLength+this.chunkLength,this.textMessagePartsTextLength),this.updateReactComponentDisplay(Cd(this.textMessageParts,this.displayedTextLength)),this.displayNextChunkTimeout=window.setTimeout(function(){return et.displayNextChunk()},Y.UPDATE_FREQUENCY_MS))},et.isBuffering=function(){return this.displayedTextLength<this.textMessagePartsTextLength},et.onMessagePartsUpdated=function(et){this.textMessageParts=et,this.textMessagePartsTextLength=Cc(this.textMessageParts).length;var en=this.textMessagePartsTextLength-this.displayedTextLength;en>=Y.MIN_CHARS_BEHIND_TO_CATCHUP?(this.chunkLength=Math.ceil(en*Y.UPDATE_FREQUENCY_MS/Y.CATCHUP_TIME_MS),null==this.displayNextChunkTimeout&&this.displayNextChunk()):(this.displayNextChunkTimeout=void 0,window.clearTimeout(this.displayNextChunkTimeout),this.displayedTextLength=this.textMessagePartsTextLength,this.updateReactComponentDisplay(Cd(this.textMessageParts,this.displayedTextLength)))},et.destroy=function(){window.clearTimeout(this.displayNextChunkTimeout)},Y}();function Cn(){var Y=(0,ew._)(["flex gap-2 flex-wrap mt-1"]);return Cn=function(){return Y},Y}function Cr(Y){var et,en,ei,eo=Y.message,ea=Y.isEditing,eu=Y.format,ec=Y.isCompletionInProgress,ed=Y.className,ef=Y.isCompletion,eh=Y.isResponseToPluginMessage,ep=Y.prevBrowsingMessages,em=Y.prevCodeMessages,eg=(0,nC._)(Y,["message","isEditing","format","isCompletionInProgress","className","isCompletion","isResponseToPluginMessage","prevBrowsingMessages","prevCodeMessages"]),eb=(0,eC.useMemo)(function(){return"parts"in eo.message.content?eo.message.content.parts:[(0,ez.RR)(eo.message)]},[eo]);return ea?(0,e_.jsx)(_4,(0,ey._)({currentLeaf:eo.nodeId,initialText:(0,ez.RR)(eo.message),attachments:null===(ei=eo.message.metadata)||void 0===ei?void 0:ei.attachments},eg)):(0,e_.jsx)(Co,{parts:eb,messages:[eo],isCompletionInProgress:ec,format:eu,className:ed,citations:null===(et=eo.message.metadata)||void 0===et?void 0:et.citations,attachments:null===(en=eo.message.metadata)||void 0===en?void 0:en.attachments,isCompletion:ef,id:eo.nodeId,onRequestMoreCompletions:eg.onRequestMoreCompletions,clientThreadId:eg.clientThreadId,showExtractedLinkCards:eh,prevBrowsingMessages:ep,prevCodeMessages:em})}!function(){Ct.MIN_CHARS_BEHIND_TO_CATCHUP=20}(),function(){Ct.CATCHUP_TIME_MS=300}(),function(){Ct.UPDATE_FREQUENCY_MS=30}();var Ci=eC.memo(Cr);function Co(Y){var et=Y.messages.length>1,en="danger"!==(0,eK.ZC)(et?void 0:Y.messages[0]).flagSeverity&&Y.isCompletionInProgress,ei=!Y.parts.some(function(Y){return""!==Y});return(0,ek._)((0,eC.useState)(function(){return Y.isCompletion&&(Y.isCompletionInProgress||ei)}),1)[0]?(0,e_.jsx)(Ca,(0,eb._)((0,ey._)({},Y),{isActivelyStreaming:en})):(0,e_.jsx)(Cs,(0,eb._)((0,ey._)({},Y),{displayParts:Cd(Y.parts),isActivelyStreaming:en}))}function Ca(Y){var et,en=Y.isActivelyStreaming,ei=(0,nC._)(Y,["isActivelyStreaming"]),eo=(0,eD.hz)(),ea=Y.messages[Y.messages.length-1].message.id,eu=(0,ek._)((0,eC.useState)([]),2),ec=eu[0],ed=eu[1],ef=(0,eC.useRef)();return void 0===ef.current&&(ef.current=eo.has(nw.Nj)?new E8(ed):new Ct(ed)),(0,eC.useEffect)(function(){null!=ef.current&&(ef.current.onMessagePartsUpdated(Y.parts),ef.current.isBuffering()&&tZ.addDelayedRenderingMessage(ea))},[Y.parts,ea]),(0,eC.useEffect)(function(){null==ef.current||ef.current.isBuffering()||tZ.removeDelayedRenderingMessage(ea)},[ec,ea]),(0,eC.useEffect)(function(){return function(){return tZ.removeDelayedRenderingMessage(ea)}},[ea]),(0,eC.useEffect)(function(){return function(){null!=ef.current&&(ef.current.destroy(),ef.current=void 0)}},[]),(0,e_.jsx)(Cs,(0,eb._)((0,ey._)({},ei),{displayParts:ec,isActivelyStreaming:en||(null===(et=ef.current)||void 0===et?void 0:et.isBuffering())}))}function Cs(Y){var et,en=Y.attachments,ei=Y.citations,eo=Y.className,ea=Y.clientThreadId,eu=Y.displayParts,ec=Y.format,ed=Y.id,ef=Y.isActivelyStreaming,eh=Y.isCompletion,ep=Y.isCompletionInProgress,em=Y.messages,eg=Y.onRequestMoreCompletions,eb=Y.parts,ek=Y.prevBrowsingMessages,ew=Y.prevCodeMessages,eC=Y.showExtractedLinkCards,eT=Y.size,eS=void 0===eT?"medium":eT,eA=(0,eD.hz)(),eM=(0,eO.Z)(),eP=em.length>1,ej=(0,eK.ZC)(eP?void 0:em[0]),eI=ej.flagSeverity,eN=ej.shouldHideContent,eL=!eb.some(function(Y){return""!==Y}),eR=E6({text:Cc(eb),isCompletionInProgress:ep}),eF=null===(et=em[0].message.metadata)||void 0===et?void 0:et.targeted_reply,eB=eb.filter(function(Y){return"string"!=typeof Y}),ez=new Set(eB.map(function(Y){return(0,x$.Iy)(Y.asset_pointer)})),eU=(null!=en?en:[]).filter(function(Y){return null!=Y.id&&!ez.has(Y.id)}),eH=eU.length>0&&!eh;return(0,e_.jsxs)("div",{"data-message-author-role":em[0].message.author.role,"data-message-id":em[0].message.id,className:(0,eE.default)(eo,"text-message flex flex-col items-start gap-3 whitespace-pre-wrap break-words [.text-message+&]:mt-5","danger"===eI&&"text-red-500","warning"===eI&&"text-orange-500",!eL&&"overflow-x-auto"),children:[eF&&(0,e_.jsxs)("div",{className:"mt-2 flex flex-col text-token-text-primary",children:[(0,e_.jsx)("div",{className:"text-sm text-token-text-tertiary",children:(0,e_.jsx)(tM.Z,(0,ey._)({},Cf.targetedReply))}),(0,e_.jsx)("div",{className:"mt-2 overflow-y-auto whitespace-pre-wrap break-words border-l-2 border-token-border-heavy px-3",children:eF})]}),eH&&(0,e_.jsx)(Cl,{children:eU.map(function(Y){return(0,e_.jsx)(_J.Z,{file:Y.name,fileId:Y.id,width:"wide",alwaysShowData:!0},Y.id)})}),eu.map(function(Y,et){if("text"===Y.type){var en=eN?null:Y.text;if(!eL&&!eN&&ec){var eo=kI(Y.text,ei,ef?void 0:null==ew?void 0:ew.map(function(Y){return Y.message})),eu=eo.text,eh=eo.displayedCitations,ep=eu;if(eA.has(nw.jS)&&0===et){var eg=wF(ek,eM);null!=eg&&(ep=eg+ep)}return(0,e_.jsx)(kj.Provider,{value:{clientThreadId:ea,message:em[0].message,displayedCitations:eh,isActivelyStreaming:ef},children:(0,e_.jsx)(ko,{clientThreadId:ea,messageId:ed,size:eS,className:(0,eE.default)(ef&&"result-streaming","danger"===eI&&"text-red-500","warning"===eI&&"text-orange-500"),children:""===ep?"&#8203;":ep})},et)}return(0,e_.jsx)("div",{className:(0,eE.default)(eL&&ef&&"result-thinking relative"),children:en},et)}var ey=Y.imageAssets.length>1;return(0,e_.jsx)("div",{className:(0,eE.default)(ey&&"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4"),children:Y.imageAssets.map(function(Y,et){return(0,e_.jsx)(Cu,{asset:Y,showAsGrid:ey},et)})},et)}),(0,e_.jsx)(eK.ZP,{message:eP?void 0:em[0],id:ed,onRequestMoreCompletions:eg,clientThreadId:ea}),eh&&eC&&eR.length>0&&(0,e_.jsx)(E4,{clientThreadId:ea,urls:eR})]})}var Cl=eS.Z.div(Cn());function Cu(Y){var et=Y.asset,en=Y.showAsGrid,ei=(0,ek._)((0,eC.useState)(!1),2),eo=ei[0],ea=ei[1],eu=(0,eH.QH)().gizmoEditorData,ec=(0,eO.Z)(),ed=_D(et,null==eu?void 0:eu.id),ef=ed.url,eh=ed.width,ep=ed.height,em=ed.isLoading,eg=ed.error,ey=em||!eo;return(0,e_.jsx)("div",{className:(0,eE.default)("relative mt-1 flex h-auto w-full max-w-lg items-center justify-center overflow-hidden bg-gray-100 text-gray-500 dark:bg-gray-700 dark:text-gray-400",en&&"aspect-square"),children:null!==ef?(0,e_.jsx)(_X.l,{src:ef,alt:ec.formatMessage(Cf.imageAltText),children:(0,e_.jsx)(_L,{alt:ec.formatMessage(Cf.imageAltText),className:(0,eE.default)("max-w-full",en&&"aspect-square object-cover"),src:ef,width:eh,height:ep,onLoadingComplete:function(){return ea(!0)}})}):(0,e_.jsx)("div",{className:"flex items-center justify-center",style:{aspectRatio:"".concat(eh," / ").concat(ep),width:eh},title:ey?ec.formatMessage(Cf.loadingImage):ec.formatMessage(Cf.errorLoadingImage),children:ey?(0,e_.jsx)(xY.Z,{}):eg?(0,e_.jsx)(eT.BJv,{}):null})})}function Cc(Y){return Y.map(function(Y){return"string"==typeof Y?Y:""}).join("")}function Cd(Y,et){for(var en=[],ei=0,eo=0;eo<Y.length;eo++){var ea=Y[eo];if("string"==typeof ea){if(null!=et&&et<ei+ea.length){en.push({type:"text",text:ea.slice(0,et-ei)});break}en.push({type:"text",text:ea}),ei+=ea.length}else{var eu=eo>0?en[eo-1]:null;(null==eu?void 0:eu.type)==="images"?eu.imageAssets.push(ea):en.push({type:"images",imageAssets:[ea]})}}return en}var Cf=(0,eI.vU)({loadingImage:{id:"textMessage.loadingImage",defaultMessage:"Loading...",description:"Text that describes a loading image"},errorLoadingImage:{id:"textMessage.errorLoadingImage",defaultMessage:"Could not load image",description:"Text that describes an image that failed to load"},imageAltText:{id:"textMessage.imageAltText",defaultMessage:"Uploaded image",description:"Alt text for image asset"},targetedReply:{id:"textMessage.targetedReply",defaultMessage:"Replying to:",description:"Header shown above a targeted reply"}});function Ch(Y){var et=Y.messages,en=Y.clientThreadId,ei=Y.isCompletionInProgress,eo=Y.isCompletion,ea=Y.prevBrowsingMessages,eu=Y.prevCodeMessages,ec=Y.onRequestMoreCompletions,ed=(0,eC.useMemo)(function(){return[et.reduce(function(Y,et){return null==et.err?Y+(0,ez.RR)(et.message):Y},"")]},[et]);return(0,e_.jsx)(Co,{clientThreadId:en,parts:ed,format:!0,isCompletion:eo,isCompletionInProgress:ei,id:"",messages:et,onRequestMoreCompletions:ec,prevBrowsingMessages:ea,prevCodeMessages:eu})}function Cp(Y){var et,en,ei=Y.messages,ea=Y.clientThreadId,eu=Y.isLastMessageInTurn,ec=Y.isRequestActive,ed=Y.isRetrieval,ef=ei.map(function(Y){return Y.message}),eh=wS(ef),ep=eh.filter(function(Y){return Cg(Y,ed)}),em=(0,eM.WA)(ea),eg=[eN.OL.GizmoInteraction,eN.OL.GizmoMagicCreate,eN.OL.GizmoTest].includes(em.kind),ey=eo.Running,eb=ed?eg?Cx.searchingKnowledge:Cx.startingRetrieval:Cx.starting;return ef.some(wO)?(ey=eo.Stopped,eb=ed?eg?Cx.searchingKnowledgeStopped:Cx.retrievalStopped:Cx.browsingStopped):eu&&ec?ep.length>0&&(eb=(en=Cm(ep[ep.length-1],ed,eg)).displayMessage,et=en.displayMessageValues):eh.every(function(Y){return Y.didError})?(ey=eo.Error,eb=ed?eg?Cx.searchingKnowledgeFailed:Cx.retrievalFailed:Cx.browsingFailed):(ey=eo.Finished,eb=void 0),(0,e_.jsx)(wU,{conversationMessages:ei,icon:ed?nu:na,status:ey,displayMessage:eb,displayMessageValues:et,estimatedToolDurationMs:ed?tO:tj})}function Cm(Y,et,en){switch(Y.type){case eN.$x.Search:if(et)return en?{displayMessage:Cx.searchingKnowledge}:{displayMessage:Cx.startingRetrieval};var ei,eo,ea=null===(ei=Y.message.metadata)||void 0===ei?void 0:null===(eo=ei.args)||void 0===eo?void 0:eo[0];if(null!=ea)return{displayMessage:Cx.searchingForQuery,displayMessageValues:{query:ea}};return{displayMessage:Cx.searching};case eN.$x.Click:case eN.$x.OpenUrl:case eN.$x.Quote:case eN.$x.QuoteFull:case eN.$x.QuoteLines:if(et)return en?{displayMessage:Cx.searchingKnowledge}:{displayMessage:Cx.readingDocument,displayMessageValues:{filename:Cb(Y)}};var eu=Cv(Y);return{displayMessage:Cx.visiting,displayMessageValues:{url:null!=eu?Cy(eu):null}};case eN.$x.Back:case eN.$x.Scroll:throw Error("No display string for command: ".concat(Y.type));default:throw(0,w9.Z)(Y.type),Error("Unknown command type: ".concat(Y.type))}}function Cg(Y,et){switch(Y.type){case eN.$x.Search:return!0;case eN.$x.Click:case eN.$x.OpenUrl:case eN.$x.Quote:case eN.$x.QuoteFull:case eN.$x.QuoteLines:return et?null!=Cb(Y):null!=Cv(Y);case eN.$x.Back:case eN.$x.Scroll:return!1;default:return(0,w9.Z)(Y.type),!1}}function Cv(Y){var et,en,ei=null===(et=Y.message.metadata)||void 0===et?void 0:null===(en=et._cite_metadata)||void 0===en?void 0:en.metadata_list[0];return null!=ei&&"file"!==ei.type?ei.url:null}function Cy(Y){try{return new URL(Y).hostname}catch(Y){return null}}function Cb(Y){var et,en,ei=null===(et=Y.message.metadata)||void 0===et?void 0:null===(en=et._cite_metadata)||void 0===en?void 0:en.metadata_list[0];return null!=ei&&"file"===ei.type?ei.name:null}var Cx=(0,eI.vU)({starting:{id:"browsingMessage.startingV3",defaultMessage:"Doing research with Bing",description:"Status message when browsing is starting"},browsingStopped:{id:"browsingMessage.browsingStopped",defaultMessage:"Stopped browsing",description:"Status message when browsing was stopped"},browsingFailed:{id:"browsingMessage.browsingFailed",defaultMessage:"Error browsing",description:"Status message when browsing failed"},searching:{id:"browsingMessage.searching",defaultMessage:"Searching Bing",description:"Status message when searching Bing"},searchingForQuery:{id:"browsingMessage.searchingForQuery",defaultMessage:"Searching “{query}”",description:"Status message when searching for a query"},visiting:{id:"browsingMessage.visiting",defaultMessage:"Visiting {url}",description:"Status message when visiting a webpage"},startingRetrieval:{id:"browsingMessage.startingRetrieval",defaultMessage:"Reading documents",description:"Status message when document retrieval is starting"},retrievalStopped:{id:"browsingMessage.retrievalStopped",defaultMessage:"Stopped reading documents",description:"Status message when document retrieval was stopped"},retrievalFailed:{id:"browsingMessage.retrievalFailed",defaultMessage:"Error reading documents",description:"Status message when document retrieval failed"},readingDocument:{id:"browsingMessage.readingDocument",defaultMessage:"Reading {filename}",description:"Status message when reading a document"},searchingKnowledge:{id:"browsingMessage.searchingKnowledge",defaultMessage:"Searching my knowledge",description:"Status message when a GPT is searching its knowledge base"},searchingKnowledgeStopped:{id:"browsingMessage.searchingKnowledgeStopped",defaultMessage:"Stopped searching knowledge",description:"Status message when a GPT stopped searching its knowledge base"},searchingKnowledgeFailed:{id:"browsingMessage.searchingKnowledgeFailed",defaultMessage:"Error searching knowledge",description:"Status message when a GPT failed to search its knowledge base"}}),Ck=en(51516);function Cw(Y){return(Cw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(Y)}function C_(Y){return(0,Ck.Z)(1,arguments),Y instanceof Date||"object"===Cw(Y)&&"[object Date]"===Object.prototype.toString.call(Y)}var CE=en(28734);function CC(Y){return(0,Ck.Z)(1,arguments),(!!C_(Y)||"number"==typeof Y)&&!isNaN(Number((0,CE.Z)(Y)))}var CT=en(17224);function CS(Y,et){(0,Ck.Z)(2,arguments);var en=(0,CE.Z)(Y).getTime(),ei=(0,CT.Z)(et);return new Date(en+ei)}function CA(Y,et){return(0,Ck.Z)(2,arguments),CS(Y,-(0,CT.Z)(et))}var CM=864e5;function CP(Y){(0,Ck.Z)(1,arguments);var et=(0,CE.Z)(Y),en=et.getTime();return et.setUTCMonth(0,1),et.setUTCHours(0,0,0,0),Math.floor((en-et.getTime())/CM)+1}function Cj(Y){(0,Ck.Z)(1,arguments);var et=1,en=(0,CE.Z)(Y),ei=en.getUTCDay(),eo=(ei<et?7:0)+ei-et;return en.setUTCDate(en.getUTCDate()-eo),en.setUTCHours(0,0,0,0),en}function CO(Y){(0,Ck.Z)(1,arguments);var et=(0,CE.Z)(Y),en=et.getUTCFullYear(),ei=new Date(0);ei.setUTCFullYear(en+1,0,4),ei.setUTCHours(0,0,0,0);var eo=Cj(ei),ea=new Date(0);ea.setUTCFullYear(en,0,4),ea.setUTCHours(0,0,0,0);var eu=Cj(ea);return et.getTime()>=eo.getTime()?en+1:et.getTime()>=eu.getTime()?en:en-1}function CI(Y){(0,Ck.Z)(1,arguments);var et=CO(Y),en=new Date(0);return en.setUTCFullYear(et,0,4),en.setUTCHours(0,0,0,0),Cj(en)}var CL=6048e5;function CR(Y){(0,Ck.Z)(1,arguments);var et=(0,CE.Z)(Y);return Math.round((Cj(et).getTime()-CI(et).getTime())/CL)+1}var CD={};function CF(){return CD}function CB(Y,et){(0,Ck.Z)(1,arguments);var en,ei,eo,ea,eu,ec,ed,ef,eh=CF(),ep=(0,CT.Z)(null!==(en=null!==(ei=null!==(eo=null!==(ea=null==et?void 0:et.weekStartsOn)&&void 0!==ea?ea:null==et?void 0:null===(eu=et.locale)||void 0===eu?void 0:null===(ec=eu.options)||void 0===ec?void 0:ec.weekStartsOn)&&void 0!==eo?eo:eh.weekStartsOn)&&void 0!==ei?ei:null===(ed=eh.locale)||void 0===ed?void 0:null===(ef=ed.options)||void 0===ef?void 0:ef.weekStartsOn)&&void 0!==en?en:0);if(!(ep>=0&&ep<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var em=(0,CE.Z)(Y),eg=em.getUTCDay(),ey=(eg<ep?7:0)+eg-ep;return em.setUTCDate(em.getUTCDate()-ey),em.setUTCHours(0,0,0,0),em}function Cz(Y,et){(0,Ck.Z)(1,arguments);var en,ei,eo,ea,eu,ec,ed,ef,eh=(0,CE.Z)(Y),ep=eh.getUTCFullYear(),em=CF(),eg=(0,CT.Z)(null!==(en=null!==(ei=null!==(eo=null!==(ea=null==et?void 0:et.firstWeekContainsDate)&&void 0!==ea?ea:null==et?void 0:null===(eu=et.locale)||void 0===eu?void 0:null===(ec=eu.options)||void 0===ec?void 0:ec.firstWeekContainsDate)&&void 0!==eo?eo:em.firstWeekContainsDate)&&void 0!==ei?ei:null===(ed=em.locale)||void 0===ed?void 0:null===(ef=ed.options)||void 0===ef?void 0:ef.firstWeekContainsDate)&&void 0!==en?en:1);if(!(eg>=1&&eg<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var ey=new Date(0);ey.setUTCFullYear(ep+1,0,eg),ey.setUTCHours(0,0,0,0);var eb=CB(ey,et),ek=new Date(0);ek.setUTCFullYear(ep,0,eg),ek.setUTCHours(0,0,0,0);var ew=CB(ek,et);return eh.getTime()>=eb.getTime()?ep+1:eh.getTime()>=ew.getTime()?ep:ep-1}function CU(Y,et){(0,Ck.Z)(1,arguments);var en,ei,eo,ea,eu,ec,ed,ef,eh=CF(),ep=(0,CT.Z)(null!==(en=null!==(ei=null!==(eo=null!==(ea=null==et?void 0:et.firstWeekContainsDate)&&void 0!==ea?ea:null==et?void 0:null===(eu=et.locale)||void 0===eu?void 0:null===(ec=eu.options)||void 0===ec?void 0:ec.firstWeekContainsDate)&&void 0!==eo?eo:eh.firstWeekContainsDate)&&void 0!==ei?ei:null===(ed=eh.locale)||void 0===ed?void 0:null===(ef=ed.options)||void 0===ef?void 0:ef.firstWeekContainsDate)&&void 0!==en?en:1),em=Cz(Y,et),eg=new Date(0);return eg.setUTCFullYear(em,0,ep),eg.setUTCHours(0,0,0,0),CB(eg,et)}var CH=6048e5;function CG(Y,et){(0,Ck.Z)(1,arguments);var en=(0,CE.Z)(Y);return Math.round((CB(en,et).getTime()-CU(en,et).getTime())/CH)+1}function CV(Y,et){for(var en=Y<0?"-":"",ei=Math.abs(Y).toString();ei.length<et;)ei="0"+ei;return en+ei}var CW={y:function(Y,et){var en=Y.getUTCFullYear(),ei=en>0?en:1-en;return CV("yy"===et?ei%100:ei,et.length)},M:function(Y,et){var en=Y.getUTCMonth();return"M"===et?String(en+1):CV(en+1,2)},d:function(Y,et){return CV(Y.getUTCDate(),et.length)},a:function(Y,et){var en=Y.getUTCHours()/12>=1?"pm":"am";switch(et){case"a":case"aa":return en.toUpperCase();case"aaa":return en;case"aaaaa":return en[0];default:return"am"===en?"a.m.":"p.m."}},h:function(Y,et){return CV(Y.getUTCHours()%12||12,et.length)},H:function(Y,et){return CV(Y.getUTCHours(),et.length)},m:function(Y,et){return CV(Y.getUTCMinutes(),et.length)},s:function(Y,et){return CV(Y.getUTCSeconds(),et.length)},S:function(Y,et){var en=et.length;return CV(Math.floor(Y.getUTCMilliseconds()*Math.pow(10,en-3)),et.length)}},Cq={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function CZ(Y,et){var en=Y>0?"-":"+",ei=Math.abs(Y),eo=Math.floor(ei/60),ea=ei%60;if(0===ea)return en+String(eo);var eu=et||"";return en+String(eo)+eu+CV(ea,2)}function CK(Y,et){return Y%60==0?(Y>0?"-":"+")+CV(Math.abs(Y)/60,2):C$(Y,et)}function C$(Y,et){var en=et||"",ei=Y>0?"-":"+",eo=Math.abs(Y);return ei+CV(Math.floor(eo/60),2)+en+CV(eo%60,2)}var CY={G:function(Y,et,en){var ei=Y.getUTCFullYear()>0?1:0;switch(et){case"G":case"GG":case"GGG":return en.era(ei,{width:"abbreviated"});case"GGGGG":return en.era(ei,{width:"narrow"});default:return en.era(ei,{width:"wide"})}},y:function(Y,et,en){if("yo"===et){var ei=Y.getUTCFullYear(),eo=ei>0?ei:1-ei;return en.ordinalNumber(eo,{unit:"year"})}return CW.y(Y,et)},Y:function(Y,et,en,ei){var eo=Cz(Y,ei),ea=eo>0?eo:1-eo;return"YY"===et?CV(ea%100,2):"Yo"===et?en.ordinalNumber(ea,{unit:"year"}):CV(ea,et.length)},R:function(Y,et){return CV(CO(Y),et.length)},u:function(Y,et){return CV(Y.getUTCFullYear(),et.length)},Q:function(Y,et,en){var ei=Math.ceil((Y.getUTCMonth()+1)/3);switch(et){case"Q":return String(ei);case"QQ":return CV(ei,2);case"Qo":return en.ordinalNumber(ei,{unit:"quarter"});case"QQQ":return en.quarter(ei,{width:"abbreviated",context:"formatting"});case"QQQQQ":return en.quarter(ei,{width:"narrow",context:"formatting"});default:return en.quarter(ei,{width:"wide",context:"formatting"})}},q:function(Y,et,en){var ei=Math.ceil((Y.getUTCMonth()+1)/3);switch(et){case"q":return String(ei);case"qq":return CV(ei,2);case"qo":return en.ordinalNumber(ei,{unit:"quarter"});case"qqq":return en.quarter(ei,{width:"abbreviated",context:"standalone"});case"qqqqq":return en.quarter(ei,{width:"narrow",context:"standalone"});default:return en.quarter(ei,{width:"wide",context:"standalone"})}},M:function(Y,et,en){var ei=Y.getUTCMonth();switch(et){case"M":case"MM":return CW.M(Y,et);case"Mo":return en.ordinalNumber(ei+1,{unit:"month"});case"MMM":return en.month(ei,{width:"abbreviated",context:"formatting"});case"MMMMM":return en.month(ei,{width:"narrow",context:"formatting"});default:return en.month(ei,{width:"wide",context:"formatting"})}},L:function(Y,et,en){var ei=Y.getUTCMonth();switch(et){case"L":return String(ei+1);case"LL":return CV(ei+1,2);case"Lo":return en.ordinalNumber(ei+1,{unit:"month"});case"LLL":return en.month(ei,{width:"abbreviated",context:"standalone"});case"LLLLL":return en.month(ei,{width:"narrow",context:"standalone"});default:return en.month(ei,{width:"wide",context:"standalone"})}},w:function(Y,et,en,ei){var eo=CG(Y,ei);return"wo"===et?en.ordinalNumber(eo,{unit:"week"}):CV(eo,et.length)},I:function(Y,et,en){var ei=CR(Y);return"Io"===et?en.ordinalNumber(ei,{unit:"week"}):CV(ei,et.length)},d:function(Y,et,en){return"do"===et?en.ordinalNumber(Y.getUTCDate(),{unit:"date"}):CW.d(Y,et)},D:function(Y,et,en){var ei=CP(Y);return"Do"===et?en.ordinalNumber(ei,{unit:"dayOfYear"}):CV(ei,et.length)},E:function(Y,et,en){var ei=Y.getUTCDay();switch(et){case"E":case"EE":case"EEE":return en.day(ei,{width:"abbreviated",context:"formatting"});case"EEEEE":return en.day(ei,{width:"narrow",context:"formatting"});case"EEEEEE":return en.day(ei,{width:"short",context:"formatting"});default:return en.day(ei,{width:"wide",context:"formatting"})}},e:function(Y,et,en,ei){var eo=Y.getUTCDay(),ea=(eo-ei.weekStartsOn+8)%7||7;switch(et){case"e":return String(ea);case"ee":return CV(ea,2);case"eo":return en.ordinalNumber(ea,{unit:"day"});case"eee":return en.day(eo,{width:"abbreviated",context:"formatting"});case"eeeee":return en.day(eo,{width:"narrow",context:"formatting"});case"eeeeee":return en.day(eo,{width:"short",context:"formatting"});default:return en.day(eo,{width:"wide",context:"formatting"})}},c:function(Y,et,en,ei){var eo=Y.getUTCDay(),ea=(eo-ei.weekStartsOn+8)%7||7;switch(et){case"c":return String(ea);case"cc":return CV(ea,et.length);case"co":return en.ordinalNumber(ea,{unit:"day"});case"ccc":return en.day(eo,{width:"abbreviated",context:"standalone"});case"ccccc":return en.day(eo,{width:"narrow",context:"standalone"});case"cccccc":return en.day(eo,{width:"short",context:"standalone"});default:return en.day(eo,{width:"wide",context:"standalone"})}},i:function(Y,et,en){var ei=Y.getUTCDay(),eo=0===ei?7:ei;switch(et){case"i":return String(eo);case"ii":return CV(eo,et.length);case"io":return en.ordinalNumber(eo,{unit:"day"});case"iii":return en.day(ei,{width:"abbreviated",context:"formatting"});case"iiiii":return en.day(ei,{width:"narrow",context:"formatting"});case"iiiiii":return en.day(ei,{width:"short",context:"formatting"});default:return en.day(ei,{width:"wide",context:"formatting"})}},a:function(Y,et,en){var ei=Y.getUTCHours()/12>=1?"pm":"am";switch(et){case"a":case"aa":return en.dayPeriod(ei,{width:"abbreviated",context:"formatting"});case"aaa":return en.dayPeriod(ei,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return en.dayPeriod(ei,{width:"narrow",context:"formatting"});default:return en.dayPeriod(ei,{width:"wide",context:"formatting"})}},b:function(Y,et,en){var ei,eo=Y.getUTCHours();switch(ei=12===eo?Cq.noon:0===eo?Cq.midnight:eo/12>=1?"pm":"am",et){case"b":case"bb":return en.dayPeriod(ei,{width:"abbreviated",context:"formatting"});case"bbb":return en.dayPeriod(ei,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return en.dayPeriod(ei,{width:"narrow",context:"formatting"});default:return en.dayPeriod(ei,{width:"wide",context:"formatting"})}},B:function(Y,et,en){var ei,eo=Y.getUTCHours();switch(ei=eo>=17?Cq.evening:eo>=12?Cq.afternoon:eo>=4?Cq.morning:Cq.night,et){case"B":case"BB":case"BBB":return en.dayPeriod(ei,{width:"abbreviated",context:"formatting"});case"BBBBB":return en.dayPeriod(ei,{width:"narrow",context:"formatting"});default:return en.dayPeriod(ei,{width:"wide",context:"formatting"})}},h:function(Y,et,en){if("ho"===et){var ei=Y.getUTCHours()%12;return 0===ei&&(ei=12),en.ordinalNumber(ei,{unit:"hour"})}return CW.h(Y,et)},H:function(Y,et,en){return"Ho"===et?en.ordinalNumber(Y.getUTCHours(),{unit:"hour"}):CW.H(Y,et)},K:function(Y,et,en){var ei=Y.getUTCHours()%12;return"Ko"===et?en.ordinalNumber(ei,{unit:"hour"}):CV(ei,et.length)},k:function(Y,et,en){var ei=Y.getUTCHours();return(0===ei&&(ei=24),"ko"===et)?en.ordinalNumber(ei,{unit:"hour"}):CV(ei,et.length)},m:function(Y,et,en){return"mo"===et?en.ordinalNumber(Y.getUTCMinutes(),{unit:"minute"}):CW.m(Y,et)},s:function(Y,et,en){return"so"===et?en.ordinalNumber(Y.getUTCSeconds(),{unit:"second"}):CW.s(Y,et)},S:function(Y,et){return CW.S(Y,et)},X:function(Y,et,en,ei){var eo=(ei._originalDate||Y).getTimezoneOffset();if(0===eo)return"Z";switch(et){case"X":return CK(eo);case"XXXX":case"XX":return C$(eo);default:return C$(eo,":")}},x:function(Y,et,en,ei){var eo=(ei._originalDate||Y).getTimezoneOffset();switch(et){case"x":return CK(eo);case"xxxx":case"xx":return C$(eo);default:return C$(eo,":")}},O:function(Y,et,en,ei){var eo=(ei._originalDate||Y).getTimezoneOffset();switch(et){case"O":case"OO":case"OOO":return"GMT"+CZ(eo,":");default:return"GMT"+C$(eo,":")}},z:function(Y,et,en,ei){var eo=(ei._originalDate||Y).getTimezoneOffset();switch(et){case"z":case"zz":case"zzz":return"GMT"+CZ(eo,":");default:return"GMT"+C$(eo,":")}},t:function(Y,et,en,ei){return CV(Math.floor((ei._originalDate||Y).getTime()/1e3),et.length)},T:function(Y,et,en,ei){return CV((ei._originalDate||Y).getTime(),et.length)}},CQ=function(Y,et){switch(Y){case"P":return et.date({width:"short"});case"PP":return et.date({width:"medium"});case"PPP":return et.date({width:"long"});default:return et.date({width:"full"})}},CX=function(Y,et){switch(Y){case"p":return et.time({width:"short"});case"pp":return et.time({width:"medium"});case"ppp":return et.time({width:"long"});default:return et.time({width:"full"})}},CJ=function(Y,et){var en,ei=Y.match(/(P+)(p+)?/)||[],eo=ei[1],ea=ei[2];if(!ea)return CQ(Y,et);switch(eo){case"P":en=et.dateTime({width:"short"});break;case"PP":en=et.dateTime({width:"medium"});break;case"PPP":en=et.dateTime({width:"long"});break;default:en=et.dateTime({width:"full"})}return en.replace("{{date}}",CQ(eo,et)).replace("{{time}}",CX(ea,et))},C0={p:CX,P:CJ},C1=en(24421),C2=["D","DD"],C9=["YY","YYYY"];function C5(Y){return -1!==C2.indexOf(Y)}function C4(Y){return -1!==C9.indexOf(Y)}function C3(Y,et,en){if("YYYY"===Y)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(et,"`) for formatting years to the input `").concat(en,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===Y)throw RangeError("Use `yy` instead of `YY` (in `".concat(et,"`) for formatting years to the input `").concat(en,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===Y)throw RangeError("Use `d` instead of `D` (in `".concat(et,"`) for formatting days of the month to the input `").concat(en,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===Y)throw RangeError("Use `dd` instead of `DD` (in `".concat(et,"`) for formatting days of the month to the input `").concat(en,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var C6={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},C7=function(Y,et,en){var ei,eo=C6[Y];return(ei="string"==typeof eo?eo:1===et?eo.one:eo.other.replace("{{count}}",et.toString()),null!=en&&en.addSuffix)?en.comparison&&en.comparison>0?"in "+ei:ei+" ago":ei};function C8(Y){return function(){var et=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},en=et.width?String(et.width):Y.defaultWidth;return Y.formats[en]||Y.formats[Y.defaultWidth]}}var Te={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Tt={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Tn={date:C8({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:C8({formats:Te,defaultWidth:"full"}),dateTime:C8({formats:Tt,defaultWidth:"full"})},Tr={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ti=function(Y,et,en,ei){return Tr[Y]};function To(Y){return function(et,en){var ei;if("formatting"===(null!=en&&en.context?String(en.context):"standalone")&&Y.formattingValues){var eo=Y.defaultFormattingWidth||Y.defaultWidth,ea=null!=en&&en.width?String(en.width):eo;ei=Y.formattingValues[ea]||Y.formattingValues[eo]}else{var eu=Y.defaultWidth,ec=null!=en&&en.width?String(en.width):Y.defaultWidth;ei=Y.values[ec]||Y.values[eu]}return ei[Y.argumentCallback?Y.argumentCallback(et):et]}}var Ta={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ts={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Tl={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Tu={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Td={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Tf={ordinalNumber:function(Y,et){var en=Number(Y),ei=en%100;if(ei>20||ei<10)switch(ei%10){case 1:return en+"st";case 2:return en+"nd";case 3:return en+"rd"}return en+"th"},era:To({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:To({values:Ta,defaultWidth:"wide",argumentCallback:function(Y){return Y-1}}),month:To({values:Ts,defaultWidth:"wide"}),day:To({values:Tl,defaultWidth:"wide"}),dayPeriod:To({values:Tu,defaultWidth:"wide",formattingValues:Td,defaultFormattingWidth:"wide"})};function Th(Y){return function(et){var en,ei=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},eo=ei.width,ea=eo&&Y.matchPatterns[eo]||Y.matchPatterns[Y.defaultMatchWidth],eu=et.match(ea);if(!eu)return null;var ec=eu[0],ed=eo&&Y.parsePatterns[eo]||Y.parsePatterns[Y.defaultParseWidth],ef=Array.isArray(ed)?Tm(ed,function(Y){return Y.test(ec)}):Tp(ed,function(Y){return Y.test(ec)});return en=Y.valueCallback?Y.valueCallback(ef):ef,{value:en=ei.valueCallback?ei.valueCallback(en):en,rest:et.slice(ec.length)}}}function Tp(Y,et){for(var en in Y)if(Y.hasOwnProperty(en)&&et(Y[en]))return en}function Tm(Y,et){for(var en=0;en<Y.length;en++)if(et(Y[en]))return en}var Tg={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Tv={any:[/^b/i,/^(a|c)/i]},Ty={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Tb={any:[/1/i,/2/i,/3/i,/4/i]},Tx={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Tk={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Tw={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},T_={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},TE={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},TC={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},TT={code:"en-US",formatDistance:C7,formatLong:Tn,formatRelative:Ti,localize:Tf,match:{ordinalNumber:function(Y){return function(et){var en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ei=et.match(Y.matchPattern);if(!ei)return null;var eo=ei[0],ea=et.match(Y.parsePattern);if(!ea)return null;var eu=Y.valueCallback?Y.valueCallback(ea[0]):ea[0];return{value:eu=en.valueCallback?en.valueCallback(eu):eu,rest:et.slice(eo.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(Y){return parseInt(Y,10)}}),era:Th({matchPatterns:Tg,defaultMatchWidth:"wide",parsePatterns:Tv,defaultParseWidth:"any"}),quarter:Th({matchPatterns:Ty,defaultMatchWidth:"wide",parsePatterns:Tb,defaultParseWidth:"any",valueCallback:function(Y){return Y+1}}),month:Th({matchPatterns:Tx,defaultMatchWidth:"wide",parsePatterns:Tk,defaultParseWidth:"any"}),day:Th({matchPatterns:Tw,defaultMatchWidth:"wide",parsePatterns:T_,defaultParseWidth:"any"}),dayPeriod:Th({matchPatterns:TE,defaultMatchWidth:"any",parsePatterns:TC,defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},TS=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,TA=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,TM=/^'([^]*?)'?$/,TP=/''/g,Tj=/[a-zA-Z]/;function TO(Y,et,en){(0,Ck.Z)(2,arguments);var ei,eo,ea,eu,ec,ed,ef,eh,ep,em,eg,ey,eb,ek,ew,e_,eE,eC,eT=String(et),eS=CF(),eA=null!==(ei=null!==(eo=null==en?void 0:en.locale)&&void 0!==eo?eo:eS.locale)&&void 0!==ei?ei:TT,eM=(0,CT.Z)(null!==(ea=null!==(eu=null!==(ec=null!==(ed=null==en?void 0:en.firstWeekContainsDate)&&void 0!==ed?ed:null==en?void 0:null===(ef=en.locale)||void 0===ef?void 0:null===(eh=ef.options)||void 0===eh?void 0:eh.firstWeekContainsDate)&&void 0!==ec?ec:eS.firstWeekContainsDate)&&void 0!==eu?eu:null===(ep=eS.locale)||void 0===ep?void 0:null===(em=ep.options)||void 0===em?void 0:em.firstWeekContainsDate)&&void 0!==ea?ea:1);if(!(eM>=1&&eM<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var eP=(0,CT.Z)(null!==(eg=null!==(ey=null!==(eb=null!==(ek=null==en?void 0:en.weekStartsOn)&&void 0!==ek?ek:null==en?void 0:null===(ew=en.locale)||void 0===ew?void 0:null===(e_=ew.options)||void 0===e_?void 0:e_.weekStartsOn)&&void 0!==eb?eb:eS.weekStartsOn)&&void 0!==ey?ey:null===(eE=eS.locale)||void 0===eE?void 0:null===(eC=eE.options)||void 0===eC?void 0:eC.weekStartsOn)&&void 0!==eg?eg:0);if(!(eP>=0&&eP<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!eA.localize)throw RangeError("locale must contain localize property");if(!eA.formatLong)throw RangeError("locale must contain formatLong property");var ej=(0,CE.Z)(Y);if(!CC(ej))throw RangeError("Invalid time value");var eO=(0,C1.Z)(ej),eI=CA(ej,eO),eN={firstWeekContainsDate:eM,weekStartsOn:eP,locale:eA,_originalDate:ej};return eT.match(TA).map(function(Y){var et=Y[0];return"p"===et||"P"===et?(0,C0[et])(Y,eA.formatLong):Y}).join("").match(TS).map(function(ei){if("''"===ei)return"'";var eo=ei[0];if("'"===eo)return TI(ei);var ea=CY[eo];if(ea)return!(null!=en&&en.useAdditionalWeekYearTokens)&&C4(ei)&&C3(ei,et,String(Y)),!(null!=en&&en.useAdditionalDayOfYearTokens)&&C5(ei)&&C3(ei,et,String(Y)),ea(eI,ei,eA.localize,eN);if(eo.match(Tj))throw RangeError("Format string contains an unescaped latin alphabet character `"+eo+"`");return ei}).join("")}function TI(Y){var et=Y.match(TM);return et?et[1].replace(TP,"'"):Y}var TN=en(71950),TL=en(11615);!function(Y){Y[Y.Left=-1]="Left",Y[Y.Right=1]="Right",Y[Y.None=0]="None"}(ec||(ec={}));var TR={enter:function(Y){return{zIndex:0,x:Y===ec.Left?"10%":"-10%",opacity:0}},center:{zIndex:1,x:0,opacity:1},exit:function(Y){return{zIndex:0,x:Y===ec.Right?"10%":"-10%",opacity:0}}},TD={enter:{opacity:0,y:"10%"},visible:{opacity:1,y:0},exit:{opacity:0,y:"10%"}},TF=1e3,TB=1e3,Tz=function(Y,et){return Math.abs(Y)*et};function TU(Y){var et,en=function(){eS(function(et){var en=(Y.images.findIndex(function(Y){return Y.url===et.url})+1)%Y.images.length;return Y.images[en]}),eD(ec.Left)},ei=function(){eS(function(et){var en=Y.images.findIndex(function(Y){return Y.url===et.url}),ei=en>0?(en-1)%Y.images.length:Y.images.length-1;return Y.images[ei]}),eD(ec.Right)},eo=function(et){var en;ej(et),et&&(null===(en=Y.onOpen)||void 0===en||en.call(Y))},ea=function(Y){"ArrowLeft"===Y.key?ei():"ArrowRight"===Y.key&&en()},eu=(0,eO.Z)(),ed=(0,eB.dQ)(),ef=[eB._G.Small,eB._G.Mobile].includes(ed),eh=(0,ek._)((0,eC.useState)({width:0,height:0}),2),ep=eh[0],em=eh[1],eg=(0,ek._)((0,eC.useState)(!1),2),ey=eg[0],eb=eg[1],ew=(0,ek._)((0,eC.useState)(Y.image),2),eT=ew[0],eS=ew[1],eM=(0,ek._)((0,eC.useState)(!1),2),eP=eM[0],ej=eM[1],eI=ep.width>0&&ep.height>0,eN=(0,eC.useRef)(null),eL=(0,ek._)((0,eC.useState)(ec.None),2),eR=eL[0],eD=eL[1];(0,eC.useEffect)(function(){if(!eT.url)throw Error("ExpandableImage requires a src");var Y=new Image;Y.onload=function(){em({width:Y.naturalWidth,height:Y.naturalHeight})},Y.onerror=function(){TL.D0&&console.error("Could not load image ".concat(eT.url))},Y.src=eT.url},[eT.url]),(0,eC.useEffect)(function(){var et=eN.current;if(eP)return null==et||et.addEventListener("keydown",ea),function(){null==et||et.removeEventListener("keydown",ea)};eS(Y.image)},[eP]);var eF=Y.images.findIndex(function(Y){return Y.url===eT.url});return(0,e_.jsxs)(TN.fC,{onOpenChange:eo,children:[(0,e_.jsx)(TN.xz,{disabled:!eI,className:Y.className,"aria-label":eu.formatMessage(TH.showImage),children:Y.children}),(0,e_.jsx)(TN.h_,{children:(0,e_.jsx)(TN.aV,{className:"fixed inset-0 flex items-center justify-center bg-black/90 backdrop-blur-xl radix-state-open:animate-show",children:(0,e_.jsxs)(TN.VY,{className:(0,eE.default)("relative flex h-[100dvh] w-screen justify-stretch divide-x divide-white/10 focus:outline-none radix-state-open:animate-contentShow"),ref:eN,children:[(0,e_.jsx)("div",{className:(0,eE.default)("flex flex-1 transition-[flex-basis]",!ey&&"md:basis-[75vw]"),children:(0,e_.jsxs)("div",{className:"flex flex-1 flex-col md:p-6",children:[(0,e_.jsxs)("div",{className:"flex justify-between px-6 py-2 pt-6 text-white sm:mb-4 md:mt-2 md:px-0 md:py-2",children:[(0,e_.jsx)(TN.x8,{asChild:!0,children:(0,e_.jsx)("button",{"aria-label":eu.formatMessage(TH.closeModal),children:(0,e_.jsx)(eA.v7,{})})}),(0,e_.jsx)("div",{children:!ef&&(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsx)(tc.z,{color:"none",size:"small",onClick:function(){return Y.onDownload(eT)},"aria-label":eu.formatMessage(TH.downloadImage),children:(0,e_.jsx)(eA.Sg,{})}),(0,e_.jsx)(tc.z,{color:"none",size:"small",onClick:function(){return eb(function(Y){return!Y})},"aria-label":eu.formatMessage(TH.toggleSidebar),className:"md:inline-flex",children:(0,e_.jsx)(eA.VX,{})})]})})]}),(0,e_.jsx)("div",{className:"relative flex flex-1 flex-col items-center justify-center overflow-hidden",children:(0,e_.jsx)(tB.M,{initial:!1,custom:eR,children:(0,e_.jsxs)(tU.E.div,{className:"absolute grid h-full w-full grid-rows-2",custom:eR,variants:TR,drag:"x",dragConstraints:{left:0,right:0},dragElastic:1,onDragEnd:function(Y,et){var eo=et.offset,ea=et.velocity,eu=Tz(eo.x,ea.x);eu<-TF?en():eu>TF&&ei()},children:[(0,e_.jsx)(tU.E.img,{src:eT.url,alt:eT.alt,className:"row-span-4 mx-auto h-full object-scale-down",onPanEnd:function(Y,et){var en=et.offset,ei=et.velocity,eo=Tz(en.y,ei.y);eo<-TB?eb(!0):eo>TB&&eb(!1)}},eT.url),ef&&ey&&(0,e_.jsx)(tU.E.div,{className:"flex text-white",variants:TD,initial:"enter",animate:"visible",exit:"exit",transition:{y:{type:"spring",stiffness:300,damping:30},opacity:{duration:.2}},children:Y.metadataRenderer(eT)})]},eT.url)})}),Y.images.length>1?(0,e_.jsxs)("div",{className:"flex items-center justify-center gap-4 p-8 text-white",children:[(0,e_.jsx)(tc.z,{color:"none",size:"small",onClick:ei,"aria-label":eu.formatMessage(TH.previousImage),children:(0,e_.jsx)(eA.FX,{})}),Y.images.map(function(Y,en){return(0,e_.jsx)("img",{src:Y.url,alt:null!==(et=Y.alt)&&void 0!==et?et:"",className:(0,eE.default)("h-12 w-12 cursor-pointer rounded object-cover transition duration-300 hover:opacity-100",Y.url===eT.url?"ring-2 ring-white ring-offset-4 ring-offset-black":"opacity-25"),onClick:function(){eS(Y),eD(en<eF?ec.Right:ec.Left)},"aria-label":eu.formatMessage(TH.showImage),role:"button"},Y.url)}),(0,e_.jsx)(tc.z,{color:"none",size:"small",onClick:en,"aria-label":eu.formatMessage(TH.nextImage),children:(0,e_.jsx)(eA.Gb,{})})]}):null]})}),(0,e_.jsx)("div",{className:(0,eE.default)("hidden items-center justify-start overflow-hidden bg-gray-900 text-white transition-[flex-basis] duration-500 md:flex",ey?"md:basis-[25vw]":"md:basis-0"),children:(0,e_.jsx)("div",{className:"w-[25vw] min-w-[25vw]",children:Y.metadataRenderer(eT)})})]})})})]})}var TH=(0,eI.vU)({showImage:{id:"imageViewer.showImage",defaultMessage:"Show Image",description:"Button to show the image in a modal"},closeModal:{id:"imageViewer.closeModal",defaultMessage:"Close Modal",description:"Button to close the modal"},downloadImage:{id:"imageViewer.downloadImage",defaultMessage:"Download Image",description:"Button to download the image"},toggleSidebar:{id:"imageViewer.toggleSidebar",defaultMessage:"Toggle Sidebar",description:"Button to toggle the sidebar"},nextImage:{id:"imageViewer.nextImage",defaultMessage:"Next Image",description:"Button to go to the next image"},previousImage:{id:"imageViewer.previousImage",defaultMessage:"Previous Image",description:"Button to go to the previous image"}});function TG(){var Y=(0,ew._)(["grid gap-2\n",""]);return TG=function(){return Y},Y}function TV(Y){var et=Y.messages,en=(0,ek._)(et,2),ei=en[0],ea=en[1],eu=wO(ei.message),ec=tq(),ed=et.some(function(Y){return ec.has(Y.message.id)}),ef=null;null!=ea&&"multimodal_text"===ea.message.content.content_type&&(ef=ea.message.content.parts.filter(function(Y){return"object"==typeof Y&&"asset_pointer"in Y}));var eh=eo.Running,ep=T0.creatingImages;return null!=ef?(eh=eo.Finished,ep=void 0):null!=ea?(eh=eo.Error,ep=T0.errorCreating):eu&&(eh=eo.Stopped,ep=T0.stopped),(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsx)(wU,{conversationMessages:et,icon:nh,status:eh,displayMessage:ep,estimatedToolDurationMs:tL,animationLoopDurationMs:4e3}),null!=ef&&ef.length>0&&!ed&&(0,e_.jsx)(TW,{imageAssets:ef})]})}function TW(Y){var et=Y.imageAssets,en=function(){kH.m9.logEvent("chatgpt_dalle_image_view_full"),eP.A.logEvent(ej.M.dalledImageViewFull)},ei=(0,eO.Z)(),eo=(0,ek._)((0,eC.useState)(!1),2),ea=eo[0],eu=eo[1];(0,eC.useEffect)(function(){eu(!0)},[]);var ec=_R(et);function ed(Y){return ef.apply(this,arguments)}function ef(){return(ef=(0,e4._)(function(Y){var et,en,ei,eo;return(0,ta.Jh)(this,function(ea){switch(ea.label){case 0:return eo=TX(null!==(ei=null===(et=Y.metadata)||void 0===et?void 0:null===(en=et.dalle)||void 0===en?void 0:en.prompt)&&void 0!==ei?ei:""),[4,TY(Y.url,eo)];case 1:return ea.sent(),kH.m9.logEvent("chatgpt_dalle_image_download"),eP.A.logEvent(ej.M.dalledImageDownload),[2]}})})).apply(this,arguments)}var eh=TJ(et[0]);return(0,e_.jsx)(T$,{$numItems:ec.length,className:(0,eE.default)("my-1 transition-opacity duration-300",ea?"opacity-100":"opacity-0"),children:ec.map(function(Y,et){var eo,ea,eu,ef=Y.isLoading,ep=Y.data,em=Y.error;if(ef)return(0,e_.jsx)(TZ,{shape:eh,bgClassName:"animate-pulse",bgStyle:{animationDelay:"".concat(200*et,"ms")}},et);if(null!=em||(null==ep?void 0:ep.url)==null)return(0,e_.jsx)(TZ,{className:"text-sm text-gray-500",shape:eh,children:(0,e_.jsxs)("div",{className:"flex min-h-full flex-col items-center justify-center gap-3 px-4 pb-5",children:[(0,e_.jsx)(eT.bcx,{className:"icon-sm self-center text-gray-400"}),ei.formatMessage(T0.imageLoadError)]})},et);var eg=(0,eb._)((0,ey._)({},ep),{alt:null!==(eu=null==ep?void 0:null===(eo=ep.metadata)||void 0===eo?void 0:null===(ea=eo.dalle)||void 0===ea?void 0:ea.prompt)&&void 0!==eu?eu:""});return(0,e_.jsx)("div",{className:"flex",children:(0,e_.jsx)(TU,{image:eg,images:ec.filter(function(Y){return null!=Y.data}).map(function(Y){var et,en,ei,eo=Y.data;return(0,eb._)((0,ey._)({},eo),{alt:null!==(ei=null===(et=eo.metadata)||void 0===et?void 0:null===(en=et.dalle)||void 0===en?void 0:en.prompt)&&void 0!==ei?ei:""})}),metadataRenderer:function(Y){return(0,e_.jsx)(Tq,{image:Y})},onDownload:ed,onOpen:en,children:(0,e_.jsx)(TK,{image:eg,shape:eh,onDownload:function(){return ed(eg)},bgClassName:"animate-pulse",bgStyle:{animationDelay:"".concat(200*et,"ms")}})})},et)})})}function Tq(Y){var et,en,ei=Y.image,eo=function(){var Y,et,en,eo=null!==(en=null===(Y=ei.metadata)||void 0===Y?void 0:null===(et=Y.dalle)||void 0===et?void 0:et.prompt)&&void 0!==en?en:"";try{navigator.clipboard.writeText(eo),ed(!0),setTimeout(function(){ed(!1)},2e3)}catch(Y){console.error("Error copying to clipboard",Y)}},ea=(0,eO.Z)(),eu=(0,ek._)((0,eC.useState)(!1),2),ec=eu[0],ed=eu[1];return(0,e_.jsxs)("div",{className:"flex flex-col items-start gap-3 p-6",children:[(0,e_.jsx)("div",{className:"text-sm text-gray-300 sm:text-base",children:ea.formatMessage(T0.imageViewerMetadataTitle)}),(0,e_.jsx)("div",{className:"max-h-32 overflow-y-auto text-sm md:max-h-[80vh] md:text-lg",children:null===(et=ei.metadata)||void 0===et?void 0:null===(en=et.dalle)||void 0===en?void 0:en.prompt}),(0,e_.jsxs)(tc.z,{color:"dark",onClick:eo,disabled:ec,className:"hidden sm:block",children:[(0,e_.jsx)(eT.C3L,{className:"h-5 w-5"}),ec?ea.formatMessage(T0.imageViewerMetadataCopyButtonCopied):ea.formatMessage(T0.imageViewerMetadataCopyButton)]})]})}function TZ(Y){var et=Y.children,en=Y.shape,ei=Y.className,eo=Y.bgClassName,ea=Y.bgStyle;return(0,e_.jsxs)("div",{className:(0,eE.default)("relative overflow-hidden",ei,en===ed.WIDE&&"aspect-[7/4]",en===ed.SQUARE&&"aspect-square max-w-[400px]",en===ed.TALL&&"aspect-[4/7] max-w-xs"),children:[(0,e_.jsx)("div",{className:(0,eE.default)("pointer-events-none absolute inset-0 bg-gray-100",eo),style:ea}),(0,e_.jsx)("div",{className:"relative h-full",children:et})]})}function TK(Y){var et=Y.image,en=Y.shape,ei=Y.onDownload,eo=Y.bgClassName,ea=Y.bgStyle,eu=(0,eO.Z)(),ec=et.url,ed=et.width,ef=et.height;function eh(Y){return ep.apply(this,arguments)}function ep(){return(ep=(0,e4._)(function(Y){return(0,ta.Jh)(this,function(et){return Y.stopPropagation(),ei(),[2]})})).apply(this,arguments)}return(0,e_.jsxs)(TZ,{shape:en,className:"group/dalle-image",bgClassName:eo,bgStyle:ea,children:[(0,e_.jsx)(_L,{alt:eu.formatMessage(T0.generatedImageAltText),src:ec,width:ed,height:ef}),(0,e_.jsx)("div",{className:"pointer-events-none absolute inset-0 shadow-[inset_0_0_0_1px_rgba(0,0,0,0.1)] dark:shadow-[inset_0_0_0_1px_rgba(255,255,255,0.1)]"}),(0,e_.jsx)("div",{className:"invisible absolute left-1 top-1 group-hover/dalle-image:visible",children:(0,e_.jsx)("button",{className:"flex h-6 w-6 items-center justify-center rounded bg-black/50",onClick:eh,children:(0,e_.jsx)(eA.Sg,{className:"icon-sm text-white"})})})]})}!function(Y){Y.WIDE="1792x1024",Y.SQUARE="1024x1024",Y.TALL="1024x1792"}(ed||(ed={}));var T$=eS.Z.div(TG(),function(Y){return 1===Y.$numItems?"grid-cols-1":"grid-cols-2"});function TY(Y,et){return TQ.apply(this,arguments)}function TQ(){return(TQ=(0,e4._)(function(Y,et){var en,ei,eo,ea;return(0,ta.Jh)(this,function(eu){switch(eu.label){case 0:(en=new Image).crossOrigin="anonymous",en.src=Y,eu.label=1;case 1:return eu.trys.push([1,3,,4]),[4,new Promise(function(Y,et){en.onload=function(){Y(null)},en.onerror=et})];case 2:return eu.sent(),[3,4];case 3:return console.error("Error downloading image",eu.sent()),[2];case 4:if((ei=document.createElement("canvas")).width=en.naturalWidth,ei.height=en.naturalHeight,null==(eo=ei.getContext("2d")))return[2];return eo.drawImage(en,0,0),(ea=document.createElement("a")).href=ei.toDataURL("image/png"),ea.download=et,ea.click(),ei.remove(),en.remove(),ea.remove(),[2]}})})).apply(this,arguments)}function TX(Y){var et=TO(new Date,"yyyy-MM-dd HH.mm.ss"),en=Y.slice(0,150);return en.endsWith(".")&&(en=en.slice(0,-1)),"DALL\xb7E ".concat(et," - ").concat(en,".png")}function TJ(Y){var et=Y.width,en=Y.height;return et>en?ed.WIDE:et<en?ed.TALL:ed.SQUARE}var T0=(0,eI.vU)({creatingImages:{id:"dalleMessage.creatingImagesV2",defaultMessage:"Creating image",description:"Status message when DALL\xb7E is creating an image"},stopped:{id:"dalleMessage.stoppedV3",defaultMessage:"Stopped creating image",description:"Status message when DALL\xb7E was stopped by the user"},errorCreating:{id:"dalleMessage.errorCreatingV2",defaultMessage:"Error creating image",description:"Status message when DALL\xb7E failed to create an image"},generatedImageAltText:{id:"dalleMessage.generatedImageAltText",defaultMessage:"Generated by DALL\xb7E",description:"Alt text for images generated by DALL\xb7E"},imageLoadError:{id:"dalleMessage.imageLoadError",defaultMessage:"Error loading image",description:"Error message when an image fails to load"},imageViewerMetadataTitle:{id:"dalleMessage.imageViewerMetadataTitle",defaultMessage:"Prompt",description:"Title for the prompt metadata in the image viewer"},imageViewerMetadataCopyButton:{id:"dalleMessage.imageViewerMetadataCopyButton",defaultMessage:"Copy",description:"Copy button for the prompt metadata in the image viewer"},imageViewerMetadataCopyButtonCopied:{id:"dalleMessage.imageViewerMetadataCopyButtonCopied",defaultMessage:"Copied!",description:"Copy button for the prompt metadata in the image viewer when the prompt is copied"}}),T1=en(20485);function T2(Y,et){var en,ei,eo,ea,eu,ec,ed=null!==(eu=null===(en=null==et?void 0:et.message.metadata)||void 0===en?void 0:null===(ei=en.parallel_browse)||void 0===ei?void 0:ei.frontend_info.sub_agent_infos)&&void 0!==eu?eu:null===(eo=Y.message.metadata)||void 0===eo?void 0:null===(ea=eo.parallel_browse)||void 0===ea?void 0:ea.frontend_info.sub_agent_infos,eh=0,ep=0;null!=ed&&(eh=(ec=T9(ed)).length,ep=ec.filter(T4).length);var em=ef.Planning;return wO(Y.message)?em=ef.Stopped:null!=et&&(em=ep===eh?ef.Done:ef.Running),{status:em,subAgentInfos:ec,numTotalSubAgents:eh,numCompletedSubAgents:ep}}function T9(Y){return Object.values(Object.values(Y).reduce(function(Y,et){var en=et.task_index;return null==Y[en]&&(Y[en]=[]),Y[en].push(et),Y},{})).map(function(Y){return(0,eb._)((0,ey._)({},Y[0]),{status:T5(Y)})}).sort(function(Y,et){return Y.task_index-et.task_index})}function T5(Y){var et=Y.map(function(Y){return Y.status}),en=[eN.RF.Starting,eN.RF.Running,eN.RF.Done,eN.RF.Error,eN.RF.Timeout,eN.RF.Cancelled],ei=!0,eo=!1,ea=void 0;try{for(var eu,ec=function(){var Y=eu.value;if(et.some(function(et){return et===Y}))return{v:Y}},ed=en[Symbol.iterator]();!(ei=(eu=ed.next()).done);ei=!0){var ef=ec();if("object"===(0,T1._)(ef))return ef.v}}catch(Y){eo=!0,ea=Y}finally{try{ei||null==ed.return||ed.return()}finally{if(eo)throw ea}}return eN.RF.Starting}function T4(Y){return Y.status===eN.RF.Done||Y.status===eN.RF.Timeout||Y.status===eN.RF.Error||Y.status===eN.RF.Cancelled}!function(Y){Y.Planning="planning",Y.Running="running",Y.Done="done",Y.Stopped="stopped"}(ef||(ef={}));var T3=(0,eI.vU)({planning:{id:"legacyParallelBrowsingMessage.planning",defaultMessage:"Creating a browsing plan...",description:"Status message when browsing is being planned"},running:{id:"legacyParallelBrowsingMessage.running",defaultMessage:"Executing browsing plan. Check back again in a few minutes. ({numCompleted}/{numTotal})",description:"Status message when browsing is in progress"},done:{id:"legacyParallelBrowsingMessage.done",defaultMessage:"Finished browsing",description:"Status message when browsing is finished"},stopped:{id:"legacyParallelBrowsingMessage.stopped",defaultMessage:"Stopped browsing",description:"Status message when browsing was stopped"},subAgentStarting:{id:"legacyParallelBrowsingMessage.subAgent.starting",defaultMessage:"Waiting to start",description:"Status when a browsing task is waiting to start"},subAgentRunning:{id:"legacyParallelBrowsingMessage.subAgent.running",defaultMessage:"In progress",description:"Status when a browsing task is in progress"},subAgentDone:{id:"legacyParallelBrowsingMessage.subAgent.done",defaultMessage:"Completed",description:"Status when a browsing task is complete"},subAgentFailed:{id:"legacyParallelBrowsingMessage.subAgent.failed",defaultMessage:"Could not complete",description:"Status when a browsing task failed to complete"}}),T6=.75;function T7(Y){var et,en=Y.messages,ei=(0,ek._)(en,2),ea=T2(ei[0],ei[1]),eu=eo.Running,ec=T8.creatingPlan;switch(ea.status){case ef.Running:ea.numTotalSubAgents>0&&ea.numCompletedSubAgents/ea.numTotalSubAgents>=T6?ec=T8.almostDone:(ec=T8.running,et={numTasks:ea.numTotalSubAgents});break;case ef.Done:eu=eo.Finished,ec=void 0;break;case ef.Stopped:eu=eo.Stopped,ec=T8.cancelled}return(0,e_.jsx)(wU,{conversationMessages:en,icon:nf,status:eu,displayMessage:ec,displayMessageValues:et,estimatedToolDurationMs:tN,animationLoopDurationMs:3500})}var T8=(0,eI.vU)({creatingPlan:{id:"parallelBrowsingMessage.creatingPlanV2",defaultMessage:"Making a research plan",description:"Status message when browsing is being planned"},running:{id:"parallelBrowsingMessage.running_2",defaultMessage:"Visiting {numTasks, plural, one {# site} other {# sites}}",description:"Status message when browsing is visiting sites"},almostDone:{id:"parallelBrowsingMessage.almostDone",defaultMessage:"Almost done",description:"Status message when browsing is almost done visiting sites"},cancelled:{id:"parallelBrowsingMessage.cancelledV2",defaultMessage:"Stopped doing research",description:"Status message when browsing was cancelled"}}),St=en(96251),Sn=en(40803);function Sr(){var Y=(0,ew._)(["grid gap-4\n",""]);return Sr=function(){return Y},Y}var Si="plugin-bd1fbb6d-40f9-4159-8da9-7a8975c5793b",So=(0,eI.vU)({generatedImage:{id:"pluginDisplayParams.generatedImage",defaultMessage:"Generated by plugin",description:"Description text for an image that was generated by a plugin"}});function Sa(Y){var et,en,ei,eo=Y.plugin,ea=Y.pluginMessage,eu=Y.toolMessage;if(null!=eo&&eo.id!==Si)return null;var ec=eh.WIDE;if("text"===ea.content.content_type)try{(null==(et=Sh(ea.content.parts[0]).result)?void 0:et.image_shape)!=null&&(ec=et.image_shape)}catch(Y){}var ed=!1;if(null!=eu){if("text"===eu.content.content_type){try{en=JSON.parse(eu.content.parts[0])}catch(Y){}if((null==en?void 0:en.images)!=null)return(0,e_.jsx)(Sl,{images:en.images,gridItemShape:ec})}ed=!0}return(null==et?void 0:et.prompts)!=null?(0,e_.jsx)(Ss,{numItems:null!==(ei=null==et?void 0:et.n)&&void 0!==ei?ei:Math.max(et.prompts.length,1),prompts:et.prompts,gridItemShape:ec,showErrorState:ed||wO(ea)}):null}function Ss(Y){for(var et=Y.numItems,en=Y.prompts,ei=Y.gridItemShape,eo=Y.showErrorState,ea=[],eu=0;eu<et;eu++){var ec=en[eu];ea.push((0,e_.jsx)(Su,{className:(0,eE.default)("text-sm",eo&&"text-gray-500"),shape:ei,bgColor:eo?"medium":null==ec?"dark":"light",children:(0,e_.jsx)(Sn.default,{className:"hide-scrollbar h-full",followButtonClassName:"hidden",children:(0,e_.jsx)("div",{className:"flex min-h-full flex-col items-center justify-center gap-3 px-4 pb-5",children:eo?(0,e_.jsx)(eT.bcx,{className:"icon-sm self-center text-gray-400"}):(0,e_.jsx)(xY.Z,{className:"h-4 w-4 self-center"})})})},eu))}return(0,e_.jsx)(Sf,{$numItems:et,children:ea})}function Sl(Y){var et=Y.images,en=Y.gridItemShape;return(0,e_.jsx)(Sf,{$numItems:et.length,children:et.map(function(Y,et){return(0,e_.jsx)(Sd,{imageUrl:Y.url,shape:en},et)})})}function Su(Y){var et=Y.children,en=Y.shape,ei=Y.className,eo=Y.bgColor,ea=void 0===eo?"light":eo;return(0,e_.jsxs)("div",{className:(0,eE.default)("relative overflow-hidden rounded",ei,en===eh.WIDE&&"aspect-[7/4]",en===eh.SQUARE&&"aspect-square max-w-[400px]",en===eh.TALL&&"aspect-[4/7] max-w-xs"),children:[(0,e_.jsx)("div",{className:(0,eE.default)("pointer-events-none absolute inset-0 blur-xl","light"===ea&&"bg-black/[.04]","medium"===ea&&"bg-black/[.08]","dark"===ea&&"bg-black/[.12]")}),et]})}function Sd(Y){var et=Y.imageUrl,en=Y.shape,ei=(0,eO.Z)();return(0,e_.jsx)(Su,{shape:en,children:(0,e_.jsx)("a",{href:et,target:"_blank",rel:"noreferrer",children:(0,e_.jsx)("img",{src:et,alt:ei.formatMessage(So.generatedImage)})})})}!function(Y){Y.WIDE="wide",Y.SQUARE="square",Y.TALL="tall"}(eh||(eh={}));var Sf=eS.Z.div(Sr(),function(Y){return 1===Y.$numItems?"grid-cols-1":"grid-cols-2"});function Sh(Y){var et=["","}",'"}',"]}",'"]}'],en=!0,ei=!1,eo=void 0;try{for(var ea,eu=et[Symbol.iterator]();!(en=(ea=eu.next()).done);en=!0){var ec=ea.value,ed=Y.trimEnd().endsWith(",")?Y.trimEnd().slice(0,-1):Y;try{return{result:JSON.parse(ed+ec),isComplete:""===ec}}catch(Y){}}}catch(Y){ei=!0,eo=Y}finally{try{en||null==eu.return||eu.return()}finally{if(ei)throw eo}}return{result:JSON.parse(Y),isComplete:!1}}var Sp=en(96096);function Sm(Y){var et,en=Y.clientThreadId,ei=Y.messages,eo=(0,ek._)(ei,2),ea=eo[0],eu=eo[1],ec=(0,e$.i)(en),ed=(0,ez.Lx)(ea.message.recipient),ef=ec.find(function(Y){return Y.namespace===(null==ed?void 0:ed.namespace)}),eh=null==ef?void 0:ef.manifest.name_for_human,ep=wO(ea.message),em=null!=eh?(0,e_.jsx)("b",{children:eh}):"unknown plugin",eg=null!=eu?(0,e_.jsx)("div",{children:(0,e_.jsx)(tM.Z,(0,eb._)((0,ey._)({},Sb.used),{values:{pluginName:em}}))}):ep?(0,e_.jsx)("div",{children:(0,e_.jsx)(tM.Z,(0,eb._)((0,ey._)({},Sb.triedToUse),{values:{pluginName:em}}))}):(0,e_.jsx)("div",{children:(0,e_.jsx)(tM.Z,(0,eb._)((0,ey._)({},Sb.using),{values:{pluginName:em}}))});return ef&&((0,St.cf)(ef)?et=(0,e_.jsx)(Sp.nA,{}):"approved"!==ef.status&&(et=(0,e_.jsx)(Sp.uM,{}))),(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsx)(kh,{isComplete:null!=eu||ep,results:(0,e_.jsx)(Sv,{pluginName:null!=eh?eh:"unknown plugin",pluginMessage:ea,toolMessage:eu}),children:(0,e_.jsxs)("div",{className:"flex items-center gap-3",children:[eg,et]})}),null!=ef&&(0,e_.jsx)(Sa,{plugin:ef,pluginMessage:ea.message,toolMessage:null==eu?void 0:eu.message})]})}var Sg=eC.memo(Sm);function Sv(Y){var et=Y.pluginName,en=Y.pluginMessage,ei=Y.toolMessage,eo=(0,eO.Z)(),ea=(0,ez.RR)(en.message),eu=ei?(0,ez.RR)(ei.message):null;try{ea=JSON.stringify(JSON.parse(ea),null,2),null!=eu&&(eu=JSON.stringify(JSON.parse(eu),null,2))}catch(Y){}var ec=(null==ei?void 0:ei.message.author.name)==="plugin_service";return(0,e_.jsxs)("div",{className:"my-3 flex max-w-full flex-col gap-3",children:[(0,e_.jsx)(Sy,{title:eo.formatMessage(Sb.requestTo,{pluginName:et}),infoTooltip:en.message.recipient,children:ea}),null!=eu&&(0,e_.jsx)(Sy,{title:ec?eo.formatMessage(Sb.error):eo.formatMessage(Sb.responseFrom,{pluginName:et}),infoTooltip:en.message.recipient,children:(0,e_.jsx)("span",{className:(0,eE.default)(ec&&"text-red-500"),children:eu})})]})}function Sy(Y){var et=Y.title,en=Y.infoTooltip,ei=Y.children;return(0,e_.jsx)(tE,{title:(0,e_.jsx)("span",{className:"uppercase",children:et}),headerDecoration:void 0!==en?(0,e_.jsx)(xK.u,{label:en,children:(0,e_.jsx)(eT.H33,{className:"icon-sm text-white/50"})}):void 0,shouldWrapCode:!0,className:"w-full text-xs text-white/80",children:ei})}var Sb=(0,eI.vU)({used:{id:"PluginMessage.used",description:"Used plugin text",defaultMessage:"Used {pluginName}"},triedToUse:{id:"PluginMessage.triedToUse",description:"Tried to use plugin text",defaultMessage:"Tried to use {pluginName}"},using:{id:"PluginMessage.using",description:"Using plugin text",defaultMessage:"Using {pluginName}..."},requestTo:{id:"ResultsSection.requestTo",description:"Request to plugin title",defaultMessage:"Request to {pluginName}"},responseFrom:{id:"ResultsSection.responseFrom",description:"Response from plugin title",defaultMessage:"Response from {pluginName}"},error:{id:"ResultsSection.error",description:"Error title",defaultMessage:"Error"}}),Sx=en(94750);function Sk(){var Y=(0,ew._)(["flex flex-grow flex-col max-w-full gap-3 gizmo:gap-0"]);return Sk=function(){return Y},Y}function Sw(Y){for(var et=[],en=0;en<Y.length;en++){var ei=Y[en],eo=(0,ez.rH)(ei.message),ea=null==Y?void 0:Y[en-1],eu=null!=ea&&((0,ez.lD)(ea.message)||(0,ez.qs)(ei.message)),ec=eo===ez.Cs.Text&&(0,ez.RR)(ei.message);if(eo!==ez.Cs.System){if(eo===ez.Cs.UserModelBio||eo===ez.Cs.UserModelBioTool||eo===ez.Cs.ModelEditableContext)et.push({type:ep.Debug,message:ei});else if(eo===ez.Cs.Browsing||eo===ez.Cs.BrowseTool){var ed=et[et.length-1];(null==ed?void 0:ed.type)===ep.Browsing?ed.messages.push(ei):et.push({type:ep.Browsing,messages:[ei]})}else if(eo===ez.Cs.RetrievalBrowsing||eo===ez.Cs.RetrievalBrowsingTool){var ef=et[et.length-1];(null==ef?void 0:ef.type)===ep.RetrievalBrowsing?ef.messages.push(ei):et.push({type:ep.RetrievalBrowsing,messages:[ei]})}else if(eo===ez.Cs.ParallelBrowsing||eo===ez.Cs.ParallelBrowsingTool){var eh=et[et.length-1];(null==eh?void 0:eh.type)===ep.ParallelBrowsing?eh.messages.push(ei):et.push({type:ep.ParallelBrowsing,messages:[ei]})}else if(eo===ez.Cs.Plugin||eo===ez.Cs.PluginTool){var em=et[et.length-1];eo===ez.Cs.PluginTool&&(null==em?void 0:em.type)===ep.Plugin?em.messages.push(ei):et.push({type:ep.Plugin,messages:[ei]})}else if(eo===ez.Cs.JITPlugin||eo===ez.Cs.JITPluginTool){var eg=et[et.length-1];eo===ez.Cs.JITPluginTool&&(null==eg?void 0:eg.type)===ep.JITPlugin?eg.messages.push(ei):et.push({type:ep.JITPlugin,messages:[ei]})}else if(eo===ez.Cs.Dalle||eo===ez.Cs.DalleTool){var ey=et[et.length-1];eo===ez.Cs.DalleTool&&(null==ey?void 0:ey.type)===ep.Dalle?ey.messages.push(ei):et.push({type:ep.Dalle,messages:[ei]})}else if(eo===ez.Cs.Code)et.push({type:ep.Code,message:ei});else if(eo===ez.Cs.CodeExecutionOutput)et.push({type:ep.CodeExecutionOutput,message:ei});else if(eo===ez.Cs.GizmoEditor){var eb=et[et.length-1];(null==eb?void 0:eb.type)===ep.GizmoEditor?eb.messages.push(ei):et.push({type:ep.GizmoEditor,messages:[ei]})}else if(eu&&null!=ec){var ek=et.pop();(null==ek?void 0:ek.type)===ep.MultiText?(ek.messages.push(ei),et.push(ek)):(null==ek?void 0:ek.type)===ep.Text&&et.push({type:ep.MultiText,messages:[ek.message,ei]})}else et.push({type:ep.Text,message:ei})}}return et}function S_(Y){var et=Y.type;switch(et){case ep.Text:case ep.Code:case ep.CodeExecutionOutput:case ep.Debug:return[Y.message];case ep.MultiText:case ep.Browsing:case ep.Plugin:case ep.JITPlugin:case ep.RetrievalBrowsing:case ep.ParallelBrowsing:case ep.Dalle:case ep.GizmoEditor:return Y.messages;default:return(0,w9.Z)(et),[]}}function SE(Y){var et=Y.groupedMessagesToRender,en=Y.allGroupedMessages,ei=Y.clientThreadId,eo=Y.isEditing,ea=Y.isCompletion,eu=Y.isCompletionRequestInProgress,ec=Y.isFinalTurn,ed=Y.hasActiveRequest,ef=Y.handleExitEdit,eh=Y.onChangeItemInView,em=Y.onRequestMoreCompletions,eg=Y.onRequestCompletion,ey=wR(),eb=(0,Sx.N)().showDebugConversationTurns,ek=et.map(function(Y,ek){var ew=ek===en.length-1;switch(Y.type){case ep.Text:case ep.MultiText:for(var eE,eC=[],eT=[],eS=ek-1;eS>=0;eS--){var eA=et[eS];if(eA.type===ep.Browsing){eC=eA.messages;break}if(eA.type===ep.Code||eA.type===ep.CodeExecutionOutput)eT.unshift(eA.message);else break}if(Y.type===ep.Text)return(0,e_.jsx)(Ci,{className:"min-h-[20px]",message:Y.message,isEditing:eo,format:ea,isCompletionInProgress:ew&&eu,clientThreadId:ei,onChangeItemInView:eh,onRequestCompletion:eg,onExitEdit:ef,disabled:ed,isCompletion:ea,onRequestMoreCompletions:em,isResponseToPluginMessage:(null===(eE=et[ek-1])||void 0===eE?void 0:eE.type)===ep.Plugin,prevBrowsingMessages:eC,prevCodeMessages:eT},Y.message.nodeId);if(Y.type===ep.MultiText)return(0,e_.jsx)(Ch,{clientThreadId:ei,messages:Y.messages,isCompletionInProgress:ew&&eu,isCompletion:ea,onRequestMoreCompletions:em,prevBrowsingMessages:eC,prevCodeMessages:eT},ek);return null;case ep.Browsing:case ep.RetrievalBrowsing:var eM=Y.messages[Y.messages.length-1],eP=Y.type===ep.RetrievalBrowsing;return ey?(0,e_.jsx)(Cp,{messages:Y.messages,clientThreadId:ei,isLastMessageInTurn:ew,isRequestActive:ed,isRetrieval:eP},Y.messages[0].nodeId):(0,e_.jsx)(wf,{messages:Y.messages,isComplete:!ec||!ew||!ed||wO(eM.message),isRetrieval:Y.type===ep.RetrievalBrowsing},Y.messages[0].nodeId);case ep.ParallelBrowsing:return(0,e_.jsx)(T7,{messages:Y.messages},Y.messages[0].nodeId);case ep.Code:var ej=en[ek+1],eO=null!=ej&&ej.type===ep.CodeExecutionOutput?ej.message:void 0;return ey?(0,e_.jsx)(kE,{messages:null!=eO?[Y.message,eO]:[Y.message],isRequestActive:ed},Y.message.nodeId):(0,e_.jsx)(kk,{clientThreadId:ei,message:Y.message,outputMessage:eO,isComplete:!ec||!ew||!ed||kx(eO)||wO(Y.message.message)},Y.message.nodeId);case ep.CodeExecutionOutput:return(0,e_.jsx)(ka.ZP,{message:Y.message,isCollapsed:!1},Y.message.nodeId);case ep.Plugin:return(0,e_.jsx)(Sg,{clientThreadId:ei,messages:Y.messages},Y.messages[0].nodeId);case ep.JITPlugin:return(0,e_.jsx)(wZ,{messages:Y.messages,clientThreadId:ei,isLastTurnInConversation:ec,onRequestCompletion:eg},Y.messages[0].nodeId);case ep.Dalle:return(0,e_.jsx)(TV,{messages:Y.messages},Y.messages[0].nodeId);case ep.GizmoEditor:return(0,e_.jsx)(_G,{messages:Y.messages},Y.messages[0].nodeId);case ep.Debug:if(!eb)return null;return(0,e_.jsx)(_Q,{message:Y.message},Y.message.nodeId);default:return null}});return(0,e_.jsx)(SC,{children:ek})}!function(Y){Y[Y.Text=0]="Text",Y[Y.MultiText=1]="MultiText",Y[Y.Browsing=2]="Browsing",Y[Y.Code=3]="Code",Y[Y.CodeExecutionOutput=4]="CodeExecutionOutput",Y[Y.Plugin=5]="Plugin",Y[Y.JITPlugin=6]="JITPlugin",Y[Y.RetrievalBrowsing=7]="RetrievalBrowsing",Y[Y.ParallelBrowsing=8]="ParallelBrowsing",Y[Y.Dalle=9]="Dalle",Y[Y.GizmoEditor=10]="GizmoEditor",Y[Y.Debug=11]="Debug"}(ep||(ep={}));var SC=eS.Z.div(Sk()),ST=en(50913);function SA(Y){return(0,ST.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"desc",attr:{},child:[]},{tag:"path",attr:{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}},{tag:"path",attr:{d:"M5 9h14m-14 6h14"}}]})(Y)}function SM(){var Y=(0,ew._)(["p-2 rounded-md hover:bg-gray-200 hover:text-gray-800 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-200 flex items-center gap-2 flex-wrap justify-center"]);return SM=function(){return Y},Y}function SP(){var Y=(0,ew._)(["flex justify-between items-center p-4 rounded-md bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-300 text-sm"]);return SP=function(){return Y},Y}function Sj(Y){var et=Y.clientThreadId,en=Y.messageForRating,ei=Y.variantIds,eo=Y.conversationTurnMountTime,ea=function(Y){var ea,eu,eh=eL.tQ.getTree(et),ep=ei[0]||"",em=(null==eh?void 0:eh.getConversationTurns(ep))||[],eg=em[em.length-1],ey=(null==eg?void 0:eg.messages)||[],eb=ey[ey.length-1],ek=(null==eb?void 0:null===(ea=eb.message)||void 0===ea?void 0:ea.id)||"",ew=ei[1]||"",e_=(null==eh?void 0:eh.getConversationTurns(ew))||[],eE=e_[e_.length-1],eC=(null==eE?void 0:eE.messages)||[],eT=eC[eC.length-1],eS=(null==eT?void 0:null===(eu=eT.message)||void 0===eu?void 0:eu.id)||"",eA=ef?"inline_guided_regen_feedback:a:1.0":"inline_regen_feedback:a:1.0";nk.ZP.submitMessageComparisonFeedback({feedback_version:eA,original_message_id:ek,new_message_id:eS,rating:"none",conversation_id:eL.tQ.getServerThreadId(et),text:"",tags:[],completion_comparison_rating:Y,new_completion_placement:"not-applicable",feedback_start_time:eo,compare_step_start_time:eo,new_completion_load_start_time:ec,new_completion_load_end_time:ed,frontend_submission_time:Date.now(),timezone_offset_min:new Date().getTimezoneOffset()}),eL.tQ.updateTree(et,function(et){et.updateNodeMetadata(en.nodeId,{inlineComparisonRating:Y})}),eL.tQ.updateTree(et,function(Y){Y.updateNodeMetadata(eb.nodeId,{inlineComparisonRating:"baseline"})})},eu=(0,eO.Z)(),ec=(0,ek._)((0,eC.useState)(function(){return null!=en.message.create_time?1e3*en.message.create_time:Date.now()}),1)[0],ed=(0,ek._)((0,eC.useState)(function(){return Date.now()}),1)[0],ef=(0,eD.hz)().has(nw.L0.GuidedRegenerate);return(0,e_.jsxs)(SI,{children:[(0,e_.jsx)("div",{className:(0,eE.default)("mr-4"),children:(0,e_.jsx)(tM.Z,(0,ey._)({},SN.regenTitle))}),(0,e_.jsxs)(SO,{onClick:function(){return ea("new")},title:eu.formatMessage(SN.regenBetterLabel),children:[(0,e_.jsx)(eT.fmn,{className:"icon-sm mr-1 flex-shrink-0"}),(0,e_.jsx)("span",{className:"flex-shrink-0",children:(0,e_.jsx)(tM.Z,(0,ey._)({},SN.regenBetterText))})]}),(0,e_.jsxs)(SO,{onClick:function(){return ea("original")},title:eu.formatMessage(SN.regenWorseLabel),children:[(0,e_.jsx)(eT.oLd,{className:"icon-sm mr-1 flex-shrink-0"}),(0,e_.jsx)("span",{className:"flex-shrink-0",children:(0,e_.jsx)(tM.Z,(0,ey._)({},SN.regenWorseText))})]}),(0,e_.jsxs)(SO,{onClick:function(){return ea("same")},title:eu.formatMessage(SN.regenSameLabel),children:[(0,e_.jsx)(SA,{className:"icon-sm mr-1 flex-shrink-0 rounded-full border border-gray-400 dark:border-gray-300"}),(0,e_.jsx)("span",{className:"flex-shrink-0",children:(0,e_.jsx)(tM.Z,(0,ey._)({},SN.regenSameText))})]}),(0,e_.jsx)(SO,{onClick:function(){eL.tQ.updateTree(et,function(Y){Y.updateNodeMetadata(en.nodeId,{inlineComparisonRating:"skip"})})},title:eu.formatMessage(SN.regenSkipLabel),children:(0,e_.jsx)(eT.q5L,{className:"icon-lg flex-shrink-0"})})]})}var SO=eS.Z.button(SM()),SI=eS.Z.div(SP()),SN=(0,eI.vU)({regenTitle:{id:"ConversationTurnInlineFeedback.regenTitle",description:"Title of the regeneration rating",defaultMessage:"Was this response better or worse?"},regenBetterLabel:{id:"ConversationTurnInlineFeedback.regenBetterLabel",description:"Regeneration was better button label",defaultMessage:"This response was better than the previous response"},regenBetterText:{id:"ConversationTurnInlineFeedback.regenBetterText",description:"Regeneration was better button text",defaultMessage:"Better"},regenWorseLabel:{id:"ConversationTurnInlineFeedback.regenWorseLabel",description:"Regeneration was worse button label",defaultMessage:"This response was worse than the previous response"},regenWorseText:{id:"ConversationTurnInlineFeedback.regenWorseText",description:"Regeneration was worse button text",defaultMessage:"Worse"},regenSameLabel:{id:"ConversationTurnInlineFeedback.regenSameLabel",description:"Regeneration was Same button label",defaultMessage:"This response was the same in quality"},regenSameText:{id:"ConversationTurnInlineFeedback.regenSameText",description:"Regeneration was Same button text",defaultMessage:"Same"},regenSkipLabel:{id:"ConversationTurnInlineFeedback.regenSkipLabel",description:"Regeneration skip button label",defaultMessage:"Skip this comparison"}}),SL=en(84844),SR=en(88887),SD=en(84829),SF=en(61888),SB=en(84056);function Sz(){var Y=(0,ew._)(["relative flex w-full flex-col gap-1 bg-white cursor-pointer truncate rounded-lg border border-gray-300 text-left\nbg-white dark:bg-[#444654] py-4 px-5\nhover:border-[var(--avatar-color)]"]);return Sz=function(){return Y},Y}function SU(){var Y=(0,ew._)(["text-sm text-token-text-tertiary"]);return SU=function(){return Y},Y}function SH(){var Y=(0,ew._)(["flex gap-4 items-center mb-1"]);return SH=function(){return Y},Y}function SG(Y,et,en){eL.tQ.updateTree(Y,function(Y){Y.updateNodeMetadata(et,{inlineComparisonRating:en})})}function SV(){return(0,e_.jsxs)("div",{className:"mx-auto flex flex-col",children:[(0,e_.jsx)("div",{className:"text-center text-lg",children:(0,e_.jsx)(tM.Z,(0,ey._)({},S$.responsePrompt))}),(0,e_.jsx)("div",{className:"text-center text-sm text-token-text-tertiary",children:(0,e_.jsx)(tM.Z,(0,ey._)({},S$.responsePromptExplanation))})]})}function SW(Y){var et=function(Y){return ec.showDebugConversationTurns?(0,e_.jsx)("div",{className:"text-sm uppercase text-red-500",children:Y===ej?"Original":"New"}):null},en=Y.clientThreadId,ei=Y.variantIds,eo=Y.variantsInStreamInfo,ea=Y.avatarColor;(0,SD.ok)(2===ei.length);var eu=(0,ek._)((0,eC.useState)(function(){return Date.now()}),1)[0],ec=(0,Sx.N)(),ed=(0,eG.B$)(),ef=(0,ek._)((0,eC.useMemo)(function(){return .5>nE()(ei.join(""))()?[0,1]:[1,0]},[ei[0],ei[1]]),2),eh=ef[0],ep=ef[1],em=eh<ep?"left":"right",eg="left"===em?"right":"left",ew=ei[eh],eT=ei[ep],eS=(0,eL.Rz)(en,ew),eA=(0,eL.Rz)(en,eT),eM=(0,eL.uj)(en,eS.id),eP=(0,eL.uj)(en,eA.id),ej="left"===em?eM:eP,eO="left"===em?eP:eM,eI="unskippable"===eo.display_treatment,eN=eI?"unskippable_parallel_2_in_stream:a:1.0":"skippable_parallel_2_in_stream:a:1.0";(0,eC.useEffect)(function(){return SB.i.setState({displayingSideBySideFeedback:!0,unskippable:eI}),function(){SB.i.setState({displayingSideBySideFeedback:!1,unskippable:!1})}},[eI]),(0,eC.useEffect)(function(){return(0,SL.LW)(SR.E,{requestCompletion:function(){var Y,et,ei,eo,ea=null===(Y=(0,SF.last)(ej.messages))||void 0===Y?void 0:Y.completionSampleFinishTime,ec=null===(et=(0,SF.last)(eO.messages))||void 0===et?void 0:et.completionSampleFinishTime;nk.ZP.submitMessageComparisonFeedback({feedback_version:eN,original_message_id:null===(ei=ej.messages[ej.messages.length-1])||void 0===ei?void 0:ei.message.id,new_message_id:null===(eo=eO.messages[eO.messages.length-1])||void 0===eo?void 0:eo.message.id,rating:"none",conversation_id:eL.tQ.getServerThreadId(en),text:"",tags:[],completion_comparison_rating:"skip",new_completion_placement:eg,feedback_start_time:eu,compare_step_start_time:eu,original_completion_load_start_time:eu,original_completion_load_end_time:null!=ea?ea:0,new_completion_load_start_time:eu,new_completion_load_end_time:null!=ec?ec:0,frontend_submission_time:Date.now(),timezone_offset_min:new Date().getTimezoneOffset()})}})},[eM,eP,en,eu,eN,eg,ej.messages,eO.messages]);var eR=function(Y){var et,ei,eo,ea,ec=eL.tQ.getTree(en).getLeafFromNode(Y);eL.tQ.setThreadCurrentLeafId(en,ec.id);var ed=Y===ew==("left"===em),ef=null===(et=(0,SF.last)(ej.messages))||void 0===et?void 0:et.completionSampleFinishTime,eh=null===(ei=(0,SF.last)(eO.messages))||void 0===ei?void 0:ei.completionSampleFinishTime;ej.messages.length>0&&SG(en,ej.messages[ej.messages.length-1].nodeId,ed?"original":"new"),eO.messages.length>0&&SG(en,eO.messages[eO.messages.length-1].nodeId,ed?"original":"new"),null!=ef&&null!=eh&&nk.ZP.submitMessageComparisonFeedback({feedback_version:eN,original_message_id:null===(eo=ej.messages[ej.messages.length-1])||void 0===eo?void 0:eo.message.id,new_message_id:null===(ea=eO.messages[eO.messages.length-1])||void 0===ea?void 0:ea.message.id,rating:"none",conversation_id:eL.tQ.getServerThreadId(en),text:"",tags:[],completion_comparison_rating:ed?"original":"new",new_completion_placement:eg,feedback_start_time:eu,compare_step_start_time:eu,original_completion_load_start_time:eu,original_completion_load_end_time:ef,new_completion_load_start_time:eu,new_completion_load_end_time:eh,frontend_submission_time:Date.now(),timezone_offset_min:new Date().getTimezoneOffset()})},eD=(0,eG.Yk)(eU.Cv.getRequestIdFromConversationTurn(eM)),eF=(0,eG.Yk)(eU.Cv.getRequestIdFromConversationTurn(eP)),eB=eU.Cv.getRequestIdFromConversationTurn(eM),ez=(0,eG.Yk)(eB),eH=eU.Cv.getRequestIdFromConversationTurn(eP),eV=(0,eG.Yk)(eH),eW=(0,eC.useMemo)(function(){return Sw(eM.messages)},[eM.messages]),eZ=(0,eC.useMemo)(function(){return Sw(eP.messages)},[eP.messages]);return(0,e_.jsx)("div",{className:(0,eE.default)("relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"),children:(0,e_.jsxs)("div",{className:"relative mt-3 flex gap-1 md:gap-3",children:[(0,e_.jsxs)(Sq,{onClick:function(){eR(ew)},children:[(0,e_.jsxs)(SK,{children:[(0,e_.jsx)(e5,{isCompletionRequestInProgress:eD,messages:eM.messages,clientThreadId:en,isCompletion:At(eM),avatarColor:ea,showInlineEmbeddedDisplay:!1}),(0,e_.jsx)(SZ,{children:(0,e_.jsx)(tM.Z,(0,eb._)((0,ey._)({},S$.responseNumber),{values:{responseIndex:1}}))})]}),(0,e_.jsx)(SE,(0,eb._)((0,ey._)({},Y),{groupedMessagesToRender:eW,allGroupedMessages:eW,isEditing:!1,isCompletion:At(eM),isCompletionRequestInProgress:ez,hasActiveRequest:ed,handleExitEdit:SF.noop})),et(eM)]}),(0,e_.jsxs)(Sq,{onClick:function(){eR(eT)},children:[(0,e_.jsxs)(SK,{children:[(0,e_.jsx)(e5,{isCompletionRequestInProgress:eF,messages:eP.messages,clientThreadId:en,isCompletion:At(eP),avatarColor:ea,showInlineEmbeddedDisplay:!1}),(0,e_.jsx)(SZ,{children:(0,e_.jsx)(tM.Z,(0,eb._)((0,ey._)({},S$.responseNumber),{values:{responseIndex:2}}))})]}),(0,e_.jsx)(SE,(0,eb._)((0,ey._)({},Y),{groupedMessagesToRender:eZ,allGroupedMessages:eZ,isEditing:!1,isCompletion:At(eP),isCompletionRequestInProgress:eV,hasActiveRequest:ed,handleExitEdit:SF.noop})),et(eP)]})]})})}var Sq=eS.Z.button(Sz()),SZ=eS.Z.div(SU()),SK=eS.Z.div(SH()),S$=(0,eI.vU)({responsePrompt:{id:"ConversationTurnTwoUpFeedback.responsePrompt",description:"A prompt for the user to choose between two responses",defaultMessage:"Which response do you prefer?"},responsePromptExplanation:{id:"ConversationTurnTwoUpFeedback.responsePromptExplanation",description:"An explanation of why a user would choose between two responses",defaultMessage:"Your choice will help make ChatGPT better."},responseNumber:{id:"ConversationTurnTwoUpFeedback.responseNumber",description:"A label for the response number, e.g. 'Response 1'",defaultMessage:"Response {responseIndex, number}"}}),SY=en(23211),SQ=en(25952),SX=en(42474),SJ=en(47346),S0=en(74102),S1=en(10499);function S2(){var Y=(0,ew._)(["p-4 gizmo:py-2 justify-center text-base md:gap-6 md:py-6"]);return S2=function(){return Y},Y}function S9(){var Y=(0,ew._)(["justify-center flex flex-1 p-4 gap-4 text-base mx-auto max-w-6xl"]);return S9=function(){return Y},Y}function S5(){var Y=(0,ew._)(["flex-shrink-0 flex flex-col relative items-end"]);return S5=function(){return Y},Y}function S4(){var Y=(0,ew._)(["font-semibold select-none"]);return S4=function(){return Y},Y}function S3(){var Y=(0,ew._)(["text-center border-b p-3 text-gray-500 dark:border-black/20 dark:text-gray-400 text-xs"]);return S3=function(){return Y},Y}function S6(){var Y=(0,ew._)(["flex flex-1 gap-4 text-base mx-auto md:gap-6 gizmo:gap-3 gizmo:md:px-5 gizmo:lg:px-1 gizmo:xl:px-5 ","\n}"]);return S6=function(){return Y},Y}function S7(){var Y=(0,ew._)(["p-1 gizmo:pl-0 rounded-md disabled:dark:hover:text-gray-400 dark:hover:text-gray-200 dark:text-gray-400 ","\n"]);return S7=function(){return Y},Y}function S8(){var Y=(0,ew._)(["text-gray-400 flex self-end lg:self-center justify-center gizmo:lg:justify-start mt-2 gizmo:mt-0\n"," ",""]);return S8=function(){return Y},Y}function At(Y){return Y.role!==eN.uU.User}function An(Y){return![eN.uU.Root,eN.uU.System].includes(Y.role)}var Ar="agent-turn";function Ai(Y){var et,en=Y.turnIndex,ei=Y.conversationLeafId,eo=Y.isFinalTurn,ea=Y.clientThreadId,eu=Y.onChangeItemInView,ec=Y.onChangeRating,ed=Y.showInlineEmbeddedDisplay,ef=void 0!==ed&&ed,eh=Y.currentModelId,ep=Y.initiallyHighlightedMessageId,em=Y.avatarColor,eg=null!==(0,eC.useContext)(eF.gB),ew=(0,eD.ec)(eD.F_.isBusinessWorkspace),eS=(0,tC.Po)(ea),eO=(0,eZ.Ml)(),eI=(0,eL.GD)(ea,en,ei),eV=eI.messages,eW=eI.variantIds,eK=eI.variantsInStreamInfo,e$=Sw(eV),eY=tq(),eQ=eV[eV.length-1],eX=!0,eJ=!1,e0=void 0;try{for(var e9,e4=e$[Symbol.iterator]();!(eX=(e9=e4.next()).done);eX=!0){var e3=e9.value,e6=S_(e3);if(e6.some(function(Y){return eY.has(Y.message.id)})){eQ=e6[e6.length-1];break}}}catch(Y){eJ=!0,e0=Y}finally{try{eX||null==e4.return||e4.return()}finally{if(eJ)throw e0}}var e7=eV.slice(0,eV.indexOf(eQ)+1),e8=(0,eB.x_)(),tt=(0,ek._)((0,eC.useState)(!1),2),ta=tt[0],tu=tt[1],tc=eW.indexOf(e7[0].nodeId),td=At(eI),th=(0,eC.useContext)(eF.QL).historyDisabled,tp=(0,eR.tN)(function(Y){return Y.isDesktopNavCollapsed}),tm=(0,eM.WA)(ea),tg=e7.some(function(Y){return Y.message.content.content_type===eN.PX.MultimodalText}),tv=(0,eC.useRef)(null);(0,eC.useEffect)(function(){var Y;null!=ep&&eI.messages.map(function(Y){return Y.message.id}).includes(ep)&&(null===(Y=tv.current)||void 0===Y||Y.scrollIntoView({behavior:"auto"}))},[ep]);var tb=e7[e7.length-1],tk=tb.rating,tw=td&&(null==e7?void 0:e7[0])!=null&&(0,ez.Rc)(e7[0].message)||eh,t_=function(){1===e7.length&&(eP.A.logEvent(ej.M.editPrompt,{id:e7[0].message.id,threadId:eL.tQ.getServerThreadId(ea)}),tu(!0))},tE=(0,eC.useCallback)(function(){tu(!1)},[]),tT=(0,eC.useCallback)(function(){eL.tQ.copyMessageToClipboard(ea,en)},[ea,en]),tS=(0,eC.useCallback)(function(Y){ec(tb.nodeId,tb.message.id,Y)},[tb,ec]),tA=(0,ek._)((0,eC.useState)(function(){return Date.now()}),1)[0],tM=(0,eC.useMemo)(function(){return eU.Cv.getRequestIdFromConversationTurn(eI)},[eI]),tP=(0,eG.Yk)(tM),tj=(0,eG.B$)(),tO=function(){if(td&&tm.kind===eN.OL.PrimaryAssistant){var Y,et,en=eL.tQ.getTree(ea),ei=e7[0],eo=null==ei?void 0:ei.nodeId;if(null==ei||null==eo||""===eo)return null;var eu=en.getParentPromptNode(eo),ec=null==eu?void 0:eu.parentId;if(null==ec||""===ec)return null;var ed=en.getNodeByIdOrMessageId(ec),ef=null==ed?void 0:null===(Y=ed.message)||void 0===Y?void 0:null===(et=Y.metadata)||void 0===et?void 0:et.model_slug;if(tw&&null!=ef&&tw!==ef)return S1.n2.has(ef)?"The previous model used in this conversation has been deprecated. We've switched you to the latest default model.":"The previous model used in this conversation is unavailable. We've switched you to the latest default model."}return null}(),tI=Sw(e7),tN=(0,eL.r7)(ea),tL=(0,SJ.Z)(ea),tR=(0,S0.Z)(ea),tD=(0,eL.oq)(ea),tF=!eg&&!tN&&!th&&e8&&td,tB=tF&&!ew&&!tP&&!ef&&!ta&&tm.kind!==eN.OL.GizmoMagicCreate&&1===tc&&eo&&!tb.inlineComparisonRating&&!tk&&2===eW.length&&Date.now()-(null!==(et=tb.message.create_time)&&void 0!==et?et:0)*1e3<6e5,tU=(0,eL.yt)(ea,eW),tH=tm.kind!==eN.OL.GizmoMagicCreate&&tm.kind!==eN.OL.GizmoTest&&tF&&eo&&(null==eK?void 0:eK.num_variants_in_stream)===2&&2===eW.length&&!tb.inlineComparisonRating&&!tU,tG=(0,eH.p_)().playgroundTemplate,tV=(0,eH.QH)().gizmoEditorData,tW=td&&!ef&&!eg&&!tN&&null==tV&&null==tG,tZ=tW&&!ew&&tm.kind!==eN.OL.GizmoMagicCreate,tK=!eg&&!ef&&!ta&&!tH,t$=e8&&!eO,tY=!td&&!ef&&tm.kind!==eN.OL.GizmoMagicCreate&&!eg&&!tg&&1===e7.length&&!ta,tQ=function(Y){eu(eW[Y]),eP.A.logEvent(ej.M.changeNode,{intent:"toggle_between"})};if(!An(eI)&&!tH)return null;var tX=tY&&!eO,tJ=tX?(0,e_.jsx)(Ap,{$isGizmoUI:!1,onClick:t_,className:(0,eE.default)(e8&&"md:invisible md:group-hover:visible"),children:(0,e_.jsx)(eT.vPQ,{className:"icon-sm"})}):null,t9=tY&&eO,t5=t9?(0,e_.jsx)(Ap,{$isGizmoUI:eO,onClick:t_,children:(0,e_.jsx)("div",{className:"flex items-center gap-1.5 text-xs",children:(0,e_.jsx)(eA.eu,{className:"icon-md"})})}):null,t4=eo&&tL&&eO?(0,e_.jsx)(Ap,{$isGizmoUI:eO,onClick:function(){tR(tD,{eventSource:"mouse"}),(0,SX.go)()},children:(0,e_.jsx)("div",{className:"flex items-center gap-1.5 text-xs",children:(0,e_.jsx)(eA.vX,{className:"icon-md"})})}):null,t3=!td||ef||eo&&tP?null:(0,e_.jsx)(tf.Z,{shouldChangeText:!1,onCopy:tT,iconClassName:eO?"icon-md":"icon-sm",className:(0,eE.default)("rounded-md p-1 text-xs gizmo:gap-1.5 gizmo:pl-0 dark:text-gray-400 dark:hover:text-gray-200 disabled:dark:hover:text-gray-400",eO?"hover:text-gray-950 md:invisible md:group-hover:visible md:group-[.final-completion]:visible":"hover:text-gray-700")}),t6=!tZ||eO&&tP?null:(0,e_.jsxs)("div",{className:"flex gap-1",children:["thumbsDown"!==tk&&!th&&(0,e_.jsx)(Ap,{$isGizmoUI:eO,onClick:function(){return tS("thumbsUp")},disabled:"thumbsUp"===tk,className:(0,eE.default)("thumbsUp"===tk&&"!dark:text-gray-200 bg-gray-100 text-gray-700 dark:bg-gray-700"),children:eO?(0,e_.jsx)(eA.ib,{className:"icon-md"}):(0,e_.jsx)(eT.fmn,{className:"icon-sm"})},"thumbsUp:".concat(tb.nodeId)),"thumbsUp"!==tk&&!th&&(0,e_.jsx)(Ap,{$isGizmoUI:eO,onClick:function(){return tS("thumbsDown")},disabled:"thumbsDown"===tk,className:(0,eE.default)("thumbsDown"===tk&&"!dark:text-gray-200 bg-gray-100 text-gray-700 dark:bg-gray-700"),children:eO?(0,e_.jsx)(eA.Q7,{className:"icon-md"}):(0,e_.jsx)(eT.oLd,{className:"icon-sm"})},"thumbsDown:".concat(tb.nodeId))]}),t7=tB?(0,e_.jsx)(Sj,{clientThreadId:ea,messageForRating:tb,variantIds:eW,conversationTurnMountTime:tA}):null;return(0,e_.jsxs)("div",{className:(0,eE.default)(!eO&&"group","w-full text-token-text-primary",(0,eE.default)(!ef&&"border-b border-black/10 gizmo:border-0 dark:border-gray-900/50 gizmo:dark:border-0",td?"bg-gray-50 gizmo:bg-transparent dark:bg-[#444654] gizmo:dark:bg-transparent":"gizmo:bg-transparent dark:bg-gray-800 gizmo:dark:bg-transparent")),ref:tv,style:{"--avatar-color":em},"data-testid":"conversation-turn-".concat(en),children:[tO&&(0,e_.jsx)(Af,{children:tO}),(0,e_.jsxs)(Al,{className:(0,eE.default)(ef?"ml-5":"m-auto"),children:[(0,e_.jsx)(Ah,{$isDesktopNavCollapsed:tp,className:(0,eE.default)(eO&&"group",td&&eo&&eO&&"final-completion"),children:tH?(0,e_.jsx)(SV,{}):(0,e_.jsxs)(e_.Fragment,{children:[(0,e_.jsxs)(Ac,{children:[(0,e_.jsx)(e5,{isCompletionRequestInProgress:tP,messages:e7,clientThreadId:ea,isCompletion:td,avatarColor:em,showInlineEmbeddedDisplay:ef}),tK&&t$&&(0,e_.jsx)(SQ.h,{currentPage:tc,onChangeIndex:tQ,length:eW.length,className:(0,eE.default)("absolute left-0 top-2 -ml-4 -translate-x-full gizmo:top-1 gizmo:-ml-6",eW.length>1?"group:hover-visible visible":"invisible")})]}),(0,e_.jsxs)("div",{className:(0,eE.default)("relative flex w-[calc(100%-50px)] flex-col gizmo:w-full lg:w-[calc(100%-115px)]",td&&Ar),children:[eO&&(0,e_.jsx)(As,{messages:e7,isCompletion:td,gizmo:eS}),(0,e_.jsxs)("div",{className:"flex-col gap-1 md:gap-3",children:[(0,e_.jsx)(SE,(0,eb._)((0,ey._)({groupedMessagesToRender:tI,allGroupedMessages:e$},Y),{isEditing:ta,isCompletion:td,isCompletionRequestInProgress:tP,isFinalTurn:eo,hasActiveRequest:tj,handleExitEdit:tE})),tX&&e8&&(0,e_.jsx)(Am,{$hidden:tj,$isGizmoUI:eO,className:"gizmo:absolute gizmo:right-0 gizmo:top-1/2 gizmo:-translate-y-1/2 gizmo:transform",children:tJ}),(tW||tK)&&(0,e_.jsxs)(e_.Fragment,{children:[tX&&!e8&&eO&&(0,e_.jsx)(Am,{$hidden:tP,$isGizmoUI:eO,className:"gizmo:absolute gizmo:right-0 gizmo:top-1/2 gizmo:-translate-y-1/2 gizmo:transform",children:tJ}),(0,e_.jsxs)("div",{className:"flex justify-between empty:hidden gizmo:mt-1 gizmo:justify-start gizmo:gap-3 lg:block gizmo:lg:flex",children:[!t$&&tK&&eW.length>1&&(0,e_.jsx)(SQ.h,{currentPage:tc,onChangeIndex:tQ,length:eW.length,className:(0,eE.default)("self-center pt-2 gizmo:pt-0",eW.length>1?"visible":"!invisible")}),tX&&!e8&&(0,e_.jsx)(Am,{$hidden:tP,$isGizmoUI:eO,children:tJ}),tW?(0,e_.jsxs)(Am,{$hidden:tP,$isGizmoUI:eO,children:[t3,t6,t4]}):t9?(0,e_.jsx)(Am,{$hidden:!1,$isGizmoUI:eO,children:t5}):null,tB&&t7]})]})]})]})]})}),tH&&(0,e_.jsx)(Au,{children:(0,e_.jsx)(SW,(0,ey._)({variantIds:eW,variantsInStreamInfo:eK,conversationTurnMountTime:tA},Y))})]})]})}var Ao=eC.memo(Ai),Aa="ChatGPT",As=function(Y){var et,en=Y.messages,ei=Y.isCompletion,eo=Y.gizmo,ea=(0,eO.Z)(),eu=null!=(null===(et=en[0].message.metadata)||void 0===et?void 0:et.shared_conversation_id),ec=(0,eH.p_)().playgroundTemplate,ed=(0,eH.QH)(),ef=ed.gizmoEditorData,eh=ed.mode,ep=Aa;return ei?(null==ec?void 0:ec.name)!=null&&""!==ec.name?ep=null==ec?void 0:ec.name:null!=ef?ep="magic"===eh?tC.HW:(null==ef?void 0:ef.name)||SY.z:(null==eo?void 0:eo.gizmo.display.name)!=null&&(ep=eo.gizmo.display.name):ep=eu?ea.formatMessage(Ag.anonymousName):ea.formatMessage(Ag.you),(0,e_.jsx)(Ad,{children:ep})},Al=eS.Z.div(S2()),Au=eS.Z.div(S9()),Ac=eS.Z.div(S5()),Ad=eS.Z.div(S4()),Af=eS.Z.div(S3()),Ah=eS.Z.div(S6(),function(Y){return Y.$isDesktopNavCollapsed?"md:max-w-3xl":"md:max-w-2xl lg:max-w-[38rem] gizmo:md:max-w-3xl gizmo:lg:max-w-[40rem] gizmo:xl:max-w-[48rem] xl:max-w-3xl"}),Ap=eS.Z.button(S7(),function(Y){return Y.$isGizmoUI?"text-gray-400 hover:text-gray-950 md:invisible md:group-hover:visible md:group-[.final-completion]:visible":"hover:bg-gray-100 hover:text-gray-700 dark:hover:bg-gray-700"}),Am=eS.Z.div(S8(),function(Y){return Y.$hidden?"invisible":"visible"},function(Y){return Y.$isGizmoUI?"gap-1":"lg:gap-1 lg:absolute lg:top-0 lg:translate-x-full lg:right-0 lg:mt-0 lg:pl-2 gap-2 md:gap-3"}),Ag=(0,eI.vU)({you:{id:"ConversationTurn.you",defaultMessage:"You",description:"Name shown when for the author's own messages in a conversation"},anonymousName:{id:"ConversationTurn.anonymousName",defaultMessage:"Anonymous",description:"Name on a conversation turn when the original author is unknown or anonymous"}})},13464:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ew}});var ei=en(39324),eo=en(10064),ea=en(4337),eu=en(35250),ec=en(35265),ed=en(23234),ef=en(70079),eh=en(1454),ep=en(94968),em=en(32004),eg=en(21389),ey=en(45193);function eb(){var Y=(0,ea._)(["flex ml-auto gizmo:ml-0 gap-1 items-center"]);return eb=function(){return Y},Y}var ek=(0,ep.vU)({copy:{id:"CopyButton.copy",defaultMessage:"Copy",description:"Text displayed when the content can be copied"},copied:{id:"CopyButton.copied",defaultMessage:"Copied!",description:"Text displayed when the content has been copied"}});function ew(Y){var et=Y.buttonText,en=Y.shouldChangeText,ea=void 0===en||en,ep=Y.iconClassName,eg=void 0===ep?"icon-sm":ep,eb=Y.onCopy,ew=Y.className,eE=(0,eo._)((0,ef.useState)(!1),2),eC=eE[0],eT=eE[1],eS=(0,ey.Z)(),eA=(0,ed.Ml)(),eM=(0,ef.useCallback)(function(Y){Y.stopPropagation(),eb(),eT(!0),setTimeout(function(){eS()&&eT(!1)},2e3)},[eS,eb]),eP=et;return ea&&eC?eP=(0,eu.jsx)(em.Z,(0,ei._)({},ek.copied)):!0===et&&(eP=(0,eu.jsx)(em.Z,(0,ei._)({},ek.copy))),(0,eu.jsxs)(eu.Fragment,{children:[!eC&&(0,eu.jsxs)(e_,{onClick:eM,className:ew,children:[eA?(0,eu.jsx)(ec.ES,{className:eg}):(0,eu.jsx)(eh.j4u,{className:eg}),eP]}),eC&&(0,eu.jsxs)(e_,{className:ew,children:[(0,eu.jsx)(ec.oS,{className:eg}),eP]})]})}var e_=eg.Z.button(eb())},30922:function(Y,et,en){"use strict";en.d(et,{Z:function(){return eu}});var ei=en(35250),eo=en(29124),ea=en.n(eo);function eu(){return(0,ei.jsxs)(ea(),{children:[(0,ei.jsx)("title",{children:"ChatGPT"}),(0,ei.jsx)("meta",{name:"description",content:"ChatGPT is an AI-powered language model developed by OpenAI, capable of generating human-like text based on context and past conversations."})]})}},59904:function(Y,et,en){"use strict";en.d(et,{$V:function(){return eN},A0:function(){return ey},AQ:function(){return eW},Ae:function(){return eO},An:function(){return eh},Bj:function(){return eM},Bn:function(){return eF},CJ:function(){return eg},FK:function(){return ed},Fz:function(){return ej},G$:function(){return eQ},HQ:function(){return eT},HV:function(){return e_},HW:function(){return eb},IT:function(){return eL},IX:function(){return eE},Ie:function(){return e7},Jo:function(){return tt},L2:function(){return e3},Ls:function(){return ta},MP:function(){return eP},Ms:function(){return ec},NJ:function(){return em},NV:function(){return eX},Np:function(){return eZ},O1:function(){return eU},O4:function(){return e6},Q$:function(){return eI},Tg:function(){return e8},Wp:function(){return eK},X7:function(){return eH},_V:function(){return ew},aS:function(){return e$},aU:function(){return ek},c9:function(){return eD},i9:function(){return eS},j3:function(){return eR},jE:function(){return eJ},jr:function(){return ez},lv:function(){return eG},nI:function(){return e9},nQ:function(){return eC},nV:function(){return e5},ol:function(){return eY},r4:function(){return ep},tC:function(){return eB},uf:function(){return eA},vy:function(){return eV},wP:function(){return ef},yj:function(){return e4}});var ei=en(39324),eo=en(71209),ea=en(70216),eu=en(35250),ec=function(Y){var et=Y.className;return(0,eu.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:et,children:(0,eu.jsx)("path",{d:"M7 11L12 6L17 11M12 18V7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},ed=function(Y){var et=Y.className;return(0,eu.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 7C9 4.23858 11.2386 2 14 2C16.7614 2 19 4.23858 19 7V15C19 18.866 15.866 22 12 22C8.13401 22 5 18.866 5 15V9C5 8.44772 5.44772 8 6 8C6.55228 8 7 8.44772 7 9V15C7 17.7614 9.23858 20 12 20C14.7614 20 17 17.7614 17 15V7C17 5.34315 15.6569 4 14 4C12.3431 4 11 5.34315 11 7V15C11 15.5523 11.4477 16 12 16C12.5523 16 13 15.5523 13 15V9C13 8.44772 13.4477 8 14 8C14.5523 8 15 8.44772 15 9V15C15 16.6569 13.6569 18 12 18C10.3431 18 9 16.6569 9 15V7Z",fill:"currentColor"})})},ef=function(Y){var et=Y.className,en=Y.isSolid,ei=void 0!==en&&en;return(0,eu.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",viewBox:"0 0 25 25",className:et,fill:"none",children:[(0,eu.jsx)("path",{stroke:ei?void 0:"currentColor",fill:ei?"currentColor":void 0,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M21.44 15.707a2 2 0 0 1-2 2h-12l-4 4v-16a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10Z"}),!ei&&(0,eu.jsx)("path",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.7",d:"M7.825 11.375a.687.687 0 1 0 0-1.375.687.687 0 0 0 0 1.375ZM12.5 11.375a.687.687 0 1 0 0-1.375.687.687 0 0 0 0 1.375ZM17.175 11.375a.687.687 0 1 0 0-1.375.687.687 0 0 0 0 1.375Z"})]})},eh=function(Y){var et=Y.className;return(0,eu.jsxs)("svg",{fill:"none",viewBox:"0 0 44 44",className:et,children:[(0,eu.jsx)("path",{d:"m15.585 18.333-1.616-.808a1.812 1.812 0 0 0-.456-.156v0a3.632 3.632 0 0 0-4.345 3.562v4.736M34.835 25.667C34.835 32.754 29.089 38.5 22 38.5c-7.087 0-12.833-5.746-12.833-12.833M15.585 18.333l-.67-9.386A3.218 3.218 0 0 1 18.123 5.5v0a3.218 3.218 0 0 1 3.207 2.95L22 16.5M22 16.5l.652-7.177a3.195 3.195 0 0 1 3.182-2.906v0A3.195 3.195 0 0 1 29.017 9.9l-.6 6.599",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eu.jsx)("path",{d:"M34.833 25.667V17.11a2.444 2.444 0 0 0-2.444-2.444v0a4.889 4.889 0 0 0-4.889 4.889v3.36l-1.152.385A6.36 6.36 0 0 0 22 29.333v0",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]})},ep=function(Y){var et=Y.className;return(0,eu.jsx)("svg",{fill:"none",viewBox:"0 0 32 32",className:et,children:(0,eu.jsx)("path",{d:"M16.003 8V5.335m-5.137 4.538L9.152 7.83m12.001 2.043 1.714-2.043M2.668 25.334h7.136a4 4 0 0 0 3.969-3.504l.333-2.666a4.002 4.002 0 0 0-2.902-4.353c-.682-.188-1.39-.331-2-.687l-.142-.083c-2.389-1.592-3.83.523-4.709 2.462-.225.497-.71.831-1.254.831h-.431m26.667 8H22.2a4 4 0 0 1-3.97-3.504l-.333-2.666A4.002 4.002 0 0 1 20.8 14.81c.682-.188 1.39-.331 2-.687l.142-.083c2.403-1.601 3.836.526 4.71 2.462.224.497.709.831 1.254.831h.43",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round"})})},em=function(Y){var et=Y.className;return(0,eu.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",className:et,xmlns:"http://www.w3.org/2000/svg",children:(0,eu.jsx)("path",{d:"M15.75 12V5.99999C15.7497 5.73694 15.6803 5.4786 15.5487 5.25086C15.417 5.02312 15.2278 4.83401 15 4.70249L9.75 1.70249C9.52197 1.57084 9.26331 1.50153 9 1.50153C8.73669 1.50153 8.47803 1.57084 8.25 1.70249L3 4.70249C2.7722 4.83401 2.58299 5.02312 2.45135 5.25086C2.31971 5.4786 2.25027 5.73694 2.25 5.99999V12C2.25027 12.263 2.31971 12.5214 2.45135 12.7491C2.58299 12.9769 2.7722 13.166 3 13.2975L8.25 16.2975C8.47803 16.4291 8.73669 16.4985 9 16.4985C9.26331 16.4985 9.52197 16.4291 9.75 16.2975L15 13.2975C15.2278 13.166 15.417 12.9769 15.5487 12.7491C15.6803 12.5214 15.7497 12.263 15.75 12Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},eg=function(Y){var et=Y.className;return(0,eu.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",className:et,children:(0,eu.jsx)("path",{d:"M7.71752 2.89497L1.36502 13.5C1.23404 13.7268 1.16474 13.9839 1.16401 14.2459C1.16327 14.5078 1.23113 14.7653 1.36084 14.9929C1.49054 15.2204 1.67756 15.41 1.9033 15.5429C2.12903 15.6757 2.38562 15.7471 2.64752 15.75H15.3525C15.6144 15.7471 15.871 15.6757 16.0967 15.5429C16.3225 15.41 16.5095 15.2204 16.6392 14.9929C16.7689 14.7653 16.8368 14.5078 16.836 14.2459C16.8353 13.9839 16.766 13.7268 16.635 13.5L10.2825 2.89497C10.1488 2.67455 9.96056 2.49231 9.73591 2.36583C9.51127 2.23936 9.25782 2.17291 9.00002 2.17291C8.74221 2.17291 8.48876 2.23936 8.26412 2.36583C8.03947 2.49231 7.85122 2.67455 7.71752 2.89497Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})};function ey(Y){var et=Y.children,en=Y.className,ec=Y.style,ed=(0,ea._)(Y,["children","className","style"]);return(0,eu.jsx)("svg",(0,eo._)((0,ei._)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:en},ed),{style:ec,children:et}))}var eb=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({fill:"none",viewBox:"0 0 24 24"},Y),{children:[(0,eu.jsx)("path",{d:"M7 19C6.44772 19 6 18.5523 6 18C6 16.3076 6.81186 15.0178 7.98298 14.185C9.12436 13.3734 10.5892 13 12 13C13.4108 13 14.8756 13.3734 16.017 14.185C17.1881 15.0178 18 16.3076 18 18C18 18.5523 17.5523 19 17 19C15.6012 19 8.39878 19 7 19Z",fill:"currentColor"}),(0,eu.jsx)("path",{d:"M19.5 18C19.5 18 19.5 18 19.5 18C19.5 16.0564 18.6712 14.498 17.4529 13.4137C18.0999 13.1329 18.8086 13 19.5 13C20.5581 13 21.6567 13.3112 22.5128 13.9875C23.3911 14.6815 24 15.7564 24 17.1667C24 17.6269 23.6642 18 23.25 18H19.5ZM6.54712 13.4137C5.32885 14.498 4.5 16.0564 4.5 18C4.5 18 4.5 18 4.5 18H0.75C0.335786 18 0 17.6269 0 17.1667C0 15.7564 0.608892 14.6815 1.48723 13.9875C2.34327 13.3112 3.44193 13 4.5 13C5.19138 13 5.90009 13.1329 6.54712 13.4137Z",fill:"currentColor"}),(0,eu.jsx)("path",{d:"M12 5C10.067 5 8.5 6.567 8.5 8.5C8.5 10.433 10.067 12 12 12C13.933 12 15.5 10.433 15.5 8.5C15.5 6.567 13.933 5 12 5Z",fill:"currentColor"}),(0,eu.jsx)("path",{d:"M4.5 7C3.11929 7 2 8.11929 2 9.5C2 10.8807 3.11929 12 4.5 12C5.88071 12 7 10.8807 7 9.5C7 8.11929 5.88071 7 4.5 7Z",fill:"currentColor"}),(0,eu.jsx)("path",{d:"M19.5 7C18.1193 7 17 8.11929 17 9.5C17 10.8807 18.1193 12 19.5 12C20.8807 12 22 10.8807 22 9.5C22 8.11929 20.8807 7 19.5 7Z",fill:"currentColor"})]}))},ek=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({fill:"none",viewBox:"0 0 16 16"},Y),{children:[(0,eu.jsx)("path",{d:"M9.25 5.5a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Z",fill:"currentColor"}),(0,eu.jsx)("path",{d:"M8 9v2.5",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,eu.jsx)("circle",{cx:"8",cy:"8.5",r:"6.25",stroke:"currentColor",strokeWidth:"1.5"})]}))},ew=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({fill:"none",viewBox:"0 0 24 24"},Y),{children:(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4a4 4 0 0 0-4 4h8a4 4 0 0 0-4-4Zm-6 6a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1H6Zm0-2a6 6 0 1 1 12 0 3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-8a3 3 0 0 1 3-3Zm4 6a2 2 0 1 1 3 1.732V17a1 1 0 1 1-2 0v-1.268A2 2 0 0 1 10 14Z",fill:"currentColor"})}))},e_=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({fill:"none",viewBox:"0 0 18 18"},Y),{children:(0,eu.jsx)("path",{d:"M8.4375 8.4375L8.46825 8.4225C8.56442 8.37445 8.67235 8.35497 8.77925 8.36637C8.88615 8.37776 8.98755 8.41955 9.07143 8.48678C9.15532 8.55402 9.21818 8.64388 9.25257 8.74574C9.28697 8.8476 9.29145 8.95717 9.2655 9.0615L8.7345 11.1885C8.70836 11.2929 8.7127 11.4026 8.74702 11.5045C8.78133 11.6065 8.84418 11.6965 8.9281 11.7639C9.01202 11.8312 9.1135 11.8731 9.2205 11.8845C9.32749 11.8959 9.43551 11.8764 9.53175 11.8282L9.5625 11.8125M15.75 9C15.75 9.88642 15.5754 10.7642 15.2362 11.5831C14.897 12.4021 14.3998 13.1462 13.773 13.773C13.1462 14.3998 12.4021 14.897 11.5831 15.2362C10.7642 15.5754 9.88642 15.75 9 15.75C8.11358 15.75 7.23583 15.5754 6.41689 15.2362C5.59794 14.897 4.85382 14.3998 4.22703 13.773C3.60023 13.1462 3.10303 12.4021 2.76381 11.5831C2.42459 10.7642 2.25 9.88642 2.25 9C2.25 7.20979 2.96116 5.4929 4.22703 4.22703C5.4929 2.96116 7.20979 2.25 9 2.25C10.7902 2.25 12.5071 2.96116 13.773 4.22703C15.0388 5.4929 15.75 7.20979 15.75 9ZM9 6.1875H9.006V6.1935H9V6.1875Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))},eE=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({fill:"none",viewBox:"0 0 16 16"},Y),{children:(0,eu.jsx)("path",{d:"M.5 1.163A1 1 0 0 1 1.97.28l12.868 6.837a1 1 0 0 1 0 1.766L1.969 15.72A1 1 0 0 1 .5 14.836V10.33a1 1 0 0 1 .816-.983L8.5 8 1.316 6.653A1 1 0 0 1 .5 5.67V1.163Z",fill:"currentColor"})}))},eC=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},Y),{children:(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.065 5.942a.913.913 0 0 0-1.516-.093l-4.848 6.363-2.344-2.344-.01-.01a.914.914 0 0 0-1.292 1.292l3.093 3.093a.912.912 0 0 0 1.374-.092l5.481-7.194a.913.913 0 0 0 .062-1.015Zm-1.198.15Zm-5.125 6.726-2.668-2.667 2.668 2.667Zm6.031-6.284a.51.51 0 0 1-.003.012l.003-.012Z",fill:"currentColor"})}))},eT=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},Y),{children:[(0,eu.jsx)("rect",{width:"20",height:"20",rx:"5",fill:"currentColor"}),(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.065 5.942a.913.913 0 0 0-1.516-.093l-4.848 6.363-2.344-2.344-.01-.01a.914.914 0 0 0-1.292 1.292l3.093 3.093a.912.912 0 0 0 1.374-.092l5.481-7.194a.913.913 0 0 0 .062-1.015Zm-1.198.15Zm-5.125 6.726-2.668-2.667 2.668 2.667Zm6.031-6.284a.51.51 0 0 1-.003.012l.003-.012Z",fill:"#fff"})]}))},eS=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({fill:"none",viewBox:"0 0 20 21"},Y),{children:[(0,eu.jsx)("rect",{y:".5",width:"20",height:"20",rx:"5",fill:"#F3F4F6"}),(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.377 6.605a.512.512 0 0 1 .098.72L8.993 14.52a.514.514 0 0 1-.772.051l-3.083-3.083a.514.514 0 0 1 .726-.726l2.668 2.667 5.125-6.726a.514.514 0 0 1 .72-.098Z",fill:"#F3F4F6"}),(0,eu.jsx)("rect",{x:".5",y:"1",width:"19",height:"19",rx:"4.5",stroke:"#000",strokeOpacity:".1"})]}))},eA=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({},Y),{fill:"currentColor",viewBox:"0 0 16 16",height:"16",width:"16",children:(0,eu.jsx)("path",{d:"M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2z",strokeWidth:"0"})}))},eM=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:(0,eu.jsx)("path",{d:"M12.784 1.442a.8.8 0 0 0-1.569 0l-.191.953a.8.8 0 0 1-.628.628l-.953.19a.8.8 0 0 0 0 1.57l.953.19a.8.8 0 0 1 .628.629l.19.953a.8.8 0 0 0 1.57 0l.19-.953a.8.8 0 0 1 .629-.628l.953-.19a.8.8 0 0 0 0-1.57l-.953-.19a.8.8 0 0 1-.628-.629l-.19-.953h-.002ZM5.559 4.546a.8.8 0 0 0-1.519 0l-.546 1.64a.8.8 0 0 1-.507.507l-1.64.546a.8.8 0 0 0 0 1.519l1.64.547a.8.8 0 0 1 .507.505l.546 1.641a.8.8 0 0 0 1.519 0l.546-1.64a.8.8 0 0 1 .506-.507l1.641-.546a.8.8 0 0 0 0-1.519l-1.64-.546a.8.8 0 0 1-.507-.506L5.56 4.546Zm5.6 6.4a.8.8 0 0 0-1.519 0l-.147.44a.8.8 0 0 1-.505.507l-.441.146a.8.8 0 0 0 0 1.519l.44.146a.8.8 0 0 1 .507.506l.146.441a.8.8 0 0 0 1.519 0l.147-.44a.8.8 0 0 1 .506-.507l.44-.146a.8.8 0 0 0 0-1.519l-.44-.147a.8.8 0 0 1-.507-.505l-.146-.441Z",fill:"currentColor"})}))},eP=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:[(0,eu.jsx)("path",{d:"M5.559 4.546a.8.8 0 0 0-1.519 0l-.546 1.64a.8.8 0 0 1-.507.507l-1.64.546a.8.8 0 0 0 0 1.519l1.64.547a.8.8 0 0 1 .507.505l.546 1.641a.8.8 0 0 0 1.519 0l.546-1.64a.8.8 0 0 1 .506-.507l1.641-.546a.8.8 0 0 0 0-1.519l-1.64-.546a.8.8 0 0 1-.507-.506L5.56 4.545Z",fill:"currentColor"}),(0,eu.jsx)("path",{d:"M10.868 10.55a.8.8 0 0 1 .29.396l.147.44a.8.8 0 0 0 .507.506l.44.147a.8.8 0 0 1 0 1.519l-.44.146a.8.8 0 0 0-.506.506l-.147.441a.8.8 0 0 1-1.519 0l-.146-.44a.8.8 0 0 0-.506-.507l-.441-.146a.8.8 0 0 1 0-1.519l.44-.146a.8.8 0 0 0 .506-.507l.147-.44a.8.8 0 0 1 1.228-.397ZM12.506.981a.8.8 0 0 1 .277.46l.192.954a.8.8 0 0 0 .628.628l.953.19a.8.8 0 0 1 0 1.57l-.953.19a.8.8 0 0 0-.628.629l-.19.953a.8.8 0 0 1-1.57 0l-.19-.953a.8.8 0 0 0-.629-.628l-.953-.19a.8.8 0 0 1 0-1.57l.953-.19a.8.8 0 0 0 .627-.629l.193-.953a.8.8 0 0 1 1.29-.46Z",fill:"#86909D"})]}))},ej=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:(0,eu.jsxs)("g",{fill:"currentColor",children:[(0,eu.jsx)("path",{d:"M13.164.98a.7.7 0 0 0-1.328 0l-.478 1.435a.7.7 0 0 1-.443.443l-1.436.478a.7.7 0 0 0 0 1.328l1.436.479a.7.7 0 0 1 .443.442l.478 1.436a.7.7 0 0 0 1.328 0l.478-1.436a.7.7 0 0 1 .443-.443l1.436-.478a.7.7 0 0 0 0-1.328l-1.436-.478a.7.7 0 0 1-.443-.443L13.164.979Z"}),(0,eu.jsx)("path",{d:"M8.845 2.554C8.368 2.848 8 3.295 8 4c0 1.5 1.667 1.833 2.5 2 .167.833.5 2.5 2 2.5.968 0 1.45-.694 1.715-1.41a6.5 6.5 0 1 1-5.37-4.536Zm.922 10.99a4.882 4.882 0 0 0 3.04-3.732h-1.925a9.532 9.532 0 0 1-1.115 3.733ZM6.75 9.813A7.902 7.902 0 0 0 8 13.338a7.902 7.902 0 0 0 1.25-3.525h-2.5Zm-3.558 0a4.882 4.882 0 0 0 3.04 3.733 9.531 9.531 0 0 1-1.114-3.732H3.192ZM8 4.662a7.902 7.902 0 0 0-1.25 3.526h2.5A7.902 7.902 0 0 0 8 4.662ZM3.192 8.188h1.926a9.531 9.531 0 0 1 1.115-3.733 4.882 4.882 0 0 0-3.04 3.732Z"})]})}))},eO=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:[(0,eu.jsx)("path",{d:"M13.164.98a.7.7 0 0 0-1.328 0l-.478 1.435a.7.7 0 0 1-.443.443l-1.436.478a.7.7 0 0 0 0 1.328l1.436.479a.7.7 0 0 1 .443.442l.478 1.436a.7.7 0 0 0 1.328 0l.478-1.436a.7.7 0 0 1 .443-.443l1.436-.478a.7.7 0 0 0 0-1.328l-1.436-.478a.7.7 0 0 1-.443-.443L13.164.979Z",fill:"currentColor"}),(0,eu.jsx)("path",{d:"M8.845 2.554C8.368 2.848 8 3.295 8 4c0 1.5 1.667 1.833 2.5 2 .167.833.5 2.5 2 2.5.968 0 1.45-.694 1.715-1.41a6.5 6.5 0 1 1-5.37-4.536Zm.922 10.99a4.882 4.882 0 0 0 3.04-3.732h-1.925a9.532 9.532 0 0 1-1.115 3.733ZM6.75 9.813A7.902 7.902 0 0 0 8 13.338a7.902 7.902 0 0 0 1.25-3.525h-2.5Zm-3.558 0a4.882 4.882 0 0 0 3.04 3.733 9.531 9.531 0 0 1-1.114-3.732H3.192ZM8 4.662a7.902 7.902 0 0 0-1.25 3.526h2.5A7.902 7.902 0 0 0 8 4.662ZM3.192 8.188h1.926a9.531 9.531 0 0 1 1.115-3.733 4.882 4.882 0 0 0-3.04 3.732Z",fill:"#86909D"})]}))},eI=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:[(0,eu.jsx)("path",{d:"M13.164.98a.7.7 0 0 0-1.328 0l-.478 1.435a.7.7 0 0 1-.443.443l-1.436.478a.7.7 0 0 0 0 1.328l1.436.479a.7.7 0 0 1 .443.442l.478 1.436a.7.7 0 0 0 1.328 0l.478-1.436a.7.7 0 0 1 .443-.443l1.436-.478a.7.7 0 0 0 0-1.328l-1.436-.478a.7.7 0 0 1-.443-.443L13.164.979Z",fill:"currentColor"}),(0,eu.jsx)("path",{d:"M8.331 3A1.566 1.566 0 0 0 8 4c0 1.5 1.667 1.833 2.5 2 .167.833.5 2.5 2 2.5s1.833-1.667 2-2.5c.106-.021.225-.05.353-.086C14.96 6.496 15 7.186 15 8v2c0 4-1 5-5.667 5H6.667C2 15 1 14 1 10V8c0-4 1-5 5.667-5H8.33Zm-3.8 3.47A.75.75 0 1 0 3.47 7.53l.97.97-.97.97a.75.75 0 0 0 1.06 1.06l1.5-1.5a.75.75 0 0 0 0-1.06l-1.5-1.5ZM6.5 10.75a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",fill:"currentColor"})]}))},eN=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:[(0,eu.jsx)("path",{d:"M13.164.98a.7.7 0 0 0-1.328 0l-.478 1.435a.7.7 0 0 1-.443.443l-1.436.478a.7.7 0 0 0 0 1.328l1.436.479a.7.7 0 0 1 .443.442l.478 1.436a.7.7 0 0 0 1.328 0l.478-1.436a.7.7 0 0 1 .443-.443l1.436-.478a.7.7 0 0 0 0-1.328l-1.436-.478a.7.7 0 0 1-.443-.443L13.164.979Z",fill:"currentColor"}),(0,eu.jsx)("path",{d:"M8.331 3A1.566 1.566 0 0 0 8 4c0 1.5 1.667 1.833 2.5 2 .167.833.5 2.5 2 2.5s1.833-1.667 2-2.5c.106-.021.225-.05.353-.086C14.96 6.496 15 7.186 15 8v2c0 4-1 5-5.667 5H6.667C2 15 1 14 1 10V8c0-4 1-5 5.667-5H8.33Zm-3.8 3.47A.75.75 0 1 0 3.47 7.53l.97.97-.97.97a.75.75 0 0 0 1.06 1.06l1.5-1.5a.75.75 0 0 0 0-1.06l-1.5-1.5ZM6.5 10.75a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",fill:"#86909D"})]}))},eL=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:(0,eu.jsxs)("g",{fill:"currentColor",children:[(0,eu.jsx)("path",{d:"M13.164.98a.7.7 0 0 0-1.328 0l-.478 1.435a.7.7 0 0 1-.443.443l-1.436.478a.7.7 0 0 0 0 1.328l1.436.479a.7.7 0 0 1 .443.442l.478 1.436a.7.7 0 0 0 1.328 0l.478-1.436a.7.7 0 0 1 .443-.443l1.436-.478a.7.7 0 0 0 0-1.328l-1.436-.478a.7.7 0 0 1-.443-.443L13.164.979Z"}),(0,eu.jsx)("path",{d:"M13.237 10.534c-.228-.245-.513-.46-.847-.46a.823.823 0 0 0-.828.849c.04 1.04.128 2.067.263 3.08a.619.619 0 0 1-.528.695c-.872.121-1.748.208-2.626.262a.8.8 0 0 1-.845-.805c0-.325.21-.602.45-.82.235-.215.375-.488.375-.787 0-.683-.738-1.237-1.65-1.237-.911 0-1.65.554-1.65 1.237 0 .294.137.563.364.775.245.229.461.513.461.848a.823.823 0 0 1-.85.829 33.809 33.809 0 0 1-3.266-.278.619.619 0 0 1-.532-.532 34.099 34.099 0 0 1-.278-3.267.823.823 0 0 1 .83-.85c.333 0 .619.216.846.461.212.228.482.364.776.364.683 0 1.237-.738 1.237-1.65 0-.91-.554-1.65-1.237-1.65-.299 0-.572.142-.786.376-.219.24-.496.45-.821.45a.8.8 0 0 1-.805-.845c.054-.885.142-1.76.262-2.626a.619.619 0 0 1 .695-.528c1.022.136 2.05.224 3.08.263a.822.822 0 0 0 .85-.828c0-.334-.217-.62-.462-.847-.227-.212-.363-.482-.363-.776C5.352 1.554 6.09 1 7.002 1c.91 0 1.649.554 1.649 1.237 0 .173-.012.327-.029.473C8.258 3 8 3.41 8 4c0 1.5 1.667 1.833 2.5 2 .167.833.5 2.5 2 2.5.732 0 1.186-.397 1.479-.9l.034-.001c.683 0 1.237.738 1.237 1.65 0 .911-.554 1.65-1.237 1.65-.294 0-.564-.137-.776-.364Z"})]})}))},eR=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:[(0,eu.jsx)("path",{d:"M13.164.98a.7.7 0 0 0-1.328 0l-.478 1.435a.7.7 0 0 1-.443.443l-1.436.478a.7.7 0 0 0 0 1.328l1.436.479a.7.7 0 0 1 .443.442l.478 1.436a.7.7 0 0 0 1.328 0l.478-1.436a.7.7 0 0 1 .443-.443l1.436-.478a.7.7 0 0 0 0-1.328l-1.436-.478a.7.7 0 0 1-.443-.443L13.164.979Z",fill:"currentColor"}),(0,eu.jsx)("path",{d:"M13.237 10.534c-.228-.245-.513-.46-.847-.46a.82.82 0 0 0-.828.849c.04 1.04.128 2.067.263 3.08a.619.619 0 0 1-.528.695c-.872.121-1.748.208-2.626.262a.8.8 0 0 1-.845-.805c0-.325.21-.602.45-.82.235-.215.375-.488.375-.787 0-.683-.738-1.237-1.65-1.237-.911 0-1.65.554-1.65 1.237 0 .294.137.563.364.775.245.229.461.513.461.848a.823.823 0 0 1-.85.829 33.872 33.872 0 0 1-3.266-.278.619.619 0 0 1-.532-.532 34.099 34.099 0 0 1-.278-3.267.823.823 0 0 1 .83-.85c.333 0 .619.216.846.461.212.228.482.364.776.364.683 0 1.237-.738 1.237-1.65 0-.911-.554-1.65-1.237-1.65-.299 0-.572.142-.786.376-.219.24-.496.45-.821.45a.8.8 0 0 1-.805-.845c.054-.885.142-1.76.262-2.626a.619.619 0 0 1 .695-.528c1.022.136 2.05.224 3.08.263a.822.822 0 0 0 .85-.828c0-.334-.217-.62-.462-.847-.227-.212-.363-.482-.363-.776C5.352 1.554 6.09 1 7.002 1c.91 0 1.649.554 1.649 1.237 0 .173-.012.327-.029.473C8.258 3 8 3.41 8 4c0 1.5 1.667 1.833 2.5 2 .167.833.5 2.5 2 2.5.732 0 1.186-.397 1.479-.9l.034-.001c.683 0 1.237.738 1.237 1.65 0 .911-.554 1.65-1.237 1.65-.294 0-.564-.137-.776-.364Z",fill:"#86909D"})]}))},eD=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:(0,eu.jsxs)("g",{fill:"currentColor",children:[(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.9001 2.5H5.6C4.10011 2.5 3.35016 2.5 2.82443 2.88197C2.65464 3.00533 2.50533 3.15464 2.38197 3.32443C2 3.85016 2 4.60011 2 6.1V10.9C2 12.3999 2 13.1498 2.38197 13.6756C2.47267 13.8004 2.57741 13.9142 2.69401 14.0147C2.73598 14.0509 2.77949 14.0854 2.82443 14.118C3.35016 14.5 4.10011 14.5 5.6 14.5H10.4C11.8999 14.5 12.6498 14.5 13.1756 14.118C13.2207 14.0853 13.2643 14.0507 13.3064 14.0143C13.4229 13.9139 13.5274 13.8003 13.618 13.6756C14 13.1498 14 12.3999 14 10.9V7.59967C13.8785 7.82757 13.706 8.02615 13.4946 8.17863C13.2051 8.38756 12.8571 8.5 12.5 8.5C12.1429 8.5 11.7949 8.38756 11.5054 8.17863C11.216 7.96984 10.9997 7.67529 10.887 7.33671L10.4566 6.04431L9.16395 5.6132C8.82521 5.5006 8.53023 5.28412 8.32136 4.99464C8.11243 4.70507 7.99999 4.35707 7.99999 4C7.99999 3.64293 8.11243 3.29493 8.32136 3.00536C8.47391 2.79392 8.67226 2.62149 8.9001 2.5ZM5.39756 10.6149L3.73611 12.7042L3.74047 12.7196C3.75264 12.734 3.76598 12.7474 3.78036 12.7595C3.81108 12.7688 3.88424 12.7866 4.02571 12.8019C4.35623 12.8377 4.81308 12.84 5.6 12.84H10.4C11.1869 12.84 11.6438 12.8377 11.9743 12.8019C12.1158 12.7866 12.1889 12.7688 12.2196 12.7595C12.234 12.7474 12.2474 12.734 12.2595 12.7196C12.2612 12.7142 12.2631 12.7074 12.2652 12.6991L9.51994 9.23137C9.4014 9.08164 9.21959 8.99607 9.02866 9.00014C8.83773 9.00421 8.65973 9.09747 8.54769 9.25212L6.94158 11.469L6.37764 10.6489C6.26807 10.4896 6.08943 10.3916 5.89617 10.3849C5.70291 10.3782 5.51792 10.4635 5.39756 10.6149ZM7.5 7.25C7.5 7.94036 6.94036 8.5 6.25 8.5C5.55964 8.5 5 7.94036 5 7.25C5 6.55964 5.55964 6 6.25 6C6.94036 6 7.5 6.55964 7.5 7.25ZM12.2531 12.7378C12.253 12.7377 12.2538 12.7356 12.2555 12.7319C12.254 12.7361 12.2531 12.7379 12.2531 12.7378ZM12.2378 12.7531C12.2379 12.7531 12.2361 12.754 12.2319 12.7555L12.236 12.7537L12.2378 12.7531ZM3.76219 12.7531C3.76233 12.753 3.76442 12.7538 3.76807 12.7555C3.76388 12.754 3.76206 12.7531 3.76219 12.7531ZM3.74692 12.7378C3.74686 12.7379 3.746 12.7361 3.74449 12.7319C3.74622 12.7356 3.74698 12.7377 3.74692 12.7378Z"}),(0,eu.jsx)("path",{d:"M13.1639 0.979993C13.1174 0.840671 13.0283 0.719504 12.9091 0.633645C12.7899 0.547786 12.6468 0.501587 12.4999 0.501587C12.353 0.501587 12.2099 0.547786 12.0907 0.633645C11.9715 0.719504 11.8824 0.840671 11.8359 0.979993L11.3579 2.41499C11.3235 2.51817 11.2656 2.61192 11.1887 2.68882C11.1118 2.76571 11.0181 2.82364 10.9149 2.85799L9.47889 3.33599C9.33957 3.38249 9.2184 3.47163 9.13255 3.5908C9.04669 3.70996 9.00049 3.85312 9.00049 3.99999C9.00049 4.14687 9.04669 4.29002 9.13255 4.40919C9.2184 4.52836 9.33957 4.6175 9.47889 4.66399L10.9149 5.14299C11.018 5.17725 11.1116 5.23502 11.1885 5.31173C11.2654 5.38845 11.3234 5.482 11.3579 5.58499L11.8359 7.02099C11.8824 7.16031 11.9715 7.28148 12.0907 7.36734C12.2099 7.4532 12.353 7.4994 12.4999 7.4994C12.6468 7.4994 12.7899 7.4532 12.9091 7.36734C13.0283 7.28148 13.1174 7.16031 13.1639 7.02099L13.6419 5.58499C13.6763 5.48182 13.7342 5.38806 13.8111 5.31117C13.888 5.23427 13.9817 5.17635 14.0849 5.14199L15.5209 4.66399C15.6602 4.6175 15.7814 4.52836 15.8672 4.40919C15.9531 4.29002 15.9993 4.14687 15.9993 3.99999C15.9993 3.85312 15.9531 3.70996 15.8672 3.5908C15.7814 3.47163 15.6602 3.38249 15.5209 3.33599L14.0849 2.85799C13.9817 2.82364 13.888 2.76571 13.8111 2.68882C13.7342 2.61192 13.6763 2.51817 13.6419 2.41499L13.1639 0.978993V0.979993Z"})]})}))},eF=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:[(0,eu.jsx)("path",{fill:"currentColor",d:"M13.1639 0.979993C13.1174 0.840671 13.0283 0.719504 12.9091 0.633645C12.7899 0.547786 12.6468 0.501587 12.4999 0.501587C12.353 0.501587 12.2099 0.547786 12.0907 0.633645C11.9715 0.719504 11.8824 0.840671 11.8359 0.979993L11.3579 2.41499C11.3235 2.51817 11.2656 2.61192 11.1887 2.68882C11.1118 2.76571 11.0181 2.82364 10.9149 2.85799L9.47889 3.33599C9.33957 3.38249 9.2184 3.47163 9.13255 3.5908C9.04669 3.70996 9.00049 3.85312 9.00049 3.99999C9.00049 4.14687 9.04669 4.29002 9.13255 4.40919C9.2184 4.52836 9.33957 4.6175 9.47889 4.66399L10.9149 5.14299C11.018 5.17725 11.1116 5.23502 11.1885 5.31173C11.2654 5.38845 11.3234 5.482 11.3579 5.58499L11.8359 7.02099C11.8824 7.16031 11.9715 7.28148 12.0907 7.36734C12.2099 7.4532 12.353 7.4994 12.4999 7.4994C12.6468 7.4994 12.7899 7.4532 12.9091 7.36734C13.0283 7.28148 13.1174 7.16031 13.1639 7.02099L13.6419 5.58499C13.6763 5.48182 13.7342 5.38806 13.8111 5.31117C13.888 5.23427 13.9817 5.17635 14.0849 5.14199L15.5209 4.66399C15.6602 4.6175 15.7814 4.52836 15.8672 4.40919C15.9531 4.29002 15.9993 4.14687 15.9993 3.99999C15.9993 3.85312 15.9531 3.70996 15.8672 3.5908C15.7814 3.47163 15.6602 3.38249 15.5209 3.33599L14.0849 2.85799C13.9817 2.82364 13.888 2.76571 13.8111 2.68882C13.7342 2.61192 13.6763 2.51817 13.6419 2.41499L13.1639 0.978993V0.979993Z"}),(0,eu.jsx)("path",{fill:"#86909D",fillRule:"evenodd",clipRule:"evenodd",d:"M8.9001 2.5H5.6C4.10011 2.5 3.35016 2.5 2.82443 2.88197C2.65464 3.00533 2.50533 3.15464 2.38197 3.32443C2 3.85016 2 4.60011 2 6.1V10.9C2 12.3999 2 13.1498 2.38197 13.6756C2.47267 13.8004 2.57741 13.9142 2.69401 14.0147C2.73598 14.0509 2.77949 14.0854 2.82443 14.118C3.35016 14.5 4.10011 14.5 5.6 14.5H10.4C11.8999 14.5 12.6498 14.5 13.1756 14.118C13.2207 14.0853 13.2643 14.0507 13.3064 14.0143C13.4229 13.9139 13.5274 13.8003 13.618 13.6756C14 13.1498 14 12.3999 14 10.9V7.59967C13.8785 7.82757 13.706 8.02615 13.4946 8.17863C13.2051 8.38756 12.8571 8.5 12.5 8.5C12.1429 8.5 11.7949 8.38756 11.5054 8.17863C11.216 7.96984 10.9997 7.67529 10.887 7.33671L10.4566 6.04431L9.16395 5.6132C8.82521 5.5006 8.53023 5.28412 8.32136 4.99464C8.11243 4.70507 7.99999 4.35707 7.99999 4C7.99999 3.64293 8.11243 3.29493 8.32136 3.00536C8.47391 2.79392 8.67226 2.62149 8.9001 2.5ZM5.39756 10.6149L3.73611 12.7042L3.74047 12.7196C3.75264 12.734 3.76598 12.7474 3.78036 12.7595C3.81108 12.7688 3.88424 12.7866 4.02571 12.8019C4.35623 12.8377 4.81308 12.84 5.6 12.84H10.4C11.1869 12.84 11.6438 12.8377 11.9743 12.8019C12.1158 12.7866 12.1889 12.7688 12.2196 12.7595C12.234 12.7474 12.2474 12.734 12.2595 12.7196C12.2612 12.7142 12.2631 12.7074 12.2652 12.6991L9.51994 9.23137C9.4014 9.08164 9.21959 8.99607 9.02866 9.00014C8.83773 9.00421 8.65973 9.09747 8.54769 9.25212L6.94158 11.469L6.37764 10.6489C6.26807 10.4896 6.08943 10.3916 5.89617 10.3849C5.70291 10.3782 5.51792 10.4635 5.39756 10.6149ZM7.5 7.25C7.5 7.94036 6.94036 8.5 6.25 8.5C5.55964 8.5 5 7.94036 5 7.25C5 6.55964 5.55964 6 6.25 6C6.94036 6 7.5 6.55964 7.5 7.25ZM12.2531 12.7378C12.253 12.7377 12.2538 12.7356 12.2555 12.7319C12.254 12.7361 12.2531 12.7379 12.2531 12.7378ZM12.2378 12.7531C12.2379 12.7531 12.2361 12.754 12.2319 12.7555L12.236 12.7537L12.2378 12.7531ZM3.76219 12.7531C3.76233 12.753 3.76442 12.7538 3.76807 12.7555C3.76388 12.754 3.76206 12.7531 3.76219 12.7531ZM3.74692 12.7378C3.74686 12.7379 3.746 12.7361 3.74449 12.7319C3.74622 12.7356 3.74698 12.7377 3.74692 12.7378Z"})]}))},eB=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},Y),{children:(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.0322 2.02393C14.7488 2.00078 14.3766 2 13.8 2H8.50022C8.3 3 8.09887 3.91141 7.89027 4.85409C7.75879 5.44955 7.6432 5.97304 7.36755 6.41399C7.12618 6.80009 6.80009 7.12618 6.41399 7.36755C5.97304 7.6432 5.44955 7.75879 4.85409 7.89027C4.81276 7.8994 4.77108 7.9086 4.72906 7.91794L2.21693 8.47619C2.1442 8.49235 2.07155 8.50015 2 8.50022V13.8C2 14.3766 2.00078 14.7488 2.02393 15.0322C2.04612 15.3038 2.0838 15.4045 2.109 15.454C2.20487 15.6422 2.35785 15.7951 2.54601 15.891C2.59546 15.9162 2.69617 15.9539 2.96784 15.9761C3.25118 15.9992 3.62345 16 4.2 16H7C7.55229 16 8 16.4477 8 17C8 17.5523 7.55229 18 7 18H4.16144C3.6343 18 3.17954 18 2.80497 17.9694C2.40963 17.9371 2.01641 17.8658 1.63803 17.673C1.07354 17.3854 0.614602 16.9265 0.326982 16.362C0.134188 15.9836 0.0628723 15.5904 0.0305712 15.195C-3.25181e-05 14.8205 -1.70213e-05 14.3657 8.6011e-07 13.8385L1.81378e-06 8C1.81378e-06 5.92477 1.02755 3.93324 2.4804 2.4804C3.93324 1.02755 5.92477 1.81378e-06 8 1.81378e-06L13.8385 8.6011e-07C14.3657 -1.70213e-05 14.8205 -3.25181e-05 15.195 0.0305712C15.5904 0.0628723 15.9836 0.134188 16.362 0.326982C16.9265 0.614602 17.3854 1.07354 17.673 1.63803C17.8658 2.01641 17.9371 2.40963 17.9694 2.80497C18 3.17954 18 3.6343 18 4.16144V7C18 7.55229 17.5523 8 17 8C16.4477 8 16 7.55229 16 7V4.2C16 3.62345 15.9992 3.25118 15.9761 2.96784C15.9539 2.69617 15.9162 2.59546 15.891 2.54601C15.7951 2.35785 15.6422 2.20487 15.454 2.109C15.4045 2.0838 15.3038 2.04612 15.0322 2.02393ZM2.28014 6.41336L4.2952 5.96556C5.08861 5.78925 5.24308 5.74089 5.35381 5.67166C5.48251 5.59121 5.59121 5.48251 5.67166 5.35381C5.74089 5.24308 5.78925 5.08861 5.96556 4.2952L6.41336 2.28014C5.51014 2.59289 4.63524 3.15398 3.89461 3.89461C3.15398 4.63524 2.59289 5.51014 2.28014 6.41336ZM14 12C14 11.4477 14.4477 11 15 11C15.5523 11 16 11.4477 16 12V14H18C18.5523 14 19 14.4477 19 15C19 15.5523 18.5523 16 18 16H16V18C16 18.5523 15.5523 19 15 19C14.4477 19 14 18.5523 14 18V16H12C11.4477 16 11 15.5523 11 15C11 14.4477 11.4477 14 12 14H14V12Z",fill:"currentColor"})}))},ez=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:(0,eu.jsx)("path",{d:"M9.586 1.526A.6.6 0 0 0 8.553 1l-6.8 7.6a.6.6 0 0 0 .447 1h5.258l-1.044 4.874A.6.6 0 0 0 7.447 15l6.8-7.6a.6.6 0 0 0-.447-1H8.542l1.044-4.874Z",fill:"currentColor"})}))},eU=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:(0,eu.jsxs)("g",{fill:"currentColor",children:[(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 2.623a6 6 0 1 0 4.78 5.636L12.4 10.042a1.377 1.377 0 0 1-.26.226 4.515 4.515 0 0 1-2.509 2.427c.428-.789.726-1.629.895-2.489a1.376 1.376 0 0 1-.495-1.368L10.424 7H9.037c.052.248.09.499.117.75H6.846a7.318 7.318 0 0 1 .311-1.487 1.366 1.366 0 0 1-.14-.85c.04-.262.156-.507.333-.705l1.866-2.085ZM6.846 9.25A7.295 7.295 0 0 0 8 12.504 7.295 7.295 0 0 0 9.154 9.25H6.846Zm-3.284 0a4.506 4.506 0 0 0 2.807 3.445 8.798 8.798 0 0 1-1.03-3.445H3.563Zm0-1.5H5.34a8.798 8.798 0 0 1 1.029-3.445A4.506 4.506 0 0 0 3.562 7.75Z"}),(0,eu.jsx)("path",{d:"M12.992.953a.375.375 0 0 0-.647-.328l-4.25 4.75a.375.375 0 0 0 .28.625h3.286l-.652 3.047a.375.375 0 0 0 .646.328l4.25-4.75a.374.374 0 0 0-.28-.625h-3.286l.652-3.047Z"})]})}))},eH=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:[(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 2.623a6 6 0 1 0 4.78 5.636L12.4 10.042a1.377 1.377 0 0 1-.26.226 4.515 4.515 0 0 1-2.509 2.427c.428-.789.726-1.629.895-2.489a1.376 1.376 0 0 1-.495-1.368L10.424 7H9.037c.052.248.09.499.117.75H6.846a7.318 7.318 0 0 1 .311-1.487 1.366 1.366 0 0 1-.14-.85c.04-.262.156-.507.333-.705l1.866-2.085ZM6.846 9.25A7.295 7.295 0 0 0 8 12.504 7.295 7.295 0 0 0 9.154 9.25H6.846Zm-3.284 0a4.506 4.506 0 0 0 2.807 3.445 8.798 8.798 0 0 1-1.03-3.445H3.563Zm0-1.5H5.34a8.798 8.798 0 0 1 1.029-3.445A4.506 4.506 0 0 0 3.562 7.75Z",fill:"#86909D"}),(0,eu.jsx)("path",{d:"M12.992.953a.375.375 0 0 0-.647-.328l-4.25 4.75a.375.375 0 0 0 .28.625h3.286l-.652 3.047a.375.375 0 0 0 .646.328l4.25-4.75a.374.374 0 0 0-.28-.625h-3.286l.652-3.047Z",fill:"currentColor"})]}))},eG=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:[(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.879 3 7.35 4.708A1.375 1.375 0 0 0 8.375 7h2.05l-.395 1.838a1.375 1.375 0 0 0 2.37 1.204l2.582-2.886c.013.265.018.546.018.844v2c0 4-1 5-5.667 5H6.667C2 15 1 14 1 10V8c0-4 1-5 5.667-5H8.879ZM4.53 6.47a.75.75 0 1 0-1.06 1.06l.97.97-.97.97a.75.75 0 0 0 1.06 1.06l1.5-1.5a.75.75 0 0 0 0-1.06l-1.5-1.5Zm1.97 4.28a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",fill:"currentColor"}),(0,eu.jsx)("path",{d:"M12.992.953a.375.375 0 0 0-.647-.328l-4.25 4.75a.375.375 0 0 0 .28.625h3.286l-.652 3.047a.375.375 0 0 0 .646.328l4.25-4.75a.374.374 0 0 0-.28-.625h-3.286l.652-3.047Z",fill:"currentColor"})]}))},eV=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:[(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.879 3 7.35 4.708A1.375 1.375 0 0 0 8.375 7h2.05l-.395 1.838a1.375 1.375 0 0 0 2.37 1.204l2.582-2.886c.013.265.018.546.018.844v2c0 4-1 5-5.667 5H6.667C2 15 1 14 1 10V8c0-4 1-5 5.667-5H8.879ZM4.53 6.47a.75.75 0 1 0-1.06 1.06l.97.97-.97.97a.75.75 0 0 0 1.06 1.06l1.5-1.5a.75.75 0 0 0 0-1.06l-1.5-1.5Zm1.97 4.28a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z",fill:"#86909D"}),(0,eu.jsx)("path",{d:"M12.992.953a.375.375 0 0 0-.647-.328l-4.25 4.75a.375.375 0 0 0 .28.625h3.286l-.652 3.047a.375.375 0 0 0 .646.328l4.25-4.75a.374.374 0 0 0-.28-.625h-3.286l.652-3.047Z",fill:"currentColor"})]}))},eW=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:[(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.527 3.393c.014-.118.03-.23.048-.342.038-.25.076-.5.076-.814C8.651 1.554 7.913 1 7.001 1c-.911 0-1.65.554-1.65 1.237 0 .294.137.564.364.776.245.227.461.513.461.847a.822.822 0 0 1-.85.828 32.784 32.784 0 0 1-3.08-.263.619.619 0 0 0-.694.528 34.39 34.39 0 0 0-.262 2.626.8.8 0 0 0 .805.845c.325 0 .602-.21.82-.45.215-.234.488-.375.787-.375.683 0 1.237.738 1.237 1.65 0 .911-.554 1.65-1.237 1.65-.294 0-.564-.137-.776-.364-.227-.245-.513-.462-.847-.462a.823.823 0 0 0-.829.85c.042 1.103.134 2.193.278 3.267a.619.619 0 0 0 .532.532c1.074.144 2.164.237 3.267.277a.825.825 0 0 0 .85-.829c0-.334-.217-.618-.462-.847-.227-.212-.363-.481-.363-.775 0-.683.738-1.237 1.65-1.237.91 0 1.649.554 1.649 1.237 0 .299-.14.572-.375.786-.24.219-.45.496-.45.82a.8.8 0 0 0 .845.806c.878-.054 1.755-.141 2.626-.262a.619.619 0 0 0 .528-.695 32.632 32.632 0 0 1-.263-3.08.823.823 0 0 1 .121-.458 1.375 1.375 0 0 1-1.653-1.627L10.425 7H8.375A1.375 1.375 0 0 1 7.35 4.708l1.177-1.315Zm3.844 6.68.029-.03 2.078-2.324c.453.245.772.838.772 1.53 0 .911-.554 1.65-1.237 1.65-.294 0-.564-.137-.776-.364-.228-.245-.513-.462-.847-.462h-.02Z",fill:"currentColor"}),(0,eu.jsx)("path",{d:"M12.992.953a.375.375 0 0 0-.647-.328l-4.25 4.75a.375.375 0 0 0 .28.625h3.286l-.652 3.047a.375.375 0 0 0 .646.328l4.25-4.75a.374.374 0 0 0-.28-.625h-3.286l.652-3.047Z",fill:"currentColor"})]}))},eZ=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:[(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.527 3.393c.014-.118.03-.23.048-.342.038-.25.076-.5.076-.814C8.651 1.554 7.913 1 7.001 1c-.911 0-1.65.554-1.65 1.237 0 .294.137.564.364.776.245.227.461.513.461.847a.822.822 0 0 1-.85.828 32.784 32.784 0 0 1-3.08-.263.619.619 0 0 0-.694.528 34.39 34.39 0 0 0-.262 2.626.8.8 0 0 0 .805.845c.325 0 .602-.21.82-.45.215-.234.488-.375.787-.375.683 0 1.237.738 1.237 1.65 0 .911-.554 1.65-1.237 1.65-.294 0-.564-.137-.776-.364-.227-.245-.513-.462-.847-.462a.823.823 0 0 0-.829.85c.042 1.103.134 2.193.278 3.267a.619.619 0 0 0 .532.532c1.074.144 2.164.237 3.267.277a.825.825 0 0 0 .85-.829c0-.334-.217-.618-.462-.847-.227-.212-.363-.481-.363-.775 0-.683.738-1.237 1.65-1.237.91 0 1.649.554 1.649 1.237 0 .299-.14.572-.375.786-.24.219-.45.496-.45.82a.8.8 0 0 0 .845.806c.878-.054 1.755-.141 2.626-.262a.619.619 0 0 0 .528-.695 32.632 32.632 0 0 1-.263-3.08.823.823 0 0 1 .121-.458 1.375 1.375 0 0 1-1.653-1.627L10.425 7H8.375A1.375 1.375 0 0 1 7.35 4.708l1.177-1.315Zm3.844 6.68.029-.03 2.078-2.324c.453.245.772.838.772 1.53 0 .911-.554 1.65-1.237 1.65-.294 0-.564-.137-.776-.364-.228-.245-.513-.462-.847-.462h-.02Z",fill:"#86909D"}),(0,eu.jsx)("path",{d:"M12.992.953a.375.375 0 0 0-.647-.328l-4.25 4.75a.375.375 0 0 0 .28.625h3.286l-.652 3.047a.375.375 0 0 0 .646.328l4.25-4.75a.374.374 0 0 0-.28-.625h-3.286l.652-3.047Z",fill:"currentColor"})]}))},eK=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"34",height:"34",viewBox:"0 0 34 34",fill:"none"},Y),{children:[(0,eu.jsx)("path",{d:"M24.0383 6.65895C23.9745 6.46711 23.852 6.30022 23.6881 6.18194C23.5242 6.06366 23.3271 6 23.125 6C22.9229 6 22.7258 6.06366 22.5619 6.18194C22.398 6.30022 22.2755 6.46711 22.2117 6.65895L21.5544 8.63275C21.5072 8.77464 21.4276 8.90357 21.3218 9.00931C21.2161 9.11506 21.0871 9.1947 20.9453 9.24193L18.9715 9.89922C18.7796 9.96295 18.6127 10.0855 18.4944 10.2494C18.3762 10.4133 18.3125 10.6104 18.3125 10.8125C18.3125 11.0146 18.3762 11.2117 18.4944 11.3756C18.6127 11.5395 18.7796 11.662 18.9715 11.7258L20.9453 12.384C21.087 12.4312 21.2159 12.5107 21.3216 12.6162C21.4274 12.7218 21.5071 12.8505 21.5544 12.9922L22.2117 14.966C22.2755 15.1579 22.398 15.3248 22.5619 15.4431C22.7258 15.5613 22.9229 15.625 23.125 15.625C23.3271 15.625 23.5242 15.5613 23.6881 15.4431C23.852 15.3248 23.9745 15.1579 24.0383 14.966L24.6956 12.9922C24.7428 12.8504 24.8224 12.7214 24.9282 12.6157C25.0339 12.5099 25.1629 12.4303 25.3047 12.3831L27.2785 11.7258C27.4704 11.662 27.6373 11.5395 27.7556 11.3756C27.8738 11.2117 27.9375 11.0146 27.9375 10.8125C27.9375 10.6104 27.8738 10.4133 27.7556 10.2494C27.6373 10.0855 27.4704 9.96295 27.2785 9.89922L25.3047 9.24193C25.1629 9.1947 25.0339 9.11506 24.9282 9.00931C24.8224 8.90357 24.7428 8.77464 24.6956 8.63275L24.0383 6.65895Z",fill:"currentColor"}),(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.0991 8.8248C17.4436 9.22821 16.9375 9.84321 16.9375 10.8125C16.9375 12.875 19.2292 13.3333 20.375 13.5625C20.6042 14.7083 21.0625 17 23.125 17C24.4556 17 25.1185 16.0462 25.483 15.0616C25.7379 15.8919 25.875 16.7737 25.875 17.6875C25.875 22.6235 21.8735 26.625 16.9375 26.625C12.0015 26.625 8 22.6235 8 17.6875C8 12.7515 12.0015 8.75 16.9375 8.75C17.3312 8.75 17.7189 8.77545 18.0991 8.8248ZM19.3675 23.9366C21.5337 23.0936 23.1533 21.1568 23.5479 18.8047H20.9002C20.7493 20.5787 20.2384 22.3283 19.3675 23.9366ZM15.2189 18.8047C15.3933 20.5028 15.9661 22.1682 16.9375 23.6518C17.9089 22.1682 18.4817 20.5028 18.6561 18.8047H15.2189ZM10.3271 18.8047C10.7217 21.1568 12.3413 23.0936 14.5075 23.9366C13.6366 22.3283 13.1257 20.5787 12.9748 18.8047H10.3271ZM16.9375 11.7232C15.9661 13.2068 15.3933 14.8722 15.2189 16.5703H18.6561C18.4817 14.8722 17.9089 13.2068 16.9375 11.7232ZM10.3271 16.5703H12.9748C13.1257 14.7963 13.6366 13.0467 14.5075 11.4384C12.3413 12.2814 10.7217 14.2182 10.3271 16.5703Z",fill:"currentColor"})]}))},e$=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"34",height:"34",viewBox:"0 0 34 34",fill:"none"},Y),{children:[(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.6567 18.125C23.2593 20.4936 21.6283 22.4439 19.447 23.2928C20.324 21.6732 20.8385 19.9114 20.9904 18.125H23.6567ZM17 23.006C16.0218 21.5121 15.445 19.835 15.2694 18.125H18.7306C18.555 19.835 17.9782 21.5121 17 23.006ZM14.553 23.2928C12.3717 22.4439 10.7407 20.4936 10.3433 18.125H13.0096C13.1615 19.9114 13.676 21.6732 14.553 23.2928ZM15.2694 15.875C15.445 14.165 16.0218 12.4879 17 10.994C17.9782 12.4879 18.555 14.165 18.7306 15.875H15.2694ZM13.0096 15.875H10.3433C10.7407 13.5064 12.3717 11.5561 14.553 10.7072C13.676 12.3268 13.1615 14.0886 13.0096 15.875ZM23.6567 15.875H20.9904C20.8385 14.0886 20.324 12.3268 19.447 10.7072C21.6283 11.5561 23.2593 13.5064 23.6567 15.875ZM26 17C26 21.9706 21.9706 26 17 26C12.0294 26 8 21.9706 8 17C8 12.0294 12.0294 8 17 8C21.9706 8 26 12.0294 26 17Z",fill:"currentColor"}),(0,eu.jsx)("circle",{cx:"24",cy:"10",r:"5.75",fill:"#10A37F",stroke:"white",strokeWidth:"1.5"}),(0,eu.jsx)("path",{d:"M26.6489 7.76483L26.6488 7.7648C26.5351 7.67678 26.3907 7.63781 26.2477 7.65767C26.1047 7.67752 25.9767 7.75422 25.8909 7.86905L23.2906 11.3485L22.0547 10.0888L22.0548 10.0887L22.0482 10.0824C21.9463 9.98565 21.8105 9.93214 21.6693 9.93468C21.5281 9.93722 21.3944 9.99556 21.2961 10.0958C21.1979 10.1959 21.1425 10.33 21.1401 10.4695C21.1377 10.6089 21.1884 10.7448 21.2829 10.8483L21.2828 10.8484L21.2892 10.8549L22.9627 12.5611L23.1485 12.3792L22.9628 12.5612L22.9628 12.5611C23.0168 12.6163 23.0821 12.6594 23.1545 12.6871L23.2476 12.4444L23.1545 12.6871C23.2269 12.7149 23.3045 12.7266 23.382 12.7214C23.4594 12.7161 23.5347 12.694 23.6026 12.6568C23.6706 12.6196 23.7295 12.5683 23.7758 12.5065L23.7759 12.5064L26.7511 8.52501C26.7937 8.46805 26.8247 8.40336 26.8425 8.33469C26.8602 8.26603 26.8645 8.19456 26.8552 8.12428C26.8458 8.05401 26.8229 7.98609 26.7876 7.92444C26.7523 7.86277 26.7052 7.80847 26.6489 7.76483Z",fill:"white",stroke:"white",strokeWidth:"0.52"})]}))},eY=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"19",height:"18",viewBox:"0 0 19 18",fill:"none"},Y),{children:[(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.59999 3.14976C7.28717 3.14976 6.02811 3.67128 5.09981 4.59958C4.1715 5.52789 3.64999 6.78694 3.64999 8.09976C3.64999 9.41258 4.1715 10.6716 5.09981 11.5999C6.02811 12.5282 7.28717 13.0498 8.59999 13.0498C9.91281 13.0498 11.1719 12.5282 12.1002 11.5999C13.0285 10.6716 13.55 9.41258 13.55 8.09976C13.55 6.78694 13.0285 5.52789 12.1002 4.59958C11.1719 3.67128 9.91281 3.14976 8.59999 3.14976ZM2.29999 8.09976C2.30007 7.09237 2.54174 6.09968 3.00471 5.20497C3.46769 4.31026 4.13847 3.53962 4.9608 2.9577C5.78312 2.37578 6.733 1.99954 7.73077 1.86055C8.72853 1.72155 9.74507 1.82386 10.6951 2.15888C11.6452 2.49391 12.5011 3.05187 13.1909 3.78599C13.8808 4.5201 14.3846 5.40894 14.66 6.37796C14.9354 7.34698 14.9744 8.36792 14.7738 9.35513C14.5731 10.3423 14.1386 11.267 13.5068 12.0517L16.502 15.0478C16.5683 15.1096 16.6215 15.1841 16.6584 15.2669C16.6953 15.3497 16.7151 15.4391 16.7167 15.5297C16.7183 15.6203 16.7016 15.7104 16.6677 15.7944C16.6337 15.8784 16.5832 15.9548 16.5191 16.0189C16.455 16.083 16.3787 16.1335 16.2946 16.1675C16.2106 16.2014 16.1206 16.2181 16.0299 16.2165C15.9393 16.2149 15.8499 16.1951 15.7671 16.1582C15.6843 16.1213 15.6098 16.0681 15.548 16.0018L12.5519 13.0066C11.6263 13.7521 10.5087 14.2206 9.32809 14.358C8.14753 14.4953 6.9522 14.2959 5.88014 13.7828C4.80808 13.2697 3.90304 12.4638 3.26953 11.4582C2.63603 10.4526 2.29991 9.28829 2.29999 8.09976Z",fill:"currentColor",strokeWidth:0}),(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.59999 3.34981C7.34021 3.34981 6.13203 3.85026 5.24123 4.74105C4.35044 5.63185 3.84999 6.84003 3.84999 8.09981C3.84999 9.35959 4.35044 10.5678 5.24123 11.4586C6.13203 12.3494 7.34021 12.8498 8.59999 12.8498C9.85977 12.8498 11.068 12.3494 11.9587 11.4586C12.8495 10.5678 13.35 9.35959 13.35 8.09981C13.35 6.84003 12.8495 5.63185 11.9587 4.74105C11.068 3.85026 9.85977 3.34981 8.59999 3.34981ZM2.09999 8.09979C2.10008 7.06042 2.34942 6.03621 2.82709 5.1131C3.30476 4.18999 3.99684 3.39489 4.84527 2.79449C5.6937 2.19409 6.67374 1.80591 7.70318 1.66251C8.73261 1.5191 9.78143 1.62466 10.7616 1.97032C11.7419 2.31597 12.6249 2.89166 13.3367 3.64907C14.0485 4.40649 14.5682 5.32355 14.8524 6.32334C15.1365 7.32312 15.1768 8.37647 14.9697 9.39502C14.7747 10.3548 14.3654 11.2573 13.7734 12.0355L16.6411 14.9041C16.7258 14.9837 16.7938 15.0793 16.8411 15.1855C16.8889 15.2929 16.9146 15.4087 16.9167 15.5262C16.9188 15.6437 16.8972 15.7604 16.8531 15.8694C16.8091 15.9783 16.7436 16.0773 16.6605 16.1604C16.5775 16.2435 16.4785 16.309 16.3695 16.353C16.2606 16.397 16.1439 16.4186 16.0264 16.4165C15.9089 16.4144 15.793 16.3887 15.6857 16.3409C15.5795 16.2936 15.4838 16.2256 15.4043 16.1409L12.5357 13.2732C11.6093 13.9781 10.5096 14.4219 9.35121 14.5567C8.13317 14.6984 6.89989 14.4927 5.7938 13.9633C4.68771 13.4339 3.75393 12.6024 3.10032 11.5649C2.4467 10.5273 2.09991 9.32605 2.09999 8.09979ZM12.5519 13.0066L15.548 16.0018C15.6098 16.0681 15.6843 16.1213 15.7671 16.1582C15.8499 16.1951 15.9393 16.2149 16.0299 16.2165C16.1206 16.2181 16.2106 16.2015 16.2946 16.1675C16.3787 16.1336 16.455 16.083 16.5191 16.0189C16.5832 15.9548 16.6338 15.8785 16.6677 15.7944C16.7017 15.7104 16.7183 15.6204 16.7167 15.5297C16.7151 15.4391 16.6953 15.3497 16.6584 15.2669C16.6215 15.1841 16.5683 15.1096 16.502 15.0478L13.5068 12.0517C14.1386 11.2671 14.5731 10.3424 14.7738 9.35518C14.9744 8.36797 14.9354 7.34703 14.66 6.37801C14.3846 5.40899 13.8808 4.52015 13.1909 3.78604C12.5011 3.05192 11.6452 2.49395 10.6951 2.15893C9.74508 1.82391 8.72853 1.7216 7.73077 1.8606C6.73301 1.99959 5.78312 2.37583 4.9608 2.95775C4.13848 3.53967 3.46769 4.31031 3.00472 5.20502C2.54174 6.09973 2.30008 7.09241 2.29999 8.09981C2.29991 9.28834 2.63603 10.4526 3.26954 11.4583C3.90304 12.4639 4.80809 13.2698 5.88014 13.7829C6.9522 14.296 8.14754 14.4954 9.3281 14.358C10.5087 14.2207 11.6263 13.7522 12.5519 13.0066ZM5.09981 4.59963C6.02812 3.67133 7.28717 3.14981 8.59999 3.14981C9.91281 3.14981 11.1719 3.67133 12.1002 4.59963C13.0285 5.52794 13.55 6.78699 13.55 8.09981C13.55 9.41263 13.0285 10.6717 12.1002 11.6C11.1719 12.5283 9.91281 13.0498 8.59999 13.0498C7.28717 13.0498 6.02812 12.5283 5.09981 11.6C4.17151 10.6717 3.64999 9.41263 3.64999 8.09981C3.64999 6.78699 4.17151 5.52794 5.09981 4.59963Z",fill:"currentColor",strokeWidth:0})]}))},eQ=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},Y),{children:(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.6245 4.25412C6.87307 4.11061 7.18367 4.13128 7.41102 4.30648L17.7257 12.2549C17.9591 12.4347 18.0568 12.7403 17.971 13.0222C17.8852 13.3041 17.6338 13.5034 17.3398 13.5227L13.2222 13.7934L15.8104 18.2763C16.0712 18.7281 15.9165 19.3057 15.4647 19.5665C15.013 19.8273 14.4354 19.6725 14.1746 19.2208L11.5865 14.7381L9.29372 18.1682C9.12997 18.4131 8.83166 18.5312 8.54463 18.4645C8.2576 18.3979 8.04181 18.1605 8.00275 17.8684L6.27658 4.96145C6.23854 4.67696 6.37593 4.39763 6.6245 4.25412Z",fill:"currentColor"})}))},eX=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},Y),{children:[(0,eu.jsx)("path",{d:"M6.8113 15.2174L6.81133 15.2175L10.401 21.0299C10.4011 21.03 10.4011 21.03 10.4011 21.0301C10.5694 21.3028 10.8047 21.5279 11.0845 21.684C11.3644 21.8401 11.6795 21.9221 12 21.9221C12.3205 21.9221 12.6356 21.8401 12.9155 21.684C13.1953 21.5279 13.4306 21.3028 13.5989 21.0301C13.5989 21.03 13.5989 21.03 13.599 21.0299L17.1887 15.2175L17.1887 15.2174C17.3644 14.9328 17.461 14.6065 17.4684 14.2721C17.4758 13.9377 17.3938 13.6073 17.2309 13.3152C17.068 13.0231 16.83 12.7797 16.5416 12.6103C16.2532 12.4409 15.9248 12.3515 15.5904 12.3515L15.5902 12.3515L12.8572 12.3515L11.1428 12.3515L8.40975 12.3515L8.40963 12.3515C8.07515 12.3515 7.74675 12.4409 7.45835 12.6103C7.16995 12.7797 6.932 13.0231 6.76908 13.3152C6.60617 13.6073 6.52418 13.9377 6.53161 14.2721C6.53903 14.6065 6.63558 14.9328 6.8113 15.2174Z",fill:"currentColor",stroke:"white"}),(0,eu.jsx)("path",{d:"M17.1887 8.78257L17.1887 8.78251L13.599 2.97006C13.5989 2.97001 13.5989 2.96996 13.5989 2.96991C13.4306 2.69724 13.1953 2.47215 12.9155 2.31602C12.6356 2.15986 12.3205 2.07788 12 2.07788C11.6795 2.07788 11.3644 2.15986 11.0845 2.31602C10.8047 2.47215 10.5694 2.69724 10.4011 2.96991C10.4011 2.96996 10.4011 2.97001 10.401 2.97006L6.81134 8.78251L6.8113 8.78257C6.63559 9.06718 6.53903 9.39354 6.53161 9.72794C6.52419 10.0623 6.60617 10.3927 6.76909 10.6848C6.93201 10.9769 7.16995 11.2203 7.45835 11.3897C7.74675 11.5591 8.07515 11.6485 8.40964 11.6485L8.40975 11.6485L11.1428 11.6485L12.8572 11.6485L15.5903 11.6485L15.5904 11.6485C15.9249 11.6485 16.2533 11.5591 16.5417 11.3897C16.8301 11.2203 17.068 10.9769 17.2309 10.6848C17.3938 10.3927 17.4758 10.0623 17.4684 9.72794C17.461 9.39354 17.3644 9.06718 17.1887 8.78257Z",fill:"currentColor",stroke:"white"})]}))},eJ=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},Y),{children:[(0,eu.jsxs)("linearGradient",{id:"a",gradientUnits:"userSpaceOnUse",x1:"6.638",y1:"11.082",x2:"12.78",y2:"7.536",gradientTransform:"matrix(1 0 0 -1 0 18)",children:[(0,eu.jsx)("stop",{offset:"0",style:{stopColor:"#37bdff"}}),(0,eu.jsx)("stop",{offset:".183",style:{stopColor:"#33bffd"}}),(0,eu.jsx)("stop",{offset:".358",style:{stopColor:"#28c5f5"}}),(0,eu.jsx)("stop",{offset:".528",style:{stopColor:"#15d0e9"}}),(0,eu.jsx)("stop",{offset:".547",style:{stopColor:"#12d1e7"}}),(0,eu.jsx)("stop",{offset:".59",style:{stopColor:"#1cd2e5"}}),(0,eu.jsx)("stop",{offset:".768",style:{stopColor:"#42d8dc"}}),(0,eu.jsx)("stop",{offset:".911",style:{stopColor:"#59dbd6"}}),(0,eu.jsx)("stop",{offset:"1",style:{stopColor:"#62dcd4"}})]}),(0,eu.jsx)("path",{fill:"url(#a)",d:"M12.551 9.845a3.765 3.765 0 0 1-1.013 2.575 1.67 1.67 0 0 0 .349-.597.818.818 0 0 0 .042-.144l.003-.009.015-.074a.95.95 0 0 0 .013-.077v-.002a1.562 1.562 0 0 0 .018-.24 1.69 1.69 0 0 0-.521-1.226 1.71 1.71 0 0 0-.504-.338 1.923 1.923 0 0 0-.253-.084l-.004-.001-.03-.01-.441-.151v-.001l-1.153-.397-.011-.001-.072-.027a1.071 1.071 0 0 1-.544-.477l-.42-1.074-.483-1.229-.092-.238-.024-.048a.55.55 0 0 1-.041-.207c0-.019 0-.038.002-.055a.538.538 0 0 1 .744-.439l2.148 1.101.424.217c.224.133.433.29.624.467a3.77 3.77 0 0 1 1.224 2.786z"}),(0,eu.jsxs)("linearGradient",{id:"b",gradientUnits:"userSpaceOnUse",x1:"3.038",y1:"5.762",x2:"11.977",y2:"5.762",gradientTransform:"matrix(1 0 0 -1 0 18)",children:[(0,eu.jsx)("stop",{offset:"0",style:{stopColor:"#39d2ff"}}),(0,eu.jsx)("stop",{offset:".15",style:{stopColor:"#38cefe"}}),(0,eu.jsx)("stop",{offset:".293",style:{stopColor:"#35c3fa"}}),(0,eu.jsx)("stop",{offset:".433",style:{stopColor:"#2fb0f3"}}),(0,eu.jsx)("stop",{offset:".547",style:{stopColor:"#299aeb"}}),(0,eu.jsx)("stop",{offset:".583",style:{stopColor:"#2692ec"}}),(0,eu.jsx)("stop",{offset:".763",style:{stopColor:"#1a6cf1"}}),(0,eu.jsx)("stop",{offset:".909",style:{stopColor:"#1355f4"}}),(0,eu.jsx)("stop",{offset:"1",style:{stopColor:"#104cf5"}})]}),(0,eu.jsx)("path",{fill:"url(#b)",d:"M11.977 11.279c0 .11-.01.216-.029.319-.006.027-.011.055-.018.082a1.477 1.477 0 0 1-.042.144l-.026.073-.03.073a1.745 1.745 0 0 1-.293.451c-.313.346-1.376.964-1.768 1.214l-.87.531c-.637.393-1.24.671-1.999.689l-.106.002a3.785 3.785 0 0 1-3.758-3.339 1.675 1.675 0 0 0 2.447 1.18l.006-.003.085-.051.346-.204.441-.261v-.012l.057-.034 3.943-2.336.303-.18.03.01.004.001a1.69 1.69 0 0 1 1.036.776c.153.256.241.556.241.875z"}),(0,eu.jsxs)("linearGradient",{id:"c",gradientUnits:"userSpaceOnUse",x1:"4.688",y1:"4.977",x2:"4.688",y2:"16.93",gradientTransform:"matrix(1 0 0 -1 0 18)",children:[(0,eu.jsx)("stop",{offset:"0",style:{stopColor:"#1b48ef"}}),(0,eu.jsx)("stop",{offset:".122",style:{stopColor:"#1c51f0"}}),(0,eu.jsx)("stop",{offset:".321",style:{stopColor:"#1e69f5"}}),(0,eu.jsx)("stop",{offset:".568",style:{stopColor:"#2190fb"}}),(0,eu.jsx)("stop",{offset:"1",style:{stopColor:"#26b8f4"}})]}),(0,eu.jsx)("path",{fill:"url(#c)",d:"m6.364 3.484-.001 8.695-.441.261-.346.204-.085.052a1.682 1.682 0 0 1-.804.204 1.675 1.675 0 0 1-1.675-1.696V1.419a.561.561 0 0 1 .875-.465l1.715 1.121c.009.008.019.014.03.021.443.301.732.81.732 1.388z"}),(0,eu.jsxs)("linearGradient",{id:"d",gradientUnits:"userSpaceOnUse",x1:"4.815",y1:"3.556",x2:"10.332",y2:"9.073",gradientTransform:"matrix(1 0 0 -1 0 18)",children:[(0,eu.jsx)("stop",{offset:"0",style:{stopColor:"#fff"}}),(0,eu.jsx)("stop",{offset:".373",style:{stopColor:"#fdfdfd"}}),(0,eu.jsx)("stop",{offset:".507",style:{stopColor:"#f6f6f6"}}),(0,eu.jsx)("stop",{offset:".603",style:{stopColor:"#ebebeb"}}),(0,eu.jsx)("stop",{offset:".68",style:{stopColor:"#dadada"}}),(0,eu.jsx)("stop",{offset:".746",style:{stopColor:"#c4c4c4"}}),(0,eu.jsx)("stop",{offset:".805",style:{stopColor:"#a8a8a8"}}),(0,eu.jsx)("stop",{offset:".858",style:{stopColor:"#888"}}),(0,eu.jsx)("stop",{offset:".907",style:{stopColor:"#626262"}}),(0,eu.jsx)("stop",{offset:".952",style:{stopColor:"#373737"}}),(0,eu.jsx)("stop",{offset:".993",style:{stopColor:"#090909"}}),(0,eu.jsx)("stop",{offset:"1",style:{stopColor:"#000"}})]}),(0,eu.jsx)("path",{opacity:".15",fill:"url(#d)",d:"M11.977 11.279c0 .11-.01.216-.029.319-.006.027-.011.055-.018.082a1.477 1.477 0 0 1-.042.144l-.026.073-.03.073a1.745 1.745 0 0 1-.293.451c-.313.346-1.376.964-1.768 1.214l-.87.531c-.637.393-1.24.671-1.999.689l-.106.002a3.785 3.785 0 0 1-3.758-3.339 1.675 1.675 0 0 0 2.447 1.18l.006-.003.085-.051.346-.204.441-.261v-.012l.057-.034 3.943-2.336.303-.18.03.01.004.001a1.69 1.69 0 0 1 1.036.776c.153.256.241.556.241.875z"}),(0,eu.jsxs)("linearGradient",{id:"e",gradientUnits:"userSpaceOnUse",x1:"4.688",y1:"17.142",x2:"4.688",y2:"5.099",gradientTransform:"matrix(1 0 0 -1 0 18)",children:[(0,eu.jsx)("stop",{offset:"0",style:{stopColor:"#fff"}}),(0,eu.jsx)("stop",{offset:".373",style:{stopColor:"#fdfdfd"}}),(0,eu.jsx)("stop",{offset:".507",style:{stopColor:"#f6f6f6"}}),(0,eu.jsx)("stop",{offset:".603",style:{stopColor:"#ebebeb"}}),(0,eu.jsx)("stop",{offset:".68",style:{stopColor:"#dadada"}}),(0,eu.jsx)("stop",{offset:".746",style:{stopColor:"#c4c4c4"}}),(0,eu.jsx)("stop",{offset:".805",style:{stopColor:"#a8a8a8"}}),(0,eu.jsx)("stop",{offset:".858",style:{stopColor:"#888"}}),(0,eu.jsx)("stop",{offset:".907",style:{stopColor:"#626262"}}),(0,eu.jsx)("stop",{offset:".952",style:{stopColor:"#373737"}}),(0,eu.jsx)("stop",{offset:".993",style:{stopColor:"#090909"}}),(0,eu.jsx)("stop",{offset:"1",style:{stopColor:"#000"}})]}),(0,eu.jsx)("path",{opacity:".1",fill:"url(#e)",d:"m6.364 3.484-.001 8.695-.441.261-.346.204-.085.052a1.682 1.682 0 0 1-.804.204 1.675 1.675 0 0 1-1.675-1.696V1.419a.561.561 0 0 1 .875-.465l1.715 1.121c.009.008.019.014.03.021.443.301.732.81.732 1.388z"})]}))},e0="ChatGPT",e9=function(Y){var et=Y.strokeWidth,en=Y.className;return(0,eu.jsxs)("svg",{width:"41",height:"41",viewBox:"0 0 41 41",fill:"none",xmlns:"http://www.w3.org/2000/svg",strokeWidth:et,className:en,role:"img",children:[(0,eu.jsx)("text",{x:"-9999",y:"-9999",children:e0}),(0,eu.jsx)("path",{d:"M37.5324 16.8707C37.9808 15.5241 38.1363 14.0974 37.9886 12.6859C37.8409 11.2744 37.3934 9.91076 36.676 8.68622C35.6126 6.83404 33.9882 5.3676 32.0373 4.4985C30.0864 3.62941 27.9098 3.40259 25.8215 3.85078C24.8796 2.7893 23.7219 1.94125 22.4257 1.36341C21.1295 0.785575 19.7249 0.491269 18.3058 0.500197C16.1708 0.495044 14.0893 1.16803 12.3614 2.42214C10.6335 3.67624 9.34853 5.44666 8.6917 7.47815C7.30085 7.76286 5.98686 8.3414 4.8377 9.17505C3.68854 10.0087 2.73073 11.0782 2.02839 12.312C0.956464 14.1591 0.498905 16.2988 0.721698 18.4228C0.944492 20.5467 1.83612 22.5449 3.268 24.1293C2.81966 25.4759 2.66413 26.9026 2.81182 28.3141C2.95951 29.7256 3.40701 31.0892 4.12437 32.3138C5.18791 34.1659 6.8123 35.6322 8.76321 36.5013C10.7141 37.3704 12.8907 37.5973 14.9789 37.1492C15.9208 38.2107 17.0786 39.0587 18.3747 39.6366C19.6709 40.2144 21.0755 40.5087 22.4946 40.4998C24.6307 40.5054 26.7133 39.8321 28.4418 38.5772C30.1704 37.3223 31.4556 35.5506 32.1119 33.5179C33.5027 33.2332 34.8167 32.6547 35.9659 31.821C37.115 30.9874 38.0728 29.9178 38.7752 28.684C39.8458 26.8371 40.3023 24.6979 40.0789 22.5748C39.8556 20.4517 38.9639 18.4544 37.5324 16.8707ZM22.4978 37.8849C20.7443 37.8874 19.0459 37.2733 17.6994 36.1501C17.7601 36.117 17.8666 36.0586 17.936 36.0161L25.9004 31.4156C26.1003 31.3019 26.2663 31.137 26.3813 30.9378C26.4964 30.7386 26.5563 30.5124 26.5549 30.2825V19.0542L29.9213 20.998C29.9389 21.0068 29.9541 21.0198 29.9656 21.0359C29.977 21.052 29.9842 21.0707 29.9867 21.0902V30.3889C29.9842 32.375 29.1946 34.2791 27.7909 35.6841C26.3872 37.0892 24.4838 37.8806 22.4978 37.8849ZM6.39227 31.0064C5.51397 29.4888 5.19742 27.7107 5.49804 25.9832C5.55718 26.0187 5.66048 26.0818 5.73461 26.1244L13.699 30.7248C13.8975 30.8408 14.1233 30.902 14.3532 30.902C14.583 30.902 14.8088 30.8408 15.0073 30.7248L24.731 25.1103V28.9979C24.7321 29.0177 24.7283 29.0376 24.7199 29.0556C24.7115 29.0736 24.6988 29.0893 24.6829 29.1012L16.6317 33.7497C14.9096 34.7416 12.8643 35.0097 10.9447 34.4954C9.02506 33.9811 7.38785 32.7263 6.39227 31.0064ZM4.29707 13.6194C5.17156 12.0998 6.55279 10.9364 8.19885 10.3327C8.19885 10.4013 8.19491 10.5228 8.19491 10.6071V19.808C8.19351 20.0378 8.25334 20.2638 8.36823 20.4629C8.48312 20.6619 8.64893 20.8267 8.84863 20.9404L18.5723 26.5542L15.206 28.4979C15.1894 28.5089 15.1703 28.5155 15.1505 28.5173C15.1307 28.5191 15.1107 28.516 15.0924 28.5082L7.04046 23.8557C5.32135 22.8601 4.06716 21.2235 3.55289 19.3046C3.03862 17.3858 3.30624 15.3413 4.29707 13.6194ZM31.955 20.0556L22.2312 14.4411L25.5976 12.4981C25.6142 12.4872 25.6333 12.4805 25.6531 12.4787C25.6729 12.4769 25.6928 12.4801 25.7111 12.4879L33.7631 17.1364C34.9967 17.849 36.0017 18.8982 36.6606 20.1613C37.3194 21.4244 37.6047 22.849 37.4832 24.2684C37.3617 25.6878 36.8382 27.0432 35.9743 28.1759C35.1103 29.3086 33.9415 30.1717 32.6047 30.6641C32.6047 30.5947 32.6047 30.4733 32.6047 30.3889V21.188C32.6066 20.9586 32.5474 20.7328 32.4332 20.5338C32.319 20.3348 32.154 20.1698 31.955 20.0556ZM35.3055 15.0128C35.2464 14.9765 35.1431 14.9142 35.069 14.8717L27.1045 10.2712C26.906 10.1554 26.6803 10.0943 26.4504 10.0943C26.2206 10.0943 25.9948 10.1554 25.7963 10.2712L16.0726 15.8858V11.9982C16.0715 11.9783 16.0753 11.9585 16.0837 11.9405C16.0921 11.9225 16.1048 11.9068 16.1207 11.8949L24.1719 7.25025C25.4053 6.53903 26.8158 6.19376 28.2383 6.25482C29.6608 6.31589 31.0364 6.78077 32.2044 7.59508C33.3723 8.40939 34.2842 9.53945 34.8334 10.8531C35.3826 12.1667 35.5464 13.6095 35.3055 15.0128ZM14.2424 21.9419L10.8752 19.9981C10.8576 19.9893 10.8423 19.9763 10.8309 19.9602C10.8195 19.9441 10.8122 19.9254 10.8098 19.9058V10.6071C10.8107 9.18295 11.2173 7.78848 11.9819 6.58696C12.7466 5.38544 13.8377 4.42659 15.1275 3.82264C16.4173 3.21869 17.8524 2.99464 19.2649 3.1767C20.6775 3.35876 22.0089 3.93941 23.1034 4.85067C23.0427 4.88379 22.937 4.94215 22.8668 4.98473L14.9024 9.58517C14.7025 9.69878 14.5366 9.86356 14.4215 10.0626C14.3065 10.2616 14.2466 10.4877 14.2479 10.7175L14.2424 21.9419ZM16.071 17.9991L20.4018 15.4978L24.7325 17.9975V22.9985L20.4018 25.4983L16.071 22.9985V17.9991Z",fill:"currentColor"})]})},e5=function(Y){var et=Y.className;return(0,eu.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1180 320",width:"118",height:"32",fill:"currentColor",className:et,children:(0,eu.jsx)("path",{d:"M367.44 153.84c0 52.32 33.6 88.8 80.16 88.8s80.16-36.48 80.16-88.8-33.6-88.8-80.16-88.8-80.16 36.48-80.16 88.8zm129.6 0c0 37.44-20.4 61.68-49.44 61.68s-49.44-24.24-49.44-61.68 20.4-61.68 49.44-61.68 49.44 24.24 49.44 61.68zM614.27 242.64c35.28 0 55.44-29.76 55.44-65.52s-20.16-65.52-55.44-65.52c-16.32 0-28.32 6.48-36.24 15.84V114h-28.8v169.2h28.8v-56.4c7.92 9.36 19.92 15.84 36.24 15.84zm-36.96-69.12c0-23.76 13.44-36.72 31.2-36.72 20.88 0 32.16 16.32 32.16 40.32s-11.28 40.32-32.16 40.32c-17.76 0-31.2-13.2-31.2-36.48zM747.65 242.64c25.2 0 45.12-13.2 54-35.28L776.93 198c-3.84 12.96-15.12 20.16-29.28 20.16-18.48 0-31.44-13.2-33.6-34.8h88.32v-9.6c0-34.56-19.44-62.16-55.92-62.16s-60 28.56-60 65.52c0 38.88 25.2 65.52 61.2 65.52zm-1.44-106.8c18.24 0 26.88 12 27.12 25.92h-57.84c4.32-17.04 15.84-25.92 30.72-25.92zM823.98 240h28.8v-73.92c0-18 13.2-27.6 26.16-27.6 15.84 0 22.08 11.28 22.08 26.88V240h28.8v-83.04c0-27.12-15.84-45.36-42.24-45.36-16.32 0-27.6 7.44-34.8 15.84V114h-28.8zM1014.17 67.68 948.89 240h30.48l14.64-39.36h74.4l14.88 39.36h30.96l-65.28-172.32zm16.8 34.08 27.36 72h-54.24zM1163.69 68.18h-30.72V240.5h30.72zM297.06 130.97a79.712 79.712 0 0 0-6.85-65.48c-17.46-30.4-52.56-46.04-86.84-38.68A79.747 79.747 0 0 0 143.24 0C108.2-.08 77.11 22.48 66.33 55.82a79.754 79.754 0 0 0-53.31 38.67c-17.59 30.32-13.58 68.54 9.92 94.54a79.712 79.712 0 0 0 6.85 65.48c17.46 30.4 52.56 46.04 86.84 38.68a79.687 79.687 0 0 0 60.13 26.8c35.06.09 66.16-22.49 76.94-55.86a79.754 79.754 0 0 0 53.31-38.67c17.57-30.32 13.55-68.51-9.94-94.51zM176.78 299.08a59.77 59.77 0 0 1-38.39-13.88c.49-.26 1.34-.73 1.89-1.07l63.72-36.8a10.36 10.36 0 0 0 5.24-9.07v-89.83l26.93 15.55c.29.14.48.42.52.74v74.39c-.04 33.08-26.83 59.9-59.91 59.97zM47.94 244.05a59.71 59.71 0 0 1-7.15-40.18c.47.28 1.3.79 1.89 1.13l63.72 36.8c3.23 1.89 7.23 1.89 10.47 0l77.79-44.92v31.1c.02.32-.13.63-.38.83L129.87 266c-28.69 16.52-65.33 6.7-81.92-21.95zM31.17 104.96c7-12.16 18.05-21.46 31.21-26.29 0 .55-.03 1.52-.03 2.2v73.61c-.02 3.74 1.98 7.21 5.23 9.06l77.79 44.91L118.44 224c-.27.18-.61.21-.91.08l-64.42-37.22c-28.63-16.58-38.45-53.21-21.95-81.89zm221.26 51.49-77.79-44.92 26.93-15.54c.27-.18.61-.21.91-.08l64.42 37.19c28.68 16.57 38.51 53.26 21.94 81.94a59.94 59.94 0 0 1-31.2 26.28v-75.81c.03-3.74-1.96-7.2-5.2-9.06zm26.8-40.34c-.47-.29-1.3-.79-1.89-1.13l-63.72-36.8a10.375 10.375 0 0 0-10.47 0l-77.79 44.92V92c-.02-.32.13-.63.38-.83l64.41-37.16c28.69-16.55 65.37-6.7 81.91 22a59.95 59.95 0 0 1 7.15 40.1zm-168.51 55.43-26.94-15.55a.943.943 0 0 1-.52-.74V80.86c.02-33.12 26.89-59.96 60.01-59.94 14.01 0 27.57 4.92 38.34 13.88-.49.26-1.33.73-1.89 1.07L116 72.67a10.344 10.344 0 0 0-5.24 9.06l-.04 89.79zM125.35 140 160 119.99l34.65 20V180L160 200l-34.65-20z"})})},e4=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({fill:"none",viewBox:"0 0 16 16"},Y),{children:(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.33203 5C3.33203 4.07953 4.07822 3.33333 4.9987 3.33333C5.91917 3.33333 6.66536 4.07953 6.66536 5C6.66536 5.92047 5.91917 6.66667 4.9987 6.66667C4.07822 6.66667 3.33203 5.92047 3.33203 5ZM4.9987 2C3.34184 2 1.9987 3.34315 1.9987 5C1.9987 6.65685 3.34184 8 4.9987 8C6.65555 8 7.9987 6.65685 7.9987 5C7.9987 3.34315 6.65555 2 4.9987 2ZM9.9987 5.33333C9.9987 4.59695 10.5957 4 11.332 4C12.0684 4 12.6654 4.59695 12.6654 5.33333C12.6654 6.06971 12.0684 6.66667 11.332 6.66667C10.5957 6.66667 9.9987 6.06971 9.9987 5.33333ZM11.332 2.66667C9.85927 2.66667 8.66537 3.86057 8.66537 5.33333C8.66537 6.80609 9.85927 8 11.332 8C12.8048 8 13.9987 6.80609 13.9987 5.33333C13.9987 3.86057 12.8048 2.66667 11.332 2.66667ZM2.69162 10.8315C2.0909 11.3655 1.66536 12.1809 1.66536 13.3333C1.66536 13.7015 1.36689 14 0.998698 14C0.630508 14 0.332031 13.7015 0.332031 13.3333C0.332031 11.8191 0.906492 10.6344 1.80578 9.83496C2.6928 9.04646 3.85664 8.66651 4.99869 8.6665C6.14075 8.6665 7.3046 9.04644 8.19162 9.83494C9.0909 10.6343 9.66536 11.819 9.66536 13.3333C9.66536 13.7015 9.36689 14 8.9987 14C8.63051 14 8.33203 13.7015 8.33203 13.3333C8.33203 12.1808 7.90649 11.3655 7.30578 10.8315C6.6928 10.2866 5.85665 9.99983 4.9987 9.99984C4.14075 9.99984 3.3046 10.2866 2.69162 10.8315ZM10.8463 10.1121C11.638 9.88879 12.5242 10.0016 13.1966 10.4265C13.8444 10.8358 14.3319 11.5565 14.3319 12.6667C14.3319 13.0349 14.6304 13.3333 14.9986 13.3333C15.3667 13.3333 15.6652 13.0349 15.6652 12.6667C15.6652 11.1039 14.9472 9.95549 13.9089 9.29936C12.8952 8.65884 11.6149 8.50999 10.4844 8.82877C10.1301 8.9287 9.9238 9.29699 10.0237 9.65135C10.1237 10.0057 10.4919 10.212 10.8463 10.1121Z",fill:"currentColor"})}))},e3=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({fill:"none",viewBox:"0 0 16 16"},Y),{children:(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.33203 4.6665C1.33203 3.56193 2.22746 2.6665 3.33203 2.6665H12.6654C13.7699 2.6665 14.6654 3.56193 14.6654 4.6665V6.6665V11.3332C14.6654 12.4377 13.7699 13.3332 12.6654 13.3332H3.33203C2.22746 13.3332 1.33203 12.4377 1.33203 11.3332V6.6665V4.6665ZM13.332 4.6665V5.99984H2.66536V4.6665C2.66536 4.29831 2.96384 3.99984 3.33203 3.99984H12.6654C13.0336 3.99984 13.332 4.29831 13.332 4.6665ZM13.332 7.33317H2.66536V11.3332C2.66536 11.7014 2.96384 11.9998 3.33203 11.9998H12.6654C13.0336 11.9998 13.332 11.7014 13.332 11.3332V7.33317ZM9.9987 9.33317C9.63051 9.33317 9.33203 9.63165 9.33203 9.99984C9.33203 10.368 9.63051 10.6665 9.9987 10.6665H11.332C11.7002 10.6665 11.9987 10.368 11.9987 9.99984C11.9987 9.63165 11.7002 9.33317 11.332 9.33317H9.9987Z",fill:"currentColor"})}))},e6=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({fill:"none",viewBox:"0 0 16 16"},Y),{children:(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.18929 2.99532L6.9069 3.47538C6.4317 4.28322 5.56729 4.78229 4.63008 4.7899L4.07318 4.79443C3.51784 4.79894 2.98739 5.7177 3.26115 6.2009L3.5357 6.68548C3.99771 7.50094 3.99771 8.49907 3.5357 9.31453L3.26115 9.79911C2.98739 10.2823 3.51784 11.2011 4.07318 11.2056L4.63008 11.2101C5.5673 11.2177 6.43171 11.7168 6.90691 12.5246L7.18929 13.0047C7.47087 13.4834 8.53177 13.4834 8.81335 13.0047L9.09573 12.5246C9.57093 11.7168 10.4353 11.2177 11.3725 11.2101L11.9295 11.2056C12.1657 11.2037 12.3833 11.0769 12.5014 10.8723C12.8702 10.2336 12.8271 9.9501 12.467 9.31453C12.005 8.49907 12.005 7.50094 12.467 6.68548L12.7415 6.2009C13.0153 5.7177 12.4849 4.79894 11.9295 4.79443L11.3726 4.7899C10.4353 4.78229 9.57093 4.28322 9.09573 3.47537L8.81335 2.99532C8.53177 2.51663 7.47087 2.51663 7.18929 2.99532ZM6.04004 2.31929C6.82968 0.976904 9.17295 0.976903 9.96259 2.31929L10.245 2.79935C10.4826 3.20327 10.9148 3.4528 11.3834 3.45661L11.9403 3.46114C13.4977 3.47379 14.6693 5.50312 13.9016 6.85816L13.6271 7.34274C13.3961 7.75047 13.3961 8.24954 13.6271 8.65727L13.9016 9.14184C14.6693 10.4969 13.4977 12.5262 11.9403 12.5389L11.3834 12.5434C10.9148 12.5472 10.4826 12.7967 10.245 13.2007L9.96259 13.6807C9.17295 15.0231 6.82968 15.0231 6.04004 13.6807L5.75766 13.2007C5.52006 12.7967 5.08786 12.5472 4.61925 12.5434L4.06234 12.5389C2.50498 12.5262 1.33335 10.4969 2.10107 9.14184L2.37562 8.65727C2.60662 8.24954 2.60662 7.75047 2.37562 7.34274L2.10107 6.85816C1.33335 5.50312 2.50498 3.47379 4.06234 3.46114L4.61924 3.45661C5.08785 3.4528 5.52006 3.20327 5.75766 2.79935L6.04004 2.31929ZM8.00132 7C7.44903 7 7.00132 7.44771 7.00132 8C7.00132 8.55228 7.44903 9 8.00132 9C8.5536 9 9.00132 8.55228 9.00132 8C9.00132 7.44771 8.5536 7 8.00132 7ZM5.66798 8C5.66798 6.71133 6.71265 5.66666 8.00132 5.66666C9.28998 5.66666 10.3347 6.71133 10.3347 8C10.3347 9.28866 9.28998 10.3333 8.00132 10.3333C6.71265 10.3333 5.66798 9.28866 5.66798 8Z",fill:"currentColor"})}))},e7=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({fill:"none",viewBox:"0 0 16 16"},Y),{children:(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 2C2.89543 2 2 2.89543 2 4V8V12C2 13.1046 2.89543 14 4 14H12C13.1046 14 14 13.1046 14 12V8V4C14 2.89543 13.1046 2 12 2H4ZM12.6667 7.33333V4C12.6667 3.63181 12.3682 3.33333 12 3.33333H4C3.63181 3.33333 3.33333 3.63181 3.33333 4V7.33333H4.32359C4.75419 7.33333 5.15828 7.54129 5.40857 7.89168L6.33333 9.18636L9.12418 5.27917C9.24932 5.10398 9.45137 5 9.66667 5C9.88197 5 10.084 5.10398 10.2092 5.27917L11.6764 7.33333H12.6667ZM3.33333 8.66667H4.32359L5.79084 10.7208C5.91599 10.896 6.11803 11 6.33333 11C6.54863 11 6.75068 10.896 6.87582 10.7208L9.66667 6.81364L10.5914 8.10832C10.8417 8.45871 11.2458 8.66667 11.6764 8.66667H12.6667V12C12.6667 12.3682 12.3682 12.6667 12 12.6667H4C3.63181 12.6667 3.33333 12.3682 3.33333 12V8.66667Z",fill:"currentColor"})}))},e8=function(Y){return(0,eu.jsx)(ey,(0,eo._)((0,ei._)({fill:"none",viewBox:"0 0 16 16"},Y),{children:(0,eu.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.26721 2.5113C8.09687 2.43677 7.90313 2.43677 7.73279 2.5113L3.73279 4.2613C3.49013 4.36746 3.33333 4.60721 3.33333 4.87207V8.66672C3.33333 9.80909 3.7438 10.8556 4.4253 11.6668C5.28091 10.6483 6.56432 10.0001 7.99994 10.0001C9.43559 10.0001 10.719 10.6483 11.5746 11.6668C12.2562 10.8557 12.6667 9.80912 12.6667 8.66672V4.87207C12.6667 4.60721 12.5099 4.36746 12.2672 4.2613L8.26721 2.5113ZM10.5801 12.5559C9.96831 11.8091 9.03926 11.3334 7.99994 11.3334C6.96064 11.3334 6.03161 11.809 5.41986 12.5558C6.15891 13.0471 7.04603 13.3334 8 13.3334C8.95394 13.3334 9.84102 13.0472 10.5801 12.5559ZM7.19836 1.28976C7.7094 1.06618 8.2906 1.06618 8.80164 1.28976L12.8016 3.03976C13.5296 3.35824 14 4.07747 14 4.87207V8.66672C14 11.9804 11.3137 14.6667 8 14.6667C4.68629 14.6667 2 11.9804 2 8.66672V4.87207C2 4.07747 2.47039 3.35824 3.19836 3.03976L7.19836 1.28976ZM8 5.66672C7.35567 5.66672 6.83333 6.18905 6.83333 6.83338C6.83333 7.47772 7.35567 8.00005 8 8.00005C8.64433 8.00005 9.16667 7.47772 9.16667 6.83338C9.16667 6.18905 8.64433 5.66672 8 5.66672ZM5.5 6.83338C5.5 5.45267 6.61929 4.33338 8 4.33338C9.38071 4.33338 10.5 5.45267 10.5 6.83338C10.5 8.2141 9.38071 9.33338 8 9.33338C6.61929 9.33338 5.5 8.2141 5.5 6.83338Z",fill:"currentColor"})}))},tt=function(Y){var et=Y.className;return(0,eu.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",className:et,children:[(0,eu.jsx)("path",{d:"M8.08571 16.081L15.8333 8.3335C16.9838 7.1829 16.9838 5.31742 15.8333 4.16683C14.6827 3.01624 12.8172 3.01624 11.6666 4.16683L3.91904 11.9144C3.54397 12.2894 3.33325 12.7982 3.33325 13.3286V15.6668C3.33325 16.2191 3.78097 16.6668 4.33325 16.6668H6.67149C7.20192 16.6668 7.71063 16.4561 8.08571 16.081Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eu.jsx)("path",{d:"M10.8333 5L14.9999 9.16667",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},ta=function(Y){return(0,eu.jsxs)(ey,(0,eo._)((0,ei._)({fill:"none",viewBox:"0 0 12 12"},Y),{children:[(0,eu.jsx)("path",{d:"M9 3L3 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,eu.jsx)("path",{d:"M3 3L9 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}))}},25653:function(Y,et,en){"use strict";en.d(et,{$i:function(){return ea},CE:function(){return eu},Fw:function(){return ef},Ih:function(){return eo},K9:function(){return ed},XC:function(){return ep},av:function(){return ec},mz:function(){return eh}});var ei=en(35250),eo=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 7C7 4.23858 9.23858 2 12 2C14.7614 2 17 4.23858 17 7C17 9.76142 14.7614 12 12 12C9.23858 12 7 9.76142 7 7ZM12 4C10.3431 4 9 5.34315 9 7C9 8.65685 10.3431 10 12 10C13.6569 10 15 8.65685 15 7C15 5.34315 13.6569 4 12 4Z",fill:"currentColor"}),(0,ei.jsx)("path",{d:"M9.97992 14.095C10.09 14.6362 9.7406 15.1642 9.1994 15.2744C7.59635 15.6006 6.24138 16.2008 5.34538 17.0082C5.14268 17.1909 5 17.5256 5 18.0001V20.0001C5 20.5524 4.55228 21.0001 4 21.0001C3.44772 21.0001 3 20.5524 3 20.0001V18.0001C3 17.1764 3.24481 16.2088 4.00656 15.5224C5.2542 14.3982 6.98216 13.6845 8.8006 13.3145C9.34179 13.2044 9.86979 13.5538 9.97992 14.095Z",fill:"currentColor"}),(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.4739 21.8806C21.3023 19.8204 22.6116 17.1105 21.7578 14.9761C21.3515 13.9603 20.4715 13.236 19.4151 13.0479C18.6065 12.9039 17.76 13.0829 17 13.5838C16.24 13.0829 15.3935 12.9039 14.5849 13.0479C13.5285 13.236 12.6485 13.9603 12.2422 14.9761C11.3884 17.1105 12.6977 19.8204 16.5261 21.8806C16.822 22.0398 17.178 22.0398 17.4739 21.8806ZM17.7188 15.5743C18.231 15.0448 18.7227 14.956 19.0645 15.0169C19.4251 15.0811 19.7452 15.3298 19.9009 15.7189C20.1584 16.3627 20.0618 18.0534 17 19.853C13.9382 18.0534 13.8416 16.3627 14.0991 15.7189C14.2548 15.3298 14.5749 15.0811 14.9355 15.0169C15.2773 14.956 15.7691 15.0448 16.2812 15.5743C16.4696 15.7691 16.729 15.8791 17 15.8791C17.271 15.8791 17.5304 15.7691 17.7188 15.5743Z",fill:"currentColor"})]})},ea=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M3 12.0003C7.971 9.33325 16.029 9.33325 21 12.0003",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("circle",{cx:"7",cy:"17",r:"3",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M10 17C10.3333 16.6667 11 16 12 16C13 16 13.6667 16.6667 14 17",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("circle",{cx:"17",cy:"17",r:"3",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M6 10.5L6.73909 5.69588C6.8892 4.72022 7.7287 4 8.71584 4H15.2842C16.2713 4 17.1108 4.72022 17.2609 5.69588L18 10.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},eu=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M7.5 13.25C7.98703 13.25 8.45082 13.1505 8.87217 12.9708C8.46129 14.0478 7.62459 15.5792 6.35846 15.76C5.81173 15.8382 5.43183 16.3447 5.50993 16.8914C5.58804 17.4382 6.09457 17.8181 6.6413 17.7399C9.19413 17.3753 10.7256 14.4711 11.169 12.1909C11.4118 10.942 11.3856 9.58095 10.8491 8.44726C10.2424 7.16517 8.92256 6.24402 7.48508 6.25001C5.55895 6.25805 4 7.82196 4 9.74998C4 11.683 5.567 13.25 7.5 13.25Z",fill:"currentColor"}),(0,ei.jsx)("path",{d:"M16.1799 13.25C16.667 13.25 17.1307 13.1505 17.5521 12.9708C17.1412 14.0478 16.3045 15.5792 15.0384 15.76C14.4917 15.8382 14.1118 16.3447 14.1899 16.8914C14.268 17.4382 14.7745 17.8181 15.3212 17.7399C17.8741 17.3753 19.4056 14.4711 19.8489 12.1909C20.0918 10.942 20.0655 9.58095 19.529 8.44726C18.9223 7.16517 17.6025 6.24402 16.165 6.25001C14.2389 6.25805 12.6799 7.82196 12.6799 9.74998C12.6799 11.683 14.2469 13.25 16.1799 13.25Z",fill:"currentColor"})]})},ec=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 11C3 8.92477 4.02755 6.93324 5.4804 5.4804C6.93324 4.02755 8.92477 3 11 3L16.8385 3C16.8931 3 16.947 3 17 3.00003L18 3C19.6569 3 21 4.34315 21 6V7.07564C21 7.10402 21 7.13262 21 7.16144V10C21 10.0007 21 10.0013 21 10.002V18C21 19.6569 19.6569 21 18 21H10.002C10.0013 21 10.0007 21 10 21H7.16144C7.13262 21 7.10402 21 7.07564 21H6C4.34315 21 3 19.6569 3 18V16.9026C3 16.8814 3 16.8601 3 16.8386V11ZM16.8 5C17.3766 5 17.7488 5.00078 18.0322 5.02393C18.3038 5.04612 18.4046 5.0838 18.454 5.109C18.5363 5.15094 18.6119 5.20382 18.6789 5.26578C18.701 5.28619 18.7221 5.30758 18.7423 5.32989C18.8008 5.3947 18.8509 5.46727 18.891 5.54601C18.9162 5.59546 18.9539 5.69617 18.9761 5.96784C18.9986 6.24389 18.9999 6.60437 19 7.15595C19 7.1705 19 7.18518 19 7.2L19 18C19 18.5523 18.5523 19 18 19L7.2 19C7.18518 19 7.1705 19 7.15595 19C6.60437 18.9999 6.24389 18.9986 5.96784 18.9761C5.69618 18.9539 5.59546 18.9162 5.54601 18.891C5.46369 18.8491 5.3881 18.7962 5.32109 18.7342C5.29956 18.7143 5.27892 18.6935 5.25922 18.6717C5.20007 18.6065 5.14945 18.5334 5.109 18.454C5.0838 18.4045 5.04613 18.3038 5.02393 18.0322C5.00078 17.7488 5 17.3766 5 16.8V11.5002C5.07155 11.5001 5.1442 11.4924 5.21693 11.4762L7.85409 10.8903C8.44955 10.7588 8.97304 10.6432 9.41399 10.3675C9.80009 10.1262 10.1262 9.80009 10.3675 9.41399C10.6432 8.97304 10.7588 8.44956 10.8903 7.8541C11.0989 6.91142 11.3 6 11.5002 5H16.8ZM7.2952 8.96556L5.28014 9.41336C5.59289 8.51014 6.15398 7.63524 6.89461 6.89461C7.63524 6.15398 8.51014 5.59289 9.41336 5.28014L8.96556 7.2952C8.78925 8.08861 8.74089 8.24308 8.67166 8.35381C8.59121 8.48251 8.48251 8.59121 8.35381 8.67166C8.24308 8.74089 8.08861 8.78925 7.2952 8.96556Z",fill:"currentColor"})})},ed=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.52242 6.53608C9.7871 4.41979 12.1019 3 14.75 3C18.7541 3 22 6.24594 22 10.25C22 11.9007 21.4474 13.4239 20.5183 14.6425L21.348 15.97C21.5407 16.2783 21.5509 16.6668 21.3746 16.9848C21.1984 17.3027 20.8635 17.5 20.5 17.5H15.4559C14.1865 19.5963 11.883 21 9.25 21C9.18896 21 9.12807 20.9992 9.06735 20.9977C9.04504 20.9992 9.02258 21 9 21H3.5C3.13647 21 2.80158 20.8027 2.62536 20.4848C2.44913 20.1668 2.45933 19.7783 2.652 19.47L3.48171 18.1425C2.55263 16.9239 2 15.4007 2 13.75C2 9.99151 4.85982 6.90116 8.52242 6.53608ZM10.8938 6.68714C14.106 7.43177 16.5 10.3113 16.5 13.75C16.5 14.3527 16.4262 14.939 16.2871 15.5H18.6958L18.435 15.0828C18.1933 14.6961 18.2439 14.1949 18.5579 13.8643C19.4525 12.922 20 11.651 20 10.25C20 7.3505 17.6495 5 14.75 5C13.2265 5 11.8535 5.64888 10.8938 6.68714ZM8.89548 19C8.94178 18.9953 8.98875 18.9938 9.03611 18.9957C9.107 18.9986 9.17831 19 9.25 19C11.3195 19 13.1112 17.8027 13.9668 16.0586C14.3079 15.363 14.5 14.5804 14.5 13.75C14.5 10.8505 12.1495 8.5 9.25 8.5C9.21772 8.5 9.18553 8.50029 9.15341 8.50087C6.2987 8.55218 4 10.8828 4 13.75C4 15.151 4.54746 16.422 5.44215 17.3643C5.75613 17.6949 5.80666 18.1961 5.56498 18.5828L5.30425 19H8.89548Z",fill:"currentColor"})})},ef=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1384 2C12.6907 2 13.1384 2.44772 13.1384 3V5C13.1384 5.55228 12.6907 6 12.1384 6C11.5861 6 11.1384 5.55228 11.1384 5V3C11.1384 2.44772 11.5861 2 12.1384 2ZM17.9291 4.10554C18.3521 4.46054 18.4073 5.0913 18.0523 5.51437L16.7667 7.04646C16.4117 7.46953 15.781 7.52472 15.3579 7.16971C14.9348 6.81471 14.8797 6.18396 15.2347 5.76088L16.5202 4.22879C16.8752 3.80572 17.506 3.75054 17.9291 4.10554ZM6.35721 4.10558C6.78029 3.75058 7.41104 3.80576 7.76604 4.22884L9.05162 5.76093C9.40662 6.184 9.35144 6.81476 8.92836 7.16976C8.50529 7.52476 7.87453 7.46958 7.51953 7.0465L6.23396 5.51441C5.87895 5.09134 5.93414 4.46058 6.35721 4.10558ZM5.39541 8.78081C6.01476 8.81379 6.60318 9.06344 7.10987 9.52194L7.12153 9.53249C7.47048 9.84832 7.77505 9.98134 8.24466 10.0685C10.2462 10.4402 11.8323 12.3059 11.5734 14.4742L11.325 17.4551C11.3239 17.4688 11.3225 17.4825 11.3208 17.4961C11.0705 19.4979 9.36895 21 7.35165 21H1C0.447715 21 0 20.5523 0 20C0 19.4477 0.447715 19 1 19H7.35165C9.79531 19 9.3821 15.8808 9.58621 14.2481C9.71417 13.2243 8.95274 12.2342 7.87954 12.0349C7.07042 11.8847 6.40951 11.5864 5.80131 11.0351C5.47484 10.7392 5.12348 10.718 4.74356 10.9349C4.28457 11.1968 3.83626 11.7459 3.62201 12.3534C3.36112 13.0933 2.64074 14 1.5 14H1C0.447715 14 0 13.5523 0 13C0 12.4477 0.447715 12 1 12C1.33628 12 1.60255 12.0663 1.73585 11.6883C2.08789 10.69 2.82173 9.72888 3.75223 9.19784C4.22749 8.9266 4.7899 8.74857 5.39541 8.78081ZM18.3633 11.0018C17.7613 11.5724 17.1051 11.8901 16.284 12.0315C15.1165 12.2326 14.2926 13.2742 14.4143 14.2481C14.416 14.2617 14.4175 14.2754 14.4186 14.2891C14.5544 15.9193 14.2591 19 16.6489 19H23.0005C23.5528 19 24.0005 19.4477 24.0005 20C24.0005 20.5523 23.5528 21 23.0005 21H16.6489C14.6316 21 12.93 19.4979 12.6798 17.4961C12.6781 17.4825 12.6766 17.4688 12.6755 17.4551L12.4271 14.4741C12.1604 12.2348 13.958 10.4027 15.9445 10.0605C16.4181 9.97896 16.6899 9.83034 17.0334 9.50674C17.5195 9.04878 18.0964 8.80286 18.7071 8.77898C19.2998 8.75581 19.8472 8.94388 20.3048 9.21635C21.2021 9.7506 21.9187 10.7019 22.2653 11.6897C22.3976 12.0671 22.6655 12 23.0005 12C23.5528 12 24.0005 12.4477 24.0005 13C24.0005 13.5523 23.5528 14 23.0005 14H22.5C21.3596 14 20.6383 13.0938 20.378 12.3518C20.1656 11.7462 19.7242 11.1983 19.2817 10.9348C18.9449 10.7343 18.6533 10.7269 18.3633 11.0018Z",fill:"currentColor"})})},eh=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("rect",{x:"2",y:"6",width:"5",height:"12",rx:"2",stroke:"currentColor",strokeWidth:"2"}),(0,ei.jsx)("path",{d:"M2 12H1",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M22 12H23",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("rect",{x:"17",y:"6",width:"5",height:"12",rx:"2",stroke:"currentColor",strokeWidth:"2"}),(0,ei.jsx)("path",{d:"M7 12L12 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M16 12H17",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M9 3L15 21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},ep=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{d:"M7.5 4.16669L13.3333 10L7.5 15.8334",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},89319:function(Y,et,en){"use strict";var ei=en(39324),eo=en(10064),ea=en(4337),eu=en(35250),ec=en(19841),ed=en(70079),ef=en(21389);function eh(){var Y=(0,ea._)(["absolute right-0 top-1/2 -translate-y-1/2"]);return eh=function(){return Y},Y}function ep(Y,et){var en=Y.name,ea=Y.placeholder,ef=Y.type,eh=Y.displayName,ep=Y.onChange,eg=Y.onBlur,ey=Y.value,eb=Y.saveOnBlur,ek=Y.icon,ew=Y.onInputIconClick,e_=Y.className,eE=Y.autoComplete,eC=Y.autoFocus,eT=Y.onPressEnter,eS=Y.disabled,eA=Y.maxLength,eM=Y.color,eP=void 0===eM?"tertiary":eM,ej=(0,eo._)((0,ed.useState)(ey),2),eO=ej[0],eI=ej[1],eN=(0,ed.useCallback)(function(Y){null==eg||eg(Y),eb&&eI(Y.target.value)},[eg,eb]),eL=(0,ed.useCallback)(function(Y){null==ep||ep(Y),eb&&eI(Y.target.value)},[ep,eb]),eR=(0,ed.useCallback)(function(Y){"Enter"===Y.key&&eT&&(Y.preventDefault(),eT())},[eT]);(0,ed.useEffect)(function(){eI(ey)},[ey]);var eD=(0,ei._)({},eb?{}:{value:ey},eb?{value:eO}:{});return(0,eu.jsxs)("div",{className:(0,ec.default)("rounded-md border px-3 py-2 shadow-none focus-within:ring-1 ","neutral"===eP?"border-transparent focus-within:border-green-500 focus-within:bg-token-surface-tertiary focus-within:ring-transparent hover:bg-token-surface-tertiary":"border-gray-300 focus-within:border-gray-800 focus-within:ring-gray-800 dark:bg-gray-700 dark:focus-within:border-white dark:focus-within:ring-white",e_),children:[(0,eu.jsx)("label",{htmlFor:en,className:"block text-xs font-medium text-gray-900 dark:text-gray-100",children:eh}),(0,eu.jsxs)("div",{className:(0,ec.default)(eh&&"mt-1","relative"),children:[(0,eu.jsx)("input",(0,ei._)({ref:et,type:ef,name:en,id:en,className:(0,ec.default)("block w-full border-0 p-0 placeholder-gray-500 shadow-none outline-none focus-within:shadow-none focus-within:outline-none focus-within:ring-0 focus:border-none focus:ring-0 sm:text-sm",null!=ek&&"pr-6","neutral"===eP?"bg-transparent":"text-gray-900 dark:bg-gray-700 dark:text-gray-100"),placeholder:ea,onBlur:eN,onChange:eL,onKeyDown:eR,autoComplete:eE,autoFocus:eC,disabled:eS,maxLength:eA},eD)),null!=ek&&(0,eu.jsx)(em,{onClick:ew,children:(0,eu.jsx)(ek,{className:"icon-sm"})})]})]})}et.Z=ed.forwardRef(ep);var em=ef.Z.button(eh())},15725:function(Y,et,en){"use strict";en.d(et,{RD:function(){return tM},ZP:function(){return tj},F4:function(){return tT},bU:function(){return tA}});var ei=en(96237),eo=en(39324),ea=en(71209),eu=en(10064),ec=en(35250),ed=en(60583),ef=en(82473),eh=en(4536),ep=en(54636),em=en(42780),eg=en(42918),ey=en(19253),eb=en(8874),ek=en(61888),ew=en(70079),e_=en(1454),eE=en(39889),eC=en(64936),eT=en(1809),eS=en(38104),eA=en(53936),eM=en(10283),eP=en(89199),ej=en(83608);function eO(Y,et){return Object.keys(Y).reduce(function(en,ei){return en[ei]=(0,eS.pi)({timeZone:et},Y[ei]),en},{})}function eI(Y,et){return Object.keys((0,eS.pi)((0,eS.pi)({},Y),et)).reduce(function(en,ei){return en[ei]=(0,eS.pi)((0,eS.pi)({},Y[ei]||{}),et[ei]||{}),en},{})}function eN(Y,et){if(!et)return Y;var en=eM.C.formats;return(0,eS.pi)((0,eS.pi)((0,eS.pi)({},en),Y),{date:eI(eO(en.date,et),eO(Y.date||{},et)),time:eI(eO(en.time,et),eO(Y.time||{},et))})}var eL=function(Y,et,en,ei,eo){var ea=Y.locale,eu=Y.formats,ec=Y.messages,ed=Y.defaultLocale,ef=Y.defaultFormats,eh=Y.fallbackOnEmptyString,ep=Y.onError,em=Y.timeZone,eg=Y.defaultRichTextElements;void 0===en&&(en={id:""});var ey=en.id,eb=en.defaultMessage;(0,eA.kG)(!!ey,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var ek=String(ey),ew=ec&&Object.prototype.hasOwnProperty.call(ec,ek)&&ec[ek];if(Array.isArray(ew)&&1===ew.length&&ew[0].type===ej.wD.literal)return ew[0].value;if(!ei&&ew&&"string"==typeof ew&&!eg)return ew.replace(/'\{(.*?)\}'/gi,"{$1}");if(ei=(0,eS.pi)((0,eS.pi)({},eg),ei||{}),eu=eN(eu,em),ef=eN(ef,em),!ew){if(!1===eh&&""===ew)return ew;if((!eb||ea&&ea.toLowerCase()!==ed.toLowerCase())&&ep(new eP.$6(en,ea)),eb)try{var e_=et.getMessageFormat(eb,ed,ef,eo);return e_.format(ei)}catch(Y){return ep(new eP.X9('Error formatting default message for: "'.concat(ek,'", rendering default message verbatim'),ea,en,Y)),"string"==typeof eb?eb:ek}return ek}try{var e_=et.getMessageFormat(ew,ea,eu,(0,eS.pi)({formatters:et},eo||{}));return e_.format(ei)}catch(Y){ep(new eP.X9('Error formatting message: "'.concat(ek,'", using ').concat(eb?"default message":"id"," as fallback."),ea,en,Y))}if(eb)try{var e_=et.getMessageFormat(eb,ed,ef,eo);return e_.format(ei)}catch(Y){ep(new eP.X9('Error formatting the default message for: "'.concat(ek,'", rendering message verbatim'),ea,en,Y))}return"string"==typeof ew?ew:"string"==typeof eb?eb:ek},eR=en(96733),eD=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function eF(Y,et,en){var ei=Y.locale,eo=Y.formats,ea=Y.onError;void 0===en&&(en={});var eu=en.format,ec=eu&&(0,eR.TB)(eo,"number",eu,ea)||{};return et(ei,(0,eR.L6)(en,eD,ec))}function eB(Y,et,en,ei){void 0===ei&&(ei={});try{return eF(Y,et,ei).format(en)}catch(et){Y.onError(new eP.Qe("Error formatting number.",Y.locale,et))}return String(en)}function ez(Y,et,en,ei){void 0===ei&&(ei={});try{return eF(Y,et,ei).formatToParts(en)}catch(et){Y.onError(new eP.Qe("Error formatting number.",Y.locale,et))}return[]}var eU=en(12916),eH=["numeric","style"];function eG(Y,et,en){var ei=Y.locale,eo=Y.formats,ea=Y.onError;void 0===en&&(en={});var eu=en.format,ec=!!eu&&(0,eR.TB)(eo,"relative",eu,ea)||{};return et(ei,(0,eR.L6)(en,eH,ec))}function eV(Y,et,en,ei,eo){void 0===eo&&(eo={}),ei||(ei="second"),Intl.RelativeTimeFormat||Y.onError(new eU.u_('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',eU.jK.MISSING_INTL_API));try{return eG(Y,et,eo).format(en,ei)}catch(et){Y.onError(new eP.Qe("Error formatting relative time.",Y.locale,et))}return String(en)}var eW=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function eZ(Y,et,en,ei){var eo=Y.locale,ea=Y.formats,eu=Y.onError,ec=Y.timeZone;void 0===ei&&(ei={});var ed=ei.format,ef=(0,eS.pi)((0,eS.pi)({},ec&&{timeZone:ec}),ed&&(0,eR.TB)(ea,et,ed,eu)),eh=(0,eR.L6)(ei,eW,ef);return"time"!==et||eh.hour||eh.minute||eh.second||eh.timeStyle||eh.dateStyle||(eh=(0,eS.pi)((0,eS.pi)({},eh),{hour:"numeric",minute:"numeric"})),en(eo,eh)}function eK(Y,et){for(var en=[],ei=2;ei<arguments.length;ei++)en[ei-2]=arguments[ei];var eo=en[0],ea=en[1],eu=void 0===ea?{}:ea,ec="string"==typeof eo?new Date(eo||0):eo;try{return eZ(Y,"date",et,eu).format(ec)}catch(et){Y.onError(new eP.Qe("Error formatting date.",Y.locale,et))}return String(ec)}function e$(Y,et){for(var en=[],ei=2;ei<arguments.length;ei++)en[ei-2]=arguments[ei];var eo=en[0],ea=en[1],eu=void 0===ea?{}:ea,ec="string"==typeof eo?new Date(eo||0):eo;try{return eZ(Y,"time",et,eu).format(ec)}catch(et){Y.onError(new eP.Qe("Error formatting time.",Y.locale,et))}return String(ec)}function eY(Y,et){for(var en=[],ei=2;ei<arguments.length;ei++)en[ei-2]=arguments[ei];var eo=en[0],ea=en[1],eu=en[2],ec=void 0===eu?{}:eu,ed=Y.timeZone,ef=Y.locale,eh=Y.onError,ep=(0,eR.L6)(ec,eW,ed?{timeZone:ed}:{});try{return et(ef,ep).formatRange(eo,ea)}catch(et){eh(new eP.Qe("Error formatting date time range.",Y.locale,et))}return String(eo)}function eQ(Y,et){for(var en=[],ei=2;ei<arguments.length;ei++)en[ei-2]=arguments[ei];var eo=en[0],ea=en[1],eu=void 0===ea?{}:ea,ec="string"==typeof eo?new Date(eo||0):eo;try{return eZ(Y,"date",et,eu).formatToParts(ec)}catch(et){Y.onError(new eP.Qe("Error formatting date.",Y.locale,et))}return[]}function eX(Y,et){for(var en=[],ei=2;ei<arguments.length;ei++)en[ei-2]=arguments[ei];var eo=en[0],ea=en[1],eu=void 0===ea?{}:ea,ec="string"==typeof eo?new Date(eo||0):eo;try{return eZ(Y,"time",et,eu).formatToParts(ec)}catch(et){Y.onError(new eP.Qe("Error formatting time.",Y.locale,et))}return[]}var eJ=["type"];function e0(Y,et,en,ei){var eo=Y.locale,ea=Y.onError;void 0===ei&&(ei={}),Intl.PluralRules||ea(new eU.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',eU.jK.MISSING_INTL_API));var eu=(0,eR.L6)(ei,eJ);try{return et(eo,eu).select(en)}catch(Y){ea(new eP.Qe("Error formatting plural.",eo,Y))}return"other"}var e9=["type","style"],e5=Date.now();function e4(Y){return"".concat(e5,"_").concat(Y,"_").concat(e5)}function e3(Y,et,en,ei){void 0===ei&&(ei={});var eo=e6(Y,et,en,ei).reduce(function(Y,et){var en=et.value;return"string"!=typeof en?Y.push(en):"string"==typeof Y[Y.length-1]?Y[Y.length-1]+=en:Y.push(en),Y},[]);return 1===eo.length?eo[0]:0===eo.length?"":eo}function e6(Y,et,en,ei){var eo=Y.locale,ea=Y.onError;void 0===ei&&(ei={}),Intl.ListFormat||ea(new eU.u_('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',eU.jK.MISSING_INTL_API));var eu=(0,eR.L6)(ei,e9);try{var ec={},ed=en.map(function(Y,et){if("object"==typeof Y){var en=e4(et);return ec[en]=Y,en}return String(Y)});return et(eo,eu).formatToParts(ed).map(function(Y){return"literal"===Y.type?Y:(0,eS.pi)((0,eS.pi)({},Y),{value:ec[Y.value]||Y.value})})}catch(Y){ea(new eP.Qe("Error formatting list.",eo,Y))}return en}var e7=["style","type","fallback","languageDisplay"];function e8(Y,et,en,ei){var eo=Y.locale,ea=Y.onError;Intl.DisplayNames||ea(new eU.u_('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',eU.jK.MISSING_INTL_API));var eu=(0,eR.L6)(ei,e7);try{return et(eo,eu).of(en)}catch(Y){ea(new eP.Qe("Error formatting display name.",eo,Y))}}function tt(Y){return"string"==typeof(Y?Y[Object.keys(Y)[0]]:void 0)}function ta(Y){Y.onWarn&&Y.defaultRichTextElements&&tt(Y.messages||{})&&Y.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}function tu(Y,et){var en=(0,eR.ax)(et),ei=(0,eS.pi)((0,eS.pi)({},eR.Z0),Y),eo=ei.locale,ea=ei.defaultLocale,eu=ei.onError;return eo?!Intl.NumberFormat.supportedLocalesOf(eo).length&&eu?eu(new eP.gb('Missing locale data for locale: "'.concat(eo,'" in Intl.NumberFormat. Using default locale: "').concat(ea,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(eo).length&&eu&&eu(new eP.gb('Missing locale data for locale: "'.concat(eo,'" in Intl.DateTimeFormat. Using default locale: "').concat(ea,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(eu&&eu(new eP.OV('"locale" was not configured, using "'.concat(ea,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),ei.locale=ei.defaultLocale||"en"),ta(ei),(0,eS.pi)((0,eS.pi)({},ei),{formatters:en,formatNumber:eB.bind(null,ei,en.getNumberFormat),formatNumberToParts:ez.bind(null,ei,en.getNumberFormat),formatRelativeTime:eV.bind(null,ei,en.getRelativeTimeFormat),formatDate:eK.bind(null,ei,en.getDateTimeFormat),formatDateToParts:eQ.bind(null,ei,en.getDateTimeFormat),formatTime:e$.bind(null,ei,en.getDateTimeFormat),formatDateTimeRange:eY.bind(null,ei,en.getDateTimeFormat),formatTimeToParts:eX.bind(null,ei,en.getDateTimeFormat),formatPlural:e0.bind(null,ei,en.getPluralRules),formatMessage:eL.bind(null,ei,en),$t:eL.bind(null,ei,en),formatList:e3.bind(null,ei,en.getListFormat),formatListToParts:e6.bind(null,ei,en.getListFormat),formatDisplayName:e8.bind(null,ei,en.getDisplayNames)})}var tc=en(33614);function td(Y){return{locale:Y.locale,timeZone:Y.timeZone,fallbackOnEmptyString:Y.fallbackOnEmptyString,formats:Y.formats,textComponent:Y.textComponent,messages:Y.messages,defaultLocale:Y.defaultLocale,defaultFormats:Y.defaultFormats,onError:Y.onError,onWarn:Y.onWarn,wrapRichTextChunksInFragment:Y.wrapRichTextChunksInFragment,defaultRichTextElements:Y.defaultRichTextElements}}function tf(Y){return Y?Object.keys(Y).reduce(function(et,en){var ei=Y[en];return et[en]=(0,tc.Gt)(ei)?(0,eT.dt)(ei):ei,et},{}):Y}var th=function(Y,et,en,ei){for(var eo=[],ea=4;ea<arguments.length;ea++)eo[ea-4]=arguments[ea];var eu=tf(ei),ec=eL.apply(void 0,(0,eE.ev)([Y,et,en,eu],eo,!1));return Array.isArray(ec)?ew.Children.toArray(ec):ec},tp=function(Y,et){var en=Y.defaultRichTextElements,ei=(0,eE._T)(Y,["defaultRichTextElements"]),eo=tf(en),ea=tu((0,eE.pi)((0,eE.pi)((0,eE.pi)({},eT.Z0),ei),{defaultRichTextElements:eo}),et),eu={locale:ea.locale,timeZone:ea.timeZone,fallbackOnEmptyString:ea.fallbackOnEmptyString,formats:ea.formats,defaultLocale:ea.defaultLocale,defaultFormats:ea.defaultFormats,messages:ea.messages,onError:ea.onError,defaultRichTextElements:eo};return(0,eE.pi)((0,eE.pi)({},ea),{formatMessage:th.bind(null,eu,ea.formatters),$t:th.bind(null,eu,ea.formatters)})},tm=function(Y){function et(){var et=null!==Y&&Y.apply(this,arguments)||this;return et.cache=(0,eR.Sn)(),et.state={cache:et.cache,intl:tp(td(et.props),et.cache),prevConfig:td(et.props)},et}return(0,eE.ZT)(et,Y),et.getDerivedStateFromProps=function(Y,et){var en=et.prevConfig,ei=et.cache,eo=td(Y);return(0,eT.wU)(en,eo)?null:{intl:tp(eo,ei),prevConfig:eo}},et.prototype.render=function(){return(0,eT.lq)(this.state.intl),ew.createElement(eC.zt,{value:this.state.intl},this.props.children)},et.displayName="IntlProvider",et.defaultProps=eT.Z0,et}(ew.PureComponent),tg=en(32004),tv=en(94968),tb=en(86646),tk=en(17944),tw=en(77117),t_=en(48133),tE=ed.pm.LocaleBanner,tC=ey.F.SelectedLocale,tT=function(Y){var et=ey.m.getItem(tC);return null!=et?(0,tw.R7)(et,Y):null},tS=function(){var Y=(0,ew.useContext)(tM),et=Y.setLocale,en=Y.locale,ei=(0,tk.aF)(),eo=null!=ei&&(0,eh.yl)(ei);return{locale:en,setLocale:function(Y){if(null==Y)ey.m.removeItem(tC),et((0,tw.BH)(null,eo));else{var en=(0,tw.BH)(Y,eo);ey.m.setItem(tC,en),et(en)}}}},tA=function(){var Y=tS().setLocale;return{locale:(0,ew.useContext)(tM).locale,setLocale:Y}},tM=(0,ew.createContext)({locale:tw.ZW,localLocale:null,urlLocale:null,isBetaEligible:!1,setLocale:ek.noop}),tP={},tj=function(Y){var et,en,ey,ek=Y.urlLocale,e_=Y.children,eE=(0,tk.hz)(),eC=(0,tk.aF)(),eT=null!=eC&&(0,eh.yl)(eC),eS=tT(eT),eA=null!=ek?(0,tw.R7)(ek,eT):null,eM=(0,ew.useRef)((0,tw.BH)(null,eT)),eP=(0,eu._)((0,ew.useState)(null!==(et=null!=eS?eS:eA)&&void 0!==et?et:tw.ZW),2),ej=eP[0],eO=eP[1];(0,ew.useEffect)(function(){var Y,et=window.navigator,en=null!==(Y=et.userLanguage)&&void 0!==Y?Y:et.language;ep.A.logEvent(em.M.localeLoaded,{loaded_locale:ej,browser_locale:en,supported_browser_locale:eM.current}),eb.m9.logEvent("chatgpt_locale_loaded",ej,{loaded_locale:ej,browser_locale:en,supported_browser_locale:eM.current})},[ej]);var eI=null!=eM.current&&eM.current!==tw.ZW,eN=(0,ed.qg)(tE),eL=eN.eligible,eR=eN.markAsViewed,eD=eI&&eL&&ej!==eM.current&&null==eS&&null==eA&&ej===tw.ZW,eF={locale:ej,localLocale:eS,urlLocale:eA,isBetaEligible:eI,setLocale:eO},eB=(0,eu._)((0,ew.useState)((0,ei._)({},tw.ZW,tP)),2),ez=eB[0],eU=eB[1];(0,ew.useEffect)(function(){var Y=new AbortController,et=Y.signal,en=function(Y){null!=document.documentElement&&(document.documentElement.lang=ej),eU(function(et){return(0,ea._)((0,eo._)({},et),(0,ei._)({},ej,Y))})},eu=function(Y){try{eg.U.addAction("local_import_error",{error_string:Y.toString()})}catch(Y){eg.U.addAction("local_import_error_generic")}};return(0,tw.V1)(ej,et,en,eu),function(){Y.abort()}},[eE,ej]),(0,ew.useEffect)(function(){if(eD){var Y=new AbortController,et=Y.signal,en=function(Y){eU(function(et){return(0,ea._)((0,eo._)({},et),(0,ei._)({},eM.current,Y))})},eu=function(Y){eg.U.addAction("locale_import_error",{error:"Issue importing locale: ".concat(Y)})};return(0,tw.V1)(eM.current,et,en,eu),function(){Y.abort()}}},[eE,eI,eS,ej,eD,eA]);var eH=(0,ef.NL)();(0,ew.useEffect)(function(){(ej===tw.ZW||null!==ez[ej])&&ej!==tb.ZP.clientLocale&&(tb.ZP.setClientLocale(ej),eH.resetQueries())},[ej,ez,eH]);var eG=eI&&eD&&ez[eM.current]?(0,ec.jsxs)("div",{className:"flex h-full w-full flex-col",children:[(0,ec.jsx)(tm,{defaultLocale:tw.ZW,locale:eM.current,messages:ez[eM.current],children:(0,ec.jsx)(tO,{locale:eM.current,onDismiss:function(){eR()}})}),(0,ec.jsx)(tm,{defaultLocale:tw.ZW,locale:void 0!==ez[ej]?ej:tw.ZW,messages:null!==(en=ez[ej])&&void 0!==en?en:ez[tw.ZW],children:(0,ec.jsx)("div",{className:"grow overflow-hidden",children:e_})})]}):(0,ec.jsx)(tm,{defaultLocale:tw.ZW,locale:void 0!==ez[ej]?ej:tw.ZW,messages:null!==(ey=ez[ej])&&void 0!==ey?ey:ez[tw.ZW],children:e_});return(0,ec.jsx)(tM.Provider,{value:eF,children:eG})},tO=function(Y){var et=Y.locale,en=Y.onDismiss,ei=tS().setLocale;return(0,ec.jsxs)("div",{className:"flex w-full items-center justify-between bg-blue-950 p-3 text-white",children:[(0,ec.jsx)("div",{className:"flex grow justify-center",children:(0,ec.jsxs)("div",{className:"flex flex-row items-center justify-center gap-2",children:[(0,ec.jsx)(tg.Z,(0,eo._)({},tI.betaMessage)),(0,ec.jsx)(t_.z,{color:"neutral",className:"ml-2",onClick:function(){ei(et)},children:(0,ec.jsx)(tg.Z,(0,eo._)({},tI.alphaButton))})]})}),(0,ec.jsx)("button",{className:"text-gray-300 hover:text-gray-400",onClick:en,children:(0,ec.jsx)(e_.q5L,{size:20})})]})},tI=(0,tv.vU)({betaMessage:{defaultMessage:"Experience an early preview of ChatGPT in your language.",id:"LocaleContextProvider.betaMessage",description:"Message to offer the localization alpha to a user"},alphaButton:{defaultMessage:"Join alpha",id:"LocaleContextProvider.alphaButton",description:"Button to offer the localization alpha to a user"}})},80984:function(Y,et,en){"use strict";en.d(et,{WT:function(){return e7},YE:function(){return e6},ZP:function(){return ta}});var ei=en(64502),eo=en(35250),ea=en(4551),eu=en(77311),ec=en(54636),ed=en(42780),ef=en(70079),eh=en(70671),ep=en(94968),em=en(59904),eg=en(96237),ey=en(39324),eb=en(71209),ek=en(10064),ew=en(4337);function e_({title:Y,titleId:et,...en},ei){return ef.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:ei,"aria-labelledby":et},en),Y?ef.createElement("title",{id:et},Y):null,ef.createElement("path",{d:"M20.798 11.012l-3.188 3.416L9.462 6.28l4.24-4.542a.75.75 0 011.272.71L12.982 9.75h7.268a.75.75 0 01.548 1.262zM3.202 12.988L6.39 9.572l8.148 8.148-4.24 4.542a.75.75 0 01-1.272-.71l1.992-7.302H3.75a.75.75 0 01-.548-1.262zM3.53 2.47a.75.75 0 00-1.06 1.06l18 18a.75.75 0 101.06-1.06l-18-18z"}))}let eE=ef.forwardRef(e_);var eC=eE,eT=en(47428),eS=en(19841),eA=en(7137),eM=en(1454),eP=en(21389),ej=en(1491),eO=en(48133),eI=en(42474);function eN(){var Y=(0,ew._)(["absolute w-[2.5px] h-5 -rotate-45 -top-0.5 left-1.5 bg-gray-500 border-[0.5px] border-gray-100 group-hover/toggle:bg-red-500 dark:border-[#4E4F60]"]);return eN=function(){return Y},Y}function eL(){var Y=(0,ew._)(["group/options flex flex-col rounded-xl border border-gray-100 bg-white text-left shadow-xxs dark:text-gray-100 dark:bg-gray-900 dark:border-gray-800 dark:shadow-xs mx-2 sm:mx-1 overflow-hidden"]);return eL=function(){return Y},Y}function eR(){var Y=(0,ew._)(["px-5 flex gap-2.5 flex-col py-4 whitespace-pre-line"]);return eR=function(){return Y},Y}function eD(){var Y=(0,ew._)(["block dark:text-white text-gray-900"]);return eD=function(){return Y},Y}function eF(){var Y=(0,ew._)(["block text-xs text-gray-500"]);return eF=function(){return Y},Y}function eB(Y){var et=Y.items,en=Y.value,ei=Y.onChange,ea=eW(),eu=(0,ek._)((0,ef.useState)(function(){return et.reduce(function(Y,et){if(et.options.length>0){var ei=et.options.find(function(Y){return Y.value===en});if(ei)return Y[et.value]=ei.value,Y;Y[et.value]=et.options[0].value}return Y},{})}),2),ec=eu[0],ed=eu[1],eh=(0,ef.useCallback)(function(Y,eo){var eu,ef=en,eh=et.find(function(et){return et.value===Y}),ep=(null==ec?void 0:ec[Y])!==void 0,em=ep&&et.some(function(et){return et.value===Y&&et.options.some(function(et){return et.value===ec[Y]})}),ek=eo;if(ea&&void 0===eo&&(ek=ep?ec[Y]:null!==(eu=null==eh?void 0:eh.options[0].value)&&void 0!==eu?eu:void 0),null!=(ef=void 0!==ek?ek:em?ec[Y]:Y)&&ef!==en){var ew=ef;ei(ef),ed(function(et){return(0,eb._)((0,ey._)({},et),(0,eg._)({},Y,ew))})}},[ea,et,ec,ei,en]),ep=(0,ek._)((0,ef.useState)(new Set),2),em=ep[0],ew=ep[1],e_=(0,ef.useCallback)(function(Y,et){et?ew(function(et){var en=new Set(et);return en.add(Y),en}):ew(function(et){var en=new Set(et);return en.delete(Y),en})},[]);return(0,eo.jsx)("div",{className:"relative flex rounded-xl bg-gray-100 p-1 text-gray-900 dark:bg-gray-900",children:(0,eo.jsx)("ul",{className:"flex w-full list-none gap-1 sm:w-auto",children:et.map(function(Y,ei){var ea,eu,ed,ef,ep,eg=en===Y.value||Y.options.some(function(Y){return Y.value===en}),ey=eg?en:null==ec?void 0:ec[Y.value],eb=null!=ey?ey:null===(ea=Y.options)||void 0===ea?void 0:null===(eu=ea[0])||void 0===eu?void 0:eu.value,ek=null!==(ed=Y.options.find(function(Y){return Y.value===eb}))&&void 0!==ed?ed:Y.options[0],ew=null!==(ef=null==ek?void 0:ek.icon)&&void 0!==ef?ef:null;return(0,eo.jsx)(eU,{onToggleItemOpenChanged:e_,item:Y,isSelected:eg,isOtherToggleDropdownOpen:em.size>0&&!em.has(Y.categoryId),currentValue:en,defaultOption:null==ek?void 0:ek.value,onChange:eh,currentIcon:ew,displayCurrentValue:eg&&Y.showSelectedValueBelow&&null!==(ep=null==ek?void 0:ek.name)&&void 0!==ep?ep:"",contentAlign:e$(ei,et.length)},ei)})})})}function ez(Y){var et=Y.item,en=Y.isSelected,ei=Y.isOtherToggleDropdownOpen,ea=Y.isOpen,eu=void 0!==ea&&ea,ec=Y.currentIcon,ed=Y.displayCurrentValue,ef=null!=ec?ec:et.icon,eh=et.iconAfter,ep=et.options.length>1||et.alwaysShowOptions,em=eW();return(0,eo.jsxs)("div",{className:(0,eS.default)("group/button","relative flex w-full items-center justify-center gap-1 rounded-lg border py-3 outline-none transition-opacity duration-100 sm:w-auto sm:min-w-[148px] md:gap-2 md:py-2.5",en?"border-black/10 bg-white text-gray-900 shadow-[0_1px_7px_0px_rgba(0,0,0,0.06)] hover:!opacity-100 dark:border-[#4E4F60] dark:bg-gray-700 dark:text-gray-100":"border-transparent text-gray-500 hover:text-gray-800 hover:dark:text-gray-100",eu&&"text-gray-800 dark:text-gray-100",ei&&en&&"opacity-50"),children:[(0,eo.jsxs)("span",{className:(0,eS.default)("max-[370px]:hidden relative",et.disabled&&"group-hover/button:text-red-500"),children:[null!=ef&&(0,eo.jsx)(ef,{className:(0,eS.default)("icon-sm transition-colors",en?et.buttonActiveClass:et.buttonHoverClass)}),et.disabled&&(0,eo.jsx)(eY,{})]}),(0,eo.jsx)("span",{className:(0,eS.default)("truncate text-sm font-medium md:pr-1.5",!em&&"pr-1.5"),children:et.name}),null!=eh&&(0,eo.jsx)(eh,{className:(0,eS.default)("icon-sm ml-0.5 transition-colors sm:ml-0",et.iconAfterClass,en?et.buttonActiveClass:et.buttonHoverClass)}),em&&(en||ep)&&(ep?(0,eo.jsx)(eM.bTu,{className:"icon-sm toggle-item-button-open ml-0.5 text-gray-500"}):(0,eo.jsx)(eA.DAO,{className:"icon-sm toggle-item-button-open ml-0.5 text-gray-500"})),em&&(0,eo.jsx)(eM.rH8,{className:"icon-sm toggle-item-button-closed ml-0.5 text-gray-500"}),null!=ed&&""!==ed&&(0,eo.jsx)("span",{className:"absolute left-0 top-full mt-4 w-full truncate overflow-ellipsis text-sm text-gray-500",children:ed})]})}function eU(Y){var et=Y.item,en=Y.isSelected,ei=Y.defaultOption,ea=Y.onChange,eu=Y.currentIcon,ec=Y.currentValue,ed=Y.displayCurrentValue,eh=Y.contentAlign,ep=Y.onToggleItemOpenChanged,em=Y.isOtherToggleDropdownOpen,eg=(0,ek._)((0,ef.useState)(void 0),2),ey=eg[0],eb=eg[1],ew=(0,ef.useRef)(null),e_=et.options.length>1||et.alwaysShowOptions,eE=!(void 0===et.description&&void 0===et.disclaimer),eC=eW(),eA=(0,ef.useCallback)(function(Y){eb(Y),ep(et.categoryId,!!Y)},[et.categoryId,ep]);return(0,eo.jsx)(eT.fC,{open:ey,modal:!1,onOpenChange:function(Y){eC&&Y&&!en&&e_&&ea(et.value)},children:(0,eo.jsxs)("li",{className:"group/toggle w-full","data-testid":et.value,onMouseEnter:function(){return!eC&&eA(!0)},onMouseLeave:function(){return!eC&&eA(void 0)},children:[(0,eo.jsx)(eT.xz,{ref:ew,className:"w-full cursor-pointer",onClick:function(){et.disabled||ea(et.value)},children:(0,eo.jsx)(ez,{isOpen:!!ey,isOtherToggleDropdownOpen:em,item:et,isSelected:en,currentIcon:eu,displayCurrentValue:ed})}),(0,eo.jsx)(eT.Uv,{children:(0,eo.jsx)(eT.VY,{className:(0,eS.default)("w-full min-w-[100vw] max-w-[100vw] select-none pt-3 font-medium sm:w-[312px] sm:min-w-[312px] md:max-w-none","will-change-[opacity,transform] radix-side-bottom:animate-slideDownAndFade radix-side-left:animate-slideLeftAndFade radix-side-right:animate-slideRightAndFade radix-side-top:animate-slideUpAndFade",{"sm:min-w-[420px]":"Alpha"===et.name}),align:eh,onCloseAutoFocus:function(Y){ey||Y.preventDefault()},onEscapeKeyDown:function(Y){var et;Y.preventDefault(),null===(et=ew.current)||void 0===et||et.focus()},children:(0,eo.jsxs)(eQ,{children:[eE&&(0,eo.jsx)(eH,{item:et}),(e_||!ey&&!eC)&&(0,eo.jsx)(eG,{defaultOption:en?ec:ei,item:et,currentValue:ec,onChange:function(Y,et){ea(Y,et),eA(void 0),(0,eI.go)()},className:(0,eS.default)("max-h-[calc(100vh-300px)] overflow-auto text-sm",eE&&"mb-1 border-t border-gray-100 dark:border-gray-800")})]})})},et.categoryId)]})})}function eH(Y){var et=Y.item;return(0,eo.jsxs)(eX,{className:"text-sm sm:text-base",children:[void 0!==et.description&&(0,eo.jsx)(eJ,{children:et.description}),void 0!==et.disclaimer&&(0,eo.jsx)(e0,{children:et.disclaimer}),et.onCtaContentClick&&et.ctaContentText&&(0,eo.jsx)("div",{className:"mt-2",children:(0,eo.jsx)(eO.z,{onClick:function(){return et.onCtaContentClick&&et.onCtaContentClick("info-button")},color:"primary",className:"w-full !bg-brand-purple py-3 text-xs hover:bg-brand-purple hover:brightness-90",children:et.ctaContentText})})]})}function eG(Y){var et=Y.item,en=Y.className,ei=Y.onChange,ea=Y.currentValue,eu=Y.defaultOption;return(0,eo.jsx)(eT.Ee,{defaultValue:eu,value:ea,className:en,children:et.options.map(function(Y,en){return(0,eo.jsx)(eV,{option:Y,selected:ea===Y.value,active:eu===Y.value,iconClass:et.iconClass,iconActiveClass:et.buttonActiveClass,showBorder:en!==et.options.length-1,isDisabled:Y.disabled,onChange:function(){Y.disabled||ei(et.value,Y.value)}},Y.value)})})}function eV(Y){var et,en=Y.option,ei=Y.selected,ea=Y.active,eu=Y.iconClass,ec=Y.iconActiveClass,ed=Y.isDisabled,ef=Y.onChange,eh=Y.showBorder,ep=en.icon,eg=null!==(et=en.activeIcon)&&void 0!==et?et:en.icon;return(0,eo.jsx)(eT.Rk,{disabled:ed,asChild:!0,value:en.value,onClick:ef,className:"select-none outline-none",children:(0,eo.jsxs)("div",{className:(0,eS.default)("group/option relative flex w-full items-center gap-2 px-5 py-3 pr-11 font-medium focus:bg-gray-50 focus:dark:bg-gray-700",ed?"text-gray-500":"text-gray-900 dark:text-gray-100",{"cursor-pointer hover:!bg-gray-50 dark:hover:!bg-gray-700":!ed,"bg-gray-50 group-hover/options:bg-transparent dark:bg-gray-700":ea&&!ei,"text-gray-800 dark:text-gray-100":ei||ea,"border-b border-gray-100 dark:border-gray-800":eh}),children:[null!=ep&&null!=eg?ei?(0,eo.jsx)(ep,{className:(0,eS.default)("max-[370px]:hidden",ec)}):(0,eo.jsx)(eg,{className:(0,eS.default)("max-[370px]:hidden",!ed&&eu,ea?ec:"text-gray-500")}):null,(0,eo.jsx)("span",{title:"string"==typeof en.name&&en.name?en.name:"",className:(0,eS.default)("truncate",{"group-hover/option:text-gray-800 dark:group-hover/option:text-gray-100":!ed,"text-gray-800 dark:text-gray-100":ea&&!ed}),children:en.name}),en.tags.map(function(Y){return eK(Y)}),(0,eo.jsx)("span",{className:(0,eS.default)({"absolute right-3 rounded-full p-1 text-blue-400":!0,"opacity-0 group-hover/options:opacity-0":!ei&&!ed,"text-red-500":ed}),children:ed?(0,eo.jsx)(eC,{className:"icon-md"}):(0,eo.jsx)(em.nQ,{className:"icon-md"})})]})})}var eW=function(){return!(0,ej.w$)()},eZ=new Set(["beta","confidential","alpha"]),eK=function(Y){return eZ.has(Y)&&(0,eo.jsx)("span",{className:(0,eS.default)("py-0.25 rounded px-1 text-sm capitalize","beta"===Y&&"bg-blue-200 text-blue-500","alpha"===Y&&"bg-blue-200 text-blue-500","confidential"===Y&&"bg-red-200 text-red-800"),children:Y},Y)};function e$(Y,et){return 0===Y?"start":Y===et-1?"end":"center"}var eY=eP.Z.span(eN()),eQ=eP.Z.div(eL()),eX=eP.Z.div(eR()),eJ=eP.Z.span(eD()),e0=eP.Z.span(eF()),e9=en(12221),e5=en(97631),e4=en(46552),e3=en(28924),e6="gpt-4-upsell",e7="gpt_4",e8="upgrade-hover-button",tt="gpt-4-lock-button";function ta(Y){var et=Y.onModelChange,en=Y.currentModel,ep=(0,eh.Z)(),eg=(0,e9.BT)(),ey=(0,e3.ZP)(),eb=(0,e5.xT)(),ek=(0,ef.useCallback)(function(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e8;ec.A.logEvent(ed.M.openModalAccountPaymentfromModelPicker,{content:Y}),(0,ea.MG)()},[]),ew=(0,e4.Z)(),e_=(0,ef.useMemo)(function(){return{categoryId:"gpt_4",value:e6,name:ep.formatMessage(tu.gpt4Name),description:ep.formatMessage(tu.gpt4Description),disclaimer:ep.formatMessage(tu.gpt4Disclaimer,{textareaDisclaimer:ew.textareaDisclaimer}),buttonActiveClass:"text-brand-purple",buttonHoverClass:"group-hover/button:text-brand-purple",iconClass:"group-hover/option:!text-brand-purple group-hover/options:text-gray-500",icon:em.Bj,iconAfter:eu.Z,iconAfterClass:"group-hover/options:text-gray-500 !text-gray-500 -ml-2",options:[],disabled:!1,showSelectedValueBelow:!1,ctaContentText:ep.formatMessage(tu.gpt4CtaContentText),onCtaContentClick:ek}},[ep,ew.textareaDisclaimer,ek]),eE=(0,ef.useCallback)(function(Y){if(eg!==Y){if(Y===e6){ek(tt);return}et(Y),eb(Y),ec.A.logEvent(ed.M.toggleModel,{model:Y})}},[eg,eb,et,ek]),eC=(0,ef.useMemo)(function(){return ey?ey.some(function(Y){return Y.categoryId===e7})?ey:(0,ei._)(ey).concat([e_]):[]},[ey,e_]);return 1===eC.length?null:(0,eo.jsx)(eB,{value:null==en?void 0:en.id,onChange:eE,items:eC})}var tu=(0,ep.vU)({gpt4Name:{id:"ModelSwitcher.gpt4.name",defaultMessage:"GPT-4",description:"Name of the GPT-4 model"},gpt4Description:{id:"ModelSwitcher.gpt4.description",defaultMessage:"Our most capable model, great for tasks that require creativity and advanced reasoning.",description:"Description for the GPT-4 model"},gpt4Disclaimer:{id:"ModelSwitcher.gpt4.disclaimer",defaultMessage:"Available exclusively to Plus users\n\n{textareaDisclaimer}",description:"Disclaimer message, indicating exclusive availability to Plus users"},gpt4CtaContentText:{id:"ModelSwitcher.gpt4.ctaContentText",defaultMessage:"Upgrade to ChatGPT Plus",description:"Call-to-action text encouraging users to upgrade"}})},7171:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ef}});var ei=en(4337),eo=en(35250),ea=en(19841),eu=en(1454);function ec(){var Y=(0,ei._)(["py-4 text-sm rounded-lg px-6 text-token-text-secondary bg-token-surface-tertiary mt-4 flex items-center gap-4"]);return ec=function(){return Y},Y}var ed=en(21389).Z.div(ec());function ef(Y){var et=Y.type,en=void 0===et?"info":et,ei=Y.children,ec="danger"===en?eu.BJv:eu.H33;return(0,eo.jsxs)(ed,{className:(0,ea.default)({"bg-red-100 text-red-700":"danger"===en}),children:[(0,eo.jsx)(ec,{className:"icon-md flex-shrink-0"}),(0,eo.jsx)("span",{children:ei})]})}},25952:function(Y,et,en){"use strict";en.d(et,{h:function(){return eb},t:function(){return eE}});var ei=en(4337),eo=en(35250),ea=en(95182),eu=en.n(ea),ec=en(1454),ed=en(21389);function ef(){var Y=(0,ei._)(["text-xs flex items-center justify-center gap-1"]);return ef=function(){return Y},Y}function eh(){var Y=(0,ei._)(["dark:text-white disabled:text-gray-300 dark:disabled:text-gray-400"]);return eh=function(){return Y},Y}function ep(){var Y=(0,ei._)(["flex-grow flex-shrink-0 tabular-nums"]);return ep=function(){return Y},Y}function em(){var Y=(0,ei._)(["text-xs inline-flex bg-token-surface-secondary h-8 border rounded border-token-border-medium"]);return em=function(){return Y},Y}function eg(){var Y=(0,ei._)(["text-token-text-secondary disabled:text-token-border-medium w-8 flex items-center justify-center hover:bg-token-surface-tertiary"]);return eg=function(){return Y},Y}function ey(){var Y=(0,ei._)(["text-token-text-tertiary px-2 flex items-center font-mono tracking-widest"]);return ey=function(){return Y},Y}function eb(Y){var et=Y.currentPage,en=Y.onChangeIndex,ei=Y.length,ea=Y.className,ed=function(Y){en(eu()(et+Y,0,ei-1))};return(0,eo.jsxs)(ek,{className:ea,children:[(0,eo.jsx)(ew,{onClick:function(){return ed(-1)},disabled:0===et,children:(0,eo.jsx)(ec.YFh,{className:"icon-xs"})}),(0,eo.jsx)(e_,{children:"".concat(et+1," / ").concat(ei)}),(0,eo.jsx)(ew,{onClick:function(){return ed(1)},disabled:et===ei-1,children:(0,eo.jsx)(ec.Tfp,{className:"icon-xs"})})]})}var ek=ed.Z.div(ef()),ew=ed.Z.button(eh()),e_=ed.Z.span(ep());function eE(Y){var et=Y.currentPage,en=Y.onChangeIndex,ei=Y.length,ea=Y.className,ed=function(Y){en(eu()(et+Y,0,ei-1))};return(0,eo.jsxs)(eC,{className:ea,children:[(0,eo.jsx)(eT,{onClick:function(){return ed(-1)},disabled:0===et,children:(0,eo.jsx)(ec.YFh,{className:"icon-sm"})}),(0,eo.jsx)(eS,{children:"".concat(et+1,"/").concat(ei)}),(0,eo.jsx)(eT,{onClick:function(){return ed(1)},disabled:et===ei-1,children:(0,eo.jsx)(ec.Tfp,{className:"icon-sm"})})]})}var eC=ed.Z.div(em()),eT=ed.Z.button(eg()),eS=ed.Z.span(ey())},15912:function(Y,et,en){"use strict";en.d(et,{h:function(){return ec}});var ei=en(70079),eo=en(99581),ea=null;function eu(){return ea||((ea=document.createElement("div")).setAttribute("portal-container",""),document.body.append(ea)),ea||null}function ec(Y){var et=Y.children,en=eu();return((0,ei.useEffect)(function(){return function(){}},[]),en)?eo.createPortal(et,en):null}},42474:function(Y,et,en){"use strict";en.d(et,{ZP:function(){return n9},go:function(){return rs}});var ei,eo=en(39324),ea=en(10064),eu=en(4337),ec=en(35250),ed=en(2064),ef=en(54636),eh=en(42780),ep=en(8874),em=en(19841),eg=en(97296),ey=en(70079),eb=en(76483),ek=en(2827),ew=en(50913);function e_(Y){return(0,ew.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M7.061 22c1.523 0 2.84-.543 3.91-1.613 1.123-1.123 1.707-2.854 1.551-4.494l8.564-8.564a3.123 3.123 0 0 0-.002-4.414c-1.178-1.18-3.234-1.18-4.412 0l-8.884 8.884c-1.913.169-3.807 1.521-3.807 3.919 0 .303.021.588.042.86.08 1.031.109 1.418-1.471 2.208a1.001 1.001 0 0 0-.122 1.717C2.52 20.563 4.623 22 7.061 22c-.001 0-.001 0 0 0zM18.086 4.328a1.144 1.144 0 0 1 1.586.002 1.12 1.12 0 0 1 0 1.584L12 13.586 10.414 12l7.672-7.672zM6.018 16.423c-.018-.224-.037-.458-.037-.706 0-1.545 1.445-1.953 2.21-1.953.356 0 .699.073.964.206.945.475 1.26 1.293 1.357 1.896.177 1.09-.217 2.368-.956 3.107C8.865 19.664 8.049 20 7.061 20H7.06c-.75 0-1.479-.196-2.074-.427 1.082-.973 1.121-1.989 1.032-3.15z"}}]})(Y)}var eE=en(22584);function eC(Y){return(0,ew.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"}}]})(Y)}function eT(Y){return(0,ew.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M21 19.57l-1.427 1.428-6.442-6.442 1.43-1.428zM13.12 3c-2.58 0-5.16.98-7.14 2.95l-.01.01c-3.95 3.95-3.95 10.36 0 14.31l14.3-14.31A10.086 10.086 0 0013.12 3zM6.14 17.27a8.063 8.063 0 01-.68-6.82c.19 1.91.89 3.79 2.07 5.44l-1.39 1.38zm2.84-2.84C7.63 12.38 7.12 9.93 7.6 7.6c.58-.12 1.16-.18 1.75-.18 1.8 0 3.55.55 5.08 1.56l-5.45 5.45zm1.47-8.97a8.063 8.063 0 016.82.68l-1.39 1.39a11.25 11.25 0 00-5.43-2.07z"}}]})(Y)}function eS(Y){return(0,ew.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0H24V24H0z"}},{tag:"path",attr:{d:"M15 3c.552 0 1 .448 1 1v2h5c.552 0 1 .448 1 1v13c0 .552-.448 1-1 1H3c-.552 0-1-.448-1-1V7c0-.552.448-1 1-1h5V4c0-.552.448-1 1-1h6zm1 5H8v11h8V8zM4 8v11h2V8H4zm10-3h-4v1h4V5zm4 3v11h2V8h-2z"}}]}]})(Y)}var eA=en(61098),eM=en(62682),eP=en(66638),ej=en(55548),eO=en(25687),eI=en(1491),eN=en(48133),eL=en(15635),eR=en(68260),eD=en(98135),eF=en(13003),eB=en(91202),ez=en(19797),eU=en(12543),eH=en(17130),eG=en(59904),eV=en(59632),eW=en(72290),eZ=en(10499),eK=en(28924),e$=en(73779),eY=en(21950),eQ=en(99581),eX=en(70671),eJ=en(94968),e0=en(66306),e9=en(25653);function e5(Y){for(var et=1;et<arguments.length;et++){var en=arguments[et];for(var ei in en)en.hasOwnProperty(ei)&&(Y[ei]=en[ei])}return Y}function e4(Y,et){return Array(et+1).join(Y)}function e3(Y){return Y.replace(/^\n*/,"")}function e6(Y){for(var et=Y.length;et>0&&"\n"===Y[et-1];)et--;return Y.substring(0,et)}var e7=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function e8(Y){return th(Y,e7)}var tt=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function ta(Y){return th(Y,tt)}function tu(Y){return tp(Y,tt)}var tc=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function td(Y){return th(Y,tc)}function tf(Y){return tp(Y,tc)}function th(Y,et){return et.indexOf(Y.nodeName)>=0}function tp(Y,et){return Y.getElementsByTagName&&et.some(function(et){return Y.getElementsByTagName(et).length})}var tm={};function tg(Y){return Y?Y.replace(/(\n+\s*)+/g,"\n"):""}function tv(Y){for(var et in this.options=Y,this._keep=[],this._remove=[],this.blankRule={replacement:Y.blankReplacement},this.keepReplacement=Y.keepReplacement,this.defaultRule={replacement:Y.defaultReplacement},this.array=[],Y.rules)this.array.push(Y.rules[et])}function tb(Y,et,en){for(var ei=0;ei<Y.length;ei++){var eo=Y[ei];if(tk(eo,et,en))return eo}}function tk(Y,et,en){var ei=Y.filter;if("string"==typeof ei){if(ei===et.nodeName.toLowerCase())return!0}else if(Array.isArray(ei)){if(ei.indexOf(et.nodeName.toLowerCase())>-1)return!0}else if("function"==typeof ei){if(ei.call(Y,et,en))return!0}else throw TypeError("`filter` needs to be a string, array, or function")}function tw(Y){var et=Y.element,en=Y.isBlock,ei=Y.isVoid,eo=Y.isPre||function(Y){return"PRE"===Y.nodeName};if(!(!et.firstChild||eo(et))){for(var ea=null,eu=!1,ec=null,ed=tE(ec,et,eo);ed!==et;){if(3===ed.nodeType||4===ed.nodeType){var ef=ed.data.replace(/[ \r\n\t]+/g," ");if((!ea||/ $/.test(ea.data))&&!eu&&" "===ef[0]&&(ef=ef.substr(1)),!ef){ed=t_(ed);continue}ed.data=ef,ea=ed}else if(1===ed.nodeType)en(ed)||"BR"===ed.nodeName?(ea&&(ea.data=ea.data.replace(/ $/,"")),ea=null,eu=!1):ei(ed)||eo(ed)?(ea=null,eu=!0):ea&&(eu=!1);else{ed=t_(ed);continue}var eh=tE(ec,ed,eo);ec=ed,ed=eh}ea&&(ea.data=ea.data.replace(/ $/,""),ea.data||t_(ea))}}function t_(Y){var et=Y.nextSibling||Y.parentNode;return Y.parentNode.removeChild(Y),et}function tE(Y,et,en){return Y&&Y.parentNode===et||en(et)?et.nextSibling||et.parentNode:et.firstChild||et.nextSibling||et.parentNode}tm.paragraph={filter:"p",replacement:function(Y){return"\n\n"+Y+"\n\n"}},tm.lineBreak={filter:"br",replacement:function(Y,et,en){return en.br+"\n"}},tm.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(Y,et,en){var ei=Number(et.nodeName.charAt(1));if("setext"!==en.headingStyle||!(ei<3))return"\n\n"+e4("#",ei)+" "+Y+"\n\n";var eo=e4(1===ei?"=":"-",Y.length);return"\n\n"+Y+"\n"+eo+"\n\n"}},tm.blockquote={filter:"blockquote",replacement:function(Y){return"\n\n"+(Y=(Y=Y.replace(/^\n+|\n+$/g,"")).replace(/^/gm,"> "))+"\n\n"}},tm.list={filter:["ul","ol"],replacement:function(Y,et){var en=et.parentNode;return"LI"===en.nodeName&&en.lastElementChild===et?"\n"+Y:"\n\n"+Y+"\n\n"}},tm.listItem={filter:"li",replacement:function(Y,et,en){Y=Y.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n ");var ei=en.bulletListMarker+" ",eo=et.parentNode;if("OL"===eo.nodeName){var ea=eo.getAttribute("start"),eu=Array.prototype.indexOf.call(eo.children,et);ei=(ea?Number(ea)+eu:eu+1)+". "}return ei+Y+(et.nextSibling&&!/\n$/.test(Y)?"\n":"")}},tm.indentedCodeBlock={filter:function(Y,et){return"indented"===et.codeBlockStyle&&"PRE"===Y.nodeName&&Y.firstChild&&"CODE"===Y.firstChild.nodeName},replacement:function(Y,et,en){return"\n\n "+et.firstChild.textContent.replace(/\n/g,"\n ")+"\n\n"}},tm.fencedCodeBlock={filter:function(Y,et){return"fenced"===et.codeBlockStyle&&"PRE"===Y.nodeName&&Y.firstChild&&"CODE"===Y.firstChild.nodeName},replacement:function(Y,et,en){for(var ei,eo=((et.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],ea=et.firstChild.textContent,eu=en.fence.charAt(0),ec=3,ed=RegExp("^"+eu+"{3,}","gm");ei=ed.exec(ea);)ei[0].length>=ec&&(ec=ei[0].length+1);var ef=e4(eu,ec);return"\n\n"+ef+eo+"\n"+ea.replace(/\n$/,"")+"\n"+ef+"\n\n"}},tm.horizontalRule={filter:"hr",replacement:function(Y,et,en){return"\n\n"+en.hr+"\n\n"}},tm.inlineLink={filter:function(Y,et){return"inlined"===et.linkStyle&&"A"===Y.nodeName&&Y.getAttribute("href")},replacement:function(Y,et){var en=et.getAttribute("href"),ei=tg(et.getAttribute("title"));return ei&&(ei=' "'+ei+'"'),"["+Y+"]("+en+ei+")"}},tm.referenceLink={filter:function(Y,et){return"referenced"===et.linkStyle&&"A"===Y.nodeName&&Y.getAttribute("href")},replacement:function(Y,et,en){var ei,eo,ea=et.getAttribute("href"),eu=tg(et.getAttribute("title"));switch(eu&&(eu=' "'+eu+'"'),en.linkReferenceStyle){case"collapsed":ei="["+Y+"][]",eo="["+Y+"]: "+ea+eu;break;case"shortcut":ei="["+Y+"]",eo="["+Y+"]: "+ea+eu;break;default:var ec=this.references.length+1;ei="["+Y+"]["+ec+"]",eo="["+ec+"]: "+ea+eu}return this.references.push(eo),ei},references:[],append:function(Y){var et="";return this.references.length&&(et="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),et}},tm.emphasis={filter:["em","i"],replacement:function(Y,et,en){return Y.trim()?en.emDelimiter+Y+en.emDelimiter:""}},tm.strong={filter:["strong","b"],replacement:function(Y,et,en){return Y.trim()?en.strongDelimiter+Y+en.strongDelimiter:""}},tm.code={filter:function(Y){var et=Y.previousSibling||Y.nextSibling,en="PRE"===Y.parentNode.nodeName&&!et;return"CODE"===Y.nodeName&&!en},replacement:function(Y){if(!Y)return"";Y=Y.replace(/\r?\n|\r/g," ");for(var et=/^`|^ .*?[^ ].* $|`$/.test(Y)?" ":"",en="`",ei=Y.match(/`+/gm)||[];-1!==ei.indexOf(en);)en+="`";return en+et+Y+et+en}},tm.image={filter:"img",replacement:function(Y,et){var en=tg(et.getAttribute("alt")),ei=et.getAttribute("src")||"",eo=tg(et.getAttribute("title")),ea=eo?' "'+eo+'"':"";return ei?"!["+en+"]("+ei+ea+")":""}},tv.prototype={add:function(Y,et){this.array.unshift(et)},keep:function(Y){this._keep.unshift({filter:Y,replacement:this.keepReplacement})},remove:function(Y){this._remove.unshift({filter:Y,replacement:function(){return""}})},forNode:function(Y){var et;return Y.isBlank?this.blankRule:(et=tb(this.array,Y,this.options))||(et=tb(this._keep,Y,this.options))||(et=tb(this._remove,Y,this.options))?et:this.defaultRule},forEach:function(Y){for(var et=0;et<this.array.length;et++)Y(this.array[et],et)}};var tC="undefined"!=typeof window?window:{};function tT(){var Y=function(){};return tS()?Y.prototype.parseFromString=function(Y){var et=new window.ActiveXObject("htmlfile");return et.designMode="on",et.open(),et.write(Y),et.close(),et}:Y.prototype.parseFromString=function(Y){var et=document.implementation.createHTMLDocument("");return et.open(),et.write(Y),et.close(),et},Y}function tS(){var Y=!1;try{document.implementation.createHTMLDocument("").open()}catch(et){window.ActiveXObject&&(Y=!0)}return Y}var tA=!function(){var Y=tC.DOMParser,et=!1;try{new Y().parseFromString("","text/html")&&(et=!0)}catch(Y){}return et}()?tT():tC.DOMParser;function tM(Y,et){var en;return tw({element:en="string"==typeof Y?tP().parseFromString('<x-turndown id="turndown-root">'+Y+"</x-turndown>","text/html").getElementById("turndown-root"):Y.cloneNode(!0),isBlock:e8,isVoid:ta,isPre:et.preformattedCode?tj:null}),en}function tP(){return ei=ei||new tA}function tj(Y){return"PRE"===Y.nodeName||"CODE"===Y.nodeName}function tO(Y,et){return Y.isBlock=e8(Y),Y.isCode="CODE"===Y.nodeName||Y.parentNode.isCode,Y.isBlank=tI(Y),Y.flankingWhitespace=tN(Y,et),Y}function tI(Y){return!ta(Y)&&!td(Y)&&/^\s*$/i.test(Y.textContent)&&!tu(Y)&&!tf(Y)}function tN(Y,et){if(Y.isBlock||et.preformattedCode&&Y.isCode)return{leading:"",trailing:""};var en=tL(Y.textContent);return en.leadingAscii&&tR("left",Y,et)&&(en.leading=en.leadingNonAscii),en.trailingAscii&&tR("right",Y,et)&&(en.trailing=en.trailingNonAscii),{leading:en.leading,trailing:en.trailing}}function tL(Y){var et=Y.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:et[1],leadingAscii:et[2],leadingNonAscii:et[3],trailing:et[4],trailingNonAscii:et[5],trailingAscii:et[6]}}function tR(Y,et,en){var ei,eo,ea;return"left"===Y?(ei=et.previousSibling,eo=/ $/):(ei=et.nextSibling,eo=/^ /),ei&&(3===ei.nodeType?ea=eo.test(ei.nodeValue):en.preformattedCode&&"CODE"===ei.nodeName?ea=!1:1!==ei.nodeType||e8(ei)||(ea=eo.test(ei.textContent))),ea}var tD=Array.prototype.reduce,tF=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function tB(Y){if(!(this instanceof tB))return new tB(Y);var et={rules:tm,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(Y,et){return et.isBlock?"\n\n":""},keepReplacement:function(Y,et){return et.isBlock?"\n\n"+et.outerHTML+"\n\n":et.outerHTML},defaultReplacement:function(Y,et){return et.isBlock?"\n\n"+Y+"\n\n":Y}};this.options=e5({},et,Y),this.rules=new tv(this.options)}function tU(Y){var et=this;return tD.call(Y.childNodes,function(Y,en){en=new tO(en,et.options);var ei="";return 3===en.nodeType?ei=en.isCode?en.nodeValue:et.escape(en.nodeValue):1===en.nodeType&&(ei=tG.call(et,en)),tV(Y,ei)},"")}function tH(Y){var et=this;return this.rules.forEach(function(en){"function"==typeof en.append&&(Y=tV(Y,en.append(et.options)))}),Y.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function tG(Y){var et=this.rules.forNode(Y),en=tU.call(this,Y),ei=Y.flankingWhitespace;return(ei.leading||ei.trailing)&&(en=en.trim()),ei.leading+et.replacement(en,Y,this.options)+ei.trailing}function tV(Y,et){var en=e6(Y),ei=e3(et),eo=Math.max(Y.length-en.length,et.length-ei.length);return en+"\n\n".substring(0,eo)+ei}function tW(Y){return null!=Y&&("string"==typeof Y||Y.nodeType&&(1===Y.nodeType||9===Y.nodeType||11===Y.nodeType))}tB.prototype={turndown:function(Y){if(!tW(Y))throw TypeError(Y+" is not a string, or an element/document/fragment node.");return""===Y?"":tH.call(this,tU.call(this,new tM(Y,this.options)))},use:function(Y){if(Array.isArray(Y))for(var et=0;et<Y.length;et++)this.use(Y[et]);else if("function"==typeof Y)Y(this);else throw TypeError("plugin must be a Function or an Array of Functions");return this},addRule:function(Y,et){return this.rules.add(Y,et),this},keep:function(Y){return this.rules.keep(Y),this},remove:function(Y){return this.rules.remove(Y),this},escape:function(Y){return tF.reduce(function(Y,et){return Y.replace(et[0],et[1])},Y)}};var tq=tB,tZ=/highlight-(?:text|source)-([a-z0-9]+)/;function tK(Y){Y.addRule("highlightedCodeBlock",{filter:function(Y){var et=Y.firstChild;return"DIV"===Y.nodeName&&tZ.test(Y.className)&&et&&"PRE"===et.nodeName},replacement:function(Y,et,en){var ei=((et.className||"").match(tZ)||[null,""])[1];return"\n\n"+en.fence+ei+"\n"+et.firstChild.textContent+"\n"+en.fence+"\n\n"}})}function t$(Y){Y.addRule("strikethrough",{filter:["del","s","strike"],replacement:function(Y){return"~"+Y+"~"}})}var tY=Array.prototype.indexOf,tQ=Array.prototype.every,tX={};function tJ(Y){var et=Y.parentNode;return"THEAD"===et.nodeName||et.firstChild===Y&&("TABLE"===et.nodeName||t9(et))&&tQ.call(Y.childNodes,function(Y){return"TH"===Y.nodeName})}function t9(Y){var et=Y.previousSibling;return"TBODY"===Y.nodeName&&(!et||"THEAD"===et.nodeName&&/^\s*$/i.test(et.textContent))}function t5(Y,et){var en=tY.call(et.parentNode.childNodes,et),ei=" ";return 0===en&&(ei="| "),ei+Y+" |"}function t4(Y){for(var et in Y.keep(function(Y){return"TABLE"===Y.nodeName&&!tJ(Y.rows[0])}),tX)Y.addRule(et,tX[et])}function t3(Y){Y.addRule("taskListItems",{filter:function(Y){return"checkbox"===Y.type&&"LI"===Y.parentNode.nodeName},replacement:function(Y,et){return(et.checked?"[x]":"[ ]")+" "}})}function t6(Y){Y.use([tK,t$,t4,t3])}function t7(Y){var et=(0,eo._)({},Y),en=!0,ei=!1,ea=void 0;try{for(var eu,ec=Object.keys(et)[Symbol.iterator]();!(en=(eu=ec.next()).done);en=!0){var ed=eu.value;et[ed]=Math.round(et[ed])}}catch(Y){ei=!0,ea=Y}finally{try{en||null==ec.return||ec.return()}finally{if(ei)throw ea}}return et}tX.tableCell={filter:["th","td"],replacement:function(Y,et){return t5(Y,et)}},tX.tableRow={filter:"tr",replacement:function(Y,et){var en="",ei={left:":--",right:"--:",center:":-:"};if(tJ(et))for(var eo=0;eo<et.childNodes.length;eo++){var ea="---",eu=(et.childNodes[eo].getAttribute("align")||"").toLowerCase();eu&&(ea=ei[eu]||ea),en+=t5(ea,et.childNodes[eo])}return"\n"+Y+(en?"\n"+en:"")}},tX.table={filter:function(Y){return"TABLE"===Y.nodeName&&tJ(Y.rows[0])},replacement:function(Y){return"\n\n"+(Y=Y.replace("\n\n","\n"))+"\n\n"}},tX.tableSection={filter:["thead","tbody","tfoot"],replacement:function(Y){return Y}};var t8={clientRect:void 0,isCollapsed:void 0,textContent:void 0,documentFragment:void 0,selection:void 0},nt=new tq;function nn(Y){var et=Y.getRangeAt(0).cloneContents(),en=document.createElement("div");return en.appendChild(et),nt.turndown(en.innerHTML)}function ni(Y){var et=(0,ea._)((0,ey.useState)(t8),2),en=et[0],ei=en.clientRect,eo=en.isCollapsed,eu=en.textContent,ec=en.documentFragment,ed=en.selection,ef=et[1];return(0,ey.useLayoutEffect)(function(){var et=function(){setTimeout(function(){var et,en=window.getSelection(),ei={};if(null==en||!en.rangeCount){ef(t8);return}var eo=en.getRangeAt(0);if(null!=Y&&!Y.contains(eo.commonAncestorContainer)||null==eo){ef(t8);return}var ea=eo.cloneContents();ei.documentFragment=ea,ei.textContent=nn(en);var eu=eo.getClientRects();if(0===eu.length&&null!=eo.commonAncestorContainer)et=t7(eo.commonAncestorContainer.getBoundingClientRect().toJSON());else{if(eu.length<1)return;et=t7(eu[0].toJSON())}ei.clientRect=et,ei.isCollapsed=eo.collapsed,ei.selection=en,ef(ei)},0)};return window.addEventListener("mouseup",et),function(){window.removeEventListener("mouseup",et)}},[Y]),{clientRect:ei,isCollapsed:eo,textContent:eu,documentFragment:ec,selection:ed}}nt.use(t6);var na=[eA.OL.PrimaryAssistant,eA.OL.GizmoInteraction];function nu(Y){var et;return(0,eQ.createPortal)(Y.children,null!==(et=Y.mount)&&void 0!==et?et:document.body)}function nd(Y){var et=Y.messageId,en=Y.anchorNode,ei=Y.clientRect,eo=Y.onClick,ea=Y.onShow,eu=Y.onHide,ed=(0,eX.Z)();(0,ey.useEffect)(function(){return null==ea||ea(et),function(){null==eu||eu(et)}},[et,eu,ea]);var ef=function(){eo(et)};if(!en)return null;var eh=en.closest(".".concat(e0.om));if(!eh)return null;var ep=en.getBoundingClientRect();return(0,ec.jsx)(nu,{mount:eh,children:(0,ec.jsx)("div",{className:"absolute",style:{top:en.offsetTop-45+ei.top-ep.top,left:ei.left-ep.left,width:ei.width,height:ei.height},children:(0,ec.jsx)(eL.u,{label:ed.formatMessage(ng.replyTooltip),delayDuration:500,side:"top",children:(0,ec.jsx)(eN.z,{size:"small",color:"neutral",onClick:ef,children:(0,ec.jsx)(e9.CE,{})})})})})}function nf(Y,et){for(;Y;){if(Y instanceof HTMLElement&&void 0!=Y.dataset[et])return{node:Y,dataValue:Y.dataset[et]};Y=Y.parentNode}return{node:void 0,dataValue:void 0}}var nh=3;function np(Y){var et,en=Y.onTargetedReply,ei=Y.onShow,eo=Y.onHide,ea=ni(),eu=ea.clientRect,ed=ea.isCollapsed,ef=ea.textContent,eh=ea.selection,ep=nf(null==eh?void 0:eh.anchorNode,"messageAuthorRole").dataValue,em=nf(null==eh?void 0:eh.anchorNode,"messageId"),eg=em.node,ey=em.dataValue,eb=nf(null==eh?void 0:eh.focusNode,"messageId").dataValue,ek=!eb||ey===eb,ew=null==ef?void 0:ef.trim(),e_=null!==(et=null==ew?void 0:ew.length)&&void 0!==et?et:0,eE=function(Y){void 0!==ew&&en({targetedReply:ew,messageId:Y})};return null==eu||ed||e_<nh||!ek||"assistant"!==ep?null:(0,ec.jsx)(nd,{messageId:null!=ey?ey:"",anchorNode:eg,clientRect:eu,onClick:eE,onShow:ei,onHide:eo})}var ng=(0,eJ.vU)({replyTooltip:{id:"targetedReply.replyTooltip",defaultMessage:"Reply",description:"Tooltip text for the targeted reply button"}}),nv=en(67568),ny=en(86925),nb=en(47428),nx=en(10721),nk=en(1454);function nw(Y){return(0,ew.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"rect",attr:{x:"0.46",y:"3.06",width:"23.08",height:"2.18"}},{tag:"rect",attr:{x:"0.46",y:"8.29",width:"15.81",height:"2.18"}},{tag:"rect",attr:{x:"0.46",y:"13.53",width:"23.08",height:"2.18"}},{tag:"rect",attr:{x:"0.46",y:"18.76",width:"15.81",height:"2.18"}}]})(Y)}var n_=en(32004),nE=en(21389),nC=en(17944),nT=en(39368),nS=en(74966);function nA(Y,et,en){var ei=eU.HR.getReadyFiles(eU.gF.getState());ei=en.kind===eA.OL.GizmoMagicCreate?ei.filter(function(Y){return null!=Y.gizmoId}):ei.filter(function(Y){return null==Y.gizmoId});var eo=null!=Y?Y:"",ea=[],eu=[],ec=(0,eH.YN)(et,en),ed=(0,eH.p0)(et,en).length>0,ef=ec===eB.A.Interpreter||ec===eB.A.Retrieval||ec===eB.A.ContextConnector;return ei.forEach(function(Y){var et=Y.fileSpec;ef&&ea.push(et),ed&&"width"in et&&"height"in et&&eu.push({asset_pointer:(0,eH.L8)(et.id),size_bytes:et.size,width:et.width,height:et.height})}),eu.length>0&&(eu.push(null!=Y?Y:""),eo={content_type:eA.PX.MultimodalText,parts:eu}),{content:eo,attachments:ea}}var nM=en(21722),nP=en(38104),nj=en(5053),nO=en(86646),nI=en(7137),nN=en(65129),nL=en(7184),nR=en(40558),nD=en(89319);function nF(Y){var et=Y.connectorData,ei=Y.onConnectorClick,eo=Y.displayType,ea=(0,eX.Z)();return(0,ec.jsxs)(nN.Z.Root,{children:[(0,ec.jsx)(nN.Z.Trigger,{children:"button"===eo?(0,ec.jsx)(eN.z,{size:"medium",children:(0,ec.jsx)(nk.wzc,{})}):(0,ec.jsx)(nk.OvN,{className:"icon-sm md:icon-md rounded-full bg-gray-500 text-white outline-none hover:bg-black"})}),(0,ec.jsx)(nN.Z.Portal,{children:(0,ec.jsx)(nN.Z.Content,{children:et.map(function(Y){return(0,ec.jsx)(nN.Z.Item,{onClick:(0,nM._)(function(){return(0,nP.Jh)(this,function(et){switch(et.label){case 0:if(!Y.oauth_required)return[3,2];return[4,Promise.resolve().then(en.bind(en,64898))];case 1:return(0,et.sent().doOauthRedirect)({id:Y.id},"#settings"),[3,3];case 2:ei(Y),et.label=3;case 3:return[2]}})}),children:(0,ec.jsxs)("div",{className:"flex space-x-2",children:[Y.type===nj.PO.GDRIVE&&(0,ec.jsx)(nI.dv9,{}),Y.type===nj.PO.O365&&(0,ec.jsx)(nI.oV6,{}),(0,ec.jsx)("div",{children:Y.oauth_required?ea.formatMessage(nz.signinWithMessage,{connector_name:Y.name}):ea.formatMessage(nz.uploadFromMessage,{connector_name:Y.name})})]})},Y.id)})})})]})}function nB(Y){var et=Y.displayType,en=Y.connectFile,ei=Y.fetchData,eu=(0,eX.Z)(),ed=(0,ea._)((0,ey.useState)([]),2),ef=ed[0],eh=ed[1],ep=(0,ea._)((0,ey.useState)(""),2),em=ep[0],eg=ep[1],eb=(0,ea._)((0,ey.useState)([]),2),ek=eb[0],ew=eb[1],e_=(0,ea._)((0,ey.useState)(null),2),eE=e_[0],eC=e_[1],eT=(0,ea._)((0,ey.useState)(!1),2),eS=eT[0],eA=eT[1],eM=(0,ea._)((0,ey.useState)(null),2),eP=eM[0],ej=eM[1],eO=function(){var Y=(0,nM._)(function(){return(0,nP.Jh)(this,function(Y){switch(Y.label){case 0:if(!eE)return[2];return eA(!0),[4,nO.ZP.searchConnectorAPI(em,eE.type)];case 1:return eh(Y.sent().results),eA(!1),[2]}})});return function(){return Y.apply(this,arguments)}}(),eI=function(){var Y=(0,nM._)(function(Y,et){var eo,ea,ec,ed,ef,eh,ep,em;function eg(Y){eU.Dw.uploadFile(Y.file_id,new File([],Y.title),eB.A.ContextConnector,[],eu),eU.Dw.createFileCompleted(Y.file_id,Y.file_id,""),eU.Dw.uploadCompleted(Y.file_id,void 0,void 0,Y)}return(0,nP.Jh)(this,function(eu){switch(eu.label){case 0:if(!eE)return[2];return eo=null!=en?en:eg,ej(Y),[4,null!=ei?ei(et,eE.type):nO.ZP.fetchConnectorAPI(et,eE.type)];case 1:if("file"===(ea=eu.sent()).type)eo(ea.file);else if("folder"===ea.type){ec=!0,ed=!1,ef=void 0;try{for(eh=ea.folder[Symbol.iterator]();!(ec=(ep=eh.next()).done);ec=!0)em=ep.value,eo(em)}catch(Y){ed=!0,ef=Y}finally{try{ec||null==eh.return||eh.return()}finally{if(ed)throw ef}}}return ej(null),[2]}})});return function(et,en){return Y.apply(this,arguments)}}();return(0,ey.useEffect)(function(){function Y(){return(Y=(0,nM._)(function(){return(0,nP.Jh)(this,function(Y){switch(Y.label){case 0:return[4,nO.ZP.checkConnectorAPI()];case 1:return ew(Y.sent().connectors),[2]}})})).apply(this,arguments)}(function(){Y.apply(this,arguments)})()},[]),(0,ec.jsxs)(ec.Fragment,{children:[(0,ec.jsx)(nF,{connectorData:ek,onConnectorClick:function(Y){eC(Y)},displayType:et}),(0,ec.jsx)(nL.Z,{isOpen:null!==eE,size:"normal",type:"success",onClose:function(){eC(null)},className:"max-h-[calc(100vh-300px)] min-h-fit max-w-xl self-center overflow-y-auto p-4",children:(0,ec.jsxs)("div",{className:"flex flex-col space-y-4",children:[(0,ec.jsxs)("div",{className:"flex items-center space-x-2 self-center text-xl",children:[(null==eE?void 0:eE.type)===nj.PO.GDRIVE&&(0,ec.jsx)(nI.dv9,{className:"icon-md toggle-item-button-open text-gray-500"}),(null==eE?void 0:eE.type)===nj.PO.O365&&(0,ec.jsx)(nI.oV6,{className:"icon-md toggle-item-button-open text-gray-500"}),(0,ec.jsx)("span",{children:eu.formatMessage(nz.modalTitle,{connector_name:null==eE?void 0:eE.name})})]}),(0,ec.jsxs)("div",{className:"flex space-x-4",children:[(0,ec.jsx)(nD.Z,{type:"text",name:"Search Drive",placeholder:"Search Keywords",className:"flex-1",value:em,onChange:function(Y){eg(Y.target.value)}}),(0,ec.jsx)(eN.z,{color:"primary",onClick:eO,loading:eS,children:(0,ec.jsx)(n_.Z,(0,eo._)({},nz.search))})]}),ef.length>0&&(0,ec.jsxs)(nR.Z.Root,{className:"w-full table-auto",children:[(0,ec.jsx)("thead",{className:"border-b border-gray-100",children:(0,ec.jsxs)("tr",{children:[(0,ec.jsx)("th",{className:"py-2 text-left font-bold",children:(0,ec.jsx)(n_.Z,(0,eo._)({},nz.tableNameLabel))}),(0,ec.jsx)("th",{className:"py-2 text-left font-bold",children:(0,ec.jsx)(n_.Z,(0,eo._)({},nz.tableTypeLabel))}),(0,ec.jsx)("th",{})]})}),(0,ec.jsx)("tbody",{children:ef.map(function(Y,et){return(0,ec.jsxs)("tr",{className:"text-sm",children:[(0,ec.jsx)("td",{className:"border-t border-gray-200 py-2",children:Y.name}),(0,ec.jsx)("td",{className:"border-t border-gray-200 py-2",children:Y.mime_type}),(0,ec.jsx)("td",{className:"border-t border-gray-200 py-2",children:(0,ec.jsx)(eN.z,{color:"dark",onClick:(0,nM._)(function(){return(0,nP.Jh)(this,function(en){return eI(et,Y.id),[2]})}),loading:eP===et,children:(0,ec.jsx)(nk.wzc,{className:"icon-md"})})})]},Y.id)})})]})]})})]})}var nz=(0,eJ.vU)({modalTitle:{id:"ContextConnectorPicker.modalTitle",defaultMessage:"Upload from {connector_name}",description:"Title of the file picker modal"},search:{id:"ContextConnectorPicker.search",defaultMessage:"Search",description:"Label for the search button"},tableNameLabel:{id:"ContextConnectorPicker.tableNameLabel",defaultMessage:"Filename",description:"Label for the filename table header"},tableTypeLabel:{id:"ContextConnectorPicker.tableTypeLabel",defaultMessage:"Filetype",description:"Label for the filetype table header"},connectOAuth:{id:"ContextConnectorPicker.connectOAuth",defaultMessage:"Connect",description:"Button text to connect an OAuth application"},attachFiles:{id:"ContextConnectorPicker.attachFiles",defaultMessage:"Attach files",description:"Tooltip label for button that uploads a file/files"},signinWithMessage:{id:"ContextConnectorPicker.signInWithMessage",defaultMessage:"Sign in with {connector_name}",description:"Dropdown label to sign in with a given connector"},uploadFromMessage:{id:"ContextConnectorPicker.uploadWithMessage",defaultMessage:"Upload from {connector_name}",description:"Dropdown label to upload from a given connector"}}),nU=en(12065),nH=en(35265),nG=en(23234),nV=en(80275),nW=en(47346),nq=en(74102),nZ=en(65990);function nK(){var Y=(0,eu._)(["absolute p-1 rounded-md bottom-2.5 md:bottom-3 md:p-2 md:right-3 dark:hover:bg-gray-900 dark:disabled:hover:bg-transparent right-2 gizmo:dark:disabled:bg-white gizmo:disabled:bg-black gizmo:disabled:opacity-10 disabled:text-gray-400 enabled:bg-brand-purple gizmo:enabled:bg-black text-white gizmo:p-0.5 gizmo:border gizmo:border-black gizmo:rounded-lg gizmo:dark:border-white gizmo:dark:bg-white"]);return nK=function(){return Y},Y}function n$(){var Y=(0,eu._)(["absolute left-4 bottom-2 gizmo:md:bottom-3 md:left-4 gizmo:left-2 gizmo:md:left-4 md:bottom-3.5"]);return n$=function(){return Y},Y}function nY(){var Y=(0,eu._)(["\noverflow-hidden gizmo:[&:has(textarea:focus)]:border-token-border-xheavy gizmo:[&:has(textarea:focus)]:shadow-[0_2px_6px_rgba(0,0,0,.05)] flex flex-col w-full dark:border-gray-900/50 gizmo:dark:border-token-border-heavy flex-grow relative border border-black/10 gizmo:border-token-border-heavy dark:text-white rounded-xl gizmo:rounded-2xl shadow-xs dark:shadow-xs\n","\n"]);return nY=function(){return Y},Y}function nQ(){var Y=(0,eu._)(["h-full flex ml-1 md:w-full md:m-auto md:mb-4 gap-0 md:gap-2 justify-center"]);return nQ=function(){return Y},Y}var nX=1;function nJ(Y){var et=Y.files;return(0,ec.jsx)("div",{className:"mx-2 mt-2 flex flex-wrap gap-2 px-2.5 md:pl-0 md:pr-4",children:et.map(function(Y){return(0,ec.jsx)(eD.Z,{onRemoveFileClick:function(){return eU.Dw.remove(Y.tempId,"none")},file:Y.file,loadingPercentage:Y.status===eB.X.Uploading?Y.progress:void 0},Y.tempId)})})}function n0(Y,et){var en,ei,eu,eg,ew=Y.onAbortCompletion,e_=Y.onCreateNewCompletion,eE=Y.onContinueGenerating,eC=Y.currentModelId,eT=Y.clientThreadId,eS=Y.isNewThread,eN=Y.isCompletionInProgress,eD=Y.className,eV=Y.disabled,eQ=void 0!==eV&&eV,eJ=Y.disabledReason,e0=Y.canPause,e9=void 0!==e0&&e0,e5=Y.canContinue,e4=void 0!==e5&&e5,e3=Y.suggestions,e6=Y.isInteractableSharedThread,e7=(0,eX.Z)(),e8=(0,eP.oq)(eT),tt=(0,eP.Hk)(eT),ta=(0,eP.XK)(eT),tu=(0,eK.Ri)(eC),tc=(0,nx.useRouter)(),td=(0,e$.p_)().playgroundTemplate,tf=(0,e$.QH)(),th=tf.gizmoEditorData,tp=tf.mode,tm=tf.getGizmoId,tg=(0,nv.Wq)(eT),tv=(0,nC.hz)(),tb=(0,eI.w$)(),tk=(0,ey.useContext)(eO.QL).historyDisabled,tw=(0,ey.useRef)(null),t_=(0,ea._)((0,ey.useState)(""),2),tE=t_[0],tC=t_[1],tT=(0,eZ.B9)(),tS=null!==eC?tT.get(eC):void 0,tA=(0,nC.ec)(nC.F_.businessWorkspaceId),tM=(0,eY.Po)(eT),tP=(0,eH.YN)(tS,tg),tj=!1;(tg.kind===eA.OL.GizmoInteraction||tg.kind===eA.OL.GizmoMagicCreate||tg.kind===eA.OL.GizmoTest)&&(null===(en=tg.gizmo)||void 0===en?void 0:en.gizmo.id)===nV.CS&&(tj=!0);var tO=tP!==eB.A.None&&!tj,tI=(0,eH.p0)(tS,tg),tN=tI.length>0,tL=(0,eU.gF)(function(Y){return Y.files}),tR=(tL="magic"===tp?tL.filter(function(Y){return null!=Y.gizmoId}):tL.filter(function(Y){return null==Y.gizmoId})).length>0,tD=(0,eU.gF)(eU.HR.hasUploadInProgress),tF=""!==tE,tB=tR?!tD:tF,tU=(tP===eB.A.Multimodal?eR.Ql:eR.dO)-tL.length,tH=tU<=0,tG=tB&&!eQ&&!eN,tV=(0,ea._)((0,ey.useState)(!1),2),tW=tV[0],tq=tV[1],tZ=(0,eZ.iu)(),tK=(0,eZ.Gg)(tZ,!0),t$=eC||tK,tY=null===(ei=tT.get(t$))||void 0===ei?void 0:ei.tags,tQ=(0,ea._)((0,ey.useState)(),2),tX=tQ[0],tJ=tQ[1];(0,ey.useEffect)(function(){tW!==tG&&(tq(tG),tG&&(0,ed.Rr)(tv,null!=tY?tY:[],tg.kind)&&ed.ZP.startEnforcement(null!=tY?tY:[]))},[tG,tW,tv,tY,tg.kind]);var t9=(0,nU.Sv)(e7,(0,eH.YN)(tS,tg),tI,"mouse",tm,null===(eu=(0,eH.ww)(tS,tg))||void 0===eu?void 0:eu.attachments).handleFileAccepted,t5=(0,eb.uI)((0,eo._)({disabled:eQ||!tO||tH,noClick:!0,onDropAccepted:t9,onDropRejected:function(Y){return(0,nU.UJ)(Y,e7,tP)},multiple:!0,maxSize:eR.xC,maxFiles:tU},(0,eH.Z8)((0,eH.Zp)(tS,tg)))),t4=t5.getInputProps,t3=t5.open,t6=(0,ey.useCallback)(function(){tC(""),(0,ek.SI)(nX,tw.current),(0,nZ.sb)();var Y=!0,et=!1,en=void 0;try{for(var ei,eo=tL[Symbol.iterator]();!(Y=(ei=eo.next()).done);Y=!0){var ea=ei.value;eU.Dw.remove(ea.tempId,"none")}}catch(Y){et=!0,en=Y}finally{try{Y||null==eo.return||eo.return()}finally{if(et)throw en}}},[tL]),t7=(0,ey.useCallback)(function(Y){if(null==Y||Y.preventDefault(),!eQ&&tB){var et=tw.current,en=nA(et.value,tS,tg),ei=en.content,ea=en.attachments;e_("".concat(et.dataset.id,"-nextPrompt"),ei,{eventSource:Y?"mouse":"keyboard"},{suggestions:e3,conversationMode:tg},(0,eo._)({},ea.length>0&&{attachments:ea},tX&&{targeted_reply:tX}),tX?[(0,ny.bm)(tX)]:void 0),tX&&ef.A.logEvent(eh.M.targetedReplySubmitted,{conversationId:ta,currentLeafId:e8}),ej.vm.hideThreadHeader(),tJ(void 0),t6(),void 0!==e3&&(ep.m9.logEvent("chatgpt_prompt_ignore_suggestions"),ef.A.logEvent(eh.M.promptIgnoreSuggestions))}},[eQ,tB,tS,tg,e_,e3,tX,t6,ta,e8]),t8=function(Y){if(tJ(Y.targetedReply),Y.targetedReply){var et;null===(et=tw.current)||void 0===et||et.focus(),ef.A.logEvent(eh.M.targetedReplyButtonClicked,{conversationId:ta,sourceMessageId:Y.messageId})}},nt=(0,ey.useCallback)(function(){var Y;tJ(void 0),null===(Y=tw.current)||void 0===Y||Y.focus(),ef.A.logEvent(eh.M.targetedReplyCleared,{conversationId:ta,currentLeafId:e8})},[e8,ta]),nn=function(Y){ef.A.logEvent(eh.M.targetedReplyButtonShown,{conversationId:ta,sourceMessageId:Y})},ni=(0,ey.useMemo)(function(){return{Enter:{validator:function(Y){var et=Y.nativeEvent.isComposing||229===Y.keyCode;return tG&&(Y.metaKey||tb&&!Y.shiftKey&&!et)},handler:function(Y){Y.preventDefault(),t7()}},Escape:{validator:function(Y){return!Y.nativeEvent.isComposing},handler:function(Y){e9&&eN&&(ew("",tt),ef.A.logEvent(eh.M.pauseCompletion,{threadId:eP.tQ.getServerThreadId(eT),currentLeafId:eP.tQ.getTree(eT).getMessageId(e8),eventSource:"keyboard"})),""===Y.target.value&&nt()}}}},[tG,tb,t7,e9,eN,ew,tt,eT,e8,nt]),nu=(0,ey.useCallback)(function(Y){var et;(null===(et=ni[Y.key])||void 0===et?void 0:et.validator(Y))&&ni[Y.key].handler(Y)},[ni]),nd=(0,ey.useCallback)(function(Y){if(Y.clipboardData.files.length>0&&tN){var et,en,ei=(0,eH.ww)(tS,tg),eo=Y.clipboardData.files[0],ea=null==ei?void 0:null===(et=ei.attachments)||void 0===et?void 0:et.accepted_mime_types,eu=null==ei?void 0:null===(en=ei.attachments)||void 0===en?void 0:en.can_accept_all_mime_types;if(void 0!==ea&&!ea.includes(eo.type)&&!0!==eu){eW.m.danger(e7.formatMessage(rp.unsupportedFileType,{file_type:eo.type})),Y.preventDefault();return}if(ej.vm.hideThreadHeader(),ef.A.logEvent(eh.M.uploadFile,{eventSource:"paste"}),null!=tm){tm().then(function(Y){return eU.Dw.uploadFile((0,ez.W7)(eo),eo,tP,tI,e7,{gizmoId:Y})});return}eU.Dw.uploadFile((0,ez.W7)(eo),eo,tP,tI,e7,void 0,null==ei?void 0:ei.attachments)}},[tN,tS,tg,tP,tI,e7,tm]),nf=(0,nG.Ml)(),nh=(0,ey.useCallback)(function(){ew("",tt),ef.A.logEvent(eh.M.pauseCompletion,{threadId:eP.tQ.getServerThreadId(eT),currentLeafId:eP.tQ.getTree(eT).getMessageId(e8),eventSource:"mouse"}),rs()},[ew,eT,tt,e8]);(0,ey.useEffect)(function(){var Y;td||th||null===(Y=tw.current)||void 0===Y||Y.focus()},[]),(0,ey.useEffect)(function(){td||th||eU.Dw.reset()},[eC,td,th]);var ng=(0,nT.ki)(tA,!eS).data,nb=(0,ec.jsx)(n3,{clientThreadId:eT,currentLeafId:e8,currentRequestId:tt,canContinue:e4,canPause:e9&&!nf,suggestions:e3,isCompletionInProgress:eN,onStopGenerating:nh,onAbortCompletion:ew,onCreateNewCompletion:e_,onContinueGenerating:eE,onResetState:t6});(0,ey.useImperativeHandle)(et,function(){return{setInputValue:tC}});var nw=tG&&!nf?{backgroundColor:null==tu?void 0:tu.backgroundColor}:{},nE=(0,ea._)(function(){switch(eJ){case"feedbackRequired":return[rp.disabledFeedbackPlaceholder,!0];case"noModelsAvailable":return[rp.noModelsAvailablePlaceholder,!0];case"requiresPluginsToBeInstalled":return[rp.requiresPluginsToBeInstalled,!0];case"loadingPlugins":return[rp.loading,!0];default:if(e6)return[rp.continueSharedConversationPlaceholder,!1];if(nf)return[rp.placeholderWithName,!1];return[rp.placeholder,!1]}}(),2),nM=nE[0],nP=nE[1];return(0,ec.jsxs)(ec.Fragment,{children:[(0,ec.jsx)("form",{className:eD,onSubmit:t7,children:(0,ec.jsxs)("div",{className:"relative flex h-full flex-1 items-stretch md:flex-col",children:[null!=ng&&(0,nS.K5)(eS,tb,nf,ng.items)?(0,ec.jsx)(nS.ZP,{workspaceConversationTemplates:ng.items}):null,tb&&nb,(0,ec.jsxs)("div",{className:"flex w-full items-center",children:[eS&&"from_template_row"in tc.query&&(0,ec.jsx)("button",{type:"button",onClick:function(){tc.push("/",void 0,{shallow:!0})},className:"mr-2 flex h-8 w-8 items-center justify-center text-token-text-tertiary hover:text-token-text-secondary",children:(0,ec.jsx)(nk.YFh,{className:"icon-lg"})}),(0,ec.jsxs)(rc,{$historyDisabled:tk,children:[tR&&(0,ec.jsx)(nJ,{files:tL}),tX&&(0,ec.jsxs)("div",{className:"relative bg-token-surface-secondary p-5 text-token-text-primary dark:bg-token-surface-tertiary",children:[(0,ec.jsx)("button",{className:"absolute right-4 top-5 text-sm font-bold",onClick:nt,children:(0,ec.jsx)(nH.v7,{className:"icon-md text-token-text-secondary hover:text-token-text-primary"})}),(0,ec.jsx)("div",{className:"text-sm text-token-text-tertiary",children:(0,ec.jsx)(n_.Z,(0,eo._)({},rp.targetedReply))}),(0,ec.jsx)("div",{className:"mt-2 max-h-32 overflow-y-auto whitespace-pre-wrap break-words border-l-2 border-token-border-heavy px-3",children:tX})]}),(0,ec.jsx)(ek.ZP,{id:ra,tabIndex:0,value:tE,"data-id":e8,ref:tw,style:{maxHeight:"200px"},rows:nX,onKeyDown:nu,onChange:function(Y){ej.vm.hideThreadHeader(),tC(Y.target.value)},onPaste:nd,placeholder:e7.formatMessage(nM,{name:null!=th?"magic"===tp?eY.HW:th.name||"GPT":null!==(eg=null==tM?void 0:tM.gizmo.display.name)&&void 0!==eg?eg:"ChatGPT"}),className:(0,em.default)("m-0 w-full resize-none border-0 bg-transparent py-[10px] pr-10 focus:ring-0 focus-visible:ring-0 dark:bg-transparent md:py-4 md:pr-12 gizmo:md:py-3.5",!tk&&"gizmo:placeholder-black/50 gizmo:dark:placeholder-white/50",!tH&&tO?"pl-12 gizmo:pl-10 md:pl-[46px] gizmo:md:pl-[55px]":"pl-3 md:pl-4",nP&&"text-center"),disabled:eQ}),!tH&&tO&&tP!==eB.A.ContextConnector&&(0,ec.jsx)(ru,{children:(0,ec.jsx)(eF.Z,{uploadType:tP,openFileDialog:t3,getInputProps:t4,customIcon:nf?(0,ec.jsx)(eG.FK,{}):void 0,customClassName:nf?"p-0 text-black dark:text-white":void 0})}),tP===eB.A.ContextConnector&&(0,ec.jsx)("div",{className:"absolute bottom-1 left-0.5 md:bottom-3",children:(0,ec.jsx)(nB,{displayType:"icon"})}),eN?(0,ec.jsx)("div",{className:"absolute bottom-0 right-2 top-0 p-1 md:right-3 md:p-2",children:(0,ec.jsx)("div",{className:"flex h-full",children:e9&&nf?(0,ec.jsx)("div",{className:"flex h-full flex-row items-center justify-center gap-3",children:(0,ec.jsx)("button",{type:"button",className:"rounded-full border-2 border-gizmo-gray-950 p-1 dark:border-gray-200",onClick:nh,"aria-label":e7.formatMessage(rp.stopGenerating),children:(0,ec.jsx)(eG.uf,{className:"h-2 w-2 text-gizmo-gray-950 dark:text-gray-200"})})}):(0,ec.jsx)("div",{className:"text-2xl",children:(0,ec.jsx)(n5,{})})})}):!nP&&(0,ec.jsx)(rl,{disabled:!tG,style:nw,className:(0,em.default)("bottom-1.5",eN?"disabled:bottom-0.5 md:disabled:bottom-0":"transition-colors disabled:opacity-40"),"data-testid":"send-button",children:(0,ec.jsx)(eL.u,{label:e7.formatMessage(rp.sendMessageTooltip),children:nf?(0,ec.jsx)(eG.Ms,{className:"text-white dark:text-black"}):(0,ec.jsx)(eG.IX,{className:"icon-sm m-1 md:m-0"})})})]})]}),!tb&&nb]})}),tv.has(eM.L0.TargetedReplies)&&na.includes(tg.kind)&&(0,ec.jsx)(np,{onShow:nn,onTargetedReply:t8})]})}var n9=(0,ey.forwardRef)(n0);function n5(){var Y=(0,ea._)((0,ey.useState)(0),2),et=Y[0],en=Y[1],ei=3;(0,ey.useEffect)(function(){var Y=setInterval(function(){en(function(Y){return(Y+1)%ei})},350);return function(){return clearInterval(Y)}},[]);for(var eo=[],eu=0;eu<ei;eu++)eo.push((0,ec.jsx)("span",{className:eu<=et?"":"invisible",children:"\xb7"},eu));return(0,ec.jsx)(ec.Fragment,{children:eo})}var n4=function(Y,et){if(ep.m9.logEvent("chatgpt_prompt_use_suggestion",(0,eV.bf)(Y),{index:"".concat(et),type:(0,eV.QO)(Y)?eV.jK.Reply:eV.jK.Starter}),(0,eV.QO)(Y)){var en=Y;ef.A.logEvent(eh.M.useSuggestedReply,{value:(0,eV.bf)(en),prompt_type:eV.jK.Reply})}else{var ei=Y;ef.A.logEvent(eh.M.useStarterPrompt,{value:(0,eV.bf)(ei),prompt_type:eV.jK.Starter,title:ei.title})}};function n3(Y){var et=Y.clientThreadId,en=Y.currentLeafId,ei=Y.currentRequestId,eo=Y.canContinue,ea=Y.canPause,eu=Y.suggestions,ed=Y.isCompletionInProgress,ep=Y.onStopGenerating,em=Y.onAbortCompletion,eg=Y.onCreateNewCompletion,eb=Y.onContinueGenerating,ek=Y.onResetState,ew=(0,nW.Z)(et),e_=(0,nq.Z)(et),eE=(0,nG.Ml)(),eC=ew&&!eE,eT=(0,nv.WA)(et),eS=(0,ey.useCallback)(function(Y){if(em("",ei),e_(en,{eventSource:"mouse"},null==Y?void 0:Y.systemMessage),rs(),Y){var eo=eP.tQ.getServerThreadId(et);ef.A.logEvent(eh.M.guidedRegenerateSubmit,{systemMessage:Y.systemMessage,label:Y.label,currentLeafId:eP.tQ.getTree(et).getMessageId(en),threadId:eo})}},[em,ei,e_,en,et]),eA=(0,ey.useCallback)(function(){eb(en),rs()},[eb,en]),eM=(0,ey.useCallback)(function(Y,et){ej.vm.hideThreadHeader(),eg("".concat(en,"-nextPrompt"),(0,eV.bf)(Y),{eventSource:"mouse"},{suggestions:eu,conversationMode:eT}),ek(),n4(Y,et),rs()},[ek,en,eg,eu,eT]);return eC||eo||ea||void 0!==eu&&0!==eu.length?(0,ec.jsx)("div",{children:(0,ec.jsxs)(rh,{children:[(0,ec.jsx)("div",{className:"grow",children:void 0!==eu&&(0,ec.jsx)(eV.Gt,{suggestions:eu,onSelectingSuggestedReply:eM})}),(0,ec.jsx)(n7,{canContinue:eo,canPause:ea,canRegenerateResponse:eC,isCompletionInProgress:ed,onHandleContinueGenerating:eA,onRegenerateResponse:eS,onStopGenerating:ep})]})}):null}var n6=function(Y){var et=Y.children;return(0,ec.jsx)(eg.E.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,transition:{duration:.1,delay:0}},transition:{type:"tween",duration:.3,delay:.2},children:et})},n7=function(Y){var et=Y.canContinue,en=Y.canPause,ei=Y.canRegenerateResponse,eo=Y.isCompletionInProgress,ea=Y.onHandleContinueGenerating,eu=Y.onRegenerateResponse,ed=Y.onStopGenerating,ef=(0,nC.hz)().has(eM.L0.GuidedRegenerate)?ro:rr;return et?(0,ec.jsx)("div",{className:"flex items-center md:items-end",children:(0,ec.jsx)(n8,{onHandleContinueGenerating:ea})}):en&&eo?(0,ec.jsx)("div",{className:"flex items-center md:items-end",children:(0,ec.jsx)(rn,{onStopGenerating:ed})}):ei?(0,ec.jsx)("div",{className:"flex items-center md:items-end",children:(0,ec.jsx)(ef,{onRegenerateResponse:eu})}):null},n8=function(Y){var et=Y.onHandleContinueGenerating,en=(0,eI.w$)();return(0,ec.jsx)(n6,{children:(0,ec.jsxs)(eN.z,{as:"button",color:"neutral",onClick:et,className:"whitespace-nowrap border-0 md:border",children:[(0,ec.jsx)(nk.lV_,{className:(0,em.default)("-rotate-180",en?"icon-xs":"icon-sm")}),en&&(0,ec.jsx)(n_.Z,(0,eo._)({},rp.continueGenerating))]})})},rn=function(Y){var et=Y.onStopGenerating,en=(0,eI.w$)();return(0,ec.jsx)(n6,{children:(0,ec.jsxs)(eN.z,{as:"button",color:"neutral",onClick:et,className:"whitespace-nowrap border-0 md:border",children:[(0,ec.jsx)(nk.jxP,{className:(0,em.default)(en?"icon-xs":"icon-sm")}),en&&(0,ec.jsx)(n_.Z,(0,eo._)({},rp.stopGenerating))]})})},rr=function(Y){var et=Y.onRegenerateResponse,en=(0,eI.w$)(),ei=en?"neutral":"none";return(0,ec.jsx)(n6,{children:(0,ec.jsxs)(eN.z,{as:"button",color:ei,onClick:function(){return et()},className:"-z-0 whitespace-nowrap border-0 md:border",children:[(0,ec.jsx)(nk.Qxo,{className:(0,em.default)("flex-shrink-0",en?"icon-xs":"icon-sm")}),en&&(0,ec.jsx)(n_.Z,(0,eo._)({},rp.regenerateResponse))]})})},ri=[{labelKey:"shorter",systemMessage:"Be very concise in your answer",Icon:eC},{labelKey:"longer",systemMessage:"Please respond in a longer answer with more details",Icon:nw},{labelKey:"moreCreative",systemMessage:"Be creative in your answer",Icon:e_},{labelKey:"moreCasual",systemMessage:"Respond in a casual tone",Icon:eT},{labelKey:"moreProfessional",systemMessage:"Respond in a professional tone",Icon:eS},{labelKey:"regenerate",systemMessage:void 0,Icon:nk.Qxo}],ro=function(Y){var et=Y.onRegenerateResponse,en=(0,eI.w$)(),ei=en?"neutral":"none",ea=(0,eX.Z)(),eu=function(Y){Y&&ef.A.logEvent(eh.M.guidedRegenerateOpen)};return(0,ec.jsx)(n6,{children:(0,ec.jsxs)(nb.fC,{onOpenChange:eu,children:[(0,ec.jsx)(nb.xz,{asChild:!0,children:(0,ec.jsxs)(eN.z,{as:"button",color:ei,className:"border-0 md:border",children:[(0,ec.jsx)(eE.LYv,{className:(0,em.default)("flex-shrink-0",en?"icon-sm":"icon-md")}),en&&(0,ec.jsx)(n_.Z,(0,eo._)({},rp.guidedRegenerateResponse))]})}),(0,ec.jsx)(nb.Uv,{children:(0,ec.jsx)(nb.VY,{className:"min-w-[8rem] rounded-md bg-white py-1 shadow-lg dark:bg-gray-800",side:"bottom",sideOffset:4,children:ri.map(function(Y){var en=ea.formatMessage(rp[Y.labelKey]);return(0,ec.jsxs)(nb.ck,{onClick:function(){return et({systemMessage:Y.systemMessage,label:en})},className:"flex cursor-pointer select-none items-center gap-2 px-4 py-3 radix-highlighted:bg-gray-50 dark:radix-highlighted:bg-gray-700",children:[(0,ec.jsx)(Y.Icon,{className:"h-5 w-5"}),en]},Y.labelKey)})})})]})})},ra="prompt-textarea";function rs(){var Y;null===(Y=document.getElementById(ra))||void 0===Y||Y.focus()}var rl=nE.Z.button(nK()),ru=nE.Z.div(n$()),rc=nE.Z.div(nY(),function(Y){return Y.$historyDisabled?"bg-gray-900 text-white dark:bg-gray-900":"dark:bg-gray-700 bg-white gizmo:dark:bg-gray-800 gizmo:shadow-[0_0_0_2px_rgba(255,255,255,0.95)] gizmo:dark:shadow-[0_0_0_2px_rgba(52,53,65,0.95)]"}),rh=nE.Z.div(nQ()),rp=(0,eJ.vU)({regenerateResponse:{id:"PromptTextarea.regenerateResponse",defaultMessage:"Regenerate",description:"Button label for regenerating response"},guidedRegenerateResponse:{id:"PromptTextarea.guidedRegenerateResponse",defaultMessage:"Improve",description:"Label for button to show guided regeneration options"},continueGenerating:{id:"PromptTextarea.continueGenerating",defaultMessage:"Continue generating",description:"Button label for continuing response generation"},stopGenerating:{id:"PromptTextarea.stopGenerating",defaultMessage:"Stop generating",description:"Button label for stopping response generation"},disabledFeedbackPlaceholder:{id:"PromptTextarea.disabledFeedbackPlaceholder",defaultMessage:"Select a response to continue",description:"Text that shows input is disabled due to mandatory feedback"},noModelsAvailablePlaceholder:{id:"PromptTextarea.noModelsAvailablePlaceholder",defaultMessage:"No models available",description:"Text that shows when input is disabled due to no models being available"},requiresPluginsToBeInstalled:{id:"PromptTextarea.requiresPluginsToBeInstalled",defaultMessage:"Requires plugins to be installed",description:"Text that shows when input is disabled due to no plugins being installed"},loading:{id:"PromptTextarea.loading",defaultMessage:"Loading...",description:"Text that shows when input is disabled due to loading"},placeholder:{id:"PromptTextarea.placeholder",defaultMessage:"Send a message",description:"Placeholder text for the input field"},placeholderWithName:{id:"PromptTextarea.placeholderWithName",defaultMessage:"Message {name}…",description:"Placeholder text for the input field"},continueSharedConversationPlaceholder:{id:"PromptTextarea.continueSharedConversationPlaceholder",defaultMessage:"Send a message to continue the conversation.",description:"Placeholder text for the input field when viewing a shared chat"},sendMessageTooltip:{id:"PromptTextarea.sendMessageTooltip",defaultMessage:"Send message",description:"Tooltip for the send message button"},unsupportedFileType:{id:"PromptTextarea.unsupportedFileType",defaultMessage:'Uploads with file type "{file_type}" are not supported, please try another file.',description:"Error shown when an invalid file type is uploaded"},shorter:{id:"PromptTextarea.shorter",defaultMessage:"Shorter",description:"Label for the 'Shorter' guided regeneration option"},longer:{id:"PromptTextarea.longer",defaultMessage:"Longer",description:"Label for the 'Longer' guided regeneration option"},moreCreative:{id:"PromptTextarea.moreCreative",defaultMessage:"More creative",description:"Label for the 'More creative' guided regeneration option"},moreCasual:{id:"PromptTextarea.moreCasual",defaultMessage:"More casual",description:"Label for the 'More casual' guided regeneration option"},moreProfessional:{id:"PromptTextarea.moreProfessional",defaultMessage:"More professional",description:"Label for the 'More professional' guided regeneration option"},regenerate:{id:"PromptTextarea.regenerate",defaultMessage:"Regenerate",description:"Label for the 'Regenerate' guided regeneration option"},targetedReply:{id:"PromptTextarea.targetedReply",defaultMessage:"Replying to:",description:"Header shown above a targeted reply"}})},42798:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ed}});var ei=en(4337),eo=en(35250),ea=en(1454);function eu(){var Y=(0,ei._)(["animate-spin text-center"]);return eu=function(){return Y},Y}var ec=(0,en(21389).Z)(ea.dAq)(eu());function ed(Y){var et=Y.className;return(0,eo.jsx)(ec,{className:et})}},59632:function(Y,et,en){"use strict";en.d(et,{Gt:function(){return eP},QO:function(){return eE},bf:function(){return e_},jK:function(){return ei}});var ei,eo=en(35250),ea=en(8874),eu=en(97296),ec=en(70079),ed=en(70671),ef=en(94968),eh=en(1491),ep=en(48133),em=en(15635),eg=en(59904),ey=en(23234),eb=en(54636),ek=en(42780),ew=en(19841);!function(Y){Y.Starter="starter",Y.Reply="reply"}(ei||(ei={}));var e_=function(Y){return eE(Y)?Y.text:Y.prompt},eE=function(Y){return void 0!==Y.text},eC=function(Y){return void 0!==Y.title},eT={initial:{opacity:0,y:20,scale:.9},animate:{opacity:1,y:0,scale:1},transition:{delay:.1},exit:{opacity:0,scale:.5,transition:{duration:.2}}},eS=function(Y){var et=Y.suggestions,en=Y.onSelectingSuggestedReply,ei=(0,ed.Z)(),ea=(0,eh.oc)(),ef=(0,ec.useMemo)(function(){var Y=ea?4:2,en=et.slice(0,Y),ei=Math.ceil(en.length/2);return[en.slice(0,ei),en.slice(ei)]},[ea,et]),eb=(0,ey.Ml)();return(0,eo.jsx)("div",{className:"absolute bottom-full left-0 mb-4 flex w-full grow gap-2 px-1 pb-1 sm:px-2 sm:pb-0 md:static md:mb-0 md:max-w-none",children:(0,eo.jsx)("div",{className:"grid w-full grid-flow-row grid-cols-[repeat(auto-fit,minmax(250px,1fr))] gap-2",children:ef.map(function(Y,et){return(0,eo.jsx)("div",{className:"flex flex-col gap-2",children:Y.map(function(Y,ea){var ec=2*et+ea;return(0,eo.jsx)(eu.E.span,{initial:eT.initial,animate:eT.animate,transition:{delay:(ec-1)*eT.transition.delay},exit:eT.exit,children:(0,eo.jsx)(ep.z,{as:"button",color:"neutral",onClick:function(){en(Y,ec)},className:"group w-full whitespace-nowrap rounded-xl text-left text-gray-700 dark:text-gray-300 md:whitespace-normal",children:(0,eo.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,eo.jsx)(ej,{suggestion:Y}),(0,eo.jsx)("div",{className:"absolute bottom-0 right-0 top-0 flex items-center rounded-xl bg-gradient-to-l from-gray-100 from-[60%] pl-6 pr-2 text-gray-700 opacity-0 group-hover:opacity-100 dark:from-gray-700 dark:text-gray-200",children:(0,eo.jsx)(em.u,{label:ei.formatMessage(eO.suggestionTooltip),side:"top",children:eb?(0,eo.jsx)("div",{className:"rounded-lg bg-token-surface-secondary p-1",children:(0,eo.jsx)(eg.Ms,{className:"icon-sm text-token-text-primary"})}):(0,eo.jsx)(eg.IX,{className:"icon-sm pr-1"})})})]})})},ec)})},"col-".concat(et))})})})},eA=function(Y){var et=Y.suggestions,en=Y.onSelectingSuggestedReply,ei=(0,ed.Z)();return(0,eo.jsx)("div",{className:"absolute -left-2 bottom-full mb-4 flex max-w-[100vw] grow items-end gap-2 overflow-auto px-1 pb-1 sm:px-2 sm:pb-0 md:static md:mb-0 md:max-w-none md:overflow-visible",children:et.slice(0,2).map(function(Y,et){return(0,eo.jsx)(eu.E.div,{initial:eT.initial,animate:eT.animate,transition:{delay:(et-1)*eT.transition.delay},exit:eT.exit,children:(0,eo.jsxs)(ep.z,{as:"button",color:"neutral",onClick:function(){en(Y,et)},className:"group whitespace-nowrap rounded-lg text-left text-gray-700 dark:text-gray-300 md:whitespace-normal",children:[(0,eo.jsx)(ej,{suggestion:Y}),(0,eo.jsx)("div",{className:"absolute bottom-0 right-0 top-0 flex items-center rounded-xl bg-gradient-to-l from-gray-100 from-[60%] pl-6 pr-3 text-gray-700 opacity-0 group-hover:opacity-100 dark:from-gray-700 dark:text-gray-200",children:(0,eo.jsx)(em.u,{label:ei.formatMessage(eO.suggestionTooltip),side:"top",children:(0,eo.jsx)(eg.IX,{className:"icon-sm"})})})]},et)},et)})})},eM=function(Y){if(ea.m9.logEvent("chatgpt_prompt_show_suggestions","count_".concat(Y.length),{type:eE(Y[0])?ei.Reply:ei.Starter}),eE(Y[0])){var et=Y;eb.A.logEvent(ek.M.showSuggestedReplies,{prompt_count:et.length,prompt_type:ei.Reply})}else{var en=Y;eb.A.logEvent(ek.M.showStarterPrompts,{prompt_count:en.length,prompt_type:ei.Starter,titles:en.map(function(Y){return Y.title})})}};function eP(Y){var et=Y.suggestions,en=Y.onSelectingSuggestedReply,ei=(null==et?void 0:et.length)>0;return((0,ec.useEffect)(function(){ei&&eM(et)},[ei]),ei)?eC(et[0])?(0,eo.jsx)(eS,{suggestions:et,onSelectingSuggestedReply:en}):eE(et[0])?(0,eo.jsx)(eA,{suggestions:et,onSelectingSuggestedReply:en}):null:null}function ej(Y){var et=Y.suggestion;return eE(et)?(0,eo.jsx)(eo.Fragment,{children:et.text}):eC(et)?(0,eo.jsxs)("div",{className:"flex flex-col overflow-hidden",children:[et.title&&(0,eo.jsx)("div",{className:"truncate font-normal",children:et.title}),(0,eo.jsx)("div",{className:(0,ew.default)("truncate",et.title?"opacity-50":""),children:et.body})]}):null}var eO=(0,ef.vU)({suggestionTooltip:{id:"PromptTextarea.suggestionTooltip",defaultMessage:"Click to send",description:"Tooltip for the suggestion button"}})},10663:function(Y,et,en){"use strict";en.d(et,{Z:function(){return eO}});var ei=en(35250),eo=en(45675),ea=en(70079),eu=en(72901),ec=en(49270),ed=en(36646),ef=en(86004);function eh(Y){let et=(0,ea.useRef)({value:Y,previous:Y});return(0,ea.useMemo)(()=>(et.current.value!==Y&&(et.current.previous=et.current.value,et.current.value=Y),et.current.previous),[Y])}var ep=en(82094),em=en(39073);let eg="Switch",[ey,eb]=(0,ed.b)(eg),[ek,ew]=ey(eg),e_=(0,ea.forwardRef)((Y,et)=>{let{__scopeSwitch:en,name:ei,checked:ed,defaultChecked:eh,required:ep,disabled:eg,value:ey="on",onCheckedChange:eb,...ew}=Y,[e_,eE]=(0,ea.useState)(null),eC=(0,ec.e)(et,Y=>eE(Y)),eA=(0,ea.useRef)(!1),eM=!e_||!!e_.closest("form"),[eP=!1,ej]=(0,ef.T)({prop:ed,defaultProp:eh,onChange:eb});return(0,ea.createElement)(ek,{scope:en,checked:eP,disabled:eg},(0,ea.createElement)(em.WV.button,(0,eo.Z)({type:"button",role:"switch","aria-checked":eP,"aria-required":ep,"data-state":eS(eP),"data-disabled":eg?"":void 0,disabled:eg,value:ey},ew,{ref:eC,onClick:(0,eu.M)(Y.onClick,Y=>{ej(Y=>!Y),eM&&(eA.current=Y.isPropagationStopped(),eA.current||Y.stopPropagation())})})),eM&&(0,ea.createElement)(eT,{control:e_,bubbles:!eA.current,name:ei,value:ey,checked:eP,required:ep,disabled:eg,style:{transform:"translateX(-100%)"}}))}),eE="SwitchThumb",eC=(0,ea.forwardRef)((Y,et)=>{let{__scopeSwitch:en,...ei}=Y,eu=ew(eE,en);return(0,ea.createElement)(em.WV.span,(0,eo.Z)({"data-state":eS(eu.checked),"data-disabled":eu.disabled?"":void 0},ei,{ref:et}))}),eT=Y=>{let{control:et,checked:en,bubbles:ei=!0,...eu}=Y,ec=(0,ea.useRef)(null),ed=eh(en),ef=(0,ep.t)(et);return(0,ea.useEffect)(()=>{let Y=ec.current,et=window.HTMLInputElement.prototype,eo=Object.getOwnPropertyDescriptor(et,"checked"),ea=eo.set;if(ed!==en&&ea){let et=new Event("click",{bubbles:ei});ea.call(Y,en),Y.dispatchEvent(et)}},[ed,en,ei]),(0,ea.createElement)("input",(0,eo.Z)({type:"checkbox","aria-hidden":!0,defaultChecked:en},eu,{tabIndex:-1,ref:ec,style:{...Y.style,...ef,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function eS(Y){return Y?"checked":"unchecked"}let eA=e_,eM=eC;var eP=en(19841),ej=en(1454);function eO(Y){var et=Y.onChange,en=Y.enabled,eo=Y.label,eu=Y.disabled,ec=Y.withLockIcon,ed=void 0!==ec&&ec,ef=Y.size,eh=void 0===ef?"normal":ef,ep=(0,ea.useCallback)(function(){et(!en)},[en,et]);return(0,ei.jsx)(eA,{checked:en,disabled:eu,onCheckedChange:ep,"aria-label":eo,className:(0,eP.default)(eu?"cursor-not-allowed opacity-50":"cursor-pointer","bg-gray-200 radix-state-checked:bg-green-600","relative shrink-0 rounded-full","normal"===eh?"h-[25px] w-[42px]":"h-[19px] w-[30px]"),children:(0,ei.jsx)(eM,{className:(0,eP.default)("flex items-center justify-center rounded-full","translate-x-0.5 transition-transform duration-100 will-change-transform","bg-white shadow-[0_1px_2px_rgba(0,0,0,0.45)]","normal"===eh?"h-[21px] w-[21px] radix-state-checked:translate-x-[19px]":"h-[15px] w-[15px] radix-state-checked:translate-x-[13px]"),children:ed?(0,ei.jsx)(ej.UIZ,{className:"icon-xs"}):null})})}},11547:function(Y,et,en){"use strict";en.d(et,{iW:function(){return eZ},wm:function(){return eQ},sY:function(){return eW},Xu:function(){return e$}});var ei=en(21722),eo=en(39324),ea=en(71209),eu=en(10064),ec=en(38104),ed=en(35250),ef=en(6013),eh=en(82473),ep=en(25494),em=en(61236),eg=en(54636),ey=en(42780),eb=en(8874),ek=en(19841),ew=en(70737),e_=en(97296),eE=en(70079),eC=en(1454),eT=en(94968),eS=en(70671),eA=en(32004),eM=en(86646),eP=en(55548),ej=en(1491),eO=en(94705),eI=en(7184),eN=en(15635),eL=en(59904),eR=en(42798),eD=en(72290),eF=en(10663),eB=en(60583),ez=en(61888),eU=eB.pm.FirstTimeUsingUserContext;function eH(){return(0,eB.qg)(eU).eligible}var eG=function(Y){var et=Y.onClose,en=(0,eS.Z)(),ei=(0,eB.qg)(eU).markAsViewed,eu=(0,eE.useCallback)(function(){ei(),et()},[ei,et]);return(0,ed.jsxs)(eI.Z,{isOpen:!0,onClose:ez.noop,size:"custom",className:"max-w-xl",type:"success",title:en.formatMessage(eV.title),primaryButton:(0,ed.jsx)(eO.ZP.Button,{onClick:eu,title:en.formatMessage(eV.ok),color:"primary"}),children:[(0,ed.jsxs)("div",{className:"mb-6 flex flex-col gap-3",children:[(0,ed.jsx)("p",{children:(0,ed.jsx)(eA.Z,(0,eo._)({},eV.body1))}),(0,ed.jsx)("p",{children:(0,ed.jsx)(eA.Z,(0,eo._)({},eV.body2))})]}),(0,ed.jsx)("div",{className:"flex flex-col gap-3 text-sm text-gray-500",children:(0,ed.jsx)("p",{children:(0,ed.jsx)(eA.Z,(0,ea._)((0,eo._)({},eV.legal1),{values:{article:function(Y){return(0,ed.jsx)("a",{href:eZ,target:"_blank",className:"underline",rel:"noopener noreferrer",children:Y})}}}))})})]})},eV=(0,eT.vU)({title:{id:"UserContextFirstTimeModal.title",defaultMessage:"Introducing Custom Instructions",description:"Title of the UserContextFirstTimeModal"},body1:{id:"UserContextFirstTimeModal.body1",defaultMessage:"Customize your interactions with ChatGPT by providing specific details and guidelines for your chats.",description:"Body of the first paragraph UserContextFirstTimeModal"},body2:{id:"UserContextFirstTimeModal.body2",defaultMessage:"Whenever you edit your custom instructions, they'll take effect in all new chats you create. Existing chats won't be updated.",description:"Body of the second paragraph UserContextFirstTimeModal"},legal1:{id:"UserContextFirstTimeModal.legal1",defaultMessage:"Your instructions will be used to make our models better unless you've opted out and may be shared with any plugins you've enabled. Visit our <article>Help Center</article> to learn more.",description:"Legal text of the first paragraph UserContextFirstTimeModal"},ok:{id:"UserContextFirstTimeModal.ok",defaultMessage:"OK",description:"Button to close the UserContextFirstTimeModal"}}),eW=(0,eT.vU)({tipsHeader:{id:"userContextModal.tipsHeader",defaultMessage:"Thought starters",description:"header for Custom instructions tips"},aboutUserTip1:{id:"userContextModal.aboutUserTip1",defaultMessage:"Where are you based?",description:"tips for Custom instructions about you"},aboutUserTip2:{id:"userContextModal.aboutUserTip2",defaultMessage:"What do you do for work?",description:"tips for Custom instructions about you"},aboutUserTip3:{id:"userContextModal.aboutUserTip3",defaultMessage:"What are your hobbies and interests?",description:"tips for Custom instructions about you"},aboutUserTip4:{id:"userContextModal.aboutUserTip4",defaultMessage:"What subjects can you talk about for hours?",description:"tips for Custom instructions about you"},aboutUserTip5:{id:"userContextModal.aboutUserTip5",defaultMessage:"What are some goals you have?",description:"tips for Custom instructions about you"},modelTip1:{id:"userContextModal.modelTip1",defaultMessage:"How formal or casual should ChatGPT be?",description:"tips for Custom instructions about model"},modelTip2:{id:"userContextModal.modelTip2",defaultMessage:"How long or short should responses generally be?",description:"tips for Custom instructions about model"},modelTip3:{id:"userContextModal.modelTip3",defaultMessage:"How do you want to be addressed?",description:"tips for Custom instructions about model"},modelTip4:{id:"userContextModal.modelTip4",defaultMessage:"Should ChatGPT have opinions on topics or remain neutral?",description:"tips for Custom instructions about model"},save:{id:"userContextModal.save",defaultMessage:"Save",description:"save button for my profile modal"},chatPreferencesEnable:{id:"userContextModal.chatPreferencesEnable",defaultMessage:"Enable for new chats",description:"chat preferences is enabled"},enableToggleLabel:{id:"userContextModal.enableToggleLabel",defaultMessage:"Enable chat preferences",description:"enable chat preferences toggle label"},disableToggleLabel:{id:"userContextModal.disableToggleLabel",defaultMessage:"Disable chat preferences",description:"disable chat preferences toggle label"},cancel:{id:"userContextModal.cancel",defaultMessage:"Cancel",description:"Cancel button for Custom instructions modal"},aboutYouHelpText:{id:"userContextModal.aboutYouHelpText",defaultMessage:"What would you like ChatGPT to know about you to provide better responses?",description:"help text for about you section of Custom instructions"},modelHelpText:{id:"userContextModal.modelHelpText",defaultMessage:"How would you like ChatGPT to respond?",description:"help text for about you section of Custom instructions"},profileTitle:{id:"userContextModal.title",defaultMessage:"Custom instructions",description:"title for Custom instructions modal"},profileSubhead:{id:"userContextModal.subhead",defaultMessage:"<article>Learn more</article> about Custom instructions and how theyre used to help ChatGPT provide better responses.",description:"subhead for Custom instructions modal"},messageLimitError:{id:"userContextModal.messageLimitError",defaultMessage:"Please limit your responses to {limit} characters or less.",description:"error message for Custom instructions modal"},showTips:{id:"userContextModal.showTips",defaultMessage:"Show tips",description:"show tips button for Custom instructions modal"},hideTips:{id:"userContextModal.hideTips",defaultMessage:"Hide tips",description:"hide tips button for Custom instructions modal"},confirmCloseTitle:{id:"userContextModal.confirmCloseTitle",defaultMessage:"You have unsaved changes.",description:"title for confirm close modal"},confirmCloseBody:{id:"userContextModal.confirmCloseBody",defaultMessage:"Are you sure you want to exit? Any changes you made will be permanently lost.",description:"confirm close modal"},confirmCloseCancel:{id:"userContextModal.confirmCloseCancel",defaultMessage:"Back",description:"cancel button for confirm close modal"},confirmCloseOk:{id:"userContextModal.confirmCloseOk",defaultMessage:"Exit",description:"ok button for confirm close modal"},modApiVoilation:{id:"userContextModal.modApiVoilation",defaultMessage:"This content may violate our <policyLink>content policy</policyLink>. If you believe this to be in error, please <feedbackLink>submit your feedback</feedbackLink> — your input will aid our research in this area.",description:"error message for mod api voilation"}}),eZ="https://help.openai.com/en/articles/8096356-custom-instructions-for-chatgpt";function eK(Y){var et=Y.onSuccess,en=Y.onError,ei=(0,eh.NL)();return(0,ep.D)({mutationFn:function(Y){var et=Y.userContext;return eM.ZP.createOrUpdateUserSystemMessage(et)},onSettled:function(Y,et){var en=["userContext"];null===Y||et?ei.invalidateQueries({queryKey:en}):ei.setQueryData(en,Y)},onSuccess:et,onError:en})}function e$(Y){return(0,em.a)({queryKey:["userContext"],queryFn:function(){return eM.ZP.getUserSystemMessage().catch(function(Y){throw eD.m.danger("Failed to get your custom instructions"),Y})},enabled:Y,select:function(Y){var et,en,ei;return{aboutUserMessage:null!==(et=null==Y?void 0:Y.about_user_message)&&void 0!==et?et:"",aboutModelMessage:null!==(en=null==Y?void 0:Y.about_model_message)&&void 0!==en?en:"",enabled:null===(ei=null==Y?void 0:Y.enabled)||void 0===ei||ei}}})}var eY={aboutUserMessage:void 0,aboutModelMessage:void 0,enabled:void 0};function eQ(){var Y,et,en,ef,eh=(0,eS.Z)(),ep=eH(),em=(0,eu._)((0,eE.useState)(!1),2),ek=em[0],ew=em[1],e_=(0,eP.tN)(function(Y){return Y.activeModals.has(eP.B.UserContext)}),eC=e$(e_),eT=eC.isLoading,eM=eC.data,ej=null!=eM?eM:{},eB=ej.aboutUserMessage,ez=void 0===eB?"":eB,eU=ej.aboutModelMessage,eV=void 0===eU?"":eU,eQ=ej.enabled,e5=(0,eu._)((0,eE.useState)(eY),2),e4=e5[0],e3=e5[1],e6=e4.aboutUserMessage,e7=e4.aboutModelMessage,e8=e4.enabled,tt=null!=e8?e8:!!eQ,ta=(0,eu._)((0,eE.useState)(null),2),tu=ta[0],tc=ta[1],td=(0,eE.useCallback)(function(){eP.vm.closeModal(eP.B.UserContext),e3(eY),tc(null)},[]),tf=eK({onSuccess:function(){td()},onError:function(Y){var et,en,ei,eo;return(null===(et=Y.response)||void 0===et?void 0:et.reason)==="content_policy"&&(null===(en=Y.response)||void 0===en?void 0:en.field)?tc(null===(ei=Y.response)||void 0===ei?void 0:ei.field):eD.m.danger(null!==(eo=Y.message)&&void 0!==eo?eo:"Failed to update custom instructions."),Y}}),th=tf.isPending,tp=tf.mutate,tm=(0,eu._)((0,eE.useState)(!1),2),tg=tm[0],tv=tm[1],tb=e0(null!=e6?e6:"")||e0(null!=e7?e7:""),tk=void 0!==e7&&e7!==eV||void 0!==e6&&e6!==ez||void 0!==e8&&e8!==eQ,tw=(0,eE.useCallback)(function(){tk?tv(!0):td()},[td,tk]),t_=(0,eE.useCallback)((0,ei._)(function(){return(0,ec.Jh)(this,function(Y){switch(Y.label){case 0:if(th)return[3,2];return tc(null),[4,tp({userContext:{aboutUserMessage:null!=e6?e6:"",aboutModelMessage:null!=e7?e7:"",enabled:!!e8}})];case 1:Y.sent(),Y.label=2;case 2:return[2]}})}),[th,e7,e6,e8,tp]),tE=(0,eE.useCallback)(function(){if(tb){var Y,et,en,ei,eo=e0(null!=e6?e6:""),ea=e0(null!=e7?e7:"");eo&&(eb.m9.logEvent("chatgpt_user_context_modal__message_past_limit",void 0,{type:"about_user_message",limit:eJ.toString(),character_length:null!==(Y=null==e6?void 0:e6.length.toString())&&void 0!==Y?Y:""}),eg.A.logEvent(ey.M.userContextModelMessagePastLimit,{type:"about_user_message",limit:eJ.toString(),character_length:null!==(et=null==e6?void 0:e6.length.toString())&&void 0!==et?et:""})),ea&&(eb.m9.logEvent("chatgpt_user_context_modal__message_past_limit",void 0,{type:"about_model_message",limit:eJ.toString(),character_length:null!==(en=null==e7?void 0:e7.length.toString())&&void 0!==en?en:""}),eg.A.logEvent(ey.M.userContextModelMessagePastLimit,{type:"about_model_message",limit:eJ.toString(),character_length:null!==(ei=null==e7?void 0:e7.length.toString())&&void 0!==ei?ei:""})),eD.m.danger(eh.formatMessage(eW.messageLimitError,{limit:eJ}),{duration:4,hasCloseButton:!0});return}t_()},[eh,tb,e7,e6,t_]);if(e_&&ep&&!ek)return(0,ed.jsx)(eG,{onClose:function(){ew(!0)}});if(e_&&tg){var tC=function(){tv(!1)};return(0,ed.jsx)(eI.Z,{isOpen:!0,onClose:tC,type:"success",title:eh.formatMessage(eW.confirmCloseTitle),primaryButton:(0,ed.jsx)(eO.ZP.Button,{title:eh.formatMessage(eW.confirmCloseOk),color:"danger",onClick:function(){td(),tC()}}),secondaryButton:(0,ed.jsx)(eO.ZP.Button,{title:eh.formatMessage(eW.confirmCloseCancel),color:"neutral",onClick:tC}),children:(0,ed.jsx)("div",{className:"text-sm",children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.confirmCloseBody))})},"confirm-close")}return(0,ed.jsxs)(eI.Z,{isOpen:e_,onClose:tw,type:"success",size:"custom",className:"max-w-lg xl:max-w-xl",title:(0,ed.jsxs)("div",{className:"flex flex-row gap-2",children:[(0,ed.jsx)(eA.Z,(0,eo._)({},eW.profileTitle)),(0,ed.jsx)(eN.u,{sideOffset:4,interactive:!0,delayDuration:0,label:(0,ed.jsx)("div",{children:(0,ed.jsx)(eA.Z,(0,ea._)((0,eo._)({},eW.profileSubhead),{values:{article:function(Y){return(0,ed.jsx)("a",{href:eZ,target:"_blank",className:"underline",rel:"noreferrer",children:Y})}}}))}),side:"bottom",children:(0,ed.jsx)(eL.HV,{className:"h-6 w-6 flex-shrink-0 text-gray-500"})})]}),children:[eT?(0,ed.jsx)("div",{className:"flex h-14 items-center justify-center",children:(0,ed.jsx)(eR.Z,{})}):(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)("p",{className:"text-muted pb-3 pt-2 text-sm text-gray-600 dark:text-white",children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.aboutYouHelpText))}),(0,ed.jsx)(e9,{className:"mb-3",onSubmit:tE,disabled:!tt,tip:(0,ed.jsx)(eX,{children:(0,ed.jsxs)("ul",{className:"list-disc pl-5",children:[(0,ed.jsx)("li",{children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.aboutUserTip1))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.aboutUserTip2))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.aboutUserTip3))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.aboutUserTip4))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.aboutUserTip5))})]})}),hasModError:"about_user_message"===tu,value:null!=e6?e6:ez,onChange:function(en){return e3(function(ei){return{aboutModelMessage:null!==(Y=ei.aboutModelMessage)&&void 0!==Y?Y:eV,aboutUserMessage:en.target.value,enabled:null!==(et=ei.enabled)&&void 0!==et?et:tt}})}}),(0,ed.jsx)("p",{className:"text-muted py-3 text-sm text-gray-600 dark:text-white",children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.modelHelpText))}),(0,ed.jsx)(e9,{onSubmit:tE,disabled:!tt,tip:(0,ed.jsx)(eX,{children:(0,ed.jsxs)("ul",{className:"list-disc pl-5",children:[(0,ed.jsx)("li",{children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.modelTip1))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.modelTip2))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.modelTip3))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.modelTip4))})]})}),hasModError:"about_model_message"===tu,value:null!=e7?e7:eV,onChange:function(Y){return e3(function(et){return{aboutUserMessage:null!==(en=et.aboutUserMessage)&&void 0!==en?en:ez,aboutModelMessage:Y.target.value,enabled:null!==(ef=et.enabled)&&void 0!==ef?ef:tt}})}})]}),(0,ed.jsx)("div",{className:"mt-5 sm:mt-4",children:(0,ed.jsxs)("div",{className:"flex flex-grow flex-col items-stretch justify-between gap-0 sm:flex-row sm:items-center sm:gap-3",children:[(0,ed.jsxs)("label",{className:"mt-5 flex cursor-pointer flex-row justify-between gap-2 sm:mt-4",children:[(0,ed.jsx)("div",{className:"self-center text-sm text-gray-600",children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.chatPreferencesEnable))}),(0,ed.jsx)(eF.Z,{enabled:tt,onChange:function(Y){var et,en;e3(function(ei){return{aboutUserMessage:null!==(et=ei.aboutUserMessage)&&void 0!==et?et:ez,aboutModelMessage:null!==(en=ei.aboutModelMessage)&&void 0!==en?en:eV,enabled:Y}})},label:tt?eh.formatMessage(eW.disableToggleLabel):eh.formatMessage(eW.enableToggleLabel)})]}),(0,ed.jsx)(eO.ZP.Actions,{secondaryButton:(0,ed.jsx)(eO.ZP.Button,{onClick:tw,children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.cancel))}),primaryButton:(0,ed.jsx)(eO.ZP.Button,{loading:th,onClick:tE,color:"primary",visuallyDisabled:tb,disabled:!tk,children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.save))})})]})})]},"user-context")}var eX=function(Y){var et=Y.children;return(0,ed.jsx)("div",{className:"whitespace-pre-line",children:et})},eJ=1500,e0=function(Y){return Y.length>eJ},e9=function(Y){var et=Y.disabled,en=Y.onChange,ei=Y.onSubmit,ec=Y.placeholder,eh=Y.value,ep=Y.tip,em=Y.hasModError,eg=Y.className,ey=(0,eS.Z)(),eb=(0,eE.useRef)(null),eT=(0,ej.x_)(),eM=(0,ej.aj)(),eP=!eT,eN=(0,eu._)((0,eE.useState)(!1),2),eL=eN[0],eR=eN[1],eD=(0,eu._)((0,eE.useState)(eP),2),eF=eD[0],eB=eD[1],ez=!eP&&eL&&!eF,eU=eP&&!eF,eH=e0(eh),eG=function(Y){et||"Enter"!==Y.key||!Y.metaKey||Y.shiftKey||Y.nativeEvent.isComposing||(Y.preventDefault(),ei())};return(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(eI.Z,{isOpen:eU,type:"success",size:"custom",className:"max-w-lg",title:ey.formatMessage(eW.tipsHeader),closeButton:(0,ed.jsx)(eO.ZP.CloseButton,{onClose:function(){eB(!0)}}),onClose:function(){eB(!0)},children:ep}),(0,ed.jsxs)(ef.fC,{open:ez,children:[(0,ed.jsxs)("div",{className:eg,children:[(0,ed.jsx)(ef.xz,{asChild:!0,children:(0,ed.jsx)("textarea",{ref:eb,className:(0,ek.default)("w-full resize-none rounded p-4 placeholder:text-gray-300 dark:bg-gray-800",{"border-orange-400 focus:border-orange-400":em,"border-red-500 focus:border-red-500":eH&&!em,"border-gray-100 focus:border-brand-green":!eH&&!em,"bg-gray-50 text-gray-300":et}),disabled:et,placeholder:ec,onKeyDown:eG,rows:eT&&!eM?8:7,value:eh,onChange:en,onBlur:function(){eR(!1)},onFocus:function(){eR(!0)}})}),(0,ed.jsx)("div",{className:(0,ek.default)("flex items-center justify-between px-1 text-xs",eH?"text-red-600":"text-gray-400"),children:em?(0,ed.jsx)("div",{className:"visible mt-2 text-left text-xs text-orange-400 ",children:(0,ed.jsx)(eA.Z,(0,ea._)((0,eo._)({},eW.modApiVoilation),{values:{policyLink:function(Y){return(0,ed.jsx)("a",{href:"https://platform.openai.com/docs/usage-policies/content-policy",className:"underline",target:"_blank",rel:"noreferrer",children:Y})},feedbackLink:function(Y){return(0,ed.jsx)("a",{href:"https://forms.gle/3gyAMj5r5rTEcgbs5",className:"underline",target:"_blank",rel:"noreferrer",children:Y})}}}))}):(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)("div",{children:"".concat(eh.length,"/").concat(eJ)}),(0,ed.jsx)("button",{className:(0,ek.default)("flex items-center gap-1",eL?"text-gray-400":"text-gray-200"),onClick:function(){var Y;null===(Y=eb.current)||void 0===Y||Y.focus(),eB(!eF)},tabIndex:-1,children:(0,ed.jsx)(ew.M,{initial:!1,children:eL&&(0,ed.jsx)(e_.E.div,{className:"flex items-center gap-1",initial:{opacity:0},animate:{opacity:1,transition:{duration:.2,ease:"easeIn"}},exit:{opacity:0,transition:{duration:.2,ease:"easeIn"}},children:eF?(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(eA.Z,(0,eo._)({},eW.showTips)),(0,ed.jsx)(eC.rDJ,{className:"icon-xs"})]}):(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(eA.Z,(0,eo._)({},eW.hideTips)),(0,ed.jsx)(eC.rzC,{className:"icon-xs"})]})},"show-hide")})})]})})]}),(0,ed.jsx)(ef.h_,{children:(0,ed.jsx)(ef.VY,{side:"right",align:"start",sideOffset:12,className:"relative max-w-[220px] animate-slideLeftAndFade select-none rounded-xl border-gray-100 bg-white p-4 text-sm text-gray-600 shadow-[0px_4px_14px_rgba(0,0,0,0.06)] dark:bg-gray-900 dark:text-white xl:max-w-xs",onOpenAutoFocus:function(Y){Y.preventDefault()},onCloseAutoFocus:function(Y){Y.preventDefault()},children:(0,ed.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ed.jsx)("strong",{children:(0,ed.jsx)(eA.Z,(0,eo._)({},eW.tipsHeader))}),ep]})})})]})]})}},38899:function(Y,et,en){"use strict";en.d(et,{b:function(){return ep},n:function(){return ei}});var ei,eo=en(35250),ea=en(19841),eu=en(70079),ec=en(1454),ed=en(94968),ef=en(70671);!function(Y){Y.info="info",Y.neutral="neutral",Y.success="success",Y.warning="warning",Y.danger="danger"}(ei||(ei={}));var eh=(0,ed.vU)({closeButtonLabel:{id:"Alert.closeButtonLabel",description:"Aria-label for the close button in the Alert component",defaultMessage:"Close"}}),ep=eu.memo(function(Y){var et=(0,ef.Z)(),en=Y.className,eu=Y.intent,ed=void 0===eu?"info":eu,ep=Y.fullWidth,em=Y.children,eg=Y.icon,ey=Y.onRemove,eb=(0,ea.default)({"px-3 py-2 rounded-lg text-white inline-flex flex-row border pointer-events-auto gap-2":!0,flex:ep,"bg-white dark:bg-gray-900 text-gray-700 dark:text-white dark:border-black/20":ed===ei.neutral||ed===ei.info,"border-green-600 bg-green-600":ed===ei.success,"border-orange-500 bg-orange-500":ed===ei.warning,"border-red-500 bg-red-500":ed===ei.danger},en);return(0,eo.jsxs)("div",{className:eb,role:"alert",children:[null!=eg&&(0,eo.jsx)("div",{className:"mt-1 flex-shrink-0 flex-grow-0",children:(0,eo.jsx)(eg,{className:"icon-sm"})}),(0,eo.jsx)("div",{className:"flex-1 justify-center gap-2",children:"string"==typeof em?(0,eo.jsx)("div",{className:"font-semibold",children:em}):em}),ey?(0,eo.jsx)("div",{className:"flex flex-shrink-0 flex-grow-0",children:(0,eo.jsx)("button",{onClick:ey,"aria-label":et.formatMessage(eh.closeButtonLabel),className:"hover:opacity-80",children:(0,eo.jsx)(ec.q5L,{className:"icon-sm"})})}):null]})})},74966:function(Y,et,en){"use strict";en.d(et,{K5:function(){return eS},ZP:function(){return eO},sw:function(){return eA}});var ei=en(35250),eo=en(17944),ea=en(1491),eu=en(54636),ec=en(42780),ed=en(8874),ef=en(29518),eh=en.n(ef),ep=en(20326),em=en(73040),eg=en.n(em),ey=en(10721),eb=en(70079),ek=en(1454),ew=en(12952),e_=en(23234),eE=en(42474),eC=en(39368),eT=3;function eS(Y,et,en,ei){return Y&&et&&!en&&null!=ei&&ei.length>=eT}function eA(){var Y=(0,eo.ec)(eo.F_.businessWorkspaceId),et=(0,eC.ki)(Y).data,en=(0,ea.w$)(),eu=(0,e_.Ml)();return en&&eS(!0,en,eu,null==et?void 0:et.items)?(0,ei.jsx)("div",{className:"absolute -top-16 bottom-0 left-0 right-0 bg-gradient-to-b from-transparent to-gray-100 dark:hidden md:-right-2"}):null}function eM(Y){var et=Y.conversationTemplate,en=(0,ey.useRouter)();return(0,ei.jsxs)("button",{type:"button",onClick:function(){var Y=(0,eC.l1)(et.id);en.push("".concat(Y,"&from_template_row=1"),Y,{shallow:!0}),(0,eE.go)(),ed.m9.logEvent("chatgpt_click_template_on_new_chat"),eu.A.logEvent(ec.M.clickTemplateOnNewChat)},className:"flex flex-col justify-start rounded-lg border border-gray-100 bg-white p-4 text-left transition hover:border-gray-200 hover:shadow-[0_1px_7px_0px_rgba(0,0,0,0.06)] dark:border-gray-800 dark:bg-gray-700",children:[(0,ei.jsxs)("div",{className:"flex items-center gap-2",children:[(0,ei.jsx)(ew.Py,{conversationTemplate:et,iconSize:"small",className:"shrink-0"}),(0,ei.jsx)("div",{title:et.name,className:"text-sm font-medium text-token-text-secondary line-clamp-1",children:et.name})]}),null!=et.published_at&&null!=et.description&&(0,ei.jsx)("div",{className:"mt-1 text-xs text-token-text-secondary line-clamp-2",children:et.description}),(0,ei.jsxs)("div",{className:"mt-1 text-xs text-token-text-tertiary",children:["by ",et.author_name]})]})}function eP(Y){return eh()(Y,eT)}var ej=(0,ep.Z)(eP);function eO(Y){var et=ej(Y.workspaceConversationTemplates);return(0,eb.useEffect)(function(){ed.m9.logEvent("chatgpt_show_templates_on_new_chat"),eu.A.logEvent(ec.M.showTemplatesOnNewChat)},[]),(0,ei.jsxs)("div",{className:"mb-6",children:[(0,ei.jsxs)("div",{className:"mb-4 flex justify-between",children:[(0,ei.jsx)("div",{className:"text-token-text-tertiary",children:"Get started with templates"}),(0,ei.jsx)("div",{children:(0,ei.jsxs)(eg(),{href:"/templates",className:"flex items-center gap-2 text-token-text-tertiary transition hover:text-token-text-primary",children:["Explore more ",(0,ei.jsx)(ek.dyY,{className:"icon-sm"})]})})]}),(0,ei.jsx)("div",{className:"grid min-h-[4rem] grid-cols-3 gap-4",children:et.map(function(Y){return(0,ei.jsx)(eM,{conversationTemplate:Y},Y.id)})})]})}},39368:function(Y,et,en){"use strict";en.d(et,{Ap:function(){return eG},BZ:function(){return e$},GS:function(){return eR},Id:function(){return ea},Ip:function(){return eM},Lm:function(){return eD},Ou:function(){return ei},Ym:function(){return eN},Zv:function(){return ez},bj:function(){return eo},dB:function(){return eY},e6:function(){return eP},h$:function(){return eB},h5:function(){return eA},i_:function(){return eW},jc:function(){return eF},k:function(){return ej},ki:function(){return eI},l1:function(){return eO},nm:function(){return eV},rm:function(){return eX},t9:function(){return eS},uJ:function(){return eZ},ur:function(){return eQ},yq:function(){return eK}});var ei,eo,ea,eu=en(21722),ec=en(38104),ed=en(61098),ef=en(86646),eh=en(66638),ep=en(17944),em=en(61236),eg=en(91006),ey=en(82473),eb=en(25494);en(2064);var ek=en(10721),ew=en(70079),e_=en(1454),eE=en(13002),eC=en(8844),eT=en(21950);en(25913),function(Y){Y.Private="private",Y.Published="published"}(ei||(ei={}));var eS="template",eA=50,eM=300,eP=300,ej=8e3;function eO(Y){return"/?".concat(eS,"=").concat(Y)}function eI(Y){var et=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,em.a)({queryKey:["conversation-templates",{workspaceId:Y}],queryFn:(0,eu._)(function(){return(0,ec.Jh)(this,function(et){return[2,ef.ZP.getWorkspaceConversationTemplates(Y)]})}),enabled:!et&&null!=Y})}function eN(Y){return(0,em.a)({queryKey:["conversation-templates",{workspaceId:Y,user:"me"}],queryFn:(0,eu._)(function(){return(0,ec.Jh)(this,function(et){return[2,ef.ZP.getMyConversationTemplates(Y)]})}),enabled:null!=Y})}function eL(Y,et){var en=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},ei=en.includeDeleted,eo=void 0!==ei&&ei;return(0,eg.C)({queryKey:["conversation-template",{workspaceId:Y,conversationTemplateId:et,includeDeleted:eo}],queryFn:(0,eu._)(function(){return(0,ec.Jh)(this,function(en){return[2,ef.ZP.getConversationTemplate(Y,et,{includeDeleted:eo})]})}),enabled:null!=et&&null!=Y})}function eR(Y,et){var en=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},ei=en.includeDeleted,eo=void 0!==ei&&ei;return(0,em.a)(eL(Y,et,{includeDeleted:eo}))}function eD(Y,et){var en=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},ei=en.includeDeleted,eo=void 0!==ei&&ei;return(0,em.a)(eL(Y,et,{includeDeleted:eo}))}function eF(Y){var et=(0,ey.NL)();return(0,eb.D)({mutationFn:function(){var et=(0,eu._)(function(et){var en,ei,eo,ea,eu,ed,eh,ep;return(0,ec.Jh)(this,function(ec){switch(ec.label){case 0:return ei=(en=et.templateData).name,eo=en.config,ea=en.description,eu=en.publish,ed=en.icon,eh=en.color,ep=en.profilePicId,[4,ef.ZP.createConversationTemplate(Y,ei,ea,eo,eu,ed,eh,ep)];case 1:return[2,ec.sent()]}})});return function(Y){return et.apply(this,arguments)}}(),onSettled:function(){et.refetchQueries({queryKey:["conversation-templates",{workspaceId:Y}]})}})}function eB(Y){var et=(0,ey.NL)();return(0,eb.D)({mutationFn:function(){var et=(0,eu._)(function(et){var en,ei;return(0,ec.Jh)(this,function(eo){switch(eo.label){case 0:return en=et.conversationTemplateId,ei=et.templateData,[4,ef.ZP.updateConversationTemplate(Y,en,ei)];case 1:return[2,eo.sent()]}})});return function(Y){return et.apply(this,arguments)}}(),onSettled:function(en){et.refetchQueries({queryKey:["conversation-templates",{workspaceId:Y}]}),en&&et.refetchQueries({queryKey:["conversation-template",{conversationTemplateId:en.id,workspaceId:Y}]})}})}function ez(Y){var et=(0,ey.NL)();return(0,eb.D)({mutationFn:function(){var et=(0,eu._)(function(et){var en;return(0,ec.Jh)(this,function(ei){switch(ei.label){case 0:return en=et.conversationTemplateId,[4,ef.ZP.deleteConversationTemplate(Y,en)];case 1:return[2,ei.sent()]}})});return function(Y){return et.apply(this,arguments)}}(),onSettled:function(){et.refetchQueries({queryKey:["conversation-templates",{workspaceId:Y}]})}})}!function(Y){Y.Box="box",Y.Briefcase="briefcase",Y.Coffee="coffee",Y.FileText="file_text",Y.Info="info",Y.LifeBuoy="life_buoy",Y.Pen="pen",Y.Tool="tool",Y.Book="book",Y.Chat="chat",Y.Clipboard="clipboard",Y.ColorSwatch="color_swatch",Y.Collection="collection",Y.EmojiHappy="emoji_happy",Y.EmojiSad="emoji_sad",Y.Fire="fire",Y.Globe="globe",Y.LightBulb="lightbulb",Y.Mail="mail",Y.Moon="moon",Y.Puzzle="puzzle",Y.Scale="scale",Y.ShoppingBag="shopping_bag",Y.SpeakerPhone="speaker_phone",Y.Terminal="terminal"}(eo||(eo={})),function(Y){Y.Blue="blue",Y.Teal="teal",Y.Green="green",Y.Yellow="yellow",Y.Orange="orange"}(ea||(ea={}));var eU=new Map([[eo.Box,e_.Wpg],[eo.LightBulb,eE.W79],[eo.Terminal,eE.nsz],[eo.Book,eE.HBT],[eo.Chat,eE.qa$],[eo.Pen,e_.nrB],[eo.FileText,e_.NOg],[eo.Mail,eE.Zuw],[eo.Clipboard,eE.GwR],[eo.Puzzle,eE.R27],[eo.ColorSwatch,eE.Wdx],[eo.Collection,eE.N7T],[eo.Moon,eE.Fxr],[eo.Scale,eE.E6e],[eo.ShoppingBag,eE.UzH],[eo.Briefcase,e_.ggF],[eo.Coffee,e_.Gpi],[eo.Tool,e_.V7f],[eo.SpeakerPhone,eE.Fhe],[eo.Fire,eE.nBS],[eo.Globe,eE.goM],[eo.LifeBuoy,e_.Px5],[eo.Info,e_.H33],[eo.EmojiHappy,eE.UUf],[eo.EmojiSad,eE.qX6]]),eH=new Map([[ea.Blue,"#7989FF"],[ea.Teal,"#00B3B3"],[ea.Green,"#19C37D"],[ea.Yellow,"#CFC52C"],[ea.Orange,"#FE7600"]]),eG=Array.from(eU.keys()),eV=Array.from(eH.keys());function eW(Y){var et;return null!==(et=eU.get(Y))&&void 0!==et?et:e_.Wpg}function eZ(Y){var et;return null!==(et=eH.get(Y))&&void 0!==et?et:"#7989FF"}function eK(){return eV[Math.floor(Math.random()*eV.length)]}function e$(Y,et){(0,ew.useEffect)(function(){eh.tQ.getOrInitThread(Y);var en=eh.tQ.getTree(Y);if(!en.findNode(function(Y){var et;return Y.message.author.role===ed.uU.User||(null===(et=Y.metadata)||void 0===et?void 0:et.isClientCreatedSystemMessage)===!0})&&(eh.tQ.deleteNodesByFilter(Y,function(Y){var et;return(null===(et=Y.metadata)||void 0===et?void 0:et.isPlaceholderTemplateAssistantWelcomeMessage)===!0}),null!=et&&0!==et.length)){var ei=eh.tQ.getThreadCurrentLeafId(Y);if(en.hasNodeOrMessageId(ei)){var eo=(0,eC.Z)();eh.tQ.updateTree(Y,function(Y){Y.addNode(eo,et,ei,ed.uU.Assistant,{isPlaceholderTemplateAssistantWelcomeMessage:!0})}),eh.tQ.setThreadCurrentLeafId(Y,eo)}}},[Y,et])}function eY(Y){var et=eQ(Y);e$(Y,null!=et&&"config"in et?et.config.assistant_welcome_message:""),(0,ew.useEffect)(function(){null!=et&&"id"in et&&(null==et?void 0:et.id)!=null&&eh.tQ.setNewThreadConversationModeMetadata(Y,{kind:ed.OL.BusinessTemplate,template_id:et.id})},[Y,et])}function eQ(Y){var et=(0,ep.ec)(function(Y){return Y.currentWorkspace}),en=eJ(Y);return eD(null==et?void 0:et.id,en).data}function eX(){var Y=(0,ek.useRouter)();return(0,eT.O_)(Y.asPath)}function eJ(Y){var et,en=(0,ek.useRouter)(),ei=eX(),eo=(0,eh.oq)(Y),ea=(0,eh.JI)(Y,eo);if(eh.iN.hasThread(Y)){var eu=en.query[eS];if(null!=ei?et=ei:"string"==typeof eu&&(et=eu),null!=et&&!ea.some(function(Y){return Y.role===ed.uU.User}))return et;var ec=eh.iN.getConversationTemplateId(Y);if(null!=ec)return ec}}},73779:function(Y,et,en){"use strict";en.d(et,{DP:function(){return eu},QH:function(){return ec},hh:function(){return eo},p_:function(){return ea}});var ei=en(70079),eo=ei.createContext({}),ea=function(){return(0,ei.useContext)(eo)},eu=ei.createContext({mode:void 0,getGizmoId:void 0}),ec=function(){return(0,ei.useContext)(eu)}},73780:function(Y,et,en){"use strict";en.d(et,{C:function(){return eo}});var ei=en(17944);function eo(Y){var et=(0,ei.hz)();return!(0,ei.ec)(ei.F_.isBusinessWorkspace)||et.has(Y)}},23155:function(Y,et,en){"use strict";en.d(et,{Z:function(){return eN}});var ei,eo=en(21722),ea=en(39324),eu=en(71209),ec=en(10064),ed=en(38104),ef=en(35250),eh=en(5053),ep=en(48133),em=en(96114),eg=en(94705),ey=en(7184),eb=en(40558),ek=en(89319),ew=en(72290),e_=en(86646),eE=en(82473),eC=en(25494),eT=en(70079),eS=en(1454),eA=en(70671),eM=en(32004),eP=en(94968),ej=en(81927);function eO(Y){var et=(0,eE.NL)();return(0,eC.D)({mutationFn:function(et){var en=et.hostname;return e_.ZP.addDomainToWorkspace(Y,en)},onSuccess:function(){et.invalidateQueries({queryKey:["workspace/identity",Y]}),et.invalidateQueries({queryKey:["builderProfile"]})}})}function eI(Y){var et=(0,eE.NL)();return(0,eC.D)({mutationFn:function(et){var en=et.domainId;return e_.ZP.checkDomainForWorkspace(Y,en)},onSuccess:function(){et.invalidateQueries({queryKey:["workspace/identity",Y]})}})}function eN(Y){var et=Y.workspaceId,en=Y.isOpen,ep=Y.onClose,eb=Y.currentDomain,ek=Y.domains,e_=void 0===ek?[]:ek,eE=Y.showUnverifiedDomains,eC=void 0!==eE&&eE,eS=(0,eA.Z)(),eP=eO(et),ej=eP.mutateAsync,eN=eP.isPending,eL=eI(et),eF=eL.mutateAsync,eB=eL.isPending,ez=(0,ec._)((0,eT.useState)(null!=eb?eb:void 0),2),eU=ez[0],eH=ez[1],eG=(0,ec._)((0,eT.useState)(null==eb?void 0:eb.hostname),2),eV=eG[0],eW=eG[1],eZ=(0,ec._)((0,eT.useState)((null==eb?void 0:eb.status)===void 0?ei.INITIAL:(null==eb?void 0:eb.status)===eh.pT.PENDING?ei.PENDING:ei.FINAL),2),eK=eZ[0],e$=eZ[1],eY=function(){eb||(eH(void 0),e$(ei.INITIAL))},eQ=function(){var Y=(0,eo._)(function(){var Y,et;return(0,ed.Jh)(this,function(en){switch(en.label){case 0:if(void 0===eV)return[2];if(!(Y=e_.find(function(Y){return Y.hostname===eV&&Y.status===eh.pT.PENDING})))return[3,1];return eH(Y),e$(ei.PENDING),[3,3];case 1:return[4,ej({hostname:eV})];case 2:"error"in(et=en.sent())&&ew.m.danger(et.error.message),"id"in et&&eH(et),e$(ei.PENDING),en.label=3;case 3:return[2]}})});return function(){return Y.apply(this,arguments)}}(),eX=(0,ef.jsx)(eg.ZP.Button,{title:eS.formatMessage(eD.check),color:"primary",disabled:(null==eU?void 0:eU.id)===void 0||eB,onClick:(0,eo._)(function(){var Y;return(0,ed.Jh)(this,function(et){switch(et.label){case 0:if(!(null==eU?void 0:eU.id))return[3,2];return[4,eF({domainId:eU.id})];case 1:"error"in(Y=et.sent())&&ew.m.danger(eS.formatMessage(eD.domainCheckError)),"id"in Y&&Y.status===eh.pT.VERIFIED&&e$(ei.FINAL),et.label=2;case 2:return[2]}})})}),eJ=(0,ef.jsx)(eg.ZP.Button,{title:eS.formatMessage(eD.submit),color:"primary",disabled:void 0===eV||eN,onClick:eQ}),e0=(0,ef.jsx)(eg.ZP.Button,{title:eS.formatMessage(eD.done),color:"primary",onClick:function(){eY(),ep()}});return(0,ef.jsxs)(ey.Z,{isOpen:en,onClose:function(){eY(),ep()},type:"success",className:"text-token-text-secondary",title:eS.formatMessage(eK===ei.INITIAL?eD.newTitle:eD.editTitle),primaryButton:eK===ei.INITIAL?eJ:eK===ei.PENDING?eX:e0,secondaryButton:(0,ef.jsx)(eg.ZP.Button,{title:eS.formatMessage(eD.cancel),color:"neutral",onClick:function(){eY(),ep()}}),children:[eK===ei.INITIAL&&(0,ef.jsx)(eR,{hostname:eV,onSetHostname:eW,onSubmit:eQ,unverifiedDomains:eC?e_:[],onVerifyDomain:function(Y){e$(ei.PENDING),eH(Y)},workspaceId:et}),eK===ei.PENDING&&(0,ef.jsxs)("div",{className:"flex flex-col gap-3",children:[eS.formatMessage(eD.verificationTokenMessage,{hostname:null==eU?void 0:eU.hostname}),(null==eU?void 0:eU.dns_verification_token_string)&&(0,ef.jsx)(em.Z,{value:eU.dns_verification_token_string,onCopied:function(){ew.m.success(eS.formatMessage(eD.copiedTXTRecordToClipboard),{duration:3})}}),(0,ef.jsx)(eM.Z,(0,ea._)({},eD.verificationTokenFooter))]}),eK===ei.FINAL&&(0,ef.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,ef.jsx)(eM.Z,(0,eu._)((0,ea._)({},eD.successfulVerification),{values:{hostname:null==eU?void 0:eU.hostname}})),(null==eU?void 0:eU.dns_verification_token_string)&&(0,ef.jsx)(em.Z,{value:eU.dns_verification_token_string,onCopied:function(){ew.m.success(eS.formatMessage(eD.copiedTXTRecordToClipboard),{duration:3})}})]})]})}function eL(Y){var et=Y.unverifiedDomains,en=Y.onVerifyDomain,ei=Y.workspaceId,eo=(0,ej.Bd)(ei).mutateAsync;return(0,ef.jsxs)(eb.Z.Root,{fixed:!0,size:"compact",className:"mb-6 border-b border-token-border-light",children:[(0,ef.jsxs)(eb.Z.Header,{children:[(0,ef.jsx)(eb.Z.HeaderCell,{children:(0,ef.jsx)(eM.Z,(0,ea._)({},eD.unverifiedDomainsTableHeader))}),(0,ef.jsx)(eb.Z.HeaderCell,{textAlign:"right"})]}),et.map(function(Y){return(0,ef.jsxs)(eb.Z.Row,{children:[(0,ef.jsx)(eb.Z.Cell,{children:Y.hostname}),(0,ef.jsx)(eb.Z.Cell,{textAlign:"right",children:(0,ef.jsxs)("div",{className:"flex gap-2",children:[(0,ef.jsx)(ep.z,{color:"neutral",size:"small",onClick:function(){return en(Y)},children:(0,ef.jsx)(eM.Z,(0,ea._)({},eD.verifyDomainButton))}),(0,ef.jsx)(ep.z,{color:"neutral",size:"small",onClick:function(){return eo({domainId:Y.id})},children:(0,ef.jsx)(eS.We9,{className:"icon-sm"})})]})})]},Y.id)})]})}function eR(Y){var et=Y.hostname,en=Y.onSetHostname,ei=Y.onSubmit,eo=Y.unverifiedDomains,eu=Y.onVerifyDomain,ec=Y.workspaceId,ed=(0,eA.Z)();return(0,ef.jsxs)(ef.Fragment,{children:[eo&&eo.length>0&&(0,ef.jsx)(eL,{workspaceId:ec,unverifiedDomains:eo,onVerifyDomain:eu}),(0,ef.jsx)("form",{onSubmit:function(Y){Y.preventDefault(),ei()},children:(0,ef.jsxs)("div",{className:"mb-4",children:[(0,ef.jsx)("label",{className:"mb-2 flex items-center text-sm font-medium",children:(0,ef.jsx)(eM.Z,(0,ea._)({},eD.domainInput))}),(0,ef.jsx)(ek.Z,{name:"hostname",placeholder:ed.formatMessage(eD.placeholder),value:null!=et?et:"",onChange:function(Y){en(Y.target.value)}})]})})]})}!function(Y){Y[Y.INITIAL=0]="INITIAL",Y[Y.PENDING=1]="PENDING",Y[Y.FINAL=2]="FINAL"}(ei||(ei={}));var eD=(0,eP.vU)({newTitle:{id:"domainModal.newTitle.0",defaultMessage:"Verify a new domain",description:"The title for the domain modal in new mode."},editTitle:{id:"domainModal.editTitle",defaultMessage:"Manage Domain",description:"The title for the domain modal in edit mode."},submit:{id:"domainModal.submit",defaultMessage:"Submit",description:"The label for the submit button."},check:{id:"domainModal.check",defaultMessage:"Check",description:"The label for the check button."},done:{id:"domainModal.done",defaultMessage:"Done",description:"The label for the done button."},cancel:{id:"domainModal.cancel",defaultMessage:"Cancel",description:"The label for the cancel button."},domainInput:{id:"domainModal.domainInput.0",defaultMessage:"Add a new domain",description:"The label for the domain input."},placeholder:{id:"domainModal.placeholder",defaultMessage:"openai.com",description:"The placeholder text domain input."},domainCheckError:{id:"domainModal.domainCheckError",defaultMessage:"Your domain could not be verified. Make sure you've correctly set the TXT record above. DNS records may take up to 30 minutes to propagate.",description:"Error message when domain cannot be successfully verified."},verificationTokenMessage:{id:"domainModal.verificationTokenMessage",defaultMessage:"To verify ownership of {hostname}, navigate to your DNS provider and add a TXT record with this value:",description:"Message that informs the user how to verify their domain."},verificationTokenFooter:{id:"domainModal.verificationTokenFooter",defaultMessage:"Then, check the record to complete the verification.",description:"Message that informs the user how to verify their domain."},successfulVerification:{id:"domainModal.successfulVerification.0",defaultMessage:'Your domain, "{hostname}" has been successfully verified',description:"Message showing the user their domain verification is complete.."},copiedTXTRecordToClipboard:{id:"domainModal.copiedTXTRecordToClipboard",defaultMessage:"Copied DNS TXT record to clipboard",description:"Message informing the user their TXT record has been copied."},verifyDomainButton:{id:"domainModal.verifyDomainButton",defaultMessage:"Verify",description:"The label for the verify button."},unverifiedDomainsTableHeader:{id:"domainModal.unverifiedDomainsTableHeader",defaultMessage:"Your unverified domains",description:"The header for the unverified domains table."}})},81927:function(Y,et,en){"use strict";en.d(et,{Bd:function(){return eT},DD:function(){return eM},Fc:function(){return eA},Ji:function(){return eC},OR:function(){return eP},f_:function(){return e_},sd:function(){return eO},yp:function(){return eE},z0:function(){return ej}});var ei,eo=en(21722),ea=en(96237),eu=en(4337),ec=en(38104),ed=en(5053),ef=en(72290),eh=en(86646),ep=en(17944),em=en(61236),eg=en(25494),ey=en(82473),eb=en(70671),ek=en(94968);function ew(){var Y=(0,eu._)(["text-md mb-4 text-gray-600 dark:text-gray-300"]);return ew=function(){return Y},Y}function e_(Y,et){return(0,em.a)({queryKey:["workspace/identity",Y],queryFn:(0,eo._)(function(){return(0,ec.Jh)(this,function(et){switch(et.label){case 0:if(void 0===Y)return[2,void 0];return[4,eh.ZP.getWorkspaceIdentitySettings(Y)];case 1:return[2,et.sent()]}})}),enabled:et})}function eE(){var Y,et=(0,ep.ec)(ep.F_.workspaceId),en=e_(null!=et?et:void 0,null!=et).data,ei=(null==en?void 0:en.sso_connection)!==null,eo=(null==en?void 0:null===(Y=en.sso_connection)||void 0===Y?void 0:Y.status)==="ACTIVE";return ei&&eo}function eC(Y){var et=(0,eb.Z)();return(0,eg.D)({mutationFn:function(en){var ei=en.shouldAutoProvision;return eh.ZP.setWorkspaceShouldAutoProvision(Y,ei).then(function(Y){var en=ei?eI.autoProvisionEnabledToast:eI.autoProvisionDisabledToast;return ef.m.success(et.formatMessage(en),{duration:3}),Y}).catch(function(Y){throw ef.m.danger(Y.message),Y})}})}function eT(Y){var et=(0,ey.NL)();return(0,eg.D)({mutationFn:function(et){var en=et.domainId;return eh.ZP.removeDomainFromWorkspace(Y,en)},onSuccess:function(){et.refetchQueries({queryKey:["workspace/identity",Y]}),et.refetchQueries({queryKey:["builderProfile"]})}})}function eS(Y){var et=Y;return et.startsWith("-----BEGIN")||(et="-----BEGIN CERTIFICATE-----\n".concat(et)),et.endsWith("CERTIFICATE-----")||(et="".concat(et,"\n-----END CERTIFICATE-----")),et}function eA(Y){var et=(0,ey.NL)();return(0,eg.D)({mutationFn:function(et){var en=et.signInEndpoint,ei=et.cert;return eh.ZP.createSAMLConnection(Y,en,eS(ei))},onSuccess:function(){et.refetchQueries({queryKey:["workspace/identity",Y]})}})}function eM(Y){var et=(0,ey.NL)();return(0,eg.D)({mutationFn:function(et){var en=et.connectionId,ei=et.signInEndpoint,eo=et.cert,ea=et.active,eu=et.enforcedClients;return eh.ZP.updateSAMLConnection(Y,en,{signInEndpoint:ei,cert:void 0!==eo?eS(eo):void 0,active:ea,enforcedClients:eu})},onSuccess:function(){et.refetchQueries({queryKey:["workspace/identity",Y]})}})}function eP(Y){var et=(0,ey.NL)();return(0,eg.D)({mutationFn:function(et){var en=et.connectionId;return eh.ZP.deleteSAMLConnection(Y,en)},onSuccess:function(){et.refetchQueries({queryKey:["workspace/identity",Y]})}})}var ej=en(21389).Z.div(ew()),eO=(ei={},(0,ea._)(ei,ed.pT.VERIFIED,"Verified"),(0,ea._)(ei,ed.pT.PENDING,"Pending"),(0,ea._)(ei,ed.pT.EXPIRED,"Expired"),ei),eI=(0,ek.vU)({autoProvisionEnabledToast:{id:"workspaceIdentity.autoProvisionEnabledToast",defaultMessage:"Auto provisioning enabled for this workspace",description:"Toast message for enabling auto provisioning"},autoProvisionDisabledToast:{id:"workspaceIdentity.autoProvisionDisabledToast",defaultMessage:"Auto provisioning disabled for this workspace",description:"Toast message for disabling auto provisioning"}})},31448:function(Y,et,en){"use strict";var ei;en.d(et,{y:function(){return ei}}),function(Y){Y.LINKEDIN="linkedin",Y.TWITTER="twitter",Y.INSTAGRAM="instagram",Y.GITHUB="github",Y.NAME="name",Y.WEBSITE="website"}(ei||(ei={}))},41955:function(Y,et,en){"use strict";en.d(et,{B$:function(){return ep},Yk:function(){return eh},hx:function(){return em}});var ei=en(96237),eo=en(39324),ea=en(71209),eu=en(43477),ec=en(78103),ed=(0,eu.Z)(function(){return{activeRequests:{}}}),ef=(0,ec.ZP)(ed);function eh(Y){return ef(function(et){return null!=et.activeRequests[Y]})}function ep(){return ef(function(Y){return Object.keys(Y.activeRequests).length>0})}var em={addRequest:function(Y,et){ed.setState(function(en){return{activeRequests:(0,ea._)((0,eo._)({},en.activeRequests),(0,ei._)({},Y,{id:Y,abortController:et}))}})},removeRequest:function(Y){ed.setState(function(et){var en=(0,eo._)({},et.activeRequests);return delete en[Y],{activeRequests:en}})},clear:function(){ed.setState({activeRequests:{}})},abortRequest:function(Y){var et=ed.getState().activeRequests;return null!=et[Y]&&(et[Y].abortController.abort(),em.removeRequest(Y),!0)},abortRequests:function(Y){var et=ed.getState().activeRequests,en=(0,eo._)({},et),ei=!0,ea=!1,eu=void 0;try{for(var ec,ef=Y[Symbol.iterator]();!(ei=(ec=ef.next()).done);ei=!0){var eh=ec.value;null!=en[eh]&&(en[eh].abortController.abort(),delete en[eh])}}catch(Y){ea=!0,eu=Y}finally{try{ei||null==ef.return||ef.return()}finally{if(ea)throw eu}}ed.setState({activeRequests:en})},abortAllRequests:function(){Object.values(ed.getState().activeRequests).forEach(function(Y){Y.abortController.abort()}),em.clear()}}},21682:function(Y,et,en){"use strict";en.d(et,{$H:function(){return ey},CX:function(){return eb},T$:function(){return eg},Ub:function(){return e_},fv:function(){return ek}});var ei=en(21722),eo=en(39324),ea=en(71209),eu=en(38104),ec=en(86646),ed=en(87743),ef=en(61236),eh=en(82473),ep=en(25494),em="compliance";function eg(Y){var et=Y.enabled,en=Y.select;return(0,ef.a)({queryKey:[em],queryFn:(0,ei._)(function(){return(0,eu.Jh)(this,function(Y){switch(Y.label){case 0:return[4,ec.ZP.getCompliance()];case 1:return[2,Y.sent()]}})}),select:en,enabled:et})}function ey(){var Y=(0,eh.NL)();return(0,ep.D)({mutationFn:(0,ei._)(function(){return(0,eu.Jh)(this,function(Y){switch(Y.label){case 0:return[4,ec.ZP.acceptTermsOfUse()];case 1:return[2,Y.sent()]}})}),onSettled:function(){Y.refetchQueries({queryKey:[em]})}})}function eb(){var Y=(0,eh.NL)();return(0,ep.D)({mutationFn:function(){var Y=(0,ei._)(function(Y){return(0,eu.Jh)(this,function(et){switch(et.label){case 0:return[4,ec.ZP.updateCookieConsentCompliance(Y)];case 1:return[2,et.sent()]}})});return function(et){return Y.apply(this,arguments)}}(),onSettled:function(){Y.refetchQueries({queryKey:[em]})},onMutate:function(){var et=(0,ei._)(function(et){var en;return(0,eu.Jh)(this,function(ei){switch(ei.label){case 0:return[4,Y.cancelQueries({queryKey:[em]})];case 1:return ei.sent(),en=Y.getQueryData([em]),Y.setQueryData([em],function(Y){if(void 0!==Y)return(0,ea._)((0,eo._)({},Y),{cookie_consent:(0,eo._)({},Y.cookie_consent,et)})}),[2,{previousValue:en}]}})});return function(Y){return et.apply(this,arguments)}}(),onError:function(et,en,ei){void 0!==ei&&Y.setQueryData([em],ei.previousValue)}})}function ek(Y){var et=Y.serverPrimedAllowBrowserStorageValue,en=eg({enabled:Y.enabled,select:function(Y){return!0===Y.cookie_consent.analytics_cookies_accepted}}),ei=en.data;return en.isLoading?et:null!=ei&&ei}function ew(Y){return eg({enabled:Y,select:function(Y){return Y.registration_country}})}function e_(Y){var et=ew(Y).data;return null!=et&&et in ed.sR}},65129:function(Y,et,en){"use strict";var ei=en(39324),eo=en(71209),ea=en(70216),eu=en(35250),ec=en(47428),ed=en(19841),ef=en(70079),eh=en(1454),ep=en(16214);function em(Y){var et;return(0,eu.jsx)(ep.ay,(0,eo._)((0,ei._)({},Y),{$as:ec.VY,sideOffset:4,align:null!==(et=Y.align)&&void 0!==et?et:"start"}))}function eg(Y){return(0,eu.jsx)(ep.J7,(0,ei._)({$as:ec.xz},Y))}function ey(Y,et){var en=Y.onSelect,eo=(0,ea._)(Y,["onSelect"]);return(0,eu.jsx)(ep.mS,(0,ei._)({$as:ec.ck,ref:et,onSelect:en},eo))}function eb(Y){var et=Y.className,en=(0,ea._)(Y,["className"]);return(0,eu.jsx)(ec.Z0,(0,ei._)({className:(0,ed.default)("my-1 h-[1px] bg-token-surface-tertiary",et)},en))}function ek(Y){var et=Y.onSelect,en=Y.children,ed=(0,ea._)(Y,["onSelect","children"]);return(0,eu.jsxs)(ep.gb,(0,eo._)((0,ei._)({$as:ec.Rk,onSelect:et},ed),{children:[(0,eu.jsx)(ec.wU,{className:"absolute",children:(0,eu.jsx)(eh.UgA,{className:"icon-sm"})}),(0,eu.jsx)("span",{className:"ml-6",children:en})]}))}var ew={Root:ec.fC,Trigger:eg,Portal:ec.Uv,Content:em,Item:ef.forwardRef(ey),Separator:eb,RadioGroup:ec.Ee,RadioItem:ek};et.Z=ew},10558:function(Y,et,en){"use strict";en.d(et,{l:function(){return eh}});var ei=en(10064),eo=en(35250),ea=en(71950),eu=en(11615),ec=en(19841),ed=en(70079),ef=en(1454);function eh(Y){var et=(0,ei._)((0,ed.useState)({width:0,height:0}),2),en=et[0],eh=et[1],ep=en.width/en.height,em=en.width>0&&en.height>0;return(0,ed.useEffect)(function(){if(!Y.src)throw Error("ExpandableImage requires a src");var et=new Image;et.onload=function(){eh({width:et.naturalWidth,height:et.naturalHeight})},et.onerror=function(){eu.D0&&console.error("Could not load image ".concat(Y.src))},et.src=Y.src},[Y.src]),(0,eo.jsxs)(ea.fC,{children:[(0,eo.jsx)(ea.xz,{className:Y.className,disabled:!em,children:Y.children}),(0,eo.jsx)(ea.h_,{children:(0,eo.jsxs)(ea.aV,{className:"fixed inset-0 flex items-center justify-center overflow-hidden bg-black/90 radix-state-open:animate-show dark:bg-black/80",children:[(0,eo.jsx)(ea.x8,{asChild:!0,children:(0,eo.jsx)("button",{className:"absolute right-4 top-4 text-gray-50 transition hover:text-gray-200",children:(0,eo.jsx)(ef.q5L,{className:"h-5 w-5"})})}),(0,eo.jsx)(ea.VY,{className:(0,ec.default)("relative max-h-[85vh] max-w-[90vw] shadow-xl focus:outline-none radix-state-open:animate-contentShow"),style:{aspectRatio:ep},children:(0,eo.jsx)("img",{src:Y.src,alt:Y.alt,className:"h-full w-full object-contain"})})]})})]})}},94705:function(Y,et,en){"use strict";en.d(et,{mH:function(){return ek}});var ei=en(39324),eo=en(71209),ea=en(70216),eu=en(4337),ec=en(35250),ed=en(71950),ef=en(19841),eh=en(70079),ep=en(1454),em=en(21389),eg=en(48133);function ey(){var Y=(0,eu._)(["grid-cols-[10px_1fr_10px] grid h-full w-full grid-rows-[minmax(10px,_1fr)_auto_minmax(10px,_1fr)] md:grid-rows-[minmax(20px,_1fr)_auto_minmax(20px,_1fr)] overflow-y-auto"]);return ey=function(){return Y},Y}function eb(){var Y=(0,eu._)(["px-4 pb-4 pt-5 sm:p-6 flex items-center justify-between ",""]);return eb=function(){return Y},Y}var ek=function(Y){var et=Y.color,en=void 0===et?"neutral":et,eu=Y.title,ed=Y.children,ef=(0,ea._)(Y,["color","title","children"]);return(0,ec.jsx)(eg.z,(0,eo._)((0,ei._)({as:"button",color:en},ef),{children:null!=eu?eu:ed}))},ew=(0,eh.forwardRef)(function(Y,et){var en=Y.onClose;return(0,ec.jsx)("button",{ref:et,className:"text-gray-500 transition hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200",onClick:en,children:(0,ec.jsx)(ep.q5L,{size:20})})});function e_(Y){var et=Y.isOpen,en=Y.onClose,ei=Y.children,eo=Y.shouldIgnoreClickOutside,ea=void 0!==eo&&eo;return(0,ec.jsx)(ed.fC,{open:et,onOpenChange:function(Y){ea||!1!==Y||en(!1)},children:(0,ec.jsx)(ed.h_,{children:(0,ec.jsx)("div",{className:"absolute inset-0",children:ei})})})}function eE(Y){var et=Y.className,en=Y.children;return(0,ec.jsx)(ed.aV,{className:(0,ef.default)("fixed inset-0 bg-black/50 dark:bg-gray-600/70",et),children:en})}function eC(Y){var et=Y.className,en=Y.children;return(0,ec.jsx)(eP,{children:(0,ec.jsx)(ed.VY,{className:(0,ef.default)("relative col-auto col-start-2 row-auto row-start-2 w-full rounded-xl text-left shadow-xl transition-all","left-1/2 -translate-x-1/2","bg-white dark:bg-gray-900",et),children:en})})}function eT(Y){var et=Y.title,en=Y.description,ei=Y.icon,eo=Y.type;return(0,ec.jsxs)("div",{className:"flex items-center",children:[(0,ec.jsx)(eM,{icon:ei,type:eo}),(0,ec.jsxs)("div",{className:"flex grow flex-col gap-1",children:[null!=et&&(0,ec.jsx)(ed.Dx,{as:"h3",className:"text-lg font-medium leading-6 text-gray-900 dark:text-gray-200",children:et}),null!=en&&(0,ec.jsx)(ed.dk,{className:"text-sm text-gray-500 dark:text-gray-100",children:en})]})]})}function eS(Y){var et=Y.title,en=Y.description,ei=Y.withSeparator,eo=void 0===ei||ei,ea=Y.icon,eu=Y.type,ef=Y.closeButton;return!1==!!et&&!1==!!en?null:(0,ec.jsxs)(ej,{$hasSeparator:eo,children:[(0,ec.jsx)("div",{className:"flex",children:(0,ec.jsx)(eT,{title:et,description:en,icon:ea,type:eu})}),null!=ef&&(0,ec.jsx)(ed.x8,{asChild:!0,className:"sm:mt-0",children:ef})]})}function eA(Y){var et=Y.primaryButton,en=Y.secondaryButton,ei=Y.isSpacedBetween,eo=void 0!==ei&&ei;return null==et&&null==en?null:(0,ec.jsxs)("div",{className:(0,ef.default)("mt-5 flex flex-col gap-3 sm:mt-4 sm:flex-row-reverse",eo&&"justify-between"),children:[et,en]})}var eM=function(Y){var et=Y.type,en=Y.icon;return null==en?null:(0,ec.jsx)("div",{className:(0,ef.default)("mr-4 flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full sm:h-10 sm:w-10","danger"===et&&"bg-red-100","warning"===et&&"bg-yellow-100","success"===et&&"bg-green-100"),children:(0,ec.jsx)(en,{className:(0,ef.default)("icon-lg","danger"===et&&"text-red-600","warning"===et&&"text-yellow-700","success"===et&&"text-green-700"),"aria-hidden":"true"})})},eP=em.Z.div(ey()),ej=em.Z.div(eb(),function(Y){return Y.$hasSeparator&&"border-b border-black/10 dark:border-white/10"}),eO={Root:e_,Overlay:eE,Content:eC,Title:eT,Header:eS,Actions:eA,Button:ek,CloseButton:ew};et.ZP=eO},62470:function(Y,et,en){"use strict";en.d(et,{Z:function(){return nW}});var ei=en(39324),eo=en(71209),ea=en(70216),eu=en(35250),ec=en(45675),ed=en(70079),ef=en(99581);function eh(Y,[et,en]){return Math.min(en,Math.max(et,Y))}var ep=en(10132),em=en(89340),eg=en(68469),ey=en(53559),eb=en(74400),ek=en(98057),ew=en(83544),e_=en(5527),eE=en(8859),eC=en(51629);let eT="focusScope.autoFocusOnMount",eS="focusScope.autoFocusOnUnmount",eA={bubbles:!1,cancelable:!0},eM=(0,ed.forwardRef)((Y,et)=>{let{loop:en=!1,trapped:ei=!1,onMountAutoFocus:eo,onUnmountAutoFocus:ea,...eu}=Y,[ec,ef]=(0,ed.useState)(null),eh=(0,eC.W)(eo),ep=(0,eC.W)(ea),em=(0,ed.useRef)(null),ey=(0,eg.e)(et,Y=>ef(Y)),eb=(0,ed.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,ed.useEffect)(()=>{if(ei){function Y(Y){if(eb.paused||!ec)return;let et=Y.target;ec.contains(et)?em.current=et:eR(em.current,{select:!0})}function et(Y){if(eb.paused||!ec)return;let et=Y.relatedTarget;null===et||ec.contains(et)||eR(em.current,{select:!0})}function en(Y){let et=document.activeElement;for(let en of Y)en.removedNodes.length>0&&!(null!=ec&&ec.contains(et))&&eR(ec)}document.addEventListener("focusin",Y),document.addEventListener("focusout",et);let ei=new MutationObserver(en);return ec&&ei.observe(ec,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",Y),document.removeEventListener("focusout",et),ei.disconnect()}}},[ei,ec,eb.paused]),(0,ed.useEffect)(()=>{if(ec){eD.add(eb);let Y=document.activeElement,et=ec.contains(Y);if(!et){let et=new CustomEvent(eT,eA);ec.addEventListener(eT,eh),ec.dispatchEvent(et),et.defaultPrevented||(eP(ez(eO(ec)),{select:!0}),document.activeElement===Y&&eR(ec))}return()=>{ec.removeEventListener(eT,eh),setTimeout(()=>{let et=new CustomEvent(eS,eA);ec.addEventListener(eS,ep),ec.dispatchEvent(et),et.defaultPrevented||eR(null!=Y?Y:document.body,{select:!0}),ec.removeEventListener(eS,ep),eD.remove(eb)},0)}}},[ec,eh,ep,eb]);let ek=(0,ed.useCallback)(Y=>{if(!en&&!ei||eb.paused)return;let et="Tab"===Y.key&&!Y.altKey&&!Y.ctrlKey&&!Y.metaKey,eo=document.activeElement;if(et&&eo){let et=Y.currentTarget,[ei,ea]=ej(et),eu=ei&&ea;eu?Y.shiftKey||eo!==ea?Y.shiftKey&&eo===ei&&(Y.preventDefault(),en&&eR(ea,{select:!0})):(Y.preventDefault(),en&&eR(ei,{select:!0})):eo===et&&Y.preventDefault()}},[en,ei,eb.paused]);return(0,ed.createElement)(eE.WV.div,(0,e_.Z)({tabIndex:-1},eu,{ref:ey,onKeyDown:ek}))});function eP(Y,{select:et=!1}={}){let en=document.activeElement;for(let ei of Y)if(eR(ei,{select:et}),document.activeElement!==en)return}function ej(Y){let et=eO(Y),en=eI(et,Y),ei=eI(et.reverse(),Y);return[en,ei]}function eO(Y){let et=[],en=document.createTreeWalker(Y,NodeFilter.SHOW_ELEMENT,{acceptNode:Y=>{let et="INPUT"===Y.tagName&&"hidden"===Y.type;return Y.disabled||Y.hidden||et?NodeFilter.FILTER_SKIP:Y.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;en.nextNode();)et.push(en.currentNode);return et}function eI(Y,et){for(let en of Y)if(!eN(en,{upTo:et}))return en}function eN(Y,{upTo:et}){if("hidden"===getComputedStyle(Y).visibility)return!0;for(;Y&&(void 0===et||Y!==et);){if("none"===getComputedStyle(Y).display)return!0;Y=Y.parentElement}return!1}function eL(Y){return Y instanceof HTMLInputElement&&"select"in Y}function eR(Y,{select:et=!1}={}){if(Y&&Y.focus){let en=document.activeElement;Y.focus({preventScroll:!0}),Y!==en&&eL(Y)&&et&&Y.select()}}let eD=eF();function eF(){let Y=[];return{add(et){let en=Y[0];et!==en&&(null==en||en.pause()),(Y=eB(Y,et)).unshift(et)},remove(et){var en;null===(en=(Y=eB(Y,et))[0])||void 0===en||en.resume()}}}function eB(Y,et){let en=[...Y],ei=en.indexOf(et);return -1!==ei&&en.splice(ei,1),en}function ez(Y){return Y.filter(Y=>"A"!==Y.tagName)}var eU=en(70494),eH=en(84256),eG=en(88905);let eV=Y=>{let{element:et,padding:en}=Y;function ei(Y){return({}).hasOwnProperty.call(Y,"current")}return{name:"arrow",options:Y,fn(Y){if(et&&ei(et)){if(null!=et.current)return(0,eH.x7)({element:et.current,padding:en}).fn(Y)}else if(et)return(0,eH.x7)({element:et,padding:en}).fn(Y);return{}}}};var eW="undefined"!=typeof document?ed.useLayoutEffect:ed.useEffect;function eZ(Y,et){let en,ei,eo;if(Y===et)return!0;if(typeof Y!=typeof et)return!1;if("function"==typeof Y&&Y.toString()===et.toString())return!0;if(Y&&et&&"object"==typeof Y){if(Array.isArray(Y)){if((en=Y.length)!=et.length)return!1;for(ei=en;0!=ei--;)if(!eZ(Y[ei],et[ei]))return!1;return!0}if((en=(eo=Object.keys(Y)).length)!==Object.keys(et).length)return!1;for(ei=en;0!=ei--;)if(!({}).hasOwnProperty.call(et,eo[ei]))return!1;for(ei=en;0!=ei--;){let en=eo[ei];if(("_owner"!==en||!Y.$$typeof)&&!eZ(Y[en],et[en]))return!1}return!0}return Y!=Y&&et!=et}function eK(Y){if("undefined"==typeof window)return 1;let et=Y.ownerDocument.defaultView||window;return et.devicePixelRatio||1}function e$(Y,et){let en=eK(Y);return Math.round(et*en)/en}function eY(Y){let et=ed.useRef(Y);return eW(()=>{et.current=Y}),et}function eQ(Y){void 0===Y&&(Y={});let{placement:et="bottom",strategy:en="absolute",middleware:ei=[],platform:eo,elements:{reference:ea,floating:eu}={},transform:ec=!0,whileElementsMounted:eh,open:ep}=Y,[em,eg]=ed.useState({x:0,y:0,strategy:en,placement:et,middlewareData:{},isPositioned:!1}),[ey,eb]=ed.useState(ei);eZ(ey,ei)||eb(ei);let[ek,ew]=ed.useState(null),[e_,eE]=ed.useState(null),eC=ed.useCallback(Y=>{Y!=eM.current&&(eM.current=Y,ew(Y))},[ew]),eT=ed.useCallback(Y=>{Y!==eP.current&&(eP.current=Y,eE(Y))},[eE]),eS=ea||ek,eA=eu||e_,eM=ed.useRef(null),eP=ed.useRef(null),ej=ed.useRef(em),eO=eY(eh),eI=eY(eo),eN=ed.useCallback(()=>{if(!eM.current||!eP.current)return;let Y={placement:et,strategy:en,middleware:ey};eI.current&&(Y.platform=eI.current),(0,eG.oo)(eM.current,eP.current,Y).then(Y=>{let et={...Y,isPositioned:!0};eL.current&&!eZ(ej.current,et)&&(ej.current=et,ef.flushSync(()=>{eg(et)}))})},[ey,et,en,eI]);eW(()=>{!1===ep&&ej.current.isPositioned&&(ej.current.isPositioned=!1,eg(Y=>({...Y,isPositioned:!1})))},[ep]);let eL=ed.useRef(!1);eW(()=>(eL.current=!0,()=>{eL.current=!1}),[]),eW(()=>{if(eS&&(eM.current=eS),eA&&(eP.current=eA),eS&&eA){if(eO.current)return eO.current(eS,eA,eN);eN()}},[eS,eA,eN,eO]);let eR=ed.useMemo(()=>({reference:eM,floating:eP,setReference:eC,setFloating:eT}),[eC,eT]),eD=ed.useMemo(()=>({reference:eS,floating:eA}),[eS,eA]),eF=ed.useMemo(()=>{let Y={position:en,left:0,top:0};if(!eD.floating)return Y;let et=e$(eD.floating,em.x),ei=e$(eD.floating,em.y);return ec?{...Y,transform:"translate("+et+"px, "+ei+"px)",...eK(eD.floating)>=1.5&&{willChange:"transform"}}:{position:en,left:et,top:ei}},[en,ec,eD.floating,em.x,em.y]);return ed.useMemo(()=>({...em,update:eN,refs:eR,elements:eD,floatingStyles:eF}),[em,eN,eR,eD,eF])}let eX=(0,ed.forwardRef)((Y,et)=>{let{children:en,width:ei=10,height:eo=5,...ea}=Y;return(0,ed.createElement)(eE.WV.svg,(0,e_.Z)({},ea,{ref:et,width:ei,height:eo,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),Y.asChild?en:(0,ed.createElement)("polygon",{points:"0,0 30,0 15,10"}))}),eJ=eX;var e0=en(90671),e9=en(86648);let e5="Popper",[e4,e3]=(0,ey.b)(e5),[e6,e7]=e4(e5),e8=Y=>{let{__scopePopper:et,children:en}=Y,[ei,eo]=(0,ed.useState)(null);return(0,ed.createElement)(e6,{scope:et,anchor:ei,onAnchorChange:eo},en)},tt="PopperAnchor",ta=(0,ed.forwardRef)((Y,et)=>{let{__scopePopper:en,virtualRef:ei,...eo}=Y,ea=e7(tt,en),eu=(0,ed.useRef)(null),ec=(0,eg.e)(et,eu);return(0,ed.useEffect)(()=>{ea.onAnchorChange((null==ei?void 0:ei.current)||eu.current)}),ei?null:(0,ed.createElement)(eE.WV.div,(0,e_.Z)({},eo,{ref:ec}))}),tu="PopperContent",[tc,td]=e4(tu),tf=(0,ed.forwardRef)((Y,et)=>{var en,ei,eo,ea,eu,ec,ef,eh;let{__scopePopper:ep,side:em="bottom",sideOffset:ey=0,align:eb="center",alignOffset:ek=0,arrowPadding:ew=0,collisionBoundary:eT=[],collisionPadding:eS=0,sticky:eA="partial",hideWhenDetached:eM=!1,avoidCollisions:eP=!0,onPlaced:ej,...eO}=Y,eI=e7(tu,ep),[eN,eL]=(0,ed.useState)(null),eR=(0,eg.e)(et,Y=>eL(Y)),[eD,eF]=(0,ed.useState)(null),eB=(0,e9.t)(eD),ez=null!==(en=null==eB?void 0:eB.width)&&void 0!==en?en:0,eU=null!==(ei=null==eB?void 0:eB.height)&&void 0!==ei?ei:0,eW=em+("center"!==eb?"-"+eb:""),eZ="number"==typeof eS?eS:{top:0,right:0,bottom:0,left:0,...eS},eK=Array.isArray(eT)?eT:[eT],e$=eK.length>0,eY={padding:eZ,boundary:eK.filter(tg),altBoundary:e$},{refs:eX,floatingStyles:eJ,placement:e5,isPositioned:e4,middlewareData:e3}=eQ({strategy:"fixed",placement:eW,whileElementsMounted:eG.Me,elements:{reference:eI.anchor},middleware:[(0,eH.cv)({mainAxis:ey+eU,alignmentAxis:ek}),eP&&(0,eH.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===eA?(0,eH.dr)():void 0,...eY}),eP&&(0,eH.RR)({...eY}),(0,eH.dp)({...eY,apply:({elements:Y,rects:et,availableWidth:en,availableHeight:ei})=>{let{width:eo,height:ea}=et.reference,eu=Y.floating.style;eu.setProperty("--radix-popper-available-width",`${en}px`),eu.setProperty("--radix-popper-available-height",`${ei}px`),eu.setProperty("--radix-popper-anchor-width",`${eo}px`),eu.setProperty("--radix-popper-anchor-height",`${ea}px`)}}),eD&&eV({element:eD,padding:ew}),tv({arrowWidth:ez,arrowHeight:eU}),eM&&(0,eH.Cp)({strategy:"referenceHidden"})]}),[e6,e8]=tb(e5),tt=(0,eC.W)(ej);(0,e0.b)(()=>{e4&&(null==tt||tt())},[e4,tt]);let ta=null===(eo=e3.arrow)||void 0===eo?void 0:eo.x,td=null===(ea=e3.arrow)||void 0===ea?void 0:ea.y,tf=(null===(eu=e3.arrow)||void 0===eu?void 0:eu.centerOffset)!==0,[th,tp]=(0,ed.useState)();return(0,e0.b)(()=>{eN&&tp(window.getComputedStyle(eN).zIndex)},[eN]),(0,ed.createElement)("div",{ref:eX.setFloating,"data-radix-popper-content-wrapper":"",style:{...eJ,transform:e4?eJ.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:th,"--radix-popper-transform-origin":[null===(ec=e3.transformOrigin)||void 0===ec?void 0:ec.x,null===(ef=e3.transformOrigin)||void 0===ef?void 0:ef.y].join(" ")},dir:Y.dir},(0,ed.createElement)(tc,{scope:ep,placedSide:e6,onArrowChange:eF,arrowX:ta,arrowY:td,shouldHideArrow:tf},(0,ed.createElement)(eE.WV.div,(0,e_.Z)({"data-side":e6,"data-align":e8},eO,{ref:eR,style:{...eO.style,animation:e4?void 0:"none",opacity:null!==(eh=e3.hide)&&void 0!==eh&&eh.referenceHidden?0:void 0}}))))}),th="PopperArrow",tp={top:"bottom",right:"left",bottom:"top",left:"right"},tm=(0,ed.forwardRef)(function(Y,et){let{__scopePopper:en,...ei}=Y,eo=td(th,en),ea=tp[eo.placedSide];return(0,ed.createElement)("span",{ref:eo.onArrowChange,style:{position:"absolute",left:eo.arrowX,top:eo.arrowY,[ea]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[eo.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[eo.placedSide],visibility:eo.shouldHideArrow?"hidden":void 0}},(0,ed.createElement)(eJ,(0,e_.Z)({},ei,{ref:et,style:{...ei.style,display:"block"}})))});function tg(Y){return null!==Y}let tv=Y=>({name:"transformOrigin",options:Y,fn(et){var en,ei,eo,ea,eu;let{placement:ec,rects:ed,middlewareData:ef}=et,eh=(null===(en=ef.arrow)||void 0===en?void 0:en.centerOffset)!==0,ep=eh,em=ep?0:Y.arrowWidth,eg=ep?0:Y.arrowHeight,[ey,eb]=tb(ec),ek={start:"0%",center:"50%",end:"100%"}[eb],ew=(null!==(ei=null===(eo=ef.arrow)||void 0===eo?void 0:eo.x)&&void 0!==ei?ei:0)+em/2,e_=(null!==(ea=null===(eu=ef.arrow)||void 0===eu?void 0:eu.y)&&void 0!==ea?ea:0)+eg/2,eE="",eC="";return"bottom"===ey?(eE=ep?ek:`${ew}px`,eC=`${-eg}px`):"top"===ey?(eE=ep?ek:`${ew}px`,eC=`${ed.floating.height+eg}px`):"right"===ey?(eE=`${-eg}px`,eC=ep?ek:`${e_}px`):"left"===ey&&(eE=`${ed.floating.width+eg}px`,eC=ep?ek:`${e_}px`),{data:{x:eE,y:eC}}}});function tb(Y){let[et,en="center"]=Y.split("-");return[et,en]}let tk=e8,tw=ta,t_=tf;var tE=en(32768),tC=en(26739),tT=en(21381),tS=en(80136),tA=en(32148),tM=en(66546),tP=en(54239);let tj=[" ","Enter","ArrowUp","ArrowDown"],tO=[" ","Enter"],tI="Select",[tN,tL,tR]=(0,em.B)(tI),[tD,tF]=(0,ey.b)(tI,[tR,e3]),tB=e3(),[tU,tH]=tD(tI),[tG,tV]=tD(tI),tW=Y=>{let{__scopeSelect:et,children:en,open:ei,defaultOpen:eo,onOpenChange:ea,value:eu,defaultValue:ec,onValueChange:ef,dir:eh,name:ep,autoComplete:em,disabled:eg,required:ey}=Y,ek=tB(et),[ew,e_]=(0,ed.useState)(null),[eE,eC]=(0,ed.useState)(null),[eT,eS]=(0,ed.useState)(!1),eA=(0,eb.gm)(eh),[eM=!1,eP]=(0,tT.T)({prop:ei,defaultProp:eo,onChange:ea}),[ej,eO]=(0,tT.T)({prop:eu,defaultProp:ec,onChange:ef}),eI=(0,ed.useRef)(null),eN=!ew||!!ew.closest("form"),[eL,eR]=(0,ed.useState)(new Set),eD=Array.from(eL).map(Y=>Y.props.value).join(";");return(0,ed.createElement)(tk,ek,(0,ed.createElement)(tU,{required:ey,scope:et,trigger:ew,onTriggerChange:e_,valueNode:eE,onValueNodeChange:eC,valueNodeHasChildren:eT,onValueNodeHasChildrenChange:eS,contentId:(0,eU.M)(),value:ej,onValueChange:eO,open:eM,onOpenChange:eP,dir:eA,triggerPointerDownPosRef:eI,disabled:eg},(0,ed.createElement)(tN.Provider,{scope:et},(0,ed.createElement)(tG,{scope:Y.__scopeSelect,onNativeOptionAdd:(0,ed.useCallback)(Y=>{eR(et=>new Set(et).add(Y))},[]),onNativeOptionRemove:(0,ed.useCallback)(Y=>{eR(et=>{let en=new Set(et);return en.delete(Y),en})},[])},en)),eN?(0,ed.createElement)(nT,{key:eD,"aria-hidden":!0,required:ey,tabIndex:-1,name:ep,autoComplete:em,value:ej,onChange:Y=>eO(Y.target.value),disabled:eg},void 0===ej?(0,ed.createElement)("option",{value:""}):null,Array.from(eL)):null))},tq="SelectTrigger",tZ=(0,ed.forwardRef)((Y,et)=>{let{__scopeSelect:en,disabled:ei=!1,...eo}=Y,ea=tB(en),eu=tH(tq,en),ef=eu.disabled||ei,eh=(0,eg.e)(et,eu.onTriggerChange),em=tL(en),[ey,eb,ek]=nS(Y=>{let et=em().filter(Y=>!Y.disabled),en=et.find(Y=>Y.value===eu.value),ei=nA(et,Y,en);void 0!==ei&&eu.onValueChange(ei.value)}),ew=()=>{ef||(eu.onOpenChange(!0),ek())};return(0,ed.createElement)(tw,(0,ec.Z)({asChild:!0},ea),(0,ed.createElement)(eE.WV.button,(0,ec.Z)({type:"button",role:"combobox","aria-controls":eu.contentId,"aria-expanded":eu.open,"aria-required":eu.required,"aria-autocomplete":"none",dir:eu.dir,"data-state":eu.open?"open":"closed",disabled:ef,"data-disabled":ef?"":void 0,"data-placeholder":void 0===eu.value?"":void 0},eo,{ref:eh,onClick:(0,ep.M)(eo.onClick,Y=>{Y.currentTarget.focus()}),onPointerDown:(0,ep.M)(eo.onPointerDown,Y=>{let et=Y.target;et.hasPointerCapture(Y.pointerId)&&et.releasePointerCapture(Y.pointerId),0===Y.button&&!1===Y.ctrlKey&&(ew(),eu.triggerPointerDownPosRef.current={x:Math.round(Y.pageX),y:Math.round(Y.pageY)},Y.preventDefault())}),onKeyDown:(0,ep.M)(eo.onKeyDown,Y=>{let et=""!==ey.current,en=Y.ctrlKey||Y.altKey||Y.metaKey;en||1!==Y.key.length||eb(Y.key),(!et||" "!==Y.key)&&tj.includes(Y.key)&&(ew(),Y.preventDefault())})})))}),tK="SelectValue",t$=(0,ed.forwardRef)((Y,et)=>{let{__scopeSelect:en,className:ei,style:eo,children:ea,placeholder:eu,...ef}=Y,eh=tH(tK,en),{onValueNodeHasChildrenChange:ep}=eh,em=void 0!==ea,ey=(0,eg.e)(et,eh.onValueNodeChange);return(0,e0.b)(()=>{ep(em)},[ep,em]),(0,ed.createElement)(eE.WV.span,(0,ec.Z)({},ef,{ref:ey,style:{pointerEvents:"none"}}),void 0===eh.value&&void 0!==eu?eu:ea)}),tY=(0,ed.forwardRef)((Y,et)=>{let{__scopeSelect:en,children:ei,...eo}=Y;return(0,ed.createElement)(eE.WV.span,(0,ec.Z)({"aria-hidden":!0},eo,{ref:et}),ei||"▼")}),tQ=Y=>(0,ed.createElement)(tE.h,(0,ec.Z)({asChild:!0},Y)),tX="SelectContent",tJ=(0,ed.forwardRef)((Y,et)=>{let en=tH(tX,Y.__scopeSelect),[ei,eo]=(0,ed.useState)();if((0,e0.b)(()=>{eo(new DocumentFragment)},[]),!en.open){let et=ei;return et?(0,ef.createPortal)((0,ed.createElement)(t5,{scope:Y.__scopeSelect},(0,ed.createElement)(tN.Slot,{scope:Y.__scopeSelect},(0,ed.createElement)("div",null,Y.children))),et):null}return(0,ed.createElement)(t3,(0,ec.Z)({},Y,{ref:et}))}),t9=10,[t5,t4]=tD(tX),t3=(0,ed.forwardRef)((Y,et)=>{let{__scopeSelect:en,position:ei="item-aligned",onCloseAutoFocus:eo,onEscapeKeyDown:ea,onPointerDownOutside:eu,side:ef,sideOffset:eh,align:em,alignOffset:ey,arrowPadding:eb,collisionBoundary:e_,collisionPadding:eE,sticky:eC,hideWhenDetached:eT,avoidCollisions:eS,...eA}=Y,eP=tH(tX,en),[ej,eO]=(0,ed.useState)(null),[eI,eN]=(0,ed.useState)(null),eL=(0,eg.e)(et,Y=>eO(Y)),[eR,eD]=(0,ed.useState)(null),[eF,eB]=(0,ed.useState)(null),ez=tL(en),[eU,eH]=(0,ed.useState)(!1),eG=(0,ed.useRef)(!1);(0,ed.useEffect)(()=>{if(ej)return(0,tM.Ry)(ej)},[ej]),(0,ew.EW)();let eV=(0,ed.useCallback)(Y=>{let[et,...en]=ez().map(Y=>Y.ref.current),[ei]=en.slice(-1),eo=document.activeElement;for(let en of Y)if(en===eo||(null==en||en.scrollIntoView({block:"nearest"}),en===et&&eI&&(eI.scrollTop=0),en===ei&&eI&&(eI.scrollTop=eI.scrollHeight),null==en||en.focus(),document.activeElement!==eo))return},[ez,eI]),eW=(0,ed.useCallback)(()=>eV([eR,ej]),[eV,eR,ej]);(0,ed.useEffect)(()=>{eU&&eW()},[eU,eW]);let{onOpenChange:eZ,triggerPointerDownPosRef:eK}=eP;(0,ed.useEffect)(()=>{if(ej){let Y={x:0,y:0},et=et=>{var en,ei,eo,ea;Y={x:Math.abs(Math.round(et.pageX)-(null!==(en=null===(ei=eK.current)||void 0===ei?void 0:ei.x)&&void 0!==en?en:0)),y:Math.abs(Math.round(et.pageY)-(null!==(eo=null===(ea=eK.current)||void 0===ea?void 0:ea.y)&&void 0!==eo?eo:0))}},en=en=>{Y.x<=10&&Y.y<=10?en.preventDefault():ej.contains(en.target)||eZ(!1),document.removeEventListener("pointermove",et),eK.current=null};return null!==eK.current&&(document.addEventListener("pointermove",et),document.addEventListener("pointerup",en,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",et),document.removeEventListener("pointerup",en,{capture:!0})}}},[ej,eZ,eK]),(0,ed.useEffect)(()=>{let Y=()=>eZ(!1);return window.addEventListener("blur",Y),window.addEventListener("resize",Y),()=>{window.removeEventListener("blur",Y),window.removeEventListener("resize",Y)}},[eZ]);let[e$,eY]=nS(Y=>{let et=ez().filter(Y=>!Y.disabled),en=et.find(Y=>Y.ref.current===document.activeElement),ei=nA(et,Y,en);ei&&setTimeout(()=>ei.ref.current.focus())}),eQ=(0,ed.useCallback)((Y,et,en)=>{let ei=!eG.current&&!en,eo=void 0!==eP.value&&eP.value===et;(eo||ei)&&(eD(Y),ei&&(eG.current=!0))},[eP.value]),eX=(0,ed.useCallback)(()=>null==ej?void 0:ej.focus(),[ej]),eJ=(0,ed.useCallback)((Y,et,en)=>{let ei=!eG.current&&!en,eo=void 0!==eP.value&&eP.value===et;(eo||ei)&&eB(Y)},[eP.value]),e0="popper"===ei?t7:t6,e9=e0===t7?{side:ef,sideOffset:eh,align:em,alignOffset:ey,arrowPadding:eb,collisionBoundary:e_,collisionPadding:eE,sticky:eC,hideWhenDetached:eT,avoidCollisions:eS}:{};return(0,ed.createElement)(t5,{scope:en,content:ej,viewport:eI,onViewportChange:eN,itemRefCallback:eQ,selectedItem:eR,onItemLeave:eX,itemTextRefCallback:eJ,focusSelectedItem:eW,selectedItemText:eF,position:ei,isPositioned:eU,searchRef:e$},(0,ed.createElement)(tP.Z,{as:tC.g7,allowPinchZoom:!0},(0,ed.createElement)(eM,{asChild:!0,trapped:eP.open,onMountAutoFocus:Y=>{Y.preventDefault()},onUnmountAutoFocus:(0,ep.M)(eo,Y=>{var et;null===(et=eP.trigger)||void 0===et||et.focus({preventScroll:!0}),Y.preventDefault()})},(0,ed.createElement)(ek.XB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:ea,onPointerDownOutside:eu,onFocusOutside:Y=>Y.preventDefault(),onDismiss:()=>eP.onOpenChange(!1)},(0,ed.createElement)(e0,(0,ec.Z)({role:"listbox",id:eP.contentId,"data-state":eP.open?"open":"closed",dir:eP.dir,onContextMenu:Y=>Y.preventDefault()},eA,e9,{onPlaced:()=>eH(!0),ref:eL,style:{display:"flex",flexDirection:"column",outline:"none",...eA.style},onKeyDown:(0,ep.M)(eA.onKeyDown,Y=>{let et=Y.ctrlKey||Y.altKey||Y.metaKey;if("Tab"===Y.key&&Y.preventDefault(),et||1!==Y.key.length||eY(Y.key),["ArrowUp","ArrowDown","Home","End"].includes(Y.key)){let et=ez().filter(Y=>!Y.disabled),en=et.map(Y=>Y.ref.current);if(["ArrowUp","End"].includes(Y.key)&&(en=en.slice().reverse()),["ArrowUp","ArrowDown"].includes(Y.key)){let et=Y.target,ei=en.indexOf(et);en=en.slice(ei+1)}setTimeout(()=>eV(en)),Y.preventDefault()}})}))))))}),t6=(0,ed.forwardRef)((Y,et)=>{let{__scopeSelect:en,onPlaced:ei,...eo}=Y,ea=tH(tX,en),eu=t4(tX,en),[ef,ep]=(0,ed.useState)(null),[em,ey]=(0,ed.useState)(null),eb=(0,eg.e)(et,Y=>ey(Y)),ek=tL(en),ew=(0,ed.useRef)(!1),e_=(0,ed.useRef)(!0),{viewport:eC,selectedItem:eT,selectedItemText:eS,focusSelectedItem:eA}=eu,eM=(0,ed.useCallback)(()=>{if(ea.trigger&&ea.valueNode&&ef&&em&&eC&&eT&&eS){let Y=ea.trigger.getBoundingClientRect(),et=em.getBoundingClientRect(),en=ea.valueNode.getBoundingClientRect(),eo=eS.getBoundingClientRect();if("rtl"!==ea.dir){let ei=eo.left-et.left,ea=en.left-ei,eu=Y.left-ea,ec=Y.width+eu,ed=Math.max(ec,et.width),ep=window.innerWidth-t9,em=eh(ea,[t9,ep-ed]);ef.style.minWidth=ec+"px",ef.style.left=em+"px"}else{let ei=et.right-eo.right,ea=window.innerWidth-en.right-ei,eu=window.innerWidth-Y.right-ea,ec=Y.width+eu,ed=Math.max(ec,et.width),ep=window.innerWidth-t9,em=eh(ea,[t9,ep-ed]);ef.style.minWidth=ec+"px",ef.style.right=em+"px"}let eu=ek(),ec=window.innerHeight-2*t9,ed=eC.scrollHeight,ep=window.getComputedStyle(em),eg=parseInt(ep.borderTopWidth,10),ey=parseInt(ep.paddingTop,10),eb=parseInt(ep.borderBottomWidth,10),e_=parseInt(ep.paddingBottom,10),eE=eg+ey+ed+e_+eb,eA=Math.min(5*eT.offsetHeight,eE),eM=window.getComputedStyle(eC),eP=parseInt(eM.paddingTop,10),ej=parseInt(eM.paddingBottom,10),eO=Y.top+Y.height/2-t9,eI=ec-eO,eN=eT.offsetHeight/2,eL=eT.offsetTop+eN,eR=eg+ey+eL,eD=eE-eR,eF=eR<=eO;if(eF){let Y=eT===eu[eu.length-1].ref.current;ef.style.bottom="0px";let et=em.clientHeight-eC.offsetTop-eC.offsetHeight,en=Math.max(eI,eN+(Y?ej:0)+et+eb),ei=eR+en;ef.style.height=ei+"px"}else{let Y=eT===eu[0].ref.current;ef.style.top="0px";let et=Math.max(eO,eg+eC.offsetTop+(Y?eP:0)+eN),en=et+eD;ef.style.height=en+"px",eC.scrollTop=eR-eO+eC.offsetTop}ef.style.margin=`${t9}px 0`,ef.style.minHeight=eA+"px",ef.style.maxHeight=ec+"px",null==ei||ei(),requestAnimationFrame(()=>ew.current=!0)}},[ek,ea.trigger,ea.valueNode,ef,em,eC,eT,eS,ea.dir,ei]);(0,e0.b)(()=>eM(),[eM]);let[eP,ej]=(0,ed.useState)();(0,e0.b)(()=>{em&&ej(window.getComputedStyle(em).zIndex)},[em]);let eO=(0,ed.useCallback)(Y=>{Y&&!0===e_.current&&(eM(),null==eA||eA(),e_.current=!1)},[eM,eA]);return(0,ed.createElement)(t8,{scope:en,contentWrapper:ef,shouldExpandOnScrollRef:ew,onScrollButtonChange:eO},(0,ed.createElement)("div",{ref:ep,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:eP}},(0,ed.createElement)(eE.WV.div,(0,ec.Z)({},eo,{ref:eb,style:{boxSizing:"border-box",maxHeight:"100%",...eo.style}}))))}),t7=(0,ed.forwardRef)((Y,et)=>{let{__scopeSelect:en,align:ei="start",collisionPadding:eo=t9,...ea}=Y,eu=tB(en);return(0,ed.createElement)(t_,(0,ec.Z)({},eu,ea,{ref:et,align:ei,collisionPadding:eo,style:{boxSizing:"border-box",...ea.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[t8,nt]=tD(tX,{}),nn="SelectViewport",ni=(0,ed.forwardRef)((Y,et)=>{let{__scopeSelect:en,...ei}=Y,eo=t4(nn,en),ea=nt(nn,en),eu=(0,eg.e)(et,eo.onViewportChange),ef=(0,ed.useRef)(0);return(0,ed.createElement)(ed.Fragment,null,(0,ed.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),(0,ed.createElement)(tN.Slot,{scope:en},(0,ed.createElement)(eE.WV.div,(0,ec.Z)({"data-radix-select-viewport":"",role:"presentation"},ei,{ref:eu,style:{position:"relative",flex:1,overflow:"auto",...ei.style},onScroll:(0,ep.M)(ei.onScroll,Y=>{let et=Y.currentTarget,{contentWrapper:en,shouldExpandOnScrollRef:ei}=ea;if(null!=ei&&ei.current&&en){let Y=Math.abs(ef.current-et.scrollTop);if(Y>0){let ei=window.innerHeight-2*t9,eo=parseFloat(en.style.minHeight),ea=parseFloat(en.style.height),eu=Math.max(eo,ea);if(eu<ei){let eo=eu+Y,ea=Math.min(ei,eo),ec=eo-ea;en.style.height=ea+"px","0px"===en.style.bottom&&(et.scrollTop=ec>0?ec:0,en.style.justifyContent="flex-end")}}}ef.current=et.scrollTop})}))))}),na="SelectGroup",[nu,nd]=tD(na),nf="SelectItem",[nh,np]=tD(nf),ng=(0,ed.forwardRef)((Y,et)=>{let{__scopeSelect:en,value:ei,disabled:eo=!1,textValue:ea,...eu}=Y,ef=tH(nf,en),eh=t4(nf,en),em=ef.value===ei,[ey,eb]=(0,ed.useState)(null!=ea?ea:""),[ek,ew]=(0,ed.useState)(!1),e_=(0,eg.e)(et,Y=>{var et;return null===(et=eh.itemRefCallback)||void 0===et?void 0:et.call(eh,Y,ei,eo)}),eC=(0,eU.M)(),eT=()=>{eo||(ef.onValueChange(ei),ef.onOpenChange(!1))};return(0,ed.createElement)(nh,{scope:en,value:ei,disabled:eo,textId:eC,isSelected:em,onItemTextChange:(0,ed.useCallback)(Y=>{eb(et=>{var en;return et||(null!==(en=null==Y?void 0:Y.textContent)&&void 0!==en?en:"").trim()})},[])},(0,ed.createElement)(tN.ItemSlot,{scope:en,value:ei,disabled:eo,textValue:ey},(0,ed.createElement)(eE.WV.div,(0,ec.Z)({role:"option","aria-labelledby":eC,"data-highlighted":ek?"":void 0,"aria-selected":em&&ek,"data-state":em?"checked":"unchecked","aria-disabled":eo||void 0,"data-disabled":eo?"":void 0,tabIndex:eo?void 0:-1},eu,{ref:e_,onFocus:(0,ep.M)(eu.onFocus,()=>ew(!0)),onBlur:(0,ep.M)(eu.onBlur,()=>ew(!1)),onPointerUp:(0,ep.M)(eu.onPointerUp,eT),onPointerMove:(0,ep.M)(eu.onPointerMove,Y=>{if(eo){var et;null===(et=eh.onItemLeave)||void 0===et||et.call(eh)}else Y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,ep.M)(eu.onPointerLeave,Y=>{if(Y.currentTarget===document.activeElement){var et;null===(et=eh.onItemLeave)||void 0===et||et.call(eh)}}),onKeyDown:(0,ep.M)(eu.onKeyDown,Y=>{var et;let en=(null===(et=eh.searchRef)||void 0===et?void 0:et.current)!=="";en&&" "===Y.key||(tO.includes(Y.key)&&eT()," "===Y.key&&Y.preventDefault())})}))))}),nv="SelectItemText",ny=(0,ed.forwardRef)((Y,et)=>{let{__scopeSelect:en,className:ei,style:eo,...ea}=Y,eu=tH(nv,en),eh=t4(nv,en),ep=np(nv,en),em=tV(nv,en),[ey,eb]=(0,ed.useState)(null),ek=(0,eg.e)(et,Y=>eb(Y),ep.onItemTextChange,Y=>{var et;return null===(et=eh.itemTextRefCallback)||void 0===et?void 0:et.call(eh,Y,ep.value,ep.disabled)}),ew=null==ey?void 0:ey.textContent,e_=(0,ed.useMemo)(()=>(0,ed.createElement)("option",{key:ep.value,value:ep.value,disabled:ep.disabled},ew),[ep.disabled,ep.value,ew]),{onNativeOptionAdd:eC,onNativeOptionRemove:eT}=em;return(0,e0.b)(()=>(eC(e_),()=>eT(e_)),[eC,eT,e_]),(0,ed.createElement)(ed.Fragment,null,(0,ed.createElement)(eE.WV.span,(0,ec.Z)({id:ep.textId},ea,{ref:ek})),ep.isSelected&&eu.valueNode&&!eu.valueNodeHasChildren?(0,ef.createPortal)(ea.children,eu.valueNode):null)}),nb="SelectItemIndicator",nx=(0,ed.forwardRef)((Y,et)=>{let{__scopeSelect:en,...ei}=Y,eo=np(nb,en);return eo.isSelected?(0,ed.createElement)(eE.WV.span,(0,ec.Z)({"aria-hidden":!0},ei,{ref:et})):null}),nk="SelectScrollUpButton",nw=(0,ed.forwardRef)((Y,et)=>{let en=t4(nk,Y.__scopeSelect),ei=nt(nk,Y.__scopeSelect),[eo,ea]=(0,ed.useState)(!1),eu=(0,eg.e)(et,ei.onScrollButtonChange);return(0,e0.b)(()=>{if(en.viewport&&en.isPositioned){let et=en.viewport;function Y(){let Y=et.scrollTop>0;ea(Y)}return Y(),et.addEventListener("scroll",Y),()=>et.removeEventListener("scroll",Y)}},[en.viewport,en.isPositioned]),eo?(0,ed.createElement)(nC,(0,ec.Z)({},Y,{ref:eu,onAutoScroll:()=>{let{viewport:Y,selectedItem:et}=en;Y&&et&&(Y.scrollTop=Y.scrollTop-et.offsetHeight)}})):null}),n_="SelectScrollDownButton",nE=(0,ed.forwardRef)((Y,et)=>{let en=t4(n_,Y.__scopeSelect),ei=nt(n_,Y.__scopeSelect),[eo,ea]=(0,ed.useState)(!1),eu=(0,eg.e)(et,ei.onScrollButtonChange);return(0,e0.b)(()=>{if(en.viewport&&en.isPositioned){let et=en.viewport;function Y(){let Y=et.scrollHeight-et.clientHeight,en=Math.ceil(et.scrollTop)<Y;ea(en)}return Y(),et.addEventListener("scroll",Y),()=>et.removeEventListener("scroll",Y)}},[en.viewport,en.isPositioned]),eo?(0,ed.createElement)(nC,(0,ec.Z)({},Y,{ref:eu,onAutoScroll:()=>{let{viewport:Y,selectedItem:et}=en;Y&&et&&(Y.scrollTop=Y.scrollTop+et.offsetHeight)}})):null}),nC=(0,ed.forwardRef)((Y,et)=>{let{__scopeSelect:en,onAutoScroll:ei,...eo}=Y,ea=t4("SelectScrollButton",en),eu=(0,ed.useRef)(null),ef=tL(en),eh=(0,ed.useCallback)(()=>{null!==eu.current&&(window.clearInterval(eu.current),eu.current=null)},[]);return(0,ed.useEffect)(()=>()=>eh(),[eh]),(0,e0.b)(()=>{var Y;let et=ef().find(Y=>Y.ref.current===document.activeElement);null==et||null===(Y=et.ref.current)||void 0===Y||Y.scrollIntoView({block:"nearest"})},[ef]),(0,ed.createElement)(eE.WV.div,(0,ec.Z)({"aria-hidden":!0},eo,{ref:et,style:{flexShrink:0,...eo.style},onPointerDown:(0,ep.M)(eo.onPointerDown,()=>{null===eu.current&&(eu.current=window.setInterval(ei,50))}),onPointerMove:(0,ep.M)(eo.onPointerMove,()=>{var Y;null===(Y=ea.onItemLeave)||void 0===Y||Y.call(ea),null===eu.current&&(eu.current=window.setInterval(ei,50))}),onPointerLeave:(0,ep.M)(eo.onPointerLeave,()=>{eh()})}))}),nT=(0,ed.forwardRef)((Y,et)=>{let{value:en,...ei}=Y,eo=(0,ed.useRef)(null),ea=(0,eg.e)(et,eo),eu=(0,tS.D)(en);return(0,ed.useEffect)(()=>{let Y=eo.current,et=window.HTMLSelectElement.prototype,ei=Object.getOwnPropertyDescriptor(et,"value"),ea=ei.set;if(eu!==en&&ea){let et=new Event("change",{bubbles:!0});ea.call(Y,en),Y.dispatchEvent(et)}},[eu,en]),(0,ed.createElement)(tA.T,{asChild:!0},(0,ed.createElement)("select",(0,ec.Z)({},ei,{ref:ea,defaultValue:en})))});function nS(Y){let et=(0,eC.W)(Y),en=(0,ed.useRef)(""),ei=(0,ed.useRef)(0),eo=(0,ed.useCallback)(Y=>{let eo=en.current+Y;et(eo),function Y(et){en.current=et,window.clearTimeout(ei.current),""!==et&&(ei.current=window.setTimeout(()=>Y(""),1e3))}(eo)},[et]),ea=(0,ed.useCallback)(()=>{en.current="",window.clearTimeout(ei.current)},[]);return(0,ed.useEffect)(()=>()=>window.clearTimeout(ei.current),[]),[en,eo,ea]}function nA(Y,et,en){let ei=et.length>1&&Array.from(et).every(Y=>Y===et[0]),eo=ei?et[0]:et,ea=en?Y.indexOf(en):-1,eu=nM(Y,Math.max(ea,0)),ec=1===eo.length;ec&&(eu=eu.filter(Y=>Y!==en));let ed=eu.find(Y=>Y.textValue.toLowerCase().startsWith(eo.toLowerCase()));return ed!==en?ed:void 0}function nM(Y,et){return Y.map((en,ei)=>Y[(et+ei)%Y.length])}nT.displayName="BubbleSelect";let nP=tW,nj=tZ,nO=t$,nI=tY,nN=tQ,nL=tJ,nR=ni,nD=ng,nF=ny,nB=nx,nz=nw,nU=nE;var nH=en(1454),nG=en(16214);function nV(Y,et){var en=Y.children,ec=(0,ea._)(Y,["children"]);return(0,eu.jsx)(nG.mS,(0,eo._)((0,ei._)({$as:nD,ref:et},ec),{children:(0,eu.jsx)(nF,{children:en})}))}var nW={Root:nP,Trigger:function(Y){return(0,eu.jsx)(nG.J7,(0,ei._)({$as:nj},Y))},Value:nO,Icon:function(){return(0,eu.jsx)(nI,{children:(0,eu.jsx)(nH.bTu,{className:"icon-sm"})})},Portal:nN,Content:function(Y){var et=Y.children,en=(0,ea._)(Y,["children"]);return(0,eu.jsxs)(nG.ay,(0,eo._)((0,ei._)({$as:nL,side:"bottom",sideOffset:4,position:"popper"},en),{children:[(0,eu.jsx)(nz,{className:"flex h-8 cursor-default items-center justify-center bg-white text-gray-700 dark:bg-gray-900 dark:text-gray-200",children:(0,eu.jsx)(nH.rH8,{className:"icon-sm"})}),(0,eu.jsx)(nR,{children:et}),(0,eu.jsx)(nU,{className:"flex h-8 cursor-default items-center justify-center bg-white text-gray-700 dark:bg-gray-900 dark:text-gray-200",children:(0,eu.jsx)(nH.bTu,{className:"icon-sm"})})]}))},Item:ed.forwardRef(nV),ItemText:nF,ItemIndicator:nB}},40558:function(Y,et,en){"use strict";var ei=en(39324),eo=en(71209),ea=en(10064),eu=en(35250),ec=en(19841),ed=en(70079),ef={Root:function(Y){var et=Y.children,en=Y.fixed,ei=void 0!==en&&en,eo=Y.className,ef=Y.size,eh=void 0===ef?"normal":ef,ep=(0,ed.useRef)(null),em=(0,ed.useRef)(null),eg=(0,ea._)((0,ed.useState)(!1),2),ey=eg[0],eb=eg[1];return(0,ed.useEffect)(function(){var Y=ep.current,et=em.current;if(Y&&et){var en=new ResizeObserver(function(){eb(et.scrollHeight>Y.clientHeight)});return en.observe(Y),function(){return en.disconnect()}}},[]),(0,eu.jsx)("div",{className:(0,ec.default)("overflow-y-auto text-gray-600 dark:text-gray-300","normal"===eh?"text-base":"text-sm",ey&&"pr-1",eo),ref:ep,children:(0,eu.jsx)("table",{className:(0,ec.default)("w-full border-separate border-spacing-0",ei&&"table-fixed"),ref:em,children:et})})},Header:function(Y){var et=Y.children;return(0,eu.jsx)("thead",{children:(0,eu.jsx)("tr",{children:et})})},HeaderCell:function(Y){var et=Y.textAlign,en=void 0===et?"left":et,ei=Y.children,eo=Y.className,ea=void 0===eo?"dark:bg-gray-900":eo;return(0,eu.jsx)("th",{className:(0,ec.default)("text-token sticky top-0 z-10 border-b border-black/10 bg-white py-2 pr-4 font-medium last:pr-0 dark:border-white/10","left"===en?"text-left":"text-right",ea),children:ei})},Body:function(Y){var et=Y.children;return(0,eu.jsx)("tbody",{children:et})},Row:function(Y){var et=Y.children,en=Y.disabled,ea=void 0!==en&&en;return(0,eu.jsx)("tr",(0,eo._)((0,ei._)({},ea?{"data-disabled":!0}:{}),{className:(0,ec.default)(ea?"pointer-events-none":""),children:et}))},Cell:function(Y){var et=Y.textAlign,en=void 0===et?"left":et,ei=Y.children,eo=Y.className;return(0,eu.jsx)("td",{className:(0,ec.default)("border-b border-black/10 pr-4 last:pr-0 dark:border-white/10 [tr:last-child_&]:border-b-0","left"===en?"text-left":"text-right",eo),children:(0,eu.jsx)("div",{className:(0,ec.default)("flex min-h-[40px] items-center [tr[data-disabled=true]_&]:opacity-50","right"===en&&"justify-end"),children:ei})})},Actions:function(Y){var et=Y.children;return(0,eu.jsx)("div",{className:"text-md flex items-center justify-end gap-2",children:et})}};et.Z=ef},15635:function(Y,et,en){"use strict";en.d(et,{E:function(){return ep},u:function(){return em}});var ei=en(39324),eo=en(70216),ea=en(4337),eu=en(35250),ec=en(22444),ed=en(19841);en(70079);var ef=en(21389);function eh(){var Y=(0,ea._)(["relative top-[-3px] h-2 w-2 rotate-45 transform border-r border-b border-white/20 bg-black shadow-xs"]);return eh=function(){return Y},Y}var ep=function(Y){var et=Y.disabled,en=(0,eo._)(Y,["disabled"]);return et?(0,eu.jsx)(eu.Fragment,{children:en.children}):(0,eu.jsx)(em,(0,ei._)({},en))},em=function(Y){var et=Y.label,en=Y.side,ei=void 0===en?"bottom":en,eo=Y.sideOffset,ea=void 0===eo?14:eo,ef=Y.align,eh=void 0===ef?"center":ef,ep=Y.withArrow,em=void 0===ep||ep,ey=Y.wide,eb=void 0!==ey&&ey,ek=Y.size,ew=void 0===ek?"small":ek,e_=Y.interactive,eE=void 0!==e_&&e_,eC=Y.usePortal,eT=void 0===eC||eC,eS=Y.className,eA=Y.children,eM=Y.delayDuration,eP=void 0===eM?0:eM,ej=Y.closeOnOutsideClick,eO=void 0===ej||ej,eI=Y.open,eN=Y.onOpenChange,eL=(0,eu.jsxs)(ec.VY,{onPointerDownOutside:eO?void 0:function(Y){return Y.preventDefault()},side:ei,sideOffset:ea,align:eh,className:(0,ed.default)("relative rounded-lg border border-white/20 bg-black p-1 shadow-xs transition-opacity",eb?"max-w-sm":"max-w-xs",eS),children:[(0,eu.jsx)("span",{className:(0,ed.default)("flex items-center whitespace-pre-wrap px-2 py-1 text-center font-medium normal-case text-white",{"text-xs":"xsmall"===ew,"text-sm":"small"===ew}),children:et}),em&&(0,eu.jsx)(ec.Eh,{asChild:!0,children:(0,eu.jsx)(eg,{})})]});return(0,eu.jsxs)(ec.fC,{delayDuration:eP,disableHoverableContent:!eE,open:eI,onOpenChange:eN,children:[(0,eu.jsx)(ec.xz,{asChild:!0,children:(0,eu.jsx)("span",{className:eS,children:eA})}),eT?(0,eu.jsx)(ec.h_,{children:eL}):eL]})},eg=ef.Z.div(eh())},7184:function(Y,et,en){"use strict";en.d(et,{Z:function(){return eu}});var ei=en(35250),eo=en(19841),ea=en(94705);function eu(Y){var et=Y.children,en=Y.className,eu=Y.description,ec=Y.icon,ed=Y.isOpen,ef=void 0!==ed&&ed,eh=Y.onClose,ep=Y.primaryButton,em=Y.secondaryButton,eg=Y.closeButton,ey=Y.size,eb=void 0===ey?"normal":ey,ek=Y.title,ew=Y.type,e_=Y.noPadding,eE=void 0!==e_&&e_,eC=!!et,eT=!!ek&&eC;return(0,ei.jsx)(ea.ZP.Root,{isOpen:ef,onClose:eh,children:(0,ei.jsx)(ea.ZP.Overlay,{children:(0,ei.jsxs)(ea.ZP.Content,{className:(0,eo.default)({"max-w-md":"normal"===eb},en),children:[(0,ei.jsx)(ea.ZP.Header,{icon:ec,title:ek,type:ew,closeButton:eg,description:eu,withSeparator:eT}),(0,ei.jsxs)("div",{className:(0,eo.default)({"p-4 sm:p-6":"fullscreen"!==eb&&!eE,"md:!pt-0":!eC}),children:[et,null!=ep||null!=em?(0,ei.jsx)("div",{className:(0,eo.default)({"mt-5 sm:mt-4":eC}),children:(0,ei.jsx)(ea.ZP.Actions,{primaryButton:ep,secondaryButton:em})}):null]})]})})})}},25005:function(Y,et,en){"use strict";en.d(et,{x:function(){return ef}});var ei=en(4337),eo=en(35250),ea=en(19841),eu=en(21389),ec=en(7184);function ed(){var Y=(0,ei._)(["flex grow justify-center bg-white dark:bg-gray-900 rounded-md flex-col items-start overflow-hidden border shadow-md dark:border-gray-700"]);return ed=function(){return Y},Y}var ef=function(Y){var et=Y.children,en=Y.isOpen,ei=Y.onClose,eu=Y.fullWidth,ed=void 0!==eu&&eu;return(0,eo.jsx)(ec.Z,{size:"fullscreen",isOpen:en,onClose:ei,type:"success",className:"focus-none !bg-transparent !shadow-none outline-none md:max-w-4xl lg:w-full",children:(0,eo.jsx)("div",{className:"focus-none flex h-full flex-col items-center justify-start outline-none",children:(0,eo.jsx)("div",{className:(0,ea.default)("relative",{"w-full":ed}),children:(0,eo.jsx)(eh,{children:et})})})})},eh=eu.Z.div(ed())},16214:function(Y,et,en){"use strict";en.d(et,{J7:function(){return ef},ay:function(){return ep},gb:function(){return em},mS:function(){return eh}});var ei=en(4337),eo=en(21389);function ea(){var Y=(0,ei._)(["\ntext-token-text-primary border border-transparent inline-flex h-9 items-center justify-center gap-1 rounded-lg bg-white px-3 text-sm dark:transparent dark:bg-transparent\nleading-none outline-none cursor-pointer\nhover:bg-gray-50 dark:hover:bg-[#494A54]\nfocus-visible:border-green-500 dark:focus-visible:border-green-500\nradix-state-active:text-gray-600 dark:radix-state-active::text-gray-400\nradix-disabled:cursor-auto radix-disabled:bg-transparent radix-disabled:text-token-text-tertiary dark:radix-disabled:bg-transparent\n"]);return ea=function(){return Y},Y}function eu(){var Y=(0,ei._)(["\nrelative flex h-8 cursor-pointer select-none items-center rounded-md pl-3 pr-7 text-sm leading-none text-token-text-primary hover:bg-gray-50 radix-disabled:pointer-events-none radix-highlighted:bg-gray-50 radix-disabled:text-token-text-tertiary radix-highlighted:outline-none dark:hover:bg-[#2E2F33] dark:radix-highlighted:bg-[#2E2F33] dark:radix-disabled:text-gray-600 dark:radix-highlighted:hover:bg-[#2E2F33]\n"]);return eu=function(){return Y},Y}function ec(){var Y=(0,ei._)(["\nmin-w-[220px] rounded-lg bg-white dark:bg-gray-900 p-[5px] shadow-xs will-change-[opacity,transform] radix-side-bottom:animate-slideUpAndFade radix-side-left:animate-slideRightAndFade radix-side-right:animate-slideLeftAndFade radix-side-top:animate-slideDownAndFade\nborder border-token-surface-secondary\n"]);return ec=function(){return Y},Y}function ed(){var Y=(0,ei._)([""]);return ed=function(){return Y},Y}var ef=eo.Z.button(ea()),eh=eo.Z.div(eu()),ep=eo.Z.div(ec()),em=(0,eo.Z)(eh)(ed())},84056:function(Y,et,en){"use strict";en.d(et,{i:function(){return ei}});var ei=(0,en(78103).ZP)(function(){return{displayingSideBySideFeedback:!1,unskippable:!1}})},12065:function(Y,et,en){"use strict";en.d(et,{Sv:function(){return eD},UJ:function(){return eR},ZP:function(){return eL}});var ei=en(21722),eo=en(39324),ea=en(71209),eu=en(4337),ec=en(64502),ed=en(38104),ef=en(35250),eh=en(54636),ep=en(42780),em=en(70079),eg=en(76483),ey=en(94968),eb=en(70671),ek=en(32004),ew=en(21389),e_=en(73779),eE=en(72290),eC=en(67568),eT=en(68260),eS=en(64367),eA=en(13003),eM=en(91202),eP=en(19797),ej=en(12543),eO=en(17130);function eI(){var Y=(0,eu._)(["absolute inset-0 bg-gray-100 opacity-80 flex gap-2 flex-col justify-center items-center dark:bg-gray-800 dark:text-gray-100"]);return eI=function(){return Y},Y}var eN=(0,ey.vU)({dragInstructions:{id:"FileDropZone.dragInstructions",defaultMessage:"Add anything",description:"Instructions for dragging and dropping a file to upload"},dragAllAccepted:{id:"FileDropZone.dragAllAccepted",defaultMessage:"Drop any file here to add it to the conversation",description:"Instructions that explain you can drag and drop any file into the conversation"}});function eL(Y){var et,en=function(){if(!eB.accept||0===Object.keys(eB.accept).length)return[];var Y,et=[];return Object.values(eB.accept).forEach(function(en){return(Y=et).push.apply(Y,(0,ec._)(en))}),et.sort()},ei=Y.className,eu=Y.children,ed=Y.clientThreadId,eh=Y.currentModelConfig,ep=(0,eb.Z)(),em=(0,eC.Wq)(ed),ey=(0,eO.YN)(eh,em),ew=ey!==eM.A.None,eE=(0,ej.gF)(function(Y){return Y.files}),eA=(ey===eM.A.Multimodal?eT.Ql:eT.dO)-eE.length,eP=eA<=0,eI=(0,e_.QH)().getGizmoId,eL=eD(ep,(0,eO.YN)(eh,em),(0,eO.p0)(eh,em),"drag",eI,null===(et=(0,eO.ww)(eh,em))||void 0===et?void 0:et.attachments).handleFileAccepted,eB=(0,eO.Z8)((0,eO.Zp)(eh,em)),ez=(0,eg.uI)((0,eo._)({maxFiles:eA,disabled:!ew||eP,noClick:!0,onDropAccepted:eL,onDropRejected:function(Y){return eR(Y,ep,ey)},multiple:!0,maxSize:eT.xC},eB)),eU=ez.getRootProps,eH=ez.isDragActive,eG=en();return(0,ef.jsxs)("div",(0,ea._)((0,eo._)({},eU({className:ei})),{children:[eu,eH&&(0,ef.jsxs)(eF,{children:[(0,ef.jsx)(eS.Fk,{}),(0,ef.jsx)("h3",{children:(0,ef.jsx)(ek.Z,(0,eo._)({},eN.dragInstructions))}),(0,ef.jsx)("h4",{className:"w-2/3",children:eG.length>0?eG.join(", "):(0,ef.jsx)(ek.Z,(0,eo._)({},eN.dragAllAccepted))})]})]}))}function eR(Y,et,en){Y[0].errors.forEach(function(Y){var ei=(0,eA.s)(Y);"string"==typeof ei?eE.m.danger(ei,{hasCloseButton:!0}):eE.m.danger(et.formatMessage(ei,{size:eT.EZ,maxNum:en===eM.A.Multimodal?eT.Ql:eT.dO}),{hasCloseButton:!0})})}function eD(Y,et,en,eo,ea,eu){return{handleFileAccepted:(0,em.useCallback)(function(){var ec=(0,ei._)(function(ei,ec){var ef,em;return(0,ed.Jh)(this,function(ec){switch(ec.label){case 0:if(eh.A.logEvent(ep.M.uploadFile,{eventSource:eo,intent:et.toString()}),!(null!=ea))return[3,2];return[4,ea()];case 1:return em=ec.sent(),[3,3];case 2:em=void 0,ec.label=3;case 3:return ef=em,ei.length>0&&ei.forEach(function(ei){ej.Dw.uploadFile((0,eP.W7)(ei),ei,et,en,Y,{gizmoId:ef},eu)}),[2]}})});return function(Y,et){return ec.apply(this,arguments)}}(),[eo,et,ea,en,Y,eu])}}var eF=ew.Z.div(eI())},64367:function(Y,et,en){"use strict";en.d(et,{Fk:function(){return ea},LO:function(){return ef},N:function(){return ed},OD:function(){return eu},pC:function(){return eh},tf:function(){return ec},yc:function(){return ep}});var ei=en(35250),eo=en(59904),ea=function(Y){var et=Y.className;return(0,ei.jsxs)(eo.A0,{width:"132",height:"108",viewBox:"0 0 132 108",fill:"none",className:et,children:[(0,ei.jsx)("g",{clipPath:"url(#clip0_3605_64419)",children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.2025 29.3514C10.778 33.2165 8.51524 37.1357 11.8281 49.4995L13.4846 55.6814C16.7975 68.0453 20.7166 70.308 35.1411 66.443L43.3837 64.2344C57.8082 60.3694 60.0709 56.4502 56.758 44.0864L55.1016 37.9044C51.7887 25.5406 47.8695 23.2778 33.445 27.1428L29.3237 28.2471L25.2025 29.3514ZM18.1944 42.7244C18.8572 41.5764 20.325 41.1831 21.4729 41.8459L27.3517 45.24C28.4996 45.9027 28.8929 47.3706 28.2301 48.5185L24.836 54.3972C24.1733 55.5451 22.7054 55.9384 21.5575 55.2757C20.4096 54.613 20.0163 53.1451 20.6791 51.9972L22.8732 48.1969L19.0729 46.0028C17.925 45.3401 17.5317 43.8723 18.1944 42.7244ZM29.4091 56.3843C29.066 55.104 29.8258 53.7879 31.1062 53.4449L40.3791 50.9602C41.6594 50.6172 42.9754 51.377 43.3184 52.6573C43.6615 53.9376 42.9017 55.2536 41.6214 55.5967L32.3485 58.0813C31.0682 58.4244 29.7522 57.6646 29.4091 56.3843Z",fill:"#AFC1FF"})}),(0,ei.jsx)("g",{clipPath:"url(#clip1_3605_64419)",children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M86.8124 13.4036C81.0973 11.8722 78.5673 13.2649 77.0144 19.0603L68.7322 49.97C67.1793 55.7656 68.5935 58.2151 74.4696 59.7895L97.4908 65.958C103.367 67.5326 105.816 66.1184 107.406 60.1848L115.393 30.379C115.536 29.8456 115.217 29.2959 114.681 29.16C113.478 28.8544 112.435 28.6195 111.542 28.4183C106.243 27.2253 106.22 27.2201 109.449 20.7159C109.73 20.1507 109.426 19.4638 108.816 19.3004L86.8124 13.4036ZM87.2582 28.4311C86.234 28.1567 85.1812 28.7645 84.9067 29.7888C84.6323 30.813 85.2401 31.8658 86.2644 32.1403L101.101 36.1158C102.125 36.3902 103.178 35.7824 103.453 34.7581C103.727 33.7339 103.119 32.681 102.095 32.4066L87.2582 28.4311ZM82.9189 37.2074C83.1934 36.1831 84.2462 35.5753 85.2704 35.8497L100.107 39.8252C101.131 40.0996 101.739 41.1524 101.465 42.1767C101.19 43.201 100.137 43.8088 99.1132 43.5343L84.2766 39.5589C83.2523 39.2844 82.6445 38.2316 82.9189 37.2074ZM83.2826 43.2683C82.2584 42.9939 81.2056 43.6017 80.9311 44.626C80.6567 45.6502 81.2645 46.703 82.2888 46.9775L89.7071 48.9652C90.7313 49.2396 91.7841 48.6318 92.0586 47.6076C92.333 46.5833 91.7252 45.5305 90.7009 45.256L83.2826 43.2683Z",fill:"#7989FF"})}),(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.4004 71.8426C40.4004 57.2141 44.0575 53.5569 61.1242 53.5569H66.0004H70.8766C87.9432 53.5569 91.6004 57.2141 91.6004 71.8426V79.1569C91.6004 93.7855 87.9432 97.4426 70.8766 97.4426H61.1242C44.0575 97.4426 40.4004 93.7855 40.4004 79.1569V71.8426ZM78.8002 67.4995C78.8002 70.1504 76.6512 72.2995 74.0002 72.2995C71.3492 72.2995 69.2002 70.1504 69.2002 67.4995C69.2002 64.8485 71.3492 62.6995 74.0002 62.6995C76.6512 62.6995 78.8002 64.8485 78.8002 67.4995ZM60.7204 70.8597C60.2672 70.2553 59.5559 69.8997 58.8004 69.8997C58.045 69.8997 57.3337 70.2553 56.8804 70.8597L47.2804 83.6597C46.4851 84.72 46.7 86.2244 47.7604 87.0197C48.8208 87.8149 50.3251 87.6 51.1204 86.5397L58.8004 76.2997L66.4804 86.5397C66.8979 87.0962 67.5363 87.4443 68.2303 87.4936C68.9243 87.5429 69.6055 87.2887 70.0975 86.7967L74.8004 82.0938L79.5034 86.7967C80.4406 87.734 81.9602 87.734 82.8975 86.7967C83.8347 85.8595 83.8347 84.3399 82.8975 83.4026L76.4975 77.0026C75.5602 76.0653 74.0406 76.0653 73.1034 77.0026L68.6601 81.4459L60.7204 70.8597Z",fill:"#3C46FF"}),(0,ei.jsxs)("defs",{children:[(0,ei.jsx)("clipPath",{id:"clip0_3605_64419",children:(0,ei.jsx)("rect",{width:"56",height:"56",fill:"white",transform:"translate(0 26.9939) rotate(-15)"})}),(0,ei.jsx)("clipPath",{id:"clip1_3605_64419",children:(0,ei.jsx)("rect",{width:"64",height:"64",fill:"white",transform:"translate(69.5645 0.5) rotate(15)"})})]})]})},eu=function(Y){var et=Y.className;return(0,ei.jsxs)(eo.A0,{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",className:et,children:[(0,ei.jsx)("rect",{width:"36",height:"36",rx:"6",fill:"#10A37F"}),(0,ei.jsx)("path",{d:"M15.5 10.5H12.1667C11.2462 10.5 10.5 11.2462 10.5 12.1667V13.5V18M15.5 10.5H23.8333C24.7538 10.5 25.5 11.2462 25.5 12.1667V13.5V18M15.5 10.5V25.5M15.5 25.5H18H23.8333C24.7538 25.5 25.5 24.7538 25.5 23.8333V18M15.5 25.5H12.1667C11.2462 25.5 10.5 24.7538 10.5 23.8333V18M10.5 18H25.5",stroke:"white",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})]})},ec=function(Y){var et=Y.className;return(0,ei.jsxs)(eo.A0,{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",className:et,children:[(0,ei.jsx)("rect",{width:"36",height:"36",rx:"6",fill:"#FF5588"}),(0,ei.jsx)("path",{d:"M19.6663 9.66663H12.9997C12.5576 9.66663 12.1337 9.84222 11.8212 10.1548C11.5086 10.4673 11.333 10.8913 11.333 11.3333V24.6666C11.333 25.1087 11.5086 25.5326 11.8212 25.8451C12.1337 26.1577 12.5576 26.3333 12.9997 26.3333H22.9997C23.4417 26.3333 23.8656 26.1577 24.1782 25.8451C24.4907 25.5326 24.6663 25.1087 24.6663 24.6666V14.6666L19.6663 9.66663Z",stroke:"white",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M19.667 9.66663V14.6666H24.667",stroke:"white",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M21.3337 18.8334H14.667",stroke:"white",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M21.3337 22.1666H14.667",stroke:"white",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M16.3337 15.5H15.5003H14.667",stroke:"white",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})]})},ed=function(Y){var et=Y.className;return(0,ei.jsxs)(eo.A0,{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",className:et,children:[(0,ei.jsx)("rect",{width:"36",height:"36",rx:"6",fill:"#F8CA27"}),(0,ei.jsx)("path",{d:"M10.5 14V13.5V12.1667C10.5 11.2462 11.2462 10.5 12.1667 10.5H15.5H23.8333C24.7538 10.5 25.5 11.2462 25.5 12.1667V13.5V14M10.5 14V23.8333C10.5 24.7538 11.2462 25.5 12.1667 25.5H15.5H18H23.8333C24.7538 25.5 25.5 24.7538 25.5 23.8333V14M10.5 14H25.5M14 21.5L16.5 19L19 20.5L22 17.5",stroke:"white",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})]})},ef=function(Y){var et=Y.className;return(0,ei.jsxs)(eo.A0,{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",className:et,children:[(0,ei.jsx)("rect",{width:"36",height:"36",rx:"6",fill:"#B161FD"}),(0,ei.jsx)("path",{d:"M26.3337 23.8333C26.3337 24.2754 26.1581 24.6993 25.8455 25.0118C25.5329 25.3244 25.109 25.5 24.667 25.5H11.3337C10.8916 25.5 10.4677 25.3244 10.1551 25.0118C9.84259 24.6993 9.66699 24.2754 9.66699 23.8333V12.1667C9.66699 11.7246 9.84259 11.3007 10.1551 10.9882C10.4677 10.6756 10.8916 10.5 11.3337 10.5H15.5003L17.167 13H24.667C25.109 13 25.5329 13.1756 25.8455 13.4882C26.1581 13.8007 26.3337 14.2246 26.3337 14.6667V23.8333Z",stroke:"white",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})]})},eh=function(Y){var et=Y.className;return(0,ei.jsxs)(eo.A0,{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",className:et,children:[(0,ei.jsx)("rect",{width:"36",height:"36",rx:"6",fill:"#0000FF"}),(0,ei.jsx)("path",{d:"M18.833 9.66663H12.9997C12.5576 9.66663 12.1337 9.84222 11.8212 10.1548C11.5086 10.4673 11.333 10.8913 11.333 11.3333V24.6666C11.333 25.1087 11.5086 25.5326 11.8212 25.8451C12.1337 26.1577 12.5576 26.3333 12.9997 26.3333H22.9997C23.4417 26.3333 23.8656 26.1577 24.1782 25.8451C24.4907 25.5326 24.6663 25.1087 24.6663 24.6666V15.5L18.833 9.66663Z",stroke:"white",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M18.833 9.66663V15.5H24.6663",stroke:"white",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})]})},ep=function(Y){var et=Y.className;return(0,ei.jsxs)(eo.A0,{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",className:et,children:[(0,ei.jsx)("rect",{width:"36",height:"36",rx:"6",fill:"#FF6E3C"}),(0,ei.jsx)("path",{d:"M21.333 23L26.333 18L21.333 13",stroke:"white",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M14.667 13L9.66699 18L14.667 23",stroke:"white",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})]})}},98135:function(Y,et,en){"use strict";en.d(et,{l:function(){return eD},Z:function(){return eN}});var ei=en(21722),eo=en(10064),ea=en(4337),eu=en(38104),ec=en(35250),ed=en(5053),ef=en(86646),eh=en(19841),ep=en(70079),em=en(1454),eg=en(70671),ey=en(94968),eb=en(21389),ek=en(66161),ew=en(10558),e_=en(15635),eE=en(64367),eC=en(17130);function eT(Y){var et=Y.filename,en=Y.icon,ei=Y.loadingPercentage,eo=function(Y){if((0,eC.CO)(Y))return ea.formatMessage(ej.fileDescImage);switch((0,eC.$p)(Y)){case"py":return"Python";case"js":case"jsx":return"JavaScript";case"ts":case"tsx":return"TypeScript";case"pdf":return"PDF";case"doc":case"docx":case"txt":return ea.formatMessage(ej.fileDescDocument);case"zip":return ea.formatMessage(ej.fileDescZip);case"xls":case"xlsx":case"csv":return ea.formatMessage(ej.fileDescSpreadsheet);case"ppt":case"pptx":case"key":return ea.formatMessage(ej.fileDescPresentation);default:return ea.formatMessage(ej.fileDescFile)}},ea=(0,eg.Z)(),eu=void 0!==ei&&ei<100;return(0,ec.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[null!=en&&!1!==en?(0,ec.jsxs)("div",{className:"relative h-10 w-10 overflow-hidden rounded-md border border-gray-200 dark:border-gray-600",children:[en,eu&&(0,ec.jsx)(eS,{percentage:ei,blurBackground:!0})]}):(0,ec.jsx)("div",{className:"relative h-10 w-10 shrink-0 overflow-hidden rounded-md",children:eu?(0,ec.jsxs)(ec.Fragment,{children:[(0,ec.jsx)("div",{className:(0,eh.default)("inset-0",eA,eP(et))}),(0,ec.jsx)(eS,{percentage:ei})]}):eM(et)}),(0,ec.jsxs)("div",{className:"overflow-hidden",children:[(0,ec.jsx)("div",{className:"truncate font-medium",children:et}),(0,ec.jsx)("div",{className:"truncate text-gray-300",children:eo(et)})]})]})}function eS(Y){var et=Y.percentage,en=Y.blurBackground,ei=void 0!==en&&en;return(0,ec.jsx)("div",{className:(0,eh.default)("absolute inset-0 flex items-center justify-center text-white",ei&&"bg-black/5 backdrop-blur-sm"),children:(0,ec.jsx)(ek.Z,{percentage:et,className:"h-6 w-6"})})}var eA="h-10 w-10 flex-shrink-0";function eM(Y){switch((0,eC.$p)(Y)){case"py":case"js":case"jsx":case"ts":case"tsx":return(0,ec.jsx)(eE.yc,{className:eA});case"doc":case"docx":case"txt":case"pdf":return(0,ec.jsx)(eE.tf,{className:eA});case"zip":return(0,ec.jsx)(eE.LO,{className:eA});case"ppt":case"pptx":case"key":return(0,ec.jsx)(eE.N,{className:eA});case"xls":case"xlsx":case"csv":return(0,ec.jsx)(eE.OD,{className:eA});default:return(0,ec.jsx)(eE.pC,{className:eA})}}function eP(Y){switch((0,eC.$p)(Y)){case"py":case"js":case"jsx":case"ts":case"tsx":return"bg-[#FF6E3C]";case"doc":case"docx":case"txt":case"pdf":return"bg-[#FF5588]";case"zip":return"bg-[#B161FD]";case"ppt":case"pptx":case"key":return"bg-[#F8CA27]";case"xls":case"xlsx":case"csv":return"bg-[#10A37F]";default:return"bg-blue"}}var ej=(0,ey.vU)({fileDescDocument:{id:"FileDataView.fileDescDocument",defaultMessage:"Document",description:"Text that describes the type of file that is a text document"},fileDescZip:{id:"FileDataView.fileDescZip",defaultMessage:"Zip Archive",description:"Text that describes the type of file that is a .zip "},fileDescSpreadsheet:{id:"FileDataView.fileDescSpreadsheet",defaultMessage:"Spreadsheet",description:"Text that describes the type of file that is a spreadsheet"},fileDescPresentation:{id:"FileDataView.fileDescPresentation",defaultMessage:"Presentation",description:"Text that describes the type of file that is a presentation"},fileDescImage:{id:"FileDataView.fileDescImage",defaultMessage:"Image",description:"Text that describes the type of file that is an image"},fileDescFile:{id:"FileDataView.fileDescFile",defaultMessage:"File",description:"Text that describes the type of file that is a generic file"}});function eO(){var Y=(0,ea._)(["flex items-center h-full w-full justify-center bg-gray-500 dark:bg-gray-700 bg-cover bg-center text-white"]);return eO=function(){return Y},Y}function eI(Y){return Y instanceof File}function eN(Y){var et=Y.onRemoveFileClick,en=Y.file,ei=Y.fileId,eo=Y.gizmoId,ea=Y.loadingPercentage,eu=Y.width,ed=void 0===eu?"normal":eu,ef=Y.alwaysShowData,ep=void 0!==ef&&ef,ey=(0,eg.Z)(),eb=void 0!==ea&&ea<100,ew=eI(en)?en.name:en,eE=eI(en)&&(null==en?void 0:en.type.startsWith("image/"))||(0,eC.CO)(ew)&&null!=ei,eS=eE&&(0,ec.jsx)(eD,{file:en,fileId:ei,gizmoId:eo});return(0,ec.jsxs)("div",{className:"group relative inline-block text-sm text-black/70 dark:text-white/90",children:[(0,ec.jsx)("div",{className:"relative overflow-hidden rounded-xl border border-gray-200 dark:border-gray-600",children:eE&&!ep?(0,ec.jsxs)("div",{className:"h-14 w-14",children:[eS,eb&&(0,ec.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/5 text-white",children:(0,ec.jsx)(ek.Z,{percentage:ea,className:"h-6 w-6"})})]}):(0,ec.jsx)("div",{className:(0,eh.default)("p-2 dark:bg-gray-600","wide"===ed?"w-80":"w-60"),children:(0,ec.jsx)(eT,{filename:ew,icon:eS,loadingPercentage:ea})})}),null!=et&&(0,ec.jsx)("button",{onClick:et,className:"absolute right-1 top-1 -translate-y-1/2 translate-x-1/2 rounded-full border border-white bg-gray-500 p-0.5 text-white transition-colors hover:bg-black hover:opacity-100 group-hover:opacity-100 md:opacity-0",children:(0,ec.jsx)(e_.u,{label:ey.formatMessage(eB.removeFile),side:"top",sideOffset:4,children:(0,ec.jsx)(em.q5L,{className:"icon-sm"})})})]})}var eL=eb.Z.span(eO());function eR(){return(0,ec.jsx)(eL,{})}function eD(Y){var et=Y.file,en=Y.fileId,ei=Y.gizmoId,eo=(0,eg.Z)(),ea=eI(et)?et.name:et,eu=eF(eI(et)?et:null,ea,en,ei);return null==eu?(0,ec.jsx)(eR,{}):(0,ec.jsx)(ew.l,{src:eu,alt:eo.formatMessage(eB.userUploadedImage),className:"h-full w-full",children:(0,ec.jsx)(eL,{style:{backgroundImage:"url(".concat(eu,")")}})})}function eF(Y,et,en,ea){var ec=(0,eo._)((0,ep.useState)(void 0),2),eh=ec[0],em=ec[1];return(0,ep.useEffect)(function(){function eo(Y){return ec.apply(this,arguments)}function ec(){return(ec=(0,ei._)(function(Y){var et,en;return(0,eu.Jh)(this,function(ei){switch(ei.label){case 0:return ei.trys.push([0,2,,3]),[4,ef.ZP.getFileDownloadLink(Y,ea)];case 1:return(et=ei.sent()).status===ed.KF.Success?em(et.download_url):console.error("Error fetching URL for file ".concat(Y,": ").concat(et.status)),[3,3];case 2:return en=ei.sent(),console.error("Error fetching URL for file ".concat(Y,": ").concat(en)),[3,3];case 3:return[2]}})})).apply(this,arguments)}if(null==Y?void 0:Y.type.startsWith("image/")){var eh=new FileReader;eh.addEventListener("load",function(){var Y=eh.result;em("string"==typeof Y?Y:void 0)}),eh.readAsDataURL(Y)}else(0,eC.CO)(et)&&null!=en?eo(en):em(void 0)},[Y,et,en,ea]),eh}var eB=(0,ey.vU)({removeFile:{id:"FileTile.removeFile",defaultMessage:"Remove file",description:"Tooltip label for removing a file from the textarea"},userUploadedImage:{id:"FileTile.userUploadedImage",defaultMessage:"User uploaded image",description:"Alt text for an image that was uploaded by the user"}})},13003:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ey},s:function(){return eb}});var ei=en(39324),eo=en(35250),ea=en(54636),eu=en(42780),ec=en(19841),ed=en(27009),ef=en(1454),eh=en(70671),ep=en(94968),em=en(48133),eg=en(91202);function ey(Y){var et=Y.getInputProps,en=Y.openFileDialog,ed=Y.uploadType,ep=Y.customIcon,ey=Y.customClassName,eb=(0,eh.Z)(),ew=(0,eo.jsx)(em.z,{onClick:function(Y){Y.preventDefault(),ea.A.logEvent(eu.M.openFileViewer,{intent:ed.toString()}),en()},color:"none",className:null!=ey?ey:(0,ec.default)("rounded-full p-0 outline-none ",ed===eg.A.Multimodal?"text-gray-500 dark:text-gray-300":"bg-gray-500 text-white hover:bg-black"),"aria-label":eb.formatMessage(ek.attachFiles),children:null!=ep?ep:ed===eg.A.Multimodal?(0,eo.jsx)(ef.LFN,{className:"icon-sm"}):(0,eo.jsx)(ef.OvN,{className:"icon-sm"})}),e_=(0,eo.jsx)("input",(0,ei._)({},et({className:"hidden"})));return(0,eo.jsxs)("div",{className:"gizmo:flex",children:[ew,e_]})}function eb(Y){var et=Y.code,en=Y.message;switch(et){case ed.jK.FileTooLarge:return ek.errorFileTooLarge;case ed.jK.TooManyFiles:return ea.A.logEvent(eu.M.uploadedMaxFilesError),ek.errorTooManyFiles;default:return en}}var ek=(0,ep.vU)({attachImages:{id:"PromptFilePicker.attachImages",defaultMessage:"Attach images",description:"Tooltip label for button that uploads an image"},attachFiles:{id:"PromptFilePicker.attachFiles",defaultMessage:"Attach files",description:"Tooltip label for button that uploads a file/files"},errorFileTooLarge:{id:"PromptFilePicker.errorFileTooLarge",defaultMessage:"File is too large. Maximum file size is {size}MB",description:"Error message when file is too large"},errorTooManyFiles:{id:"PromptFilePicker.errorTooManyFiles",defaultMessage:"Too many files uploaded. Maximum number of files at a time is {maxNum}",description:"Error message when too many files are uploaded"}})},68260:function(Y,et,en){"use strict";en.d(et,{$e:function(){return ea},EZ:function(){return eu},Ql:function(){return eo},dO:function(){return ei},xC:function(){return ec}});var ei=10,eo=4,ea={duration:20,hasCloseButton:!0},eu=512,ec=536870912},91202:function(Y,et,en){"use strict";var ei,eo;en.d(et,{A:function(){return ei},X:function(){return eo}}),function(Y){Y[Y.None=0]="None",Y[Y.Multimodal=1]="Multimodal",Y[Y.Interpreter=2]="Interpreter",Y[Y.Retrieval=3]="Retrieval",Y[Y.ContextConnector=4]="ContextConnector",Y[Y.ProfilePicture=5]="ProfilePicture"}(ei||(ei={})),function(Y){Y.Uploading="uploading",Y.Ready="ready"}(eo||(eo={}))},19797:function(Y,et,en){"use strict";en.d(et,{W7:function(){return eg},cT:function(){return eb},lU:function(){return ew},po:function(){return ey}});var ei=en(21722),eo=en(38104),ea=en(5053),eu=en(20630),ec=en(86646),ed=en(93028),ef=en(94968),eh=en(72290),ep=en(17130),em={duration:20,hasCloseButton:!0};function eg(Y){return JSON.stringify({file:Y.name,modified:Y.lastModified,currentTime:new Date().toString()})}function ey(Y){return new Promise(function(et,en){var ei=new FileReader,eo=new Image;ei.onload=function(){eo.onload=function(){return et(eo)},eo.onerror=function(Y){return en(Y)},eo.src=ei.result},ei.readAsDataURL(Y)})}function eb(Y,et,en,ei,eo,ea){return ek.apply(this,arguments)}function ek(){return(ek=(0,ei._)(function(Y,et,en,ei,eu,ed){var ef,ep,eg,ey,eb,ek,ew,e_;return(0,eo.Jh)(this,function(eo){switch(eo.label){case 0:ef=ed.usesRetrievalIndex?performance.now():void 0,eo.label=1;case 1:return eo.trys.push([1,7,,8]),[4,ec.ZP.createFile(et.name,et.size,ei)];case 2:return eg=(ep=eo.sent()).file_id,ey=ep.upload_url,eu.onFileCreated(Y,eg,ey),eb=ei.kind===ea.Ei.Gizmo?ei.gizmoId:void 0,[4,eE(Y,et,eg,ey,eu.onFileUploadProgress,null!==(ek=ed.usesRetrievalIndex)&&void 0!==ek&&ek,null!==(ew=ed.shouldUpdateProgress)&&void 0!==ew&&ew,{gizmoId:eb})];case 3:if(eo.sent(),!ed.usesRetrievalIndex)return[3,5];return[4,eT(eg,eb)];case 4:return(null==(e_=eo.sent())?void 0:e_.status)===ea.Xf.Skipped&&eh.m.danger(en.formatMessage(ej.retrievalSkippedFile,{fileName:e_.name}),em),eu.onFileUploaded(Y,void 0,{fileTokenSize:e_.file_size_tokens}),[3,6];case 5:eu.onFileUploaded(Y,ed.imageDimensions),eo.label=6;case 6:return null!=ef&&ec.ZP.postRetrievalTiming({e2eLatencyMs:performance.now()-ef}),[3,8];case 7:return eP(en,et,eo.sent()),eu.onError(Y,"error"),[3,8];case 8:return[2]}})})).apply(this,arguments)}function ew(Y,et,en,ei,eo){return e_.apply(this,arguments)}function e_(){return(e_=(0,ei._)(function(Y,et,en,ei,ea){var eu;return(0,eo.Jh)(this,function(eo){switch(eo.label){case 0:return[4,ey(et)];case 1:return[2,eb(Y,et,en,{kind:ei},ea,{imageDimensions:{width:(eu=eo.sent()).width,height:eu.height}})]}})})).apply(this,arguments)}function eE(Y,et,en,ei,eo){return eC.apply(this,arguments)}function eC(){return(eC=(0,ei._)(function(Y,et,en,ea,eu){var ed,ef,eh,ep=arguments;return(0,eo.Jh)(this,function(em){switch(em.label){case 0:return ed=ep.length>5&&void 0!==ep[5]&&ep[5],ef=ep.length>6&&void 0!==ep[6]&&ep[6],eh=ep.length>7&&void 0!==ep[7]?ep[7]:{},[4,ec.ZP.uploadFileToAzureStorage(et,ea,function(et){ef&&eu(Y,10+80*et)}).then(function(){var et=(0,ei._)(function(et){return(0,eo.Jh)(this,function(ei){switch(ei.label){case 0:return eu(Y,90),201!==et.status&&eA(et,en,ed),[4,ec.ZP.processFileUpload(en,eh)];case 1:return ei.sent(),[2]}})});return function(Y){return et.apply(this,arguments)}}())];case 1:return[2,em.sent()]}})})).apply(this,arguments)}function eT(Y,et){return eS.apply(this,arguments)}function eS(){return(eS=(0,ei._)(function(Y,et){var en,ei,eu,ef;return(0,eo.Jh)(this,function(eo){switch(eo.label){case 0:en=Date.now()+6e4,ei=function(Y){return new Promise(function(et){return setTimeout(et,Y)})},eu=0,eo.label=1;case 1:if(!(Date.now()<en))return[3,4];return[4,ec.ZP.getRetrievalStatus(Y,et)];case 2:if((ef=eo.sent()).status===ea.Xf.Success||ef.status===ea.Xf.Skipped)return[2,ef];if(ef.status===ea.Xf.Failed)throw new ed.gK("Context extraction failed",void 0,ef.error_code);return[4,ei(Math.min(1e3,100*++eu))];case 3:return eo.sent(),[3,1];case 4:throw new ed.gK("Retrieval indexing timed out")}})})).apply(this,arguments)}function eA(Y,et){return eM.apply(this,arguments)}function eM(){return(eM=(0,ei._)(function(Y,et){var en,ei,ea,eu=arguments;return(0,eo.Jh)(this,function(eo){switch(eo.label){case 0:en=eu.length>2&&void 0!==eu[2]&&eu[2],ei="Unknown error",eo.label=1;case 1:return eo.trys.push([1,3,,4]),[4,Y.data];case 2:return ei=eo.sent(),[3,4];case 3:return ea=eo.sent(),[3,4];case 4:throw en&&ec.ZP.markFileUploadFailed(et,{error:ei}),new ed.gK("File upload to blobstore failed",void 0,"default_upload_error")}})})).apply(this,arguments)}function eP(Y,et,en){var ei=(0,ep.kr)(Y,"default_upload_error",{fileName:et.name});(0,eu.T)(en)&&void 0!==en.code&&(ei=(0,ep.kr)(Y,en.code)),eh.m.danger(ei,em)}var ej=(0,ef.vU)({retrievalSkippedFile:{id:"useFilePickerState.retrievalSkippedFile",defaultMessage:'Unable to extract text from "{fileName}"',description:"Error message when user uploads a file that we are unable to parse and extract text from."}})},12543:function(Y,et,en){"use strict";en.d(et,{Dw:function(){return eA},HR:function(){return eT},gF:function(){return eC}});var ei=en(21722),eo=en(39324),ea=en(71209),eu=en(64502),ec=en(38104),ed=en(5053),ef=en(42786),eh=en(54636),ep=en(42780),em=en(94968),eg=en(78103),ey=en(72290),eb=en(68260),ek=en(91202),ew=en(19797),e_=en(17130),eE={files:[],connectorFileData:{}},eC=(0,eg.ZP)(function(){return eE}),eT={hasUploadInProgress:function(Y){return Y.files.some(function(Y){return Y.status===ek.X.Uploading})},getReadyFiles:function(Y){return Y.files.filter(function(Y){return Y.status===ek.X.Ready})}},eS=2048,eA={reset:function(){eC.setState(eE)},uploadFile:function(){var Y=(0,ei._)(function(Y,et,en,ei,eo){var ea,em,eg,eE,eT,eA,ej,eO,eI,eN,eL,eR,eD,eF=arguments;return(0,ec.Jh)(this,function(ec){switch(ec.label){case 0:if(ea=eF.length>5&&void 0!==eF[5]?eF[5]:{},em=eF.length>6?eF[6]:void 0,eg=ea.gizmoId,eE=eC.getState().files,eT=(0,e_.xs)(en,et.name,et.type,em),eA={tempId:Y,gizmoId:ea.gizmoId,status:ek.X.Uploading,file:et,progress:1,fileId:null,cdnUrl:null},eE.length!==eb.dO)return[3,1];return eh.A.logEvent(ep.M.uploadedMaxFilesError),ey.m.danger(eo.formatMessage(eP.maxUploadsAtATime,{maxUploads:eb.dO,fileName:et.name}),eb.$e),[3,11];case 1:if(eC.setState(function(Y){var et=Y.files;return{files:(0,eu._)(et).concat([eA])}}),eO={},!ei.includes(et.type))return[3,8];return ej={kind:ed.Ei.Multimodal},[4,(0,ew.po)(et)];case 2:if(eN=(eI=ec.sent()).width,eL=eI.height,!(eN>eS||eL>eS))return[3,7];ec.label=3;case 3:return ec.trys.push([3,6,,7]),[4,(0,e_.Tu)(et,eS)];case 4:return eR=ec.sent(),[4,(0,ew.po)(eR)];case 5:return eN=(eD=ec.sent()).width,eL=eD.height,et=eR,[3,7];case 6:return console.error("Error resizing image:",ec.sent()),[3,7];case 7:return eO.imageDimensions={width:eN,height:eL},[3,9];case 8:switch(eT){case ek.A.Multimodal:throw Error("Multimodal file upload not supported mime type, ".concat(et.type,"\nSupported mime types: ")+ei.join(", "));case ek.A.Interpreter:ej={kind:ed.Ei.AceUpload};break;case ek.A.Retrieval:ej={kind:ed.Ei.MyFiles},eO.usesRetrievalIndex=!0;break;case ek.A.ProfilePicture:throw Error("cannot upload profile picture via uploadFile");case ek.A.ContextConnector:case ek.A.None:return[2];default:(0,ef.Z)(eT)}ec.label=9;case 9:return null!=eg&&(ej={kind:ed.Ei.Gizmo,gizmoId:eg}),[4,(0,ew.cT)(Y,et,eo,ej,eM,eO)];case 10:ec.sent(),ec.label=11;case 11:return[2]}})});return function(et,en,ei,eo,ea){return Y.apply(this,arguments)}}(),createFileCompleted:function(Y,et,en){var ei=eC.getState().files,ec=ei.findIndex(function(et){return et.tempId===Y}),ed=ei[ec];if(ec>=0&&ed.status===ek.X.Uploading){var ef=(0,eu._)(ei);ef.splice(ec,1,(0,ea._)((0,eo._)({},ed),{progress:10,fileId:et,cdnUrl:en})),eC.setState({files:ef})}},updateProgress:function(Y,et){var en=eC.getState().files,ei=en.findIndex(function(et){return et.tempId===Y}),ec=en[ei];if(ei>=0&&ec.status===ek.X.Uploading){var ed=(0,eu._)(en);ed.splice(ei,1,(0,ea._)((0,eo._)({},ec),{progress:et})),eC.setState({files:ed})}},uploadCompleted:function(Y,et,en,ei){var ec=eC.getState().files,ed=ec.findIndex(function(et){return et.tempId===Y});if(ed>=0&&ec[ed].status===ek.X.Uploading&&null!==ec[ed].fileId){var ef=ec[ed],em=(0,eu._)(ec),eg=(0,ea._)((0,eo._)({},ef),{tempId:Y,status:ek.X.Ready,progress:100,fileSpec:(0,eo._)({name:ef.file.name,id:ef.fileId,size:ef.file.size,mimeType:ef.file.type},et||{},en||{})});em.splice(ed,1,eg);var ey=(0,eo._)({},eC.getState().connectorFileData);ei&&(ey[null==ei?void 0:ei.file_id]=ei),eC.setState({files:em,connectorFileData:ey}),eh.A.logEvent(ep.M.uploadFileCompleted,{status:ef.status,fileId:ef.fileId})}},remove:function(Y,et){var en=eC.getState().files,ei=en.findIndex(function(et){return et.tempId===Y});if(ei>=0){var eo=en[ei],ea="error"===et?ep.M.uploadFileError:ep.M.removeFile;eh.A.logEvent(ea,{status:eo.status,fileId:eo.fileId});var ec=(0,eu._)(en);ec.splice(ei,1),eC.setState({files:ec})}}},eM={onFileCreated:eA.createFileCompleted,onFileUploadProgress:eA.updateProgress,onFileUploaded:eA.uploadCompleted,onError:eA.remove},eP=(0,em.vU)({maxUploadsAtATime:{id:"useFilePickerState.maxUploadsAtATime",defaultMessage:"Unable to upload {fileName}. Max {maxUploads} uploads at a time",description:"Error message when user tries to upload more than the max number of files"}})},17130:function(Y,et,en){"use strict";en.d(et,{$H:function(){return ek},$p:function(){return eN},CO:function(){return eL},Iy:function(){return ey},KL:function(){return eO},L8:function(){return eb},O6:function(){return eE},Tu:function(){return eR},VF:function(){return e_},WI:function(){return eD},YN:function(){return eT},Z8:function(){return eI},Zp:function(){return eP},_0:function(){return eM},kr:function(){return ew},p0:function(){return ej},ww:function(){return eC},xs:function(){return eA}});var ei=en(21722),eo=en(38104),ea=en(5053),eu=en(61098),ec=en(86646),ed=en(4536),ef=en(70079),eh=en(70671),ep=en(94968),em=en(72290),eg=en(91202);function ey(Y){return Y.replace("file-service://","")}function eb(Y){return"file-service://"+Y}function ek(Y){return Y.startsWith("file-service://")}function ew(Y,et,en){switch(et){case"file_zero_bytes":return Y.formatMessage(eF.fileZeroBytes,en);case"file_too_large":return Y.formatMessage(eF.fileTooLarge,en);case"over_user_quota":return Y.formatMessage(eF.overUserQuota,en);case"file_not_found":case"file_expired":return Y.formatMessage(eF.fileNotFound,en);case"file_timed_out":return Y.formatMessage(eF.fileTimedOut,en);case"ace_pod_expired":return Y.formatMessage(eF.codeInterpreterSessionTimeout,en);case"permission_error":return Y.formatMessage(eF.permissionError,en);case"default_upload_error":case"file_rejected":return Y.formatMessage(eF.defaultCreateEntryError,en);case"default_download_link_error":return Y.formatMessage(eF.defaultDownloadLinkError,en);case"file_empty":return Y.formatMessage(eF.fileEmpty,en);case"too_many_tokens":return Y.formatMessage(eF.fileTooManyTokens,en);case"file_encrypted":return Y.formatMessage(eF.fileEncrypted,en);case"file_corrupted":return Y.formatMessage(eF.fileCorrupted,en);default:return Y.formatMessage(eF.unknownError)}}function e_(){var Y=(0,eh.Z)();return(0,ef.useCallback)(function(et,en){return ew(Y,et,en)},[Y])}function eE(){var Y=(0,ed.kP)().session,et=(0,eh.Z)();return function(){var en=(0,ei._)(function(en,ei){var eu,ed,ef,eh,ep,eg,ey,eb,ek;return(0,eo.Jh)(this,function(eo){switch(eo.label){case 0:if(null==Y)return em.m.danger(et.formatMessage(eF.fileDownloadFailed)),[2,!1];eo.label=1;case 1:return eo.trys.push([1,6,,7]),[4,ec.ZP.getFileDownloadLink(en)];case 2:if((ef=eo.sent()).status!==ea.KF.Success)throw Error("File is not ready to download: "+JSON.stringify(ef));if(!(null!=(eh=null===(eu=ef.metadata)||void 0===eu?void 0:null===(ed=eu.context_connector)||void 0===ed?void 0:ed.url)))return[3,3];return window.open(eh,"_blank"),[3,5];case 3:return[4,fetch(ef.download_url).then(function(Y){return Y.blob()})];case 4:ep=eo.sent(),eg=URL.createObjectURL(ep),(ey=window.open(eg,"_blank"))&&ey.addEventListener("beforeunload",function(){URL.revokeObjectURL(eg)}),(eb=document.createElement("a")).href=eg,eb.download=ei,eb.style.display="none",eb.click(),URL.revokeObjectURL(eg),eo.label=5;case 5:return[3,7];case 6:return ek=eo.sent(),em.m.danger(et.formatMessage(eF.fileDownloadFailed)),[2,!1];case 7:return[2,!0]}})});return function(Y,et){return en.apply(this,arguments)}}()}function eC(Y,et){if((null==et?void 0:et.kind)===eu.OL.GizmoInteraction||(null==et?void 0:et.kind)===eu.OL.GizmoTest){var en;return null===(en=et.gizmo)||void 0===en?void 0:en.product_features}return null==Y?void 0:Y.product_features}function eT(Y,et){var en,ei,eo,eu,ec=eC(Y,et);return(null==ec?void 0:null===(en=ec.attachments)||void 0===en?void 0:en.type)===ea.Cd.CodeInterpreter?eg.A.Interpreter:(null==ec?void 0:null===(ei=ec.attachments)||void 0===ei?void 0:ei.type)===ea.Cd.Multimodal?eg.A.Multimodal:(null==ec?void 0:null===(eo=ec.attachments)||void 0===eo?void 0:eo.type)===ea.Cd.Retrieval?eg.A.Retrieval:(null==ec?void 0:null===(eu=ec.attachments)||void 0===eu?void 0:eu.type)===ea.Cd.ContextConnector?eg.A.ContextConnector:eg.A.None}function eS(Y){var et,en=null===(et=Y.split(".").pop())||void 0===et?void 0:et.toLowerCase();return({md:"text/markdown",java:"text/x-java",py:"text/x-script.python",c:"text/x-c",cpp:"text/x-c++",h:"text/x-c++",php:"text/x-php",rb:"text/x-ruby",tex:"application/x-latext",ts:"text/x-typescript",cs:"text/x-csharp"})[null!=en?en:""]||""}function eA(Y,et,en,ei){if(null==ei)return Y;var eo=eS(et);eo&&(en=eo);var ea=ei.accepted_mime_types,eu=ei.can_accept_all_mime_types;return null!=ea&&0!==ea.length&&eu?ea.includes(en)?Y:eg.A.Interpreter:Y}function eM(Y,et,en){var ei,eo,eu,ec=""!==et?et:eS(en),ed=null==Y?void 0:null===(ei=Y.product_features)||void 0===ei?void 0:ei.attachments;return null==ed?void 0:(null===(eo=ed.accepted_mime_types)||void 0===eo?void 0:eo.includes(ec))?ed.type:(null===(eu=ed.image_mime_types)||void 0===eu?void 0:eu.includes(ec))?ea.Cd.Multimodal:ea.Cd.CodeInterpreter}function eP(Y,et){var en,ei,eo=eC(Y,et);return(null==eo?void 0:null===(en=eo.attachments)||void 0===en?void 0:en.can_accept_all_mime_types)?void 0:null==eo?void 0:null===(ei=eo.attachments)||void 0===ei?void 0:ei.accepted_mime_types}function ej(Y,et){var en,ei=eC(Y,et),eo=(null!=ei?ei:{}).attachments;return(null==eo?void 0:eo.image_mime_types)?eo.image_mime_types:(null==eo?void 0:eo.type)==="multimodal"?null!==(en=eo.accepted_mime_types)&&void 0!==en?en:eO:[]}var eO=["image/png","image/jpeg","image/gif","image/webp"];function eI(Y){return(0,ef.useMemo)(function(){if(void 0===Y)return{};var et={"image/jpeg":[".jpg",".jpeg"],"image/svg+xml":[".svg"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[".docx"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":[".pptx"]};return{accept:Y.reduce(function(Y,en){return en in et?Y[en]=et[en]:en.includes("/")&&(Y[en]=[".".concat(en.split("/")[1])]),Y},{})}},[Y])}function eN(Y){var et;return null===(et=Y.split(".").pop())||void 0===et?void 0:et.toLowerCase()}function eL(Y){var et=eN(Y);return null!=et&&["jpg","jpeg","png","gif","webp"].includes(et)}function eR(Y,et){var en=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"fit";return new Promise(function(ei,eo){var ea=new FileReader;ea.onerror=function(Y){console.error("File reading has failed:",Y),eo(Error("Failed to read the file."))},ea.onload=function(ea){var eu=new Image;eu.onerror=function(Y){console.error("Image loading has failed:",Y),eo(Error("Failed to load the image."))},eu.onload=function(){var ea,ec=document.createElement("canvas"),ed=0,ef=0;switch(en){case"fill":case"square":ea=et/Math.min(eu.width,eu.height);break;default:ea=et/Math.max(eu.width,eu.height)}var eh=eu.width*ea,ep=eu.height*ea;"square"===en?(ec.width=et,ec.height=et,ed=(et-eh)/2,ef=(et-ep)/2):(ec.width=eh,ec.height=ep);var em=ec.getContext("2d");if(null==em){console.error("Canvas context creation failed. Your environment might not fully support HTML5 canvas."),eo(Error("Failed to create canvas context."));return}em.drawImage(eu,ed,ef,eh,ep);var eg=Y.type||"image/png";ec.toBlob(function(et){et?ei(new File([et],Y.name,{type:eg})):(console.error("Blob creation failed. Blob is null."),eo(Error("Failed to create blob from image data.")))},eg)},null==ea.target?(console.error("Event target is null. Failed to load image."),eo("Failed to load image.")):eu.src=ea.target.result},ea.readAsDataURL(Y)})}function eD(Y,et){return eR(Y,et,"square")}var eF=(0,ep.vU)({defaultCreateEntryError:{id:"fileUpload.defaultCreateEntryError",defaultMessage:"Unable to upload {fileName}",description:"Error message when file upload fails"},defaultDownloadLinkError:{id:"fileUpload.defaultDownloadLinkError",defaultMessage:"Failed to get upload status for {fileName}",description:"Error message when file download link fails"},unknownError:{id:"fileUpload.unknownError",defaultMessage:"Unknown error occurred",description:"Error message when file upload fails"},fileZeroBytes:{id:"fileUpload.fileZeroBytes",defaultMessage:"File is empty",description:"Error message when file is zero bytes"},fileTooLarge:{id:"fileUpload.fileTooLarge",defaultMessage:"File is too large",description:"Error message when file is too large to upload"},overUserQuota:{id:"fileUpload.overUserQuota",defaultMessage:"User quota exceeded",description:"Error message when user storage space (quote) has been exceeded"},fileNotFound:{id:"fileUpload.fileNotFound",defaultMessage:"File not found",description:"Error message when file was not found"},fileTimedOut:{id:"fileUpload.fileTimedOut",defaultMessage:"File upload timed out. Please try again.",description:"Error message when file upload timed out"},fileEmpty:{id:"fileUpload.fileEmpty",defaultMessage:"No text could be extracted from this file.",description:"Error message when an uploaded file does not contain parsable text"},fileTooManyTokens:{id:"fileUpload.fileTooManyTokens",defaultMessage:"This file contains too much text content. Please try again with a smaller file.",description:"Error message when an uploaded file contains too many tokens/is too large."},fileEncrypted:{id:"fileUpload.fileEncrypted",defaultMessage:"This file is encrypted/requires a password to access. Please try again with an unencrypted file.",description:"Error message when an uploaded file that is encrypted."},fileCorrupted:{id:"fileUpload.fileCorrupted",defaultMessage:"This file is corrupted. Please ensure the file is not corrupted and try again.",description:"Error message when an uploaded file that is corrupted."},codeInterpreterSessionTimeout:{id:"fileUpload.codeInterpreterSessionTimeout",defaultMessage:"Code interpreter session expired",description:"Error message when code interpreter session expired"},permissionError:{id:"fileUpload.permissionError",defaultMessage:"Missing permission to access file",description:"Error message when user doesn't have permission to access a file"},fileDownloadFailed:{id:"filesModal.fileDownloadFailed",defaultMessage:"File download failed. Please try again.",description:"Error message when file download fails"}})},42325:function(Y,et,en){"use strict";en.d(et,{S3:function(){return ep},ZP:function(){return eg}});var ei=en(4337),eo=en(35250),ea=en(31448),eu=en(11615),ec=en(47635),ed=en(21389),ef=en(73960);function eh(){var Y=(0,ei._)(["text-sm text-token-text-tertiary"]);return eh=function(){return Y},Y}var ep=ed.Z.div(eh()),em="community builder";function eg(Y){var et=Y.gizmo,en=Y.builderName,ei=Y.builderUrl,ec=Y.className;switch(eu.D0&&et&&(en||ei)&&console.error("GizmoAuthor: provide gizmo OR builderName/builderUrl, not both."),et&&(0,ef.S9)(et)?(ed=et.gizmo.author.display_name,eh=et.gizmo.author.link_to,eg=et.gizmo.author.selected_display):(en&&(ed=en),ei&&(eh=ei),eg=eh?ea.y.WEBSITE:ea.y.NAME),(""===ed||null==ed)&&(ed=em),eg){case ea.y.WEBSITE:if(!eh)return null;var ed,eh,eg,eb,ek=ey(eh);if(!ek)return(0,eo.jsxs)(ep,{children:["By ",null!=ed?ed:em]});return(0,eo.jsxs)(ep,{className:ec,children:["By"," ",(0,eo.jsx)("a",{href:eh,target:"_blank",rel:"noopener noreferrer",className:"underline",children:null!==(eb=null!=ed?ed:ek)&&void 0!==eb?eb:em})]});case ea.y.NAME:default:return(0,eo.jsxs)(ep,{className:ec,children:["By ",ed]})}}function ey(Y){var et;try{et=ec.get(new URL(Y).hostname)}catch(Y){return console.error("Invalid card url: ",Y),null}return et}},418:function(Y,et,en){"use strict";en.d(et,{M:function(){return ef},Z:function(){return ed}});var ei=en(35250),eo=en(1454),ea=en(59904),eu=en(21950),ec=en(80275);function ed(Y){var et=Y.isFirstParty,en=Y.src,eu=Y.className;return(0,ei.jsx)("div",{className:eu,children:null!=en?(0,ei.jsx)("div",{className:"gizmo-shadow-stroke overflow-hidden rounded-full",children:(0,ei.jsx)("img",{src:en,className:"h-full w-full bg-token-surface-secondary dark:bg-token-surface-tertiary",alt:"GPT",width:80,height:80})}):(0,ei.jsx)("div",{className:"gizmo-shadow-stroke relative flex h-full items-center justify-center rounded-full bg-white text-black",children:et?(0,ei.jsx)(ea.nI,{className:"h-2/3 w-2/3"}):(0,ei.jsx)(eo.Wpg,{className:"text-token-secondary h-2/3 w-2/3"})})})}function ef(Y){var et,en,eo=Y.gizmoId,ea=Y.className,ef=(0,eu.b9)(eo).data;return(0,ei.jsx)(ed,{src:null==ef?void 0:ef.gizmo.display.profile_picture_url,isFirstParty:null!==(en=null===(et=null==ef?void 0:ef.gizmo.tags)||void 0===et?void 0:et.includes(ec.U9.FirstParty))&&void 0!==en&&en,className:ea})}},23211:function(Y,et,en){"use strict";en.d(et,{D:function(){return ei},z:function(){return eo}});var ei="ChatGPT",eo="Untitled"},21950:function(Y,et,en){"use strict";en.d(et,{AG:function(){return eO},Bw:function(){return eT},CR:function(){return eP},D2:function(){return eH},F0:function(){return eK},Fi:function(){return eF},HW:function(){return eC},K9:function(){return e$},N_:function(){return eY},O_:function(){return eS},Po:function(){return e9},Sg:function(){return eL},TS:function(){return e5},Vw:function(){return eW},WL:function(){return e0},Wd:function(){return eV},Wz:function(){return ez},ZJ:function(){return eQ},b9:function(){return eG},i6:function(){return eN},kX:function(){return eM},kb:function(){return eX},kg:function(){return eZ},m_:function(){return eI},pJ:function(){return eJ},un:function(){return ej},uy:function(){return eA},z5:function(){return eD}});var ei=en(21722),eo=en(39324),ea=en(71209),eu=en(38104),ec=en(61098),ed=en(80275),ef=en(66638),eh=en(91006),ep=en(61236),em=en(82685),eg=en(82473),ey=en(25494),eb=en(68951),ek=en(10721),ew=en(39368),e_=en(30769),eE=en(73960),eC="GPT Builder";function eT(Y){var et=Y.match(/(?:\/gizmo)?\/g\/([^/]+)/);if(et)return et[1]}function eS(Y){var et=eT(Y);if(et)return eP(et)}function eA(Y){if(Y)return"ChatGPT - ".concat(Y)}function eM(Y){var et,en;return null!==(en=null!==(et=Y.gizmo.short_url)&&void 0!==et?et:Y.gizmo.id)&&void 0!==en?en:"-"}function eP(Y){var et=Y.split("-");return et.length>1&&"g"===et[0]?"g-".concat(et[1]):et[0]}function ej(Y){return"/g/".concat(Y)}function eO(Y){return"".concat("https://chat.openai.com").concat(ej(Y))}function eI(Y){return ej(eM(Y))}function eN(Y){return"/g/".concat(eM(Y))}function eL(Y){return(0,eE.S9)(Y)&&0===Y.gizmo.live_version||(0,eE.WQ)(Y)&&0===Y.liveVersion}var eR=(0,eh.C)({queryKey:["gizmos","discovery"],queryFn:(0,ei._)(function(){return(0,eu.Jh)(this,function(Y){return[2,e_.U.getGizmoDiscovery()]})})});function eD(){return(0,ep.a)(eR)}function eF(Y,et,en){var eo,ea=!(arguments.length>3)||void 0===arguments[3]||arguments[3];return(0,em.N)({queryKey:["gizmos","discovery",{cutId:Y,limit:et}],queryFn:function(){var en=(0,ei._)(function(en){var ei;return(0,eu.Jh)(this,function(eo){return ei=en.pageParam,[2,e_.U.getGizmoDiscoveryCut(Y,{cursor:ei,limit:et})]})});return function(Y){return en.apply(this,arguments)}}(),initialPageParam:en,getNextPageParam:function(Y){return null!==(eo=Y.list.cursor)&&void 0!==eo?eo:void 0},enabled:ea})}function eB(){return(0,eh.C)({queryKey:["gizmos","bootstrap"],queryFn:(0,ei._)(function(){return(0,eu.Jh)(this,function(Y){return[2,e_.U.getGizmoBootstrap().then(function(Y){return{gizmos:Y.gizmos.map(function(Y){return{resource:Y.resource,flair:Y.flair}})}})]})})})}function ez(){return(0,ep.a)(eB())}function eU(Y,et){var en=Y.filter(function(Y){return Y.resource.gizmo.id!==et.resource.gizmo.id}),ei=en.findIndex(function(Y){return Y.flair.kind===ed.JK.Recent});return -1===ei&&(ei=en.length),en.splice(ei,0,et),en}var eH={handleGizmoInteracted:function(Y){var et=eb.E.getQueryData(eW(Y).queryKey);null!=et&&eb.E.setQueryData(eB().queryKey,function(en){if(null==en)return en;var ei=en.gizmos.find(function(et){return et.resource.gizmo.id===Y});return(null==ei?void 0:ei.flair.kind)===ed.JK.FirstParty||(null==ei?void 0:ei.flair.kind)===ed.JK.SidebarKeep?en:{gizmos:eU(en.gizmos,{resource:et,flair:{kind:ed.JK.Recent}})}})},handleGizmoSidebarKeep:function(Y){var et=eb.E.getQueryData(eW(Y).queryKey);null!=et&&eb.E.setQueryData(eB().queryKey,function(Y){return null==Y?Y:{gizmos:eU(Y.gizmos,{resource:et,flair:{kind:ed.JK.SidebarKeep}})}})},handleGizmoSidebarHide:function(Y){eb.E.setQueryData(eB().queryKey,function(et){return(null==et?void 0:et.gizmos.some(function(et){return et.resource.gizmo.id===Y}))?{gizmos:et.gizmos.filter(function(et){return et.resource.gizmo.id!==Y})}:et})}};function eG(Y){var et=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ep.a)(eW(Y,et))}function eV(Y,et){return(0,ep.a)({queryKey:["gizmo","userActionSettings",{gizmoId:Y}],queryFn:(0,ei._)(function(){return(0,eu.Jh)(this,function(et){return[2,e_.U.getUserActionSettings(Y)]})}),enabled:null!=Y&&et})}function eW(Y){var et=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,eh.C)({queryKey:["gizmo",{gizmoId:Y},{draft:et}],queryFn:(0,ei._)(function(){return(0,eu.Jh)(this,function(en){return[2,e_.U.getGizmo(Y,et)]})}),enabled:null!=Y,initialData:function(){if(!0!==et){var en=eb.E.getQueryData(eB().queryKey);if(null!=en)return null===(ec=en.gizmos.find(function(et){return et.resource.gizmo.id===Y}))||void 0===ec?void 0:ec.resource;var ei=eb.E.getQueryData(["gizmos","discovery"]);if(null!=ei){var eo=!0,ea=!1,eu=void 0;try{for(var ec,ed,ef=ei.cuts[Symbol.iterator]();!(eo=(ed=ef.next()).done);eo=!0){var eh,ep=ed.value,em=null===(eh=ep.list.items.find(function(et){return et.resource.gizmo.id===Y}))||void 0===eh?void 0:eh.resource;if(null!=em)return em}}catch(Y){ea=!0,eu=Y}finally{try{eo||null==ef.return||ef.return()}finally{if(ea)throw eu}}}}}})}function eZ(Y){var et=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,ep.a)(eW(Y,et))}function eK(Y){return eb.E.fetchQuery(eW(Y))}function e$(Y){return(0,ep.a)({queryKey:["gizmo",{search:Y}],queryFn:(0,ei._)(function(){return(0,eu.Jh)(this,function(et){return[2,e_.U.getGizmoSearch(Y)]})})})}function eY(){var Y=(0,eg.NL)();return(0,ey.D)({mutationFn:function(){var Y=(0,ei._)(function(Y){var et,en,ei,ec,ef,eh,ep,em,eg,ey,eb,ek;return(0,eu.Jh)(this,function(eu){return et=Y.gizmoId,ei=(en=Y.editorData).instructions,ec=en.name,ef=en.description,eh=en.profilePictureId,ep=en.profilePictureUrl,em=en.welcomeMessage,eg=en.promptStarters,ey=en.tools,eb=en.files,ek=en.trainingDisabled,[2,e_.U.upsertDraft({instructions:ei,display:{name:ec,description:ef,profile_pic_id:eh,profile_picture_url:ep,welcome_message:em,prompt_starters:eg},tools:ey,files:eb.map(function(Y){return(0,ea._)((0,eo._)({},Y),{location:ed.Nh.FILE_SERVICE})}),training_disabled:ek},et)]})});return function(et){return Y.apply(this,arguments)}}(),onSettled:function(et){et&&(Y.invalidateQueries({queryKey:["gizmos"],refetchType:"all"}),Y.invalidateQueries({queryKey:["gizmo",{gizmoId:et.gizmo.id},{draft:!0}]}))}})}function eQ(){var Y=(0,eg.NL)();return(0,ey.D)({mutationFn:function(){var Y=(0,ei._)(function(Y){var et,en,ei;return(0,eu.Jh)(this,function(eo){switch(eo.label){case 0:return et=Y.gizmoId,en=Y.data.sharingRecipient,[4,e_.U.promoteDraft({sharing:{recipient:en}},et)];case 1:if((ei=eo.sent()).error)throw new ed.DC(ei);return[2,ei.resource]}})});return function(et){return Y.apply(this,arguments)}}(),onSettled:function(et){Y.invalidateQueries({queryKey:["gizmos"],refetchType:"all"}),et&&Y.invalidateQueries({queryKey:["gizmo",{gizmoId:et.gizmo.id}]})}})}function eX(){var Y=(0,eg.NL)();return(0,ey.D)({mutationFn:function(){var Y=(0,ei._)(function(Y){var et;return(0,eu.Jh)(this,function(en){return et=Y.gizmoId,[2,e_.U.deleteGizmo(et)]})});return function(et){return Y.apply(this,arguments)}}(),onSettled:function(et,en,ei){var eu=ei.gizmoId,ec=Y.getQueryData(eR.queryKey);ec&&Y.setQueryData(eR.queryKey,(0,ea._)((0,eo._)({},ec),{cuts:ec.cuts.map(function(Y){return(0,ea._)((0,eo._)({},Y),{list:(0,ea._)((0,eo._)({},Y.list),{items:Y.list.items.filter(function(Y){return Y.resource.gizmo.id!==eu})})})})})),Y.invalidateQueries({queryKey:["gizmos"],refetchType:"all"})}})}function eJ(){var Y=(0,eg.NL)();return(0,ey.D)({mutationFn:function(){var Y=(0,ei._)(function(Y){var et,en,ei;return(0,eu.Jh)(this,function(eo){return et=Y.name,en=Y.hideName,ei=Y.websiteUrl,[2,e_.U.updateBuilderProfile({name:et,hide_name:en,website_url:ei})]})});return function(et){return Y.apply(this,arguments)}}(),onSuccess:function(et){Y.setQueryData(["builderProfile"],et)}})}function e0(){return(0,ep.a)({queryKey:["builderProfile"],queryFn:(0,ei._)(function(){return(0,eu.Jh)(this,function(Y){return[2,e_.U.getBuilderProfile()]})})})}function e9(Y){return eZ(e5(Y)).data}function e5(Y){var et,en=(0,ek.useRouter)(),ei=(0,ew.rm)(),eo=(0,ef.oq)(Y),ea=(0,ef.JI)(Y,eo);if(ef.iN.hasThread(Y)){var eu=en.query[ew.t9];if(null!=ei?et=ei:"string"==typeof eu&&(et=eu),null!=et&&!ea.some(function(Y){return Y.role===ec.uU.User}))return et;var ed=ef.iN.getGizmoId(Y);if(null!=ed)return ed}}},35265:function(Y,et,en){"use strict";en.d(et,{$0:function(){return eG},AZ:function(){return eM},ES:function(){return ea},FX:function(){return eJ},Gb:function(){return eX},Gi:function(){return eH},Gp:function(){return eC},HN:function(){return ed},HV:function(){return eI},Hg:function(){return eE},L7:function(){return e_},LX:function(){return eu},M4:function(){return e9},Nt:function(){return ey},PK:function(){return eF},PN:function(){return ek},PQ:function(){return eW},Q7:function(){return em},RR:function(){return eT},Ro:function(){return e5},SA:function(){return eL},Sg:function(){return eY},TC:function(){return eB},VX:function(){return eV},WP:function(){return eO},Wy:function(){return ez},Yr:function(){return eZ},a_:function(){return ej},dJ:function(){return eA},dS:function(){return ec},eu:function(){return eP},gf:function(){return e$},gj:function(){return eS},hk:function(){return eb},ib:function(){return ep},j5:function(){return eK},k4:function(){return eN},ks:function(){return eo},oS:function(){return eR},oq:function(){return eU},p9:function(){return eD},pI:function(){return ef},q5:function(){return eh},u8:function(){return e0},ud:function(){return ew},v7:function(){return eQ},vX:function(){return eg}});var ei=en(35250),eo=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.7929 2.79289C18.0118 1.57394 19.9882 1.57394 21.2071 2.79289C22.4261 4.01184 22.4261 5.98815 21.2071 7.20711L12.7071 15.7071C12.5196 15.8946 12.2652 16 12 16H9C8.44772 16 8 15.5523 8 15V12C8 11.7348 8.10536 11.4804 8.29289 11.2929L16.7929 2.79289ZM19.7929 4.20711C19.355 3.7692 18.645 3.7692 18.2071 4.2071L10 12.4142V14H11.5858L19.7929 5.79289C20.2308 5.35499 20.2308 4.64501 19.7929 4.20711ZM6 5C5.44772 5 5 5.44771 5 6V18C5 18.5523 5.44772 19 6 19H18C18.5523 19 19 18.5523 19 18V14C19 13.4477 19.4477 13 20 13C20.5523 13 21 13.4477 21 14V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6C3 4.34314 4.34315 3 6 3H10C10.5523 3 11 3.44771 11 4C11 4.55228 10.5523 5 10 5H6Z",fill:"currentColor"})})},ea=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C10.8954 4 10 4.89543 10 6H14C14 4.89543 13.1046 4 12 4ZM8.53513 4C9.22675 2.8044 10.5194 2 12 2C13.4806 2 14.7733 2.8044 15.4649 4H17C18.6569 4 20 5.34315 20 7V19C20 20.6569 18.6569 22 17 22H7C5.34315 22 4 20.6569 4 19V7C4 5.34315 5.34315 4 7 4H8.53513ZM8 6H7C6.44772 6 6 6.44772 6 7V19C6 19.5523 6.44772 20 7 20H17C17.5523 20 18 19.5523 18 19V7C18 6.44772 17.5523 6 17 6H16C16 7.10457 15.1046 8 14 8H10C8.89543 8 8 7.10457 8 6Z",fill:"currentColor"})})},eu=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C9.79086 4 8 5.79086 8 8H16C16 5.79086 14.2091 4 12 4ZM6 10C5.44772 10 5 10.4477 5 11V19C5 19.5523 5.44772 20 6 20H18C18.5523 20 19 19.5523 19 19V11C19 10.4477 18.5523 10 18 10H6ZM6 8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8C19.6569 8 21 9.34315 21 11V19C21 20.6569 19.6569 22 18 22H6C4.34315 22 3 20.6569 3 19V11C3 9.34315 4.34315 8 6 8ZM10 14C10 12.8954 10.8954 12 12 12C13.1046 12 14 12.8954 14 14C14 14.7403 13.5978 15.3866 13 15.7324V17C13 17.5523 12.5523 18 12 18C11.4477 18 11 17.5523 11 17V15.7324C10.4022 15.3866 10 14.7403 10 14Z",fill:"currentColor"})})},ec=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 5C7 3.34315 8.34315 2 10 2H19C20.6569 2 22 3.34315 22 5V14C22 15.6569 20.6569 17 19 17H17V19C17 20.6569 15.6569 22 14 22H5C3.34315 22 2 20.6569 2 19V10C2 8.34315 3.34315 7 5 7H7V5ZM9 7H14C15.6569 7 17 8.34315 17 10V15H19C19.5523 15 20 14.5523 20 14V5C20 4.44772 19.5523 4 19 4H10C9.44772 4 9 4.44772 9 5V7ZM5 9C4.44772 9 4 9.44772 4 10V19C4 19.5523 4.44772 20 5 20H14C14.5523 20 15 19.5523 15 19V10C15 9.44772 14.5523 9 14 9H5Z",fill:"currentColor"})})},ed=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.2929 5.70711C16.4743 3.88849 13.5257 3.88849 11.7071 5.70711L10.7071 6.70711C10.3166 7.09763 9.68341 7.09763 9.29289 6.70711C8.90236 6.31658 8.90236 5.68342 9.29289 5.2929L10.2929 4.29289C12.8926 1.69323 17.1074 1.69323 19.7071 4.2929C22.3068 6.89256 22.3068 11.1074 19.7071 13.7071L18.7071 14.7071C18.3166 15.0976 17.6834 15.0976 17.2929 14.7071C16.9024 14.3166 16.9024 13.6834 17.2929 13.2929L18.2929 12.2929C20.1115 10.4743 20.1115 7.52572 18.2929 5.70711ZM15.7071 8.2929C16.0976 8.68342 16.0976 9.31659 15.7071 9.70711L9.7071 15.7071C9.31658 16.0976 8.68341 16.0976 8.29289 15.7071C7.90236 15.3166 7.90236 14.6834 8.29289 14.2929L14.2929 8.2929C14.6834 7.90237 15.3166 7.90237 15.7071 8.2929ZM6.7071 9.2929C7.09763 9.68342 7.09763 10.3166 6.7071 10.7071L5.7071 11.7071C3.88849 13.5257 3.88849 16.4743 5.7071 18.2929C7.52572 20.1115 10.4743 20.1115 12.2929 18.2929L13.2929 17.2929C13.6834 16.9024 14.3166 16.9024 14.7071 17.2929C15.0976 17.6834 15.0976 18.3166 14.7071 18.7071L13.7071 19.7071C11.1074 22.3068 6.89255 22.3068 4.29289 19.7071C1.69322 17.1074 1.69322 12.8926 4.29289 10.2929L5.29289 9.2929C5.68341 8.90237 6.31658 8.90237 6.7071 9.2929Z",fill:"currentColor"})})},ef=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{className:et,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.4845 2.8798C16.1773 1.57258 14.0107 1.74534 12.9272 3.24318L9.79772 7.56923C9.60945 7.82948 9.30775 7.9836 8.98654 7.9836H6.44673C3.74061 7.9836 2.27414 11.6759 4.16948 13.5713L6.59116 15.993L2.29324 20.2909C1.90225 20.6819 1.90225 21.3158 2.29324 21.7068C2.68422 22.0977 3.31812 22.0977 3.70911 21.7068L8.00703 17.4088L10.4287 19.8305C12.3241 21.7259 16.0164 20.2594 16.0164 17.5533V15.0135C16.0164 14.6923 16.1705 14.3906 16.4308 14.2023L20.7568 11.0728C22.2547 9.98926 22.4274 7.8227 21.1202 6.51549L17.4845 2.8798ZM11.8446 18.4147C12.4994 19.0694 14.0141 18.4928 14.0141 17.5533V15.0135C14.0141 14.0499 14.4764 13.1447 15.2572 12.58L19.5832 9.45047C20.0825 9.08928 20.1401 8.3671 19.7043 7.93136L16.0686 4.29567C15.6329 3.85993 14.9107 3.91751 14.5495 4.4168L11.4201 8.74285C10.8553 9.52359 9.95016 9.98594 8.98654 9.98594H6.44673C5.5072 9.98594 4.93059 11.5006 5.58535 12.1554L11.8446 18.4147Z",fill:"currentColor"})})},eh=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M15 15V17.5585C15 18.4193 14.4491 19.1836 13.6325 19.4558L13.1726 19.6091C12.454 19.8487 11.6616 19.6616 11.126 19.126L4.87403 12.874C4.33837 12.3384 4.15132 11.546 4.39088 10.8274L4.54415 10.3675C4.81638 9.55086 5.58066 9 6.44152 9H9M12 6.2L13.6277 3.92116C14.3461 2.91549 15.7955 2.79552 16.6694 3.66942L20.3306 7.33058C21.2045 8.20448 21.0845 9.65392 20.0788 10.3723L18 11.8571",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M8 16L3 21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M4 4L20 20",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},ep=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.1318 2.50389C12.3321 2.15338 12.7235 1.95768 13.124 2.00775L13.5778 2.06447C16.0449 2.37286 17.636 4.83353 16.9048 7.20993L16.354 8.99999H17.0722C19.7097 8.99999 21.6253 11.5079 20.9313 14.0525L19.5677 19.0525C19.0931 20.7927 17.5124 22 15.7086 22H6C4.34315 22 3 20.6568 3 19V12C3 10.3431 4.34315 8.99999 6 8.99999H8C8.25952 8.99999 8.49914 8.86094 8.6279 8.63561L12.1318 2.50389ZM10 20H15.7086C16.6105 20 17.4008 19.3964 17.6381 18.5262L19.0018 13.5262C19.3488 12.2539 18.391 11 17.0722 11H15C14.6827 11 14.3841 10.8494 14.1956 10.5941C14.0071 10.3388 13.9509 10.0092 14.0442 9.70591L14.9932 6.62175C15.3384 5.49984 14.6484 4.34036 13.5319 4.08468L10.3644 9.62789C10.0522 10.1742 9.56691 10.5859 9 10.8098V19C9 19.5523 9.44772 20 10 20ZM7 11V19C7 19.3506 7.06015 19.6872 7.17071 20H6C5.44772 20 5 19.5523 5 19V12C5 11.4477 5.44772 11 6 11H7Z",fill:"currentColor"})})},em=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8727 21.4961C11.6725 21.8466 11.2811 22.0423 10.8805 21.9922L10.4267 21.9355C7.95958 21.6271 6.36855 19.1665 7.09975 16.7901L7.65054 15H6.93226C4.29476 15 2.37923 12.4921 3.0732 9.94753L4.43684 4.94753C4.91145 3.20728 6.49209 2 8.29589 2H18.0045C19.6614 2 21.0045 3.34315 21.0045 5V12C21.0045 13.6569 19.6614 15 18.0045 15H16.0045C15.745 15 15.5054 15.1391 15.3766 15.3644L11.8727 21.4961ZM14.0045 4H8.29589C7.39399 4 6.60367 4.60364 6.36637 5.47376L5.00273 10.4738C4.65574 11.746 5.61351 13 6.93226 13H9.00451C9.32185 13 9.62036 13.1506 9.8089 13.4059C9.99743 13.6612 10.0536 13.9908 9.96028 14.2941L9.01131 17.3782C8.6661 18.5002 9.35608 19.6596 10.4726 19.9153L13.6401 14.3721C13.9523 13.8258 14.4376 13.4141 15.0045 13.1902V5C15.0045 4.44772 14.5568 4 14.0045 4ZM17.0045 13V5C17.0045 4.64937 16.9444 4.31278 16.8338 4H18.0045C18.5568 4 19.0045 4.44772 19.0045 5V12C19.0045 12.5523 18.5568 13 18.0045 13H17.0045Z",fill:"currentColor"})})},eg=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2.5C5.05228 2.5 5.5 2.94772 5.5 3.5V5.07196C7.19872 3.47759 9.48483 2.5 12 2.5C17.2467 2.5 21.5 6.75329 21.5 12C21.5 17.2467 17.2467 21.5 12 21.5C7.1307 21.5 3.11828 17.8375 2.565 13.1164C2.50071 12.5679 2.89327 12.0711 3.4418 12.0068C3.99033 11.9425 4.48712 12.3351 4.5514 12.8836C4.98798 16.6089 8.15708 19.5 12 19.5C16.1421 19.5 19.5 16.1421 19.5 12C19.5 7.85786 16.1421 4.5 12 4.5C9.7796 4.5 7.7836 5.46469 6.40954 7H9C9.55228 7 10 7.44772 10 8C10 8.55228 9.55228 9 9 9H4.5C3.96064 9 3.52101 8.57299 3.50073 8.03859C3.49983 8.01771 3.49958 7.99677 3.5 7.9758V3.5C3.5 2.94772 3.94771 2.5 4.5 2.5Z",fill:"currentColor"})})},ey=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{className:et,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2.5C5.05228 2.5 5.5 2.94772 5.5 3.5V5.07196C7.19872 3.47759 9.48483 2.5 12 2.5C17.2467 2.5 21.5 6.75329 21.5 12C21.5 17.2467 17.2467 21.5 12 21.5C7.1307 21.5 3.11828 17.8375 2.565 13.1164C2.50071 12.5679 2.89327 12.0711 3.4418 12.0068C3.99033 11.9425 4.48712 12.3351 4.5514 12.8836C4.98798 16.6089 8.15708 19.5 12 19.5C16.1421 19.5 19.5 16.1421 19.5 12C19.5 7.85786 16.1421 4.5 12 4.5C9.7796 4.5 7.7836 5.46469 6.40954 7H9C9.55228 7 10 7.44772 10 8C10 8.55228 9.55228 9 9 9H4.5C3.96064 9 3.52101 8.57299 3.50073 8.03859C3.49983 8.01771 3.49958 7.99677 3.5 7.9758V3.5C3.5 2.94772 3.94771 2.5 4.5 2.5Z",fill:"currentColor"})})},eb=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("circle",{cx:"6.75",cy:"6.75",r:"3.25",stroke:"currentColor",strokeWidth:"2"}),(0,ei.jsx)("circle",{cx:"17.25",cy:"6.75",r:"3.25",stroke:"currentColor",strokeWidth:"2"}),(0,ei.jsx)("circle",{cx:"6.75",cy:"17.25",r:"3.25",stroke:"currentColor",strokeWidth:"2"}),(0,ei.jsx)("circle",{cx:"17.25",cy:"17.25",r:"3.25",stroke:"currentColor",strokeWidth:"2"})]})},ek=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4C10.3431 4 9 5.34315 9 7C9 8.65685 10.3431 10 12 10C13.6569 10 15 8.65685 15 7C15 5.34315 13.6569 4 12 4ZM7 7C7 4.23858 9.23858 2 12 2C14.7614 2 17 4.23858 17 7C17 9.76142 14.7614 12 12 12C9.23858 12 7 9.76142 7 7Z",fill:"currentColor"}),(0,ei.jsx)("path",{d:"M4.5 21C4.5 17.7804 6.82883 15.0685 10 14.2516",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,ei.jsx)("circle",{cx:"15.625",cy:"15.625",r:"1.625",fill:"currentColor"}),(0,ei.jsx)("circle",{cx:"20.125",cy:"15.625",r:"1.625",fill:"currentColor"}),(0,ei.jsx)("circle",{cx:"20.125",cy:"20.125",r:"1.625",fill:"currentColor"}),(0,ei.jsx)("circle",{cx:"15.625",cy:"20.125",r:"1.625",fill:"currentColor"})]})},ew=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",className:et,children:(0,ei.jsx)("path",{d:"M11.3346 7.83203L8.00131 11.1654L4.66797 7.83203",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},e_=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{d:"M15 5L8 12L15 19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},eE=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:et,children:(0,ei.jsx)("path",{d:"M17 13L12 18L7 13M12 6L12 17",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},eC=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2929 2.29289C11.6834 1.90237 12.3166 1.90237 12.7071 2.29289L16.7071 6.29289C17.0976 6.68342 17.0976 7.31658 16.7071 7.70711C16.3166 8.09763 15.6834 8.09763 15.2929 7.70711L13 5.41421V14C13 14.5523 12.5523 15 12 15C11.4477 15 11 14.5523 11 14V5.41421L8.70711 7.70711C8.31658 8.09763 7.68342 8.09763 7.29289 7.70711C6.90237 7.31658 6.90237 6.68342 7.29289 6.29289L11.2929 2.29289ZM4 13C4.55228 13 5 13.4477 5 14V18C5 18.5523 5.44772 19 6 19H18C18.5523 19 19 18.5523 19 18V14C19 13.4477 19.4477 13 20 13C20.5523 13 21 13.4477 21 14V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V14C3 13.4477 3.44772 13 4 13Z",fill:"currentColor"})})},eT=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M11.6439 3C10.9352 3 10.2794 3.37508 9.92002 3.98596L9.49644 4.70605C8.96184 5.61487 7.98938 6.17632 6.93501 6.18489L6.09967 6.19168C5.39096 6.19744 4.73823 6.57783 4.38386 7.19161L4.02776 7.80841C3.67339 8.42219 3.67032 9.17767 4.01969 9.7943L4.43151 10.5212C4.95127 11.4386 4.95127 12.5615 4.43151 13.4788L4.01969 14.2057C3.67032 14.8224 3.67339 15.5778 4.02776 16.1916L4.38386 16.8084C4.73823 17.4222 5.39096 17.8026 6.09966 17.8083L6.93502 17.8151C7.98939 17.8237 8.96185 18.3851 9.49645 19.294L9.92002 20.014C10.2794 20.6249 10.9352 21 11.6439 21H12.3561C13.0648 21 13.7206 20.6249 14.08 20.014L14.5035 19.294C15.0381 18.3851 16.0106 17.8237 17.065 17.8151L17.9004 17.8083C18.6091 17.8026 19.2618 17.4222 19.6162 16.8084L19.9723 16.1916C20.3267 15.5778 20.3298 14.8224 19.9804 14.2057L19.5686 13.4788C19.0488 12.5615 19.0488 11.4386 19.5686 10.5212L19.9804 9.7943C20.3298 9.17767 20.3267 8.42219 19.9723 7.80841L19.6162 7.19161C19.2618 6.57783 18.6091 6.19744 17.9004 6.19168L17.065 6.18489C16.0106 6.17632 15.0382 5.61487 14.5036 4.70605L14.08 3.98596C13.7206 3.37508 13.0648 3 12.3561 3H11.6439Z",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"}),(0,ei.jsx)("circle",{cx:"12",cy:"12",r:"2.5",stroke:"currentColor",strokeWidth:"2"})]})},eS=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M11 3H7C5.89543 3 5 3.89543 5 5V19C5 20.1046 5.89543 21 7 21H11",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,ei.jsx)("path",{d:"M20 12H11M20 12L16 16M20 12L16 8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},eA=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 5C14.4477 5 14 4.55228 14 4C14 3.44772 14.4477 3 15 3H20C20.5523 3 21 3.44772 21 4V9C21 9.55228 20.5523 10 20 10C19.4477 10 19 9.55228 19 9V6.41421L13.7071 11.7071C13.3166 12.0976 12.6834 12.0976 12.2929 11.7071C11.9024 11.3166 11.9024 10.6834 12.2929 10.2929L17.5858 5H15ZM4 7C4 5.34315 5.34315 4 7 4H10C10.5523 4 11 4.44772 11 5C11 5.55228 10.5523 6 10 6H7C6.44772 6 6 6.44772 6 7V17C6 17.5523 6.44772 18 7 18H17C17.5523 18 18 17.5523 18 17V14C18 13.4477 18.4477 13 19 13C19.5523 13 20 13.4477 20 14V17C20 18.6569 18.6569 20 17 20H7C5.34315 20 4 18.6569 4 17V7Z",fill:"currentColor"})})},eM=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 4.64048V13.4946C6.97966 13.1602 7.88099 13.0195 8.73583 13.0151C9.9815 13.0088 11.0694 13.2939 12.0551 13.5954C12.2535 13.6561 12.448 13.7172 12.6399 13.7776C14.3554 14.3169 15.8581 14.7893 18 14.2515V5.61807C18 5.6177 18 5.61836 18 5.61807C17.9973 5.61407 17.9883 5.60143 17.9674 5.58771C17.9132 5.55219 17.8375 5.53958 17.7738 5.55802C15.2418 6.29023 13.3072 5.56144 11.6733 4.94591C11.5513 4.89998 11.4311 4.85467 11.3124 4.81066C9.6336 4.18815 8.14486 3.74466 6 4.64048ZM18 14.2793C18 14.2796 18 14.2795 18 14.2793V14.2793ZM6 15.637C7.06717 15.1777 7.95744 15.0191 8.74594 15.0151C9.68064 15.0104 10.5334 15.2214 11.4701 15.5079C11.657 15.5651 11.8472 15.6255 12.0411 15.6871C13.7733 16.2375 15.806 16.8833 18.556 16.1737C19.4513 15.9427 20 15.1264 20 14.2793V5.61807C20 4.07012 18.4318 3.28577 17.2182 3.63675C15.3407 4.1797 13.9832 3.67281 12.3112 3.04848C12.2112 3.01115 12.1101 2.9734 12.0077 2.93543C10.1745 2.25564 8.06074 1.59138 5.17004 2.81991C4.41981 3.13875 4 3.87462 4 4.61803V21C4 21.5523 4.44772 22 5 22C5.55228 22 6 21.5523 6 21V15.637Z",fill:"currentColor"})})},eP=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2929 4.29291C15.0641 2.52167 17.9359 2.52167 19.7071 4.2929C21.4783 6.06414 21.4783 8.93588 19.7071 10.7071L18.7073 11.7069L11.1603 19.2539C10.7182 19.696 10.1489 19.989 9.53219 20.0918L4.1644 20.9864C3.84584 21.0395 3.52125 20.9355 3.29289 20.7071C3.06453 20.4788 2.96051 20.1542 3.0136 19.8356L3.90824 14.4678C4.01103 13.8511 4.30396 13.2818 4.7461 12.8397L13.2929 4.29291ZM13 7.41422L6.16031 14.2539C6.01293 14.4013 5.91529 14.591 5.88102 14.7966L5.21655 18.7835L9.20339 18.119C9.40898 18.0847 9.59872 17.9871 9.7461 17.8397L16.5858 11L13 7.41422ZM18 9.5858L14.4142 6.00001L14.7071 5.70712C15.6973 4.71693 17.3027 4.71693 18.2929 5.70712C19.2831 6.69731 19.2831 8.30272 18.2929 9.29291L18 9.5858Z",fill:"currentColor"})})},ej=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5555 4C10.099 4 9.70052 4.30906 9.58693 4.75114L9.29382 5.8919H14.715L14.4219 4.75114C14.3083 4.30906 13.9098 4 13.4533 4H10.5555ZM16.7799 5.8919L16.3589 4.25342C16.0182 2.92719 14.8226 2 13.4533 2H10.5555C9.18616 2 7.99062 2.92719 7.64985 4.25342L7.22886 5.8919H4C3.44772 5.8919 3 6.33961 3 6.8919C3 7.44418 3.44772 7.8919 4 7.8919H4.10069L5.31544 19.3172C5.47763 20.8427 6.76455 22 8.29863 22H15.7014C17.2354 22 18.5224 20.8427 18.6846 19.3172L19.8993 7.8919H20C20.5523 7.8919 21 7.44418 21 6.8919C21 6.33961 20.5523 5.8919 20 5.8919H16.7799ZM17.888 7.8919H6.11196L7.30423 19.1057C7.3583 19.6142 7.78727 20 8.29863 20H15.7014C16.2127 20 16.6417 19.6142 16.6958 19.1057L17.888 7.8919ZM10 10C10.5523 10 11 10.4477 11 11V16C11 16.5523 10.5523 17 10 17C9.44772 17 9 16.5523 9 16V11C9 10.4477 9.44772 10 10 10ZM14 10C14.5523 10 15 10.4477 15 11V16C15 16.5523 14.5523 17 14 17C13.4477 17 13 16.5523 13 16V11C13 10.4477 13.4477 10 14 10Z",fill:"currentColor"})})},eO=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M5 6L11 12L5 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M13 18H19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},eI=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M19.3975 1.35498C19.3746 1.15293 19.2037 1.00021 19.0004 1C18.7971 0.999793 18.6259 1.15217 18.6026 1.35417C18.4798 2.41894 18.1627 3.15692 17.6598 3.65983C17.1569 4.16274 16.4189 4.47983 15.3542 4.60264C15.1522 4.62593 14.9998 4.79707 15 5.00041C15.0002 5.20375 15.1529 5.37457 15.355 5.39746C16.4019 5.51605 17.1562 5.83304 17.6716 6.33906C18.1845 6.84269 18.5078 7.57998 18.6016 8.63539C18.6199 8.84195 18.7931 9.00023 19.0005 9C19.2078 8.99977 19.3806 8.84109 19.3985 8.6345C19.4883 7.59673 19.8114 6.84328 20.3273 6.32735C20.8433 5.81142 21.5967 5.48834 22.6345 5.39851C22.8411 5.38063 22.9998 5.20782 23 5.00045C23.0002 4.79308 22.842 4.61992 22.6354 4.60157C21.58 4.50782 20.8427 4.18447 20.3391 3.67157C19.833 3.15623 19.516 2.40192 19.3975 1.35498Z",fill:"currentColor"}),(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 3C11.4833 3 11.8974 3.34562 11.9839 3.82111C12.4637 6.46043 13.279 8.23983 14.5196 9.48039C15.7602 10.721 17.5396 11.5363 20.1789 12.0161C20.6544 12.1026 21 12.5167 21 13C21 13.4833 20.6544 13.8974 20.1789 13.9839C17.5396 14.4637 15.7602 15.279 14.5196 16.5196C13.279 17.7602 12.4637 19.5396 11.9839 22.1789C11.8974 22.6544 11.4833 23 11 23C10.5167 23 10.1026 22.6544 10.0161 22.1789C9.53625 19.5396 8.72096 17.7602 7.48039 16.5196C6.23983 15.279 4.46043 14.4637 1.82111 13.9839C1.34562 13.8974 1 13.4833 1 13C1 12.5167 1.34562 12.1026 1.82111 12.0161C4.46043 11.5363 6.23983 10.721 7.48039 9.48039C8.72096 8.23983 9.53625 6.46043 10.0161 3.82111C10.1026 3.34562 10.5167 3 11 3ZM5.66618 13C6.9247 13.5226 7.99788 14.2087 8.89461 15.1054C9.79134 16.0021 10.4774 17.0753 11 18.3338C11.5226 17.0753 12.2087 16.0021 13.1054 15.1054C14.0021 14.2087 15.0753 13.5226 16.3338 13C15.0753 12.4774 14.0021 11.7913 13.1054 10.8946C12.2087 9.99788 11.5226 8.9247 11 7.66618C10.4774 8.9247 9.79134 9.99788 8.89461 10.8946C7.99788 11.7913 6.9247 12.4774 5.66618 13Z",fill:"currentColor"})]})},eN=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M8.78158 8.60266L9.8188 5.49098C10.037 4.83634 10.963 4.83634 11.1812 5.49098L12.2184 8.60266C12.7187 10.1035 13.8965 11.2813 15.3973 11.7816L18.509 12.8188C19.1637 13.037 19.1637 13.963 18.509 14.1812L15.3973 15.2184C13.8965 15.7187 12.7187 16.8965 12.2184 18.3973L11.1812 21.509C10.963 22.1637 10.037 22.1637 9.8188 21.509L8.78158 18.3973C8.28128 16.8965 7.10354 15.7187 5.60266 15.2184L2.49098 14.1812C1.83634 13.963 1.83634 13.037 2.49098 12.8188L5.60266 11.7816C7.10354 11.2813 8.28128 10.1035 8.78158 8.60266Z",fill:"currentColor"}),(0,ei.jsx)("path",{d:"M17.1913 3.69537L17.6794 2.23105C17.7821 1.92298 18.2179 1.92298 18.3206 2.23105L18.8087 3.69537C19.0441 4.40167 19.5983 4.9559 20.3046 5.19133L21.769 5.67944C22.077 5.78213 22.077 6.21787 21.769 6.32056L20.3046 6.80867C19.5983 7.0441 19.0441 7.59833 18.8087 8.30463L18.3206 9.76895C18.2179 10.077 17.7821 10.077 17.6794 9.76895L17.1913 8.30463C16.9559 7.59833 16.4017 7.0441 15.6954 6.80867L14.231 6.32056C13.923 6.21787 13.923 5.78213 14.231 5.67944L15.6954 5.19133C16.4017 4.9559 16.9559 4.40167 17.1913 3.69537Z",fill:"currentColor"})]})},eL=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M10.663 6.3872C10.8152 6.29068 11 6.40984 11 6.59007V8C11 8.55229 11.4477 9 12 9C12.5523 9 13 8.55229 13 8V6.59007C13 6.40984 13.1848 6.29068 13.337 6.3872C14.036 6.83047 14.5 7.61105 14.5 8.5C14.5 9.53284 13.8737 10.4194 12.9801 10.8006C12.9932 10.865 13 10.9317 13 11V13C13 13.5523 12.5523 14 12 14C11.4477 14 11 13.5523 11 13V11C11 10.9317 11.0068 10.865 11.0199 10.8006C10.1263 10.4194 9.5 9.53284 9.5 8.5C9.5 7.61105 9.96397 6.83047 10.663 6.3872Z",fill:"currentColor"}),(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 5V19C4 20.6569 5.34315 22 7 22H19C19.3346 22 19.6471 21.8326 19.8325 21.5541C20.0179 21.2755 20.0517 20.9227 19.9225 20.614C19.4458 19.4747 19.4458 18.5253 19.9225 17.386C19.9737 17.2637 20 17.1325 20 17V3C20 2.44772 19.5523 2 19 2H7C5.34315 2 4 3.34315 4 5ZM6 5C6 4.44772 6.44772 4 7 4H18V16H7C6.64936 16 6.31278 16.0602 6 16.1707V5ZM7 18H17.657C17.5343 18.6699 17.5343 19.3301 17.657 20H7C6.44772 20 6 19.5523 6 19C6 18.4477 6.44772 18 7 18Z",fill:"currentColor"})]})},eR=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.0633 5.67375C18.5196 5.98487 18.6374 6.607 18.3262 7.06331L10.8262 18.0633C10.6585 18.3093 10.3898 18.4678 10.0934 18.4956C9.79688 18.5234 9.50345 18.4176 9.29289 18.2071L4.79289 13.7071C4.40237 13.3166 4.40237 12.6834 4.79289 12.2929C5.18342 11.9023 5.81658 11.9023 6.20711 12.2929L9.85368 15.9394L16.6738 5.93664C16.9849 5.48033 17.607 5.36263 18.0633 5.67375Z",fill:"currentColor"})})},eD=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12ZM16.0755 7.93219C16.5272 8.25003 16.6356 8.87383 16.3178 9.32549L11.5678 16.0755C11.3931 16.3237 11.1152 16.4792 10.8123 16.4981C10.5093 16.517 10.2142 16.3973 10.0101 16.1727L7.51006 13.4227C7.13855 13.014 7.16867 12.3816 7.57733 12.0101C7.98598 11.6386 8.61843 11.6687 8.98994 12.0773L10.6504 13.9039L14.6822 8.17451C15 7.72284 15.6238 7.61436 16.0755 7.93219Z",fill:"currentColor"})})},eF=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.2406 3.48592C15.2405 3.48652 15.2403 3.48713 15.2402 3.48773L14.1838 8.00525H20.0071C21.7333 8.00525 22.6031 10.0263 21.5255 11.3049L21.5232 11.3076L12.2148 22.2732C12.2144 22.2737 12.214 22.2743 12.2135 22.2748C10.8154 23.9308 8.29078 22.4977 8.75937 20.5141C8.75951 20.5135 8.75965 20.5129 8.75979 20.5123L9.81614 15.9948H3.99288C2.26668 15.9948 1.39687 13.9737 2.47446 12.6951L2.47674 12.6924L11.7851 1.7268C11.7856 1.72628 11.786 1.72577 11.7864 1.72526C13.1845 0.0691769 15.7092 1.50223 15.2406 3.48592ZM13.2906 3.04211L11.9496 8.77683C11.8802 9.07364 11.9503 9.38587 12.14 9.62465C12.3297 9.86343 12.6182 10.0026 12.9234 10.0026H19.9972C19.9985 10.0058 19.9993 10.0088 19.9997 10.0113C19.9998 10.0118 19.9998 10.0123 19.9999 10.0127C19.9991 10.0139 19.9979 10.0156 19.9959 10.018C19.9957 10.0182 19.9956 10.0184 19.9954 10.0187L10.7094 20.9579L12.0504 15.2232C12.1198 14.9264 12.0497 14.6141 11.86 14.3754C11.6703 14.1366 11.3818 13.9974 11.0766 13.9974H4.00279C4.0015 13.9942 4.00069 13.9912 4.00029 13.9887C4.0002 13.9882 4.00013 13.9877 4.00009 13.9873C4.00083 13.9861 4.00209 13.9844 4.00407 13.982C4.00424 13.9818 4.00442 13.9816 4.00459 13.9813L13.2906 3.04211Z",fill:"currentColor"})})},eB=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.4646 19C15.2219 20.6961 13.7632 22 12 22C10.2368 22 8.77806 20.6961 8.53544 19H6C4.34315 19 3 17.6569 3 16V13.5C3 12.9477 3.44772 12.5 4 12.5H4.5C5.32843 12.5 6 11.8284 6 11C6 10.1716 5.32843 9.5 4.5 9.5H4C3.44772 9.5 3 9.05229 3 8.5L3 6C3 4.34315 4.34315 3 6 3L18 3C19.6569 3 21 4.34315 21 6L21 16C21 17.6569 19.6569 19 18 19H15.4646ZM12 20C12.8284 20 13.5 19.3284 13.5 18.5V18C13.5 17.4477 13.9477 17 14.5 17H18C18.5523 17 19 16.5523 19 16L19 6C19 5.44772 18.5523 5 18 5L6 5C5.44772 5 5 5.44772 5 6V7.53544C6.69615 7.77806 8 9.23676 8 11C8 12.7632 6.69615 14.2219 5 14.4646L5 16C5 16.5523 5.44771 17 6 17H9.5C10.0523 17 10.5 17.4477 10.5 18V18.5C10.5 19.3284 11.1716 20 12 20Z",fill:"currentColor"})})},ez=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("circle",{cx:"12",cy:"7",r:"4",stroke:"currentColor",strokeWidth:"2"}),(0,ei.jsx)("path",{d:"M19.5 20.9999C19.5 17.134 16.1421 14 12.0001 14C7.85793 14 4.5 17.134 4.5 20.9999",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})},eU=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{d:"M4 20V6C4 4.89543 4.89543 4 6 4H12C13.1046 4 14 4.89543 14 6V8M4 20H2M4 20H9M20 20H14M20 20V10C20 8.89543 19.1046 8 18 8H14M20 20H22M14 20V8M14 20H9M9 20V17",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},eH=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M9 3H15M9 3V9.2759C9 9.74377 8.83597 10.1968 8.53644 10.5563L4.85085 14.979C4.30108 15.6387 4 16.4703 4 17.3291V17.3291C4 19.3565 5.64353 21 7.67094 21H16.3291C18.3565 21 20 19.3565 20 17.3291V17.3291C20 16.4703 19.6989 15.6387 19.1492 14.979L15.4636 10.5563C15.164 10.1968 15 9.74377 15 9.2759V3M9 3H8M15 3H16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M5 14.774C11.5 12.839 12.15 16.7089 18 14",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},eG=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 8C3 7.44772 3.44772 7 4 7H20C20.5523 7 21 7.44772 21 8C21 8.55228 20.5523 9 20 9H4C3.44772 9 3 8.55228 3 8ZM3 16C3 15.4477 3.44772 15 4 15H14C14.5523 15 15 15.4477 15 16C15 16.5523 14.5523 17 14 17H4C3.44772 17 3 16.5523 3 16Z",fill:"currentColor"})})},eV=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17C12.5523 17 13 16.5523 13 16V12Z",fill:"currentColor"}),(0,ei.jsx)("path",{d:"M12 9.5C12.6904 9.5 13.25 8.94036 13.25 8.25C13.25 7.55964 12.6904 7 12 7C11.3096 7 10.75 7.55964 10.75 8.25C10.75 8.94036 11.3096 9.5 12 9.5Z",fill:"currentColor"}),(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12Z",fill:"currentColor"})]})},eW=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M11.4284 2.39822C11.7719 2.15891 12.2281 2.15891 12.5716 2.39822L15.0347 4.11412C15.1532 4.19667 15.2882 4.25257 15.4303 4.27799L18.3853 4.80632C18.7974 4.88 19.12 5.2026 19.1937 5.61471L19.722 8.56969C19.7474 8.71185 19.8033 8.84682 19.8859 8.96531L21.6018 11.4284C21.8411 11.7719 21.8411 12.2281 21.6018 12.5716L19.8859 15.0347C19.8033 15.1532 19.7474 15.2882 19.722 15.4303L19.1937 18.3853C19.12 18.7974 18.7974 19.12 18.3853 19.1937L15.4303 19.722C15.2881 19.7474 15.1532 19.8033 15.0347 19.8859L12.5716 21.6018C12.2281 21.8411 11.7719 21.8411 11.4284 21.6018L8.96531 19.8859C8.84682 19.8033 8.71185 19.7474 8.56969 19.722L5.61471 19.1937C5.2026 19.12 4.88 18.7974 4.80632 18.3853L4.27799 15.4303C4.25257 15.2881 4.19667 15.1532 4.11412 15.0347L2.39822 12.5716C2.15891 12.2281 2.15891 11.7719 2.39822 11.4284L4.11412 8.96531C4.19667 8.84682 4.25257 8.71185 4.27799 8.56969L4.80632 5.61471C4.88 5.2026 5.2026 4.88 5.61471 4.80632L8.56969 4.27799C8.71185 4.25257 8.84682 4.19667 8.96531 4.11412L11.4284 2.39822Z",stroke:"currentColor",strokeWidth:"2"}),(0,ei.jsx)("path",{d:"M11.5876 8.10179C11.7862 7.81201 12.2138 7.81201 12.4124 8.10179L13.4865 9.66899C13.5515 9.76386 13.6473 9.83341 13.7576 9.86593L15.58 10.4031C15.9169 10.5025 16.0491 10.9092 15.8349 11.1876L14.6763 12.6934C14.6061 12.7846 14.5696 12.8971 14.5727 13.0121L14.625 14.9113C14.6346 15.2625 14.2886 15.5138 13.9576 15.3961L12.1675 14.7596C12.0592 14.721 11.9408 14.721 11.8325 14.7596L10.0424 15.3961C9.71135 15.5138 9.36537 15.2625 9.37502 14.9113L9.42726 13.0121C9.43042 12.8971 9.39385 12.7846 9.32372 12.6934L8.16514 11.1876C7.9509 10.9092 8.08306 10.5025 8.42003 10.4031L10.2424 9.86593C10.3527 9.83341 10.4485 9.76386 10.5135 9.66899L11.5876 8.10179Z",fill:"currentColor"})]})},eZ=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12C3 10.8954 3.89543 10 5 10C6.10457 10 7 10.8954 7 12C7 13.1046 6.10457 14 5 14C3.89543 14 3 13.1046 3 12ZM10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12ZM17 12C17 10.8954 17.8954 10 19 10C20.1046 10 21 10.8954 21 12C21 13.1046 20.1046 14 19 14C17.8954 14 17 13.1046 17 12Z",fill:"currentColor"})})},eK=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 5C13 4.44772 13.4477 4 14 4H19C19.5523 4 20 4.44772 20 5V10C20 10.5523 19.5523 11 19 11C18.4477 11 18 10.5523 18 10V7.41421L14.7071 10.7071C14.3166 11.0976 13.6834 11.0976 13.2929 10.7071C12.9024 10.3166 12.9024 9.68342 13.2929 9.29289L16.5858 6H14C13.4477 6 13 5.55228 13 5ZM5 13C5.55228 13 6 13.4477 6 14V16.5858L9.29289 13.2929C9.68342 12.9024 10.3166 12.9024 10.7071 13.2929C11.0976 13.6834 11.0976 14.3166 10.7071 14.7071L7.41421 18H10C10.5523 18 11 18.4477 11 19C11 19.5523 10.5523 20 10 20H5C4.44772 20 4 19.5523 4 19V14C4 13.4477 4.44772 13 5 13Z",fill:"currentColor"})})},e$=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.00633 5.5C6.02321 5.53319 6.07042 5.60366 6.19525 5.70906C6.42458 5.9027 6.81573 6.12215 7.38659 6.32603C8.5196 6.73067 10.1506 7 12 7C13.8494 7 15.4804 6.73067 16.6134 6.32603C17.1843 6.12215 17.5754 5.9027 17.8048 5.70906C17.9296 5.60366 17.9768 5.53319 17.9937 5.5C17.9768 5.46681 17.9296 5.39634 17.8048 5.29094C17.5754 5.0973 17.1843 4.87785 16.6134 4.67397C15.4804 4.26933 13.8494 4 12 4C10.1506 4 8.5196 4.26933 7.38659 4.67397C6.81573 4.87785 6.42458 5.0973 6.19525 5.29094C6.07042 5.39634 6.02321 5.46681 6.00633 5.5ZM18 7.91726C17.7726 8.02403 17.5333 8.12123 17.2861 8.20951C15.8856 8.70968 14.0166 9 12 9C9.98341 9 8.1144 8.70968 6.71392 8.20951C6.46674 8.12123 6.22738 8.02403 6 7.91726V11.9866C6.00813 12.0073 6.03931 12.0661 6.14259 12.1624C6.31976 12.3277 6.63181 12.5252 7.10609 12.7189C8.04837 13.1039 9.43027 13.3932 11.051 13.476C11.6026 13.5042 12.0269 13.9741 11.9987 14.5257C11.9705 15.0773 11.5005 15.5016 10.949 15.4734C9.17744 15.3829 7.55934 15.0646 6.34969 14.5704C6.23097 14.5219 6.11419 14.4709 6 14.4173V18.4866C6.00813 18.5073 6.03931 18.5661 6.14259 18.6624C6.31976 18.8277 6.63181 19.0252 7.10609 19.2189C8.04837 19.6039 9.43027 19.8932 11.051 19.976C11.6026 20.0042 12.0269 20.4741 11.9987 21.0257C11.9705 21.5773 11.5005 22.0016 10.949 21.9734C9.17744 21.8829 7.55934 21.5646 6.34969 21.0704C5.74801 20.8246 5.19611 20.5146 4.77833 20.1249C4.35948 19.7341 4 19.1866 4 18.5V5.5C4 4.74631 4.43048 4.16346 4.90494 3.76283C5.38405 3.35829 6.01803 3.03902 6.71392 2.79049C8.1144 2.29032 9.98341 2 12 2C14.0166 2 15.8856 2.29032 17.2861 2.79049C17.982 3.03902 18.616 3.35829 19.0951 3.76283C19.5695 4.16346 20 4.74631 20 5.5V10C20 10.5523 19.5523 11 19 11C18.4477 11 18 10.5523 18 10V7.91726ZM17.5 13C18.0523 13 18.5 13.4477 18.5 14V14.6707C18.851 14.7948 19.172 14.9823 19.4492 15.2195L20.0308 14.8837C20.5091 14.6075 21.1207 14.7714 21.3968 15.2497C21.673 15.728 21.5091 16.3396 21.0308 16.6157L20.4499 16.9511C20.4828 17.1291 20.5 17.3125 20.5 17.5C20.5 17.6873 20.4828 17.8707 20.45 18.0485L21.0308 18.3838C21.5091 18.6599 21.6729 19.2715 21.3968 19.7498C21.1206 20.2281 20.5091 20.392 20.0308 20.1158L19.4495 19.7803C19.1722 20.0176 18.8511 20.2052 18.5 20.3293V21C18.5 21.5523 18.0523 22 17.5 22C16.9477 22 16.5 21.5523 16.5 21V20.3293C16.1489 20.2052 15.8277 20.0176 15.5504 19.7802L14.969 20.1159C14.4907 20.392 13.8791 20.2282 13.603 19.7499C13.3269 19.2716 13.4907 18.66 13.969 18.3839L14.55 18.0484C14.5172 17.8706 14.5 17.6873 14.5 17.5C14.5 17.3127 14.5172 17.1294 14.55 16.9515L13.9691 16.6161C13.4908 16.34 13.3269 15.7284 13.6031 15.2501C13.8792 14.7718 14.4908 14.608 14.9691 14.8841L15.5504 15.2197C15.8278 14.9824 16.1489 14.7948 16.5 14.6707V14C16.5 13.4477 16.9477 13 17.5 13ZM16.624 17.0174C16.6274 17.0117 16.6308 17.0059 16.6342 17.0001C16.6374 16.9946 16.6405 16.989 16.6436 16.9834C16.8187 16.6937 17.1367 16.5 17.5 16.5C17.8645 16.5 18.1835 16.6951 18.3583 16.9865C18.3607 16.9909 18.3632 16.9953 18.3658 16.9997C18.3685 17.0044 18.3713 17.0091 18.3741 17.0138C18.4543 17.1577 18.5 17.3235 18.5 17.5C18.5 17.6737 18.4557 17.8371 18.3778 17.9794C18.3737 17.9861 18.3697 17.9929 18.3657 17.9998C18.3619 18.0064 18.3581 18.0131 18.3545 18.0198C18.1789 18.3077 17.8619 18.5 17.5 18.5C17.1362 18.5 16.8178 18.3058 16.6428 18.0154C16.64 18.0102 16.6371 18.005 16.6341 17.9999C16.631 17.9945 16.6278 17.9891 16.6246 17.9838C16.5452 17.8404 16.5 17.6755 16.5 17.5C16.5 17.325 16.545 17.1605 16.624 17.0174Z",fill:"currentColor"})})},eY=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.70711 10.2929C7.31658 9.90237 6.68342 9.90237 6.29289 10.2929C5.90237 10.6834 5.90237 11.3166 6.29289 11.7071L11.2929 16.7071C11.6834 17.0976 12.3166 17.0976 12.7071 16.7071L17.7071 11.7071C18.0976 11.3166 18.0976 10.6834 17.7071 10.2929C17.3166 9.90237 16.6834 9.90237 16.2929 10.2929L13 13.5858L13 4C13 3.44771 12.5523 3 12 3C11.4477 3 11 3.44771 11 4L11 13.5858L7.70711 10.2929ZM5 19C4.44772 19 4 19.4477 4 20C4 20.5523 4.44772 21 5 21H19C19.5523 21 20 20.5523 20 20C20 19.4477 19.5523 19 19 19L5 19Z",fill:"currentColor"})})},eQ=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{d:"M6.34315 6.34338L17.6569 17.6571M17.6569 6.34338L6.34315 17.6571",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},eX=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 12C21 12.2652 20.8946 12.5196 20.7071 12.7071L13.7071 19.7071C13.3166 20.0976 12.6834 20.0976 12.2929 19.7071C11.9024 19.3166 11.9024 18.6834 12.2929 18.2929L17.5858 13L4 13C3.44772 13 3 12.5523 3 12C3 11.4477 3.44772 11 4 11L17.5858 11L12.2929 5.70711C11.9024 5.31658 11.9024 4.68342 12.2929 4.29289C12.6834 3.90237 13.3166 3.90237 13.7071 4.29289L20.7071 11.2929C20.8946 11.4804 21 11.7348 21 12Z",fill:"currentColor"})})},eJ=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 12C3 11.7348 3.10536 11.4804 3.29289 11.2929L10.2929 4.29289C10.6834 3.90237 11.3166 3.90237 11.7071 4.29289C12.0976 4.68342 12.0976 5.31658 11.7071 5.70711L6.41421 11L20 11C20.5523 11 21 11.4477 21 12C21 12.5523 20.5523 13 20 13L6.41422 13L11.7071 18.2929C12.0976 18.6834 12.0976 19.3166 11.7071 19.7071C11.3166 20.0976 10.6834 20.0976 10.2929 19.7071L3.29289 12.7071C3.10536 12.5196 3 12.2652 3 12Z",fill:"currentColor"})})},e0=function(Y){var et=Y.className;return(0,ei.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:[(0,ei.jsx)("path",{d:"M4.5 3.5V8H9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,ei.jsx)("path",{d:"M4.5 7.99645C5.93143 5.3205 8.75312 3.5 12 3.5C16.6944 3.5 20.5 7.30558 20.5 12C20.5 16.6944 16.6944 20.5 12 20.5C7.6439 20.5 4.05313 17.2232 3.5582 13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})},e9=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.52242 6.53608C9.7871 4.41979 12.1019 3 14.75 3C18.7541 3 22 6.24594 22 10.25C22 11.9007 21.4474 13.4239 20.5183 14.6425L21.348 15.97C21.5407 16.2783 21.5509 16.6668 21.3746 16.9848C21.1984 17.3027 20.8635 17.5 20.5 17.5H15.4559C14.1865 19.5963 11.883 21 9.25 21C9.18896 21 9.12807 20.9992 9.06735 20.9977C9.04504 20.9992 9.02258 21 9 21H3.5C3.13647 21 2.80158 20.8027 2.62536 20.4848C2.44913 20.1668 2.45933 19.7783 2.652 19.47L3.48171 18.1425C2.55263 16.9239 2 15.4007 2 13.75C2 9.99151 4.85982 6.90116 8.52242 6.53608ZM10.8938 6.68714C14.106 7.43177 16.5 10.3113 16.5 13.75C16.5 14.3527 16.4262 14.939 16.2871 15.5H18.6958L18.435 15.0828C18.1933 14.6961 18.2439 14.1949 18.5579 13.8643C19.4525 12.922 20 11.651 20 10.25C20 7.35051 17.6495 5 14.75 5C13.2265 5 11.8535 5.64888 10.8938 6.68714ZM8.89548 19C8.94178 18.9953 8.98875 18.9938 9.03611 18.9957C9.107 18.9986 9.17831 19 9.25 19C11.3195 19 13.1112 17.8027 13.9668 16.0586C14.3079 15.363 14.5 14.5804 14.5 13.75C14.5 10.8505 12.1495 8.5 9.25 8.5C9.21772 8.5 9.18553 8.50029 9.15341 8.50087C6.2987 8.55218 4 10.8828 4 13.75C4 15.151 4.54746 16.422 5.44215 17.3643C5.75613 17.6949 5.80666 18.1961 5.56498 18.5828L5.30425 19H8.89548Z",fill:"currentColor"})})},e5=function(Y){var et=Y.className;return(0,ei.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:et,children:(0,ei.jsx)("path",{d:"M12 4L12 20M20 12L4 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}},30769:function(Y,et,en){"use strict";en.d(et,{U:function(){return ep}});var ei=en(21722),eo=en(51217),ea=en(39324),eu=en(71209),ec=en(38104),ed=en(86646),ef=en(68951),eh=en(21950),ep=function(){function Y(){(0,eo._)(this,Y)}return Y.getAllGizmos=function(){return ed.ZP.get("".concat(ed.B,"/gizmos"))},Y.getMyGizmos=function(){return ed.ZP.get("".concat(ed.B,"/gizmos?mine=true"))},Y.getGizmosByUser=function(Y){return ed.ZP.get("".concat(ed.B,"/gizmos/u/").concat(Y))},Y.getGizmo=function(Y,et){var en=et?"?draft=true":"";return ed.ZP.get("".concat(ed.B,"/gizmos/").concat(Y).concat(en))},Y.getGizmoDiscovery=function(){return ed.ZP.get("".concat(ed.B,"/gizmos/discovery"))},Y.getGizmoDiscoveryCut=function(Y,et){return(0,ei._)(function(){var en,ei;return(0,ec.Jh)(this,function(eo){switch(eo.label){case 0:return[4,(en=function(en){var ei={};return null!=en&&(ei.cursor=en),(null==et?void 0:et.limit)!=null&&(ei.limit="".concat(et.limit)),ed.ZP.get("".concat(ed.k5,"/gizmos/discovery/").concat(Y),{params:ei,authOption:ed.FB.SendIfAvailable})})(null==et?void 0:et.cursor)];case 1:if(!(0===(ei=eo.sent()).list.items.length&&null!=ei.list.cursor))return[3,3];return[4,new Promise(function(Y){return setTimeout(Y,30*Math.random())})];case 2:return eo.sent(),[2,en(ei.list.cursor)];case 3:return[2,ei]}})})()},Y.getGizmoBootstrap=function(){return ed.ZP.get("".concat(ed.B,"/gizmos/bootstrap?limit=2"))},Y.getGizmoSearch=function(Y){return ed.ZP.get("".concat(ed.B,"/gizmos/search?q=").concat(Y))},Y.getGizmoReportReasons=function(){return ed.ZP.get("".concat(ed.B,"/gizmos/report_reasons"))},Y.postGizmoReport=function(Y,et){return ed.ZP.post("".concat(ed.B,"/gizmos/").concat(Y,"/report"),{reason:et})},Y.postGizmoAppeal=function(Y,et){return(0,ei._)(function(){return(0,ec.Jh)(this,function(en){switch(en.label){case 0:return[4,ed.ZP.post("".concat(ed.B,"/gizmos/").concat(Y,"/appeal"),{reason:et})];case 1:return en.sent(),[4,ef.E.invalidateQueries({queryKey:["gizmo",{gizmoId:Y}]})];case 2:return en.sent(),[2]}})})()},Y.postGizmoCancelAppeal=function(Y){return(0,ei._)(function(){return(0,ec.Jh)(this,function(et){switch(et.label){case 0:return[4,ed.ZP.post("".concat(ed.B,"/gizmos/").concat(Y,"/cancel_appeal"),{})];case 1:return et.sent(),[4,ef.E.invalidateQueries({queryKey:["gizmo",{gizmoId:Y}]})];case 2:return et.sent(),[2]}})})()},Y.upsertDraft=function(Y,et){return void 0!==et?ed.ZP.post("".concat(ed.B,"/gizmos?gizmo_id=").concat(et),Y):ed.ZP.post("".concat(ed.B,"/gizmos"),Y)},Y.promoteDraft=function(Y,et){return ed.ZP.post("".concat(ed.B,"/gizmos/").concat(et,"/promote"),Y)},Y.deleteGizmo=function(Y){return ed.ZP.delete("".concat(ed.B,"/gizmos/").concat(Y))},Y.getBuilderProfile=function(){return ed.ZP.get("".concat(ed.B,"/gizmo_creator_profile"))},Y.updateBuilderProfile=function(Y){return ed.ZP.post("".concat(ed.B,"/gizmo_creator_profile"),Y)},Y.updateGizmoSidebar=function(Y,et){return(0,ei._)(function(){var en;return(0,ec.Jh)(this,function(ei){switch(ei.label){case 0:return[4,ed.ZP.post("".concat(ed.B,"/gizmos/").concat(Y,"/sidebar"),{action:et})];case 1:switch(en=ei.sent(),et){case"keep":eh.D2.handleGizmoSidebarKeep(Y);break;case"hide":eh.D2.handleGizmoSidebarHide(Y)}return[2,en]}})})()},Y.removeFromRecent=function(Y){return(0,ei._)(function(){var et;return(0,ec.Jh)(this,function(en){switch(en.label){case 0:return[4,ed.ZP.post("".concat(ed.B,"/gizmos/").concat(Y,"/remove_recent"),{})];case 1:return et=en.sent(),ef.E.invalidateQueries({queryKey:["gizmos","bootstrap"]}),ef.E.invalidateQueries({queryKey:["gizmos","discovery"]}),[2,et]}})})()},Y.fetchOpenAPISpec=function(Y){return ed.ZP.post("".concat(ed.B,"/gizmos/fetch_openapi"),{url:Y})},Y.validateOpenAPISpec=function(Y){return ed.ZP.post("".concat(ed.B,"/gizmos/validate_openapi"),{raw_spec:Y})},Y.transformToOpenAPISpec=function(Y,et){return ed.ZP.post("".concat(ed.B,"/gizmos/transform_openapi"),(0,eu._)((0,ea._)({},Y),{auth:et}))},Y.doOAuthRedirect=function(Y,et,en,eo,ea){return(0,ei._)(function(){var ei;return(0,ec.Jh)(this,function(eu){switch(eu.label){case 0:return[4,ed.ZP.post("".concat(ed.B,"/gizmos/oauth_redirect"),{gizmo_id:Y,gizmo_action_id:et,domain:en,redirect_to:eo,draft:ea})];case 1:return ei=eu.sent(),window.location.href=ei.redirect_uri,[2]}})})()},Y.upsertUserActionSettings=function(Y,et,en){return(0,ei._)(function(){return(0,ec.Jh)(this,function(ei){return[2,ed.ZP.post("".concat(ed.B,"/gizmos/action_settings"),{gizmo_action_id:Y,domain:et,action_settings:en})]})})()},Y.getUserActionSettings=function(Y){return(0,ei._)(function(){return(0,ec.Jh)(this,function(et){return[2,ed.ZP.get("".concat(ed.B,"/gizmos/user_action_settings?gizmo_id=").concat(Y))]})})()},Y}()},23234:function(Y,et,en){"use strict";en.d(et,{Jq:function(){return ef},Ml:function(){return eu},Og:function(){return ed},cj:function(){return eh},te:function(){return ec}});var ei=en(62682),eo=en(17944),ea=en(70079);function eu(){return!0}function ec(){return!0}function ed(){var Y=(0,eo.$T)(),et=(0,eo.m0)(),en=(0,eo.hz)();if(!Y)return en.has(ei.L0.GizmoUI)&&(et||en.has(ei.L0.GizmoCreateUnpaid))}function ef(){var Y=(0,eo.hz)(),et=(0,eo.$T)(),en=(0,eo.m0)();if(!et)return Y.has(ei.L0.GizmoCreate)&&(en||Y.has(ei.L0.GizmoCreateUnpaid))}function eh(){(0,ea.useEffect)(function(){document.documentElement.classList.add("gizmo")},[])}},10943:function(Y,et,en){"use strict";en.d(et,{Cl:function(){return eS},QT:function(){return eE},UA:function(){return eT},Xb:function(){return ej},Zq:function(){return eP},cY:function(){return eM},f8:function(){return eO},tc:function(){return eC},y4:function(){return eA}});var ei=en(39324),eo=en(71209),ea=en(70216),eu=en(4337),ec=en(35250),ed=en(47428),ef=en(35427),eh=en(19841),ep=en(70079),em=en(21389),eg=en(48133),ey=en(13205),eb=en(15635);function ek(){var Y=(0,eu._)(["sticky top-0 mb-1.5 flex items-center justify-between z-10 h-14 bg-white/95 p-2 font-semibold dark:bg-gray-800/90"]);return ek=function(){return Y},Y}function ew(){var Y=(0,eu._)(["flex gap-2 px-5 py-2.5 text-sm"]);return ew=function(){return Y},Y}function e_(){var Y=(0,eu._)(["flex gap-2 m-1.5 rounded px-5 py-2.5 text-sm cursor-pointer focus:ring-0 hover:bg-black/5 dark:hover:bg-white/5 radix-disabled:pointer-events-none radix-disabled:opacity-50 group"]);return e_=function(){return Y},Y}var eE=em.Z.div(ek());(0,em.Z)(ed.__)(ew());var eC=em.Z.div(e_());function eT(Y){var et=Y.color,en=void 0===et?"default":et,eo=Y.className,eu=(0,ea._)(Y,["color","className"]);return(0,ec.jsx)(eC,(0,ei._)({$as:ed.ck,className:(0,eh.default)("danger"===en&&"text-red-500",eo)},eu))}function eS(){return(0,ec.jsx)(ed.Z0,{className:"my-1.5 border-b border-token-border-light"})}function eA(Y){var et=(0,ec.jsx)(eg.z,(0,eo._)((0,ei._)({color:"neutral",size:"small"},Y),{className:(0,eh.default)("flex h-9 w-9 items-center justify-center whitespace-nowrap rounded-lg border border-token-border-medium focus:ring-0",Y.className)}));return null!=Y.label?(0,ec.jsx)(eb.u,{side:"left",label:Y.label,className:"h-fit w-fit",children:et}):et}var eM=(0,ep.forwardRef)(function(Y,et){var en,eu=Y.tooltip,ed=Y.className,ef=(0,ea._)(Y,["tooltip","className"]),ep=(0,ec.jsx)(eg.z,(0,eo._)((0,ei._)({color:null!==(en=Y.color)&&void 0!==en?en:"neutral",size:"medium"},ef),{className:(0,eh.default)("h-8 rounded-lg border-token-border-light font-medium",ed),ref:et}));return null!=eu?(0,ec.jsx)(eb.u,{label:eu,children:ep}):ep}),eP=(0,ep.forwardRef)(function(Y,et){var en,eu=Y.tooltip,ed=Y.className,ef=(0,ea._)(Y,["tooltip","className"]),ep=(0,ec.jsx)(eg.z,(0,eo._)((0,ei._)({color:null!==(en=Y.color)&&void 0!==en?en:"neutral",size:"medium"},ef),{className:(0,eh.default)("h-10 border-token-border-light px-6 text-base",ed),ref:et}));return null!=eu?(0,ec.jsx)(eb.u,{label:eu,children:ep}):ep});function ej(Y){var et=Y.label,en=Y.disabled,ei=void 0!==en&&en,eo=Y.tooltipText,ea=Y.value,eu=(0,ep.useId)();return(0,ec.jsx)("div",{className:(0,eh.default)("flex items-center gap-2",ei?"opacity-50":""),children:(0,ec.jsx)(eb.E,{disabled:null==eo,label:eo,side:"right",children:(0,ec.jsxs)("label",{htmlFor:eu,className:"flex cursor-pointer items-center gap-1",children:[(0,ec.jsx)(ef.ck,{id:eu,value:ea,disabled:ei,className:"mr-1 flex h-5 w-5 items-center justify-center rounded-full border border-gray-500 bg-white dark:border-gray-600 dark:bg-gray-700",children:(0,ec.jsx)(ef.z$,{className:"h-2 w-2 rounded-full bg-gray-950 dark:bg-white"})}),et]})})})}function eO(Y){return(0,ec.jsx)(ey.Z,(0,eo._)((0,ei._)({},Y),{className:(0,eh.default)("!rounded border-gray-950 checked:!bg-black dark:border-gray-600 dark:bg-gray-700",Y.className)}))}},80275:function(Y,et,en){"use strict";en.d(et,{CS:function(){return ep},DC:function(){return em},JK:function(){return ed},Nh:function(){return ea},U9:function(){return ec},Zz:function(){return eo}});var ei,eo,ea,eu,ec,ed,ef,eh=en(51217),ep="g-YyyyMT9XH";!function(Y){Y[Y.USER=1]="USER",Y[Y.GROUP=2]="GROUP",Y[Y.WORKSPACE=3]="WORKSPACE",Y[Y.ALL=4]="ALL",Y[Y.PROJECT=5]="PROJECT",Y[Y.ORGANIZATION=6]="ORGANIZATION",Y[Y.SYSTEM=7]="SYSTEM"}(ei||(ei={})),function(Y){Y.Private="private",Y.Workspace="workspace",Y.Link="link",Y.Marketplace="marketplace"}(eo||(eo={})),function(Y){Y.FILE_SERVICE="fs"}(ea||(ea={})),function(Y){Y.PROMOTION_NOT_ALLOWED="promotion_not_allowed"}(eu||(eu={}));var em=function Y(et){(0,eh._)(this,Y),this.response=et};!function(Y){Y.FirstParty="first_party",Y.Beta="beta"}(ec||(ec={})),function(Y){Y.FirstParty="first_party",Y.SidebarKeep="sidebar_keep",Y.Mine="mine",Y.Recent="recent",Y.Workspace="workspace"}(ed||(ed={})),function(Y){Y.LINKEDIN="linkedin",Y.TWITTER="twitter",Y.INSTAGRAM="instagram",Y.GITHUB="github"}(ef||(ef={}))},73960:function(Y,et,en){"use strict";en.d(et,{MI:function(){return em},Pk:function(){return ep},S9:function(){return eg},VN:function(){return eb},WQ:function(){return ey},XX:function(){return eh},k1:function(){return ef},tv:function(){return ed}});var ei=en(61098),eo=en(80275),ea=en(17944),eu=en(42786),ec=en(94968);function ed(Y){return Y===ei.OL.GizmoInteraction||Y===ei.OL.GizmoMagicCreate||Y===ei.OL.GizmoTest}function ef(Y,et,en,ei){var eo;return Y.gizmo.author.user_id===et||Y.gizmo.author.user_id===en&&(null!==(eo=Y.gizmo.workspace_id)&&void 0!==eo?eo:void 0)===ei}function eh(Y){var et,en=(0,ea.ec)(ea.F_.accountUserId),ei=(0,ea.aF)();return ef(Y,en,null==ei?void 0:ei.id,null!==(et=(0,ea.ec)(ea.F_.businessWorkspaceId))&&void 0!==et?et:void 0)}function ep(Y){return Y<1e3?Y.toString():Y<1e6?(Y/1e3).toFixed(1)+"K":(Y/1e6).toFixed(1)+"M"}function em(Y,et,en){var ei=null==et?void 0:et.name;switch(Y){case eo.Zz.Link:return en.formatMessage(ek.privacyAnyoneWithLink);case eo.Zz.Private:return en.formatMessage(ek.privacyOnlyMe);case eo.Zz.Marketplace:return en.formatMessage(ek.privacyMarketplace);case eo.Zz.Workspace:return en.formatMessage(ek.privacyWorkspace,{workspaceName:ei});default:return(0,eu.Z)(Y),""}}function eg(Y){return"gizmo"in Y}function ey(Y){return"id"in Y}function eb(Y){return"".concat(Y.replaceAll(".","_").replaceAll("-","_"),"__jit_plugin")}en(1703);var ek=(0,ec.vU)({privacyOnlyMe:{id:"gizmo.privacyOnlyMe",defaultMessage:"Only me",description:"Description for a privacy setting of fully private"},privacyAnyoneWithLink:{id:"gizmo.privacyAnyoneWithLink",defaultMessage:"Only people with a link",description:"Description for a privacy setting of anyone with link"},privacyWorkspace:{id:"gizmo.privacyWorkspace",defaultMessage:"Anyone at {workspaceName}",description:"Description for a privacy setting of workspace"},privacyMarketplace:{id:"gizmo.privacyMarketplace",defaultMessage:"Public",description:"Description for a privacy setting of public"}})},37736:function(Y,et,en){"use strict";en.d(et,{QT:function(){return eF},rM:function(){return eD},KO:function(){return eH}});var ei=en(39324),eo=en(64502),ea=en(35250),eu=en(15635),ec=en(10064),ed=en(23155),ef=en(65129);en(10943),en(64898);var eh=en(17944),ep=en(47428),em=en(70079),eg=en(1454),ey=en(32004),eb=en(94968);function ek(Y){var et=Y.selectedDomain,en=Y.verifiedDomains,eo=Y.domains,eu=Y.onChangeDomain,eb=(0,ec._)((0,em.useState)(!1),2),ek=eb[0],e_=eb[1],eE=en.length>0,eC=(0,eh.ec)(eh.F_.workspaceId),eT=(0,eh.ec)(eh.F_.businessWorkspaceId);return(0,ea.jsxs)("div",{className:"font-normal",children:[(0,ea.jsxs)(ef.Z.Root,{children:[(0,ea.jsx)(ep.xz,{children:(0,ea.jsxs)("span",{className:"flex items-center gap-2 py-2",children:[null!=et?et:(0,ea.jsx)(ey.Z,(0,ei._)({},ew.selectADomain)),(0,ea.jsx)(eg.bTu,{})]})}),(0,ea.jsx)(ef.Z.Portal,{children:(0,ea.jsxs)(ef.Z.Content,{children:[(0,ea.jsx)(ef.Z.RadioGroup,{placeholder:"Select a domain",value:et,onValueChange:function(Y){Y!==et&&eu(Y)},children:en.map(function(Y){var et=Y.id,en=Y.hostname;return(0,ea.jsx)(ef.Z.RadioItem,{value:en,children:en},et)})}),eE&&(0,ea.jsx)(ef.Z.Separator,{}),(0,ea.jsx)(ef.Z.Item,{onClick:function(){e_(!0)},children:(0,ea.jsxs)("div",{className:"flex items-center gap-2",children:[(0,ea.jsx)(eg.OvN,{className:"icon-sm"}),(0,ea.jsx)(ey.Z,(0,ei._)({},ew.addDomain))]})})]})})]}),eC&&!eT&&(0,ea.jsx)(ed.Z,{domains:eo,isOpen:ek,onClose:function(){return e_(!1)},workspaceId:eC,showUnverifiedDomains:!0})]})}var ew=(0,eb.vU)({verify:{defaultMessage:"Verify",id:"GizmoSocialRow.verify",description:"Label for social verification button"},verified:{defaultMessage:"Verified",id:"GizmoSocialRow.verified",description:"Label for social verified"},addDomain:{id:"GizmoSocialRow.addDomain",defaultMessage:"Verify new domain",description:"Add domain button text"},selectADomain:{id:"GizmoSocialRow.selectADomain",defaultMessage:"Select a domain",description:"Select a domain dropdown placeholder"}}),e_=en(21950),eE=en(35265),eC=en(23234),eT=en(7171),eS=en(29450),eA=en(42798),eM=en(72290),eP=en(10663),ej=en(70671),eO=en(418),eI=en(42325),eN=function(){var Y=(0,eS.Fr)().openSettings;return(0,ea.jsx)("button",{onClick:function(){return Y(eS.u5.BuilderProfile)},children:(0,ea.jsx)(eE.eu,{className:"icon-sm"})})};function eL(Y){var et;return(null==Y?void 0:Y.hide_name)?void 0:null!==(et=null==Y?void 0:Y.name)&&void 0!==et?et:void 0}function eR(Y){var et,en=Y.gizmoId,ei=Y.gizmoName,eo=Y.gizmoAvatar,eu=Y.canEdit,ec=(0,e_.WL)(),ed=ec.data;if(ec.isLoading)return null;if(!ed)return(0,ea.jsx)(eT.Z,{type:"info",children:"Unable to load your builder profile"});var ef=eL(ed),eh=null!==(et=ed.website_url)&&void 0!==et?et:void 0;return(0,ea.jsxs)(ea.Fragment,{children:[eu&&en&&(0,ea.jsx)("span",{className:"absolute right-2 top-2",children:(0,ea.jsx)(eN,{})}),(0,ea.jsx)(eO.Z,{src:eo,isFirstParty:!1,className:"h-8 w-8"}),(0,ea.jsx)("div",{className:"mt-1 text-center text-sm font-medium text-token-text-primary",children:ei}),(0,ea.jsx)(eI.ZP,{builderName:ef,builderUrl:"https://".concat(eh)})]})}function eD(){var Y=(0,e_.WL)(),et=Y.data,en=Y.isLoading,eo=(0,eC.Og)();return en?(0,ea.jsx)("div",{className:"flex justify-center",children:(0,ea.jsx)(eA.Z,{})}):void 0===et||!1===eo?(0,ea.jsx)(eT.Z,{type:"info",children:(0,ea.jsx)(ey.Z,(0,ei._)({},eU.noCreatorProfile))}):(0,ea.jsx)(ez,{data:et})}function eF(Y){var et=Y.gizmoName,en=Y.canEdit,ei=Y.gizmoAvatar,eo=(0,ej.Z)(),eu=(0,eS.Fr)().openSettings;return(0,ea.jsxs)("div",{className:"relative flex w-full flex-col items-center justify-stretch rounded-lg bg-token-surface-secondary p-4",children:[(0,ea.jsx)(eR,{gizmoAvatar:ei,gizmoName:null!=et?et:eo.formatMessage(eU.placeholderGPT),canEdit:en}),(0,ea.jsx)("div",{className:"absolute right-4 top-3 text-xs text-token-text-tertiary",children:en?(0,ea.jsx)("button",{onClick:function(){eu(eS.u5.BuilderProfile)},children:(0,ea.jsx)(eE.eu,{className:"icon-sm"})}):"Preview"})]})}function eB(Y,et){if(Y.website_url&&et.length>0){var en=et.find(function(et){return et.url===Y.website_url});return en?en.hostname:et[0].hostname}if(et.length>0)return et[0].hostname;if(Y.website_url)return}function ez(Y){var et=Y.data,en=(0,ej.Z)(),ec=(0,e_.pJ)(),ed=(0,eh.ec)(eh.F_.businessWorkspaceId),ef=null!=et.website_url&&""!==et.website_url,ep=et.domains.reduce(function(Y,et){return"verified"===et.status?(0,eo._)(Y).concat([{id:et.id,hostname:et.hostname,url:et.hostname}]):Y},[]),em=ep.length>0,eb=eB(et,ep),ew=(0,ea.jsx)(eP.Z,{size:"small",onChange:function(){try{ef?ec.mutateAsync({websiteUrl:""}):eb&&ec.mutateAsync({websiteUrl:eb})}catch(Y){eM.m.danger("Failed to update your builder profile. Please try again.")}},disabled:!em,enabled:ef,label:ef?en.formatMessage(eU.hideWebsiteToggle):en.formatMessage(eU.showWebsiteToggle)}),eE=null==et.name||ec.isPending,eC=(0,ea.jsx)(eP.Z,{size:"small",onChange:function(Y){ec.mutateAsync({hideName:!Y})},disabled:eE,enabled:!et.hide_name,label:et.hide_name?en.formatMessage(eU.showNameToggle):en.formatMessage(eU.hideNameToggle)});return(0,ea.jsxs)("div",{className:"flex flex-col items-stretch gap-4",children:[(0,ea.jsx)(ey.Z,(0,ei._)({},eU.creatorProfileDescription)),(0,ea.jsx)(eF,{canEdit:!1}),(0,ea.jsx)(eS.ZR,{children:(0,ea.jsxs)("div",{className:"flex flex-col",children:[et.name&&(0,ea.jsxs)("div",{className:"flex items-center gap-2 py-3",children:[eE?(0,ea.jsx)(eu.u,{side:"left",label:en.formatMessage(eU.linkDisabledTooltip),children:eC}):eC,(0,ea.jsx)("b",{children:(0,ea.jsx)(ey.Z,(0,ei._)({},eU.creatorProfileNameLabel))}),(0,ea.jsx)("span",{children:et.name}),(0,ea.jsx)(eu.u,{side:"top",className:"ml-auto",label:en.formatMessage(eU.nameSourceReason),children:(0,ea.jsx)(eg.H33,{className:"icon-md"})})]}),!ed&&(0,ea.jsx)("div",{className:"border-t border-token-border-light ",children:(0,ea.jsxs)("div",{className:"flex items-center gap-2 py-3 text-sm font-medium",children:[em?ew:(0,ea.jsx)(eu.u,{side:"left",label:en.formatMessage(eU.linkDisabledTooltip),children:ew}),(0,ea.jsx)("p",{className:"",children:(0,ea.jsx)(ey.Z,(0,ei._)({},eU.creatorProfileLinkHeader))}),(0,ea.jsx)("div",{children:(0,ea.jsx)(ek,{selectedDomain:eb,domains:et.domains,verifiedDomains:ep,onChangeDomain:function(Y){ec.mutateAsync({websiteUrl:Y})}})})]})})]})})]})}var eU=(0,eb.vU)({gizmoTab:{id:"settingsModal.gizmoTab",defaultMessage:"Builder profile",description:"Label for the builder profile tab"},creatorProfileDescription:{id:"settingsModal.creatorProfileDescription",defaultMessage:"Personalize your builder profile to connect with users of your GPTs. These settings apply to publicly shared GPTs.",description:"Description for the builder Profile tab"},creatorProfileNameLabel:{id:"settingsModal.creatorProfileNameLabel",defaultMessage:"Name",description:"Label for the Name field on builder Profile tab."},noVerifiedName:{id:"settingsModal.noVerifiedName",defaultMessage:"No verified name",description:"Text when user does not have a verified name to display"},placeholderGPT:{id:"settingsModal.placeholderGPT",defaultMessage:"PlaceholderGPT",description:"Placeholder for the GPT preview on builder Profile tab."},byName:{id:"settingsModal.byName",defaultMessage:"by {name}",description:"By creator name under GPT"},preview:{id:"settingsModal.preview",defaultMessage:"Preview",description:"Preview tag in builder profile GPT preview"},noCreatorProfile:{id:"settingsModal.noCreatorProfile",defaultMessage:"Unable to retrieve builder profile",description:"No builder profile error message"},creatorProfileLinkHeader:{id:"settingsModal.creatorProfileLinkHeader.0",defaultMessage:"Website",description:"Links header on builder Profile tab"},websiteLinkTitle:{id:"settingsModal.websiteLinkTitle",defaultMessage:"Website",description:"Website link title on builder Profile tab"},nameDisabledTooltip:{id:"settingsModal.nameDisabledTooltip",defaultMessage:"You must have a verified name to enable displaying a name",description:"Tooltip for disabled name toggle"},linkDisabledTooltip:{id:"settingsModal.linkDisabledTooltip",defaultMessage:"You must have a verified domain to enable displaying a link",description:"Tooltip for disabled link toggle"},addDomain:{id:"settingsModal.addDomain",defaultMessage:"Verify new domain",description:"Add domain button text"},nameSourceReason:{id:"settingsModal.nameSourceReason",defaultMessage:"Name is populated from your billing details",description:"Reason for name source"},hideNameToggle:{id:"settingsModal.hideNameToggle",defaultMessage:"Hide your name in your builder profile",description:"Toggle label for hiding name"},showNameToggle:{id:"settingsModal.showNameToggle",defaultMessage:"Show your name in your builder profile",description:"Toggle label for showing name"},hideWebsiteToggle:{id:"settingsModal.hideWebsiteToggle",defaultMessage:"Hide your website in your builder profile",description:"Toggle label for hiding website"},showWebsiteToggle:{id:"settingsModal.showWebsiteToggle",defaultMessage:"Show your website in your builder profile",description:"Toggle label for showing website"}});function eH(){return(0,ea.jsx)(ey.Z,(0,ei._)({},eU.gizmoTab))}},87694:function(Y,et,en){"use strict";en.d(et,{ZC:function(){return eS},ZP:function(){return eA},xz:function(){return eM}});var ei=en(39324),eo=en(71209),ea=en(4337),eu=en(35250),ec=en(61098),ed=en(67568),ef=en(66638),eh=en(93028),ep=en(60478),em=en(10721),eg=en(70079),ey=en(32004),eb=en(94968),ek=en(21389),ew=en(48133),e_=en(12221);function eE(){var Y=(0,ea._)(["\ngizmo:mb-2\npy-2 px-3 border text-gray-600 rounded-md text-sm dark:text-gray-100\n","\n","\n","\n"]);return eE=function(){return Y},Y}function eC(){var Y=(0,ea._)(["bold underline"]);return eC=function(){return Y},Y}function eT(Y){var et,en;return(null===(et=Y.message.metadata)||void 0===et?void 0:null===(en=et.finish_details)||void 0===en?void 0:en.type)==="content_filter"}function eS(Y){if(void 0===Y)return{flagSeverity:void 0,shouldHideContent:!1,errCode:void 0,errMessage:void 0};var et=Y.errType,en=Y.errCode,ei=Y.err;return eT(Y)?{flagSeverity:"warning",shouldHideContent:!1,errCode:ep.qS.ContentOrTos,errMessage:ei}:{flagSeverity:et,shouldHideContent:"danger"===et&&en===ep.qS.ContentPolicy,errCode:en,errMessage:ei}}function eA(Y){var et=Y.message,en=Y.onRequestMoreCompletions,eo=Y.clientThreadId,ea=Y.id,ec=eS(et),ed=ec.errCode,ef=ec.errMessage,em=ec.flagSeverity;switch(ed){case ep.qS.ContentPolicy:return(0,eu.jsx)(eN,{$flag:em,children:(0,eu.jsx)(eI,{})});case ep.qS.ContentOrTos:return(0,eu.jsx)(eN,{$flag:em,children:(0,eu.jsx)(eO,{})});case e_.uU:return(0,eu.jsx)(eP,{id:ea,onRequestMoreCompletions:en,flag:em,clientThreadId:eo});case eh.wp:return(0,eu.jsx)(eN,{$flag:em,children:(0,eu.jsx)(ey.Z,(0,ei._)({},eB.historyDisabledConversationMissing))});default:return void 0!==ef?(0,eu.jsx)(eN,{$flag:em,children:ef}):null}}function eM(Y){var et=Y&&new Date(Y),en=et&&new Date(et);return en?"after ".concat(en.getHours()%12||12,":").concat(10>en.getMinutes()?"0":"").concat(en.getMinutes()," ").concat(en.getHours()>=12?"PM":"AM"):"later"}function eP(Y){var et,en=Y.id,ea=Y.onRequestMoreCompletions,eh=Y.flag,ep=Y.clientThreadId,eb=(0,em.useRouter)(),ek=(0,e_.Y8)(function(Y){return Y.isoDate}),eE=eM(ek),eC=(0,ed.WA)(null!=ep?ep:ec.Zq).kind!=ec.OL.PrimaryAssistant,eT=(0,eg.useCallback)(function(){ea(en,{eventSource:"mouse"},!0,"none",!1)},[en,ea]),eS=(0,eg.useCallback)(function(){var Y=void 0!==ep?ef.tQ.getServerThreadId(ep):void 0;void 0===Y?eb.replace("/",void 0,{shallow:!0}):(0,e_.m0)(Y),ea(en,{eventSource:"mouse"},!0,"none",!0)},[en,ea,eb,ep]);return et=eC?null!=ek?(0,eu.jsx)("span",{children:(0,eu.jsx)(ey.Z,(0,eo._)((0,ei._)({},eB.gptUsageCapExceededCustomFeature),{values:{link:ej,formattedTime:eE}}))}):(0,eu.jsx)(ey.Z,(0,ei._)({},eB.gptUsageCapExceededExpired)):null!=ek?(0,eu.jsx)("span",{children:(0,eu.jsx)(ey.Z,(0,eo._)((0,ei._)({},eB.gptUsageCapExceeded),{values:{link:ej,formattedTime:eE}}))}):(0,eu.jsx)(ey.Z,(0,ei._)({},eB.gptUsageCapExceededExpired)),(0,eu.jsx)(eN,{$flag:null!=ek?eh:void 0,children:(0,eu.jsxs)("div",{className:"flex items-center gap-6",children:[et,null==ek&&(0,eu.jsx)(ew.z,{color:"light",className:"flex-shrink-0 bg-white",onClick:eT,children:(0,eu.jsx)(ey.Z,(0,ei._)({},eB.buttonTryAgain))}),null!=ek&&!eC&&(0,eu.jsx)(ew.z,{color:"light",className:"flex-shrink-0 bg-white",onClick:eS,children:(0,eu.jsx)(ey.Z,(0,ei._)({},eB.buttonUseDefaultModel))})]})})}var ej=function(Y){return(0,eu.jsx)("a",{href:"https://share.hsforms.com/16d0ZZVM3QZirXnCD_q7u1Q4sk30",target:"_blank",rel:"noreferrer",className:"underline",children:Y})};function eO(){return(0,eu.jsx)(ey.Z,(0,eo._)((0,ei._)({},eB.contentOrTosViolation),{values:{contentPolicyLink:eR,feedbackLink:eD,termsLink:eF}}))}function eI(){return(0,eu.jsx)(ey.Z,(0,eo._)((0,ei._)({},eB.contentPolicyViolation),{values:{contentPolicyLink:eR,feedbackLink:eD}}))}var eN=ek.Z.div(eE(),function(Y){return"warning"===Y.$flag&&"border-orange-500 bg-orange-500/10"},function(Y){return"danger"===Y.$flag&&"border-red-500 bg-red-500/10"},function(Y){return void 0===Y.$flag&&"border-green-500 bg-green-500/10"}),eL=ek.Z.a(eC()),eR=function(Y){return(0,eu.jsx)(eL,{target:"_blank",href:"https://openai.com/policies/usage-policies",rel:"noreferrer",children:Y})},eD=function(Y){return(0,eu.jsx)(eL,{target:"_blank",href:"https://forms.gle/3gyAMj5r5rTEcgbs5",rel:"noreferrer",children:Y})},eF=function(Y){return(0,eu.jsx)(eL,{target:"_blank",href:"https://openai.com/policies/terms-of-use",rel:"noreferrer",children:Y})},eB=(0,eb.vU)({contentPolicyViolation:{id:"TextMessageDisplay.contentPolicyViolation",defaultMessage:"This content may violate our <contentPolicyLink>content policy</contentPolicyLink>. If you believe this to be in error, please <feedbackLink>submit your feedback</feedbackLink> — your input will aid our research in this area.",description:"Content policy violation message"},contentOrTosViolation:{id:"TextMessageDisplay.contentOrTosViolation",defaultMessage:"This content may violate our <contentPolicyLink>content policy</contentPolicyLink> or <termsLink>terms of use</termsLink>. If you believe this to be in error, please <feedbackLink>submit your feedback</feedbackLink> — your input will aid our research in this area.",description:"Content policy violation or terms of use policy violation message"},historyDisabledConversationMissing:{id:"TextMessageDisplay.historyDisabledConversationMissing",defaultMessage:"Sorry, conversations created when Chat History is off expire after 6 hours of inactivity. Please start a new conversation to continue using ChatGPT.",description:"History disabled conversation not found message"},gptUsageCapExceeded:{id:"TextMessageDisplay.gptUsageCapExceeded",defaultMessage:"You've reached the current usage cap for GPT-4. You can continue with the default model now, or try again {formattedTime}. <link>Learn more</link>",description:"GPT usage cap exceeded message"},gptUsageCapExceededCustomFeature:{id:"TextMessageDisplay.gptUsageCapExceededCustomFeature",defaultMessage:"You've reached the current usage cap for GPT-4, please try again {formattedTime}. <link>Learn more</link>",description:"GPT usage cap exceeded message for custom feature"},gptUsageCapExceededExpired:{id:"TextMessageDisplay.gptUsageCapExceededExpired",defaultMessage:"You previously reached your usage cap for GPT-4, but you can now try sending your message again",description:"GPT usage cap exceeded expired message"},buttonUseDefaultModel:{id:"TextMessageDisplay.buttonUseDefaultModel",defaultMessage:"Use default model",description:"Button to use default model"},buttonTryAgain:{id:"TextMessageDisplay.buttonTryAgain",defaultMessage:"Try again",description:"Button to try again"}})},45048:function(Y,et,en){"use strict";en.d(et,{M:function(){return eA},O1:function(){return eT}});var ei=en(39324),eo=en(35250),ea=en(61098),eu=en(17130),ec=en(86646),ed=en(25687),ef=en(61236),eh=en(70079),ep=en(1454),em=en(70671),eg=en(32004),ey=en(94968);function eb(Y){var et,en=Y.message,ei=Y.isCollapsed,eu=(0,em.Z)();if(en.message.content.content_type!==ea.PX.ExecutionOutput)return null;var ec=null===(et=en.message.metadata)||void 0===et?void 0:et.aggregate_result;if(!ec)return console.error("Corrupt code execution result message"),null;var ed=ec.messages.filter(eA),ef=ei&&ed.length>0,eh=ei&&null!=ec.final_expression_output,ep=ei&&null!=ec.in_kernel_exception,eg=!ei&&ec.messages.filter(eT).length>0;return(0,eo.jsxs)(eo.Fragment,{children:[ef&&(0,eo.jsx)(ek,{label:"STDOUT/STDERR",output:ed.map(function(Y,et){return(0,eo.jsx)("span",{className:"stderr"===Y.stream_name?"text-red-500":"",children:Y.text},"".concat(et))})}),eh&&(0,eo.jsx)(ek,{label:eu.formatMessage(eM.resultLabel),output:ec.final_expression_output}),ep&&(0,eo.jsx)("div",{className:"overflow-auto rounded border-t border-gray-500 bg-black text-white",children:(0,eo.jsx)("div",{className:"border-l-4 border-red-500 p-2 text-xs",children:(0,eo.jsx)("div",{className:"scrollbar-thin scrollbar-thumb-gray-400 scrollbar-track-gray-700 flex max-h-64 flex-col-reverse",children:(0,eo.jsx)("pre",{className:"shrink-0",children:ec.in_kernel_exception.traceback.join("")})})})}),eg&&ec.messages.filter(eT).map(function(Y,et){return(0,eo.jsx)("div",{className:"empty:hidden",children:(0,eo.jsx)(eS,{jupyterMessage:Y})},et)})]})}function ek(Y){var et=Y.label,en=Y.output;return(0,eo.jsxs)("div",{className:"rounded-md bg-black p-4 text-xs",children:[(0,eo.jsx)("div",{className:"mb-1 text-gray-400",children:et}),(0,eo.jsx)("div",{className:"scrollbar-thin scrollbar-thumb-gray-400 scrollbar-track-gray-700 prose flex max-h-64 flex-col-reverse overflow-auto text-white",children:(0,eo.jsx)("pre",{className:"shrink-0",children:en})})]})}et.ZP=eh.memo(eb);var ew=100,e_=1.5,eE=Math.log(151)/Math.log(1.5);function eC(Y){var et=Y.fileId,en=(0,ef.a)({queryKey:["getFileDownloadLink",et],queryFn:function(){return ec.ZP.getFileDownloadLink(et)},refetchInterval:function(Y){var et,en=Y.state.dataUpdateCount;return(null===(et=Y.state.data)||void 0===et?void 0:et.status)!=="success"&&!(en>eE)&&"error"!==Y.state.status&&Math.pow(e_,en)*ew}}).data,ei=(null==en?void 0:en.status)==="success"?en.download_url:null;return(0,eo.jsxs)(eo.Fragment,{children:[" ",ei&&(0,eo.jsx)("img",{src:ei,className:"my-1"})," "]})}function eT(Y){return"image"===Y.message_type||"image_url"in Y&&(0,eu.$H)(Y.image_url+"")}function eS(Y){var et=Y.jupyterMessage;if(null!==(0,eh.useContext)(ed.gB))return(0,eo.jsxs)("div",{className:"my-1 flex h-52 w-full max-w-xs flex-col items-center justify-center gap-2 rounded-md border-black/5 bg-gray-100 p-7 text-center text-gray-500 dark:border-white/10",children:[(0,eo.jsx)(ep.LFN,{className:"icon-lg"}),(0,eo.jsx)(eg.Z,(0,ei._)({},eM.imageNotSupported))]});if(null!=et.image_payload)return(0,eo.jsx)("img",{className:"my-1",src:"data:image/png;base64,".concat(et.image_payload)});if(null!=et.image_url){var en=(0,eu.Iy)(et.image_url);return(0,eo.jsx)(eC,{fileId:en})}return null}function eA(Y){return"stream"===Y.message_type}var eM=(0,ey.vU)({imageNotSupported:{id:"CodeExecutionOutputMessage.imageNotSupported",defaultMessage:"Image output is not supported in a shared chat",description:"Message shown when an image is output in a shared thread"},resultLabel:{id:"CodeExecutionOutputMessage.resultLabel",defaultMessage:"RESULT",description:"Label show with the code execution result output"}})},10989:function(Y,et,en){"use strict";en.d(et,{Ds:function(){return eN},OS:function(){return eI},ZP:function(){return eL}});var ei=en(21722),eo=en(39324),ea=en(71209),eu=en(10064),ec=en(38104),ed=en(35250),ef=en(62682),eh=en(17944),ep=en(82473),em=en(4536),eg=en(70079),ey=en(1454),eb=en(70671),ek=en(32004),ew=en(94968),e_=en(78103),eE=en(48133),eC=en(47478),eT=en(42798),eS=en(72290),eA=en(64898),eM=en(96251),eP=en(43178),ej=en(35808),eO=en(17314),eI=(0,e_.ZP)(function(){return{isOpen:!1}}),eN={close:function(){eI.setState({isOpen:!1})},setIsOpen:function(Y){eI.setState({isOpen:Y})}};function eL(Y){var et=Y.slideOver,en=(0,eb.Z)(),ew=(0,eu._)((0,eg.useState)(),2),e_=ew[0],eL=ew[1],eD=(0,eu._)((0,eg.useState)(!1),2),eF=eD[0],eB=eD[1],ez=(0,eu._)((0,eg.useState)(!1),2),eU=ez[0],eH=ez[1],eG=(0,eu._)((0,eg.useState)(!1),2),eV=eG[0],eW=eG[1],eZ=(0,eh.aF)(),eK=(0,eh.hz)(),e$=null!=eZ&&(0,em.yl)(eZ)||eK.has(ef.YI),eY=(0,ep.NL)(),eQ=eI(function(Y){return Y.isOpen}),eX=(0,eO.p0)(),eJ=(0,eA.useFetchManifestAndSpec)().fetchManifestAndSpec,e0=(0,eg.useMemo)(function(){return e$?eX[0]:eX.find(eM.cf)},[eX,e$]),e9=(0,eg.useCallback)((0,ei._)(function(){return(0,ec.Jh)(this,function(Y){return e0&&(eL(void 0),eJ({domain:e0.domain,onSuccess:function(Y){eL({manifestValidationInfo:Y.scrapeManifestResponse.manifest_validation_info,apiValidationInfo:Y.apiValidationInfo}),null!=Y.scrapeManifestResponse.plugin&&(0,eA.updateCachedApprovedPlugins)(Y.scrapeManifestResponse.plugin,eY)},onError:function(Y){eS.m.danger((null==Y?void 0:Y.message)||"Error refreshing plugin.")}})),[2]})}),[e0,eY,eJ]);return((0,eg.useEffect)(function(){eQ&&e9()},[eQ,e9]),eK.has(ef.Wk))?(0,ed.jsx)(eC.ZP,{icon:ey.V7f,title:en.formatMessage(eR.title),isOpen:eQ,slideOver:et,onClose:eN.close,children:(0,ed.jsx)("div",{className:"border-t border-gray-100 p-2 text-sm dark:border-gray-700",children:null!=e0?(0,ed.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,ed.jsx)("div",{children:(0,ed.jsx)(eE.z,{size:"small",color:"neutral",onClick:e9,children:(0,ed.jsx)(ek.Z,(0,eo._)({},eR.refreshPlugin))})}),e_?(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(eP.Z,{plugin:e0}),(0,ed.jsx)("div",{children:(0,ed.jsx)(ek.Z,(0,ea._)((0,eo._)({},eR.pluginId),{values:{id:e0.id}}))}),(0,ed.jsx)(ej.rC,{manifestValidationInfo:e_.manifestValidationInfo,expanded:eF,onChangeExpanded:eB}),null!=e_.apiValidationInfo&&(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(ej.q6,{apiValidationInfo:e_.apiValidationInfo,expanded:eU,onChangeExpanded:eH}),(0,ed.jsx)(ej.bf,{apiValidationInfo:e_.apiValidationInfo,expanded:eV,onChangeExpanded:eW})]})]}):(0,ed.jsx)("div",{className:"self-center",children:(0,ed.jsx)(eT.Z,{})})]}):(0,ed.jsx)("div",{className:"mt-4 text-center",children:e$?(0,ed.jsx)(ek.Z,(0,eo._)({},eR.enableLocalhostPluginWithDevTools)):(0,ed.jsx)(ek.Z,(0,eo._)({},eR.enableLocalhostPlugin))})})}):null}var eR=(0,ew.vU)({title:{id:"PluginDevtools.title",description:"Title of the plugin devtools component.",defaultMessage:"Plugin devtools"},refreshPlugin:{id:"PluginDevtools.refreshPlugin",description:"Refresh plugin button text.",defaultMessage:"Refresh plugin"},pluginId:{id:"PluginDevtools.pluginId",description:"Text for showing the plugin id.",defaultMessage:"Plugin id: {id}"},enableLocalhostPlugin:{id:"PluginDevtools.enableLocalhostPlugin",description:"Text displayed when a localhost plugin should be enabled to use devtools.",defaultMessage:"Please enable a localhost plugin to use devtools."},enableLocalhostPluginWithDevTools:{id:"PluginDevtools.enableLocalhostPluginenableLocalhostPluginWithDevTools",description:"Text displayed when a localhost plugin should be enabled to use devtools.",defaultMessage:"Please enable a localhost plugin (or any plugin if you're a plugin reviewer) to use devtools."}})},43178:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ea}});var ei=en(35250),eo=en(13246);function ea(Y){var et=Y.plugin,en=et.manifest.name_for_human;return(0,ei.jsxs)("div",{className:"flex gap-4 rounded bg-gray-50 px-4 py-2 dark:bg-gray-800",children:[(0,ei.jsx)(eo.Z,{url:et.manifest.logo_url,name:en,size:32,className:"flex-shrink-0"}),(0,ei.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ei.jsx)("h2",{className:"align-top text-base font-medium",children:en}),(0,ei.jsx)("div",{className:"text-sm",children:et.manifest.description_for_human})]})]})}},35808:function(Y,et,en){"use strict";en.d(et,{bf:function(){return ep},q6:function(){return eh},rC:function(){return ef}});var ei=en(39324),eo=en(70216),ea=en(10064),eu=en(35250),ec=en(70079),ed=en(1454);function ef(Y){var et=Y.manifestValidationInfo,en=(0,eo._)(Y,["manifestValidationInfo"]),ea=et.manifest_dict,ec=et.warnings,ed=et.errors;return(0,eu.jsx)(em,(0,ei._)({name:"manifest",content:ea,warnings:ec,errors:ed},en))}function eh(Y){var et=Y.apiValidationInfo,en=(0,eo._)(Y,["apiValidationInfo"]),ea=et.openapi_spec_dict,ec=et.warnings,ed=et.errors;return(0,eu.jsx)(em,(0,ei._)({name:"OpenAPI spec",content:ea,warnings:ec,errors:ed},en))}function ep(Y){var et=Y.apiValidationInfo,en=(0,eo._)(Y,["apiValidationInfo"]),ea=et.api_typescript;return ea?(0,eu.jsx)(eg,(0,ei._)({text:"Prompt for ChatGPT",content:ea},en)):null}function em(Y){var et=Y.name,en=Y.content,ea=Y.warnings,ec=Y.errors,ef=(0,eo._)(Y,["name","content","warnings","errors"]),eh=ea&&ea.length>0,ep=ec&&ec.length>0,em="Validated ".concat(et),ey=(0,eu.jsx)(ed.UgA,{className:"icon-sm text-green-500"});return ep?(em="Errors in ".concat(et),ey=(0,eu.jsx)(ed.q5L,{className:"icon-sm text-red-500"})):eh&&(em="Warnings in ".concat(et),ey=(0,eu.jsx)(ed.bcx,{className:"icon-sm text-yellow-500"})),(0,eu.jsx)(eg,(0,ei._)({icon:ey,text:em,content:en,warnings:ea,errors:ec},ef))}function eg(Y){var et=Y.icon,en=Y.text,ei=Y.content,eo=Y.warnings,ef=Y.errors,eh=Y.expanded,ep=Y.onChangeExpanded,em=(0,ea._)((0,ec.useState)(!1),2),eg=em[0],ey=em[1],eb=null!=eh?eh:eg,ek=(0,ec.useCallback)(function(){ep?ep(!eb):ey(function(Y){return!Y})},[eb,ep]);return(0,eu.jsxs)("div",{className:"flex flex-col gap-2 text-sm",children:[(0,eu.jsxs)("div",{className:"flex items-center gap-1",children:[et&&(0,eu.jsx)("div",{children:et}),(0,eu.jsx)("div",{children:en}),(0,eu.jsx)("div",{role:"button",className:"cursor-pointer text-gray-500 hover:text-gray-700",onClick:ek,children:eb?(0,eu.jsx)(ed.rH8,{className:"icon-sm"}):(0,eu.jsx)(ed.bTu,{className:"icon-sm"})})]}),eb&&(0,eu.jsxs)(eu.Fragment,{children:[(0,eu.jsxs)("div",{className:"flex flex-col gap-2 font-semibold",children:[ef&&ef.map(function(Y,et){return(0,eu.jsx)("div",{className:"text-red-500",children:Y},et)}),eo&&eo.map(function(Y,et){return(0,eu.jsx)("div",{className:"text-yellow-500",children:Y},et)})]}),ei&&(0,eu.jsx)("pre",{className:"overflow-auto whitespace-pre-wrap text-xs",children:"string"==typeof ei?ei:JSON.stringify(ei,null,2)})]})]})}},64898:function(Y,et,en){"use strict";en.r(et),en.d(et,{addToCachedInstalledPlugins:function(){return e_},doOauthRedirect:function(){return eT},getOauthCallbackUrl:function(){return eA},updateCachedApprovedPlugins:function(){return eE},useFetchManifestAndSpec:function(){return eM},useInstallPlugin:function(){return ek},useUninstallPlugin:function(){return ew}});var ei=en(21722),eo=en(39324),ea=en(71209),eu=en(10064),ec=en(64502),ed=en(38104),ef=en(86646),eh=en(82473),ep=en(25494),em=en(70079),eg=en(96251),ey=en(56457),eb=en(21613);function ek(Y){var et=Y.onSuccess,en=Y.onError,ei=Y.onSettled,eo=(0,eh.NL)(),ea=(0,ep.D)({mutationFn:ef.ZP.updatePluginUserSettings.bind(ef.ZP),onSuccess:function(Y){e_(Y,eo),eE(Y,eo),et(Y)},onError:en,onSettled:ei}).mutate;return(0,em.useCallback)(function(Y){ea({pluginId:Y,isInstalled:!0})},[ea])}function ew(Y){var et=Y.onSuccess,en=Y.onError,ei=Y.onSettled,eo=(0,eh.NL)(),ea=(0,ep.D)({mutationFn:ef.ZP.updatePluginUserSettings.bind(ef.ZP),onSuccess:function(Y){eC(Y,eo),eE(Y,eo),et(Y)},onError:en,onSettled:ei}).mutate;return(0,em.useCallback)(function(Y){ea({pluginId:Y,isInstalled:!1})},[ea])}function e_(Y,et){var en=eb.Z;et.setQueryData(en,function(et){var en=(0,ec._)((null==et?void 0:et.items)||[]),ei=en.findIndex(function(et){return et.id===Y.id});return -1!==ei?en[ei]=Y:en.push(Y),{count:en.length,items:en}})}function eE(Y,et){var en=ey.V;et.setQueriesData({queryKey:en},function(et){if(!et)return et;var en=et.items.findIndex(function(et){return et.id===Y.id});if(-1===en)return et;var ei=(0,ec._)(et.items);return ei[en]=Y,(0,ea._)((0,eo._)({},et),{items:ei})})}function eC(Y,et){var en=eb.Z;et.setQueryData(en,function(et){var en=(0,ec._)((null==et?void 0:et.items)||[]),ei=en.findIndex(function(et){return et.id===Y.id});return -1!==ei&&en.splice(ei,1),{count:en.length,items:en}})}function eT(Y,et){return eS.apply(this,arguments)}function eS(){return(eS=(0,ei._)(function(Y,et){var en,ei;return(0,ed.Jh)(this,function(eo){switch(eo.label){case 0:return en="".concat(window.location.origin,"/aip/").concat(Y.id,"/oauth/callback"),[4,ef.ZP.pluginOauthRedirect(Y.id,en,et)];case 1:return ei=eo.sent(),window.location.href=ei.redirect_uri,[2]}})})).apply(this,arguments)}function eA(Y){var et=Y.manifest.auth;if("oauth"!==et.type||!Y.oauth_client_id)return null;var en=new URLSearchParams({response_type:"code",client_id:Y.oauth_client_id,redirect_uri:"".concat(window.location.origin,"/aip/").concat(Y.id,"/oauth/callback"),scope:et.scope});return et.client_url.includes("slack.com")&&(en.delete("scope"),en.append("user_scope",et.scope)),"".concat(et.client_url,"?").concat(en)}function eM(){var Y=(0,eu._)((0,em.useState)(!1),2),et=Y[0],en=Y[1];return{fetchManifestAndSpec:(0,em.useCallback)(function(){var Y=(0,ei._)(function(Y){var et,ei,eo,ea,eu,ec,eh,ep,em,ey;return(0,ed.Jh)(this,function(ed){switch(ed.label){case 0:et=Y.domain,ei=Y.manifestAccessToken,eo=Y.onSuccess,ea=Y.onError,eu=(0,eg.NB)(et),ed.label=1;case 1:if(ed.trys.push([1,10,11,12]),en(!0),!(null!=eu))return[3,3];return[4,(0,eg.Zb)(eu)];case 2:if(void 0===(ec=ed.sent()))return[2];return eo({domain:eu,scrapeManifestResponse:{plugin:ec.plugin,manifest_validation_info:ec.manifest_validation_info},apiValidationInfo:ec.api_validation_info}),[3,9];case 3:return[4,ef.ZP.scrapePluginManifest({domain:et,manifestAccessToken:ei})];case 4:if(!(eh=ed.sent()).plugin)return[3,8];ed.label=5;case 5:return ed.trys.push([5,7,,8]),[4,ef.ZP.getPluginApi({id:eh.plugin.id})];case 6:return ep=ed.sent().api_validation_info,[3,8];case 7:return em=ed.sent(),[3,8];case 8:eo({domain:et,scrapeManifestResponse:eh,apiValidationInfo:ep,manifestAccessToken:ei}),ed.label=9;case 9:return[3,12];case 10:return ey=ed.sent(),ea(null!=eu?ey:void 0),[3,12];case 11:return en(!1),[7];case 12:return[2]}})});return function(et){return Y.apply(this,arguments)}}(),[]),isLoading:et}}},96251:function(Y,et,en){"use strict";en.d(et,{NB:function(){return ew},Zb:function(){return eE},cf:function(){return ek},qZ:function(){return em},wR:function(){return ep}});var ei=en(21722),eo=en(39324),ea=en(38104),eu=en(61098),ec=en(86646),ed=en(8844),ef=en(1703),eh=en(72290);function ep(Y){var et,en,ei,eo,ea=null!==(eo=null===(et=Y.metadata)||void 0===et?void 0:null===(en=et.invoked_plugin)||void 0===en?void 0:en.http_api_call_data)&&void 0!==eo?eo:null===(ei=Y.metadata)||void 0===ei?void 0:ei.http_api_call_data;if(void 0!==ea){if(Y.author.role!==eu.uU.Assistant){console.error("Refusing to make localhost plugin HTTP call from non-assistant message",Y);return}if("object"!=typeof ea||"string"!=typeof ea.namespace||0===ea.namespace.length||"string"!=typeof ea.function_name||0===ea.function_name.length||"string"!=typeof ea.parent_message_id||0===ea.parent_message_id.length||"string"!=typeof ea.url||0===ea.url.length||"string"!=typeof ea.method||!["get","post","put","delete","patch"].includes(ea.method)||!Array.isArray(ea.qs_params)||ea.qs_params.some(function(Y){return!Array.isArray(Y)||2!==Y.length||"string"!=typeof Y[0]||"string"!=typeof Y[1]})||"object"!=typeof ea.headers||Object.keys(ea.headers).some(function(Y){return"string"!=typeof Y})||Object.values(ea.headers).some(function(Y){return"string"!=typeof Y})||!(null===ea.body||"object"==typeof ea.body&&Object.keys(ea.body).every(function(Y){return"string"==typeof Y}))||"string"!=typeof ea.api_function_type||!["kwargs","chat"].includes(ea.api_function_type)){console.error("Refusing to make localhost plugin HTTP call with invalid metadata",Y);return}if(!/^https?:\/\/localhost:/.test(ea.url)){console.error("Refusing to make localhost plugin HTTP call with non-localhost URL",Y);return}return ea}}function em(Y){return eg.apply(this,arguments)}function eg(){return(eg=(0,ei._)(function(Y){var et;return(0,ea.Jh)(this,function(en){switch(en.label){case 0:return en.trys.push([0,2,,3]),[4,ey(Y)];case 1:return[2,en.sent()];case 2:return console.error("Error making localhost plugin HTTP call",et=en.sent()),[2,[{id:(0,ed.Z)(),author:{role:eu.uU.Tool,name:"plugin_service"},content:{content_type:eu.PX.Text,parts:["Error making localhost plugin HTTP call: ".concat(et)]},recipient:"all"}]];case 3:return[2]}})})).apply(this,arguments)}function ey(Y){return eb.apply(this,arguments)}function eb(){return(eb=(0,ei._)(function(Y){var et,en,ei,ec;function ef(Y){return Object.keys(Y).map(function(Y){return Y.toLowerCase()})}function eh(Y){var et=Y.flat();return new Set(et).size===et.length}return(0,ea.Jh)(this,function(ea){switch(ea.label){case 0:if(et={"content-type":"application/json"},!eh([ef(Y.headers),ef(et)]))throw Error("Refusing to make localhost plugin HTTP call with duplicate header keys");return en=Y.url,Y.qs_params.length>0&&(en=en+"?"+new URLSearchParams(Y.qs_params)),ei=void 0,null!==Y.body&&(ei=JSON.stringify(Y.body)),[4,fetch(en,{method:Y.method,headers:(0,eo._)({},et,Y.headers),body:ei})];case 1:return[4,ea.sent().text()];case 2:if(ec=ea.sent(),"chat"===Y.api_function_type)return[2,[JSON.parse(ec)]];if("kwargs"===Y.api_function_type)return[2,[{id:(0,ed.Z)(),author:{role:eu.uU.Tool,name:"".concat(Y.namespace,".").concat(Y.function_name)},content:{content_type:eu.PX.Text,parts:[ec]},recipient:"all"}]];throw Error("Not implemented")}})})).apply(this,arguments)}function ek(Y){return!!ew(Y.domain)}function ew(Y){return/^localhost:\d+$/.test(Y)?"http://".concat(Y):/^https?:\/\/localhost:\d+$/.test(Y)?Y:null}function e_(Y){try{return new URL(Y),"full url"}catch(et){if(Y.startsWith("/"))return"pathname";return"neither"}}function eE(Y){return eC.apply(this,arguments)}function eC(){return(eC=(0,ei._)(function(Y){var et,en,ei,eo,eu,ed,ep,em,eg;return(0,ea.Jh)(this,function(ea){switch(ea.label){case 0:return ea.trys.push([0,3,,4]),[4,fetch(Y+"/.well-known/ai-plugin.json")];case 1:return[4,ea.sent().json()];case 2:return en=ea.sent(),[3,4];case 3:return ei=ea.sent(),eh.m.danger("Failed to fetch localhost manifest. Check to ensure your localhost is running and your localhost server has CORS enabled."),[2];case 4:if(null==(eo=null==en?void 0:null===(et=en.api)||void 0===et?void 0:et.url))return eh.m.danger("Localhost manifest is missing OpenAPI spec URL."),[2];if("pathname"===(eu=e_(eo)))eo=Y+eo;else if("neither"===eu)return eh.m.danger("Localhost manifest OpenAPI spec URL is not a valid URL or path."),[2];ea.label=5;case 5:return ea.trys.push([5,8,,9]),[4,fetch(eo)];case 6:return[4,ea.sent().text()];case 7:return ed=ea.sent(),[3,9];case 8:return ep=ea.sent(),eh.m.danger("Failed to fetch localhost OpenAPI spec."),[2];case 9:try{em=ef.ZP.parse(ed)}catch(Y){}try{em=JSON.parse(ed)}catch(Y){}if(null==em)return eh.m.danger("Failed to parse localhost OpenAPI spec as JSON or YAML."),[2];ea.label=10;case 10:return ea.trys.push([10,12,,13]),[4,ec.ZP.createOrUpdateLocalhostPlugin({localhost:Y,manifest:en,openapiSpec:em})];case 11:return[2,ea.sent()];case 12:return eg=ea.sent(),eh.m.danger("Failed to create or update localhost plugin at ".concat(Y)),[3,13];case 13:return[2]}})})).apply(this,arguments)}},96096:function(Y,et,en){"use strict";en.d(et,{Aj:function(){return eb},i$:function(){return ey},nA:function(){return e_},uM:function(){return ew}});var ei=en(39324),eo=en(4337),ea=en(35250),eu=en(1454),ec=en(94968),ed=en(32004),ef=en(21389);function eh(){var Y=(0,eo._)(["flex h-[18px] w-[18px] items-center justify-center rounded-[5px] bg-red-200 text-red-800"]);return eh=function(){return Y},Y}function ep(){var Y=(0,eo._)(["flex items-center gap-1 rounded-[5px] bg-red-200 py-0.5 px-1.5 text-xs font-medium uppercase text-red-800"]);return ep=function(){return Y},Y}var em=ef.Z.div(eh()),eg=(0,ec.vU)({unapprovedTag:{id:"TagComponents.unapprovedTag",defaultMessage:"Unverified",description:"Text shown inside the UnapprovedTagWithText component"},localhostTag:{id:"TagComponents.localhostTag",defaultMessage:"Localhost",description:"Text shown inside the LocalhostTagWithText component"}});function ey(){return(0,ea.jsx)(em,{children:(0,ea.jsx)(eu.OH,{className:"h-3 w-3 stroke-[2.5]"})})}function eb(){return(0,ea.jsx)(em,{children:(0,ea.jsx)(eu.V7f,{className:"icon-xs"})})}var ek=ef.Z.div(ep());function ew(){return(0,ea.jsxs)(ek,{children:[(0,ea.jsx)(eu.OH,{className:"h-3 w-3 stroke-[2.5]"}),(0,ea.jsx)("div",{children:(0,ea.jsx)(ed.Z,(0,ei._)({},eg.unapprovedTag))})]})}function e_(){return(0,ea.jsxs)(ek,{children:[(0,ea.jsx)(eu.V7f,{className:"icon-xs"}),(0,ea.jsx)("div",{children:(0,ea.jsx)(ed.Z,(0,ei._)({},eg.localhostTag))})]})}},56457:function(Y,et,en){"use strict";en.d(et,{V:function(){return ed},Z:function(){return ef}});var ei=en(64502),eo=en(86646),ea=en(72871),eu=en(61236),ec=en(52134),ed=["approvedAip"];function ef(Y){var et=Y.category,en=Y.search,ef=Y.offset,eh=Y.limit,ep=(0,ea.H)().isPluginsAvailable;return(0,eu.a)({queryKey:(0,ei._)(ed).concat([{category:et,search:en},{limit:eh,offset:ef}]),queryFn:function(){return eo.ZP.getApprovedPlugins({offset:ef,limit:eh,category:et,search:en}).catch(function(Y){throw console.error(Y),Y})},enabled:ep,placeholderData:ec.Wk})}},17314:function(Y,et,en){"use strict";en.d(et,{dT:function(){return ey},hZ:function(){return ef},iO:function(){return eh},p0:function(){return eg},wu:function(){return eb}});var ei=en(64502),eo=en(17944),ea=en(19253),eu=en(70079),ec=en(78103),ed=en(21613),ef=3,eh=[["www.klarna.com","server.shop.app"],["apim.expedia.com","kayak.com"],["www.redfin.com","plugins.zillow.com"],["instacart.com","api.tasty.co"]];function ep(Y){var et,en=Array.from(new Set(ea.m.getItem(ea.F.EnabledPlugins,{workspaceId:null===(et=Y.currentWorkspace)||void 0===et?void 0:et.id})));return{enabledPluginIds:new Set(en.splice(0,ef))}}var em=(0,ec.ZP)(function(){return ep(eo.ec.getState())});function eg(){var Y=(0,ed.C)().installedPlugins,et=em().enabledPluginIds;return(0,eu.useMemo)(function(){return Y.filter(function(Y){return et.has(Y.id)})},[et,Y])}function ey(Y){Y.length>ef||em.setState(function(){var et;return ea.m.setItem(ea.F.EnabledPlugins,Y,{workspaceId:null===(et=eo.ec.getState().currentWorkspace)||void 0===et?void 0:et.id}),{enabledPluginIds:new Set(Y)}})}function eb(Y){em.setState(function(et){if(et.enabledPluginIds.size>=ef)return et;var en,eu=(0,ei._)(et.enabledPluginIds).concat([Y]);return ea.m.setItem(ea.F.EnabledPlugins,eu,{workspaceId:null===(en=eo.ec.getState().currentWorkspace)||void 0===en?void 0:en.id}),{enabledPluginIds:new Set(eu)}})}eo.ec.subscribe(function(Y){em.setState(ep(Y))})},21613:function(Y,et,en){"use strict";en.d(et,{C:function(){return ed},Z:function(){return ec}});var ei=en(86646),eo=en(72871),ea=en(61236),eu=en(70079),ec=["installedAip"];function ed(){var Y=(0,eo.H)().isPluginsAvailable,et=(0,ea.a)({queryKey:ec,queryFn:function(){return ei.ZP.getPlugins({offset:0,limit:250,isInstalled:!0}).catch(function(Y){throw console.error(Y),Y})},enabled:Y}),en=et.data,ed=et.isLoading;return(0,eu.useMemo)(function(){return{installedPlugins:en?en.items:[],isLoading:ed}},[en,ed])}},86585:function(Y,et,en){"use strict";en.d(et,{i:function(){return ew}});var ei=en(21722),eo=en(64502),ea=en(20485),eu=en(38104),ec=en(86646),ed=en(66638),ef=en(72871),eh=en(82473),ep=en(61236),em=en(56457),eg=en(21613);function ey(Y){return eb.apply(this,arguments)}function eb(){return(eb=(0,ei._)(function(Y){var et;return(0,eu.Jh)(this,function(en){switch(en.label){case 0:return et=Y.queryKey,[4,ec.ZP.publicGetPluginsById({ids:et})];case 1:return[2,en.sent().items]}})})).apply(this,arguments)}function ek(Y){var et=(0,ef.H)().isPluginsAvailable,en=(0,eh.NL)();return(0,ep.a)({queryKey:["threadPlugins",(0,eo._)(Y).sort().join("")],queryFn:ey,initialData:function(){var et=null===(ef=en.getQueryData(eg.Z))||void 0===ef?void 0:ef.items,ei=null===(eh=en.getQueryData(em.V))||void 0===eh?void 0:eh.items,eo=[],eu=!0,ec=!1,ed=void 0;try{for(var ef,eh,ep,ey=function(){var Y,en=ep.value,ea=null!==(Y=null==et?void 0:et.find(function(Y){return Y.id===en}))&&void 0!==Y?Y:null==ei?void 0:ei.find(function(Y){return Y.id===en});if(null==ea)return{v:void 0};eo.push(ea)},eb=Y[Symbol.iterator]();!(eu=(ep=eb.next()).done);eu=!0){var ek=ey();if("object"===(0,ea._)(ek))return ek.v}}catch(Y){ec=!0,ed=Y}finally{try{eu||null==eb.return||eb.return()}finally{if(ec)throw ed}}return eo},enabled:et&&Y.length>0})}function ew(Y){var et,en;return null!==(en=null===(et=ek((0,ed.GR)(Y)))||void 0===et?void 0:et.data)&&void 0!==en?en:[]}},4551:function(Y,et,en){"use strict";en.d(et,{ZP:function(){return tf},MG:function(){return tc}});var ei,eo=en(39324),ea=en(71209),eu=en(10064),ec=en(35250),ed=en(55548),ef=en(17944),eh=en(54636),ep=en(42780),em=en(73040),eg=en.n(em),ey=en(10721),eb=en.n(ey),ek=en(70079),ew=en(1454),e_=en(32004),eE=en(94968),eC=en(25005),eT=en(48133),eS=en(48558),eA=en(2954),eM=en(5053),eP=en(19841),ej=function(){eh.A.logEvent(ep.M.clickAccountPaymentGetHelp)};function eO(Y){var et=Y.isCurrentPlan,en=Y.planType,ei=Y.disabled,eo=Y.onClick,ea=Y.children;return(0,ec.jsx)(eT.z,{size:"large",color:et?"disabled":"primary",className:(0,eP.default)({"py-3 font-semibold":!0,"bg-brand-blue-800 hover:bg-blue-700":!et&&en===eM.D8.TEAM}),disabled:ei,onClick:eo,children:ea})}var eI=function(){return(0,ec.jsx)(e9,{size:"small",pricingPlan:eA.S.free,callToActionButton:(0,ec.jsx)(eT.z,{className:"py-3 font-semibold",disabled:!0,color:"disabled",children:(0,ec.jsx)(e_.Z,(0,eo._)({},eA.S.free.callToAction.inactive))}),additionalLinks:[(0,ec.jsx)(e_.Z,(0,ea._)((0,eo._)({},eN.haveExistingPlan),{values:{link:function(Y){return(0,ec.jsx)(eg(),{target:"_blank",href:eS.ti,onClick:ej,passHref:!0,className:"font-medium underline",children:Y},"row-plus-plan-help-link")}}}),"existing-plan-help")]})},eN=(0,eE.vU)({haveExistingPlan:{id:"AccountPaymentModel.haveExistingPlan",description:"Have an existing plan question message",defaultMessage:"Have an existing plan? See <link>billing help</link>"}}),eL=en(21722),eR=en(38104),eD=en(15635),eF=en(35265),eB=en(72290),ez=en(86646),eU=en(70671),eH=en(4337),eG=en(21389);function eV(){var Y=(0,eH._)(["text-sm relative flex-1 flex gap-5 flex-col border-t py-4 px-6 border-token-border-light md:border-r last:border-r-0 md:border-t-0"]);return eV=function(){return Y},Y}function eW(){var Y=(0,eH._)(["relative flex flex-col bg-token-surface-primary"]);return eW=function(){return Y},Y}function eZ(){var Y=(0,eH._)(["flex flex-col flex-grow gap-2"]);return eZ=function(){return Y},Y}function eK(){var Y=(0,eH._)(["relative bg-token-surface-primary"]);return eK=function(){return Y},Y}function e$(){var Y=(0,eH._)(["text-xs text-token-text-secondary"]);return e$=function(){return Y},Y}var eY=eG.Z.div(eV()),eQ=eG.Z.div(eW()),eX=eG.Z.div(eZ()),eJ=eG.Z.div(eK()),e0=(0,eG.Z)(eQ)(e$()),e9=function(Y){var et=Y.pricingPlan,en=Y.callToActionButton,ei=Y.className,ea=Y.size,eu=Y.showForLine,ed=void 0===eu||eu,ef=Y.icon,eh=void 0===ef?void 0:ef,ep=Y.additionalLinks,em=void 0===ep?[]:ep;return(0,ec.jsxs)(eY,{className:(0,eP.default)(ei,{"md:w-104":"medium"===ea,"md:max-w-xs":"small"===ea,"md:max-w-lg":"large"===ea}),children:[(0,ec.jsx)(eQ,{children:(0,ec.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ec.jsxs)("p",{className:"flex items-center gap-2 text-xl font-medium",children:[null!=eh?eh:"",(0,ec.jsx)(e_.Z,(0,eo._)({},et.name))]}),(0,ec.jsx)("p",{className:"text-base font-light text-token-text-tertiary",children:(0,ec.jsx)(e_.Z,(0,eo._)({},et.costInDollars))})]})}),(0,ec.jsx)(eQ,{children:en}),(0,ec.jsxs)(eX,{children:[ed&&(0,ec.jsx)(eQ,{children:(0,ec.jsx)("p",{className:"text-l font-medium",children:(0,ec.jsx)(e_.Z,(0,eo._)({},et.forLine))})}),et.advertisedFeatures.map(function(Y,et){return(0,ec.jsx)(eJ,{children:(0,ec.jsxs)("div",{className:"text-l flex justify-start gap-2",children:[(0,ec.jsx)("div",{className:"w-8 flex-shrink-0",children:(0,ec.jsx)(ew.UgA,{className:"mr-2 mt-1 h-4 w-4"})}),(0,ec.jsx)("span",{children:(0,ec.jsx)(e_.Z,(0,eo._)({},Y))})]})},et)})]}),et.disclaimer&&(0,ec.jsx)(e0,{children:(0,ec.jsx)(e_.Z,(0,eo._)({},et.disclaimer))}),em.length>0&&(0,ec.jsx)(e0,{children:em.map(function(Y,et){return(0,ec.jsx)("div",{children:Y},et)})})]})},e5=en(96237),e4=en(19253),e3=(0,eE.vU)({plusWaitlistSignupSuccess:{id:"pricingPlanConstants.plusWaitlistSignupSuccess",defaultMessage:"You've been added to the waitlist to upgrade to Plus",description:"Plus waitlist signup success message"},teamWaitlistSignupSuccess:{id:"pricingPlanConstants.teamWaitlistSignupSuccess",defaultMessage:"You've been added to the waitlist to upgrade to Team",description:"Team waitlist signup success message"}}),e6=(ei={},(0,e5._)(ei,eM.D8.PLUS,{localStorageKey:e4.F.HasSignedUpForPlusUpgradeWaitlist,onSuccessMessage:e3.plusWaitlistSignupSuccess}),(0,e5._)(ei,eM.D8.TEAM,{localStorageKey:e4.F.HasSignedUpForTeamUpgradeWaitlist,onSuccessMessage:e3.teamWaitlistSignupSuccess}),ei),e7=function(Y){var et=(0,eU.Z)(),en=e6[Y],ei=en.localStorageKey,eo=en.onSuccessMessage,ea=(0,eu._)((0,ek.useState)(!!e4.m.getItem(ei)),2),ec=ea[0],ed=ea[1];return{hasSignedUpForWaitlist:ec,signUpForWaitlist:function(){ed(!0),e4.m.setItem(ei,!0),eB.m.success(et.formatMessage(eo),{hasCloseButton:!0,duration:5}),eh.A.logEvent(ep.M.upgradePlanWaitlistSignup,{plan:Y})}}},e8=function(Y){var et=Y.togglePlanLoading,en=Y.isPlanLoading,ei=Y.size,ea=(0,ef.hz)(),ed=(0,eu._)((0,ek.useState)(!1),2),em=ed[0],eb=ed[1],ew=(0,eU.Z)(),eE=(0,ey.useRouter)(),eC=[],eT=(0,ef.YD)(),eP=(0,ef.KQ)(),eI=(0,ef.WY)(),eN=(0,ef.e2)(),eH=e7(eM.D8.PLUS),eG=eH.hasSignedUpForWaitlist,eV=eH.signUpForWaitlist,eW=ea.has("disable_plus_upgrade_ui")&&!eP&&!eI,eZ=function(){var Y=(0,eL._)(function(){var Y,en;return(0,eR.Jh)(this,function(ei){switch(ei.label){case 0:et(),eb(!0),eh.A.logEvent(ep.M.clickAccountPaymentCheckout),ei.label=1;case 1:return ei.trys.push([1,3,4,5]),[4,ez.ZP.getCheckoutLink()];case 2:return Y=ei.sent(),eE.push(Y.url),[3,5];case 3:return en=ei.sent(),eB.m.warning(ew.formatMessage(tt.paymentErrorWarning),{hasCloseButton:!0}),[3,5];case 4:return et(),eb(!1),[7];case 5:return[2]}})});return function(){return Y.apply(this,arguments)}}(),eK=function(){var Y=(0,eL._)(function(){var Y,en;return(0,eR.Jh)(this,function(ei){switch(ei.label){case 0:et(),eb(!0),eh.A.logEvent(ep.M.clickAccountCustomerPortal),ei.label=1;case 1:return ei.trys.push([1,3,4,5]),[4,ez.ZP.fetchCustomerPortalUrl()];case 2:return Y=ei.sent(),eE.push(Y.url),[3,5];case 3:return en=ei.sent(),eB.m.warning(ew.formatMessage(tt.accountErrorWarning),{hasCloseButton:!0}),[3,5];case 4:return et(),eb(!1),[7];case 5:return[2]}})});return function(){return Y.apply(this,arguments)}}(),e$=function(){eh.A.logEvent(ep.M.clickAccountManageIos)},eY=function(){eh.A.logEvent(ep.M.clickAccountManageAndroid)};return eI&&(null==eN?void 0:eN.purchase_origin_platform)==eS._4.MOBILE_IOS&&eC.push((0,ec.jsx)(eg(),{href:eS.m1,target:"_blank",onClick:e$,className:"px-2 underline",children:ew.formatMessage(eA.S.manageSubscriptionIos.callToAction)},"row-plus-plan-manage-ios")),eI&&(null==eN?void 0:eN.purchase_origin_platform)===eS._4.MOBILE_ANDROID&&eC.push((0,ec.jsx)(eg(),{href:eS.Zr,target:"_blank",onClick:eY,children:ew.formatMessage(eA.S.manageSubscriptionAndroid.callToAction)},"row-plus-plan-manage-android")),((null==eN?void 0:eN.purchase_origin_platform)===eS._4.WEBAPP||(null==eN?void 0:eN.purchase_origin_platform)===eS._4.GRANTED)&&eT&&eC.push((0,ec.jsx)(eg(),{href:"#",onClick:eK,className:"px-2 underline",children:(0,ec.jsx)(e_.Z,(0,eo._)({},eA.S.manageSubscriptionWeb.callToAction))},"row-plus-plan-help-link")),eP&&eC.push((0,ec.jsx)(eg(),{target:"_blank",href:eS.ti,onClick:ej,className:"px-2 underline",children:(0,ec.jsx)(e_.Z,(0,eo._)({},tt.billingHelp))},"row-plus-plan-help-link")),(0,ec.jsx)(e9,{pricingPlan:eA.S.plus,icon:(0,ec.jsx)(eF.k4,{className:"icon-md text-green-600"}),showForLine:!eI,size:ei,callToActionButton:eW?(0,ec.jsx)("div",{className:"relative w-full",children:(0,ec.jsx)(eD.u,{side:"bottom",sideOffset:20,label:ew.formatMessage(eA.S.disabledHighDemand.hoverText),children:(0,ec.jsx)(eO,{planType:eM.D8.PLUS,disabled:eG,onClick:eV,isCurrentPlan:eI,children:(0,ec.jsx)(e_.Z,(0,eo._)({},eG?eA.S.signUpForWaitlist.inactive:eA.S.signUpForWaitlist.active))})})}):(0,ec.jsx)(eO,{planType:eM.D8.PLUS,isCurrentPlan:eI,disabled:eI||en||em,onClick:eZ,children:eI?ew.formatMessage(eA.S.plus.callToAction.active):ew.formatMessage(eA.S.plus.callToAction.inactive)}),additionalLinks:eC})},tt=(0,eE.vU)({haveExistingPlan:{id:"AccountPaymentModel.haveExistingPlan",description:"Have an existing plan question message",defaultMessage:"Have an existing plan?"},billingHelp:{id:"AccountPaymentModel.billingHelp",description:"Need help with billing message",defaultMessage:"I need help with a billing issue"},paymentErrorWarning:{id:"AccountPaymentModal.paymentErrorWarning",description:"Error toast when payment page has an error",defaultMessage:"The payments page encountered an error. Please try again. If the problem continues, please visit help.openai.com."},accountErrorWarning:{id:"AccountPaymentModal.accountErrorWarning",description:"Error toast when account page has an error",defaultMessage:"The account management page encountered an error. Please try again. If the problem continues, please visit help.openai.com."}}),ta=en(59904),tu=function(Y){var et=Y.togglePlanLoading,en=Y.isPlanLoading,ei=Y.onSubmit,ea=Y.size,eu=(0,ef.N$)().has("disable_team_upgrade_ui"),ed=(0,eU.Z)(),eh=e7(eM.D8.TEAM),ep=eh.hasSignedUpForWaitlist,em=eh.signUpForWaitlist,eg=(0,ef.ec)(ef.F_.isTeamPlan);return(0,ec.jsx)(e9,{pricingPlan:eA.S.teams,icon:(0,ec.jsx)(ta.Bj,{className:"icon-md text-brand-blue-800"}),size:ea,callToActionButton:(0,ec.jsxs)("div",{className:"flex gap-2",children:[eg&&(0,ec.jsx)(eO,{planType:eM.D8.TEAM,isCurrentPlan:!0,disabled:en,onClick:function(){et(),ei&&ei(),et()},children:ed.formatMessage(eA.S.teams.callToAction.active)}),eu?(0,ec.jsx)("div",{className:"relative w-full",children:(0,ec.jsx)(eD.u,{side:"bottom",sideOffset:20,label:ed.formatMessage(eA.S.disabledHighDemand.hoverText),children:(0,ec.jsx)(eO,{planType:eM.D8.TEAM,isCurrentPlan:!1,disabled:ep,onClick:em,children:(0,ec.jsx)(e_.Z,(0,eo._)({},ep?eA.S.signUpForWaitlist.inactive:eA.S.signUpForWaitlist.active))})})}):(0,ec.jsx)(eO,{planType:eM.D8.TEAM,isCurrentPlan:!1,disabled:en,onClick:function(){et(),ei&&ei(),et()},children:eg?ed.formatMessage(eA.S.teams.callToAction.create):ed.formatMessage(eA.S.teams.callToAction.inactive)})]})})};function tc(){var Y=eb().asPath.split("#");eb().push(Y[0]+"#pricing")}function td(){var Y=eb().asPath.split("#");eb().push(Y[0])}function tf(Y){var et,en=Y.overrideIsOpen,ei=(0,eu._)((0,ek.useState)(!1),2),em=ei[0],eb=ei[1],eE=(0,eu._)((0,ek.useState)(null!=en&&en),2),eT=eE[0],eA=eE[1],eM=(0,ef.ec)(function(Y){return Y.subscriptionStatus}),eP=null!==(et=(0,ey.useRouter)().asPath)&&void 0!==et?et:"/";(0,ek.useEffect)(function(){void 0===en&&("pricing"===eP.split("#")[1]&&null!==eM?eA(!0):eA(!1))},[eP,eM,en]);var ej=(0,ek.useCallback)(function(){eb(function(Y){return!Y})},[]),eO=(0,ef.hz)(),eN=function(){eh.A.logEvent(ep.M.closeAccountPaymentModal),td()},eL=eO.has("chatgpt_team_plan"),eR=!(0,ef.WY)(),eD=(0,ef.ec)(ef.F_.isTeamPlan);return(0,ec.jsxs)(eC.x,{isOpen:eT,onClose:eN,children:[(0,ec.jsxs)("div",{className:"flex w-full flex-row items-center justify-between border-b border-token-border-light bg-token-surface-secondary px-8 py-6 ",children:[(0,ec.jsx)("span",{className:"text-xl font-medium",children:(0,ec.jsx)(e_.Z,(0,eo._)({},th.modalTitle))}),(0,ec.jsx)("button",{className:"text-token-text-primary opacity-50 transition hover:opacity-75",onClick:function(){eN()},children:(0,ec.jsx)(ew.q5L,{className:"h-5 w-5"})})]}),(0,ec.jsxs)("div",{className:"flex flex-col md:flex-row",children:[eR&&(0,ec.jsx)(eI,{}),!eD&&(0,ec.jsx)(e8,{togglePlanLoading:ej,isPlanLoading:em,size:eR||eL?"small":"medium"}),eL&&(0,ec.jsx)(tu,{togglePlanLoading:ej,onSubmit:function(){ed.vm.openModal(ed.B.CreateWorkspace),td()},isPlanLoading:em,size:eD?"large":"small"})]}),(0,ec.jsx)("div",{className:"flex w-full items-center justify-center border-t border-token-border-light bg-token-surface-secondary px-8 py-6",children:(0,ec.jsx)("div",{className:"text-sm text-token-text-primary sm:flex sm:items-center",children:(0,ec.jsx)(e_.Z,(0,ea._)((0,eo._)({},th.modalFooterCapabilities),{values:{link:function(Y){return(0,ec.jsx)(eg(),{target:"_blank",href:eS.B2,onClick:function(){eh.A.logEvent(ep.M.clickSeeEnterpriseLink)},className:"mx-1 font-semibold underline",children:Y})}}}))})})]})}var th=(0,eE.vU)({modalTitle:{id:"AccountPaymentModal.modalTitle",description:"Title for the payment page modal",defaultMessage:"Upgrade your plan"},modalFooterCapabilities:{id:"AccountPaymentModal.modalFooterCapabilities",description:"Text for the footer of the pricing modal",defaultMessage:"Need more capabilities? See <link> ChatGPT Enterprise </link>"}})},48558:function(Y,et,en){"use strict";en.d(et,{B2:function(){return eo},D7:function(){return ed},Zr:function(){return eu},_4:function(){return ec},m1:function(){return ea},ti:function(){return ei}});var ei="https://help.openai.com/en/collections/3943089-billing",eo="https://openai.com/enterprise",ea="https://help.openai.com/en/articles/7905690-how-do-i-cancel-my-apple-subscription-for-chatgpt-plus-in-the-chatgpt-ios-app",eu="https://help.openai.com/en/articles/8258076-how-to-cancel-my-plus-subscription-in-the-chatgpt-android-app",ec={WEBAPP:"chatgpt_web",MOBILE_IOS:"chatgpt_mobile_ios",MOBILE_ANDROID:"chatgpt_mobile_android",GRANTED:"chatgpt_gratis_recepient",NOT_PURCHASED:"chatgpt_not_purchased"},ed={ALREADY_PAID:"User is already paid"}},2954:function(Y,et,en){"use strict";en.d(et,{S:function(){return eo}});var ei=(0,en(94968).vU)({freeName:{id:"pricingPlanConstants.free.name",defaultMessage:"Free",description:"Name of the free pricing plan"},freeCTA:{id:"pricingPlanConstants.free.callToAction",defaultMessage:"Your current plan",description:"Call to action for free plan"},freeForLine:{id:"pricingPlanConstants.free.freePlanForLine",description:"Free plan subtitle message",defaultMessage:"For people just getting started with ChatGPT"},freeCost:{id:"pricingPlanConstants.free.costInDollars",defaultMessage:"USD $0/month",description:"Cost for free plan"},freeAccess:{id:"pricingPlanConstants.free.demandAccess",defaultMessage:"Access to our GPT-3.5 model",description:"Access rights for free plan"},freeSpeed:{id:"pricingPlanConstants.free.responseSpeed",defaultMessage:"Standard response speed",description:"Response speed for free plan"},freeFeatures:{id:"pricingPlanConstants.free.modelFeatures",defaultMessage:"Regular model updates",description:"Model features for free plan"},freeAdvertisedFeatures0:{id:"pricingPlanConstants.free.freeAdvertisedFeatures0",description:"Free plan feature message",defaultMessage:"Unlimited messages, interactions, and history"},freeAdvertisedFeatures1:{id:"pricingPlanConstants.free.freeAdvertisedFeatures1",description:"Free plan feature message",defaultMessage:"Access to our GPT-3.5 model"},freeAdvertisedFeatures2:{id:"pricingPlanConstants.free.freeAdvertisedFeatures2",description:"Free plan feature message",defaultMessage:"Access on Web, iOS, and Android"},plusName:{id:"pricingPlanConstants.plus.name",defaultMessage:"Plus",description:"Name of the ChatGPT Plus pricing plan"},plusForLine:{id:"pricingPlanConstants.plus.forLine",description:"Plus plan for line",defaultMessage:"Everything in Free, and:"},plusActive:{id:"pricingPlanConstants.plus.callToAction.active",defaultMessage:"Your current plan",description:"Active call to action for plus plan"},plusInactive:{id:"pricingPlanConstants.plus.callToAction.inactivePayment",defaultMessage:"Upgrade to Plus",description:"Inactive payment call to action for plus plan"},plusCost:{id:"pricingPlanConstants.plus.costInDollars",defaultMessage:"USD $20/month",description:"Cost for plus plan"},plusAccess:{id:"pricingPlanConstants.plus.demandAccess",defaultMessage:"Access to GPT-4, our most capable model",description:"Access rights for plus plan"},plusSpeed:{id:"pricingPlanConstants.plus.responseSpeed",defaultMessage:"Faster response speed",description:"Response speed for plus plan"},plusFeatures:{id:"pricingPlanConstants.plus.modelFeatures",defaultMessage:"Access to beta features like browsing, plugins, and advanced data analysis",description:"Model features for plus plan"},plusAdvertisedFeatures0:{id:"pricingPlanConstants.plus.plusAdvertisedFeatures0",description:"Plus plan feature message",defaultMessage:"Access to GPT-4, our most capable model"},plusAdvertisedFeatures1:{id:"pricingPlanConstants.plus.plusAdvertisedFeatures1",description:"Plus plan feature message",defaultMessage:"Browse, create, and use GPTs"},plusAdvertisedFeatures2:{id:"pricingPlanConstants.plus.plusAdvertisedFeatures2",description:"Plus plan feature message",defaultMessage:"Access to additional tools like DALL\xb7E, Browsing, Advanced Data Analysis and more"},manageSubscriptionWeb:{id:"pricingPlanConstants.manageSubscriptionWeb.callToAction",defaultMessage:"Manage my subscription",description:"Web subscription management"},manageSubscriptionIos:{id:"pricingPlanConstants.manageSubscriptionIos.callToAction",defaultMessage:"Manage my subscription in the ChatGPT iOS app",description:"iOS subscription management"},manageSubscriptionAndroid:{id:"pricingPlanConstants.manageSubscriptionAndroid.callToAction",defaultMessage:"Manage my subscription in the ChatGPT Android app",description:"Android subscription management"},getHelp:{id:"pricingPlanConstants.getHelp.callToAction",defaultMessage:"I need help with a billing issue",description:"Help for billing issues"},business:{id:"pricingPlanConstants.business.callToAction",defaultMessage:"Buy for my team",description:"Business purchase call to action"},teamPlanName:{id:"pricingPlanConstants.teams.teamPlanName",description:"Team plan title message",defaultMessage:"Team"},teamPlanInactive:{id:"pricingPlanConstants.teams.teamPlanInactive",description:"Upgrade to team message",defaultMessage:"Upgrade to Team"},teamPlanActive:{id:"pricingPlanConstants.teams.teamPlanActive",description:"Upgrade to team message",defaultMessage:"Your current plan"},teamPlanCreate:{id:"pricingPlanConstants.teams.teamPlanCreate",description:"Create a team message",defaultMessage:"Create Team"},teamPlanForLine:{id:"pricingPlanConstants.teams.teamPlanForLine",description:"Team plan subtitle message",defaultMessage:"Everything in Plus, and:"},teamPlanCost:{id:"pricingPlanConstants.teams.teamPlanSubTitle",description:"Team plan subtitle message",defaultMessage:"USD $25 per person/month*"},teamPlanSpeed:{id:"pricingPlanConstants.teams.teamPlanUsageRates",description:"Team plan feature message",defaultMessage:"Unlimited high-speed GPT-4"},teamPlanContext:{id:"pricingPlanConstants.teams.teamPlanContext",description:"Team plan feature message",defaultMessage:"4x longer context lets you work with larger material"},teamsAdvertisedFeatures0:{id:"pricingPlanConstants.teams.teamsAdvertisedFeatures0",description:"Team plan feature message",defaultMessage:"Expanded access to GPT-4 and tools like DALL\xb7E, Browsing, Advanced Data Analysis, and more"},teamsAdvertisedFeatures1:{id:"pricingPlanConstants.teams.teamsAdvertisedFeatures1",description:"Team plan feature message",defaultMessage:"Create and share GPTs with your workspace"},teamsAdvertisedFeatures2:{id:"pricingPlanConstants.teams.teamsAdvertisedFeatures2",description:"Team plan feature message",defaultMessage:"Admin console for workspace management"},teamsAdvertisedFeatures3:{id:"pricingPlanConstants.teams.teamsAdvertisedFeatures3",description:"Team plan feature message",defaultMessage:"No training on your data"},teamPricingDisclaimer:{id:"pricingPlanConstants.teams.teamPricingDisclaimer",description:"Team plan disclaimer message",defaultMessage:"* Price billed annually, minimum 2 users"},highDemandDisabledText:{id:"pricingPlanConstants.highDemandDisabledText",description:"Message shown when demand is too high and payments are disabled",defaultMessage:"Due to high demand, we've temporarily paused upgrades."},signUpForWaitlistActive:{id:"pricingPlanConstants.signUpForWaitlistActive",defaultMessage:"Sign up for waitlist",description:"Sign up for waitlist call to action"},signUpForWaitlistInactive:{id:"pricingPlanConstants.signUpForWaitlistInactive",defaultMessage:"Signed up for waitlist",description:"Signed up for waitlist call to action"}}),eo={free:{name:ei.freeName,callToAction:{active:ei.freeCTA,create:ei.freeCTA,inactive:ei.freeCTA},forLine:ei.freeForLine,costInDollars:ei.freeCost,demandAccess:ei.freeAccess,responseSpeed:ei.freeSpeed,modelFeatures:ei.freeFeatures,advertisedFeatures:[ei.freeAdvertisedFeatures0,ei.freeAdvertisedFeatures1,ei.freeAdvertisedFeatures2]},plus:{name:ei.plusName,callToAction:{active:ei.plusActive,create:ei.plusActive,inactive:ei.plusInactive},forLine:ei.plusForLine,costInDollars:ei.plusCost,demandAccess:ei.plusAccess,responseSpeed:ei.plusSpeed,modelFeatures:ei.plusFeatures,advertisedFeatures:[ei.plusAdvertisedFeatures0,ei.plusAdvertisedFeatures1,ei.plusAdvertisedFeatures2]},teams:{name:ei.teamPlanName,callToAction:{active:ei.teamPlanActive,inactive:ei.teamPlanInactive,create:ei.teamPlanCreate},forLine:ei.teamPlanForLine,costInDollars:ei.teamPlanCost,responseSpeed:ei.teamPlanSpeed,demandAccess:ei.teamPlanSpeed,modelFeatures:ei.teamPlanContext,advertisedFeatures:[ei.teamsAdvertisedFeatures0,ei.teamsAdvertisedFeatures1,ei.teamsAdvertisedFeatures2,ei.teamsAdvertisedFeatures3],disclaimer:ei.teamPricingDisclaimer},manageSubscriptionWeb:{callToAction:ei.manageSubscriptionWeb},manageSubscriptionIos:{callToAction:ei.manageSubscriptionIos},manageSubscriptionAndroid:{callToAction:ei.manageSubscriptionAndroid},getHelp:{callToAction:ei.getHelp},business:{callToAction:ei.business},disabledHighDemand:{hoverText:ei.highDemandDisabledText},signUpForWaitlist:{active:ei.signUpForWaitlistActive,create:ei.signUpForWaitlistActive,inactive:ei.signUpForWaitlistInactive}}},29450:function(Y,et,en){"use strict";en.d(et,{ZR:function(){return ni},u5:function(){return ei},oC:function(){return t5},ZP:function(){return tQ},Fr:function(){return tY}});var ei,eo=en(39324),ea=en(71209),eu=en(10064),ec=en(4337),ed=en(35250),ef=en(5053),eh=en(21722),ep=en(38104),em=en(48133),eg=en(64898),ey=en(42798),eb=en(86646),ek=en(61236),ew=en(21988),e_=en.n(ew),eE=en(32004),eC=en(70671),eT=en(94968),eS={src:"https://cdn.oaistatic.com/_next/static/media/google.59aca9c8.png",height:64,width:64,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAABB0lEQVR42mPQnO7ByMDAwKA00UWIr94iVr7BPHbebA0hkNi+JcqMDAaL/ZlBHMdVwSsZOp3/T5ik/f/vPsaVILFXWwVZGEDAfFmIi/nKkP9SCwN+Pdss/uv/Pqb/33ZyOjPAgMmKwJNWKwL/M6wIqv9/gKHh5x6+/7/3sp9gAAGjxcllxstC/1ssC33G0L9K4P2GaQK/dzI8/7WT+f/PrXxlDIrlB3sl8w//N6178N6n9etdhrbfd5dW7Hv/MYLh/+sMhx4GBoYHnKrZ9y47Nn/579T6+b9D65f/rk0f/58LaL78n4GBgwEEPPo/izm1fbJwaPls6N7yydCu46sFw7T/YgwMDAwAC2ltiLgWzMkAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},eA=en(7171),eM={src:"https://cdn.oaistatic.com/_next/static/media/microsoft.d0833d34.png",height:64,width:64,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA+klEQVR42mOAgdyUnTp2Kfu3OtVcWeTWe0sMJOY85RYjiGaa2fKqtixj/x+95J3/3Tpu/3ed/eCdx+pniQwgkFd9u6il4fH/nPR9/1WTtmz2nPrgoPvaV/+99n74773vjQtDdM2d9tTau/9zKq5PhFnn1bRrt9f+F/997v6PYrCrvtnhXXv7f0jdvY0gyY4pL1iLTaZcjUic9d9n1YVoBs2qG0VK5Zf+M2Qd/J+de2jr3IITx5sSt/zPcZ35P0680QXoiDtMPgVH62ZWX/61uvb6/6k5h//XRa17mxM4P5EBGVya/EV3TuHJbR1J2xcXBy8RB4m15e1iBAD9h3dbttzIewAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8};function eP(){return(0,ek.a)({queryKey:["connectors/check"],queryFn:(0,eh._)(function(){return(0,ep.Jh)(this,function(Y){switch(Y.label){case 0:return[4,eb.ZP.checkConnectorAPI()];case 1:return[2,Y.sent()]}})})})}function ej(){var Y=eP(),et=Y.data;return Y.isLoading?(0,ed.jsx)("div",{className:"flex justify-center",children:(0,ed.jsx)(ey.Z,{})}):void 0===et?(0,ed.jsx)(eA.Z,{type:"info",children:(0,ed.jsx)(eE.Z,(0,eo._)({},eI.noConnectorSettings))}):(0,ed.jsx)(eO,{data:et})}function eO(Y){var et=Y.data,en=(0,eC.Z)(),ei=et.connectors.find(function(Y){return Y.type===ef.PO.GDRIVE}),ea=et.connectors.find(function(Y){return Y.type===ef.PO.O365});return(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(ni,{children:(0,ed.jsx)("div",{className:"my-2",children:(0,ed.jsx)(eE.Z,(0,eo._)({},eI.connectorsTitle))})}),ei&&(0,ed.jsx)(ni,{children:(0,ed.jsxs)("div",{className:"my-4 flex flex-row space-x-2",children:[(0,ed.jsxs)("div",{className:"space-y-2",children:[(0,ed.jsxs)("div",{className:"flex flex-row space-x-2",children:[(0,ed.jsx)(e_(),{className:"icon-lg flex-shrink-0",src:eS,alt:en.formatMessage(eI.googleDriveIconAlt)}),(0,ed.jsx)("span",{children:ei.name})]}),(0,ed.jsx)("div",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},eI.googleDriveDesc))})]}),(0,ed.jsx)("div",{className:"flex-grow-0",children:(0,ed.jsx)(em.z,{onClick:function(){(0,eg.doOauthRedirect)({id:ei.id},"#settings/ConnectorSettings")},color:"neutral",children:(0,ed.jsx)(eE.Z,(0,eo._)({},eI.connect))})})]})}),ea&&(0,ed.jsx)(ni,{children:(0,ed.jsxs)("div",{className:"my-4 flex flex-row space-x-2",children:[(0,ed.jsxs)("div",{className:"space-y-2",children:[(0,ed.jsxs)("div",{className:"flex flex-row space-x-2",children:[(0,ed.jsx)(e_(),{className:"icon-lg flex-shrink-0",src:eM,alt:en.formatMessage(eI.o365IconAlt)}),(0,ed.jsx)("span",{children:ea.name})]}),(0,ed.jsx)("div",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},eI.o365Desc))})]}),(0,ed.jsx)("div",{className:"flex-shrink-0",children:(0,ed.jsx)(em.z,{onClick:function(){(0,eg.doOauthRedirect)({id:ea.id},"#settings/ConnectorSettings")},color:"neutral",children:(0,ed.jsx)(eE.Z,(0,eo._)({},eI.connect))})})]})})]})}var eI=(0,eT.vU)({connectorsTitle:{id:"connectorSettings.connectorsTitle",defaultMessage:"Connect apps to access their information in ChatGPT.",description:"Title row for the connected apps settings tab"},googleDriveDesc:{id:"connectorSettings.googleDriveDesc",defaultMessage:"Attach Google Docs, Sheets, and Slides to your messages or add them as context to your conversations.",description:"Description for the Google Drive connected app"},o365Desc:{id:"connectorSettings.o365Desc",defaultMessage:"Attach Microsoft Word, Excel, and Powerpoint files to your messages or add them as context to your conversations.",description:"Description for the Microsoft 365 connected app"},googleDriveIconAlt:{id:"connectorSettings.googleDriveIconAlt",defaultMessage:"Icon for Google Drive",description:"Alt text for the Google Drive icon"},o365IconAlt:{id:"connectorSettings.o365IconAlt",defaultMessage:"Icon for Microsoft 365",description:"Alt text for the Microsoft 365 icon"},connect:{id:"connectorSettings.connect",defaultMessage:"Connect",description:"Label for the button to connect an app"},noConnectorSettings:{id:"connectorSettings.noConnectorSettings",defaultMessage:"Unable to get connected apps",description:"Text when there are no connected apps available"}}),eN=en(73780),eL=en(35265),eR=en(23234),eD=en(62682),eF=en(72871),eB=en(55548),ez=en(17944),eU=en(25687),eH=en(77117),eG=en(1491),eV=en(94486),eW=en(65374),eZ=en(25494),eK=en(4536),e$=en(19841),eY=en(91530),eQ=en.n(eY),eX=en(77997),eJ=en(10721),e0=en(70079),e9=en(1454),e5=en(21389),e4=en(61888),e3=en(94705),e6=en(7184),e7=en(72290),e8=en(10663),tt=en(21682);function ta(){var Y=(0,ec._)(["flex gap-4 border-t last:border-b border-black/10 dark:border-white/10 py-4 mt-4 text-token-text-secondary"]);return ta=function(){return Y},Y}function tu(){var Y=(0,ec._)(["flex gap-2 flex-col "]);return tu=function(){return Y},Y}function tc(){var Y=(0,ec._)(["font-semibold text-sm text-token-text-primary"]);return tc=function(){return Y},Y}function td(){var Y=(0,ec._)(["text-xs"]);return td=function(){return Y},Y}function tf(Y){var et=Y.onClose,en=Y.serverPrimedAllowBrowserStorageValue,ei=Y.canManageBrowserStorage,eu=(0,eC.Z)(),ec=(0,tt.fv)({serverPrimedAllowBrowserStorageValue:en,enabled:ei}),ef=(0,tt.CX)();return(0,ed.jsx)(e6.Z,{type:"success",isOpen:!0,onClose:et,title:eu.formatMessage(tv.title),closeButton:(0,ed.jsx)(e3.ZP.CloseButton,{onClose:et}),children:(0,ed.jsxs)("div",{className:"text-sm text-token-text-secondary",children:[(0,ed.jsx)(eE.Z,(0,ea._)((0,eo._)({},tv.description),{values:{cookiePolicy:function(Y){return(0,ed.jsx)("a",{className:"underline",href:"https://openai.com/policies/privacy-policy",children:Y})}}})),(0,ed.jsxs)(th,{children:[(0,ed.jsxs)(tp,{children:[(0,ed.jsx)(tm,{children:eu.formatMessage(tv.preference1title)}),(0,ed.jsx)(tg,{children:eu.formatMessage(tv.preference1desc)})]}),(0,ed.jsx)(e8.Z,{onChange:e4.noop,enabled:!0,disabled:!0,label:eu.formatMessage(tv.preference1toggle)})]}),(0,ed.jsxs)(th,{children:[(0,ed.jsxs)(tp,{children:[(0,ed.jsx)(tm,{children:eu.formatMessage(tv.preference2title)}),(0,ed.jsx)(tg,{children:eu.formatMessage(tv.preference2desc)})]}),(0,ed.jsx)(e8.Z,{onChange:function(Y){ef.mutateAsync({analytics_cookies_accepted:Y},{onSuccess:function(){e7.m.success(eu.formatMessage(tv.updateSuccess))},onError:function(){e7.m.danger(eu.formatMessage(tv.updateFailure))}})},enabled:ec,label:eu.formatMessage(tv.preference2toggle)})]}),(0,ed.jsxs)("div",{className:"flex justify-end gap-3 border-t border-black/10 pt-4 dark:border-white/10",children:[(0,ed.jsx)(em.z,{color:"neutral",onClick:function(){ef.mutateAsync({analytics_cookies_accepted:!1},{onSuccess:function(){e7.m.success(eu.formatMessage(tv.updateSuccess))},onError:function(){e7.m.danger(eu.formatMessage(tv.updateFailure))}})},children:(0,ed.jsx)(eE.Z,(0,eo._)({},tv.reject))}),(0,ed.jsx)(em.z,{color:"neutral",onClick:function(){ef.mutateAsync({analytics_cookies_accepted:!0},{onSuccess:function(){e7.m.success(eu.formatMessage(tv.updateSuccess))},onError:function(){e7.m.danger(eu.formatMessage(tv.updateFailure))}})},children:(0,ed.jsx)(eE.Z,(0,eo._)({},tv.accept))})]})]})})}var th=e5.Z.div(ta()),tp=e5.Z.div(tu()),tm=e5.Z.p(tc()),tg=e5.Z.p(td()),tv=(0,eT.vU)({title:{id:"ManageCookiesModal.title",defaultMessage:"Manage cookies",description:"Manage cookie preferences modal title"},description:{id:"ManageCookiesModal.description",defaultMessage:"OpenAI uses cookies to improve your experience and analyze site traffic. For more information, read our <cookiePolicy>cookie policy</cookiePolicy>.",description:"Reasons why openai uses cookies and how they use them"},preference1title:{id:"ManageCookiesModal.preference1title",defaultMessage:"Essential",description:"Title of essential cookies form field"},preference1desc:{id:"ManageCookiesModal.preference1desc",defaultMessage:"Cookies that are necessary to operate the service, such as logging you in and keeping your account secure.",description:"Essential cookies description"},preference1toggle:{id:"ManageCookiesModal.preference1toggle",defaultMessage:"Allow essential cookies",description:"Essential cookies toggle label"},preference2title:{id:"ManageCookiesModal.preference2title",defaultMessage:"Analytics",description:"Title of analytics cookies form field"},preference2desc:{id:"ManageCookiesModal.preference2desc",defaultMessage:"Cookies that are necessary are used by OpenAI and our partners to help us understand how our websites are used in order to improve our services.",description:"Analytics cookies description"},preference2toggle:{id:"ManageCookiesModal.preference2toggle",defaultMessage:"Allow analytics cookies",description:"Analytics cookies toggle label"},reject:{id:"ManageCookiesModal.reject",defaultMessage:"Reject all",description:"Reject all cookies button label"},accept:{id:"ManageCookiesModal.accept",defaultMessage:"Accept all",description:"Accept all cookies button label"},updateSuccess:{id:"ManageCookiesModal.updateSuccess",defaultMessage:"Your cookie preferences were updated successfully",description:"Success toast message for updating cookie preferences"},updateFailure:{id:"ManageCookiesModal.updateFailure",defaultMessage:"Unable to update cookie preferences. Try again later.",description:"Failure toast message for updating cookie preferences"}}),tb=en(62470),tk=en(15635),tw=en(37736),t_=en(25653),tE=en(89319),tC=en(15725),tT=en(10989),tS=en(48558),tA=en(47428),tM=en(82473),tP=en(18481),tj=en(40558),tO=["sharedConversations"],tI=(0,eT.vU)({name:{id:"sharedConversationModal.name",defaultMessage:"Name",description:"Table column header"},dateShared:{id:"sharedConversationModal.dateShared",defaultMessage:"Date shared",description:"Table column header"},loading:{id:"sharedConversationModal.loading",defaultMessage:"Loading...",description:"Loading message"},somethingWentWrong:{id:"sharedConversationModal.somethingWentWrong",defaultMessage:"Something went wrong...",description:"Error message"},retry:{id:"sharedConversationModal.retry",defaultMessage:"Retry",description:"Retry button text"},noSharedConversations:{id:"sharedConversationModal.noSharedConversations",defaultMessage:"You have no shared links.",description:"No shared links message"},title:{id:"sharedConversationModal.title",defaultMessage:"Shared Links",description:"Shared links modal title"},goToOriginConversation:{id:"sharedConversationModal.goToOriginConversation",defaultMessage:"View source chat",description:"Label for conversation icon"},deleteSharedLink:{id:"sharedConversationModal.deleteSharedLink",defaultMessage:"Delete shared link",description:"Label for delete shared link icon"},deleteSharedLinkFailed:{id:"sharedConversationModal.deleteSharedLinkFailed",defaultMessage:"Deleting shared link failed",description:"Toaster message when deleting share link fails"},deleteAllSharedLinks:{id:"sharedConversationModal.deleteSharedAllConversations",defaultMessage:"Delete all shared links",description:"Menu item for deleting all shared links"},deleteAllSharedLinksConfirm:{id:"sharedConversationModal.deleteSharedAllConversationsConfirm",defaultMessage:"Are you sure you want to delete all your shared links?",description:"Confirmation message for deleting share links"},deleteAllSharedLinksFailed:{id:"sharedConversationModal.deleteSharedAllConversationsFailed",defaultMessage:"Deleting shared links failed",description:"Toaster message when deleting all share links fails"}});function tN(){var Y=(0,tM.NL)(),et=(0,eC.Z)(),en=(0,eZ.D)({mutationFn:function(){return eb.ZP.deleteAllSharedConversations()},onSettled:function(){Y.invalidateQueries({queryKey:tO})},onError:function(){e7.m.danger(et.formatMessage(tI.deleteAllSharedLinksFailed))}}).mutate;return(0,ed.jsxs)(tA.fC,{children:[(0,ed.jsx)(tA.xz,{asChild:!0,children:(0,ed.jsx)("button",{className:"text-gray-500 hover:text-gray-600 radix-state-open:text-gray-600 dark:hover:text-gray-400 dark:radix-state-open:text-gray-400",children:(0,ed.jsx)(e9.K9M,{className:"icon-sm"})})}),(0,ed.jsx)(tA.Uv,{children:(0,ed.jsx)(tA.VY,{className:"min-w-[8rem] rounded-md bg-white py-1 shadow-lg dark:bg-gray-800",side:"bottom",sideOffset:4,children:(0,ed.jsx)(tA.ck,{onClick:function(){window.confirm(et.formatMessage(tI.deleteAllSharedLinksConfirm))&&en()},className:"cursor-pointer select-none px-2 py-1 text-red-500 radix-highlighted:bg-gray-50 dark:radix-highlighted:bg-gray-700",children:(0,ed.jsx)(eE.Z,(0,eo._)({},tI.deleteAllSharedLinks))})})})]})}function tL(){return eb.ZP.getSharedConversations()}function tR(){return(0,ek.a)({queryKey:tO,queryFn:tL,refetchOnMount:"always"})}function tD(Y){var et=Y.sharedConversation,en=(0,eC.Z)(),ei=(0,tM.NL)(),eo=(0,eZ.D)({mutationFn:function(){var Y=(0,eh._)(function(Y){var et;return(0,ep.Jh)(this,function(en){return et=Y.sharedConversationId,[2,eb.ZP.deleteShareLink({share_id:et})]})});return function(et){return Y.apply(this,arguments)}}(),onSettled:function(){ei.invalidateQueries({queryKey:tO})},onError:function(){e7.m.danger(en.formatMessage(tI.deleteSharedLinkFailed))}}),ea=eo.mutate,eu=eo.isPending,ec=null!=et.workspace_id?"/share/e/".concat(et.id):"/share/".concat(et.id);return(0,ed.jsxs)(tj.Z.Row,{disabled:eu,children:[(0,ed.jsx)(tj.Z.Cell,{children:(0,ed.jsxs)("a",{href:ec,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-2 align-top text-blue-500 dark:text-blue-400",children:[(0,ed.jsx)(e9.XKb,{className:"icon-sm flex-shrink-0"}),et.title]})}),(0,ed.jsx)(tj.Z.Cell,{children:null!=et.create_time?(0,ed.jsx)(eT.Ji,{value:et.create_time,month:"long",year:"numeric",day:"numeric"}):null}),(0,ed.jsx)(tj.Z.Cell,{children:(0,ed.jsxs)(tj.Z.Actions,{children:[(0,ed.jsx)(tk.u,{label:en.formatMessage(tI.goToOriginConversation),sideOffset:4,side:"top",children:(0,ed.jsx)("a",{href:(0,tP.ZV)(et.conversation_id),target:"_blank",rel:"noreferrer","aria-label":en.formatMessage(tI.goToOriginConversation),className:"cursor-pointer text-gray-500 hover:text-gray-600 dark:hover:text-gray-400",children:(0,ed.jsx)(e9.IC0,{className:"icon-sm"})})}),(0,ed.jsx)(tk.u,{label:en.formatMessage(tI.deleteSharedLink),sideOffset:4,side:"top",children:(0,ed.jsx)("button",{onClick:function(){ea({sharedConversationId:et.id})},"aria-label":en.formatMessage(tI.deleteSharedLink),className:"text-gray-500 hover:text-gray-600 dark:hover:text-gray-400",children:(0,ed.jsx)(e9.Ybf,{className:"icon-sm"})})})]})})]})}function tF(Y){var et,en=Y.onClose,ei=tR(),ea=ei.data,eu=ei.isLoading,ec=ei.isError,ef=ei.refetch,eh=(0,eC.Z)();return et=eu?(0,ed.jsx)("div",{className:"pb-8 text-gray-400 dark:text-gray-600",children:(0,ed.jsx)(eE.Z,(0,eo._)({},tI.loading))}):ec?(0,ed.jsxs)("div",{children:[(0,ed.jsx)("div",{className:"mb-4 text-red-500",children:(0,ed.jsx)(eE.Z,(0,eo._)({},tI.somethingWentWrong))}),(0,ed.jsx)("div",{children:(0,ed.jsx)(em.z,{color:"neutral",onClick:function(){ef()},children:(0,ed.jsx)(eE.Z,(0,eo._)({},tI.retry))})})]}):(null==ea?void 0:ea.total)===0?(0,ed.jsx)("div",{className:"pb-8 text-gray-600 dark:text-gray-400",children:(0,ed.jsx)(eE.Z,(0,eo._)({},tI.noSharedConversations))}):(0,ed.jsxs)(tj.Z.Root,{className:"max-h-[28rem]",size:"compact",children:[(0,ed.jsxs)(tj.Z.Header,{children:[(0,ed.jsx)(tj.Z.HeaderCell,{children:(0,ed.jsx)(eE.Z,(0,eo._)({},tI.name))}),(0,ed.jsx)(tj.Z.HeaderCell,{children:(0,ed.jsx)(eE.Z,(0,eo._)({},tI.dateShared))}),(0,ed.jsx)(tj.Z.HeaderCell,{textAlign:"right",children:(0,ed.jsx)(tN,{})})]}),(0,ed.jsx)(tj.Z.Body,{children:null==ea?void 0:ea.items.map(function(Y){return(0,ed.jsx)(tD,{sharedConversation:Y},Y.id)})})]}),(0,ed.jsx)(e6.Z,{isOpen:!0,onClose:en,size:"custom",className:"max-w-5xl",type:"success",title:eh.formatMessage(tI.title),closeButton:(0,ed.jsx)(e3.ZP.CloseButton,{onClose:en}),children:et})}var tB=en(25913),tU=en(88769),tH=en(11547);function tG(Y){var et=Y.onClose,en=Y.onConfirm,ei=(0,eC.Z)();return(0,ed.jsx)(e6.Z,{isOpen:!0,onClose:et,type:"success",title:ei.formatMessage(tq.resetModalTitle),description:ei.formatMessage(tq.resetModalDescription),primaryButton:(0,ed.jsx)(e3.ZP.Button,{title:ei.formatMessage(tq.resetModalConfirm),color:"primary",onClick:en}),secondaryButton:(0,ed.jsx)(e3.ZP.Button,{title:ei.formatMessage(tq.resetModalCancel),color:"neutral",onClick:et})})}function tV(Y){var et=Y.children;return(0,ed.jsxs)("li",{children:["“",et,"”"]})}function tW(){var Y=(0,eu._)((0,e0.useState)(!1),2),et=Y[0],en=Y[1],ei=(0,eC.Z)(),ec=(0,eJ.useRouter)(),ef=(0,tU.Fl)(),eg=ef.sunshine,ek=ef.isLoading,ew=(0,tH.Xu)(!0),e_=ew.isLoading,eT=ew.data,eS=function(){var Y=(0,eh._)(function(){return(0,ep.Jh)(this,function(Y){switch(Y.label){case 0:return[4,eb.ZP.clearUserMemory()];case 1:return Y.sent(),en(!1),[2]}})});return function(){return Y.apply(this,arguments)}}(),eA=function(){ec.replace("/",void 0,{shallow:!0})};return ek||e_?(0,ed.jsx)("div",{className:"flex justify-center",children:(0,ed.jsx)(ey.Z,{})}):(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(ni,{children:(0,ed.jsx)("button",{className:"w-full",onClick:function(){return eB.vm.openModal(eB.B.UserContext)},children:(0,ed.jsxs)("div",{className:"flex items-center justify-between",children:[(0,ed.jsx)("div",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},tq.customInstructions))}),(0,ed.jsxs)("div",{className:"flex items-center text-token-text-secondary",children:[(0,ed.jsx)("div",{className:"mr-1 mt-[-2px]",children:(null==eT?void 0:eT.enabled)?ei.formatMessage(tq.on):ei.formatMessage(tq.off)}),(0,ed.jsx)(t_.XC,{})]})]})})}),(0,ed.jsxs)(ni,{children:[(0,ed.jsx)(t5,{label:ei.formatMessage(tq.toggleLabel),enabled:eg,onChange:function(){var Y=(0,eh._)(function(Y){return(0,ep.Jh)(this,function(et){switch(et.label){case 0:return[4,tU.mK.updateSetting(tU.PG.SUNSHINE,Y)];case 1:return et.sent(),[2]}})});return function(et){return Y.apply(this,arguments)}}()}),(0,ed.jsxs)("div",{className:"mt-4 text-xs text-token-text-secondary",children:[(0,ed.jsx)("p",{children:(0,ed.jsx)(eE.Z,(0,ea._)((0,eo._)({},tq.exampleDescription1),{values:{link:function(Y){return(0,ed.jsx)("a",{href:"https://help.openai.com/en/articles/8590148-memory-in-chatgpt-faq",target:"_blank",className:"underline",rel:"noreferrer",children:Y})}}}))}),(0,ed.jsx)("p",{className:"mt-3",children:(0,ed.jsx)(eE.Z,(0,eo._)({},tq.exampleDescription2))}),(0,ed.jsxs)("ul",{className:"my-2 flex list-disc flex-col gap-1 pl-5",children:[(0,ed.jsx)(tV,{children:(0,ed.jsx)(eE.Z,(0,eo._)({},tq.exampleMessage1))}),(0,ed.jsx)(tV,{children:(0,ed.jsx)(eE.Z,(0,eo._)({},tq.exampleMessage2))}),(0,ed.jsx)(tV,{children:(0,ed.jsx)(eE.Z,(0,eo._)({},tq.exampleMessage3))})]})]})]}),(0,ed.jsx)(ni,{children:(0,ed.jsxs)("div",{className:"mt-2 flex gap-3",children:[(0,ed.jsx)(em.z,{className:"flex-1",color:"danger-outline",onClick:function(){return en(!0)},children:(0,ed.jsx)(eE.Z,(0,eo._)({},tq.reset))}),(0,ed.jsx)(em.z,{className:"flex-1",color:"primary",onClick:eA,children:(0,ed.jsx)(eE.Z,(0,eo._)({},tq.tryItOut))})]})}),et&&(0,ed.jsx)(tG,{onClose:function(){return en(!1)},onConfirm:eS})]})}var tq=(0,eT.vU)({toggleLabel:{id:"settingsModal.myChagtGptToggleLabel",defaultMessage:"Improve responses with your chats",description:"Label for the chat history toggle."},exampleDescription1:{id:"settingsModal.exampleDescription1",defaultMessage:"Your primary GPT will continually improve as you chat, picking up on details and preferences to tailor its responses to you. <link>Learn more</link>",description:"Description line 1 for the MyChatgpt example"},exampleDescription2:{id:"settingsModal.exampleDescription2",defaultMessage:"To modify what your GPT knows or teach it something new, just tell it:",description:"Description line 2 for the MyChatgpt example"},exampleMessage1:{id:"settingsModal.exampleMessage1",defaultMessage:"What do you know about me?",description:"Message 1 for the MyChatgpt example"},exampleMessage2:{id:"settingsModal.exampleMessage2",defaultMessage:"Where did we leave off on my last project?",description:"Message 2 for the MyChatgpt example"},exampleMessage3:{id:"settingsModal.exampleMessage3",defaultMessage:"Forget about my travel plans.",description:"Message 3 for the MyChatgpt example"},tryItOut:{id:"settingsModal.tryItOut",defaultMessage:"Message ChatGPT",description:"Placeholder text in the MyChatgpt example button"},reset:{id:"settingsModal.reset",defaultMessage:"Reset",description:"Label for the Reset button in MyChatGPT"},resetModalTitle:{id:"settingsModal.resetModalTitle",defaultMessage:"Are you sure?",description:"Title for the reset memory modal"},resetModalDescription:{id:"settingsModal.resetModalDescription",defaultMessage:"Your primary GPT will forget what it has learned from your previous chats. This can't be undone.",description:"Description for the reset memory modal"},resetModalConfirm:{id:"settingsModal.resetModalConfirm",defaultMessage:"Confirm reset",description:"Confirm button for the reset memory modal"},resetModalCancel:{id:"settingsModal.resetModalCancel",defaultMessage:"Cancel",description:"Cancel button for the reset memory modal"},on:{id:"personalizationSettings.on",defaultMessage:"On",description:"On"},off:{id:"personalizationSettings.off",defaultMessage:"Off",description:"Off"},customInstructions:{id:"personalizationSettings.customInstructions",defaultMessage:"Custom instructions",description:"Custom instructions settings label"}});function tZ(){var Y=(0,ec._)(["text-xs text-token-text-secondary pr-12"]);return tZ=function(){return Y},Y}function tK(){var Y=(0,ec._)(["block text-sm font-medium mb-1"]);return tK=function(){return Y},Y}function t$(Y){var et;return null!==(et=null==Y?void 0:Y.startsWith("settings"))&&void 0!==et&&et}function tY(){var Y,et=(0,eJ.useRouter)(),en=et.asPath.split("#"),eo=(0,eK.kP)().session,ea=null!==(Y=(null==eo?void 0:eo.user)&&t$(en[1]))&&void 0!==Y&&Y,eu=ea?en[1].split("/")[1]:void 0;return{openSettings:function(Y){var en=et.asPath.split("#"),ei=Y?"settings/".concat(Y):"settings";et.push(en[0]+"#"+ei)},closeSettings:function(){et.push(en[0])},isOpen:ea,currentTab:Object.values(ei).includes(eu)?eu:ei.General}}function tQ(Y){var et=Y.canManageBrowserStorage,en=Y.serverPrimedAllowBrowserStorageValue;return tY().isOpen?(0,ed.jsx)(tX,{canManageBrowserStorage:et,serverPrimedAllowBrowserStorageValue:en}):null}!function(Y){Y.General="General",Y.BetaFeatures="BetaFeatures",Y.DataControls="DataControls",Y.Personalization="Personalization",Y.BuilderProfile="BuilderProfile",Y.ConnectorSettings="ConnectorSettings"}(ei||(ei={}));var tX=function(Y){var et=Y.canManageBrowserStorage,en=Y.serverPrimedAllowBrowserStorageValue,ec=(0,eC.Z)(),ef=(0,eG.w$)(),eh=(0,eJ.useRouter)(),ep=(0,e0.useContext)(tC.RD),em=ep.locale,eg=ep.isBetaEligible,ey=tY(),ek=ey.closeSettings,ew=ey.currentTab,e_=ey.openSettings,eT=(0,tB.LC)(),eS=(0,eu._)((0,e0.useState)(!1),2),eA=eS[0],eM=eS[1],eP=(0,eu._)((0,e0.useState)(!1),2),eO=eP[0],eI=eP[1],eZ=(0,eu._)((0,e0.useState)(!1),2),eY=eZ[0],eX=eZ[1],e9=(0,eu._)((0,e0.useState)(!1),2),e5=e9[0],e4=e9[1],e7=(0,e0.useContext)(eU.QL),e8=e7.historyDisabled,tt=e7.toggleHistoryDisabled,ta=e7.unsetModifiedSettings,tu=(0,eV.S)(),tc=tu.setupMfa,td=tu.isUsernamePassword,th=tu.removeMfa,tp=(0,eR.Og)(),tm=(0,tB.iF)(),tg=(0,tT.OS)(function(Y){return Y.isOpen}),tv=(0,ez.hz)(),tb=(0,ez.ec)(ez.F_.isBusinessWorkspace),tk=(0,eF.H)().isSunshineAvailable,tE=(0,eN.C)(eD.L0.WorkspaceShareLinks),tS=(0,ez.ec)(ez.F_.isTeamPlan),tA=(0,eB.EV)(eB.B.CookieManagement),tM=(0,eK.kP)().session,tP=(0,eF.H)(),tj=tP.isBetaFeaturesUiEnabled,tO=tP.isPluginsAvailable,tI=tP.isBrowsingAvailable,tN=tP.isAdvancedDataAnalysisAvailable,tL=(0,eR.Ml)(),tR=tI||tO||tN,tD=(0,e0.useCallback)(function(){eM(!1)},[]),tU=(0,e0.useCallback)(function(){eI(!1)},[]),tH=(0,e0.useCallback)(function(){eX(!1)},[]),tG=(0,e0.useCallback)(function(){eM(!0)},[]),tV=(0,e0.useCallback)(function(){eI(!0)},[]),tq=(0,e0.useCallback)(function(){eX(!0)},[]),tZ=(0,e0.useCallback)(function(){tt(),eh.push("/",void 0,{shallow:!0})},[eh,tt]),tK=function(){eb.ZP.deleteConversations().then(function(){tm()}),"/"!==eh.asPath&&eh.replace({pathname:"/"},void 0,{shallow:!0})},t$=function(){ek(),ta()};if(eA)return(0,ed.jsx)(t8,{onClose:tD});if(eO)return(0,ed.jsx)(t7,{onClose:tU,onDeleteHistory:tK});if(eY)return(0,ed.jsx)(na,{onClose:tH});if(e5)return(0,ed.jsx)(tF,{onClose:function(){e4(!1)}});if(tA)return(0,ed.jsx)(tf,{canManageBrowserStorage:et,serverPrimedAllowBrowserStorageValue:en,onClose:function(){eB.vm.closeModal(eB.B.CookieManagement)}});var tQ,tX,t9=eg||em!==eH.ZW;return(0,ed.jsx)(e6.Z,{isOpen:!0,onClose:t$,size:"custom",className:"md:max-w-[680px]",type:"success",title:ec.formatMessage(nd.settings),closeButton:(0,ed.jsx)(e3.ZP.CloseButton,{onClose:t$}),noPadding:!0,children:(0,ed.jsxs)(eW.fC,{className:"flex flex-col gap-6 md:flex-row",defaultValue:ew,orientation:ef?"vertical":void 0,onValueChange:function(Y){e_(Y)},children:[(0,ed.jsxs)(eW.aV,{className:(0,e$.default)("m-2 md:m-0 md:px-4 md:pl-6 md:pt-4","flex flex-shrink-0 md:-ml-[8px] md:min-w-[180px]",ef?"max-w-[200px] flex-col gap-2":"flex-row overflow-x-auto rounded-lg bg-gray-100 p-1 dark:bg-gray-800/30"),children:[(0,ed.jsx)(nt,{value:ei.General,icon:(0,ed.jsx)(eL.RR,{className:"icon-sm"}),label:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.generalTab))}),tk&&(0,ed.jsx)(nt,{value:ei.Personalization,icon:(0,ed.jsx)(t_.Ih,{className:"icon-sm"}),label:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.personalizationTab))}),!tb&&tj&&tR&&(0,ed.jsx)(nt,{value:ei.BetaFeatures,icon:(0,ed.jsx)(eL.Gi,{className:"icon-sm"}),label:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.betaTab))}),(0,ed.jsx)(nt,{value:ei.DataControls,icon:(0,ed.jsx)(eL.gf,{className:"icon-sm"}),label:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.dataControlsTab))}),tp&&(0,ed.jsx)(nt,{value:ei.BuilderProfile,icon:(0,ed.jsx)(eL.Wy,{className:"icon-sm"}),label:(0,ed.jsx)(tw.KO,{})}),tv.has(eD.L0.ContextConnector)&&(0,ed.jsx)(nt,{value:ei.ConnectorSettings,icon:(0,ed.jsx)(eL.hk,{className:"icon-sm"}),label:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.connectorsTab))})]}),(0,ed.jsxs)(nn,{value:ei.General,children:[(0,ed.jsx)(ni,{children:(0,ed.jsx)(t3,{})}),t9&&(0,ed.jsx)(ni,{children:(0,ed.jsx)(t6,{})}),!tb&&tv.has("tools3_dev")&&(0,ed.jsx)(ni,{children:(0,ed.jsx)(t5,{label:ec.formatMessage(nd.openPluginDevtools),enabled:tg,onChange:tT.Ds.setIsOpen})}),(0,ed.jsx)(ni,{children:(0,ed.jsx)(t4,{color:"danger",disabled:!eT,label:ec.formatMessage(nd.clearChatLabel),buttonLabel:ec.formatMessage(nd.clearChatButton),onClick:tV})})]}),!tb&&(0,ed.jsx)(nn,{value:ei.BetaFeatures,children:(0,ed.jsx)(tJ,{})}),(0,ed.jsxs)(nn,{value:ei.DataControls,children:[tb?(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(ni,{children:(0,ed.jsx)(t5,{label:ec.formatMessage(nd.chatHistoryLabel),enabled:!e8,onChange:tZ,description:(0,ed.jsx)(eE.Z,(0,ea._)((0,eo._)({},nd.chatHistoryOnlyDescription),{values:{link:function(Y){return(0,ed.jsx)("a",{href:"https://help.openai.com/en/articles/7730893 ",target:"_blank",className:"underline",rel:"noreferrer",children:Y})}}}))})}),(0,ed.jsx)(ni,{children:(0,ed.jsx)(t5,{label:ec.formatMessage(nd.chatTrainingLabel),disabled:!0,enabled:!1,onChange:eQ(),description:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.chatTrainingEnterpriseDescription)),toggleTooltip:(0,ed.jsx)(eE.Z,(0,eo._)({},tS?nd.chatTrainingTeamsTooltip:nd.chatTrainingEnterpriseTooltip))})})]}):(0,ed.jsx)(ni,{children:(0,ed.jsx)(t5,{label:ec.formatMessage(nd.chatHistoryToggleLabel),enabled:!e8,onChange:tZ,description:(0,ed.jsx)(eE.Z,(0,ea._)((0,eo._)({},nd.chatHistoryDescription),{values:{link:function(Y){return(0,ed.jsx)("a",{href:"https://help.openai.com/en/articles/7730893 ",target:"_blank",className:"underline",rel:"noreferrer",children:Y})}}}))})}),tE&&(0,ed.jsx)(ni,{children:(0,ed.jsx)(t4,{label:ec.formatMessage(nd.sharedConversations),buttonLabel:ec.formatMessage(nd.sharedConversationsButton),onClick:function(){e4(!0)}})}),et&&(0,ed.jsx)(ni,{children:(0,ed.jsx)(t4,{label:ec.formatMessage(nd.cookieManagement),buttonLabel:ec.formatMessage(nd.cookieManagementButton),onClick:function(){eB.vm.openModal(eB.B.CookieManagement)}})}),!tb&&(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(ni,{children:(0,ed.jsx)(t4,{label:ec.formatMessage(nd.exportData),buttonLabel:ec.formatMessage(nd.exportButton),onClick:tG})}),(0,ed.jsx)(ni,{children:(0,ed.jsx)(t4,{label:ec.formatMessage(nd.deleteAccount),buttonLabel:ec.formatMessage(nd.deleteAccountButton),color:"danger",onClick:tq})})]}),tv.has(eD.i)&&!(null==tM?void 0:null===(tQ=tM.user)||void 0===tQ?void 0:tQ.mfa)&&td&&(0,ed.jsx)(ni,{children:(0,ed.jsx)(t4,{label:ec.formatMessage(nd.enable2fa),buttonLabel:ec.formatMessage(nd.enable),onClick:tc})}),(null==tM?void 0:null===(tX=tM.user)||void 0===tX?void 0:tX.mfa)&&td&&(0,ed.jsx)(ni,{children:(0,ed.jsx)(t4,{label:ec.formatMessage(nd.disable2fa),buttonLabel:ec.formatMessage(nd.disable),onClick:th,color:"danger"})})]}),tk&&(0,ed.jsx)(nn,{value:ei.Personalization,children:(0,ed.jsx)(tW,{})}),tL&&(0,ed.jsx)(nn,{value:ei.BuilderProfile,children:(0,ed.jsx)(tw.rM,{})}),tv.has(eD.L0.ContextConnector)&&(0,ed.jsx)(nn,{value:ei.ConnectorSettings,children:(0,ed.jsx)(ej,{})})]})})};function tJ(){var Y=(0,eC.Z)(),et=(0,eF.N2)(),en=(0,eF.H)(),ei=en.isPluginsAvailable,ea=en.isPluginsEnabled,eu=en.isAdvancedDataAnalysisAvailable,ec=en.isAdvancedDataAnalysisEnabled,eh=(0,eZ.D)({mutationFn:function(Y){var et=Y.feature,en=Y.enabled;return eb.ZP.setUserSettingsBetaFeature(et,en)},onSettled:et,onError:function(){e7.m.danger(Y.formatMessage(nd.betaSettingsUpdateFailed))}}),ep=eh.isPending,em=eh.variables,eg=eh.mutate,ey=ep&&(null==em?void 0:em.feature)===ef.tr.CODE_INTERPRETER,ek=ep&&(null==em?void 0:em.feature)===ef.tr.PLUGINS;return(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(ni,{children:(0,ed.jsx)("p",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.betaIntro))})}),ei&&(0,ed.jsx)(ni,{children:(0,ed.jsx)(t5,{label:Y.formatMessage(nd.betaPluginToggleLabel),disabled:ek,enabled:ek?null==em?void 0:em.enabled:ea,onChange:function(Y){eg({feature:ef.tr.PLUGINS,enabled:Y})},description:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.betaPluginToggleDescription))})}),eu&&(0,ed.jsx)(ni,{children:(0,ed.jsx)(t5,{label:Y.formatMessage(nd.betaAdvancedDataAnalysisToggleLabel),disabled:ey,enabled:ey?null==em?void 0:em.enabled:ec,onChange:function(Y){eg({feature:ef.tr.CODE_INTERPRETER,enabled:Y})},description:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.betaAdvancedDataAnalysisToggleDescription))})})]})}var t9=e5.Z.div(tZ());function t5(Y){var et=Y.label,en=Y.disabled,ei=Y.enabled,eo=Y.onChange,ea=Y.description,eu=Y.toggleTooltip,ec=(0,ed.jsx)(e8.Z,{disabled:en,enabled:ei,onChange:eo,label:et,withLockIcon:en,size:"normal"});return null!=eu&&(ec=(0,ed.jsx)(tk.u,{label:eu,side:"top",sideOffset:4,children:ec})),(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsxs)("div",{className:"flex items-center justify-between",children:[(0,ed.jsx)("div",{children:et}),ec]}),null!=ea&&(0,ed.jsx)(t9,{children:ea})]})}function t4(Y){var et=Y.color,en=void 0===et?"neutral":et,ei=Y.disabled,eo=Y.label,ea=Y.buttonLabel,eu=Y.onClick;return(0,ed.jsxs)("div",{className:"flex items-center justify-between",children:[(0,ed.jsx)("div",{children:eo}),(0,ed.jsx)(em.z,{color:en,disabled:!!ei,onClick:eu,children:ea})]})}function t3(){var Y=(0,eX.F)(),et=Y.theme,en=Y.setTheme;return(0,ed.jsxs)("div",{className:"flex items-center justify-between",children:[(0,ed.jsx)("div",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.theme))}),(0,ed.jsxs)(tb.Z.Root,{value:et,onValueChange:function(Y){return en(Y)},children:[(0,ed.jsxs)(tb.Z.Trigger,{children:[(0,ed.jsx)(tb.Z.Value,{}),(0,ed.jsx)(tb.Z.Icon,{})]}),(0,ed.jsx)(tb.Z.Portal,{children:(0,ed.jsxs)(tb.Z.Content,{children:[(0,ed.jsx)(tb.Z.Item,{value:"system",children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.system))}),(0,ed.jsx)(tb.Z.Item,{value:"dark",children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.dark))}),(0,ed.jsx)(tb.Z.Item,{value:"light",children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.light))})]})})]})]})}function t6(){var Y=(0,tC.bU)().setLocale,et=(0,ez.aF)(),en=null!=et&&(0,eK.yl)(et),ei=(0,tC.F4)(en),ea=(0,e0.useMemo)(function(){return eH.Yr.filter(function(Y){return eH.u9.includes(Y)||en})},[en]);return(0,ed.jsxs)("div",{className:"flex items-center justify-between",children:[(0,ed.jsx)("div",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.locale))}),(0,ed.jsxs)(tb.Z.Root,{value:null!=ei?ei:"auto",onValueChange:function(et){return"auto"==et?Y(null):Y(et)},children:[(0,ed.jsxs)(tb.Z.Trigger,{children:[(0,ed.jsx)(tb.Z.Value,{}),(0,ed.jsx)(tb.Z.Icon,{})]}),(0,ed.jsx)(tb.Z.Portal,{children:(0,ed.jsxs)(tb.Z.Content,{children:[(0,ed.jsx)(tb.Z.Item,{value:"auto",children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.localeAuto))}),ea.map(function(Y){return(0,ed.jsx)(tb.Z.Item,{value:Y,children:Y},Y)})]})})]})]})}function t7(Y){var et=Y.onClose,en=Y.onDeleteHistory,ei=(0,eC.Z)();return(0,ed.jsx)(e6.Z,{isOpen:!0,onClose:et,type:"success",title:ei.formatMessage(nd.deleteHistoryModalTitle),primaryButton:(0,ed.jsx)(e3.ZP.Button,{title:ei.formatMessage(nd.deleteHistoryModalConfirm),color:"primary",onClick:function(){en(),et()}}),secondaryButton:(0,ed.jsx)(e3.ZP.Button,{title:ei.formatMessage(nd.deleteHistoryModalCancel),color:"neutral",onClick:et})})}function t8(Y){var et=Y.onClose,en=(0,eC.Z)(),ei=(0,e0.useCallback)(function(){try{eb.ZP.submitDataExport().then(function(){e7.m.success(en.formatMessage(nd.dataExportRequested)),et()})}catch(Y){e7.m.warning(en.formatMessage(nd.dataExportFailed),{hasCloseButton:!0})}},[en,et]);return(0,ed.jsx)(e6.Z,{isOpen:!0,onClose:et,type:"success",title:en.formatMessage(nd.dataExportModalTitle),primaryButton:(0,ed.jsx)(e3.ZP.Button,{title:en.formatMessage(nd.dataExportModalConfirm),color:"primary",onClick:ei}),secondaryButton:(0,ed.jsx)(e3.ZP.Button,{title:en.formatMessage(nd.dataExportModalCancel),color:"neutral",onClick:et}),children:(0,ed.jsxs)("div",{className:"text-sm",children:[(0,ed.jsxs)("ul",{className:"my-3 flex list-disc flex-col gap-1 pl-3",children:[(0,ed.jsx)("li",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.dataExportModalDescription1))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.dataExportModalDescription2))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.dataExportModalDescription3))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.dataExportModalDescription4))})]}),(0,ed.jsx)("div",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.dataExportModalDescription5))})]})})}function nt(Y){var et=Y.value,en=Y.icon,ei=Y.label,eo=(0,eG.w$)();return(0,ed.jsxs)(eW.xz,{className:(0,e$.default)("group flex items-center justify-start gap-2 rounded-md px-2 py-1.5 text-sm text-token-text-primary radix-state-active:bg-white dark:radix-state-active:bg-token-surface-tertiary md:radix-state-active:bg-token-surface-tertiary md:radix-state-active:text-token-text-primary",{"flex-1 justify-center":!eo}),value:et,children:[en,(0,ed.jsx)("div",{className:"truncate",children:ei})]})}function nn(Y){var et=Y.value,en=Y.children;return(0,ed.jsx)(eW.VY,{className:"max-h-[calc(100vh-150px)] w-full overflow-y-auto p-4 sm:pr-6 md:min-h-[330px] md:pb-0 md:pl-0",value:et,children:(0,ed.jsx)("div",{className:"flex flex-col gap-3 text-sm text-token-text-primary",children:en})})}function ni(Y){var et=Y.children;return(0,ed.jsx)("div",{className:"border-b border-token-border-light pb-3 last-of-type:border-b-0",children:et})}function na(Y){var et=Y.onClose,en=(0,eC.Z)(),ei=(0,eK.kP)().session,ec=(0,ez.aF)(),ef=null==ec?void 0:ec.email,eh=(0,eu._)((0,e0.useState)(""),2),ep=eh[0],eg=eh[1],ey=(0,eu._)((0,e0.useState)(""),2),ek=ey[0],ew=ey[1],e_=(0,e0.useCallback)(function(){var Y,et=600,en=null==ei?void 0:null===(Y=ei.user)||void 0===Y?void 0:Y.iat;return void 0===en||Date.now()/1e3-en<et},[ei]),eT=(0,e0.useCallback)(function(){try{e_()?eb.ZP.deactivateAccount().then(function(){(0,eK.w7)()}):e7.m.warning(en.formatMessage(nd.deleteAccountSessionTooOld),{hasCloseButton:!0})}catch(Y){e7.m.warning(en.formatMessage(nd.deleteAccountFailed),{hasCloseButton:!0})}},[en,e_]),eS=(0,e0.useCallback)(function(){(0,eK.w7)()},[]),eA="DELETE"===ek&&(void 0===ef||ep.toLowerCase()===ef.toLowerCase()),eM=(0,eu._)((0,e0.useState)(function(){return e_()}),1)[0],eP=(0,ez.e2)();return(0,ed.jsx)(e6.Z,{isOpen:!0,onClose:et,type:"success",title:en.formatMessage(nd.deleteAccountTitle),closeButton:(0,ed.jsx)(e3.ZP.CloseButton,{onClose:et}),children:(0,ed.jsxs)("div",{className:"text-sm",children:[(0,ed.jsxs)("ul",{className:"mb-6 mt-4 flex list-disc flex-col gap-1 pl-3",children:[(0,ed.jsx)("li",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.deleteAccountWarning))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.apiAccessDeletionWarning))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.reuseEmailPhoneWarning))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.dataRemovalWarning))}),(null==eP?void 0:eP.purchase_origin_platform)===tS._4.MOBILE_IOS&&(0,ed.jsx)("li",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.iapSubscriptionWarning))}),(null==eP?void 0:eP.purchase_origin_platform)===tS._4.MOBILE_ANDROID&&(0,ed.jsx)("li",{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.playStoreSubscriptionWarning))}),(0,ed.jsx)("li",{children:(0,ed.jsx)(eE.Z,(0,ea._)((0,eo._)({},nd.deleteHelpCenter),{values:{article:function(Y){return(0,ed.jsx)("a",{href:"https://help.openai.com/en/articles/6378407-how-to-delete-your-account",target:"_blank",className:"underline",rel:"noopener noreferrer",children:Y})}}}))})]}),eM?(0,ed.jsxs)(ed.Fragment,{children:[void 0!==ef?(0,ed.jsxs)("div",{className:"mb-4",children:[(0,ed.jsx)(nu,{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.typeEmailLabel))}),(0,ed.jsx)(tE.Z,{value:ep,placeholder:ef,name:"email",onChange:function(Y){eg(Y.target.value)}})]}):null,(0,ed.jsxs)("div",{className:"mb-4",children:[(0,ed.jsx)(nu,{children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.typeDeleteInputLabel))}),(0,ed.jsx)(tE.Z,{value:ek,onChange:function(Y){ew(Y.target.value)},name:"delete",className:"mb-4"})]}),(0,ed.jsx)(em.z,{color:eA?"danger":"disabled",onClick:eT,disabled:!eA,className:"w-full",children:eA?(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(e9.BJv,{className:"icon-sm"})," ",(0,ed.jsx)(eE.Z,(0,eo._)({},nd.deleteAccountButtonLabel))]}):(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)(e9.UIZ,{className:"icon-sm"})," ",(0,ed.jsx)(eE.Z,(0,eo._)({},nd.lockedButtonLabel))]})})]}):(0,ed.jsxs)(ed.Fragment,{children:[(0,ed.jsx)("p",{className:"pb-4 text-xs text-gray-500",children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.recentLoginMessage))}),(0,ed.jsx)(em.z,{color:"primary",onClick:eS,className:"w-full",children:(0,ed.jsx)(eE.Z,(0,eo._)({},nd.refreshLoginButtonLabel))})]})]})})}var nu=e5.Z.label(tK()),nd=(0,eT.vU)({settings:{id:"settingsModal.settings",defaultMessage:"Settings",description:"Title for the settings modal"},theme:{id:"settingsModal.theme",defaultMessage:"Theme",description:"Label for the theme setting"},system:{id:"settingsModal.system",defaultMessage:"System",description:"Option for the system theme"},dark:{id:"settingsModal.dark",defaultMessage:"Dark",description:"Option for the dark theme"},light:{id:"settingsModal.light",defaultMessage:"Light",description:"Option for the light theme"},locale:{id:"settingsModal.locale_alpha",defaultMessage:"Locale (Alpha)",description:"Label for the locale setting"},localeAuto:{id:"settingsModal.localeAuto",defaultMessage:"Auto-detect",description:"Label for the auto-detect locale setting"},localeDev:{id:"settingsModal.localeDev",defaultMessage:"⋆✩★DEV★✩⋆",description:"Label for the dev locale setting"},sharedConversations:{id:"settingsModal.sharedConversations",defaultMessage:"Shared links",description:"Label for the shared chat/link button"},sharedConversationsButton:{id:"settingsModal.sharedConversationsButton",defaultMessage:"Manage",description:"Manage shared links/conversations button"},cookieManagement:{id:"settingsModal.cookieManagement",defaultMessage:"Cookie preferences",description:"Label for the cookie preferences button"},cookieManagementButton:{id:"settingsModal.cookieManagementButton",defaultMessage:"Manage",description:"Manage cookie management button"},exportData:{id:"settingsModal.exportData",defaultMessage:"Export data",description:"Label for the export data button"},exportButton:{id:"settingsModal.exportButton",defaultMessage:"Export",description:"Export data button"},deleteAccount:{id:"settingsModal.deleteAccount",defaultMessage:"Delete account",description:"Label for the delete account button"},deleteAccountButton:{id:"settingsModal.deleteButton",defaultMessage:"Delete",description:"Delete account button"},openPluginDevtools:{id:"settingsModal.openPluginDevtools",defaultMessage:"Open plugin devtools",description:"Label for the open plugin devtools setting"},enable2fa:{id:"settingsModal.enable2fa",defaultMessage:"Enable two-factor authentication",description:"Label for the enable 2FA button"},enable:{id:"settingsModal.enable",defaultMessage:"Enable",description:"Enable 2FA button"},disable:{id:"settingsModal.disable",defaultMessage:"Disable",description:"Disable 2FA button"},disable2fa:{id:"settingsModal.disable2fa",defaultMessage:"Disable two factor authentication",description:"Label for the mfa remove button."},chatHistoryDescription:{id:"settingsModal.chatHistoryDescription",defaultMessage:"Save new chats on this browser to your history and allow them to be used to improve our models. Unsaved chats will be deleted from our systems within 30 days. This setting does not sync across browsers or devices. <link>Learn more</link>",description:"Description for the chat history setting"},deleteHistoryModalTitle:{id:"settingsModal.deleteHistoryModalTitle",defaultMessage:"Clear your conversation history - are you sure?",description:"Title for the delete history modal"},deleteHistoryModalConfirm:{id:"settingsModal.deleteHistoryModalConfirm",defaultMessage:"Confirm deletion",description:"Confirm button for the delete history modal"},deleteHistoryModalCancel:{id:"settingsModal.deleteHistoryModalCancel",defaultMessage:"Cancel",description:"Cancel button for the delete history modal"},dataExportRequested:{id:"settingsModal.dataExportRequested",defaultMessage:"Successfully exported data. You should receive an email shortly with your data.",description:"Message shown when a data export request is received"},dataExportFailed:{id:"settingsModal.dataExportFailed",defaultMessage:"We were unable to process your export at this time. Please try again later.",description:"Message shown when a data export request fails"},dataExportModalTitle:{id:"settingsModal.dataExportModalTitle",defaultMessage:"Request data export - are you sure?",description:"Title for the data export modal"},dataExportModalConfirm:{id:"settingsModal.dataExportModalConfirm",defaultMessage:"Confirm export",description:"Confirm button for the data export modal"},dataExportModalCancel:{id:"settingsModal.dataExportModalCancel",defaultMessage:"Cancel",description:"Cancel button for the data export modal"},dataExportModalDescription1:{id:"settingsModal.dataExportModalDescription1",defaultMessage:"Your account details and conversations will be included in the export.",description:"Description for the data export modal"},dataExportModalDescription2:{id:"settingsModal.dataExportModalDescription2",defaultMessage:"The data will be sent to your registered email in a downloadable file.",description:"Description for the data export modal"},dataExportModalDescription3:{id:"settingsModal.dataExportModalDescription3",defaultMessage:"The download link will expire 24 hours after you receive it.",description:"Description for the data export modal"},dataExportModalDescription4:{id:"settingsModal.dataExportModalDescription4",defaultMessage:"Processing may take some time. You'll be notified when it's ready.",description:"Description for the data export modal"},dataExportModalDescription5:{id:"settingsModal.dataExportModalDescription5",defaultMessage:'To proceed, click "Confirm export" below.',description:"Description for the data export modal"},deleteAccountSessionTooOld:{id:"settingsModal.deleteAccountSessionTooOld",defaultMessage:"Your login session is too old. Please log in again before deleting your account.",description:"Message shown when the user's login session is too old to delete their account."},deleteAccountFailed:{id:"settingsModal.deleteAccountFailed",defaultMessage:"Failed to delete account. Please try again later.",description:"Message shown when there's an error deleting the user's account."},deleteAccountTitle:{id:"settingsModal.deleteAccountTitle",defaultMessage:"Delete account - are you sure?",description:"Title for the delete account confirmation modal."},deleteAccountWarning:{id:"settingsModal.deleteAccountWarning",defaultMessage:"Deleting your account is permanent and cannot be undone.",description:"Warning message about account deletion being permanent."},reuseEmailPhoneWarning:{id:"settingsModal.reuseEmailPhoneWarning-2",defaultMessage:"You cannot create a new account using the same email address.",description:"Warning message about not being able to reuse email for a new account."},dataRemovalWarning:{id:"settingsModal.dataRemovalWarning-2",defaultMessage:"Your data will be deleted within 30 days, except we may retain a limited set of data for longer where required or permitted by law.",description:"Warning message about data removal after account deletion."},apiAccessDeletionWarning:{id:"settingsModal.apiAccessDeletionWarning-2",defaultMessage:"Deletion will prevent you from accessing OpenAI services, including ChatGPT, API, and DALL\xb7E.",description:"Warning message about API access being deleted."},deleteHelpCenter:{id:"settingsModal.deleteHelpCenter",defaultMessage:"Read our <article>help center article</article> for more information.",description:"Line that directs users to the help article for more information."},iapSubscriptionWarning:{id:"settingsModal.iapSubscriptionWarning",defaultMessage:"You will need to cancel your in-app purchase subscription in the Apple App Store. We cannot cancel your subscription for you.",description:"Warning message about cancelling in-app subscriptions."},playStoreSubscriptionWarning:{id:"settingsModal.playStoreSubscriptionWarning",defaultMessage:"You will need to cancel your in-app purchase subscription in the Google Play Store. We cannot cancel your subscription for you.",description:"Warning message about cancelling in-app subscriptions."},typeEmailLabel:{id:"settingsModal.typeEmailLabel",defaultMessage:"Please type your account email.",description:"Label for email input field when deleting an account."},typeDeleteInputLabel:{id:"settingsModal.typeDeleteInputLabel",defaultMessage:'To proceed, type "DELETE" in the input field below.',description:"Label for DELETE input field when deleting an account."},lockedButtonLabel:{id:"settingsModal.lockedButtonLabel",defaultMessage:"Locked",description:"Label for the locked button when deleting an account."},deleteAccountButtonLabel:{id:"settingsModal.deleteAccountButtonLabel",defaultMessage:"Permanently delete my account",description:"Label for the button to confirm account deletion."},recentLoginMessage:{id:"settingsModal.recentLoginMessage",defaultMessage:"You may only delete your account if you have logged in within the last 10 minutes. Please log in again, then return here to continue.",description:"Message shown when the user needs to log in again to delete their account."},refreshLoginButtonLabel:{id:"settingsModal.refreshLoginButtonLabel",defaultMessage:"Refresh login",description:"Label for the button to refresh login."},chatHistoryToggleLabel:{id:"settingsModal.chatHistoryToggleLabel",defaultMessage:"Chat history & training",description:"Label for the chat history toggle."},chatHistoryLabel:{id:"settingsModal.chatHistoryLabel",defaultMessage:"Chat history",description:"Label for the chat history toggle."},chatHistoryOnlyDescription:{id:"settingsModal.chatHistoryOnlyDescription",defaultMessage:"Save new chats on this browser to your history. Unsaved chats will be deleted from our systems within 30 days. This setting does not sync across browsers or devices. <link>Learn more</link>",description:"Description for the chat history setting"},chatTrainingLabel:{id:"settingsModal.chatTrainingLabel",defaultMessage:"Chat training",description:"Label for the chat training toggle."},chatTrainingEnterpriseDescription:{id:"settingsModal.chatTrainingEnterpriseDescription",defaultMessage:"This workspace is private and opted out of training.",description:"Description for the disabled chat training toggle."},chatTrainingEnterpriseTooltip:{id:"settingsModal.chatTrainingEnterpriseTooltip",defaultMessage:"ChatGPT Enterprise automatically disables training.",description:"Tooltip for the disabled chat training toggle."},chatTrainingTeamsTooltip:{id:"settingsModal.chatTrainingEnterpriseTooltip",defaultMessage:"ChatGPT Team automatically disables training.",description:"Tooltip for the disabled chat training toggle."},dataControlsTab:{id:"settingsModal.dataControls",defaultMessage:"Data controls",description:"Label for the data controls tab"},cookiesTab:{id:"settingsModal.cookies",defaultMessage:"Cookie Preferences",description:"Label for the cookies tab"},personalizationTab:{id:"settingsModal.personalization",defaultMessage:"Personalization",description:"Label for the Personalization tab"},betaIntro:{id:"settingsModal.betaIntro",defaultMessage:"As a Plus user, enjoy early access to experimental new features, which may change during development.",description:"Introduction for the beta features tab"},betaSettingsUpdateFailed:{id:"settingsModal.betaSettingsUpdateFailed",defaultMessage:"Failed to update your beta setting",description:"Message shown when there's an error updating beta settings"},betaPluginToggleLabel:{id:"settingsModal.betaPluginToggleLabel",defaultMessage:"Plugins",description:"Label for the Plugins beta toggle."},betaPluginToggleDescription:{id:"settingsModal.betaPluginToggleDescription",defaultMessage:"Try a version of ChatGPT that knows when and how to use third-party plugins that you enable.",description:"Description for the Plugins beta toggle."},betaBrowsingToggleLabel:{id:"settingsModal.betaBrowsingToggleLabel",defaultMessage:"Browse with Bing",description:"Label for the Browse with Bing beta toggle."},betaBrowsingToggleDescription:{id:"settingsModal.betaBrowsingToggleDescription",defaultMessage:"Try a version of ChatGPT that knows when and how to browse the internet to answer questions about recent topics and events.",description:"Description for the Browsing beta toggle."},betaAdvancedDataAnalysisToggleLabel:{id:"settingsModal.betaAdvancedDataAnalysisToggleLabel",defaultMessage:"Advanced data analysis",description:"Label for the Advanced data analysis beta toggle."},betaAdvancedDataAnalysisToggleDescription:{id:"settingsModal.betaAdvancedDataAnalysisToggleDescription",defaultMessage:"Try a version of ChatGPT that knows how to write and execute python code, and can work with file uploads. Try asking for help with data analysis, image conversions, or editing a code file. Note: files will not persist beyond a single session.",description:"Description for the Advanced data analysis beta toggle."},generalTab:{id:"settingsModal.generalTab",defaultMessage:"General",description:"Label for the general tab"},betaTab:{id:"settingsModal.betaTab",defaultMessage:"Beta features",description:"Label for the Beta Features tab"},connectorsTab:{id:"settingsModal.connectorsTab",defaultMessage:"Connected apps",description:"Label for the Connected Apps tab"},clearChatLabel:{id:"settingsModal.clearChatLabel",defaultMessage:"Clear all chats",description:"Label for the clear chat button"},clearChatButton:{id:"settingsModal.clearChatButton",defaultMessage:"Clear",description:"Clear chat button"}})},47478:function(Y,et,en){"use strict";en.d(et,{fv:function(){return eG},ZP:function(){return ez}});var ei=en(39324),eo=en(10064),ea=en(4337),eu=en(35250),ec=en(66638),ed=en(17944),ef=en(86925),eh=en(38574),ep=en(61888),em=en(70079),eg=en(1454),ey=en(32004),eb=en(70671),ek=en(94968),ew=en(21389),e_=en(48133),eE=en(13205),eC=en(13464),eT=en(7184),eS=en(15635),eA=en(98359),eM=en(72555);function eP(Y){var et=Y.children,en=Y.sidebarOpen,ei=Y.onClose;return(0,eu.jsx)(eA.u.Root,{show:en,as:em.Fragment,children:(0,eu.jsxs)(eM.V,{as:"div",className:"relative z-10",onClose:ei,children:[(0,eu.jsx)("div",{className:"fixed inset-0"}),(0,eu.jsx)("div",{className:"fixed inset-0 overflow-hidden",children:(0,eu.jsx)("div",{className:"absolute inset-0 overflow-hidden",children:(0,eu.jsx)("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10",children:(0,eu.jsx)(eA.u.Child,{as:em.Fragment,enter:"transform transition ease-in-out duration-100 sm:duration-300",enterFrom:"translate-x-full",enterTo:"translate-x-0",leave:"transform transition ease-in-out duration-300 sm:duration-500",leaveFrom:"translate-x-0",leaveTo:"translate-x-full",children:(0,eu.jsx)(eM.V.Panel,{className:"pointer-events-auto w-screen max-w-md border-l border-gray-100 dark:border-gray-700",children:(0,eu.jsx)("div",{className:"h-full overflow-y-auto bg-white shadow-xl dark:bg-gray-800",children:et})})})})})})]})})}var ej=en(64502),eO=en(61098),eI=en(19841);function eN(Y){var et=Y.clientThreadId,en=(0,eo._)((0,em.useState)([]),2),ei=en[0],ea=en[1],ed=ec.tQ.getThreadCurrentLeafId(et),eh=ec.tQ.getThreadConversationTurns(et,ed),ep=function(Y){var en=ec.tQ.getTree(et).getLeafFromNode(Y);ec.tQ.setThreadCurrentLeafId(et,en.id)},ey=function(Y){ea(function(Y){return(0,ej._)(Y).concat([ed])}),ep(Y)};return(0,eu.jsxs)(eu.Fragment,{children:[ei.length>0&&(0,eu.jsxs)(e_.z,{className:"absolute left-2 top-2",color:"neutral",onClick:function(){ep(ei[ei.length-1]),ea(function(Y){return Y.slice(0,-1)})},children:[(0,eu.jsx)(eg.lV_,{}),"Go back to ",ei[ei.length-1]]}),(0,eu.jsx)("div",{className:"flex flex-col items-center gap-4 overflow-auto p-4 text-xs",children:eh.map(function(Y,en){var ei=Y.messages[0].nodeId,eo=ec.tQ.getTree(et),ea=0!==en?eo.getParent(ei):null,ed=null!=ea?ea.children.findIndex(function(Y){return ei===Y}):0,eh=null!=ea?ea.children:[],ep=eh.slice(0,ed),em=eh.slice(ed+1),eg="bg-gray-400";switch(Y.role){case eO.uU.User:eg="bg-blue-500";break;case eO.uU.Assistant:eg="bg-gray-600"}return(0,eu.jsxs)("div",{className:(0,eI.default)("relative p-2",eg),children:[(0,eu.jsx)("div",{className:"absolute bottom-0 left-0 -ml-2 flex -translate-x-full gap-2 pl-2",children:ep.map(function(Y){return(0,eu.jsx)(eL,{variantId:Y,onChangeItemInView:ey},Y)})}),(0,eu.jsx)("div",{className:"absolute left-full top-0 ml-2 flex gap-2 pr-2",children:em.map(function(Y){return(0,eu.jsx)(eL,{variantId:Y,onChangeItemInView:ey},Y)})}),(0,eu.jsx)("div",{className:"flex flex-col gap-2",children:Y.messages.map(function(Y){return(0,eu.jsxs)("div",{className:"h-14 w-32 truncate bg-gray-200 p-1 text-black",children:[(0,eu.jsx)("div",{className:"font-semibold",children:Y.nodeId}),(0,eu.jsx)("div",{className:"italic text-gray-600",children:Y.message.author.role}),(0,eu.jsx)("div",{children:(0,ef.RR)(Y.message)})]},Y.nodeId)})})]},en)})})]})}function eL(Y){var et=Y.variantId,en=Y.onChangeItemInView;return(0,eu.jsx)("button",{className:"w-32 truncate bg-gray-400 p-2 text-black opacity-50 hover:opacity-100",onClick:function(){en(et)},children:(0,eu.jsx)("span",{className:"bg-gray-200 p-2",children:et})},et)}var eR=en(94750);function eD(){var Y=(0,ea._)(["overflow-y-auto h-full md:w-[250px] lg:w-[300px] xl:w-[350px] 2xl:w-[400px] md:border-l md:border-gray-100 md:dark:border-gray-700 bg-white dark:bg-gray-900"]);return eD=function(){return Y},Y}function eF(){var Y=(0,ea._)(["whitespace-pre-wrap text-sm"]);return eF=function(){return Y},Y}function eB(){var Y=(0,ea._)(["px-6 py-4 flex flex-col gap-1 hover:bg-gray-50 dark:hover:bg-gray-500/10 cursor-pointer border-b dark:border-white/10 border-gray-200"]);return eB=function(){return Y},Y}function ez(Y){var et=Y.children,en=Y.title,eo=Y.icon,ea=Y.isOpen,ec=Y.slideOver,ed=Y.onClose,ef=(0,eu.jsxs)(eZ,{children:[(0,eu.jsxs)("div",{className:"flex items-start justify-between",children:[(0,eu.jsxs)("div",{className:"flex items-center gap-2 px-4 py-2 text-lg font-medium text-gray-900 dark:text-white",children:[(0,eu.jsx)(eo,{className:"icon-sm"}),en]}),(0,eu.jsx)("div",{className:"mr-2 mt-2 flex h-7 items-center",children:(0,eu.jsxs)("button",{type:"button",onClick:ed,children:[(0,eu.jsx)("span",{className:"sr-only",children:(0,eu.jsx)(ey.Z,(0,ei._)({},eY.closeSidebar))}),(0,eu.jsx)(eg.q5L,{className:"icon-md","aria-hidden":"true"})]})})]}),et]});return ec?(0,eu.jsx)(eP,{sidebarOpen:ea,onClose:ed,children:ef}):ea?ef:null}function eU(Y){var et=Y.messages,en=Y.setDebugMessageIndex,ei=et.map(function(Y,et){var ei=Y.author,eo=ei.role,ea=ei.name,ec=ea&&ea!==eo,ed=(0,ep.get)(Y,"metadata.agent.settings.completion_api.engine"),eh=(0,ep.get)(Y,"metadata.model_experiment_name"),em=(0,ep.get)(Y,"metadata.model_experiment_treatment"),eg=(0,ep.get)(Y,"metadata.normalized_model_side");return(0,eu.jsxs)(e$,{role:"button",onClick:function(){return en(et)},children:[(0,eu.jsxs)("div",{className:"text-xs font-medium uppercase text-gray-400",children:[eo,ec&&" (".concat(ea,")")," -> ",(0,ef.Ej)(Y),(0,eu.jsx)("div",{className:"text-gray-600",children:Y.id})]}),(0,eu.jsx)("div",{className:"line-clamp-6",children:(0,ef.RR)(Y)}),(ed||eh||em||eg)&&(0,eu.jsxs)("div",{className:"mt-1 self-start rounded-xl bg-blue-200 px-3 py-0.5 text-xs text-black",children:[ed&&(0,eu.jsxs)("div",{children:[(0,eu.jsx)("b",{children:"Engine:"})," ",ed]}),eh&&(0,eu.jsxs)("div",{children:[(0,eu.jsx)("b",{children:"Experiment:"})," ",eh]}),em&&(0,eu.jsxs)("div",{children:[(0,eu.jsx)("b",{children:"Treatment:"})," ",em]}),eg&&(0,eu.jsxs)("div",{children:[(0,eu.jsx)("b",{children:"Normalized Side:"})," ",eg]})]})]},Y.id)});return(0,eu.jsx)(eK,{children:ei})}function eH(){var Y=(0,eR.N)();return(0,eu.jsxs)("div",{className:"mt-2 flex flex-col items-center justify-around gap-2 px-4 py-1 text-xs font-medium ",children:[(0,eu.jsx)(eE.Z,{id:"force-paragen",label:"Force Parallel Gen",checked:Y.forceParagen,onChange:function(){eR.N.setState({forceParagen:!Y.forceParagen})}}),(0,eu.jsx)(eE.Z,{id:"force-rate-limit",label:"Force Rate Limit",checked:Y.forceRateLimit,onChange:function(){eR.N.setState({forceRateLimit:!Y.forceRateLimit})}}),(0,eu.jsx)(eS.u,{label:"Enabling this will show debug conversation messages in the chat",children:(0,eu.jsx)(eE.Z,{id:"show-internal-conversation-turns",label:"Conversation debug mode",checked:Y.showDebugConversationTurns,onChange:function(){eR.N.setState({showDebugConversationTurns:!Y.showDebugConversationTurns})}})})]})}function eG(Y){var et=Y.clientThreadId,en=Y.isOpen,ei=Y.slideOver,ea=Y.onClose,ef=(0,eb.Z)(),ep=ec.tQ.getThreadCurrentLeafId(et),ey=(0,ec.u9)(et,ep),ek=(0,eo._)((0,em.useState)(),2),ew=ek[0],e_=ek[1],eE=(0,ed.hz)(),eS=(0,em.useCallback)(function(){e_(void 0)},[]),eA=(0,em.useCallback)(function(){var Y=ec.tQ.getTree(et);(0,eh.S)(Y.getTextFromThread(ep))},[ep,et]),eM=(0,eo._)((0,em.useState)(!1),2),eP=eM[0],ej=eM[1];return eE.has("debug")?(0,eu.jsxs)(ez,{icon:eg.cDN,title:ef.formatMessage(eY.debugTitle),isOpen:en,slideOver:ei,onClose:ea,children:[(0,eu.jsx)("div",{className:"mb-2 flex items-center justify-around px-4 py-1 text-xs font-medium uppercase",children:(0,eu.jsx)(eW,{clientThreadId:et,messages:ey})}),(0,eu.jsxs)("div",{className:"flex items-center justify-around gap-2 px-4 py-1 text-xs font-medium uppercase",children:[(0,eu.jsx)("div",{children:(0,eu.jsx)(eC.Z,{onCopy:eA,buttonText:ef.formatMessage(eY.copyText)})}),(0,eu.jsxs)("button",{className:"flex items-center justify-center gap-2",onClick:function(){return ej(!0)},children:[(0,eu.jsx)(eg.PMT,{className:"icon-sm rotate-90"}),"View tree"]})]}),(0,eu.jsx)(eH,{}),(0,eu.jsx)(eU,{messages:ey,setDebugMessageIndex:e_}),void 0!==ew&&(0,eu.jsx)(eT.Z,{isOpen:!0,onClose:eS,type:"success",children:(0,eu.jsx)("pre",{className:"max-h-[80vh] overflow-auto whitespace-pre-wrap text-xs",children:JSON.stringify(ey[ew],null,2)})},"DebugMessageModal-".concat(ew)),eP&&(0,eu.jsx)(eT.Z,{isOpen:!0,onClose:function(){return ej(!1)},type:"success",size:"fullscreen",children:(0,eu.jsx)(eN,{clientThreadId:et})},"DebugTreeViewer")]}):null}function eV(Y,et){var en=JSON.stringify({conversation_id:ec.tQ.getServerThreadId(Y),messages:et},null,2),ei=new Blob([en],{type:"application/json"}),eo=URL.createObjectURL(ei),ea=document.createElement("a");ea.href=eo,ea.download="messages-".concat(ec.tQ.getServerThreadId(Y),".json"),ea.click(),URL.revokeObjectURL(eo)}function eW(Y){var et=Y.clientThreadId,en=Y.messages,eo=(0,em.useCallback)(function(){eV(et,en)},[et,en]);return(0,eu.jsxs)(e_.z,{onClick:eo,color:"dark",size:"small",children:[(0,eu.jsx)(eg._hL,{className:"icon-sm"}),(0,eu.jsx)(ey.Z,(0,ei._)({},eY.downloadRawConversation))]})}var eZ=ew.Z.div(eD()),eK=ew.Z.pre(eF()),e$=ew.Z.div(eB()),eY=(0,ek.vU)({debugTitle:{id:"DebugSidebar.debugTitle",description:"Title of the Debug sidebar",defaultMessage:"Debug"},copyText:{id:"DebugSidebar.copyText",description:"Button text to copy the content to clipboard",defaultMessage:"Copy text"},downloadRawConversation:{id:"DebugSidebar.downloadRawConversation",description:"Button text to download raw conversation",defaultMessage:"Download raw conversation"},closeSidebar:{id:"DebugSidebar.closeSidebar",description:"Aria-label for the close sidebar button",defaultMessage:"Close sidebar"}})},94750:function(Y,et,en){"use strict";en.d(et,{N:function(){return ei}});var ei=(0,en(78103).ZP)(function(){return{forceParagen:!1,forceRateLimit:!1,showDebugConversationTurns:!1}})},72290:function(Y,et,en){"use strict";en.d(et,{m:function(){return eh}});var ei=en(51217),eo=en(39324),ea=en(71209),eu=en(93028),ec=en(91530),ed=en.n(ec),ef=en(38899),eh=new(function(){function Y(){var et=this;(0,ei._)(this,Y),this._bindNotify=function(Y){et.notifyHandler=Y},this._bindGetToasts=function(Y){et.getToastsHandler=Y},this._bindCloseAll=function(Y){et.closeAllHandler=Y},this.getToasts=function(){return et.getToastsHandler()},this.closeAll=function(){return et.closeAllHandler()},this.notifyHandler=ed(),this.getToastsHandler=ed(),this.closeAllHandler=ed()}var et=Y.prototype;return et._callNotifyHandler=function(Y,et){return this.notifyHandler(Y,et)},et.info=function(Y,et){return this._callNotifyHandler(Y,(0,ea._)((0,eo._)({},et),{intent:ef.n.info}))},et.success=function(Y,et){return this._callNotifyHandler(Y,(0,ea._)((0,eo._)({},et),{intent:ef.n.success}))},et.warning=function(Y,et){return this._callNotifyHandler(Y,(0,ea._)((0,eo._)({},et),{intent:ef.n.warning}))},et.danger=function(Y,et){return this._callNotifyHandler(Y,(0,ea._)((0,eo._)({},et),{intent:ef.n.danger}))},et.forError=function(Y,et){var en=Y instanceof eu.gK?Y.userMessage:eu.I;return this.danger(en,et)},Y}())},18866:function(Y,et,en){"use strict";en.d(et,{LT:function(){return ei},M5:function(){return eg},ZP:function(){return ey}});var ei,eo=en(39324),ea=en(42786),eu=en(10721),ec=en(70079),ed=en(70671),ef=en(94968),eh=en(72290),ep="_tm",em="_m";function eg(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",en=arguments.length>2?arguments[2]:void 0,eo=new URL(et,window.location.origin);return eo.searchParams.set(ep,Y),Y===ei.CUSTOM_ERROR&&en&&eo.searchParams.set(em,en),eo.toString()}function ey(){var Y=(0,eu.useRouter)(),et=(0,ed.Z)();(0,ec.useEffect)(function(){if(void 0!==Y.query[ep]){var en=function(en,ei,ea,eu){if(!eh.m.getToasts().some(function(Y){return Y.id.toString().startsWith(ei)})){var ec="string"==typeof en?en:et.formatMessage(en);eh.m[eu](ec,{id:ei,duration:ea})}var ed=(0,eo._)({},Y.query);delete ed[ep],delete ed[em];var ef={pathname:Y.pathname,query:ed};Y.replace(ef,void 0,{shallow:!0})},eu=Y.query[ep];switch(eu){case ei.SHARE_NOT_FOUND:en(eb.conversationInaccessible,ei.SHARE_NOT_FOUND,5,"warning");break;case ei.GIZMO_NOT_FOUND:en(eb.gizmoNotFound,ei.GIZMO_NOT_FOUND,5,"warning");break;case ei.NO_ACCESS:en(eb.noAccess,ei.NO_ACCESS,5,"warning");break;case ei.OAUTH_SUCCESS:en(eb.oauthSuccess,ei.OAUTH_SUCCESS,5,"success");break;case ei.CUSTOM_ERROR:en(Y.query[em],ei.CUSTOM_ERROR,5,"warning");break;default:(0,ea.Z)(eu)}}},[Y,et,Y.query])}!function(Y){Y.SHARE_NOT_FOUND="share_not_found",Y.GIZMO_NOT_FOUND="gizmo_not_found",Y.NO_ACCESS="no_access",Y.OAUTH_SUCCESS="oauth_success",Y.CUSTOM_ERROR="c_err"}(ei||(ei={}));var eb=(0,ef.vU)({conversationInaccessible:{id:"globalToasts.conversationInaccessible",defaultMessage:"Conversation inaccessible or not found",description:"Warning toast message when conversation cannot load"},gizmoNotFound:{id:"globalToasts.gizmoNotFound",defaultMessage:"GPT inaccessible or not found",description:"Warning toast message when GPT cannot load"},noAccess:{id:"globalToasts.noAccess",defaultMessage:"You do not currently have access to this feature",description:"Warning when you try to access a feature you don't have access to"},oauthSuccess:{id:"globalToasts.oauthSuccess",defaultMessage:"You have successfully signed in via OAuth",description:"Success message when a user has logged into an app with oauth."}})},47346:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ed}});var ei=en(66638),eo=en(25687),ea=en(70079),eu=en(41955),ec=en(84056);function ed(Y){var et="root"===(0,ei.oq)(Y),en=(0,ei.Hk)(Y),ed=(0,eu.Yk)(en),ef=(0,ea.useContext)(eo.gt).serviceStatus,eh=(0,ec.i)();return!et&&!ed&&!(null==ef?void 0:ef.oof)&&!eh.displayingSideBySideFeedback}},25913:function(Y,et,en){"use strict";en.d(et,{LC:function(){return em},MO:function(){return ep},iF:function(){return eg}});var ei=en(82685),eo=en(82473),ea=en(70079),eu=en(86646),ec=en(62682),ed=en(17944),ef=28,eh="conversationHistory";function ep(){var Y,et=(0,ed.hz)().has(ec.Ud),en=(0,ed.$T)(),eo=!et&&!en,ep=(0,ei.N)({queryKey:[eh],queryFn:function(Y){var et=Y.pageParam;return eu.ZP.getConversations(et,ef)},initialPageParam:0,getNextPageParam:function(Y){var et=Y.offset+Y.limit;return et<Y.total?et:void 0},enabled:eo}),em=ep.data,eg=ep.fetchNextPage,ey=ep.hasNextPage,eb=ep.isInitialLoading,ek=ep.isFetchingNextPage,ew=ep.isError,e_=(0,ea.useMemo)(function(){return null!==(Y=null==em?void 0:em.pages.flatMap(function(Y){return Y.items}))&&void 0!==Y?Y:[]},[em]);return{data:em,conversations:e_,fetchNextPage:eg,hasNextPage:ey,isLoading:eb,isFetchingNextPage:ek,isError:eo&&ew}}function em(){var Y=ep().conversations;return(0,ea.useMemo)(function(){return Y.length>0},[Y])}function eg(){var Y=(0,eo.NL)();return(0,ea.useCallback)(function(){Y.invalidateQueries({queryKey:[eh]})},[Y])}},67568:function(Y,et,en){"use strict";en.d(et,{HE:function(){return ef},WA:function(){return eh},Wq:function(){return ep}});var ei=en(39324),eo=en(61098),ea=en(39368),eu=en(73779),ec=en(21950),ed=en(42786);function ef(Y){return[eo.OL.PrimaryAssistant,eo.OL.BusinessTemplate,eo.OL.GizmoInteraction].includes(Y.kind)}function eh(Y){var et=(0,ea.ur)(Y),en=(0,ec.Po)(Y),ei=(0,eu.p_)().playgroundTemplate,ed=(0,eu.QH)();return(null==ei?void 0:ei.config)?{kind:eo.OL.BusinessTemplatePlayground,config:ei.config}:"magic"===ed.mode?{kind:eo.OL.GizmoMagicCreate,gizmo_id:ed.gizmoId,behavior_overrides:ed.behaviorOverrides}:ed.gizmoEditorData&&"test"===ed.mode?{kind:eo.OL.GizmoTest,gizmo_id:ed.gizmoEditorData.id}:null!=en?{kind:eo.OL.GizmoInteraction,gizmo_id:en.gizmo.id}:null!=et?{kind:eo.OL.BusinessTemplate,template_id:et.id}:{kind:eo.OL.PrimaryAssistant}}function ep(Y){var et=eh(Y),en=(0,ec.kg)("gizmo_id"in et?et.gizmo_id:void 0,et.kind===eo.OL.GizmoTest).data;switch(et.kind){case eo.OL.GizmoInteraction:case eo.OL.GizmoMagicCreate:case eo.OL.GizmoTest:return(0,ei._)({gizmo:en},et);case eo.OL.PrimaryAssistant:case eo.OL.BusinessTemplate:case eo.OL.BusinessTemplatePlayground:return et;default:return(0,ed.Z)(et),et}}},34609:function(Y,et,en){"use strict";en.d(et,{Z:function(){return em}});var ei=en(10064),eo=en(54636),ea=en(42780),eu=en(19253),ec=en(8874),ed=en(70079),ef=window.sessionStorage,eh=eu.F.HistoryDisabled,ep=eu.F.SettingsModified;function em(Y){var et=(0,ei._)((0,ed.useState)(!1),2),en=et[0],em=et[1],eg=(0,ed.useCallback)(function(Y){em(Y),eu.m.setItem(eh,Y.toString()),Y?(null==ef||ef.setItem(ep,"true"),eo.A.logEvent(ea.M.disableChatHistory),ec.m9.logEvent("chatgpt_disable_chat_history")):(eo.A.logEvent(ea.M.enableChatHistory),ec.m9.logEvent("chatgpt_enable_chat_history"))},[]),ey=(0,ed.useCallback)(function(){eg(!en)},[en,eg]),eb=(0,ed.useCallback)(function(){eg(!1)},[eg]),ek=(0,ed.useCallback)(function(){null==ef||ef.removeItem(ep)},[]);return(0,ed.useEffect)(function(){var et=eu.m.getItem(eh);et&&void 0===Y&&em("true"===et)},[Y]),{historyDisabled:en,onEnableHistory:eb,toggleHistoryDisabled:ey,getModifiedSettings:(0,ed.useCallback)(function(){return"true"===(null==ef?void 0:ef.getItem(ep))},[]),unsetModifiedSettings:ek}}},12221:function(Y,et,en){"use strict";en.d(et,{uU:function(){return ef},m0:function(){return em},kc:function(){return ep},BT:function(){return eg},Y8:function(){return ey}});var ei=en(64502),eo=en(78103);let ea=Y=>et=>{try{let en=Y(et);if(en instanceof Promise)return en;return{then:Y=>ea(Y)(en),catch(Y){return this}}}catch(Y){return{then(Y){return this},catch:et=>ea(et)(Y)}}},eu=(Y,et)=>(en,ei,eo)=>{let eu,ec,ed={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:Y=>Y,version:0,merge:(Y,et)=>({...et,...Y}),...et},ef=!1,eh=new Set,ep=new Set;try{eu=ed.getStorage()}catch(Y){}if(!eu)return Y((...Y)=>{console.warn(`[zustand persist middleware] Unable to update item '${ed.name}', the given storage is currently unavailable.`),en(...Y)},ei,eo);let em=ea(ed.serialize),eg=()=>{let Y;let et=ed.partialize({...ei()}),en=em({state:et,version:ed.version}).then(Y=>eu.setItem(ed.name,Y)).catch(et=>{Y=et});if(Y)throw Y;return en},ey=eo.setState;eo.setState=(Y,et)=>{ey(Y,et),eg()};let eb=Y((...Y)=>{en(...Y),eg()},ei,eo),ek=()=>{var Y;if(!eu)return;ef=!1,eh.forEach(Y=>Y(ei()));let et=(null==(Y=ed.onRehydrateStorage)?void 0:Y.call(ed,ei()))||void 0;return ea(eu.getItem.bind(eu))(ed.name).then(Y=>{if(Y)return ed.deserialize(Y)}).then(Y=>{if(Y){if("number"!=typeof Y.version||Y.version===ed.version)return Y.state;if(ed.migrate)return ed.migrate(Y.state,Y.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(Y=>{var et;return en(ec=ed.merge(Y,null!=(et=ei())?et:eb),!0),eg()}).then(()=>{null==et||et(ec,void 0),ef=!0,ep.forEach(Y=>Y(ec))}).catch(Y=>{null==et||et(void 0,Y)})};return eo.persist={setOptions:Y=>{ed={...ed,...Y},Y.getStorage&&(eu=Y.getStorage())},clearStorage:()=>{null==eu||eu.removeItem(ed.name)},getOptions:()=>ed,rehydrate:()=>ek(),hasHydrated:()=>ef,onHydrate:Y=>(eh.add(Y),()=>{eh.delete(Y)}),onFinishHydration:Y=>(ep.add(Y),()=>{ep.delete(Y)})},ek(),ec||eb},ec=eu;var ed="gpt-4",ef="model_cap_exceeded",eh="oai/apps/capExpiresAt",ep=(0,eo.ZP)(function(){return{serverThreadIds:new Set}});function em(Y){ep.setState(function(et){return{serverThreadIds:new Set((0,ei._)(et.serverThreadIds).concat([Y]))}})}function eg(){var Y=ey(function(Y){return Y.isoDate}),et=ey(function(Y){return Y.clearCapTimeout}),en=Date.now(),ei=Y&&new Date(Y).getTime();return Y&&ei&&ei<=en?(et(),null):Y?ed:null}var ey=(0,eo.ZP)()(ec(function(Y){return{isoDate:"",setCapTimeout:function(et){Y(function(){return{isoDate:et}})},clearCapTimeout:function(){Y(function(){return{isoDate:""}})}}},{name:eh}))},20987:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ec}});var ei=en(61098),eo=en(66638),ea=en(25687),eu=en(70079);function ec(Y){var et=(0,eu.useContext)(ea.OV);return function(en){var ea=en.id,eu=en.eventMetadata,ec=en.focusOnNewCompletion,ed=void 0===ec||ec,ef=en.variantPurpose,eh=void 0===ef?"none":ef,ep=en.useDefaultModel,em=en.appendMessages,eg=en.conversationMode,ey=eo.tQ.getTree(Y).getParentPromptNode(ea).id;et({type:ei.Os.Variant,promptId:ey,eventMetadata:eu,cancelActiveRequests:!1,focusOnNewCompletion:ed,useDefaultModel:ep,completionMetadata:{variantPurpose:eh,conversationMode:eg},appendMessages:em})}}},74102:function(Y,et,en){"use strict";en.d(et,{Z:function(){return eh}});var ei=en(39324),eo=en(71209),ea=en(61098),eu=en(67568),ec=en(66638),ed=en(8844),ef=en(20987);function eh(Y){var et=(0,ef.Z)(Y),en=(0,eu.WA)(Y);return function(eu,ef,eh){var ep=ec.tQ.getTree(Y).getConversationTurns(eu),em=null==ep?void 0:ep[(null==ep?void 0:ep.length)-1].variantIds,eg=(null==em?void 0:em.length)===1;et({id:eu,eventMetadata:eg?(0,eo._)((0,ei._)({},ef),{intent:"comparison_implicit"}):ef,focusOnNewCompletion:!0,variantPurpose:eg?"comparison_implicit":"none",conversationMode:en,useDefaultModel:!1,appendMessages:eh?[{id:(0,ed.Z)(),author:{role:ea.uU.System},content:{content_type:ea.PX.Text,parts:[eh]},metadata:{exclude_after_next_user_message:!0}}]:void 0})}}},97631:function(Y,et,en){"use strict";en.d(et,{_C:function(){return eu},xT:function(){return ec}});var ei=en(19253),eo=en(70079),ea=en(17944);function eu(){var Y=(0,ea.aF)(),et=null==Y?void 0:Y.id,en=(0,ea.ec)(function(Y){return{currentWorkspace:Y.currentWorkspace}}).currentWorkspace,eo=null==en?void 0:en.id;return ei.m.getItem(ei.F.LastUsedModel,{workspaceId:eo,userId:et})}function ec(){var Y=(0,ea.aF)(),et=null==Y?void 0:Y.id,en=(0,ea.ec)(function(Y){return{currentWorkspace:Y.currentWorkspace}}).currentWorkspace,eu=null==en?void 0:en.id;return(0,eo.useCallback)(function(Y){if(!Y)return null;var en={modelId:Y,updatedAt:Date.now()};ei.m.setItem(ei.F.LastUsedModel,en,{workspaceId:eu,userId:et})},[eu,et])}},46552:function(Y,et,en){"use strict";en.d(et,{Z:function(){return eg}});var ei=en(17944),eo=en(61236),ea=en(70079),eu=en(70671),ec=en(94968),ed=en(86646),ef=en(87694),eh=en(12221);function ep(Y){if(Y<60)return{type:"minute",value:Y,text:Y<2?"minute":"".concat(Y," minutes")};var et=Math.floor(Y/60);if(et<24)return{type:"hour",value:et,text:et<2?"hour":"".concat(et," hours")};var en=Math.floor(et/24);return en<7?{type:"day",value:en,text:en<2?"day":"".concat(en," days")}:{type:"minute",value:Y,text:Y<2?"minute":"".concat(Y," minutes")}}var em={textarea:"","model-switcher":""};function eg(){var Y=(0,eh.Y8)(function(Y){return Y.isoDate}),et=(0,ef.xz)(Y),en=(0,eu.Z)(),ec=(0,ei.ec)(ei.F_.isEnterprisePlan),eg=(0,eo.a)({queryKey:["modelMessageCap"],queryFn:function(){return ed.ZP.getModelMessageCap()}}).data;return(0,ea.useMemo)(function(){var Y,ei,eo,ea=null!==(Y=null==eg?void 0:eg.message_cap)&&void 0!==Y?Y:0,eu=null!==(ei=null==eg?void 0:eg.message_cap_window)&&void 0!==ei?ei:1,ed=ep(eu),ef=ed.text,eh=ed.type,eb=ed.value,ek=null!==(eo=null==eg?void 0:eg.message_disclaimer)&&void 0!==eo?eo:em;if(!ef||ec)return{textareaDisclaimer:ek.textarea,modelSwitcherDisclaimer:ek["model-switcher"],modelSwitcherLimitShort:""};if(!eg||!eu||!ea)return{textareaDisclaimer:em.textarea,modelSwitcherDisclaimer:em["model-switcher"],modelSwitcherLimitShort:""};var ew=en.formatMessage(ey.shortLimitMinutes,{numerator:ea,denominator:eb});switch(eh){case"hour":ew=en.formatMessage(ey.shortLimitHours,{numerator:ea,denominator:eb});break;case"day":ew=en.formatMessage(ey.shortLimitDays,{numerator:ea,denominator:eb})}return{textareaDisclaimer:ek.textarea.replaceAll("%FORMATTED_TIME%",et).replaceAll("%NUMERATOR%","".concat(ea)).replaceAll("%DENOMINATOR%",ef),modelSwitcherDisclaimer:ek["model-switcher"].replaceAll("%FORMATTED_TIME%",et).replaceAll("%NUMERATOR%","".concat(ea)).replaceAll("%DENOMINATOR%",ef),modelSwitcherLimitShort:ew}},[eg,et,en,ec])}var ey=(0,ec.vU)({shortLimitMinutes:{id:"modelCapMessaging.shortLimitHours",defaultMessage:"Limit {numerator, plural, =0 {# message} one {# message} other {# messages}} / {denominator, plural, =0 {# minute} one {# minute} other {# minutes}}",description:"Short message limit"},shortLimitHours:{id:"modelCapMessaging.shortLimitHours",defaultMessage:"Limit {numerator, plural, =0 {# message} one {# message} other {# messages}} / {denominator, plural, =0 {# hour} one {# hour} other {# hours}}",description:"Short message limit"},shortLimitDays:{id:"modelCapMessaging.shortLimitHours",defaultMessage:"Limit {numerator, plural, =0 {# message} one {# message} other {# messages}} / {denominator, plural, =0 {# day} one {# day} other {# days}}",description:"Short message limit"}})},28924:function(Y,et,en){"use strict";en.d(et,{Er:function(){return eB},dN:function(){return ei},ft:function(){return eo},ZP:function(){return eG},Ri:function(){return eU},i0:function(){return eH}});var ei,eo,ea,eu,ec,ed,ef,eh,ep,em,eg,ey,eb=en(96237),ek=en(39324),ew=en(64502),e_=en(35250),eE=en(70079);function eC({title:Y,titleId:et,...en},ei){return eE.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:ei,"aria-labelledby":et},en),Y?eE.createElement("title",{id:et},Y):null,eE.createElement("path",{fillRule:"evenodd",d:"M10.5 3.798v5.02a3 3 0 01-.879 2.121l-2.377 2.377a9.845 9.845 0 015.091 1.013 8.315 8.315 0 005.713.636l.285-.071-3.954-3.955a3 3 0 01-.879-2.121v-5.02a23.614 23.614 0 00-3 0zm4.5.138a.75.75 0 00.093-1.495A24.837 24.837 0 0012 2.25a25.048 25.048 0 00-3.093.191A.75.75 0 009 3.936v4.882a1.5 1.5 0 01-.44 1.06l-6.293 6.294c-1.62 1.621-.903 4.475 1.471 4.88 2.686.46 5.447.698 8.262.698 2.816 0 5.576-.239 8.262-.697 2.373-.406 3.092-3.26 1.47-4.881L15.44 9.879A1.5 1.5 0 0115 8.818V3.936z",clipRule:"evenodd"}))}let eT=eE.forwardRef(eC);var eS=eT,eA=en(94968),eM=en(70671),eP=en(72871),ej=en(17944),eO=en(59904),eI=en(80984),eN=en(12221),eL=en(46552),eR=en(10499);!function(Y){Y.BROWSING="browsing_model",Y.CODE_INTERPRETER="code_interpreter_model",Y.PLUGINS="plugins_model",Y.DALLE="dalle_model"}(ei||(ei={}));var eD=(0,eA.vU)({gpt3_5Disclaimer:{id:"useModelSwitcherModels.gpt3_5.disclaimer",defaultMessage:"Available to Free and Plus users",description:"Disclaimer message for GPT-3.5, indicating availability to Free and Plus users"},gpt4Disclaimer:{id:"useModelSwitcherModels.gpt4.disclaimer",defaultMessage:"Available exclusively to Plus users",description:"Disclaimer message for GPT-4, indicating exclusive availability to Plus users"}});!function(Y){Y.GPT4="gpt_4",Y.GPT3_5="gpt_3.5",Y.OTHER="other",Y.EXPERIMENTS="experiments"}(eo||(eo={}));var eF=(ea={},(0,eb._)(ea,eo.GPT3_5,{icon:eO.jr,activeIcon:eO.jr,backgroundColor:"#19c37d",buttonActiveClass:"text-brand-green",buttonHoverClass:"group-hover/button:text-brand-green",iconClass:"group-hover/option:!text-brand-green group-hover/options:text-gray-500",disclaimer:eD.gpt3_5Disclaimer,showSelectedValueBelow:!1}),(0,eb._)(ea,eo.GPT4,{icon:eO.Bj,activeIcon:eO.MP,backgroundColor:"#AB68FF",buttonActiveClass:"text-brand-purple",buttonHoverClass:"group-hover/button:text-brand-purple",iconClass:"group-hover/option:!text-brand-purple group-hover/options:text-gray-500",disclaimer:eD.gpt4Disclaimer,showSelectedValueBelow:!1}),(0,eb._)(ea,eo.OTHER,{icon:eS,activeIcon:eS,backgroundColor:"#E06C2B",buttonActiveClass:"text-orange-500",buttonHoverClass:"group-hover/button:text-orange-500",showSelectedValueBelow:!0}),(0,eb._)(ea,eo.EXPERIMENTS,{icon:eS,activeIcon:eS,backgroundColor:"#E06C2B",buttonActiveClass:"text-blue-500",buttonHoverClass:"group-hover/button:text-blue-500",showSelectedValueBelow:!0}),ea),eB=(ey={},(0,eb._)(ey,ei.BROWSING,{iconByCategory:(eu={},(0,eb._)(eu,eo.GPT3_5,eO.O1),(0,eb._)(eu,eo.GPT4,eO.Fz),eu),activeIconByCategory:(ec={},(0,eb._)(ec,eo.GPT3_5,eO.X7),(0,eb._)(ec,eo.GPT4,eO.Ae),ec),name:(0,e_.jsxs)("span",{children:["Browse with ",(0,e_.jsx)(eO.jE,{className:"icon-sm -mt-[3px] inline-block"})," Bing"]})}),(0,eb._)(ey,ei.CODE_INTERPRETER,{iconByCategory:(ed={},(0,eb._)(ed,eo.GPT3_5,eO.lv),(0,eb._)(ed,eo.GPT4,eO.Q$),ed),activeIconByCategory:(ef={},(0,eb._)(ef,eo.GPT3_5,eO.vy),(0,eb._)(ef,eo.GPT4,eO.$V),ef),name:"Advanced Data Analysis"}),(0,eb._)(ey,ei.PLUGINS,{iconByCategory:(eh={},(0,eb._)(eh,eo.GPT3_5,eO.AQ),(0,eb._)(eh,eo.GPT4,eO.IT),eh),activeIconByCategory:(ep={},(0,eb._)(ep,eo.GPT3_5,eO.Np),(0,eb._)(ep,eo.GPT4,eO.j3),ep),name:"Plugins"}),(0,eb._)(ey,ei.DALLE,{iconByCategory:(em={},(0,eb._)(em,eo.GPT3_5,eO.c9),(0,eb._)(em,eo.GPT4,eO.c9),em),activeIconByCategory:(eg={},(0,eb._)(eg,eo.GPT3_5,eO.Bn),(0,eb._)(eg,eo.GPT4,eO.Bn),eg),name:"DALL\xb7E 3"}),ey);function ez(Y,et){if(et)for(var en=0;en<Y.length;en++){var ei=Y[en];if(ei.options.length>0){var eo,ea,eu=ei.options.find(function(Y){return Y.value===et});if(eu)return{item:eu,categoryId:ei.categoryId,backgroundColor:eF[ei.categoryId].backgroundColor,icon:null!==(ea=null!==(eo=eu.icon)&&void 0!==eo?eo:ei.icon)&&void 0!==ea?ea:eF[ei.categoryId].icon}}}}function eU(Y){var et=eG();return(0,eE.useMemo)(function(){return ez(et,Y)},[et,Y])}function eH(Y,et){return(0,eR.OX)().some(function(en){return en[et]===Y})}function eG(){var Y=(0,eM.Z)(),et=(0,eR.OX)(),en=(0,eR.B9)(),ei=(0,eN.BT)(),eo=(0,eP.H)(),ea=(0,ej.ec)(ej.F_.isEnterprisePlan),eu=(0,eL.Z)().modelSwitcherDisclaimer,ec=(0,ej.hz)(),ed=(0,eR.B8)(),ef=ed.enabledModelsInCategoriesById,eh=ed.enabledModelsNotInCategoriesById,ep=(0,eL.Z)();return(0,eE.useMemo)(function(){var ed=[],em=!0,eg=!1,ey=void 0;try{for(var eb,ek=function(){var et=eb.value;if(ef.has(et.default_model)){var eh=eF[et.category]||{},em=ei===et.default_model,eg=en.get(et.default_model),ey=em?[]:eW(eo,ec,et,ef,en,ea),ek=et.category===eI.WT&&null!=ep,e_=function(){return ea?ek?ep.textareaDisclaimer:void 0:ek?"".concat(null!=eh.disclaimer?Y.formatMessage(eh.disclaimer):"","\n\n").concat(ep.textareaDisclaimer):null!=eh.disclaimer?Y.formatMessage(eh.disclaimer):void 0}();ed.push({categoryId:et.category,value:eg.id,name:et.human_category_name,description:em?eu:eg.description,disclaimer:e_,buttonActiveClass:eh.buttonActiveClass,buttonHoverClass:eh.buttonHoverClass,iconClass:eh.iconClass,icon:eh.icon,activeIcon:eh.activeIcon,options:[eV(eg,{icon:eh.icon,activeIcon:eh.activeIcon,name:"Default"})].concat((0,ew._)(ey)),disabled:em,showSelectedValueBelow:!1})}},e_=et[Symbol.iterator]();!(em=(eb=e_.next()).done);em=!0)ek()}catch(Y){eg=!0,ey=Y}finally{try{em||null==e_.return||e_.return()}finally{if(eg)throw ey}}var eE=Array.from(eh).map(function(Y){return en.get(Y)}).filter(function(Y){return -1===Y.id.indexOf(":")}).filter(function(Y){return!Y.tags.includes(eR.S.HIDDEN)}),eC=Array.from(eh).map(function(Y){return en.get(Y)}).filter(function(Y){return -1!==Y.id.indexOf(":")}),eT=eE.some(function(Y){return Y.id===eI.YE});if(eE.length>0&&!eT){var eS=eE[0],eA=eF.other;ed.push({categoryId:"other",value:null==eS?void 0:eS.id,name:"Alpha",buttonActiveClass:eA.buttonActiveClass,buttonHoverClass:eA.buttonHoverClass,options:eE.map(function(Y){return eV(Y)}),showSelectedValueBelow:!0,icon:eA.icon,activeIcon:eA.activeIcon,alwaysShowOptions:!0})}if(eC.length>0){var eM=eC[0],eP=eF.experiments;ed.push({categoryId:"experiments",value:null==eM?void 0:eM.id,name:"Experiments",buttonActiveClass:eP.buttonActiveClass,buttonHoverClass:eP.buttonHoverClass,options:eC.map(function(Y){return eV(Y)}),showSelectedValueBelow:!0,icon:eP.icon,activeIcon:eP.activeIcon,alwaysShowOptions:!0})}return ed},[eh,et,ef,ei,en,eo,ec,ep,eu,ea,Y])}function eV(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,ek._)({value:Y.id,name:Y.title,tags:Y.tags},et)}function eW(Y,et,en,eo,ea,eu){var ec=Y.isBrowsingAvailable,ed=Y.isPluginsEnabled,ef=Y.isAdvancedDataAnalysisEnabled,eh=[];if((eu&&ec||!eu)&&null!=en[ei.BROWSING]&&eo.has(en[ei.BROWSING])){var ep=eB[ei.BROWSING];eh.push(eV(ea.get(en[ei.BROWSING]),{icon:ep.iconByCategory[en.category],name:ep.name,activeIcon:ep.activeIconByCategory[en.category],disabled:!1}))}if(ef&&null!=en[ei.CODE_INTERPRETER]&&eo.has(en[ei.CODE_INTERPRETER])){var em=eB[ei.CODE_INTERPRETER];eh.push(eV(ea.get(en[ei.CODE_INTERPRETER]),{icon:em.iconByCategory[en.category],name:em.name,activeIcon:em.activeIconByCategory[en.category],disabled:et.has("code_interpreter_disabled")}))}if(ed&&null!=en[ei.PLUGINS]&&eo.has(en[ei.PLUGINS])){var eg=eB[ei.PLUGINS];eh.push(eV(ea.get(en[ei.PLUGINS]),{icon:eg.iconByCategory[en.category],name:eg.name,activeIcon:eg.activeIconByCategory[en.category],disabled:et.has("plugins_disabled")}))}if(null!=en[ei.DALLE]&&eo.has(en[ei.DALLE])){var ey=eB[ei.DALLE];eh.push(eV(ea.get(en[ei.DALLE]),{icon:ey.iconByCategory[en.category],name:ey.name,activeIcon:ey.activeIconByCategory[en.category]}))}return eh}},10499:function(Y,et,en){"use strict";en.d(et,{B8:function(){return eG},B9:function(){return eF},Bv:function(){return eU},Gg:function(){return eB},H6:function(){return eV},IR:function(){return ej},Mw:function(){return eM},OX:function(){return eR},Q_:function(){return eL},S:function(){return ei},S0:function(){return eA},Xy:function(){return eH},ZL:function(){return eN},fm:function(){return ez},iu:function(){return eD},mx:function(){return eP},n2:function(){return eO}});var ei,eo=en(21722),ea=en(39324),eu=en(64502),ec=en(38104),ed=en(61236),ef=en(10721),eh=en(70079),ep=en(61098),em=en(86646),eg=en(66638),ey=en(72871),eb=en(17944),ek=en(25687),ew=en(39368),e_=en(67568),eE=en(12221),eC=en(97631),eT=en(28924),eS="text-davinci-002-render-sha";!function(Y){Y.GPT_3_5="gpt3.5",Y.GPT_4="gpt4",Y.MOBILE="mobile",Y.HIDDEN="hidden"}(ei||(ei={}));var eA="gpt-4",eM="gpt-4-magic-create",eP="gpt-4-gizmo",ej=eV({slug:eS,max_tokens:4097,title:"Default",description:"",tags:[ei.GPT_3_5],product_features:{}}),eO=new Set(["text-davinci-002-render-paid"]);function eI(Y){var et=(0,eh.useContext)(ek.QL).historyDisabled;return(0,ed.a)({retry:5,queryKey:["models",{isHistoryDisabled:!et}],queryFn:(0,eo._)(function(){return(0,ec.Jh)(this,function(Y){switch(Y.label){case 0:return[4,em.ZP.getModels(et)];case 1:return[2,Y.sent()]}})}),select:Y})}function eN(){return eI().isLoading}function eL(){return eI().isSuccess}function eR(){var Y=eI(function(Y){return Y.categories}).data;return null!=Y?Y:[]}function eD(){var Y=eI(function(Y){return Y.models}).data;return(0,eh.useMemo)(function(){return new Set(Y?Y.map(function(Y){return Y.slug}):[eS])},[Y])}function eF(){var Y=eI(function(Y){return Y.models}).data;return(0,eh.useMemo)(function(){return new Map(Y?Y.map(function(Y){return[Y.slug,eV(Y)]}):[[eS,ej]])},[Y])}function eB(Y){var et=arguments.length>1&&void 0!==arguments[1]&&arguments[1],en=function(Y){var et,en,eo=ec.get(Y);return null!==(en=null==eo?void 0:null===(et=eo.tags)||void 0===et?void 0:et.includes(ei.GPT_3_5))&&void 0!==en&&en},eo=(0,eb.hz)(),ea=(0,eu._)(Y),ec=eF();if(!et&&eo.has("priority_driven_models_list"))return ea[0];var ed=(0,eu._)(ea).find(function(Y){return en(Y)});return null!=ed?ed:ea[0]}function ez(){var Y=arguments.length>0&&void 0!==arguments[0]&&arguments[0],et=(0,ef.useRouter)(),en=et.query;return(0,eh.useCallback)(function(ei){var eo={model:encodeURIComponent(ei)};if(Y)et.push({pathname:"/",query:eo},void 0,{shallow:!0});else{var eu=(0,ea._)({},en,eo);delete eu[ew.t9],et.replace({pathname:et.basePath,query:eu},void 0,{shallow:!0})}},[Y,en,et])}function eU(Y,et){var en=eW((0,ef.useRouter)().query),ei=(0,eg.XK)(et),eo=eG().enabledModelsById,ea=(0,ey.H)().isBetaFeaturesUiEnabled,eu=(0,eE.kc)().serverThreadIds,ec=eD(),ed=(0,eC._C)(),em=ea?eo:ec,eb=eB(em),ek=(0,ew.ur)(et),eT=(0,e_.WA)(et);return(0,eh.useMemo)(function(){if(eT.kind===ep.OL.GizmoInteraction||eT.kind===ep.OL.GizmoTest)return eP;if(eT.kind===ep.OL.GizmoMagicCreate)return eM;if(0!==em.size){var et,eo=void 0!==ei&&eu.has(ei);return eo?eb:ek&&"config"in ek&&ec.has(ek.config.model_slug)?ek.config.model_slug:null!=Y&&ec.has(Y)?null!=Y?Y:void 0:en&&em.has(en)?null!=en?en:void 0:ed&&em.has(ed.modelId)?null!==(et=ed.modelId)&&void 0!==et?et:void 0:null!=eb?eb:void 0}},[ec,eT,eb,Y,en,ed,em,ei,eu,ek])}function eH(Y,et){var en=eU(Y,et),ei=eF();return(0,eh.useMemo)(function(){var Y;return null==en?ej:null!==(Y=ei.get(en))&&void 0!==Y?Y:ej},[en,ei])}function eG(){var Y=eR(),et=eD(),en=eF(),eo=(0,ey.H)();return(0,eh.useMemo)(function(){var ea,ec=Y.reduce(function(Y,ei){var ea,eu,ec,ed,ef,eh,ep,em,eg=Y.enabledModelsInCategoriesById,ey=Y.availableModelsInCategoriesById,eb=et.has(ei.default_model)?ei.default_model:null;null!=eb&&(ey.add(eb),eg.add(eb));var ek=et.has(null!==(ea=ei[eT.dN.BROWSING])&&void 0!==ea?ea:"")?en.get(null!==(eu=ei[eT.dN.BROWSING])&&void 0!==eu?eu:""):null;ek&&(ey.add(ek.id),eg.add(ek.id));var ew=et.has(null!==(ec=ei[eT.dN.CODE_INTERPRETER])&&void 0!==ec?ec:"")?en.get(null!==(ed=ei[eT.dN.CODE_INTERPRETER])&&void 0!==ed?ed:""):null;ew&&(ey.add(ew.id),eo.isAdvancedDataAnalysisEnabled&&eg.add(ew.id));var e_=et.has(null!==(ef=ei[eT.dN.PLUGINS])&&void 0!==ef?ef:"")?en.get(null!==(eh=ei[eT.dN.PLUGINS])&&void 0!==eh?eh:""):null;e_&&(ey.add(e_.id),eo.isPluginsEnabled&&eg.add(e_.id));var eE=et.has(null!==(ep=ei[eT.dN.DALLE])&&void 0!==ep?ep:"")?en.get(null!==(em=ei[eT.dN.DALLE])&&void 0!==em?em:""):null;return eE&&(ey.add(eE.id),eg.add(eE.id)),Y},{enabledModelsInCategoriesById:new Set,availableModelsInCategoriesById:new Set}),ed=ec.enabledModelsInCategoriesById,ef=ec.availableModelsInCategoriesById,eh=new Set(Array.from(et).filter(function(Y){return!ef.has(Y)})),ep=new Set(Array.from(eh).filter(function(Y){var et;return ea=!(null===(et=en.get(Y))||void 0===et?void 0:et.tags.includes(ei.MOBILE))}));return{enabledModelsInCategoriesById:ed,availableModelsInCategoriesById:ef,enabledModelsNotInCategoriesById:ep,enabledModelsById:new Set((0,eu._)(ed).concat((0,eu._)(ep)))}},[Y,et,eo,en])}function eV(Y){return{id:Y.slug,maxTokens:Y.max_tokens,title:Y.title,description:Y.description,tags:Y.tags,enabledTools:Y.enabled_tools,product_features:Y.product_features}}function eW(Y){var et;return decodeURIComponent(null!==(et=Y.model)&&void 0!==et?et:"")}},65990:function(Y,et,en){"use strict";en.d(et,{sb:function(){return eg},x0:function(){return ep},yu:function(){return em}});var ei=en(21722),eo=en(39324),ea=en(38104),eu=en(78103),ec=en(86646),ed={data:void 0},ef=(0,eu.ZP)()(function(){return(0,eo._)({},ed)});function eh(Y){if(null==Y.data)return ef.setState(Y);var et=Y.data.suggestions.map(function(Y){return{text:Y}});ef.setState({data:{messageId:Y.data.messageId,suggestions:et}})}function ep(){return ef(function(Y){return Y.data})}var em=function(){var Y=(0,ei._)(function(Y,et,en){return(0,ea.Jh)(this,function(ei){switch(ei.label){case 0:eh({data:void 0}),ei.label=1;case 1:return ei.trys.push([1,3,,4]),[4,ec.ZP.generateSuggestions(Y,et,en)];case 2:return eh({data:{messageId:et,suggestions:ei.sent().suggestions}}),[3,4];case 3:return console.error(ei.sent()),[3,4];case 4:return[2]}})});return function(et,en,ei){return Y.apply(this,arguments)}}(),eg=function(){eh(ed)}},65649:function(Y,et,en){"use strict";en.d(et,{O:function(){return eo},b:function(){return ei}});var ei="personal",eo=7776e3},86646:function(Y,et,en){"use strict";let ei,eo;en.d(et,{FB:function(){return ec},k5:function(){return na},B:function(){return ni},ZP:function(){return ny},Go:function(){return nd}});var ea,eu,ec,ed=en(21722),ef=en(51217),eh=en(39324),ep=en(71209),em=en(70216),eg=en(38104);async function ey(Y,et){let en;let ei=Y.getReader();for(;!(en=await ei.read()).done;)et(en.value)}function eb(Y){let et,en,ei;let eo=!1;return function(ea){void 0===et?(et=ea,en=0,ei=-1):et=ew(et,ea);let eu=et.length,ec=0;for(;en<eu;){eo&&(10===et[en]&&(ec=++en),eo=!1);let ea=-1;for(;en<eu&&-1===ea;++en)switch(et[en]){case 58:-1===ei&&(ei=en-ec);break;case 13:eo=!0;case 10:ea=en}if(-1===ea)break;Y(et.subarray(ec,ea),ei),ec=en,ei=-1}ec===eu?et=void 0:0!==ec&&(et=et.subarray(ec),en-=ec)}}function ek(Y,et,en){let ei=e_(),eo=new TextDecoder;return function(ea,eu){if(0===ea.length)null==en||en(ei),ei=e_();else if(eu>0){let en=eo.decode(ea.subarray(0,eu)),ec=eu+(32===ea[eu+1]?2:1),ed=eo.decode(ea.subarray(ec));switch(en){case"data":ei.data=ei.data?ei.data+"\n"+ed:ed;break;case"event":ei.event=ed;break;case"id":Y(ei.id=ed);break;case"retry":let ef=parseInt(ed,10);isNaN(ef)||et(ei.retry=ef)}}}}function ew(Y,et){let en=new Uint8Array(Y.length+et.length);return en.set(Y),en.set(et,Y.length),en}function e_(){return{data:"",event:"",id:"",retry:void 0}}var eE=function(Y,et){var en={};for(var ei in Y)Object.prototype.hasOwnProperty.call(Y,ei)&&0>et.indexOf(ei)&&(en[ei]=Y[ei]);if(null!=Y&&"function"==typeof Object.getOwnPropertySymbols)for(var eo=0,ei=Object.getOwnPropertySymbols(Y);eo<ei.length;eo++)0>et.indexOf(ei[eo])&&Object.prototype.propertyIsEnumerable.call(Y,ei[eo])&&(en[ei[eo]]=Y[ei[eo]]);return en};let eC="text/event-stream",eT=1e3,eS="last-event-id";function eA(Y,et){var{signal:en,headers:ei,onopen:eo,onmessage:ea,onclose:eu,onerror:ec,openWhenHidden:ed,fetch:ef}=et,eh=eE(et,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((et,ep)=>{let em;let eg=Object.assign({},ei);function ew(){em.abort(),document.hidden||eO()}eg.accept||(eg.accept=eC),ed||document.addEventListener("visibilitychange",ew);let e_=eT,eE=0;function eA(){document.removeEventListener("visibilitychange",ew),window.clearTimeout(eE),em.abort()}null==en||en.addEventListener("abort",()=>{eA(),et()});let eP=null!=ef?ef:window.fetch,ej=null!=eo?eo:eM;async function eO(){var en;em=new AbortController;try{let en=await eP(Y,Object.assign(Object.assign({},eh),{headers:eg,signal:em.signal}));await ej(en),await ey(en.body,eb(ek(Y=>{Y?eg[eS]=Y:delete eg[eS]},Y=>{e_=Y},ea))),null==eu||eu(),eA(),et()}catch(Y){if(!em.signal.aborted)try{let et=null!==(en=null==ec?void 0:ec(Y))&&void 0!==en?en:e_;window.clearTimeout(eE),eE=window.setTimeout(eO,et)}catch(Y){eA(),ep(Y)}}}eO()})}function eM(Y){let et=Y.headers.get("content-type");if(!(null==et?void 0:et.startsWith(eC)))throw Error(`Expected content-type to be ${eC}, Actual: ${et}`)}var eP=en(31294),ej=en(55398),eO=en(85660),eI=en(11615),eN=en(70517),eL=en.n(eN),eR=en(82954),eD=en.n(eR);en(138);var eF=en(78103),eB=en(2064),ez=en(4536),eU=en(42918),eH=en(68951),eG=en(5053),eV=en(20630),eW=en(61098),eZ=en(59632),eK=en(65649);let e$=new WeakMap,eY=new WeakMap;class eQ{constructor(){this.onabort=null,e$.set(this,[]),eY.set(this,!1)}get aborted(){if(!eY.has(this))throw TypeError("Expected `this` to be an instance of AbortSignal.");return eY.get(this)}static get none(){return new eQ}addEventListener(Y,et){if(!e$.has(this))throw TypeError("Expected `this` to be an instance of AbortSignal.");let en=e$.get(this);en.push(et)}removeEventListener(Y,et){if(!e$.has(this))throw TypeError("Expected `this` to be an instance of AbortSignal.");let en=e$.get(this),ei=en.indexOf(et);ei>-1&&en.splice(ei,1)}dispatchEvent(Y){throw Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function eX(Y){if(Y.aborted)return;Y.onabort&&Y.onabort.call(Y);let et=e$.get(Y);et&&et.slice().forEach(et=>{et.call(Y,{type:"abort"})}),eY.set(Y,!0)}class eJ extends Error{constructor(Y){super(Y),this.name="AbortError"}}class e0{constructor(Y){if(this._signal=new eQ,!Y)return;for(let et of(Array.isArray(Y)||(Y=arguments),Y))et.aborted?this.abort():et.addEventListener("abort",()=>{this.abort()})}get signal(){return this._signal}abort(){eX(this._signal)}static timeout(Y){let et=new eQ,en=setTimeout(eX,Y,et);return"function"==typeof en.unref&&en.unref(),et}}function e9(Y,et){let{cleanupBeforeAbort:en,abortSignal:ei,abortErrorMsg:eo}=null!=et?et:{};return new Promise((et,ea)=>{function eu(){ea(new eJ(null!=eo?eo:"The operation was aborted."))}function ec(){null==ei||ei.removeEventListener("abort",ed)}function ed(){null==en||en(),ec(),eu()}if(null==ei?void 0:ei.aborted)return eu();try{Y(Y=>{ec(),et(Y)},Y=>{ec(),ea(Y)})}catch(Y){ea(Y)}null==ei||ei.addEventListener("abort",ed)})}let e5="The delay was aborted.";function e4(Y,et){let en;let{abortSignal:ei,abortErrorMsg:eo}=null!=et?et:{};return e9(et=>{en=setTimeout(et,Y)},{cleanupBeforeAbort:()=>clearTimeout(en),abortSignal:ei,abortErrorMsg:null!=eo?eo:e5})}var e3=en(36560),e6=en.n(e3);class e7 extends Error{constructor(Y,et){super(Y),this.name="SendMessageError",this.ackId=et.ackId,this.errorDetail=et.errorDetail}}function e8(...Y){if(Y.length>0){let et=String(Y[0]);et.includes(":error")?console.error(...Y):et.includes(":warning")?console.warn(...Y):et.includes(":info")?console.info(...Y):(et.includes(":verbose"),console.debug(...Y))}}var tt=en(26709);let ta=void 0!==tt&&tt.env&&tt.env.DEBUG||void 0,tu=[],tc=[],td=[];ta&&th(ta);let tf=Object.assign(Y=>tg(Y),{enable:th,enabled:tp,disable:tm,log:e8});function th(Y){ei=Y,tu=[],tc=[];let et=/\*/g,en=Y.split(",").map(Y=>Y.trim().replace(et,".*?"));for(let Y of en)Y.startsWith("-")?tc.push(RegExp(`^${Y.substr(1)}$`)):tu.push(RegExp(`^${Y}$`));for(let Y of td)Y.enabled=tp(Y.namespace)}function tp(Y){if(Y.endsWith("*"))return!0;for(let et of tc)if(et.test(Y))return!1;for(let et of tu)if(et.test(Y))return!0;return!1}function tm(){let Y=ei||"";return th(""),Y}function tg(Y){let et=Object.assign(en,{enabled:tp(Y),destroy:tv,log:tf.log,namespace:Y,extend:tb});function en(...ei){et.enabled&&(ei.length>0&&(ei[0]=`${Y} ${ei[0]}`),et.log(...ei))}return td.push(et),et}function tv(){let Y=td.indexOf(this);return Y>=0&&(td.splice(Y,1),!0)}function tb(Y){let et=tg(`${this.namespace}:${Y}`);return et.log=this.log,et}var tk=tf,tw=en(26709);let t_=new Set,tE=void 0!==tw&&tw.env&&tw.env.AZURE_LOG_LEVEL||void 0,tC=tk("azure");tC.log=(...Y)=>{tk.log(...Y)};let tT=["verbose","info","warning","error"];function tS(Y){if(Y&&!tI(Y))throw Error(`Unknown log level '${Y}'. Acceptable values: ${tT.join(",")}`);eo=Y;let et=[];for(let Y of t_)tO(Y)&&et.push(Y.namespace);tk.enable(et.join(","))}tE&&(tI(tE)?tS(tE):console.error(`AZURE_LOG_LEVEL set to unknown log level '${tE}'; logging is not enabled. Acceptable values: ${tT.join(", ")}.`));let tA={verbose:400,info:300,warning:200,error:100};function tM(Y){let et=tC.extend(Y);return tP(tC,et),{error:tj(et,"error"),warning:tj(et,"warning"),info:tj(et,"info"),verbose:tj(et,"verbose")}}function tP(Y,et){et.log=(...et)=>{Y.log(...et)}}function tj(Y,et){let en=Object.assign(Y.extend(et),{level:et});if(tP(Y,en),tO(en)){let Y=tk.disable();tk.enable(Y+","+en.namespace)}return t_.add(en),en}function tO(Y){return!!(eo&&tA[Y.level]<=tA[eo])}function tI(Y){return tT.includes(Y)}let tN=tM("web-pubsub-client");var tL=en(14984);function tR(Y){let et;if("string"!=typeof Y)throw Error("Invalid input for JSON hub protocol. Expected a string.");if(!Y)throw Error("No input");let en=JSON.parse(Y),ei=en;if("system"===ei.type){if("connected"===ei.event)et=Object.assign(Object.assign({},en),{kind:"connected"});else{if("disconnected"!==ei.event)return null;et=Object.assign(Object.assign({},en),{kind:"disconnected"})}}else if("message"===ei.type){if("group"===ei.from){let Y=tB(en.data,en.dataType);if(null===Y)return null;et=Object.assign(Object.assign({},en),{data:Y,kind:"groupData"})}else{if("server"!==ei.from)return null;let Y=tB(en.data,en.dataType);if(null===Y)return null;et=Object.assign(Object.assign({},en),{data:Y,kind:"serverData"})}}else{if("ack"!==ei.type)return null;et=Object.assign(Object.assign({},en),{kind:"ack"})}return et}function tD(Y){let et;switch(Y.kind){case"joinGroup":et={type:"joinGroup",group:Y.group,ackId:Y.ackId};break;case"leaveGroup":et={type:"leaveGroup",group:Y.group,ackId:Y.ackId};break;case"sendEvent":et={type:"event",event:Y.event,ackId:Y.ackId,dataType:Y.dataType,data:tF(Y.data,Y.dataType)};break;case"sendToGroup":et={type:"sendToGroup",group:Y.group,ackId:Y.ackId,dataType:Y.dataType,data:tF(Y.data,Y.dataType),noEcho:Y.noEcho};break;case"sequenceAck":et={type:"sequenceAck",sequenceId:Y.sequenceId};break;default:throw Error(`Unsupported type: ${Y.kind}`)}return JSON.stringify(et)}function tF(Y,et){switch(et){case"text":if("string"!=typeof Y)throw TypeError("Message must be a string.");return Y;case"json":return Y;case"binary":case"protobuf":if(Y instanceof ArrayBuffer)return tL.lW.from(Y).toString("base64");throw TypeError("Message must be a ArrayBuffer")}}function tB(Y,et){if("text"===et){if("string"!=typeof Y)throw TypeError("Message must be a string when dataType is text");return Y}if("json"===et)return Y;if("binary"!==et&&"protobuf"!==et)return null;{let et=tL.lW.from(Y,"base64");return et.buffer.slice(et.byteOffset,et.byteOffset+et.byteLength)}}class tU{constructor(){this.isReliableSubProtocol=!0,this.name="json.reliable.webpubsub.azure.v1"}parseMessages(Y){return tR(Y)}writeMessage(Y){return tD(Y)}}let tH=()=>new tU;class tG{constructor(Y,et){this._socket=new WebSocket(Y,et),this._socket.binaryType="arraybuffer"}onopen(Y){this._socket.onopen=Y}onclose(Y){this._socket.onclose=et=>Y(et.code,et.reason)}onerror(Y){this._socket.onerror=et=>Y(et)}onmessage(Y){this._socket.onmessage=et=>Y(et.data)}close(Y,et){this._socket.close(Y,et)}send(Y,et){return new Promise((et,en)=>{try{this._socket.send(Y),et()}catch(Y){en(Y)}})}isOpen(){return this._socket.readyState===WebSocket.OPEN}}class tV{create(Y,et){return new tG(Y,et)}}async function tW(Y,et){let en;if(et.aborted)throw new eJ("The operation was aborted.");let ei=new Promise((Y,ei)=>{en=()=>{ei(new eJ("The operation was aborted."))},et.addEventListener("abort",en)});try{return await Promise.race([Y,ei])}finally{et.removeEventListener("abort",en)}}var tq=en(14984).lW;!function(Y){Y.Stopped="Stopped",Y.Disconnected="Disconnected",Y.Connecting="Connecting",Y.Connected="Connected",Y.Recovering="Recovering"}(ea||(ea={}));class tZ{constructor(Y,et){this._emitter=new(e6()),this._isStopping=!1,this._isInitialConnected=!1,"string"==typeof Y?this._credential={getClientAccessUrl:Y}:this._credential=Y,null==et&&(et={}),this._buildDefaultOptions(et),this._options=et,this._messageRetryPolicy=new tK(this._options.messageRetryOptions),this._reconnectRetryPolicy=new tK(this._options.reconnectRetryOptions),this._protocol=this._options.protocol,this._groupMap=new Map,this._ackMap=new Map,this._sequenceId=new tQ,this._state=ea.Stopped,this._ackId=0}nextAckId(){return this._ackId=this._ackId+1,this._ackId}async start(Y){let et;if(this._isStopping)throw Error("Can't start a client during stopping");if(this._state!==ea.Stopped)throw Error("Client can be only started when it's Stopped");Y&&(et=Y.abortSignal);try{await this._startCore(et)}catch(Y){throw this._changeState(ea.Stopped),this._isStopping=!1,Y}}async _startFromRestarting(Y){if(this._state!==ea.Disconnected)throw Error("Client can be only restarted when it's Disconnected");try{tN.verbose("Staring reconnecting."),await this._startCore(Y)}catch(Y){throw this._changeState(ea.Disconnected),Y}}async _startCore(Y){if(this._changeState(ea.Connecting),tN.info("Staring a new connection"),this._sequenceId.reset(),this._isInitialConnected=!1,this._lastCloseEvent=void 0,this._lastDisconnectedMessage=void 0,this._connectionId=void 0,this._reconnectionToken=void 0,this._uri=void 0,"string"==typeof this._credential.getClientAccessUrl?this._uri=this._credential.getClientAccessUrl:this._uri=await this._credential.getClientAccessUrl({abortSignal:Y}),"string"!=typeof this._uri)throw Error(`The clientAccessUrl must be a string but currently it's ${typeof this._uri}`);await this._connectCore(this._uri)}stop(){this._state===ea.Stopped||this._isStopping||(this._isStopping=!0,this._wsClient&&this._wsClient.isOpen()?this._wsClient.close():this._isStopping=!1)}on(Y,et){this._emitter.on(Y,et)}off(Y,et){this._emitter.removeListener(Y,et)}_emitEvent(Y,et){this._emitter.emit(Y,et)}async sendEvent(Y,et,en,ei){return await this._operationExecuteWithRetry(()=>this._sendEventAttempt(Y,et,en,ei),null==ei?void 0:ei.abortSignal)}async _sendEventAttempt(Y,et,en,ei){var eo;let ea=null!==(eo=null==ei?void 0:ei.fireAndForget)&&void 0!==eo&&eo;if(!ea)return await this._sendMessageWithAckId(ei=>({kind:"sendEvent",dataType:en,data:et,ackId:ei,event:Y}),null==ei?void 0:ei.ackId,null==ei?void 0:ei.abortSignal);let eu={kind:"sendEvent",dataType:en,data:et,event:Y};return await this._sendMessage(eu,null==ei?void 0:ei.abortSignal),{}}async joinGroup(Y,et){return await this._operationExecuteWithRetry(()=>this._joinGroupAttempt(Y,et),null==et?void 0:et.abortSignal)}async _joinGroupAttempt(Y,et){let en=this._getOrAddGroup(Y),ei=await this._joinGroupCore(Y,et);return en.isJoined=!0,ei}async _joinGroupCore(Y,et){return await this._sendMessageWithAckId(et=>({group:Y,ackId:et,kind:"joinGroup"}),null==et?void 0:et.ackId,null==et?void 0:et.abortSignal)}async leaveGroup(Y,et){return await this._operationExecuteWithRetry(()=>this._leaveGroupAttempt(Y,et),null==et?void 0:et.abortSignal)}async _leaveGroupAttempt(Y,et){let en=this._getOrAddGroup(Y),ei=await this._sendMessageWithAckId(et=>({group:Y,ackId:et,kind:"leaveGroup"}),null==et?void 0:et.ackId,null==et?void 0:et.abortSignal);return en.isJoined=!1,ei}async sendToGroup(Y,et,en,ei){return await this._operationExecuteWithRetry(()=>this._sendToGroupAttempt(Y,et,en,ei),null==ei?void 0:ei.abortSignal)}async _sendToGroupAttempt(Y,et,en,ei){var eo,ea;let eu=null!==(eo=null==ei?void 0:ei.fireAndForget)&&void 0!==eo&&eo,ec=null!==(ea=null==ei?void 0:ei.noEcho)&&void 0!==ea&&ea;if(!eu)return await this._sendMessageWithAckId(ei=>({kind:"sendToGroup",group:Y,dataType:en,data:et,ackId:ei,noEcho:ec}),null==ei?void 0:ei.ackId,null==ei?void 0:ei.abortSignal);let ed={kind:"sendToGroup",group:Y,dataType:en,data:et,noEcho:ec};return await this._sendMessage(ed,null==ei?void 0:ei.abortSignal),{}}_getWebSocketClientFactory(){return new tV}_connectCore(Y){if(this._isStopping)throw Error("Can't start a client during stopping");return new Promise((et,en)=>{let ei=this._wsClient=this._getWebSocketClientFactory().create(Y,this._protocol.name);ei.onopen(()=>{if(this._isStopping){try{ei.close()}catch(Y){}en(Error("The client is stopped"))}tN.verbose("WebSocket connection has opened"),this._changeState(ea.Connected),this._protocol.isReliableSubProtocol&&(null!=this._sequenceAckTask&&this._sequenceAckTask.abort(),this._sequenceAckTask=new tX(async()=>{let[Y,et]=this._sequenceId.tryGetSequenceId();if(Y){let Y={kind:"sequenceAck",sequenceId:et};await this._sendMessage(Y)}},1e3)),et()}),ei.onerror(Y=>{null!=this._sequenceAckTask&&this._sequenceAckTask.abort(),en(Error(Y))}),ei.onclose((Y,et)=>{this._state===ea.Connected?(tN.verbose("WebSocket closed after open"),null!=this._sequenceAckTask&&this._sequenceAckTask.abort(),tN.info(`WebSocket connection closed. Code: ${Y}, Reason: ${et}`),this._lastCloseEvent={code:Y,reason:et},this._handleConnectionClose.call(this)):(tN.verbose("WebSocket closed before open"),en(Error(`Failed to start WebSocket: ${Y}`)))}),ei.onmessage(Y=>{let et;let en=Y=>{if(this._ackMap.has(Y.ackId)){let et=this._ackMap.get(Y.ackId);this._ackMap.delete(Y.ackId);let en=null!=Y.error&&"Duplicate"===Y.error.name;Y.success||en?et.resolve({ackId:Y.ackId,isDuplicated:en}):et.reject(new e7("Failed to send message.",{ackId:Y.ackId,errorDetail:Y.error}))}},ei=async Y=>{if(this._connectionId=Y.connectionId,this._reconnectionToken=Y.reconnectionToken,!this._isInitialConnected){if(this._isInitialConnected=!0,this._options.autoRejoinGroups){let Y=[];this._groupMap.forEach(et=>{et.isJoined&&Y.push((async()=>{try{await this._joinGroupCore(et.name)}catch(Y){this._safeEmitRejoinGroupFailed(et.name,Y)}})())});try{await Promise.all(Y)}catch(Y){}}this._safeEmitConnected(Y.connectionId,Y.userId)}},eo=Y=>{this._lastDisconnectedMessage=Y},ea=Y=>{(null==Y.sequenceId||this._sequenceId.tryUpdate(Y.sequenceId))&&this._safeEmitGroupMessage(Y)},eu=Y=>{(null==Y.sequenceId||this._sequenceId.tryUpdate(Y.sequenceId))&&this._safeEmitServerMessage(Y)};try{let en;if(en=Array.isArray(Y)?tq.concat(Y):Y,et=this._protocol.parseMessages(en),null===et)return}catch(Y){throw tN.warning("An error occurred while parsing the message from service",Y),Y}try{switch(et.kind){case"ack":en(et);break;case"connected":ei(et);break;case"disconnected":eo(et);break;case"groupData":ea(et);break;case"serverData":eu(et)}}catch(Y){tN.warning(`An error occurred while handling the message with kind: ${et.kind} from service`,Y)}})})}async _handleConnectionCloseAndNoRecovery(){this._state=ea.Disconnected,this._safeEmitDisconnected(this._connectionId,this._lastDisconnectedMessage),this._options.autoReconnect?await this._autoReconnect():await this._handleConnectionStopped()}async _autoReconnect(){let Y=!1,et=0;try{for(;!this._isStopping;)try{await this._startFromRestarting(),Y=!0;break}catch(en){tN.warning("An attempt to reconnect connection failed.",en),et++;let Y=this._reconnectRetryPolicy.nextRetryDelayInMs(et);if(null==Y)break;try{tN.verbose(`Delay time for reconnect attempt ${et}: ${Y}`),await e4(Y)}catch(Y){}}}finally{Y||this._handleConnectionStopped()}}_handleConnectionStopped(){this._isStopping=!1,this._state=ea.Stopped,this._safeEmitStopped()}async _sendMessage(Y,et){let en=this._protocol.writeMessage(Y);if(!this._wsClient||!this._wsClient.isOpen())throw Error("The connection is not connected.");await this._wsClient.send(en,et)}async _sendMessageWithAckId(Y,et,en){null==et&&(et=this.nextAckId());let ei=Y(et);this._ackMap.has(et)||this._ackMap.set(et,new tY(et));let eo=this._ackMap.get(et);try{await this._sendMessage(ei,en)}catch(en){this._ackMap.delete(et);let Y="";throw en instanceof Error&&(Y=en.message),new e7(Y,{ackId:et})}if(en)try{return await tW(eo.promise(),en)}catch(Y){if(Y instanceof Error&&"AbortError"===Y.name)throw new e7("Cancelled by abortSignal",{ackId:et});throw Y}return await eo.promise()}async _handleConnectionClose(){if(this._ackMap.forEach((Y,et)=>{this._ackMap.delete(et)&&Y.reject(new e7("Connection is disconnected before receive ack from the service",{ackId:Y.ackId}))}),this._isStopping){tN.warning("The client is stopping state. Stop recovery."),this._handleConnectionCloseAndNoRecovery();return}if(this._lastCloseEvent&&1008===this._lastCloseEvent.code){tN.warning("The websocket close with status code 1008. Stop recovery."),this._handleConnectionCloseAndNoRecovery();return}if(!this._protocol.isReliableSubProtocol){tN.warning("The protocol is not reliable, recovery is not applicable"),this._handleConnectionCloseAndNoRecovery();return}let Y=this._buildRecoveryUri();if(!Y){tN.warning("Connection id or reconnection token is not available"),this._handleConnectionCloseAndNoRecovery();return}let et=!1;this._state=ea.Recovering;let en=e0.timeout(3e4);try{for(;!en.aborted||this._isStopping;)try{await this._connectCore.call(this,Y),et=!0;return}catch(Y){await e4(1e3)}}finally{et||(tN.warning("Recovery attempts failed more then 30 seconds or the client is stopping"),this._handleConnectionCloseAndNoRecovery())}}_safeEmitConnected(Y,et){this._emitEvent("connected",{connectionId:Y,userId:et})}_safeEmitDisconnected(Y,et){this._emitEvent("disconnected",{connectionId:Y,message:et})}_safeEmitGroupMessage(Y){this._emitEvent("group-message",{message:Y})}_safeEmitServerMessage(Y){this._emitEvent("server-message",{message:Y})}_safeEmitStopped(){this._emitEvent("stopped",{})}_safeEmitRejoinGroupFailed(Y,et){this._emitEvent("rejoin-group-failed",{group:Y,error:et})}_buildDefaultOptions(Y){return null==Y.autoReconnect&&(Y.autoReconnect=!0),null==Y.autoRejoinGroups&&(Y.autoRejoinGroups=!0),null==Y.protocol&&(Y.protocol=tH()),this._buildMessageRetryOptions(Y),this._buildReconnectRetryOptions(Y),Y}_buildMessageRetryOptions(Y){Y.messageRetryOptions||(Y.messageRetryOptions={}),(null==Y.messageRetryOptions.maxRetries||Y.messageRetryOptions.maxRetries<0)&&(Y.messageRetryOptions.maxRetries=3),(null==Y.messageRetryOptions.retryDelayInMs||Y.messageRetryOptions.retryDelayInMs<0)&&(Y.messageRetryOptions.retryDelayInMs=1e3),(null==Y.messageRetryOptions.maxRetryDelayInMs||Y.messageRetryOptions.maxRetryDelayInMs<0)&&(Y.messageRetryOptions.maxRetryDelayInMs=3e4),null==Y.messageRetryOptions.mode&&(Y.messageRetryOptions.mode="Fixed")}_buildReconnectRetryOptions(Y){Y.reconnectRetryOptions||(Y.reconnectRetryOptions={}),(null==Y.reconnectRetryOptions.maxRetries||Y.reconnectRetryOptions.maxRetries<0)&&(Y.reconnectRetryOptions.maxRetries=Number.MAX_VALUE),(null==Y.reconnectRetryOptions.retryDelayInMs||Y.reconnectRetryOptions.retryDelayInMs<0)&&(Y.reconnectRetryOptions.retryDelayInMs=1e3),(null==Y.reconnectRetryOptions.maxRetryDelayInMs||Y.reconnectRetryOptions.maxRetryDelayInMs<0)&&(Y.reconnectRetryOptions.maxRetryDelayInMs=3e4),null==Y.reconnectRetryOptions.mode&&(Y.reconnectRetryOptions.mode="Fixed")}_buildRecoveryUri(){if(this._connectionId&&this._reconnectionToken&&this._uri){let Y=new URL(this._uri);return Y.searchParams.append("awps_connection_id",this._connectionId),Y.searchParams.append("awps_reconnection_token",this._reconnectionToken),Y.toString()}return null}_getOrAddGroup(Y){return this._groupMap.has(Y)||this._groupMap.set(Y,new t$(Y)),this._groupMap.get(Y)}_changeState(Y){tN.verbose(`The client state transfer from ${this._state.toString()} to ${Y.toString()}`),this._state=Y}async _operationExecuteWithRetry(Y,et){let en=0;for(;;)try{return await Y.call(this)}catch(ei){en++;let Y=this._messageRetryPolicy.nextRetryDelayInMs(en);if(null==Y||(await e4(Y),null==et?void 0:et.aborted))throw ei}}}class tK{constructor(Y){this._retryOptions=Y,this._maxRetriesToGetMaxDelay=Math.ceil(Math.log2(this._retryOptions.maxRetryDelayInMs)-Math.log2(this._retryOptions.retryDelayInMs)+1)}nextRetryDelayInMs(Y){return Y>this._retryOptions.maxRetries?null:"Fixed"===this._retryOptions.mode?this._retryOptions.retryDelayInMs:this._calculateExponentialDelay(Y)}_calculateExponentialDelay(Y){return Y>=this._maxRetriesToGetMaxDelay?this._retryOptions.maxRetryDelayInMs:(1<<Y-1)*this._retryOptions.retryDelayInMs}}class t${constructor(Y){this.isJoined=!1,this.name=Y}}class tY{constructor(Y){this._promise=new Promise((Y,et)=>{this._resolve=Y,this._reject=et}),this.ackId=Y}promise(){return this._promise}resolve(Y){this._resolve(Y)}reject(Y){this._reject(Y)}}class tQ{constructor(){this._sequenceId=0,this._isUpdate=!1}tryUpdate(Y){return this._isUpdate=!0,Y>this._sequenceId&&(this._sequenceId=Y,!0)}tryGetSequenceId(){return this._isUpdate?(this._isUpdate=!1,[!0,this._sequenceId]):[!1,null]}reset(){this._sequenceId=0,this._isUpdate=!1}}class tX{constructor(Y,et,en){this._func=Y,this._abortController=new e0,this._interval=et,this._obj=en,this._start()}abort(){try{this._abortController.abort()}catch(Y){}}async _start(){let Y=this._abortController.signal;for(;!Y.aborted;)try{await this._func(this._obj)}catch(Y){}finally{await e4(this._interval)}}}function tJ(Y){return Y.wss_url}function t9(Y,et,en){return t5.apply(this,arguments)}function t5(){return(t5=(0,ed._)(function(Y,et,en){var ei;return(0,eg.Jh)(this,function(eo){switch(eo.label){case 0:return(ei=new tZ(Y)).on("server-message",function(Y){var en=atob(Y.message.data.body).trim();en.startsWith("data: ")&&et({id:"",event:"",data:en.replace("data: ","")})}),en.addEventListener("abort",function(){ei.stop()}),[4,ei.start()];case 1:return eo.sent(),[2]}})})).apply(this,arguments)}var t4=en(93028),t3=function(){var Y=(0,ed._)(function(){return(0,eg.Jh)(this,function(Y){switch(Y.label){case 0:if(eu)return[3,2];return[4,en.e(4113).then(en.bind(en,54113))];case 1:eu=(0,Y.sent().default.loadStripe)("pk_live_51HOrSwC6h1nxGoI3lTAgRjYVrz4dU3fVOabyCcKR3pbEJguCVAlqCxdxCUvoRh1XWwRacViovU3kLKvpkjh7IqkW00iXQsjo3n",{betas:["embedded_checkout_beta_1"]}),Y.label=2;case 2:return[2,eu]}})});return function(){return Y.apply(this,arguments)}}(),t6=en(77117),t7=en(40971),t8=en(15066),nt=en(21546),nn=eP.g.getTracer("completion"),ni="https://chat.openai.com/backend-api",na="https://chat.openai.com/public-api",nu="https://chat.openai.com/public-api/referral",nd=(0,eF.ZP)(function(){return null});!function(Y){Y[Y.Required=0]="Required",Y[Y.SendIfAvailable=1]="SendIfAvailable",Y[Y.Anonymous=2]="Anonymous"}(ec||(ec={}));var nf=null;function nh(){return np.apply(this,arguments)}function np(){return(np=(0,ed._)(function(){return(0,eg.Jh)(this,function(Y){switch(Y.label){case 0:if(nf)return[3,2];return[4,en.e(2186).then(en.bind(en,19271))];case 1:nf=Y.sent().default,Y.label=2;case 2:return[2,nf]}})})).apply(this,arguments)}var ng=function(Y){return(null==Y?void 0:Y.code)==="challenge_required"},nv=function(){function Y(){(0,ef._)(this,Y)}return Y.setClientLocale=function(Y){this.clientLocale=Y},Y.getAuthedHeaders=function(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},et=this;return(0,ed._)(function(){var en,ei,eo,ea,eu,ec;return(0,eg.Jh)(this,function(ed){switch(ed.label){case 0:if(!(null!==(ei=Y.accessToken)&&void 0!==ei))return[3,1];return ea=ei,[3,3];case 1:return[4,eH.E.fetchQuery(ez.au)];case 2:ea=null===(en=ed.sent())||void 0===en?void 0:en.accessToken,ed.label=3;case 3:if(null==(eo=ea)){if(!0===Y.isAuthOptional)return[2,{}];throw console.error("No access token when trying to use AuthHeader"),Error("No access token when trying to use AuthHeader")}return eu={"Accept-Language":et.clientLocale,Authorization:"Bearer ".concat(eo)},"string"==typeof(ec=eO.b.getCookie(eO.c.Workspace))&&ec!==eK.b&&(eu["ChatGPT-Account-ID"]=ec),[2,eu]}})})()},Y.fetch=function(Y,et){var en=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,ed._)(function(){var ei,eo,ea,eu,ec,ed,ef,ep,em,ey,eb,ek,ew,e_;return(0,eg.Jh)(this,function(eg){switch(eg.label){case 0:return ei=(0,eh._)({credentials:"include"},et),[4,fetch(Y,ei)];case 1:if(!((eo=eg.sent()).status>=500))return[3,6];en.intercomEventOnError&&(0,nt.LJ)(en.intercomEventOnError,{url:Y,status:eo.status.toString()}),eg.label=2;case 2:return eg.trys.push([2,4,,5]),[4,eo.json()];case 3:return ea=null!==(ep=null!==(ef=null==(eu=null!==(ed=null==(ec=eg.sent())?void 0:ec.detail)&&void 0!==ed?ed:null==ec?void 0:ec.error)?void 0:eu.message)&&void 0!==ef?ef:eu)&&void 0!==ep?ep:"Unknown server error",[3,5];case 4:return console.error("Failed to parse error response",eg.sent()),[3,5];case 5:throw eU.U.addAction("fetch_error_".concat(eo.status),{url:Y,errorMessage:null!=ea?ea:""}),new t4.Q0(ea,"fetch_error_5XX",null!=eu?eu:{});case 6:if(!(eo.status>=400))return[3,11];eg.label=7;case 7:return eg.trys.push([7,9,,10]),[4,eo.json()];case 8:return em=(null==(ey=eg.sent())?void 0:ey.detail)||(null==ey?void 0:ey.error),[3,10];case 9:return console.error("Failed to parse error response",eg.sent()),[3,10];case 10:if(eb=Y.includes("/aip"),eI.D0&&eb&&401===eo.status&&console.error("ChatGPT cannot authenticate with plugin service! Please make sure the 'AUTH_SERVICE' variable in your plugins service is set to what you expect. For example, if you've logged in to the development version of Auth0, you may want to set it to 'openai_auth0_dev' instead of 'openai'."),Y.includes("/accounts/check/")&&em&&"request_account_access"===em.code&&nd.setState({accountName:em.account_name,ownerEmail:em.owner_email,userEmail:em.user_email,accountId:em.account_id,hasActiveRequest:em.has_active_request}),(null==em?void 0:em.code)==="deactivated_workspace")return window.location.href.includes("/workspace/deactivated")||(window.location.href="/workspace/deactivated"),[2];if(console.error("API error",Y,em),((null==em?void 0:em.code)==="expired_session_key"||(null==em?void 0:em.code)==="token_expired")&&(console.error("Token expired",Y,em),window._oaiHandleSessionExpired("fetch",JSON.stringify(em))),(null==em?void 0:em.code)==="invalid_account_id_header"&&"string"==typeof eO.b.getCookie(eO.c.Workspace))return eO.b.deleteCookie(eO.c.Workspace),(0,t7.M)(),[2];if(e_="string"==typeof em?em:null!==(ew=null!==(ek=null==em?void 0:em.message)&&void 0!==ek?ek:null==em?void 0:em.description)&&void 0!==ew?ew:t4.I,null==em?void 0:em.type)throw en.intercomEventOnError&&(0,nt.LJ)(en.intercomEventOnError,{url:Y,status:eo.status.toString(),message:e_}),eU.U.addAction("fetch_user_error_".concat(eo.status),{url:Y,error:em}),new t4.gK(e_,eo.status,null==em?void 0:em.code,null==em?void 0:em.type);throw eU.U.addAction("fetch_error_".concat(eo.status),{url:Y,error:em}),new t4.Q0(e_,"fetch_error_4XX",null!=em?em:{});case 11:if(204===eo.status)return[2,{}];return[2,eo.json()]}})})()},Y.fetch2=function(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},en=et.method,ei=void 0===en?"GET":en,eo=et.params,ea=et.body,eu=et.intercomEventOnError,ef=et.authOption,ep=this;return(0,ed._)(function(){var et,en,ed,em,ey;return(0,eg.Jh)(this,function(eg){switch(eg.label){case 0:if(eo&&(Y+="?"+new URLSearchParams(eo).toString()),et=ep.fetch,en=[Y],ed={method:ei,body:ea},em=[{}],ef!==ec.Anonymous)return[3,1];return ey={},[3,3];case 1:return[4,ep.getAuthedHeaders({isAuthOptional:ef===ec.SendIfAvailable})];case 2:ey=eg.sent(),eg.label=3;case 3:return[2,et.apply(ep,en.concat([(ed.headers=eh._.apply(void 0,em.concat([ey,null!=ea?{"Content-Type":"application/json"}:null])),ed),{intercomEventOnError:eu}]))]}})})()},Y.get=function(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},en=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){return[2,en.fetch2(Y,et)]})})()},Y.delete=function(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},en=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){return[2,en.fetch2(Y,(0,ep._)((0,eh._)({},et),{method:"DELETE"}))]})})()},Y.post=function(Y,et){var en=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},ei=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(eo){return[2,ei.fetch2(Y,(0,ep._)((0,eh._)({},en),{method:"POST",body:JSON.stringify(et)}))]})})()},Y.deleteWithPayload=function(Y,et){var en=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},ei=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(eo){return[2,ei.fetch2(Y,(0,ep._)((0,eh._)({},en),{method:"DELETE",body:JSON.stringify(et)}))]})})()},Y.patch=function(Y,et){var en=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},ei=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(eo){return[2,ei.fetch2(Y,(0,ep._)((0,eh._)({},en),{method:"PATCH",body:JSON.stringify(et)}))]})})()},Y.put=function(Y,et){var en=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},ei=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(eo){return[2,ei.fetch2(Y,(0,ep._)((0,eh._)({},en),{method:"PUT",body:JSON.stringify(et)}))]})})()},Y.patchWorkspace=function(Y){var et=Y.workspaceId,en=Y.name,ei=Y.profile_picture_id,eo=Y.profile_picture_url,ea=this;return(0,ed._)(function(){var Y;return(0,eg.Jh)(this,function(eu){return Y={name:en},void 0!==ei&&(null===ei?(Y.profile_picture_id="",Y.profile_picture_url=""):(Y.profile_picture_id=ei,Y.profile_picture_url=eo)),[2,ea.patch("".concat(ni,"/accounts/").concat(et),Y)]})})()},Y.getWorkspaceUsers=function(Y,et,en){var ei=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",eo=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ea){return[2,eo.get("".concat(ni,"/accounts/").concat(Y,"/users"),{params:{offset:et.toString(),limit:en.toString(),query:ei}})]})})()},Y.getWorkspaceInvites=function(Y,et,en){var ei=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",eo=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ea){return[2,eo.get("".concat(ni,"/accounts/").concat(Y,"/invites"),{params:{offset:et.toString(),limit:en.toString(),query:ei}})]})})()},Y.patchWorkspaceInvite=function(Y,et,en){var ei=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(eo){return[2,ei.patch("".concat(ni,"/accounts/").concat(Y,"/invites/").concat(et),{role:en.role,accept_request:en.acceptRequest})]})})()},Y.deleteWorkspaceInvite=function(Y,et){var en=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){return[2,en.deleteWithPayload("".concat(ni,"/accounts/").concat(Y,"/invites"),{email_address:et})]})})()},Y.getWorkspaceInviteRequests=function(Y,et,en){var ei=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",eo=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ea){return[2,eo.get("".concat(ni,"/accounts/").concat(Y,"/invites"),{params:{include_pending:(!1).toString(),include_requests:(!0).toString(),offset:et.toString(),limit:en.toString(),query:ei}})]})})()},Y.updateWorkspaceUserRole=function(Y,et,en){var ei=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(eo){return[2,ei.patch("".concat(ni,"/accounts/").concat(Y,"/users/").concat(et),{role:en})]})})()},Y.updateWorkspaceUserOnboardingInformation=function(Y,et,en){var ei=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(eo){return[2,ei.patch("".concat(ni,"/accounts/").concat(Y,"/users/").concat(et),{onboarding_information:en})]})})()},Y.removeWorkspaceUser=function(Y,et){var en=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){return[2,en.delete("".concat(ni,"/accounts/").concat(Y,"/users/").concat(et))]})})()},Y.addWorkspaceUsers=function(Y,et,en,ei){var eo=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ea){return[2,eo.post("".concat(ni,"/accounts/").concat(Y,"/invites"),{email_addresses:et,role:en,resend_emails:ei})]})})()},Y.requestWorkspaceAccess=function(Y){var et=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(en){return[2,et.post("".concat(ni,"/accounts/").concat(Y,"/invites/request"),{account_id:Y})]})})()},Y.getWorkspaceSettings=function(Y){var et=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(en){return[2,et.get("".concat(ni,"/accounts/").concat(Y,"/settings"))]})})()},Y.setWorkspaceBetaFeature=function(Y,et,en){var ei=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(eo){return[2,ei.post("".concat(ni,"/accounts/").concat(Y,"/beta_features"),{feature:et,value:en})]})})()},Y.setWorkspaceShareSetting=function(Y,et,en){var ei=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(eo){return[2,ei.post("".concat(ni,"/accounts/").concat(Y,"/settings/share_settings"),{setting:et,value:en})]})})()},Y.setWorkspaceThirdPartyGPTSetting=function(Y,et){var en=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){return[2,en.post("".concat(ni,"/accounts/").concat(Y,"/settings/third_party_gpts"),{value:et})]})})()},Y.getWorkspaceAnalytics=function(Y){var et=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(en){return[2,et.get("".concat(ni,"/accounts/").concat(Y,"/analytics"))]})})()},Y.getWorkspaceIdentitySettings=function(Y){var et=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(en){return[2,et.get("".concat(ni,"/accounts/").concat(Y,"/identity"))]})})()},Y.setWorkspaceShouldAutoProvision=function(Y,et){var en=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){return[2,en.post("".concat(ni,"/accounts/").concat(Y,"/settings/auto_provision"),{value:et})]})})()},Y.getSubscription=function(Y){var et=this;return(0,ed._)(function(){var en;return(0,eg.Jh)(this,function(ei){return en=eD()(Y,eL()),[2,et.get("".concat(ni,"/subscriptions"),{params:en})]})})()},Y.getInvoices=function(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},en=this;return(0,ed._)(function(){var ei,eo;return(0,eg.Jh)(this,function(ea){if(void 0!==et.endingBefore&&void 0!==et.startingAfter)throw new t4.gK("Both an endingBefore and startingAfter parameter were provided. Please only provide one or the other.");return ei=eD()(Y,eL()),eo=new URLSearchParams(ei),void 0!==et.limit&&eo.append("limit",et.limit.toString()),void 0!==et.endingBefore?eo.append("ending_before",et.endingBefore):void 0!==et.startingAfter&&eo.append("starting_after",et.startingAfter),[2,en.get("".concat(ni,"/invoices?").concat(eo))]})})()},Y.createSAMLConnection=function(Y,et,en){var ei=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(eo){return[2,ei.post("".concat(ni,"/accounts/").concat(Y,"/sso/connections/saml"),{sign_in_endpoint:et,cert:en})]})})()},Y.updateSAMLConnection=function(Y,et,en){var ei=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(eo){return[2,ei.patch("".concat(ni,"/accounts/").concat(Y,"/sso/connections"),{id:et,sign_in_endpoint:en.signInEndpoint,cert:en.cert,active:en.active,enforced_clients:en.enforcedClients})]})})()},Y.deleteSAMLConnection=function(Y,et){var en=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){return[2,en.delete("".concat(ni,"/accounts/").concat(Y,"/sso/connections/").concat(et))]})})()},Y.addDomainToWorkspace=function(Y,et){var en=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){return[2,en.post("".concat(ni,"/accounts/").concat(Y,"/domains"),{hostname:et})]})})()},Y.removeDomainFromWorkspace=function(Y,et){var en=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){return[2,en.delete("".concat(ni,"/accounts/").concat(Y,"/domains/").concat(et))]})})()},Y.checkDomainForWorkspace=function(Y,et){var en=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){return[2,en.post("".concat(ni,"/accounts/").concat(Y,"/domains/").concat(et,"/check"),{})]})})()},Y.deleteMfa=function(){return this.delete("/api/auth/mfa")},Y.getThreadInterpreterState=function(Y){var et=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(en){return[2,et.get("".concat(ni,"/conversation/").concat(Y,"/interpreter"))]})})()},Y.uploadFileToAzureStorage=function(Y,et,en){return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){switch(ei.label){case 0:return[4,nh()];case 1:return[4,ei.sent().request({method:"put",url:et,data:Y,headers:{"x-ms-blob-type":"BlockBlob","x-ms-version":"2020-04-08","Content-Type":Y.type},onUploadProgress:function(Y){void 0!==Y.progress&&en&&en(Y.progress)}})];case 2:return[2,ei.sent()]}})})()},Y.downloadFromInterpreter=function(Y,et,en){var ei=this;return(0,ed._)(function(){var eo;return(0,eg.Jh)(this,function(ea){switch(ea.label){case 0:return[4,ei.get("".concat(ni,"/conversation/").concat(et,"/interpreter/download"),{params:{message_id:Y,sandbox_path:en}})];case 1:if((eo=ea.sent()).status===eG.KF.Success)return[2,eo];throw new t4.gK("Could not download file from advanced data analysis",void 0,"error_code"in eo?eo.error_code:"unknown_error")}})})()},Y.getInterpreterState=function(Y){return this.get("".concat(ni,"/conversation/").concat(Y,"/interpreter"))},Y.sendDocument=function(){return this.get("".concat(ni,"/private"))},Y.createOrUpdateUserSystemMessage=function(Y){var et=Y.aboutUserMessage,en=Y.aboutModelMessage,ei=Y.enabled;return this.post("".concat(ni,"/user_system_messages"),{about_user_message:et,about_model_message:en,enabled:ei})},Y.updateUserSystemMessageEnabled=function(Y){return this.post("".concat(ni,"/user_system_message_enabled"),{enabled:Y})},Y.getUserSystemMessage=function(){return this.get("".concat(ni,"/user_system_messages"))},Y.setUserSettingsBetaFeature=function(Y,et){return this.post("".concat(ni,"/settings/beta_features"),{},{params:{feature:Y,value:et.toString()}})},Y.getUserSettingBetaFeatures=function(){return this.get("".concat(ni,"/settings/beta_features"))},Y.getUserSettings=function(){return this.get("".concat(ni,"/settings/user"))},Y.updateUserSetting=function(Y,et){return this.patch("".concat(ni,"/settings/account_user_setting"),{},{params:{feature:Y,value:et.toString()}})},Y.clearUserMemory=function(){return this.delete("".concat(ni,"/settings/clear_account_user_memory"))},Y.announcementViewed=function(Y){var et=new URLSearchParams({announcement_id:Y}),en="".concat(ni,"/settings/announcement_viewed?").concat(et.toString());return this.post(en,{})},Y.getModels=function(Y){return this.get("".concat(ni,"/models"),{params:{history_and_training_disabled:Y.toString()}})},Y.getConversations=function(Y,et){return this.get("".concat(ni,"/conversations"),{params:{offset:Y.toString(),limit:et.toString(),order:"updated"},intercomEventOnError:"fetch-error:conversations:get"})},Y.getConversation=function(Y){return this.get("".concat(ni,"/conversation/").concat(Y),{intercomEventOnError:"fetch-error:conversation:get"})},Y.generateTitle=function(Y,et,en){return this.post("".concat(ni,"/conversation/gen_title/").concat(Y),{message_id:et},{intercomEventOnError:"fetch-error:conversation:generate-title"})},Y.generateSuggestions=function(Y,et,en){return this.post("".concat(ni,"/conversation/").concat(Y,"/experimental/generate_suggestions"),{message_id:et,model:en,num_suggestions:2},{intercomEventOnError:"fetch-error:conversation:generate-suggestions"})},Y.patchConversation=function(Y,et){return this.patch("".concat(ni,"/conversation/").concat(Y),et,{intercomEventOnError:"fetch-error:conversation:edit"})},Y.deleteConversations=function(){return this.patch("".concat(ni,"/conversations"),{is_visible:!1},{intercomEventOnError:"fetch-error:conversations:delete"})},Y.getLoginLink=function(Y){return this.post("".concat(ni,"/bypass/link"),{email:Y})},Y.publicApiCompletionStream=function(Y,et,en){var ei=this;return(0,ed._)(function(){var eo;return(0,eg.Jh)(this,function(ea){return[2,(eo=function(){var ea=(0,ed._)(function(){var ea,eu,ec,ef,ep,em,ey,eb,ek,ew,e_,eE,eC,eT,eS,eM,eO,eI,eN,eL,eR,eD=arguments;function eF(Y){if("[DONE]"===Y.data)ew.abort(),et({type:"done"});else if("ping"===Y.event);else try{var en=JSON.parse(Y.data);if(en.error){var ei=new t4.Q0(en.error);throw et({type:"error",error:ei}),ei}"moderation_response"in en?et({type:"moderation",conversationId:en.conversation_id,messageId:en.message_id,isCompletion:en.is_completion,flagged:en.moderation_response.flagged,blocked:en.moderation_response.blocked}):"num_variants_in_stream"in en?et({type:"num_variants_in_stream",num_variants_in_stream:en.num_variants_in_stream,display_treatment:en.display_treatment}):(et({type:"message",message:en.message,conversationId:en.conversation_id}),eO&&(eO=!1,eN.end()))}catch(Y){if((0,eV.T)(Y))throw new t4.Q0(Y.message)}}return(0,eg.Jh)(this,function(ez){switch(ez.label){case 0:return ea=eD.length>0&&void 0!==eD[0]?eD[0]:null,eu=eD.length>1&&void 0!==eD[1]&&eD[1],ew=new AbortController,e_="threadId"in Y?Y.threadId:void 0,eE="continueFromSharedConversationId"in Y?Y.continueFromSharedConversationId:void 0,(null===(ec=Y.completionMetadata)||void 0===ec?void 0:null===(ef=ec.conversationMode)||void 0===ef?void 0:ef.kind)===eW.OL.BusinessTemplate?eC=Y.completionMetadata.conversationMode.template_id:(null===(ep=Y.completionMetadata)||void 0===ep?void 0:null===(em=ep.conversationMode)||void 0===em?void 0:em.kind)===eW.OL.BusinessTemplatePlayground&&(eT=Y.completionMetadata.conversationMode.config),eS={action:Y.completionType,messages:Y.messages.length>0?Y.messages:void 0,conversation_id:e_,continue_from_shared_conversation_id:null!=e_?void 0:eE,parent_message_id:Y.parentMessageId,model:Y.model,plugin_ids:null!=e_?void 0:Y.enabledPluginIds,timezone_offset_min:new Date().getTimezoneOffset(),variant_purpose:null===(ey=Y.completionMetadata)||void 0===ey?void 0:ey.variantPurpose,suggestions:(null===(eb=Y.completionMetadata)||void 0===eb?void 0:eb.suggestions)?Y.completionMetadata.suggestions.map(function(Y){return(0,eZ.bf)(Y)}):void 0,history_and_training_disabled:Y.historyDisabled,arkose_token:null!=ea?ea:Y.arkoseToken,conversation_mode:null===(ek=Y.completionMetadata)||void 0===ek?void 0:ek.conversationMode,playground_template_config:eT,conversation_template_id:eC,force_paragen:Y.forceParagen,force_rate_limit:Y.forceRateLimit},eM="".concat("https://chat.openai.com/backend-api","/conversation"),eO=!0,[4,ei.getAuthedHeaders()];case 1:return eI=ez.sent(),eN=nn.startSpan("completion.first_token"),eL=eP.g.setSpan(ej.D.active(),eN),eR=!1,ej.D.with(eL,function(){return eA(eM,{method:"POST",credentials:"include",headers:(0,eh._)({"Content-Type":"application/json"},eI),body:JSON.stringify(eS),signal:ew.signal,openWhenHidden:!0,onopen:function(et){return(0,ed._)(function(){var ei,eo,ea,eu,ec,ed,ef,eh,ep,em,ey;return(0,eg.Jh)(this,function(eg){switch(eg.label){case 0:if(eo=null!==(ei=et.headers.get("content-type"))&&void 0!==ei?ei:"",eu=null!==(ea=et.headers.get("Cf-Ray"))&&void 0!==ea?ea:null,!(et.ok&&eo.includes("text/event-stream")))return[3,1];return en(eu,Y.model),[2];case 1:if(!eo.includes("application/json"))return[3,5];return[4,et.json()];case 2:if(!(null!=(ed=tJ(ec=eg.sent()))))return[3,4];return eR=!0,en(eu,Y.model),[4,t9(ed,eF,ew.signal)];case 3:return eg.sent(),[2];case 4:if(ey=null!==(em=null!==(ep=null==(eh=null!==(ef=null==ec?void 0:ec.error)&&void 0!==ef?ef:null==ec?void 0:ec.detail)?void 0:eh.message)&&void 0!==ep?ep:eh)&&void 0!==em?em:"Unknown server error",eh){if(ng(eh))throw new t4.gK(ey,et.status,eh.code);if(et.status>=500)throw new t4.Q0(ey);if(((null==eh?void 0:eh.code)==="expired_session_key"||(null==eh?void 0:eh.code)==="invalid_api_key"||(null==eh?void 0:eh.code)==="token_expired")&&window._oaiHandleSessionExpired("stream",JSON.stringify(eh)),(null==eh?void 0:eh.code)==="deactivated_workspace")return window.location.href.includes("/workspace/deactivated")||(window.location.href="/workspace/deactivated"),[2];throw new t4.gK(ey,et.status,null==eh?void 0:eh.code,null==eh?void 0:eh.type,void 0,null==eh?void 0:eh.clears_in)}eg.label=5;case 5:throw new t4.Q0}})})()},onmessage:function(Y){if(eR)throw new t4.Q0;eF(Y)},onerror:function(Y){if(eR||ng(Y)&&!eu)throw Y;throw"Failed to fetch"===Y.message&&(Y=new t4.Q0("An error occurred. Either the engine you requested does not exist or there was another issue processing your request. If this issue persists please contact us through our help center at help.openai.com.")),(0,nt.LJ)("fetch-error:conversation:new-message",{url:eM,message:null==Y?void 0:Y.message}),et({type:"error",error:Y}),Y}})}).catch(function(){var Y=(0,ed._)(function(Y){return(0,eg.Jh)(this,function(et){switch(et.label){case 0:if(!ng(Y))return[3,3];if(eu)return[3,2];return[4,eB.ZP.getEnforcementToken([])];case 1:return[2,eo(et.sent(),!0)];case 2:throw new t4.gK("Failed to complete your call, please try again",Y.status);case 3:return Y instanceof t4.gK||Y instanceof t4.Q0||console.error(Y),[2]}})});return function(et){return Y.apply(this,arguments)}}()),[2,ew]}})});return function(){return ea.apply(this,arguments)}}())()]})})()},Y.getSharedConversations=function(){return this.get("".concat(ni,"/shared_conversations"),{params:{order:"created"}})},Y.submitMessageFeedback=function(Y){return this.post("".concat(ni,"/conversation/message_feedback"),Y)},Y.submitConversationRating=function(Y){var et=Y.conversation_id,en=(0,em._)(Y,["conversation_id"]);return this.post("".concat(ni,"/conversation/").concat(et,"/rating"),en)},Y.submitSharedConversationReportFeedback=function(Y){var et=Y.shared_conversation_id,en=(0,em._)(Y,["shared_conversation_id"]);return this.post("".concat(ni,"/share/").concat(et,"/report"),en,{authOption:ec.SendIfAvailable})},Y.submitMessageComparisonFeedback=function(Y){return this.post("".concat(ni,"/conversation/message_comparison_feedback"),Y)},Y.getCheckoutLink=function(Y){return this.post("".concat(ni,"/payments/checkout"),null!=Y?Y:{})},Y.getEmbeddedCheckoutLink=function(Y,et){var en=this;return(0,ed._)(function(){var ei,eo,ea;return(0,eg.Jh)(this,function(eu){switch(eu.label){case 0:return[4,t3()];case 1:if(!(ei=eu.sent()))return[3,4];return[4,en.post("".concat(ni,"/payments/checkout"),{is_free_trial:!0,should_use_embedded:!0})];case 2:return eo=eu.sent().clientSecret,[4,null==ei?void 0:ei.initEmbeddedCheckout({clientSecret:eo})];case 3:(ea=eu.sent())&&et&&et(ea),Y(function(){setTimeout(function(){null==ea||ea.mount("#embedded-checkout-modal")},0)}),eu.label=4;case 4:return[2]}})})()},Y.fetchCustomerPortalUrl=function(Y){var et=Y?"".concat(ni,"/payments/customer_portal?account_id=").concat(Y):"".concat(ni,"/payments/customer_portal");return this.get(et,{intercomEventOnError:"fetch-error:customer_portal:get"})},Y.getPlugins=function(Y){var et=Y.offset,en=Y.limit,ei=Y.statuses,eo=Y.isInstalled,ea=[["offset",et.toString()],["limit",en.toString()]];if(ei){var eu=!0,ec=!1,ed=void 0;try{for(var ef,eh=ei[Symbol.iterator]();!(eu=(ef=eh.next()).done);eu=!0){var ep=ef.value;ea.push(["statuses",ep])}}catch(Y){ec=!0,ed=Y}finally{try{eu||null==eh.return||eh.return()}finally{if(ec)throw ed}}}eo&&ea.push(["is_installed","true"]);var em=new URLSearchParams(ea);return this.get("".concat(ni,"/aip/p?").concat(em))},Y.getApprovedPlugins=function(Y){var et=Y.offset,en=Y.limit,ei=Y.category,eo=Y.search,ea=new URLSearchParams({offset:String(et),limit:String(en)});return null!=ei&&ea.append("category",ei),null!=eo&&ea.append("search",eo),this.get("".concat(ni,"/aip/p/approved?").concat(ea))},Y.getEligibleReferralInvites=function(){return this.get("".concat(ni,"/referral/invites"))},Y.postActivateReferralInvite=function(Y){return this.post("".concat(ni,"/referral/invites/activate"),{invite_id:Y})},Y.publicGetPluginsById=function(Y){var et=Y.ids,en=this;return(0,ed._)(function(){var Y,ei,eo,ea,eu,ec,ed,ef;return(0,eg.Jh)(this,function(eh){if(0===et.length)return[2,{count:0,items:[]}];Y=[],ei=!0,eo=!1,ea=void 0;try{for(eu=et[Symbol.iterator]();!(ei=(ec=eu.next()).done);ei=!0)ed=ec.value,Y.push(["ids",ed])}catch(Y){eo=!0,ea=Y}finally{try{ei||null==eu.return||eu.return()}finally{if(eo)throw ea}}return ef=new URLSearchParams(Y),[2,en.get("".concat(ni,"/public/plugins/by-id?").concat(ef))]})})()},Y.getPluginByDomain=function(Y){var et=Y.domain;return this.get("".concat(ni,"/aip/p/domain"),{params:{domain:et}})},Y.createOrUpdateLocalhostPlugin=function(Y){var et=Y.localhost,en=Y.manifest,ei=Y.openapiSpec;return this.post("".concat(ni,"/aip/lhp"),{localhost:et,manifest:en,openapi_spec:ei})},Y.scrapePluginManifest=function(Y){var et=Y.domain,en=Y.manifestAccessToken;return this.post("".concat(ni,"/aip/p"),{domain:et,manifest_access_token:en})},Y.getPluginApi=function(Y){var et=Y.id;return this.get("".concat(ni,"/aip/p/").concat(et,"/api"))},Y.updatePluginUserSettings=function(Y){var et=Y.pluginId,en=Y.isInstalled;return this.patch("".concat(ni,"/aip/p/").concat(et,"/user-settings"),{is_installed:en})},Y.deletePluginUserSettings=function(Y){var et=Y.pluginId;return this.delete("".concat(ni,"/aip/p/").concat(et,"/user-settings"))},Y.deletePlugin=function(Y){var et=Y.id;return this.delete("".concat(ni,"/aip/p/").concat(et))},Y.setPluginUserHttpToken=function(Y){var et=Y.id,en=Y.userAccessToken;return this.post("".concat(ni,"/aip/p/").concat(et,"/user-settings/http-auth"),{access_token:en})},Y.setPluginServiceHttpToken=function(Y){var et=Y.id,en=Y.serviceAccessToken;return this.post("".concat(ni,"/aip/p/").concat(et,"/http-auth"),{access_token:en})},Y.setPluginOAuthClientCredentials=function(Y){var et=Y.id,en=Y.clientId,ei=Y.clientSecret;return this.post("".concat(ni,"/aip/p/").concat(et,"/oauth"),{client_id:en,client_secret:ei})},Y.createWorkspaceAccount=function(Y){var et=Y.name,en=Y.organizationId;return this.post("".concat(ni,"/accounts"),{name:et,organization_id:en})},Y.getAccountStatusV4=function(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},et=this;return(0,ed._)(function(){var en,ei,eo,ea,eu,ec,ed;return(0,eg.Jh)(this,function(ef){switch(ef.label){case 0:return en=Y.accessToken,eo=void 0===(ei=Y.urlBase)?ni:ei,eu=void 0===(ea=Y.headers)?{}:ea,ec=[{"Content-Type":"application/json"}],[4,et.getAuthedHeaders({accessToken:en})];case 1:return eu=eh._.apply(void 0,ec.concat([ef.sent(),eu])),ed="v4-2023-04-27",[2,et.fetch("".concat(eo,"/accounts/check/").concat(ed),{method:"GET",headers:eu},{intercomEventOnError:"fetch-error:accounts:get"})]}})})()},Y.deactivateAccount=function(){return this.post("".concat(ni,"/accounts/deactivate"),{})},Y.submitDataExport=function(){return this.post("".concat(ni,"/accounts/data_export"),{})},Y.pluginOauthRedirect=function(Y,et,en){var ei={redirect_uri:et};return en&&(ei.redirect_to=en),this.get("".concat(ni,"/aip/p/").concat(Y,"/user-settings/oauth/redirect"),{params:ei})},Y.pluginOauthCallback=function(Y,et,en,ei){return this.get("".concat(ni,"/aip/p/").concat(Y,"/user-settings/oauth/callback"),{params:(0,eh._)({code:et,redirect_uri:en},null!=ei?{state:ei}:{})})},Y.getPageMetadata=function(Y){var et=Y.url;return this.get("".concat(ni,"/opengraph/tags?url=").concat(encodeURIComponent(et)))},Y.getModelMessageCap=function(){return this.get("".concat(na,"/conversation_limit"))},Y.getPublicReferralInvite=function(Y){return this.get("".concat(nu,"/invites/").concat(Y),{authOption:ec.Anonymous})},Y.getBingLink=function(Y){var et=new URLSearchParams({query:Y.query});return"".concat(ni,"/bing/redirect?").concat(et.toString())},Y.createShareLink=function(Y){return this.post("".concat(ni,"/share/create"),Y)},Y.updateShareLink=function(Y){return this.patch("".concat(ni,"/share/").concat(Y.share_id),Y)},Y.deleteShareLink=function(Y){return this.delete("".concat(ni,"/share/").concat(Y.share_id))},Y.deleteAllSharedConversations=function(){return this.deleteWithPayload("".concat(ni,"/share/all"),{confirm:!0})},Y.fetchShareModerationCategories=function(){return this.get("".concat(ni,"/share/moderation/categories"))},Y.createFile=function(Y,et,en){var ei=this;return(0,ed._)(function(){var eo;return(0,eg.Jh)(this,function(ea){switch(ea.label){case 0:return[4,ei.post("".concat(ni,"/files"),{file_name:Y,file_size:et,use_case:en.kind,gizmo_id:en.kind===eG.Ei.Gizmo?en.gizmoId:void 0})];case 1:if((eo=ea.sent()).status===eG.KF.Error)throw new t4.gK("Could not create file",void 0,eo.error_code);return[2,eo]}})})()},Y.processFileUpload=function(Y,et){var en=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){return[2,en.post("".concat(ni,"/files/").concat(Y,"/uploaded"),{gizmo_id:et.gizmoId})]})})()},Y.markFileUploadFailed=function(Y,et){var en=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(ei){return[2,en.post("".concat(ni,"/files/").concat(Y,"/upload-failed"),{error:et.error})]})})()},Y.getSampledPromptStarter=function(Y){var et=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(en){return[2,et.get("".concat(ni,"/prompt_library/?limit=").concat(Y,"&offset=0"))]})})()},Y.getRetrievalStatus=function(Y,et){var en=this;return(0,ed._)(function(){var ei,eo,ea,eu,ec,ed;return(0,eg.Jh)(this,function(ef){switch(ef.label){case 0:return[4,en.get("".concat(ni,"/files/").concat(Y),{params:null!=et?{gizmo_id:et}:void 0})];case 1:return[2,{name:(ec=ef.sent()).name,status:null!==(ed=null===(ei=ec.metadata)||void 0===ei?void 0:null===(eo=ei.retrieval)||void 0===eo?void 0:eo.status)&&void 0!==ed?ed:eG.Xf.Processing,error_code:null===(ea=ec.metadata)||void 0===ea?void 0:null===(eu=ea.retrieval)||void 0===eu?void 0:eu.error_code,file_size_tokens:ec.file_size_tokens}]}})})()},Y.upsertPersonalWorkspace=function(){var Y=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(et){switch(et.label){case 0:return[4,Y.post("".concat(ni,"/accounts/personal"),{})];case 1:return[2,et.sent()]}})})()},Y.getFileDownloadLink=function(Y,et){var en=this;return(0,ed._)(function(){var ei,eo;return(0,eg.Jh)(this,function(ea){switch(ea.label){case 0:return ei=null!=et?"?gizmo_id=".concat(et):"",[4,en.get("".concat(ni,"/files/").concat(Y,"/download").concat(ei))];case 1:if((eo=ea.sent()).status===eG.KF.Success||eo.status===eG.KF.Retry)return[2,eo];throw new t4.gK("Could not get file download link",void 0,"error_code"in eo?eo.error_code:"unknown_error")}})})()},Y.getCompliance=function(){var Y=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(et){return[2,Y.get("".concat(ni,"/compliance"))]})})()},Y.updateCookieConsentCompliance=function(Y){var et=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(en){return[2,et.post("".concat(ni,"/compliance/cookie_consent"),Y)]})})()},Y.acceptTermsOfUse=function(){var Y=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(et){return[2,Y.post("".concat(ni,"/compliance/terms_of_use"))]})})()},Y.postLatencyTimingEvent=function(Y){return this.post("".concat(ni,"/lat/r"),{server_request_id:Y.serverRequestId,model:Y.model,preflight_time_ms:Y.preflightTime,count_tokens:Y.countTokens,ts_first_token_ms:Y.tsFirstToken,ts_max_token_time_ms:Y.tsMaxTokenTime,ts_mean_token_without_first_ms:Y.tsMeanTokenWithoutFirst,ts_median_token_without_first_ms:Y.tsMedianTokenWithoutFirst,ts_min_token_time_ms:Y.tsMinTokenTime,ts_p95_token_without_first_ms:Y.tsP95TokenWithoutFirst,ts_p99_token_without_first_ms:Y.tsP99TokenWithoutFirst,ts_std_dev_token_ms:Y.tsStdDevTokenTime,ts_total_request_ms:Y.tsTotalRequestTime})},Y.postTTITimingEvent=function(Y){var et=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(en){return null!=eH.E.getQueryData(ez.au.queryKey)?[2,et.post("".concat(ni,"/lat/tti"),{fcp_ms:Y.fcp,long_tasks_ms:Y.longTasks,tti_ms:Y.tti})]:[2]})})()},Y.postRetrievalTiming=function(Y){var et=this;return(0,ed._)(function(){return(0,eg.Jh)(this,function(en){return null!=eH.E.getQueryData(ez.au.queryKey)?[2,et.post("".concat(ni,"/lat/retrieval"),{e2e_latency_ms:Y.e2eLatencyMs})]:[2]})})()},Y.createConversationTemplate=function(Y,et,en,ei,eo,ea,eu,ec){var ed,ef,eh;return this.post("".concat(ni,"/workspaces/").concat(Y,"/conversation_templates"),{name:et,config:{context_message:ei.contextMessage,assistant_welcome_message:ei.assistantWelcomeMessage,model_slug:null!==(ed=ei.modelSlug)&&void 0!==ed?ed:"gpt-4",plugin_ids:null!==(ef=ei.pluginIds)&&void 0!==ef?ef:null,enabled_tools:null!==(eh=ei.enabledTools)&&void 0!==eh?eh:null},description:en,publish:eo,icon:ea,color:eu,profile_pic_id:null!=ec?ec:null})},Y.getWorkspaceConversationTemplates=function(Y){return this.get("".concat(ni,"/workspaces/").concat(Y,"/conversation_templates"))},Y.getMyConversationTemplates=function(Y){return this.get("".concat(ni,"/workspaces/").concat(Y,"/my_conversation_templates"))},Y.getConversationTemplate=function(Y,et,en){var ei=en.includeDeleted;return this.get("".concat(ni,"/workspaces/").concat(Y,"/conversation_templates/").concat(et),{params:ei?{include_deleted:"true"}:void 0})},Y.updateConversationTemplate=function(Y,et,en){var ei,eo,ea,eu,ec,ed,ef,eg,ey,eb,ek,ew,e_=en.profilePicId,eE=(0,em._)(en,["profilePicId"]);return this.patch("".concat(ni,"/workspaces/").concat(Y,"/conversation_templates/").concat(et),(0,ep._)((0,eh._)({},eE),{profile_pic_id:null!=e_?e_:null,config:(null===(ei=eE.config)||void 0===ei?void 0:ei.contextMessage)!=null||(null===(eo=eE.config)||void 0===eo?void 0:eo.assistantWelcomeMessage)!=null?{context_message:null!==(eg=null===(ea=eE.config)||void 0===ea?void 0:ea.contextMessage)&&void 0!==eg?eg:null,assistant_welcome_message:null!==(ey=null===(eu=eE.config)||void 0===eu?void 0:eu.assistantWelcomeMessage)&&void 0!==ey?ey:null,model_slug:null!==(eb=null===(ec=eE.config)||void 0===ec?void 0:ec.modelSlug)&&void 0!==eb?eb:null,plugin_ids:null!==(ek=null===(ed=eE.config)||void 0===ed?void 0:ed.pluginIds)&&void 0!==ek?ek:null,enabled_tools:null!==(ew=null===(ef=eE.config)||void 0===ef?void 0:ef.enabledTools)&&void 0!==ew?ew:null}:null}))},Y.deleteConversationTemplate=function(Y,et){return this.delete("".concat(ni,"/workspaces/").concat(Y,"/conversation_templates/").concat(et))},Y.createConversationWithTemplate=function(Y,et){return this.post("".concat(ni,"/conversation"),{conversation_mode:{kind:eW.OL.BusinessTemplate,template_id:Y},conversation_template_id:Y,model:"gpt-4",action:"next",messages:[],parent_message_id:(0,t8.M6)("aaa1"),arkose_token:et})},Y.postClaimReferralInvite=function(Y,et){return this.post("".concat(ni,"/referral/invites/claim/").concat(Y),{workspace_id:et})},Y.getClaimedReferralInvite=function(){return this.get("".concat(ni,"/referral/"))},Y.getAuthedSharedConversation=function(Y){return this.get("".concat(ni,"/share/").concat(Y))},Y.searchConnectorAPI=function(Y,et){return this.post("".concat(ni,"/connectors/search/").concat(et),{query:Y,top_k:20,title_only:!0,include_folder:!0})},Y.searchConnectorsAPI=function(Y,et){return this.post("".concat(ni,"/connectors/search"),{query:Y,connectors:et,top_k_per_connector:5,title_only:!0,include_folder:!1})},Y.fetchConnectorAPI=function(Y,et,en){return void 0!==en?this.get("".concat(ni,"/connectors/fetch/").concat(et,"?id=").concat(Y,"&gizmo_id=").concat(en)):this.get("".concat(ni,"/connectors/fetch/").concat(et,"?id=").concat(Y))},Y.checkConnectorAPI=function(){return this.get("".concat(ni,"/connectors/check"))},Y.getInternalEnableURL=function(){var Y=this;return(0,ed._)(function(){var et,en,ei;return(0,eg.Jh)(this,function(eo){switch(eo.label){case 0:return en=["".concat(ni,"/magic/enable")],ei={credentials:"include",method:"GET"},[4,Y.getAuthedHeaders()];case 1:return[4,fetch.apply(void 0,en.concat([(ei.headers=eo.sent(),ei)]))];case 2:if((et=eo.sent()).status>=400)throw new t4.gK("Failed to enable",et.status);return[2,et.url]}})})()},Y.getMe=function(){return this.get("".concat(ni,"/me"))},Y}();!function(){nv.clientLocale=t6.ZW}(),function(){nv.auth0Client=null}();var ny=nv},62682:function(Y,et,en){"use strict";en.d(et,{$W:function(){return eh},AL:function(){return eu},F9:function(){return e_},L0:function(){return ei},Nj:function(){return ew},Nt:function(){return eT},PL:function(){return ef},S$:function(){return eE},Ud:function(){return eo},Wk:function(){return ed},YI:function(){return ec},Yj:function(){return eg},Zz:function(){return ey},a3:function(){return eb},i:function(){return em},jS:function(){return eC},tI:function(){return ep},uj:function(){return ea},vE:function(){return ek}});var ei,eo="disable_history",ea="prompt_suggestions",eu="user_latency_tools",ec="plugin_review_tools",ed="tools3_dev",ef="arkose_enabled",eh="arkose_gpt35_enabled",ep="arkose_gpt_35_experiment",em="mfa",eg="allow_url_thread_creation",ey="starter_prompts",eb="invite_referral",ek="unified_tool_ui",ew="use_stream_processor",e_="time_spent",eE="user_settings_announcements",eC="browsing_inject_search_links";!function(Y){Y.GizmoLaunched="gizmo_live",Y.GizmoUI="gizmo_ui",Y.GizmoCreate="gizmo_create",Y.GizmoCreateUnpaid="gizmo_create_unpaid",Y.WorkspaceShareLinks="workspace_share_links",Y.WorkspaceGPTCustomActions="workspace_gpt_custom_actions",Y.GuidedRegenerate="guided_regenerate",Y.ContextConnector="context_connector_available",Y.TargetedReplies="targeted_replies",Y.BizmoSettings="bizmo_settings",Y.BrowseAvailable="browsing_available",Y.Teams="chatgpt_team_plan",Y.GizmoStore="gizmo_store"}(ei||(ei={}));var eT="use_o11y"},66638:function(Y,et,en){"use strict";en.d(et,{tQ:function(){return eY},iN:function(){return e$},_L:function(){return ei},OX:function(){return ez},Zz:function(){return eU},yt:function(){return tv},aS:function(){return t_},ax:function(){return eQ},r7:function(){return tE},uj:function(){return tt},XK:function(){return eX},je:function(){return tf},Uy:function(){return td},GD:function(){return e8},JI:function(){return e7},U0:function(){return e6},oq:function(){return e4},Hk:function(){return ta},UL:function(){return eJ},eY:function(){return tw},Kt:function(){return e0},Rz:function(){return tg},Ro:function(){return e3},GR:function(){return e5},qA:function(){return tu},XL:function(){return tc},u9:function(){return tm},lA:function(){return th},dz:function(){return tp},Qi:function(){return tb},qN:function(){return eW}});var ei,eo=en(39324),ea=en(71209),eu=en(61098),ec=en(21950),ed=en(72290),ef=en(10499);en(11547);var eh=en(86646),ep=en(42786),em=en(25687),eg=en(86925),ey=en(15066),eb=en(61236),ek=en(70216);en(87743),en(93028);var ew=en(60478),e_=en(44675);e_.env.INTERNAL_API_URL,e_.env.INTERNAL_API_URL;var eE=function(Y){return{thread:ey.Cv.createTree(),initialCurrentLeafId:"root",threadId:null,title:null,lastModelUsed:null,pluginIds:Y||[],authorName:void 0,createTime:new Date}};function eC(Y){var et,en,ei=null===(et=Object.values(Y.mapping).find(function(Y){return null===Y.parent}))||void 0===et?void 0:et.id,eu=new Set,ec=new Set;return(null!==(en=Y.moderation_results)&&void 0!==en?en:[]).forEach(function(Y){Y.blocked?ec.add(Y.message_id):Y.flagged&&eu.add(Y.message_id)}),{rootId:ei,mapping:Object.keys(Y.mapping).reduce(function(et,en){var ei,ed,ef=Y.mapping[en],eh=ef.parent,ep=ef.children,em=(0,ek._)(ef,["parent","children"]),eg=null!==(ei=Y.mapping[en].message)&&void 0!==ei?ei:ey.Cv.createRootMessage();return ec.has(eg.id)?ed=ew.sK:eu.has(eg.id)&&(ed=ew.Mf),et[en]=(0,eo._)((0,ea._)((0,eo._)({},em),{message:eg,children:null!=ep?ep:[],parentId:eh||""}),ed&&{metadata:ed}),et},{}),initialCurrentLeafId:Y.current_node,authorName:Y.author_name}}var eT=en(54636),eS=en(42780),eA=en(38574),eM=en(8874),eP=en(61888),ej=en(10721),eO=en(70079),eI=en(78103),eN=en(87981);let eL=Y=>(et,en,ei)=>(ei.setState=(Y,en,...ei)=>{let eo="function"==typeof Y?(0,eN.Uy)(Y):Y;return et(eo,en,...ei)},Y(ei.setState,en,ei)),eR=eL;function eD(Y,et){var en,ei,eo=Y[et];return(null==eo?void 0:null===(en=eo.message)||void 0===en?void 0:null===(ei=en.metadata)||void 0===ei?void 0:ei.model_slug)?eo.message.metadata.model_slug:(null==eo?void 0:eo.parentId)?eD(Y,eo.parentId):null}var eF="NEW:",eB=0;function ez(){return"".concat(eF).concat(eB++)}function eU(Y){return Y.startsWith(eF)}var eH=function(){return new ey.Cv},eG=function(){return Object.freeze({thread:ey.Cv.createTree(),threadId:null,initialCurrentLeafId:"root",title:null,lastModelUsed:null,createTime:new Date})};!function(Y){Y.NewChat="NewChat",Y.Server="Server",Y.User="User",Y.Generated="Generated",Y.Unknown="Unknown"}(ei||(ei={}));var eV={},eW=(0,eI.ZP)(eR(function(){return{threads:{},clientNewThreadIdToServerIdMapping:{},threadRetainCounts:{}}})),eZ=eW.getState,eK=eW.setState,e$={resolveThreadId:function(Y){var et,en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eZ();return null!==(et=en.clientNewThreadIdToServerIdMapping[Y])&&void 0!==et?et:Y},hasThread:function(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eZ(),en=e$.resolveThreadId(Y,et);return null!=et.threads[en]},getConversationTemplateId:function(Y){var et,en,ei=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eZ(),eo=e$.resolveThreadId(Y,ei);return null===(et=ei.threads[eo])||void 0===et?void 0:null===(en=et.initialThreadData)||void 0===en?void 0:en.conversationTemplateId},getGizmoId:function(Y){var et,en,ei=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eZ(),eo=e$.resolveThreadId(Y,ei);return null===(et=ei.threads[eo])||void 0===et?void 0:null===(en=et.initialThreadData)||void 0===en?void 0:en.gizmoId},getThreadCustomTitle:function(Y){var et,en,ei=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eZ(),eo=e$.resolveThreadId(Y,ei);return null!==(en=null===(et=ei.threads[eo])||void 0===et?void 0:et.title)&&void 0!==en?en:void 0},getThreadDataTitle:function(Y){var et,en,ei,eo=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eZ(),ea=e$.resolveThreadId(Y,eo);return null!==(ei=null===(et=eo.threads[ea])||void 0===et?void 0:null===(en=et.initialThreadData)||void 0===en?void 0:en.title)&&void 0!==ei?ei:void 0},getThreadTitleSource:function(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eZ(),en=e$.resolveThreadId(Y,et);return null!=et.threads[en]?et.threads[en].titleSource:ei.Unknown},getThreadCreateTime:function(Y){var et,en,ei=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eZ(),eo=e$.resolveThreadId(Y,ei);return null===(et=ei.threads[eo])||void 0===et?void 0:null===(en=et.initialThreadData)||void 0===en?void 0:en.createTime},getCurrentNode:function(Y){var et,en,ei=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eZ(),eo=e$.resolveThreadId(Y,ei),ea=null!==(en=null===(et=ei.threads[eo])||void 0===et?void 0:et.currentLeafId)&&void 0!==en?en:"root";return eY.getTree(Y).getNodeByIdOrMessageId(ea)}},eY={getOrInitThread:function(Y){var et=eY.resolveThreadId(Y);return null!=eZ().threads[et]?eZ().threads[et]:(eY.resetThread(Y),eZ().threads[Y])},getServerThreadId:function(Y){return eU(Y)?eZ().clientNewThreadIdToServerIdMapping[Y]:Y},setServerIdForNewThread:function(Y,et){void 0===eZ().clientNewThreadIdToServerIdMapping[Y]&&eK(function(en){en.threads[et]=en.threads[Y],delete en.threads[Y],en.clientNewThreadIdToServerIdMapping[Y]=et})},initThreadFromServerData:function(Y,et){var en,eu,ec,ed,eh,ep,em,eg=arguments.length>2&&void 0!==arguments[2]&&arguments[2],eb=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,ek=eY.resolveThreadId(Y);if(null!=eZ().threads[ek]||eg){var ew=eC(et);if((null===(en=eZ().threads[ek])||void 0===en?void 0:en.isLoading)!==!1){var e_=null!==(eu=ew.mapping)&&void 0!==eu?eu:ey.Cv.createTree(),eE={thread:e_,initialCurrentLeafId:null!==(ed=null!==(ec=ew.initialCurrentLeafId)&&void 0!==ec?ec:ew.rootId)&&void 0!==ed?ed:"root",threadId:ek,title:null!==(eh=et.title)&&void 0!==eh?eh:null,lastModelUsed:eD(ew.mapping,ew.initialCurrentLeafId),hasUserEditableContextFlag:null!==(ep=et.has_user_editable_context)&&void 0!==ep&&ep,pluginIds:null!==(em=et.plugin_ids)&&void 0!==em?em:[],authorName:ew.authorName,model:"model"in et&&null!=et.model?(0,ef.H6)(et.model):void 0,createTime:"create_time"in et?new Date(1e3*et.create_time):void 0,conversationTemplateId:et.conversation_template_id,gizmoId:et.gizmo_id},eT=new ey.Cv(e_),eS=eE.initialCurrentLeafId;eK(function(Y){var et;Y.threads[ek]=(0,ea._)((0,eo._)({},null!==(et=Y.threads[ek])&&void 0!==et?et:{}),{initialThreadData:eE,title:eE.title,titleSource:ei.Server,tree:eT,currentLeafId:eS,isLoading:!1,continuingFromSharedConversationId:eb})}),eY.recomputeConversationTurnsForCurrentLeafId(ek,[])}}},resetThread:function(Y){var et=eE();eY.deleteThread(Y),eK(function(en){en.threads[Y]={initialThreadData:et,tree:new ey.Cv(et.thread),title:et.title,titleSource:ei.NewChat,currentLeafId:et.initialCurrentLeafId,conversationTurns:[],isLoading:!eU(Y)}})},updateInitialThreadDataForNewThread:function(Y,et,en){var ei=eY.resolveThreadId(Y);eK(function(Y){Y.threads[ei].initialThreadData.lastModelUsed=et,Y.threads[ei].initialThreadData.pluginIds=en})},getThreadCurrentLeafId:function(Y){var et,en,ei=eY.resolveThreadId(Y);return null!==(en=null===(et=eZ().threads[ei])||void 0===et?void 0:et.currentLeafId)&&void 0!==en?en:"root"},setThreadCurrentLeafId:function(Y,et){var en=eY.resolveThreadId(Y);null!=eZ().threads[en]&&eK(function(Y){var ei=Y.threads[en];ei.currentLeafId=et;var eo=eY.computeThreadConversationTurns(en,ei.currentLeafId,ei.conversationTurns);ei.conversationTurns=eo})},setTitle:function(Y,et,en){var ei=eY.resolveThreadId(Y);null!=eZ().threads[ei]&&eK(function(Y){Y.threads[ei].title=et,Y.threads[ei].titleSource=en})},getTitle:function(Y){var et;return null!==(et=e$.getThreadCustomTitle(Y))&&void 0!==et?et:e$.getThreadDataTitle(Y)},getTitleAndSource:function(Y){var et;return{title:null!==(et=e$.getThreadCustomTitle(Y))&&void 0!==et?et:e$.getThreadDataTitle(Y),titleSource:e$.getThreadTitleSource(Y)}},setNewThreadConversationModeMetadata:function(Y,et){if((null==et?void 0:et.kind)===eu.OL.BusinessTemplate||(null==et?void 0:et.kind)===eu.OL.GizmoInteraction){var en=eY.resolveThreadId(Y);eK(function(Y){switch(et.kind){case eu.OL.GizmoInteraction:Y.threads[en].initialThreadData.gizmoId=et.gizmo_id;break;case eu.OL.BusinessTemplate:Y.threads[en].initialThreadData.conversationTemplateId=et.template_id;break;default:(0,ep.Z)(et)}})}},deleteNodesByFilter:function(Y,et){var en=eY.getThreadCurrentLeafId(Y);eY.updateTree(Y,function(ei){ei.deleteNodesByFilter(et).includes(en)&&eY.setThreadCurrentLeafId(Y,"root")})},updateTree:function(Y,et){var en,ei,eo=eY.resolveThreadId(Y);if(!(null!=eZ().threads[eo])){console.warn("Thread does not exist, cannot update tree: ",eo);return}et(eY.getTree(Y));var ea=null!==(ei=null===(en=eZ().threads[eo])||void 0===en?void 0:en.conversationTurns)&&void 0!==ei?ei:[];eY.recomputeConversationTurnsForCurrentLeafId(eo,ea)},getTree:function(Y){var et,en,ei=eY.resolveThreadId(Y);return null!==(en=null===(et=eZ().threads[ei])||void 0===et?void 0:et.tree)&&void 0!==en?en:eH()},resolveThreadId:function(Y){return e$.resolveThreadId(Y)},recomputeConversationTurnsForCurrentLeafId:function(Y,et){var en=eY.resolveThreadId(Y);eK(function(Y){var ei=Y.threads[en];if(null!=ei){var eo=eY.computeThreadConversationTurns(en,ei.currentLeafId,et);ei.conversationTurns=eo}})},computeThreadConversationTurns:function(Y,et,en){var ei=eY.resolveThreadId(Y);return eY.getTree(ei).getConversationTurns(et).map(function(Y,et){var ei=null==en?void 0:en[et];return(0,eP.isEqual)(ei,Y)?ei:Y})},getThreadConversationTurns:function(Y,et,en){var ei,eo,ea,eu=eY.resolveThreadId(Y),ec=eZ().threads[eu];if(null==ec)return[];var ed=ec.tree,ef=ed.messageIdToNodeId(null!==(eo=null==ec?void 0:ec.currentLeafId)&&void 0!==eo?eo:"root"),eh=null!=et?ed.messageIdToNodeId(et):null;return null!=eh&&eh!==ef?eY.computeThreadConversationTurns(eu,eh,null!=en?en:[]):null!==(ea=null===(ei=eZ().threads[eu])||void 0===ei?void 0:ei.conversationTurns)&&void 0!==ea?ea:[]},getThreadModel:function(Y){var et,en=eY.resolveThreadId(Y);return null===(et=eZ().threads[en])||void 0===et?void 0:et.initialThreadData.model},removeContinuingFromSharedConversationId:function(Y){var et=eY.resolveThreadId(Y);eK(function(Y){var en;(null===(en=Y.threads[et])||void 0===en?void 0:en.continuingFromSharedConversationId)!=null&&delete Y.threads[et].continuingFromSharedConversationId})},copyLastMessageToClipboard:function(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mouse",en=eY.getThreadCurrentLeafId(Y),ei=eY.getThreadConversationTurns(Y,en);return eY.copyMessageToClipboard(Y,ei.length-1,et)},copyMessageToClipboard:function(Y,et){var en=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mouse",ei=eY.getThreadCurrentLeafId(Y),eo=eY.getThreadConversationTurns(Y,ei)[et];if(!eo)return Promise.reject();var ea=eo.messages,ec=ea.reduce(function(Y,et){return et.err||et.message.author.role!==eu.uU.Assistant||"all"!==et.message.recipient?Y:Y+(Y?"\n\n":"")+(0,eg.RR)(et.message)},"");return(0,eA.S)(ec).then(function(){eT.A.logEvent(eS.M.copyToClipboard,{threadId:eY.getServerThreadId(Y),id:ea[0].message.id,eventSource:en}),eM.m9.logEvent("chatgpt_copy_to_clipboard")})},deleteThread:function(Y){eK(function(et){delete et.threads[Y],delete et.clientNewThreadIdToServerIdMapping[Y]})},retainThread:function(Y){eK(function(et){var en;et.threadRetainCounts[Y]=(null!==(en=et.threadRetainCounts[Y])&&void 0!==en?en:0)+1}),clearTimeout(eV[Y])},releaseThread:function(Y){var et=3e4;null!=eZ().threads[Y]&&(eK(function(et){var en;et.threadRetainCounts[Y]=Math.max((null!==(en=et.threadRetainCounts[Y])&&void 0!==en?en:0)-1,0)}),eZ().threadRetainCounts[Y]>0||(clearTimeout(eV[Y]),eV[Y]=setTimeout(function(){null==eZ().threads[Y]||eZ().threadRetainCounts[Y]>0||eY.deleteThread(Y)},et)))}},eQ=function(Y){var et=(0,ej.useRouter)(),en=(0,eO.useContext)(em.QL).historyDisabled,ei=null!==(0,eO.useContext)(em.gB);(0,eb.a)({queryKey:["conversation",Y],queryFn:function(){return eh.ZP.getConversation(Y).then(function(et){return eY.initThreadFromServerData(Y,et),et}).catch(function(en){var ei=(0,ec.Bw)(et.asPath),eo=null!=ei?(0,ec.un)(ei):"/";throw et.replace(eo,void 0,{shallow:!0}),ed.m.danger("Unable to load conversation ".concat(Y)),en})},enabled:!eU(Y)&&!en&&!ei}),(0,eO.useEffect)(function(){eY.getOrInitThread(Y)},[Y,et])},eX=function(Y){return eW(function(et){return eU(Y)?et.clientNewThreadIdToServerIdMapping[Y]:Y})},eJ=function(Y){return eW(function(et){var en,ei,eo=eY.resolveThreadId(Y);return null!==(ei=null===(en=et.threads[eo])||void 0===en?void 0:en.initialThreadData)&&void 0!==ei?ei:eG()})},e0=function(Y){return eW(function(et){var en,ei,eo=eY.resolveThreadId(Y);return null!==(ei=null===(en=et.threads[eo])||void 0===en?void 0:en.isLoading)&&void 0!==ei&&ei})},e9=[],e5=function(Y){var et=eW(function(et){var en,ei,eo=eY.resolveThreadId(Y);return null===(en=et.threads[eo])||void 0===en?void 0:null===(ei=en.initialThreadData)||void 0===ei?void 0:ei.pluginIds});return null!=et?et:e9},e4=function(Y){return eW(function(){return eY.getThreadCurrentLeafId(Y)})},e3=function(Y){return eW(function(){return eY.getThreadModel(Y)})},e6=function(Y,et){var en=(0,eO.useRef)([]);return eW(function(){var ei,eo=eY.getThreadConversationTurns(Y,et,en.current);return en.current=eo,null!==(ei=null==eo?void 0:eo.length)&&void 0!==ei?ei:0})},e7=function(Y,et){var en=(0,eO.useRef)([]);return eW(function(){var ei=eY.getThreadConversationTurns(Y,et,en.current);return en.current=ei,ei})},e8=function(Y,et,en){var ei=(0,eO.useRef)([]);return eW(function(){var eo=eY.getThreadConversationTurns(Y,en,ei.current);return ei.current=eo,eo[et]})},tt=function(Y,et){var en=(0,eO.useRef)([]);return eW(function(){var ei=eY.getThreadConversationTurns(Y,et,en.current);return en.current=ei,ei[ei.length-1]})},ta=function(Y){var et=e4(Y);return(0,eO.useMemo)(function(){var en,ei,eo=eY.getThreadConversationTurns(Y,et,[]),ea=null!==(en=null==eo?void 0:eo.length)&&void 0!==en?en:0,eu=null!==(ei=null==eo?void 0:eo[ea-1])&&void 0!==ei?ei:null;return 0===ea?et:ey.Cv.getRequestIdFromConversationTurn(eu)},[et,Y])},tu=function(Y){return eW(function(){return eY.getTitle(Y)})},tc=function(Y){return eW(function(){return eY.getTitleAndSource(Y)})},td=function(Y){return eW(function(){var et,en=eY.resolveThreadId(Y);return null===(et=eZ().threads[en])||void 0===et?void 0:et.continuingFromSharedConversationId})},tf=function(Y){return eW(function(){var et,en,ei=eY.resolveThreadId(Y);return null===(et=eZ().threads[ei])||void 0===et?void 0:null===(en=et.initialThreadData)||void 0===en?void 0:en.authorName})},th=function(Y,et){return eW(function(){var en,ei;return null!==(ei=null===(en=eY.getTree(Y))||void 0===en?void 0:en.getHasErrorFromNode(et))&&void 0!==ei&&ei})},tp=function(Y,et){return eW(function(){var en,ei;return null!==(ei=null===(en=eY.getTree(Y))||void 0===en?void 0:en.isMessageIncomplete(et))&&void 0!==ei&&ei})},tm=function(Y,et){return eW(function(){var en=eY.getTree(Y);return null==en?[]:en.getBranchFromLeaf(et).filter(function(Y){return Y.message.author.role!==eu.uU.Root}).map(function(Y){return Y.message})})},tg=function(Y,et){return eW(function(){var en=eY.getTree(Y);return null==en?null:en.getLeafFromNode(et)})},tv=function(Y,et){return eW(function(){var en=eY.getTree(Y);return null!=en&&et.map(function(Y){return en.getLeafFromNode(Y)}).some(function(Y){return en.getHasErrorFromNode(Y.id)})})},tb=function(Y){var et=eY.getTree(Y).getUserContext();if(null==et)return null;var en=et.message,ei=null!==(eu=null===(eo=en.metadata)||void 0===eo?void 0:eo.shared_conversation_id)&&void 0!==eu?eu:null;if((null===(ea=en.metadata)||void 0===ea?void 0:ea.user_context_message_data)!=null){var eo,ea,eu,ec,ed,ef=en.metadata.user_context_message_data,eh=ef.about_user_message,ep=ef.about_model_message;return{aboutUserMessage:null!==(ec=null==eh?void 0:eh.trim())&&void 0!==ec?ec:"",aboutModelMessage:null!==(ed=null==ep?void 0:ep.trim())&&void 0!==ed?ed:"",fallback:null,shareId:ei}}return{aboutUserMessage:null,aboutModelMessage:null,fallback:(0,eg.RR)(en),shareId:ei}},tk=function(Y){return eW(function(et){var en,ei,eo=eY.resolveThreadId(Y);return null===(en=et.threads[eo])||void 0===en?void 0:null===(ei=en.initialThreadData)||void 0===ei?void 0:ei.hasUserEditableContextFlag})},tw=function(Y){return!!eY.getTree(Y).findNode(function(Y){return"model_editable_context"===Y.message.content.content_type})},t_=function(Y){var et=tk(Y);return null!=tb(Y)||!!et},tE=function(Y){return eW(function(){var et,en=eY.resolveThreadId(Y);return(null===(et=eZ().threads[en])||void 0===et?void 0:et.continuingFromSharedConversationId)!=null})}},60583:function(Y,et,en){"use strict";en.d(et,{pm:function(){return ei},qg:function(){return ew},qh:function(){return eg}});var ei,eo=en(51217),ea=en(39324),eu=en(71209),ec=en(86646),ed=en(43477),ef=en(78103);en(88769),function(Y){Y.LocaleBanner="oai/apps/hasSeenLocaleBanner",Y.HasSeenPluginDisclaimer="oai/apps/hasSeenPluginsDisclaimer",Y.FirstTimeUsingUserContext="oai/apps/hasUserContextFirstTime/2023-06-29",Y.Onboarding="oai/apps/hasSeenOnboarding",Y.GizmoOnboarding="oai/apps/hasSeenGizmoOnboarding",Y.GizmoGPTsOnboarding="oai/apps/hasSeenGizmoGPTsOnboarding",Y.MemoryOnboarding="oai/apps/hasSeenMemoryOnboarding",Y.TemporaryChatOnboarding="oai/apps/hasSeenTemporaryChatOnboarding"}(ei||(ei={}));var eh={announcements:{},eligibleAnnouncements:[]},ep=(0,ed.Z)(function(){return eh}),em=(0,ef.ZP)(ep),eg={updateAnnouncementInitialData:function(Y){ep.setState(function(et){return(0,ea._)({},et,Y)})}},ey={eligibleAnnouncements:function(Y){return Y.eligibleAnnouncements},seenAnnouncements:function(Y){return Y.announcements}};function eb(){return em(ey.eligibleAnnouncements)}function ek(){return em(ey.seenAnnouncements)}function ew(Y){var et=eb(),en=ek();return{eligible:et.includes(Y),markAsViewed:function(){return e_(Y)},isLoading:0===et.length&&0===Object.keys(en).length}}function e_(Y){return ep.setState(function(et){return(0,eu._)((0,ea._)({},et),{eligibleAnnouncements:et.eligibleAnnouncements.filter(function(et){return et!==Y})})}),ec.ZP.announcementViewed(Y)}new(function(){function Y(){(0,eo._)(this,Y),this.queue=new Set,this.visited=new Set,this.isProcessing=!1}var et=Y.prototype;return et.add=function(Y){this.queue.add(Y),this.isProcessing||this.process()},et.shift=function(){var Y=Array.from(this.queue).shift();return Y&&this.queue.delete(Y),Y},et.action=function(){var Y=this.shift();return Y&&!this.visited.has(Y)?(this.visited.add(Y),e_(Y)):Promise.resolve()},et.process=function(){var Y=this;this.isProcessing=!0,this.action().then(function(){Y.queue.size>0?Y.process():Y.isProcessing=!1})},Y}())},72871:function(Y,et,en){"use strict";en.d(et,{H:function(){return eE},N2:function(){return e_},gK:function(){return ew}});var ei,eo=en(96237),ea=en(39324),eu=en(71209),ec=en(10064),ed=en(82473),ef=en(70079),eh=en(78103),ep=en(5053),em=en(88769),eg=en(17944),ey={isBetaFeaturesUiEnabled:!1,isBrowsingAvailable:!1,isBrowsingEnabled:!1,isBrowsingPublisherRedTeam:!1,isPluginsAvailable:!1,isPluginsEnabled:!1,isAdvancedDataAnalysisAvailable:!1,isAdvancedDataAnalysisEnabled:!1,isSunshineAvailable:!1,isSunshineEnabled:!1,isVoiceAvailable:!1,isVoiceEnabled:!1},eb=(ei={},(0,eo._)(ei,ep.tr.BROWSING,"isBrowsingEnabled"),(0,eo._)(ei,ep.tr.CODE_INTERPRETER,"isAdvancedDataAnalysisEnabled"),(0,eo._)(ei,ep.tr.PLUGINS,"isPluginsEnabled"),(0,eo._)(ei,ep.tr.SUNSHINE,"isSunshineEnabled"),(0,eo._)(ei,ep.tr.VOICE,"isVoiceEnabled"),(0,eo._)(ei,ep.tr.WORKSPACE_GPT_CUSTOM_ACTIONS,"isWorkspaceGPTCustomActionsEnabled"),ei),ek=(0,eh.ZP)()(function(){return ey}),ew={updateBetaFeatures:function(Y){ek.setState(function(et){return(0,ea._)({},et,Y)})},updateBetaFeaturesFromFeatures:function(Y){ek.setState(function(et){var en=ew.getBetaFeaturesFromFeatures(Y,et);return(0,ea._)({},et,en)})},getBetaFeaturesFromFeatures:function(Y,et){return Object.entries(Y).reduce(function(Y,en){var ei=(0,ec._)(en,2),ed=ei[0],ef=ei[1],eh=eb[ed],ep=!1;return(("isBrowsingEnabled"===eh&&et.isBrowsingAvailable||"isAdvancedDataAnalysisEnabled"===eh&&et.isAdvancedDataAnalysisAvailable||"isPluginsEnabled"===eh&&et.isPluginsAvailable||"isSunshineEnabled"===eh&&et.isSunshineAvailable||"isVoiceEnabled"===eh&&et.isVoiceAvailable)&&(ep=ef),eh)?(0,eu._)((0,ea._)({},Y),(0,eo._)({},eh,ep)):Y},{})}};function e_(){var Y=(0,ed.NL)();return function(){return Y.invalidateQueries({queryKey:["userSettings","betaFeatures"]})}}function eE(){var Y=(0,eg.aF)(),et=(0,eg.hz)(),en=et.has("beta_features");return(0,em.vl)(),(0,ef.useEffect)(function(){ew.updateBetaFeatures({isBetaFeaturesUiEnabled:en,isBrowsingAvailable:et.has("browsing_available"),isBrowsingPublisherRedTeam:et.has("browsing_publisher_red_team"),isAdvancedDataAnalysisAvailable:et.has("code_interpreter_available")||et.has("tools2"),isPluginsAvailable:et.has("plugins_available")||et.has("tools3"),isSunshineAvailable:et.has("sunshine_available"),isVoiceAvailable:et.has("voice_available")})},[et,en,Y]),ek(function(Y){return Y})}},55548:function(Y,et,en){"use strict";en.d(et,{B:function(){return ei},EV:function(){return eg},bM:function(){return ep},tN:function(){return eh},vm:function(){return em}});var ei,eo,ea=en(39324),eu=en(19253),ec=en(78103);!function(Y){Y.DownloadMessages="download-messages",Y.InviteUsersToWorkspace="invite-users-to-workspace",Y.WorkspaceAppearance="workspace-appearance",Y.KeyboardActions="keyboard-actions",Y.UserContext="user-context",Y.WorkspaceSwitcher="workspace-switcher",Y.ReadOnlyConversationTemplate="read-only-conversation-template",Y.CookieManagement="cookie-management",Y.AgeVerificationInterstitial="age-verification-interstitial",Y.GPTDetails="gpt-details",Y.GPTPrivacySettings="gpt-privacy-settings",Y.CreateWorkspace="create-workspace"}(ei||(ei={}));var ed=eu.F.IsNavigationCollapsed,ef={isThreadHeaderVisible:!0,isDesktopNavCollapsed:null!==(eo=eu.m.getItem(ed))&&void 0!==eo&&eo,sharingModalThreadId:void 0,activeSidebar:!1,activeModals:new Set,isLatencyDevToolsVisible:!1},eh=(0,ec.ZP)()(function(){return(0,ea._)({},ef)}),ep={isDesktopNavCollapsed:function(Y){return Y.isDesktopNavCollapsed},isThreadHeaderVisible:function(Y){return Y.isThreadHeaderVisible},isLatencyDevtoolsVisible:function(Y){return Y.isLatencyDevToolsVisible}},em={toggleDesktopNavCollapsed:function(){eh.setState(function(Y){var et=!Y.isDesktopNavCollapsed;return eu.m.setItem(ed,et),{isDesktopNavCollapsed:et}})},closeSidebar:function(){eu.m.setItem(ed,!0),eh.setState({isDesktopNavCollapsed:!0})},hideThreadHeader:function(){eh.setState({isThreadHeaderVisible:!1})},showThreadHeader:function(){eh.setState({isThreadHeaderVisible:!0})},openSharingModal:function(Y){eh.setState({sharingModalThreadId:Y})},closeSharingModal:function(){eh.setState({sharingModalThreadId:void 0})},setActiveSidebar:function(Y){eh.setState({activeSidebar:Y})},toggleActiveSidebar:function(Y){eh.setState(function(et){return{activeSidebar:et.activeSidebar!==Y&&Y}})},toggleModal:function(Y){eh.setState(function(et){var en=new Set(et.activeModals);return en.has(Y)?en.delete(Y):en.add(Y),{activeModals:en}})},openModal:function(Y){eh.setState(function(et){var en=new Set(et.activeModals);return en.add(Y),{activeModals:en}})},closeModal:function(Y){eh.setState(function(et){var en=new Set(et.activeModals);return en.delete(Y),{activeModals:en}})},hideLatencyDevTools:function(){eh.setState({isLatencyDevToolsVisible:!1})},showLatencyDevTools:function(){eh.setState({isLatencyDevToolsVisible:!0})}};function eg(Y){return eh(function(et){return et.activeModals.has(Y)})}},88769:function(Y,et,en){"use strict";en.d(et,{Fl:function(){return e_},PG:function(){return eb},mK:function(){return ew},vl:function(){return eE}});var ei=en(21722),eo=en(96237),ea=en(39324),eu=en(71209),ec=en(38104),ed=en(61236),ef=en(78103),eh=en(86646),ep=en(62682),em=en(60583),eg=en(72871),ey=en(17944),eb={SUNSHINE:"sunshine"},ek=(0,ef.ZP)(function(){return{sunshine:!1}}),ew={updateSetting:function(){var Y=(0,ei._)(function(Y,et){return(0,ec.Jh)(this,function(en){switch(en.label){case 0:return[4,eh.ZP.updateUserSetting(Y,et)];case 1:return en.sent(),ek.setState((0,eo._)({},Y,et)),[2]}})});return function(et,en){return Y.apply(this,arguments)}}()};function e_(){var Y=eE().isLoading,et=ek();return(0,eu._)((0,ea._)({},et),{isLoading:Y})}function eE(){var Y=(0,ey.hz)(),et=Y.has("beta_features"),en=Y.has(ep.S$),ei=(0,ey.ec)(ey.F_.isBusinessWorkspace),eo=(0,ed.a)({queryKey:["userSettings","betaFeatures"],queryFn:function(){return eh.ZP.getUserSettings().then(function(Y){return null!=Y&&(eg.gK.updateBetaFeaturesFromFeatures(Y.beta_settings),em.qh.updateAnnouncementInitialData({announcements:Y.announcements,eligibleAnnouncements:Y.eligible_announcements}),ek.setState({sunshine:Y.settings.sunshine})),Y})},enabled:en}).isLoading,ea=(0,ed.a)({queryKey:["userSettings","betaFeatures"],queryFn:function(){return eh.ZP.getUserSettingBetaFeatures().then(function(Y){return null!=Y&&eg.gK.updateBetaFeaturesFromFeatures(Y),Y})},enabled:(et||!0===ei)&&!en}).isLoading;return{isLoading:eo||ea}}},17944:function(Y,et,en){"use strict";en.d(et,{$T:function(){return eF},F_:function(){return eP},KQ:function(){return eG},N$:function(){return eZ},WY:function(){return eB},YD:function(){return eH},Zp:function(){return eV},aF:function(){return eT},e2:function(){return eU},ec:function(){return eA},hz:function(){return eW},m0:function(){return ez},w_:function(){return eM}});var ei=en(21722),eo=en(10064),ea=en(38104),eu=en(91006),ec=en(61236),ed=en(4536),ef=en(85660),eh=en(8874),ep=en(65925),em=en.n(ep);en(10721);var eg=en(78103),ey=en(5053),eb=en(65649),ek=en(86646),ew=en(40971);function e_(){return eE.apply(this,arguments)}function eE(){return(eE=(0,ei._)(function(){var Y;return(0,ea.Jh)(this,function(et){switch(et.label){case 0:return[4,ek.ZP.getMe()];case 1:return[2,{id:(Y=et.sent()).id,email:Y.email,name:Y.name,picture:Y.picture,created:Y.created}]}})})).apply(this,arguments)}var eC=(0,eu.C)({queryKey:["user"],queryFn:e_,staleTime:1/0});function eT(){return(0,ec.a)(eC).data}var eS={currentWorkspace:null,subscriptionStatus:null,features:new Set,workspaces:[]},eA=(0,eg.ZP)(function(){return eS});eA.subscribe(function(Y){var et=Y.currentWorkspace;eh.m9.setUserWorkspaceId((null==et?void 0:et.structure)===ey.CZ.WORKSPACE?et.id:void 0)});var eM={setCurrentWorkspace:function(Y){var et,en=!(arguments.length>1)||void 0===arguments[1]||arguments[1],ei=ef.b.getCookie(ef.c.Workspace);Y.structure===ey.CZ.WORKSPACE?ef.b.setCookie(ef.c.Workspace,Y.id,{maxAge:eb.O}):Y.structure===ey.CZ.PERSONAL&&en&&ef.b.setCookie(ef.c.Workspace,eb.b,{maxAge:eb.O}),(null!=ei?ei:eb.b)!==(null!==(et=ef.b.getCookie(ef.c.Workspace))&&void 0!==et?et:eb.b)&&(0,ew.M)(),eA.setState({currentWorkspace:Y})}},eP={hasMultipleWorkspaces:function(Y){return Y.workspaces.length>1},isPersonalWorkspace:function(Y){var et=Y.currentWorkspace;return(null==et?void 0:et.structure)===ey.CZ.PERSONAL},isBusinessWorkspace:function(Y){var et=Y.currentWorkspace;return null!=et?et.structure===ey.CZ.WORKSPACE:void 0},isEnterprisePlan:function(Y){var et=Y.subscriptionStatus;return(null==et?void 0:et.planType)===ey.D8.ENTERPRISE},isTeamPlan:function(Y){var et=Y.subscriptionStatus;return(null==et?void 0:et.planType)===ey.D8.TEAM},isAdmin:function(Y){var et=Y.currentWorkspace;return null!=et&&et.role===ey.r3.ADMIN},isOwner:function(Y){var et=Y.currentWorkspace;return null!=et&&et.role===ey.r3.OWNER},workspaceId:function(Y){var et=Y.currentWorkspace;return null!=et?et.id:null},businessWorkspace:function(Y){var et=Y.currentWorkspace;return(null==et?void 0:et.structure)===ey.CZ.WORKSPACE?et:void 0},businessWorkspaceId:function(Y){var et=Y.currentWorkspace;return(null==et?void 0:et.structure)===ey.CZ.WORKSPACE?et.id:void 0},hasPaidSubscription:function(Y){var et=Y.subscriptionStatus;return null!=et&&et.hasPaidSubscription},wasPaidCustomer:function(Y){var et=Y.subscriptionStatus;return null!=et&&et.wasPaidCustomer},hasCustomerObject:function(Y){var et=Y.subscriptionStatus;return null!=et&&et.hasCustomerObject},hasUnclaimedFreeTrial:function(Y){var et,en=Y.currentWorkspace;return null==en?void 0:null===(et=en.promoData)||void 0===et?void 0:et.has_claimed_free_trial},lastActiveSubscription:function(Y){var et=Y.subscriptionStatus;return null!=et?et.lastActiveSubscription:null},features:function(Y){return Y.features},workspaces:function(Y){return Y.workspaces},accountUserId:function(Y){var et=Y.currentWorkspace;return null==et?void 0:et.accountUserId}},ej=ey.D8.FREE,eO=ey.r3.OWNER,eI="default";function eN(Y,et){if("string"==typeof et){var en=Y.find(function(Y){return Y.id===et});if(void 0!==en)return en;if(et===eb.b){var ei=Y.find(function(Y){return Y.structure===ey.CZ.PERSONAL});if(void 0!==ei)return ei}}if(1===Y.length||!Y.some(function(Y){return Y.structure===ey.CZ.WORKSPACE}))return Y[0]}function eL(Y){return eR.apply(this,arguments)}function eR(){return(eR=(0,ei._)(function(Y){var et,en,ei,eu;return(0,ea.Jh)(this,function(ea){switch(ea.label){case 0:en=(et=(0,eo._)(Y.queryKey,2))[0],ei=et[1].accessToken,ea.label=1;case 1:return ea.trys.push([1,3,,4]),[4,ek.ZP.getAccountStatusV4({accessToken:ei}).then(function(Y){var et,en=null!==(et=ef.b.getCookie(ef.c.Workspace))&&void 0!==et?et:void 0,ei=eK(Y),eo=eN(ei,en);if(void 0!==eo){eM.setCurrentWorkspace(eo,!1);var ea=eY(Y,null==eo?void 0:eo.id),eu=ea.accountPlan,ec=ea.features;eA.setState(function(Y){var et={};return em()(Y.subscriptionStatus,eu)||(et.subscriptionStatus=eu),em()(Y.features,ec)||(et.features=ec),em()(Y.workspaces,ei)||(et.workspaces=ei),et})}else eA.setState(function(Y){return em()(Y.workspaces,ei)?{}:{workspaces:ei}});return Y})];case 2:return[2,ea.sent()];case 3:throw eu=ea.sent(),console.log("Unable to load account"),eu;case 4:return[2]}})})).apply(this,arguments)}function eD(Y){var et=(0,ed.kP)().session,en=null==et?void 0:et.accessToken;return(0,ec.a)({queryKey:["account-status",{accessToken:en}],queryFn:eL,select:Y,refetchOnWindowFocus:!0,staleTime:6e5})}function eF(){return eD().isLoading}function eB(){return eA(eP.hasPaidSubscription)}function ez(){var Y=eF(),et=eA(eP.hasPaidSubscription),en=eA(eP.isBusinessWorkspace);if(!Y)return et||en}function eU(){return eA(eP.lastActiveSubscription)}function eH(){return eA(eP.hasCustomerObject)}function eG(){return eA(eP.wasPaidCustomer)}function eV(){return eA(eP.hasUnclaimedFreeTrial)}function eW(){return eA(eP.features)}function eZ(){return eP.features(eA.getState())}function eK(Y){var et,en;return Y.account_ordering.map(function(ei){return{id:Y.accounts[ei].account.account_id,accountUserId:Y.accounts[ei].account.account_user_id,name:null!==(et=Y.accounts[ei].account.name)&&void 0!==et?et:null,profilePictureId:Y.accounts[ei].account.profile_picture_id,profilePictureUrl:Y.accounts[ei].account.profile_picture_url,structure:Y.accounts[ei].account.structure,role:null!==(en=Y.accounts[ei].account.account_user_role)&&void 0!==en?en:eO,organizationId:Y.accounts[ei].account.organization_id,promoData:Y.accounts[ei].account.promo_data,deactivated:Y.accounts[ei].account.is_deactivated}})}function e$(Y){if(null!=Y){var et=Date.parse(Y);if(!isNaN(et))return et/1e3}}function eY(Y,et){var en,ei,eo,ea,eu,ec,ed,ef=Object.keys(Y.accounts);if(0===ef.length)throw Error("No accounts found");var eh=void 0!==et&&""!==et,ep=(ei=1===ef.length?Y.accounts[ef[0]]:eh&&(null===(eo=Y.accounts[et])||void 0===eo?void 0:eo.account)!==void 0?Y.accounts[et]:Y.accounts[eI]).features;return{accountPlan:{hasPaidSubscription:ei.entitlement.has_active_subscription||!1,subscriptionPlan:ei.entitlement.subscription_plan,planType:null!==(ea=ei.account.plan_type)&&void 0!==ea?ea:ej,subscriptionExpiresAt:e$(ei.entitlement.expires_at),wasPaidCustomer:null!==(eu=ei.account.has_previously_paid_subscription)&&void 0!==eu&&eu,hasCustomerObject:null!==(ec=null===(en=ei.account.processor)||void 0===en?void 0:en.a001.has_customer_object)&&void 0!==ec&&ec,lastActiveSubscription:null!==(ed=ei.last_active_subscription)&&void 0!==ed?ed:void 0},features:new Set(ep)}}},42786:function(Y,et,en){"use strict";function ei(Y){}en.d(et,{Z:function(){return ei}})},87743:function(Y,et,en){"use strict";en.d(et,{sR:function(){return ea}});var ei=en(39324),eo={AD:"Andorra",AI:"Anguilla",AT:"Austria",AW:"Aruba",AX:"\xc5land Islands",BG:"Bulgaria",BL:"Saint Barth\xe9lemy",BM:"Bermuda",BQ:"Caribbean Netherlands",BV:"Bouvet Island",CH:"Switzerland",CW:"Cura\xe7ao",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",FK:"Falkland Islands",FO:"Faroe Islands",FR:"France",GB:"United Kingdom",GF:"French Guiana",GG:"Guernsey",GI:"Gibraltar",GL:"Greenland",GP:"Guadeloupe",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",HR:"Croatia",HU:"Hungary",IC:"Canary Islands",IE:"Ireland",IM:"Isle of Man",IO:"British Indian Ocean Territory",IS:"Iceland",IT:"Italy",JE:"Jersey",KY:"Cayman Islands",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",ME:"Montenegro",MF:"Saint Martin",MQ:"Martinique",MS:"Montserrat",MT:"Malta",NC:"New Caledonia",NL:"Netherlands",NO:"Norway",PF:"French Polynesia",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PT:"Portugal",RE:"Reunion",SE:"Sweden",SH:"Saint Helena, Ascension and Tristan da Cunha",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SM:"San Marino",SX:"Sint Maarten",TC:"Turks and Caicos Islands",TF:"French Southern Territories",VA:"Vatican City",VG:"British Virgin Islands",WF:"Wallis and Futuna",YT:"Mayotte"},ea=(0,ei._)({},eo,{BE:"Belgium",RO:"Romania"})},25687:function(Y,et,en){"use strict";en.d(et,{OV:function(){return ea},QL:function(){return eu},gB:function(){return ec},gt:function(){return eo}});var ei=en(70079),eo=(0,ei.createContext)({}),ea=(0,ei.createContext)(function(){return Promise.resolve()}),eu=(0,ei.createContext)({historyDisabled:!1,toggleHistoryDisabled:function(){},onEnableHistory:function(){},getModifiedSettings:function(){return!1},unsetModifiedSettings:function(){}}),ec=(0,ei.createContext)(null)},84844:function(Y,et,en){"use strict";en.d(et,{LW:function(){return ea},eR:function(){return eo}});var ei=en(10064);function eo(Y,et){var en=!0,eo=!1,ea=void 0;try{for(var eu,ec=Object.entries(et)[Symbol.iterator]();!(en=(eu=ec.next()).done);en=!0){var ed=(0,ei._)(eu.value,2),ef=ed[0],eh=ed[1];Y.addEventListener(ef,eh)}}catch(Y){eo=!0,ea=Y}finally{try{en||null==ec.return||ec.return()}finally{if(eo)throw ea}}return function(){var en=!0,eo=!1,ea=void 0;try{for(var eu,ec=Object.entries(et)[Symbol.iterator]();!(en=(eu=ec.next()).done);en=!0){var ed=(0,ei._)(eu.value,2),ef=ed[0],eh=ed[1];Y.removeEventListener(ef,eh)}}catch(Y){eo=!0,ea=Y}finally{try{en||null==ec.return||ec.return()}finally{if(eo)throw ea}}}}function ea(Y,et){var en=!0,eo=!1,ea=void 0;try{for(var eu,ec=Object.entries(et)[Symbol.iterator]();!(en=(eu=ec.next()).done);en=!0){var ed=(0,ei._)(eu.value,2),ef=ed[0],eh=ed[1];Y.on(ef,eh)}}catch(Y){eo=!0,ea=Y}finally{try{en||null==ec.return||ec.return()}finally{if(eo)throw ea}}return function(){var en=!0,eo=!1,ea=void 0;try{for(var eu,ec=Object.entries(et)[Symbol.iterator]();!(en=(eu=ec.next()).done);en=!0){var ed=(0,ei._)(eu.value,2),ef=ed[0],eh=ed[1];Y.off(ef,eh)}}catch(Y){eo=!0,ea=Y}finally{try{en||null==ec.return||ec.return()}finally{if(eo)throw ea}}}}},93028:function(Y,et,en){"use strict";en.d(et,{I:function(){return ep},Q0:function(){return ed},gK:function(){return ec},wp:function(){return eg}});var ei=en(51217),eo=en(69072),ea=en(43512),eu=en(12051),ec=function(Y){(0,eo._)(en,Y);var et=(0,eu._)(en);function en(Y,eo,ea,eu,ec,ed){var ef;return(0,ei._)(this,en),Array.isArray(Y)&&(Y=Y.reduce(function(Y,et){return Y+"\n"+JSON.stringify(et)},"")),(ef=et.call(this,em(Y))).name="UserError",ef.userMessage=Y,ef.status=eo||400,ef.code=ea,ef.type=eu,ef.response=ec,ef.clearsIn=ed,ef}return en}((0,ea._)(Error)),ed=function(Y){(0,eo._)(en,Y);var et=(0,eu._)(en);function en(){var Y,eo=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ep,ea=arguments.length>1?arguments[1]:void 0,eu=arguments.length>2?arguments[2]:void 0;return(0,ei._)(this,en),(Y=et.call(this,em(eo))).name="FatalServerError",Y.type=ea,Y.response=eu,Y}return en}((0,ea._)(Error)),ef="Rate limit reached for",eh="End-user exceeded rate-limit",ep="Something went wrong. If this issue persists please contact us through our help center at help.openai.com.";function em(Y){return Y&&(Y.startsWith(ef)||Y.startsWith(eh))?"We're sorry, but we limit the number of requests one user can make in a certain timeframe. Please hang tight and try again in a little while.":Y}var eg="history_disabled_conversation_not_found"},88887:function(Y,et,en){"use strict";en.d(et,{E:function(){return ei}});var ei=new(en(4263)).V},4263:function(Y,et,en){"use strict";en.d(et,{V:function(){return eu}});var ei=en(51217),eo=en(36560),ea=en.n(eo),eu=function(){function Y(){(0,ei._)(this,Y),this.emitter=new(ea()),this.emitter.setMaxListeners(1e3)}var et=Y.prototype;return et.on=function(Y,et){this.emitter.on(Y,et)},et.off=function(Y,et){this.emitter.off(Y,et)},et.publish=function(Y){this.emitter.emit(Y.kind,Y),this.emitter.emit("anyEvent",Y)},Y}()},77117:function(Y,et,en){"use strict";en.d(et,{BH:function(){return eh},R7:function(){return ef},V1:function(){return em},Yr:function(){return ec},ZW:function(){return ea},u9:function(){return eu}});var ei=en(21722),eo=en(38104),ea="en-US",eu=["de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","pt-BR","ru-RU","zh-Hans","zh-TW"],ec=["dev","de-DE","en-US","es-ES","fr-FR","it-IT","ja-JP","ko-KR","pl-PL","pt-BR","pt-PT","ru-RU","zh-Hans","zh-TW"],ed={dev:"dev",de:"de-DE",en:"en-US",es:"es-ES",fr:"fr-FR",it:"it-IT",ja:"ja-JP",ko:"ko-KR",pl:"pl-PL",pt:"pt-BR",ru:"ru-RU",zh:"zh-Hans","zh-TW":"zh-TW"},ef=function(Y,et){if(ec.includes(Y)&&(eu.includes(Y)||et))return Y;if(!Y.split(/[-_]/)[0])return null;var en=ed[Y];return(et||eu.includes(en))&&null!=en?en:null},eh=function(Y,et){var en=void 0,ei=ea;if(null!==Y)en=ef(Y,et);else if(window.navigator){var eo,eu=window.navigator;en=ef(null!==(eo=eu.userLanguage)&&void 0!==eo?eo:eu.language,et)}return null!=en?en:ei},ep=function(){var Y=(0,ei._)(function(Y){var et,ei,eu=arguments;return(0,eo.Jh)(this,function(eo){switch(eo.label){case 0:if(et=(eu.length>1&&void 0!==eu[1]?eu[1]:{}).signal,Y===ea)return[2,{}];if(null==et?void 0:et.aborted)throw Error("Aborted");eo.label=1;case 1:return eo.trys.push([1,3,,4]),[4,en(68494)("./".concat(Y,".json"))];case 2:if(ei=eo.sent(),null==et?void 0:et.aborted)throw Error("Aborted");return[2,ei.default];case 3:throw eo.sent();case 4:return[2]}})});return function(et){return Y.apply(this,arguments)}}(),em=function(){var Y=(0,ei._)(function(Y,et,en,ei){var ea,eu;return(0,eo.Jh)(this,function(eo){switch(eo.label){case 0:return eo.trys.push([0,2,,3]),[4,ep(Y,{signal:et})];case 1:if(ea=eo.sent(),et.aborted)return[2];return en(ea),[3,3];case 2:if(eu=eo.sent(),et.aborted)return[2];return ei(eu),[3,3];case 3:return[2]}})});return function(et,en,ei,eo){return Y.apply(this,arguments)}}()},1491:function(Y,et,en){"use strict";en.d(et,{_G:function(){return ei},aj:function(){return eg},dQ:function(){return ey},oc:function(){return eh},w$:function(){return ep},x_:function(){return em}});var ei,eo,ea=en(96237),eu=en(10064),ec=en(70079);!function(Y){Y.Mobile="mobile",Y.Small="small",Y.Medium="medium",Y.Large="large",Y.XLarge="xlarge"}(ei||(ei={}));var ed=(eo={},(0,ea._)(eo,ei.Small,640),(0,ea._)(eo,ei.Medium,768),(0,ea._)(eo,ei.Large,1024),(0,ea._)(eo,ei.XLarge,1280),eo);function ef(Y){var et=function(){ea(en(Y))},en=function(Y){return window.matchMedia(Y).matches},ei=(0,eu._)((0,ec.useState)(en(Y)),2),eo=ei[0],ea=ei[1];return(0,ec.useEffect)(function(){var en=window.matchMedia(Y);return et(),en.addListener?en.addListener(et):en.addEventListener("change",et),function(){en.removeListener?en.removeListener(et):en.removeEventListener("change",et)}},[Y]),eo}function eh(){return ef("(min-width: ".concat(ed[ei.Small],"px)"))}function ep(){return ef("(min-width: ".concat(ed[ei.Medium],"px)"))}function em(){return ef("(min-width: ".concat(ed[ei.Large],"px)"))}function eg(){return ef("(min-width: ".concat(ed[ei.XLarge],"px)"))}function ey(){var Y=eh(),et=ep(),en=em();return eg()?ei.XLarge:en?ei.Large:et?ei.Medium:Y?ei.Small:ei.Mobile}},86925:function(Y,et,en){"use strict";en.d(et,{Cs:function(){return ei},Ej:function(){return ek},JD:function(){return em},Lx:function(){return ew},RR:function(){return eb},Rc:function(){return ey},bm:function(){return e_},lD:function(){return ep},oH:function(){return eh},qi:function(){return ef},qs:function(){return eg},rH:function(){return ed}});var ei,eo,ea=en(10064),eu=en(8844),ec=en(61098);function ed(Y){if(Y.author.role===ec.uU.Assistant){var et=ew(Y.recipient);if(Y.recipient===eo.BROWSER||Y.recipient===eo.BROWSER_ONE_BOX||Y.recipient===eo.WIKI_BROWSER)return ei.Browsing;if(Y.recipient===eo.MYFILES_BROWSER||Y.recipient===eo.GDRIVE_BROWSER||(null==et?void 0:et.namespace)===eo.MYFILES_BROWSER)return ei.RetrievalBrowsing;if(Y.recipient===eo.BROWSING_TEAM)return ei.ParallelBrowsing;if(Y.recipient===eo.BIO)return ei.UserModelBio;else if(Y.recipient===eo.PYTHON)return ei.Code;else if((null==et?void 0:et.namespace)===eo.DALLE||Y.recipient===eo.DALLE)return ei.Dalle;else if((null==et?void 0:et.namespace)===eo.GIZMO_EDITOR)return ei.GizmoEditor;else if(eE(null==et?void 0:et.namespace))return ei.JITPlugin;else if(null!=et)return ei.Plugin;else if(Y.content.content_type===ec.PX.ModelEditableContext)return ei.ModelEditableContext}else if(Y.author.role===ec.uU.Tool){var en=ew(Y.author.name);if(Y.author.name===eo.BROWSER||Y.author.name===eo.BROWSER_ONE_BOX||Y.author.name===eo.WIKI_BROWSER)return ei.BrowseTool;if(Y.author.name===eo.MYFILES_BROWSER||Y.author.name===eo.GDRIVE_BROWSER||(null==en?void 0:en.namespace)===eo.MYFILES_BROWSER)return ei.RetrievalBrowsingTool;if(Y.author.name===eo.BROWSING_TEAM)return ei.ParallelBrowsingTool;if(Y.author.name===eo.BIO)return ei.UserModelBioTool;else if(Y.author.name===eo.PYTHON)return ei.CodeExecutionOutput;else if((null==en?void 0:en.namespace)===eo.DALLE||Y.author.name===eo.DALLE)return ei.DalleTool;else if((null==en?void 0:en.namespace)===eo.GIZMO_EDITOR)return ei.GizmoEditor;else if(eE(null==en?void 0:en.namespace))return ei.JITPluginTool;else if(null!=en||Y.author.name===eo.PLUGIN_SERVICE)return ei.PluginTool}else if(Y.author.role===ec.uU.System)return ei.System;else if(Y.author.role===ec.uU.User&&Y.content.content_type===ec.PX.UserEditableContext)return ei.UserEditableContext;return Y.content.content_type===ec.PX.Text||Y.content.content_type===ec.PX.MultimodalText?ei.Text:ei.Unknown}function ef(Y){var et;return(null===(et=Y.metadata)||void 0===et?void 0:et.finish_details)!=null}function eh(Y){var et,en;return(null===(et=Y.metadata)||void 0===et?void 0:null===(en=et.finish_details)||void 0===en?void 0:en.type)==="stop"}function ep(Y){var et,en;return(null===(et=Y.metadata)||void 0===et?void 0:null===(en=et.finish_details)||void 0===en?void 0:en.type)==="max_tokens"}function em(Y){var et,en;return(null===(et=Y.metadata)||void 0===et?void 0:null===(en=et.finish_details)||void 0===en?void 0:en.type)==="interrupted"}function eg(Y){var et;return(null===(et=Y.metadata)||void 0===et?void 0:et.message_type)==="continue"}function ey(Y){var et;return null===(et=Y.metadata)||void 0===et?void 0:et.model_slug}function eb(Y){switch(Y.content.content_type){case ec.PX.Text:return Y.content.parts.join("");case ec.PX.MultimodalText:return Y.content.parts.map(function(Y){return"string"==typeof Y?Y:'[media pointer="'.concat(Y.asset_pointer,'"]')}).join("\n");case ec.PX.TetherBrowsingDisplay:return Y.content.result;case ec.PX.TetherQuote:case ec.PX.TetherBrowsingCode:case ec.PX.Code:case ec.PX.ExecutionOutput:case ec.PX.SystemError:return Y.content.text;case ec.PX.SystemMessage:case ec.PX.SystemContent:var et,en;return null!==(en=null==Y?void 0:null===(et=Y.metadata)||void 0===et?void 0:et.rendered_harmony_string)&&void 0!==en?en:JSON.stringify(Y.content);case ec.PX.UserEditableContext:return"".concat(Y.content.user_profile,"\n").concat(Y.content.user_instructions);default:return""}}function ek(Y){var et;return null!==(et=Y.recipient)&&void 0!==et?et:""}function ew(Y){if(null==Y||!Y.includes("."))return null;var et=(0,ea._)(Y.split("."),2);return{namespace:et[0],functionName:et[1]}}function e_(Y){return{id:(0,eu.Z)(),author:{role:ec.uU.System},content:{content_type:ec.PX.Text,parts:["User is replying to this part in particular: [".concat(Y,"]")]},metadata:{exclude_after_next_user_message:!0}}}function eE(Y){if(!Y)return!1;var et=Y.split("__");return et.findIndex(function(Y){return Y===eo.JIT_PLUGIN})===et.length-1}!function(Y){Y[Y.Text=0]="Text",Y[Y.Browsing=1]="Browsing",Y[Y.BrowseTool=2]="BrowseTool",Y[Y.Code=3]="Code",Y[Y.CodeExecutionOutput=4]="CodeExecutionOutput",Y[Y.MultimodalText=5]="MultimodalText",Y[Y.Plugin=6]="Plugin",Y[Y.PluginTool=7]="PluginTool",Y[Y.JITPlugin=8]="JITPlugin",Y[Y.JITPluginTool=9]="JITPluginTool",Y[Y.RetrievalBrowsing=10]="RetrievalBrowsing",Y[Y.RetrievalBrowsingTool=11]="RetrievalBrowsingTool",Y[Y.ParallelBrowsing=12]="ParallelBrowsing",Y[Y.ParallelBrowsingTool=13]="ParallelBrowsingTool",Y[Y.UserEditableContext=14]="UserEditableContext",Y[Y.ModelEditableContext=15]="ModelEditableContext",Y[Y.UserModelBio=16]="UserModelBio",Y[Y.UserModelBioTool=17]="UserModelBioTool",Y[Y.Dalle=18]="Dalle",Y[Y.DalleTool=19]="DalleTool",Y[Y.GizmoEditor=20]="GizmoEditor",Y[Y.System=21]="System",Y[Y.Unknown=22]="Unknown"}(ei||(ei={})),function(Y){Y.BROWSER="browser",Y.BROWSER_ONE_BOX="browser_one_box",Y.WIKI_BROWSER="wiki_browser",Y.MYFILES_BROWSER="myfiles_browser",Y.GDRIVE_BROWSER="gdrive_browser",Y.BROWSING_TEAM="browsing_team",Y.BIO="bio",Y.PYTHON="python",Y.DALLE="dalle",Y.PLUGIN_SERVICE="plugin_service",Y.GIZMO_EDITOR="gizmo_editor",Y.JIT_PLUGIN="jit_plugin"}(eo||(eo={}))},40971:function(Y,et,en){"use strict";en.d(et,{I:function(){return eu},M:function(){return ec}});var ei,eo="session",ea="refresh";function eu(){null==ei||ei.postMessage(ea)}function ec(){eu(),window.location.href="/"}void 0!==window.BroadcastChannel&&((ei=new window.BroadcastChannel(eo)).onmessage=function(Y){Y.data===ea&&(document.hidden?window.addEventListener("visibilitychange",function(){document.hidden||(window.location.href="/")}):setTimeout(function(){window.location.href="/"},300))})},15066:function(Y,et,en){"use strict";en.d(et,{Cv:function(){return eT},M6:function(){return e_},Vh:function(){return ew}});var ei=en(51217),eo=en(53596),ea=en(66816),eu=en(49406),ec=en(31819),ed=en(96237),ef=en(39324),eh=en(64502),ep=en(11615),em=en(87981),eg=en(61888),ey=en(8844),eb=en(61098),ek=en(86925),ew="request-";function e_(Y){var et=(0,ey.Z)();return"".concat(Y).concat(et.substring(Y.length))}var eE=new WeakMap,eC=new WeakMap,eT=function(){function Y(et){(0,ei._)(this,Y),(0,ea._)(this,eE,{writable:!0,value:void 0}),(0,ea._)(this,eC,{writable:!0,value:void 0}),(0,eu._)(this,eE,null!=et?et:Y.createTree());var en,ec=Object.values((0,eo._)(this,eE)).find(function(Y){return Y.message.author.role===eb.uU.Root});(0,eu._)(this,eC,null!==(en=null==ec?void 0:ec.id)&&void 0!==en?en:"root")}var et=Y.prototype;return et.hasNodeOrMessageId=function(Y){try{return this.getNodeByIdOrMessageId(Y),!0}catch(Y){return!1}},et.getNodeByIdOrMessageId=function(Y){if(null!=(0,eo._)(this,eE)[Y])return(0,eo._)(this,eE)[Y];var et=!0,en=!1,ei=void 0;try{for(var ea,eu=Object.values((0,eo._)(this,eE))[Symbol.iterator]();!(et=(ea=eu.next()).done);et=!0){var ec=ea.value;if(ec.message.id===Y)return ec}}catch(Y){en=!0,ei=Y}finally{try{et||null==eu.return||eu.return()}finally{if(en)throw ei}}throw Error("getNodeByIdOrMessageId - no node found by id: ".concat(Y))},et.getMessage=function(Y){return this.getNodeByIdOrMessageId(Y).message},et.getMessageId=function(Y){try{var et;return null===(et=this.getNodeByIdOrMessageId(Y))||void 0===et?void 0:et.message.id}catch(et){throw console.error("Tree: Unable to getMessageId for node: ".concat(Y)),et}},et.getMetadata=function(Y){return this.getNodeByIdOrMessageId(Y).metadata},et.getLeafFromNode=function(Y){for(var et=this.getNodeByIdOrMessageId(Y);;){if(0===et.children.length)return et;var en=et.children.values().next().value;et=this.getNodeByIdOrMessageId(en)}},et.getParent=function(Y){var et=this.getNodeByIdOrMessageId(Y).parentId;return this.getNodeByIdOrMessageId(et)},et.getParentId=function(Y){var et;return(null===(et=this.getParent(Y))||void 0===et?void 0:et.id)||"root"},et.getBranchFromLeaf=function(Y){for(var et=[],en=this.getNodeByIdOrMessageId(Y);;){if(null==en){ep.D0;break}if(et.includes(en)){console.error("Infinite loop detected in getBranchFromLeaf. Branch already contains node ".concat(null==en?void 0:en.id,". Parent id: ").concat(null==en?void 0:en.parentId,"."),{branch:et});break}if(et.push(en),en.message.author.role===eb.uU.Root)break;en=this.getNodeByIdOrMessageId(en.parentId)}return et.reverse()},et.getChildrenFromNode=function(Y){var et=this,en=this.getNodeByIdOrMessageId(Y);return null==en?[]:Array.from(en.children).map(function(Y){return et.getNodeByIdOrMessageId(Y)})},et.getFirstPrompt=function(){for(var Y,et=this.getNodeByIdOrMessageId((0,eo._)(this,eC));;){if(null==et){ep.D0;return}if(et.message.author.role===eb.uU.User||et.message.author.role===eb.uU.System&&(null===(Y=et.message.metadata)||void 0===Y?void 0:Y.upload_filename))return et;if(0==et.children.length)return;et=this.getNodeByIdOrMessageId(et.children[0])}},et.getUserContext=function(){for(var Y,et=this.getNodeByIdOrMessageId((0,eo._)(this,eC));;){if(null==et)return;if(null===(Y=et.message.metadata)||void 0===Y?void 0:Y.is_user_system_message)return et;if(et.message.author.role===eb.uU.User||0==et.children.length)return null;et=this.getNodeByIdOrMessageId(et.children[0])}},et.findNode=function(Y){return Object.values((0,eo._)(this,eE)).find(Y)},et.isMessageIncomplete=function(Y){var et=this.getMessage(Y);return(0,ek.lD)(et)},et.addNodeToEnd=function(Y,et){var en=this.getNodeByIdOrMessageId(Y);if(null==en)return console.error("Cannot addNodeToEnd with parentNodeId: ".concat(Y," - not found")),(0,ed._)({},et.id,et);(0,eu._)(this,eE,(0,em.Uy)((0,eo._)(this,eE),function(Y){Y[et.id]=et,Y[en.id].children=Array.from(new Set((0,eh._)(Y[en.id].children).concat([et.id])))}))},et.insertNodeBefore=function(Y,et){var en=this.getNodeByIdOrMessageId(this.getParentId(Y));if(null==en){console.error("Cannot insertNodeBefore with parentNodeId: ".concat(Y," - not found"));return}var ei=en.id;(0,eu._)(this,eE,(0,em.Uy)((0,eo._)(this,eE),function(en){en[Y].parentId=et.id,en[ei].children=Array.from(new Set((0,eh._)(en[ei].children.filter(function(et){return et!==Y})).concat([et.id]))),et.children.includes(Y)||(et.children=[Y].concat((0,eh._)(et.children))),et.parentId=ei,en[et.id]=et}))},et.appendSystemMessageToRoot=function(Y){for(var et=this,en=this.getNodeByIdOrMessageId((0,eo._)(this,eC));1===en.children.length;){var ei=this.getNodeByIdOrMessageId(en.children[0]);if(ei.message.author.role===eb.uU.System)en=ei;else break}var ea=en.children.map(function(Y){return et.getNodeByIdOrMessageId(Y)}),ec={id:Y.id,children:en.children,parentId:en.id,message:Y};(0,eu._)(this,eE,(0,em.Uy)((0,eo._)(this,eE),function(Y){Y[ec.id]=(0,ef._)({},Y[ec.id],ec),Y[en.id].children=[ec.id],ea.forEach(function(et){Y[et.id].parentId=ec.id})}))},et.addNode=function(et,en,ei,eo,ea,eu){if(et===ei)throw Error("addNode: parentId and id cannot be the same: ".concat(et));var ec="string"==typeof en?Y.getTextAsMessage(en,eo,eu):"content_type"in en?Y.getContentAsMessage(en,eo,eu):en,ed={id:this.messageIdToNodeId(et),children:[],parentId:this.messageIdToNodeId(ei),message:ec};null!=ea&&(ed.metadata=ea),this.addNodeToEnd(ei,ed)},et.deleteNodesByFilter=function(Y){var et=Object.values((0,eo._)(this,eE)).filter(Y).map(function(Y){return Y.id}),en=!0,ei=!1,ea=void 0;try{for(var eu,ec=et[Symbol.iterator]();!(en=(eu=ec.next()).done);en=!0){var ed=eu.value;this.deleteNode(ed)}}catch(Y){ei=!0,ea=Y}finally{try{en||null==ec.return||ec.return()}finally{if(ei)throw ea}}return et},et.deleteNode=function(Y){var et=this,en=this.getNodeByIdOrMessageId(Y);(0,eu._)(this,eE,(0,em.Uy)((0,eo._)(this,eE),function(ei){var eo=en.parentId,ea=en.children,eu=!0,ec=!1,ed=void 0;try{for(var ef,eh=ea[Symbol.iterator]();!(eu=(ef=eh.next()).done);eu=!0){var ep=ef.value;ei[et.messageIdToNodeId(ep)].parentId=eo}}catch(Y){ec=!0,ed=Y}finally{try{eu||null==eh.return||eh.return()}finally{if(ec)throw ed}}var em=ei[et.messageIdToNodeId(eo)];if(null==em){console.warn("Cannot deleteNode with nodeId: ".concat(Y," - parent not found. Either this is root or in an orphaned branch"));return}em.children=em.children.flatMap(function(Y){return et.messageIdToNodeId(Y)===et.messageIdToNodeId(en.id)?ea:[Y]}),delete ei[en.id]}))},et.clearNodeMessageParts=function(Y){var et=this;(0,eu._)(this,eE,(0,em.Uy)((0,eo._)(this,eE),function(en){var ei=en[et.messageIdToNodeId(Y)];"parts"in ei.message.content&&(ei.message.content.parts=[])}))},et.updateNodeMetadata=function(Y,et){var en=this;(0,eu._)(this,eE,(0,em.Uy)((0,eo._)(this,eE),function(ei){var eo=ei[en.messageIdToNodeId(Y)];eo.metadata=(0,ef._)({},eo.metadata,et)}))},et.updateNodeMessage=function(Y,et){var en=this;(0,eu._)(this,eE,(0,em.Uy)((0,eo._)(this,eE),function(ei){ei[en.messageIdToNodeId(Y)].message=et}))},et.updateNodeMessageMetadata=function(Y,et){var en=this;(0,eu._)(this,eE,(0,em.Uy)((0,eo._)(this,eE),function(ei){var eo=ei[en.messageIdToNodeId(Y)];eo.message.metadata=(0,ef._)({},eo.message.metadata,et)}))},et.isRoot=function(Y){return this.getNodeByIdOrMessageId(Y).message.author.role===eb.uU.Root},et.getTextFromNode=function(Y){return(0,ek.RR)(this.getMessage(Y))},et.getHasErrorFromNode=function(Y){var et,en,ei=this.getNodeByIdOrMessageId(Y);return(null==ei?void 0:null===(et=ei.metadata)||void 0===et?void 0:et.errType)==="danger"||(null==ei?void 0:null===(en=ei.metadata)||void 0===en?void 0:en.errType)==="warning"},et.getTextFromThread=function(Y){return this.getBranchFromLeaf(Y).filter(function(Y){return![eb.uU.Root,eb.uU.System].includes(Y.message.author.role)}).map(function(Y){return(0,ek.RR)(Y.message)}).join("\n\n")},et.getConversationTurns=function(Y){var et=this,en=[];return this.getBranchFromLeaf(Y).forEach(function(Y){var ei=Y.id,eo=Y.parentId,ea=Y.message,eu=Y.metadata,ec=(0,eg.last)(en);(null==ec?void 0:ec.role)===ea.author.role||ea.author.role===eb.uU.Tool?en[en.length-1].messages.push((0,ef._)({nodeId:ei,parentId:eo,message:ea},eu)):en.push((0,ef._)({role:ea.author.role,recipient:ea.recipient,messages:[(0,ef._)({nodeId:ei,parentId:eo,message:ea},eu)]},et.getTurnVariants(Y)))}),en},et.getTurnVariants=function(Y){for(var et,en,ei=this,eo=Y.parentId?this.getNodeByIdOrMessageId(Y.parentId):void 0;(null==eo?void 0:eo.message.author.role)===eb.uU.System&&(null==eo?void 0:eo.children.length)===1&&eo.parentId;)eo=this.getNodeByIdOrMessageId(eo.parentId);var ea=function(Y){for(var et=Y;et.message.author.role===eb.uU.System&&1===et.children.length;)et=ei.getNodeByIdOrMessageId(et.children[0]);return et};return{variantIds:(null!==(en=null==eo?void 0:eo.children)&&void 0!==en?en:[Y.id]).map(function(Y){return ea(ei.getNodeByIdOrMessageId(Y))}).filter(function(Y){return Y.message.author.role!==eb.uU.System}).map(function(Y){return Y.id}),variantsInStreamInfo:null==eo?void 0:null===(et=eo.metadata)||void 0===et?void 0:et.variantsInStreamInfo}},et.getLastValidNode=function(Y){for(var et,en=this.getNodeByIdOrMessageId(Y);null!=en;){if(null==en){ep.D0;break}if((null===(et=en.metadata)||void 0===et?void 0:et.err)==null)break;en=this.getNodeByIdOrMessageId(en.parentId)}return en},et.getParentPromptNode=function(Y){for(var et=this.getNodeByIdOrMessageId(Y);null!=et;){if(null==et){ep.D0;break}if([eb.uU.User,eb.uU.Root].includes(et.message.author.role))break;et=this.getNodeByIdOrMessageId(et.parentId)}return et},et.messageIdToNodeId=function(Y){if(null!=(0,eo._)(this,eE)[Y])return Y;var et=!0,en=!1,ei=void 0;try{for(var ea,eu=Object.values((0,eo._)(this,eE))[Symbol.iterator]();!(et=(ea=eu.next()).done);et=!0){var ec,ed=ea.value;if((null===(ec=ed.message)||void 0===ec?void 0:ec.id)===Y)return ed.id}}catch(Y){en=!0,ei=Y}finally{try{et||null==eu.return||eu.return()}finally{if(en)throw ei}}return Y},et.containsNodeOrMessageId=function(Y){var et=this.messageIdToNodeId(Y);return null!=(0,eo._)(this,eE)[et]},et.prettyPrint=function(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;null!=Y||(Y=(0,eo._)(this,eC));var en="".concat(" ".repeat(et),"->").concat(Y," - ").concat(this.getTextFromNode(Y).replaceAll("\n","\\n"),"\n"),ei=this.getChildrenFromNode(Y),ea=!0,eu=!1,ec=void 0;try{for(var ed,ef=ei[Symbol.iterator]();!(ea=(ed=ef.next()).done);ea=!0){var eh=ed.value;en+=this.prettyPrint(eh.id,et+1)}}catch(Y){eu=!0,ec=Y}finally{try{ea||null==ef.return||ef.return()}finally{if(eu)throw ec}}return en},Y.createTree=function(){return{root:{id:"root",children:[],parentId:"",message:Y.createRootMessage()}}},Y.createRootMessage=function(){return{id:e_("aaa1"),author:{role:eb.uU.Root},content:{content_type:eb.PX.Text,parts:[]}}},Y.getRequestIdFromConversationTurn=function(Y){for(var et=Y.messages.length-1;et>=0;et--){var en=Y.messages[et];if(en.nodeId.startsWith(ew))return en.nodeId}return Y.messages[0].nodeId},Y.getTextAsMessage=function(Y,et,en){var ei={content_type:eb.PX.Text,parts:[Y]};return this.getContentAsMessage(ei,et,en)},Y.getContentAsMessage=function(Y,et,en){return{id:e_("aaa2"),author:{role:et},content:Y,metadata:en}},(0,ec._)(Y,[{key:"hasReceivedServerCompletion",get:function(){var Y=this.getFirstPrompt();if(!Y)return!1;var et=Y.children[0];if(null==et)return!0;var en=this.getNodeByIdOrMessageId(et);return(null==en?void 0:en.children.length)!==0}}]),Y}()},18481:function(Y,et,en){"use strict";en.d(et,{AA:function(){return ed},J8:function(){return eh},L7:function(){return ec},ZV:function(){return ea},cy:function(){return eu},xj:function(){return ef}});var ei=en(21950),eo=en(23234);function ea(Y,et){return et?"/g/".concat((0,ei.kX)(et),"/c/").concat(Y):"/c/".concat(Y)}function eu(){return"/gpts/discovery"}function ec(){return"/gpts/mine"}function ed(Y){return Y?"/gpts/editor/".concat(Y):"/gpts/editor"}function ef(Y){var et=(0,eo.Ml)(),en=eh();return null==Y?en:et?ed(Y):"/templates/editor?id=".concat(Y)}function eh(Y){return(0,eo.Ml)()?ed(Y):"/templates/editor"}},21546:function(Y,et,en){"use strict";en.d(et,{LJ:function(){return eh},oG:function(){return ed},u$:function(){return ef}});var ei=en(11615),eo=en(70079),ea="dgkjq2bp",eu="izw1u7l7",ec=ei.L_?ea:eu;function ed(){(0,eo.useEffect)(function(){!function(){var Y=window,et=Y.Intercom;if("function"==typeof et)et("reattach_activator"),et("update",Y.intercomSettings);else{var en=document,ei=function(){ei.c(arguments)};ei.q=[],ei.c=function(Y){ei.q.push(Y)},Y.Intercom=ei;var eo=function(){var Y,et=en.createElement("script");et.type="text/javascript",et.async=!0,et.src="https://widget.intercom.io/widget/".concat(ec);var ei=en.getElementsByTagName("script")[0];null===(Y=ei.parentNode)||void 0===Y||Y.insertBefore(et,ei)};"complete"===document.readyState?eo():Y.attachEvent?Y.attachEvent("onload",eo):Y.addEventListener("load",eo,!1)}}()},[])}function ef(Y,et){var en=window.Intercom;Y.id&&en&&en("boot",{app_id:ec,user_id:Y.id,name:Y.name,email:Y.email,user_hash:Y.intercom_hash,hide_default_launcher:!0,is_chatgpt_user:!0,paid_chatgpt_subscriber:et.hasPaidSubscription,paid_chatgpt_active_until:et.subscriptionExpiresAt})}function eh(Y,et){var en=window.Intercom;en&&en("trackEvent",Y,et)}},45193:function(Y,et,en){"use strict";var ei=en(70079);function eo(){var Y=(0,ei.useRef)(!1);return(0,ei.useEffect)(function(){return Y.current=!0,function(){Y.current=!1}},[]),(0,ei.useCallback)(function(){return Y.current},[])}et.Z=eo},94486:function(Y,et,en){"use strict";en.d(et,{S:function(){return em}});var ei=en(21722),eo=en(39324),ea=en(10064),eu=en(38104),ec=en(4536),ed=en(20225),ef=en(10721),eh=en(70079),ep=en(86646);function em(){var Y,et,en=(0,ef.useRouter)(),em=(0,ec.kP)().session,eg=(null==em?void 0:null===(Y=em.user)||void 0===Y?void 0:Y.idp)==="auth0",ey=!!(null==em?void 0:null===(et=em.user)||void 0===et?void 0:et.mfa),eb=(0,ea._)((0,eh.useState)(!1),2),ek=eb[0],ew=eb[1],e_=(0,eh.useCallback)((0,ei._)(function(){var Y;return(0,eu.Jh)(this,function(et){if(Y=new URL(en.asPath,window.location.origin).toString(),!eg)throw Error("Only username/password users can enable MFA");if(!em)throw Error("No session found, cannot enable MFA");if("mocked"===em.authProvider)throw Error("Mock users can't enable MFA! Please setup Auth0 following the instructions in the README");return(0,ed.signIn)(em.authProvider,{callbackUrl:Y},(0,eo._)({prompt:"login"},em.authProvider===ec.Ho.OpenAI?{login_hint:(0,ec.W_)({oai_enforce_mfa:!0,idp:"openai"})}:{oai_enforce_mfa:"true"})),[2]})}),[en.asPath,em,eg]),eE=(0,eh.useCallback)((0,ei._)(function(){var Y;return(0,eu.Jh)(this,function(et){switch(et.label){case 0:if(!eg)throw Error("Only username/password users can disable MFA");if(!em)throw Error("No session found, cannot enable MFA");if("mocked"===em.authProvider)throw Error("Mock users can't enable MFA! Please setup Auth0 following the instructions in the README");return ew(!0),[4,ep.ZP.deleteMfa()];case 1:return et.sent(),[4,(0,ed.signOut)({redirect:!1,callbackUrl:"/auth/login?next=".concat(encodeURIComponent(en.asPath))})];case 2:return Y=et.sent(),ew(!1),en.push(Y.url),[2]}})}),[eg,en,em]);return{setupMfa:e_,isUsernamePassword:eg,isLoggedInWithMfa:ey,removeMfa:eE,isLoading:ek}}},71573:function(Y,et,en){"use strict";en.d(et,{S:function(){return eg}});var ei=en(51217),eo=en(69072),ea=en(12051),eu=en(70079),ec=en(42918),ed=Object.prototype.toString;function ef(Y,et){try{return Y instanceof et}catch(Y){return!1}}function eh(Y){switch(ed.call(Y)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return ef(Y,Error)}}var ep={componentStack:null,error:null};function em(Y,et){var en=new WeakMap;function ei(Y,et){if(!en.has(Y)){if(Y.cause)return en.set(Y,!0),ei(Y.cause,et);Y.cause=et}}ei(Y,et)}var eg=function(Y){(0,eo._)(en,Y);var et=(0,ea._)(en);function en(Y){var eo;return(0,ei._)(this,en),(eo=et.call(this,Y)).resetErrorBoundary=function(){var Y=eo.props.onReset,et=eo.state,en=et.error,ei=et.componentStack;Y&&Y(en,ei),eo.setState(ep)},eo.state=ep,eo}var ed=en.prototype;return ed.componentDidCatch=function(Y,et){var en=et.componentStack;if(eh(Y)){var ei=Error(Y.message);ei.name="React ErrorBoundary ".concat(ei.name),ei.stack=en,em(Y,ei)}try{ec.U.addAction(this.props.name,{error:Y.toString()})}catch(Y){ec.U.addAction(this.props.name+"_generic")}this.props.onError&&this.props.onError(Y,en),this.setState({error:Y,componentStack:en})},ed.render=function(){var Y=this.props,et=Y.fallback,en=Y.children,ei=this.state;if(ei.error){var eo=void 0;return(eo="function"==typeof et?et({error:ei.error,componentStack:ei.componentStack,resetError:this.resetErrorBoundary}):et,(0,eu.isValidElement)(eo))?eo:null}return"function"==typeof en?en():en},en}(eu.Component)},2064:function(Y,et,en){"use strict";en.d(et,{Rr:function(){return ew}});var ei,eo=en(21722),ea=en(51217),eu=en(38104),ec=en(73960),ed=en(10499),ef=en(62682),eh=en(72290),ep=en(42918),em="35536E1E-65B4-4D96-9D97-6ADB7EFF8147",eg="3D86FBBA-9D22-402A-B512-3420086BA6CC",ey="enforcement-container";!function(Y){Y.Idle="idle",Y.Loading="loading",Y.ScriptLoaded="script_loaded",Y.Unconfigured="unconfigured",Y.Ready="ready",Y.Done="done",Y.Error="error",Y.Failed="failed",Y.CAPTCHA="captcha"}(ei||(ei={}));var eb=function(){function Y(et){(0,ea._)(this,Y),this.modelTags=et,this.status=ei.Idle,this.claimQueue=[],this.startedClaim=null,this.claimReserved=!1,this.challengeRequired=!1;var en=this;this._newEnforcementPromise=function(){var Y=(0,eo._)(function(Y){var et;return(0,eu.Jh)(this,function(eo){switch(eo.label){case 0:return[4,en._getArkosePromise()];case 1:return et=eo.sent(),[2,new Promise(function(eo,ea){if(en.status===ei.Error){en._showUserError(),ea("Initialization failed");return}en.setOnShown(function(Y){en.claimReserved?en.showArkoseDiv():en.challengeRequired=!0}),en.setOnCompleted(function(Y){eo(Y.token)}),en.setOnError(function(ei){if(Y){var eu,ec,ed,ef,eh;ep.U.addAction("arkose_get_token_error",{app_release:(ed="a2cec072d91e749adac9613be61db7adc740e3e6","a2cec072d91e749adac9613be61db7adc740e3e6"),error:null!==(ef=null===(eu=ei.error)||void 0===eu?void 0:eu.error)&&void 0!==ef?ef:""}),ea(null!==(eh=null===(ec=ei.error)||void 0===ec?void 0:ec.error)&&void 0!==eh?eh:"Unknown Arkose error"),en._showUserError()}else et.reset(),en._newEnforcementPromise(!0).then(eo,ea)}),en.setOnFailed(function(){var Y;ep.U.addAction("arkose_failed_to_get_challenge",{app_release:(Y="a2cec072d91e749adac9613be61db7adc740e3e6","a2cec072d91e749adac9613be61db7adc740e3e6")}),ea(Error("Failed challenge too many times")),en._showUserError()}),en.status===ei.Unconfigured?(et.setConfig({selector:"#"+en.enforcementId,mode:"inline",onCompleted:function(Y){en.onCompleted(Y)},onError:function(Y){en.onError(Y)},onFailed:function(Y){en.onFailed(Y)},onShown:function(Y){en.onShown(Y)}}),en.setStatus(ei.Ready)):(et.reset(),et.run())})]}})});return function(et){return Y.apply(this,arguments)}}();var ec=this;this.startEnforcement=(0,eo._)(function(){return(0,eu.Jh)(this,function(Y){return ec.claimReserved||(ec.startedClaim=ec._newEnforcementPromise()),[2]})});var ef=this;this.getEnforcementToken=function(){var Y=(0,eo._)(function(Y){var et,en;return(0,eu.Jh)(this,function(Y){switch(Y.label){case 0:if(!ef.claimReserved)return[3,2];return[4,new Promise(function(Y){ef.claimQueue.push(Y)})];case 1:Y.sent(),Y.label=2;case 2:en=null!==(et=ef.startedClaim)&&void 0!==et?et:ef._newEnforcementPromise(),ef.startedClaim=null,ef.claimReserved=!0,ef.challengeRequired&&ef.showArkoseDiv(),Y.label=3;case 3:return Y.trys.push([3,,5,6]),[4,en];case 4:return[2,Y.sent()];case 5:return ef.onFinished(),[7];case 6:return[2]}})});return function(et){return Y.apply(this,arguments)}}(),et.includes(ed.S.GPT_3_5)?(this.arkoseUrl="https://tcr9i.chat.openai.com/v2/".concat(eg,"/api.js"),this.enforcementId=ey+"gpt35"):(this.arkoseUrl="https://tcr9i.chat.openai.com/v2/".concat(em,"/api.js"),this.enforcementId=ey+"gpt4")}var et=Y.prototype;return et._getArkosePromise=function(Y){var et=this;return null==this.arkoseInstancePromise&&(this.arkoseInstancePromise=new Promise(function(en,eo){et.modelTags.includes(ed.S.GPT_3_5)?window.useArkoseSetupEnforcementgpt35=void 0:window.useArkoseSetupEnforcementgpt4=void 0,et.attachArkoseDiv();var ea=et.arkoseUrl;et.setStatus(ei.Loading);var eu=document.createElement("script");eu.src=ea,eu.async=!0,eu.defer=!0,eu.setAttribute("data-status",ei.Loading),et.modelTags.includes(ed.S.GPT_3_5)?(eu.setAttribute("data-callback","useArkoseSetupEnforcementgpt35"),window.useArkoseSetupEnforcementgpt35=function(Y){en(Y),et.setStatus(ei.Unconfigured),et._arkoseInstance=Y}):(eu.setAttribute("data-callback","useArkoseSetupEnforcementgpt4"),window.useArkoseSetupEnforcementgpt4=function(Y){en(Y),et.setStatus(ei.Unconfigured),et._arkoseInstance=Y}),document.body.appendChild(eu);var ec=function(ea){if("load"!==ea.type||et.status===ei.Unconfigured||et.status===ei.Ready){if("error"===ea.type){if(et.setStatus(ei.Error),Y){var ed;ep.U.addAction("arkose_script_load_error",{app_release:(ed="a2cec072d91e749adac9613be61db7adc740e3e6","a2cec072d91e749adac9613be61db7adc740e3e6")}),eo("Arkose script failed to load")}else eu.removeEventListener("load",ec),eu.removeEventListener("error",ec),eu.remove(),et.arkoseInstancePromise=void 0,et._getArkosePromise(!0).then(en,eo)}}else et._startReadyTimeout(),et.setStatus(ei.ScriptLoaded)};eu.addEventListener("load",ec),eu.addEventListener("error",ec)})),this.arkoseInstancePromise},et._startReadyTimeout=function(){var Y=this;setTimeout(function(){if(Y.setStatus(ei.Error),Y.status===ei.ScriptLoaded){var et;ep.U.addAction("arkose_script_ready_timeout",{app_release:(et="a2cec072d91e749adac9613be61db7adc740e3e6","a2cec072d91e749adac9613be61db7adc740e3e6")}),Y._showUserError()}},15e3)},et._showUserError=function(){eh.m.danger("There was a problem preparing your chat. Please refresh the page and try again.")},et.gatherData=function(){return this.status===ei.Error?(this._showUserError(),Promise.reject("Initialization failed")):this._getArkosePromise()},et.setStatus=function(Y){this.status=Y},et.onFinished=function(Y){if(this.hideArkoseDiv(),this.challengeRequired=!1,Y){var et;null===(et=this._arkoseInstance)||void 0===et||et.reset()}var en=this.claimQueue.shift();en?en():(this.startedClaim=null,this.claimReserved=!1)},et.onCompleted=function(Y){var et,en;null===(en=(et=this)._onCompleted)||void 0===en||en.call(et,Y)},et.setOnCompleted=function(Y){this._onCompleted=Y},et.onError=function(Y){var et,en;null===(en=(et=this)._onError)||void 0===en||en.call(et,Y)},et.setOnError=function(Y){this._onError=Y},et.onFailed=function(Y){var et,en;null===(en=(et=this)._onFailed)||void 0===en||en.call(et,Y)},et.setOnFailed=function(Y){this._onFailed=Y},et.onShown=function(Y){var et,en;null===(en=(et=this)._onShown)||void 0===en||en.call(et,Y)},et.setOnShown=function(Y){this._onShown=Y},et.attachArkoseDiv=function(){var Y=this,et=document.createElement("div");et.id=this.enforcementId,et.tabIndex=0,et.style.position="fixed",et.style.top="0",et.style.left="0",et.style.width="100vw",et.style.height="100vh",et.style.zIndex="1000",et.style.backgroundColor="rgba(255, 255, 255, 0.85)",et.style.display="",et.style.alignItems="center",et.style.boxSizing="border-box",et.style.flexDirection="column",et.style.justifyContent="center",et.style.textAlign="center",et.style.opacity="0",et.style.transition="opacity 0.5s ease",et.hidden=!0;var en=function(et){("Escape"===et.key||"Esc"===et.key)&&Y.onFinished(!0)};et.addEventListener("keydown",en);var ei=document.createElement("div");ei.style.position="fixed",ei.style.top="20px",ei.style.right="20px",ei.style.height="20px",ei.style.width="20px",ei.style.backgroundRepeat="no-repeat",ei.style.backgroundPosition="center",ei.style.zIndex="1500",ei.style.cursor="pointer",ei.style.transform="scale(1)",ei.style.backgroundImage="url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzhweCIgaGVpZ2h0PSIzOHB4IiB2aWV3Qm94PSIwIDAgMzggMzgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDQ0LjEgKDQxNDU1KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5Hcm91cDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJHcm91cCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTkuMDAwMDAwLCAxOS4wMDAwMDApIHJvdGF0ZSg0NS4wMDAwMDApIHRyYW5zbGF0ZSgtMTkuMDAwMDAwLCAtMTkuMDAwMDAwKSB0cmFuc2xhdGUoLTYuMDAwMDAwLCAtNi4wMDAwMDApIiBmaWxsPSIjOTQ5NDk0Ij4KICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZSIgeD0iMjQiIHk9IjAiIHdpZHRoPSIyIiBoZWlnaHQ9IjUwIj48L3JlY3Q+CiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI1LjAwMDAwMCwgMjUuMDAwMDAwKSByb3RhdGUoOTAuMDAwMDAwKSB0cmFuc2xhdGUoLTI1LjAwMDAwMCwgLTI1LjAwMDAwMCkgIiB4PSIyNCIgeT0iMCIgd2lkdGg9IjIiIGhlaWdodD0iNTAiPjwvcmVjdD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)",ei.onclick=function(){Y.onFinished(!0)},ei.addEventListener("mouseover",function(){this.style.transform="scale(1.3)"}),ei.addEventListener("mouseout",function(){this.style.transform="scale(1)"}),et.appendChild(ei),document.body.appendChild(et)},et.hideArkoseDiv=function(){var Y=document.getElementById(this.enforcementId);null===Y||Y.hidden||(Y.style.opacity="0",Y.addEventListener("transitionend",function et(){Y.style.display="",Y.hidden=!0,Y.removeEventListener("transitionend",et)}))},et.showArkoseDiv=function(){var Y,et=document.getElementById(this.enforcementId);if(null===et){this._showUserError(),ep.U.addAction("arkose_script_get_enforcement_container_error",{app_release:(Y="a2cec072d91e749adac9613be61db7adc740e3e6","a2cec072d91e749adac9613be61db7adc740e3e6")});return}!1!==et.hidden&&(et.hidden=!1,et.style.display="flex",requestAnimationFrame(function(){requestAnimationFrame(function(){et.style.opacity="1"})}))},Y}(),ek=function(){function Y(){(0,ea._)(this,Y)}var et=Y.prototype;return et.pickModel=function(Y){return Y.includes(ed.S.GPT_3_5)?this.v2gpt35:this.v2gpt4},et.ensureInit=function(Y){return void 0===this.v1&&void 0===this.v2gpt4&&void 0===this.v2gpt35&&this.initializeAndGatherData(),this.pickModel(Y)},et.initializeAndGatherData=function(){this.version="v2",this.v2gpt4=new eb([ed.S.GPT_4]),this.v2gpt35=new eb([ed.S.GPT_3_5]),this.v2gpt35.gatherData(),this.v2gpt4.gatherData()},et.gatherData=function(Y){var et=this.ensureInit(Y);return"v2"===this.version?et.gatherData():this.v1.gatherData()},et.getEnforcementToken=function(Y,et){var en=this;return(0,eo._)(function(){var ei,eo,ea,ec;return(0,eu.Jh)(this,function(eu){return(ei=en.ensureInit(Y),"v2"===en.version)?[2,null!==(eo=null==ei?void 0:ei.getEnforcementToken(et))&&void 0!==eo?eo:Promise.reject("V2 instance not initialized.")]:[2,null!==(ec=null===(ea=en.v1)||void 0===ea?void 0:ea.getEnforcementToken(et))&&void 0!==ec?ec:Promise.reject("V1 instance not initialized.")]})})()},et.startEnforcement=function(Y){var et=this;return(0,eo._)(function(){var en;return(0,eu.Jh)(this,function(ei){switch(ei.label){case 0:if(en=et.ensureInit(Y),"v2"!==et.version)return[3,2];return[4,null==en?void 0:en.startEnforcement()];case 1:ei.sent(),ei.label=2;case 2:return[2]}})})()},Y}();function ew(Y,et,en){if(!Y.has(ef.PL))return!1;var ei=(0,ec.tv)(en),eo=Y.has(ef.$W),ea=Y.has(ef.tI),eu=et.includes(ed.S.GPT_4),eh=et.includes(ed.S.GPT_3_5);return ei||eu||eo&&ea&&eh}et.ZP=new ek},4536:function(Y,et,en){"use strict";en.d(et,{Ho:function(){return ei},W_:function(){return eT},au:function(){return ek},kP:function(){return eC},pg:function(){return e_},w7:function(){return eg},yl:function(){return eS}});var ei,eo=en(21722),ea=en(39324),eu=en(71209),ec=en(38104),ed=en(91006),ef=en(61236),eh=en(10721),ep=en(78103),em=en(42918);function eg(){window.location.href=window.location.origin+"/auth/logout"}function ey(){return eb.apply(this,arguments)}function eb(){return(eb=(0,eo._)(function(){var Y,et;return(0,ec.Jh)(this,function(en){switch(en.label){case 0:return[4,fetch("/api/auth/session")];case 1:return[4,en.sent().json()];case 2:if(Object.keys(Y=en.sent()).length)return null==Y.accessToken&&null==Y.error&&em.U.addAction("missing_access_token_error",{error:"Missing access token for User: ".concat(null===(et=Y.user)||void 0===et?void 0:et.id," (").concat(Y.accessToken,")")}),[2,Y];return[2,null]}})})).apply(this,arguments)}!function(Y){Y.OpenAI="openai",Y.Auth0="auth0",Y.Auth0dev="auth0dev",Y.Mocked="mocked"}(ei||(ei={}));var ek=(0,ed.C)({queryKey:["session"],queryFn:ey,staleTime:1/0}),ew=(0,ep.ZP)(function(){return{didForceEnableSession:!1}}),e_={forceEnableSession:function(){ew.setState({didForceEnableSession:!0})}};function eE(Y){var et,en;return"/share/[[...shareParams]]"===Y.pathname&&Array.isArray(null===(et=Y.query)||void 0===et?void 0:et.shareParams)&&(null===(en=Y.query)||void 0===en?void 0:en.shareParams.length)===1}function eC(){var Y,et=(0,eh.useRouter)(),en=ew(function(Y){return Y.didForceEnableSession}),ei=(0,ef.a)((0,eu._)((0,ea._)({},ek),{enabled:en||!eE(et)}));return{session:null!==(Y=null==ei?void 0:ei.data)&&void 0!==Y?Y:null}}function eT(Y){return window.btoa(JSON.stringify(Y))}function eS(Y){return Y.email.endsWith("@openai.com")}},42780:function(Y,et,en){"use strict";var ei;en.d(et,{M:function(){return ei}}),function(Y){Y.pageLoad="Page Load",Y.pageView="View Page",Y.editPrompt="Edit Prompt",Y.cancelEditPrompt="Cancel Edit Prompt",Y.keyboardShortcut="Keyboard Shortcut",Y.generateCompletion="Generate Completion",Y.pauseCompletion="Pause Completion",Y.copyToClipboard="Copy Thread to Clipboard",Y.continueCompletion="Continue Completion",Y.newThread="Create New Thread",Y.loadThread="Load Thread",Y.renameThread="Rename Thread",Y.toggleModel="Toggle Model",Y.uploadFile="Upload File",Y.removeFile="Remove File",Y.uploadFileCompleted="Upload File Completed",Y.uploadFileError="Upload File Error",Y.uploadedMaxFilesError="Uploaded Max Files Error",Y.openFileViewer="Open File Viewer",Y.blurDuringCompletion="Blur During Completion",Y.focusAfterBlurDuringCompletion="Focus After Blur During Completion",Y.changeNode="Change Active Node",Y.moderationError="Moderation: Error",Y.promptFlaggedByModeration="Moderation: Prompt Content Flagged",Y.promptBlockedByModeration="Moderation: Prompt Content Blocked",Y.completionFlaggedByModeration="Moderation: Completion Content Flagged",Y.completionBlockedByModeration="Moderation: Completion Content Blocked",Y.clickFaqLink="Click FAQ",Y.clickPrivacyPolicy="Click Privacy Policy",Y.clickSidebarAccountPaymentMenuItem="Account Pay: Click Sidebar Account Pay",Y.clickAccountPaymentSuccessContinue="Account Pay: Click Account Payment Success Continue",Y.clickAccountPaymentCheckout="Account Pay: Payment Checkout Clicked",Y.closeAccountPaymentModal="Account Pay: Close Account Payment Modal",Y.accountUpgradeFullpageLoaded="Account Pay: Full Page Account Upgrade Modal",Y.openModalAccountPaymentfromModelPicker="Account Pay: Open Payment from Model Picker",Y.clickSeeEnterpriseLink="Account Pay: Click see enterprise link from Modal",Y.clickSidebarAccountPortalMenuItem="Account Portal: Click Sidebar Account Portal",Y.clickAccountCustomerPortal="Account Portal: Click Manage My Subscription",Y.clickAccountPaymentGetHelp="Account Portal: Click Get Help",Y.clickAccountManageIos="Account Portal: Click iOS Manage Subscription",Y.clickAccountManageAndroid="Account Portal: Click Android Manage Subscription",Y.forceLogInModal="Account: Force Login Modal Shown",Y.clickLogOut="Account: Click Log Out",Y.ageConfirmationModal="Account: Age Confirmation Modal Shown",Y.enableChatHistory="Enable Chat History",Y.disableChatHistory="Disable Chat History",Y.localeLoaded="Locale Loaded",Y.renderTool2Message="Tool 2: Render Message",Y.expandTool2Message="Tool 2: Expand Message",Y.carouselCardClick="Carousel Card Click",Y.reportResult="Report Result",Y.thumbRating="Rated Result",Y.displayedThumbsDownFeedbackForm="Displayed Thumbs Down Feedback Form",Y.submitThumbsDownFeedbackForm="Submitted Thumbs Down Feedback Form",Y.skippedThumbsDownFeedbackForm="Skipped Thumbs Down Feedback Form",Y.displayedComparisonUIV0="Displayed Comparison UI V0",Y.submittedComparisonUIV0="Submitted Comparison UI V0",Y.skippedComparisonUIV0="Skipped Comparison UI V0",Y.guidedRegenerateOpen="Guided Regenerate Open",Y.guidedRegenerateSubmit="Guided Regenerate Submit",Y.useStarterPrompt="Use Starter Prompt",Y.showStarterPrompts="Show Starter Prompts",Y.useSuggestedReply="Use Suggested Reply",Y.showSuggestedReplies="Show Suggested Replies",Y.promptIgnoreSuggestions="View Template Prompt Ignore Suggestions",Y.chatgptTeamPaymentSuccess="Referral: Trial Payment Success",Y.chatgptReferralInviteModalOpened="Referral: Invite Modal Opened",Y.chatgptReferralInviteLinkActivated="Referral: Invite Link Activated",Y.chatgptReferralInviteLinkCopied="Referral: Invite Link Copied",Y.chatgptReferralInviteClaim="Referral: Invite Claim",Y.chatgptReferralInviteExplainSignup="Referral: Invite Explain Signup",Y.chatgptReferralInviteLogin="Referral: Invite Login",Y.chatgptReferralInviteSignup="Referral: Invite Signup",Y.chatgptReferralInviteSidebarClicked="Referral: Invite Sidebar Clicked",Y.chatgptReferralShowSidebarMenuItem="Referral: Show Sidebar Menu Item",Y.chatgptReferralShowClaimedSidebartMenuPromo="Referral: Show Claimed Sidebar Menu Promo",Y.loggedOutOpenedAuthLogin="Logged Out: Opened Auth Login Page",Y.pluginDisabled="Plugin Disabled",Y.pluginEnabled="Plugin Enabled",Y.pluginChooserOpened="Plugin Chooser Opened",Y.bizOnboardingCompleted="Business Onboarding Completed",Y.bizOnboardingSkipped="Business Onboarding Skipped",Y.browsingClickLink="Browsing Click Link",Y.browsingShowBingLink="Browsing Show Bing Link",Y.browsingClickBingLink="Browsing Click Bing Link",Y.browsingDisplayCitation="Browsing Display Citation",Y.browsingHoverCitation="Browsing Hover Citation",Y.browsingClickCitation="Browsing Click Citation",Y.dalledImageViewFull="DALL-E Image View Full",Y.dalledImageDownload="DALL-E Image Download",Y.complianceAgeVerificationClicked="Compliance Age Verification Clicked",Y.complianceAgeVerificationSeen="Compliance Age Verification Seen",Y.compliancePrivacyPolicyUpdateNov2023="Compliance Privacy Policy Update Nov 2023 Dismissed",Y.complianceTermsOfUseDeclineNov2023="Compliance Terms of Use Update Nov 2023 Declined",Y.showTemplatesOnNewChat="Show Templates on New Chat",Y.clickTemplateOnNewChat="Click Template on New Chat",Y.viewTemplate="View Template",Y.userContextModelMessagePastLimit="User Context Model Message Past Limit",Y.authLogin="Auth: Login",Y.authSignup="Auth: Signup",Y.trackTimeSpentInterval="Time Spent",Y.targetedReplyButtonShown="Targeted Reply Button Shown",Y.targetedReplyButtonClicked="Targeted Reply Button Clicked",Y.targetedReplySubmitted="Targeted Reply Submitted",Y.targetedReplyCleared="Targeted Reply Cleared",Y.upgradePlanWaitlistSignup="Upgrade Plan Waitlist Signup"}(ei||(ei={}))},54636:function(Y,et,en){"use strict";en.d(et,{A:function(){return nX},z:function(){return nJ}});var ei,eo,ea,eu=en(39324),ec=en(71209),ed=en(17944),ef=en(70079),eh=en(51217),ep=en(38104),em=en(44675);function eg(){return void 0!==em&&em.env?em.env:{}}var ey=en(71265),eb=en(76340),ek=en(62462);function ew(Y,et,en,ei){var eo,ea=[Y,et,en,ei],eu=(0,ek.PO)(Y)?Y.event:Y;if(!eu||!(0,ek.HD)(eu))throw Error("Event missing");var ec=(0,ek.PO)(Y)?null!==(eo=Y.properties)&&void 0!==eo?eo:{}:(0,ek.PO)(et)?et:{},ed={};return(0,ek.mf)(en)||(ed=null!=en?en:{}),(0,ek.PO)(Y)&&!(0,ek.mf)(et)&&(ed=null!=et?et:{}),[eu,ec,ed,ea.find(ek.mf)]}function e_(Y,et,en,ei,eo){var ea,eu,ec=null,ed=null,ef=[Y,et,en,ei,eo],eh=ef.filter(ek.HD);void 0!==eh[0]&&void 0!==eh[1]&&(ec=eh[0],ed=eh[1]),1===eh.length&&(ec=null,ed=eh[0]);var ep=ef.find(ek.mf),em=ef.filter(function(Y){return null===ed?(0,ek.PO)(Y):(0,ek.PO)(Y)||null===Y});return[ec,ed,null!==(ea=em[0])&&void 0!==ea?ea:{},null!==(eu=em[1])&&void 0!==eu?eu:{},ep]}var eE=function(Y){return function(){for(var et,en,ei,eo,ea,eu=[],ec=0;ec<arguments.length;ec++)eu[ec]=arguments[ec];var ed=null;ed=null!==(ei=null!==(et=eu.find(ek.HD))&&void 0!==et?et:null===(en=eu.find(ek.hj))||void 0===en?void 0:en.toString())&&void 0!==ei?ei:Y.id();var ef=eu.filter(function(Y){return null===ed?(0,ek.PO)(Y):(0,ek.PO)(Y)||null===Y});return[ed,null!==(eo=ef[0])&&void 0!==eo?eo:{},null!==(ea=ef[1])&&void 0!==ea?ea:{},eu.find(ek.mf)]}};function eC(Y,et,en,ei){(0,ek.hj)(Y)&&(Y=Y.toString()),(0,ek.hj)(et)&&(et=et.toString());var eo=[Y,et,en,ei],ea=eo.filter(ek.HD),eu=ea[0],ec=void 0===eu?Y:eu,ed=ea[1],ef=void 0===ed?null:ed,eh=eo.filter(ek.PO)[0];return[ec,ef,void 0===eh?{}:eh,eo.find(ek.mf)]}var eT=en(26915),eS=en(78985),eA=en(10620),eM=function(Y,et){return Math.max((null!=et?et:300)-(Date.now()-Y),0)};function eP(Y,et,en,ei){return(0,ep.mG)(this,void 0,void 0,function(){var eo,ea;return(0,ep.Jh)(this,function(eu){switch(eu.label){case 0:if(en.emit("dispatch_start",Y),eo=Date.now(),!et.isEmpty())return[3,2];return[4,et.dispatchSingle(Y)];case 1:return ea=eu.sent(),[3,4];case 2:return[4,et.dispatch(Y)];case 3:ea=eu.sent(),eu.label=4;case 4:if(!(null==ei?void 0:ei.callback))return[3,6];return[4,(0,eA.UI)(ea,ei.callback,eM(eo,ei.timeout))];case 5:ea=eu.sent(),eu.label=6;case 6:return(null==ei?void 0:ei.debug)&&ea.flush(),[2,ea]}})})}var ej=en(97352),eO=en(33591),eI=en(60696),eN=en(50317),eL=en.n(eN),eR=function(){function Y(Y){this.user=Y}return Y.prototype.track=function(Y,et,en,ei){return this.normalize((0,ep.pi)((0,ep.pi)({},this.baseEvent()),{event:Y,type:"track",properties:et,options:(0,ep.pi)({},en),integrations:(0,ep.pi)({},ei)}))},Y.prototype.page=function(Y,et,en,ei,eo){var ea,eu={type:"page",properties:(0,ep.pi)({},en),options:(0,ep.pi)({},ei),integrations:(0,ep.pi)({},eo)};return null!==Y&&(eu.category=Y,eu.properties=null!==(ea=eu.properties)&&void 0!==ea?ea:{},eu.properties.category=Y),null!==et&&(eu.name=et),this.normalize((0,ep.pi)((0,ep.pi)({},this.baseEvent()),eu))},Y.prototype.screen=function(Y,et,en,ei,eo){var ea={type:"screen",properties:(0,ep.pi)({},en),options:(0,ep.pi)({},ei),integrations:(0,ep.pi)({},eo)};return null!==Y&&(ea.category=Y),null!==et&&(ea.name=et),this.normalize((0,ep.pi)((0,ep.pi)({},this.baseEvent()),ea))},Y.prototype.identify=function(Y,et,en,ei){return this.normalize((0,ep.pi)((0,ep.pi)({},this.baseEvent()),{type:"identify",userId:Y,traits:et,options:(0,ep.pi)({},en),integrations:(0,ep.pi)({},ei)}))},Y.prototype.group=function(Y,et,en,ei){return this.normalize((0,ep.pi)((0,ep.pi)({},this.baseEvent()),{type:"group",traits:et,options:(0,ep.pi)({},en),integrations:(0,ep.pi)({},ei),groupId:Y}))},Y.prototype.alias=function(Y,et,en,ei){var eo={userId:Y,type:"alias",options:(0,ep.pi)({},en),integrations:(0,ep.pi)({},ei)};return(null!==et&&(eo.previousId=et),void 0===Y)?this.normalize((0,ep.pi)((0,ep.pi)({},eo),this.baseEvent())):this.normalize((0,ep.pi)((0,ep.pi)({},this.baseEvent()),eo))},Y.prototype.baseEvent=function(){var Y={integrations:{},options:{}},et=this.user;return et.id()&&(Y.userId=et.id()),et.anonymousId()&&(Y.anonymousId=et.anonymousId()),Y},Y.prototype.context=function(Y){var et,en,ei,eo=["integrations","anonymousId","timestamp","userId"],ea=null!==(et=Y.options)&&void 0!==et?et:{};delete ea.integrations;var eu=Object.keys(ea),ec=null!==(ei=null===(en=Y.options)||void 0===en?void 0:en.context)&&void 0!==ei?ei:{},ed={};return eu.forEach(function(Y){"context"!==Y&&(eo.includes(Y)?(0,eI.N)(ed,Y,ea[Y]):(0,eI.N)(ec,Y,ea[Y]))}),[ec,ed]},Y.prototype.normalize=function(Y){(null===(et=Y.options)||void 0===et?void 0:et.anonymousId)&&this.user.anonymousId(Y.options.anonymousId);var et,en,ei,eo=Object.keys(null!==(en=Y.integrations)&&void 0!==en?en:{}).reduce(function(et,en){var ei,eo;return(0,ep.pi)((0,ep.pi)({},et),((ei={})[en]=!!(null===(eo=Y.integrations)||void 0===eo?void 0:eo[en]),ei))},{}),ea=(0,ep.pi)((0,ep.pi)({},eo),null===(ei=Y.options)||void 0===ei?void 0:ei.integrations),eu=this.context(Y),ec=eu[0],ed=eu[1];Y.options;var ef=(0,ep._T)(Y,["options"]),eh=(0,ep.pi)((0,ep.pi)((0,ep.pi)({timestamp:new Date},ef),{context:ec,integrations:ea}),ed),em="ajs-next-"+eL().hash(JSON.stringify(eh)+(0,eO.v4)());return(0,ep.pi)((0,ep.pi)({},eh),{messageId:em})},Y}(),eD=en(15595);function eF(Y,et){var en={};return Y.forEach(function(Y){var ei,eo=void 0;if("string"==typeof et){var ea=Y[et];eo="string"!=typeof ea?JSON.stringify(ea):ea}else et instanceof Function&&(eo=et(Y));void 0!==eo&&(en[eo]=(0,ep.ev)((0,ep.ev)([],null!==(ei=en[eo])&&void 0!==ei?ei:[],!0),[Y],!1))}),en}var eB=en(56769),ez=en(61120),eU=function(Y){return"object"==typeof Y&&null!==Y&&"then"in Y&&"function"==typeof Y.then},eH=function(){var Y,et,en=0;return{done:function(){return Y},run:function(ei){var eo=ei();return eU(eo)&&(1==++en&&(Y=new Promise(function(Y){return et=Y})),eo.finally(function(){return 0==--en&&et()})),eo}}},eG=en(57389),eV=function(Y){function et(et){return Y.call(this,"string"==typeof et?new eD.$(4,et):et)||this}return(0,ep.ZT)(et,Y),et.prototype.flush=function(){return(0,ep.mG)(this,void 0,void 0,function(){return(0,ep.Jh)(this,function(et){return(0,eT.s)()?[2,[]]:[2,Y.prototype.flush.call(this)]})})},et}(function(Y){function et(et){var en=Y.call(this)||this;return en.criticalTasks=eH(),en.plugins=[],en.failedInitializations=[],en.flushing=!1,en.queue=et,en.queue.on(eB.M,function(){en.scheduleFlush(0)}),en}return(0,ep.ZT)(et,Y),et.prototype.register=function(Y,et,en){return(0,ep.mG)(this,void 0,void 0,function(){var ei=this;return(0,ep.Jh)(this,function(eo){switch(eo.label){case 0:return[4,Promise.resolve(et.load(Y,en)).then(function(){ei.plugins.push(et)}).catch(function(en){if("destination"===et.type){ei.failedInitializations.push(et.name),console.warn(et.name,en),Y.log("warn","Failed to load destination",{plugin:et.name,error:en});return}throw en})];case 1:return eo.sent(),[2]}})})},et.prototype.deregister=function(Y,et,en){return(0,ep.mG)(this,void 0,void 0,function(){var ei;return(0,ep.Jh)(this,function(eo){switch(eo.label){case 0:if(eo.trys.push([0,3,,4]),!et.unload)return[3,2];return[4,Promise.resolve(et.unload(Y,en))];case 1:eo.sent(),eo.label=2;case 2:return this.plugins=this.plugins.filter(function(Y){return Y.name!==et.name}),[3,4];case 3:return ei=eo.sent(),Y.log("warn","Failed to unload destination",{plugin:et.name,error:ei}),[3,4];case 4:return[2]}})})},et.prototype.dispatch=function(Y){return(0,ep.mG)(this,void 0,void 0,function(){var et;return(0,ep.Jh)(this,function(en){return Y.log("debug","Dispatching"),Y.stats.increment("message_dispatched"),this.queue.push(Y),et=this.subscribeToDelivery(Y),this.scheduleFlush(0),[2,et]})})},et.prototype.subscribeToDelivery=function(Y){return(0,ep.mG)(this,void 0,void 0,function(){var et=this;return(0,ep.Jh)(this,function(en){return[2,new Promise(function(en){var ei=function(eo,ea){eo.isSame(Y)&&(et.off("flush",ei),en(eo))};et.on("flush",ei)})]})})},et.prototype.dispatchSingle=function(Y){return(0,ep.mG)(this,void 0,void 0,function(){var et=this;return(0,ep.Jh)(this,function(en){return Y.log("debug","Dispatching"),Y.stats.increment("message_dispatched"),this.queue.updateAttempts(Y),Y.attempts=1,[2,this.deliver(Y).catch(function(en){return et.enqueuRetry(en,Y)?et.subscribeToDelivery(Y):(Y.setFailedDelivery({reason:en}),Y)})]})})},et.prototype.isEmpty=function(){return 0===this.queue.length},et.prototype.scheduleFlush=function(Y){var et=this;void 0===Y&&(Y=500),this.flushing||(this.flushing=!0,setTimeout(function(){et.flush().then(function(){setTimeout(function(){et.flushing=!1,et.queue.length&&et.scheduleFlush(0)},0)})},Y))},et.prototype.deliver=function(Y){return(0,ep.mG)(this,void 0,void 0,function(){var et,en,ei,eo;return(0,ep.Jh)(this,function(ea){switch(ea.label){case 0:return[4,this.criticalTasks.done()];case 1:ea.sent(),et=Date.now(),ea.label=2;case 2:return ea.trys.push([2,4,,5]),[4,this.flushOne(Y)];case 3:return Y=ea.sent(),en=Date.now()-et,this.emit("delivery_success",Y),Y.stats.gauge("delivered",en),Y.log("debug","Delivered",Y.event),[2,Y];case 4:throw eo=ei=ea.sent(),Y.log("error","Failed to deliver",eo),this.emit("delivery_failure",Y,eo),Y.stats.increment("delivery_failed"),ei;case 5:return[2]}})})},et.prototype.enqueuRetry=function(Y,et){return(!(Y instanceof ez.Y)||!!Y.retry)&&this.queue.pushWithBackoff(et)},et.prototype.flush=function(){return(0,ep.mG)(this,void 0,void 0,function(){var Y,et;return(0,ep.Jh)(this,function(en){switch(en.label){case 0:if(0===this.queue.length||!(Y=this.queue.pop()))return[2,[]];Y.attempts=this.queue.getAttempts(Y),en.label=1;case 1:return en.trys.push([1,3,,4]),[4,this.deliver(Y)];case 2:return Y=en.sent(),this.emit("flush",Y,!0),[3,4];case 3:return et=en.sent(),this.enqueuRetry(et,Y)||(Y.setFailedDelivery({reason:et}),this.emit("flush",Y,!1)),[2,[]];case 4:return[2,[Y]]}})})},et.prototype.isReady=function(){return!0},et.prototype.availableExtensions=function(Y){var et=eF(this.plugins.filter(function(et){if("destination"!==et.type&&"Segment.io"!==et.name)return!0;var en,ei,eo,ea=void 0;return null===(en=et.alternativeNames)||void 0===en||en.forEach(function(et){void 0!==Y[et]&&(ea=Y[et])}),null!==(eo=null!==(ei=Y[et.name])&&void 0!==ei?ei:ea)&&void 0!==eo?eo:!1!==("Segment.io"===et.name||Y.All)}),"type"),en=et.before,ei=void 0===en?[]:en,eo=et.enrichment,ea=void 0===eo?[]:eo,eu=et.destination,ec=void 0===eu?[]:eu,ed=et.after;return{before:ei,enrichment:ea,destinations:ec,after:void 0===ed?[]:ed}},et.prototype.flushOne=function(Y){var et,en;return(0,ep.mG)(this,void 0,void 0,function(){var ei,eo,ea,eu,ec,ed,ef,eh,em,eg,ey,eb,ek;return(0,ep.Jh)(this,function(ep){switch(ep.label){case 0:if(!this.isReady())throw Error("Not ready");Y.attempts>1&&this.emit("delivery_retry",Y),eo=(ei=this.availableExtensions(null!==(et=Y.event.integrations)&&void 0!==et?et:{})).before,ea=ei.enrichment,eu=0,ec=eo,ep.label=1;case 1:if(!(eu<ec.length))return[3,4];return ed=ec[eu],[4,(0,eG.z)(Y,ed)];case 2:(ef=ep.sent())instanceof ez._&&(Y=ef),this.emit("message_enriched",Y,ed),ep.label=3;case 3:return eu++,[3,1];case 4:eh=0,em=ea,ep.label=5;case 5:if(!(eh<em.length))return[3,8];return eg=em[eh],[4,(0,eG.a)(Y,eg)];case 6:(ef=ep.sent())instanceof ez._&&(Y=ef),this.emit("message_enriched",Y,eg),ep.label=7;case 7:return eh++,[3,5];case 8:return eb=(ey=this.availableExtensions(null!==(en=Y.event.integrations)&&void 0!==en?en:{})).destinations,ek=ey.after,[4,new Promise(function(et,en){setTimeout(function(){Promise.all(eb.map(function(et){return(0,eG.a)(Y,et)})).then(et).catch(en)},0)})];case 9:return ep.sent(),Y.stats.increment("message_delivered"),this.emit("message_delivered",Y),[4,Promise.all(ek.map(function(et){return(0,eG.a)(Y,et)}))];case 10:return ep.sent(),[2,Y]}})})},et}(ej.Q));function eW(Y){for(var et=Y.constructor.prototype,en=0,ei=Object.getOwnPropertyNames(et);en<ei.length;en++){var eo=ei[en];if("constructor"!==eo){var ea=Object.getOwnPropertyDescriptor(Y.constructor.prototype,eo);ea&&"function"==typeof ea.value&&(Y[eo]=Y[eo].bind(Y))}}return Y}var eZ={Cookie:"cookie",LocalStorage:"localStorage",Memory:"memory"},eK=function(){function Y(Y){this.stores=Y}return Y.prototype.get=function(Y){for(var et=null,en=0,ei=this.stores;en<ei.length;en++){var eo=ei[en];try{if(null!=(et=eo.get(Y)))return et}catch(et){console.warn("Can't access ".concat(Y,": ").concat(et))}}return null},Y.prototype.set=function(Y,et){this.stores.forEach(function(en){try{en.set(Y,et)}catch(et){console.warn("Can't set ".concat(Y,": ").concat(et))}})},Y.prototype.clear=function(Y){this.stores.forEach(function(et){try{et.remove(Y)}catch(et){console.warn("Can't remove ".concat(Y,": ").concat(et))}})},Y.prototype.getAndSync=function(Y){var et=this.get(Y),en="number"==typeof et?et.toString():et;return this.set(Y,en),en},Y}(),e$=function(){function Y(){this.cache={}}return Y.prototype.get=function(Y){var et;return null!==(et=this.cache[Y])&&void 0!==et?et:null},Y.prototype.set=function(Y,et){this.cache[Y]=et},Y.prototype.remove=function(Y){delete this.cache[Y]},Y}();function eY(Y){return Y&&Y.stores&&Array.isArray(Y.stores)&&Y.stores.every(function(Y){return Object.values(eZ).includes(Y)})}function eQ(Y){return"object"==typeof Y&&void 0!==Y.name}/*! js-cookie v3.0.1 | MIT */function eX(Y){for(var et=1;et<arguments.length;et++){var en=arguments[et];for(var ei in en)Y[ei]=en[ei]}return Y}function eJ(Y,et){function en(en,ei,eo){if("undefined"!=typeof document){"number"==typeof(eo=eX({},et,eo)).expires&&(eo.expires=new Date(Date.now()+864e5*eo.expires)),eo.expires&&(eo.expires=eo.expires.toUTCString()),en=encodeURIComponent(en).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var ea="";for(var eu in eo)eo[eu]&&(ea+="; "+eu,!0!==eo[eu]&&(ea+="="+eo[eu].split(";")[0]));return document.cookie=en+"="+Y.write(ei,en)+ea}}return Object.create({set:en,get:function(et){if("undefined"!=typeof document&&(!arguments.length||et)){for(var en=document.cookie?document.cookie.split("; "):[],ei={},eo=0;eo<en.length;eo++){var ea=en[eo].split("="),eu=ea.slice(1).join("=");try{var ec=decodeURIComponent(ea[0]);if(ei[ec]=Y.read(eu,ec),et===ec)break}catch(Y){}}return et?ei[et]:ei}},remove:function(Y,et){en(Y,"",eX({},et,{expires:-1}))},withAttributes:function(Y){return eJ(this.converter,eX({},this.attributes,Y))},withConverter:function(Y){return eJ(eX({},this.converter,Y),this.attributes)}},{attributes:{value:Object.freeze(et)},converter:{value:Object.freeze(Y)}})}var e0=eJ({read:function(Y){return'"'===Y[0]&&(Y=Y.slice(1,-1)),Y.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(Y){return encodeURIComponent(Y).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});function e9(Y){var et=Y.hostname.split("."),en=et[et.length-1],ei=[];if(4===et.length&&parseInt(en,10)>0||et.length<=1)return ei;for(var eo=et.length-2;eo>=0;--eo)ei.push(et.slice(eo).join("."));return ei}function e5(Y){try{return new URL(Y)}catch(Y){return}}function e4(Y){var et=e5(Y);if(et)for(var en=e9(et),ei=0;ei<en.length;++ei){var eo="__tld__",ea=en[ei],eu={domain:"."+ea};try{if(e0.set(eo,"1",eu),e0.get(eo))return e0.remove(eo,eu),ea}catch(Y){return}}}var e3=365,e6=function(){function Y(et){void 0===et&&(et=Y.defaults),this.options=(0,ep.pi)((0,ep.pi)({},Y.defaults),et)}return Object.defineProperty(Y,"defaults",{get:function(){return{maxage:e3,domain:e4(window.location.href),path:"/",sameSite:"Lax"}},enumerable:!1,configurable:!0}),Y.prototype.opts=function(){return{sameSite:this.options.sameSite,expires:this.options.maxage,domain:this.options.domain,path:this.options.path,secure:this.options.secure}},Y.prototype.get=function(Y){var et;try{var en=e0.get(Y);if(null==en)return null;try{return null!==(et=JSON.parse(en))&&void 0!==et?et:null}catch(Y){return null!=en?en:null}}catch(Y){return null}},Y.prototype.set=function(Y,et){"string"==typeof et?e0.set(Y,et,this.opts()):null===et?e0.remove(Y,this.opts()):e0.set(Y,JSON.stringify(et),this.opts())},Y.prototype.remove=function(Y){return e0.remove(Y,this.opts())},Y}(),e7=function(){function Y(){}return Y.prototype.localStorageWarning=function(Y,et){console.warn("Unable to access ".concat(Y,", localStorage may be ").concat(et))},Y.prototype.get=function(Y){var et;try{var en=localStorage.getItem(Y);if(null===en)return null;try{return null!==(et=JSON.parse(en))&&void 0!==et?et:null}catch(Y){return null!=en?en:null}}catch(et){return this.localStorageWarning(Y,"unavailable"),null}},Y.prototype.set=function(Y,et){try{localStorage.setItem(Y,JSON.stringify(et))}catch(et){this.localStorageWarning(Y,"full")}},Y.prototype.remove=function(Y){try{return localStorage.removeItem(Y)}catch(et){this.localStorageWarning(Y,"unavailable")}},Y}();function e8(Y){return Y.map(function(Y){var et,en;switch(eQ(Y)?(et=Y.name,en=Y.settings):et=Y,et){case eZ.Cookie:return new e6(en);case eZ.LocalStorage:return new e7;case eZ.Memory:return new e$;default:throw Error("Unknown Store Type: ".concat(Y))}})}function tt(Y,et){return Y.map(function(Y){return et&&Y===eZ.Cookie?{name:Y,settings:et}:Y})}var ta={persist:!0,cookie:{key:"ajs_user_id",oldKey:"ajs_user"},localStorage:{key:"ajs_user_traits"}},tu=function(){function Y(Y,et){void 0===Y&&(Y=ta);var en,ei,eo,ea,eu=this;this.options={},this.id=function(Y){if(eu.options.disable)return null;var et=eu.identityStore.getAndSync(eu.idKey);void 0!==Y&&(eu.identityStore.set(eu.idKey,Y),Y!==et&&null!==et&&null!==Y&&eu.anonymousId(null));var en=eu.identityStore.getAndSync(eu.idKey);if(en)return en;var ei=eu.legacyUserStore.get(ta.cookie.oldKey);return ei?"object"==typeof ei?ei.id:ei:null},this.anonymousId=function(Y){var et,en;if(eu.options.disable)return null;if(void 0===Y){var ei=null!==(et=eu.identityStore.getAndSync(eu.anonKey))&&void 0!==et?et:null===(en=eu.legacySIO())||void 0===en?void 0:en[0];if(ei)return ei}return null===Y?(eu.identityStore.set(eu.anonKey,null),eu.identityStore.getAndSync(eu.anonKey)):(eu.identityStore.set(eu.anonKey,null!=Y?Y:(0,eO.v4)()),eu.identityStore.getAndSync(eu.anonKey))},this.traits=function(Y){var et;if(!eu.options.disable)return null===Y&&(Y={}),Y&&eu.traitsStore.set(eu.traitsKey,null!=Y?Y:{}),null!==(et=eu.traitsStore.get(eu.traitsKey))&&void 0!==et?et:{}},this.options=(0,ep.pi)((0,ep.pi)({},ta),Y),this.cookieOptions=et,this.idKey=null!==(ei=null===(en=Y.cookie)||void 0===en?void 0:en.key)&&void 0!==ei?ei:ta.cookie.key,this.traitsKey=null!==(ea=null===(eo=Y.localStorage)||void 0===eo?void 0:eo.key)&&void 0!==ea?ea:ta.localStorage.key,this.anonKey="ajs_anonymous_id",this.identityStore=this.createStorage(this.options,et),this.legacyUserStore=this.createStorage(this.options,et,function(Y){return Y===eZ.Cookie}),this.traitsStore=this.createStorage(this.options,et,function(Y){return Y!==eZ.Cookie});var ec=this.legacyUserStore.get(ta.cookie.oldKey);ec&&"object"==typeof ec&&(ec.id&&this.id(ec.id),ec.traits&&this.traits(ec.traits)),eW(this)}return Y.prototype.legacySIO=function(){var Y=this.legacyUserStore.get("_sio");if(!Y)return null;var et=Y.split("----");return[et[0],et[1]]},Y.prototype.identify=function(Y,et){if(!this.options.disable){et=null!=et?et:{};var en=this.id();(null===en||en===Y)&&(et=(0,ep.pi)((0,ep.pi)({},this.traits()),et)),Y&&this.id(Y),this.traits(et)}},Y.prototype.logout=function(){this.anonymousId(null),this.id(null),this.traits({})},Y.prototype.reset=function(){this.logout(),this.identityStore.clear(this.idKey),this.identityStore.clear(this.anonKey),this.traitsStore.clear(this.traitsKey)},Y.prototype.load=function(){return new Y(this.options,this.cookieOptions)},Y.prototype.save=function(){return!0},Y.prototype.createStorage=function(Y,et,en){var ei=[eZ.LocalStorage,eZ.Cookie,eZ.Memory];return Y.disable?new eK([]):Y.persist?(void 0!==Y.storage&&null!==Y.storage&&eY(Y.storage)&&(ei=Y.storage.stores),Y.localStorageFallbackDisabled&&(ei=ei.filter(function(Y){return Y!==eZ.LocalStorage})),en&&(ei=ei.filter(en)),new eK(e8(tt(ei,et)))):new eK([new e$])},Y.defaults=ta,Y}(),tc={persist:!0,cookie:{key:"ajs_group_id"},localStorage:{key:"ajs_group_properties"}},td=function(Y){function et(et,en){void 0===et&&(et=tc);var ei=Y.call(this,(0,ep.pi)((0,ep.pi)({},tc),et),en)||this;return ei.anonymousId=function(Y){},eW(ei),ei}return(0,ep.ZT)(et,Y),et}(tu),tf=en(65699),th=en(4964),tp=en(20890),tm="This is being deprecated and will be not be available in future releases of Analytics JS",tg=(0,th.R)(),tv=null==tg?void 0:tg.analytics;function tb(Y,et,en){void 0===et&&(et=!1),void 0===en&&(en=!1);var ei=et?4:1,eo=en?new eB.Z(ei,[]):new eD.$(ei,Y);return new eV(eo)}function tk(){console.warn(tm)}var tw=function(Y){function et(et,en,ei,eo,ea){var eu,ec,ed,ef=this;(ef=Y.call(this)||this)._debug=!1,ef.initialized=!1,ef.user=function(){return ef._user},ef.init=ef.initialize.bind(ef),ef.log=tk,ef.addIntegrationMiddleware=tk,ef.listeners=tk,ef.addEventListener=tk,ef.removeAllListeners=tk,ef.removeListener=tk,ef.removeEventListener=tk,ef.hasListeners=tk,ef.add=tk,ef.addIntegration=tk;var eh=null==en?void 0:en.cookie,em=null!==(eu=null==en?void 0:en.disableClientPersistence)&&void 0!==eu&&eu;ef.settings=et,ef.settings.timeout=null!==(ec=ef.settings.timeout)&&void 0!==ec?ec:300,ef.queue=null!=ei?ei:tb("".concat(et.writeKey,":event-queue"),null==en?void 0:en.retryQueue,em);var eg=null==en?void 0:en.storage;return ef._universalStorage=ef.createStore(em,eg,eh),ef._user=null!=eo?eo:new tu((0,ep.pi)({persist:!em,storage:null==en?void 0:en.storage},null==en?void 0:en.user),eh).load(),ef._group=null!=ea?ea:new td((0,ep.pi)({persist:!em,storage:null==en?void 0:en.storage},null==en?void 0:en.group),eh).load(),ef.eventFactory=new eR(ef._user),ef.integrations=null!==(ed=null==en?void 0:en.integrations)&&void 0!==ed?ed:{},ef.options=null!=en?en:{},eW(ef),ef}return(0,ep.ZT)(et,Y),et.prototype.createStore=function(Y,et,en){return new eK(Y?[new e$]:et&&eY(et)?e8(tt(et.stores,en)):e8([eZ.LocalStorage,{name:eZ.Cookie,settings:en},eZ.Memory]))},Object.defineProperty(et.prototype,"storage",{get:function(){return this._universalStorage},enumerable:!1,configurable:!0}),et.prototype.track=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return(0,ep.mG)(this,void 0,void 0,function(){var et,en,ei,eo,ea,eu,ec=this;return(0,ep.Jh)(this,function(ed){return en=(et=ew.apply(void 0,Y))[0],ei=et[1],eo=et[2],ea=et[3],eu=this.eventFactory.track(en,ei,eo,this.integrations),[2,this._dispatch(eu,ea).then(function(Y){return ec.emit("track",en,Y.event.properties,Y.event.options),Y})]})})},et.prototype.page=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return(0,ep.mG)(this,void 0,void 0,function(){var et,en,ei,eo,ea,eu,ec,ed=this;return(0,ep.Jh)(this,function(ef){return en=(et=e_.apply(void 0,Y))[0],ei=et[1],eo=et[2],ea=et[3],eu=et[4],ec=this.eventFactory.page(en,ei,eo,ea,this.integrations),[2,this._dispatch(ec,eu).then(function(Y){return ed.emit("page",en,ei,Y.event.properties,Y.event.options),Y})]})})},et.prototype.identify=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return(0,ep.mG)(this,void 0,void 0,function(){var et,en,ei,eo,ea,eu,ec=this;return(0,ep.Jh)(this,function(ed){return en=(et=eE(this._user).apply(void 0,Y))[0],ei=et[1],eo=et[2],ea=et[3],this._user.identify(en,ei),eu=this.eventFactory.identify(this._user.id(),this._user.traits(),eo,this.integrations),[2,this._dispatch(eu,ea).then(function(Y){return ec.emit("identify",Y.event.userId,Y.event.traits,Y.event.options),Y})]})})},et.prototype.group=function(){for(var Y=this,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];if(0===et.length)return this._group;var ei=eE(this._group).apply(void 0,et),eo=ei[0],ea=ei[1],eu=ei[2],ec=ei[3];this._group.identify(eo,ea);var ed=this._group.id(),ef=this._group.traits(),eh=this.eventFactory.group(ed,ef,eu,this.integrations);return this._dispatch(eh,ec).then(function(et){return Y.emit("group",et.event.groupId,et.event.traits,et.event.options),et})},et.prototype.alias=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return(0,ep.mG)(this,void 0,void 0,function(){var et,en,ei,eo,ea,eu,ec=this;return(0,ep.Jh)(this,function(ed){return en=(et=eC.apply(void 0,Y))[0],ei=et[1],eo=et[2],ea=et[3],eu=this.eventFactory.alias(en,ei,eo,this.integrations),[2,this._dispatch(eu,ea).then(function(Y){return ec.emit("alias",en,ei,Y.event.options),Y})]})})},et.prototype.screen=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return(0,ep.mG)(this,void 0,void 0,function(){var et,en,ei,eo,ea,eu,ec,ed=this;return(0,ep.Jh)(this,function(ef){return en=(et=e_.apply(void 0,Y))[0],ei=et[1],eo=et[2],ea=et[3],eu=et[4],ec=this.eventFactory.screen(en,ei,eo,ea,this.integrations),[2,this._dispatch(ec,eu).then(function(Y){return ed.emit("screen",en,ei,Y.event.properties,Y.event.options),Y})]})})},et.prototype.trackClick=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return(0,ep.mG)(this,void 0,void 0,function(){var et;return(0,ep.Jh)(this,function(ei){switch(ei.label){case 0:return[4,en.e(8119).then(en.bind(en,36265))];case 1:return[2,(et=ei.sent().link).call.apply(et,(0,ep.ev)([this],Y,!1))]}})})},et.prototype.trackLink=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return(0,ep.mG)(this,void 0,void 0,function(){var et;return(0,ep.Jh)(this,function(ei){switch(ei.label){case 0:return[4,en.e(8119).then(en.bind(en,36265))];case 1:return[2,(et=ei.sent().link).call.apply(et,(0,ep.ev)([this],Y,!1))]}})})},et.prototype.trackSubmit=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return(0,ep.mG)(this,void 0,void 0,function(){var et;return(0,ep.Jh)(this,function(ei){switch(ei.label){case 0:return[4,en.e(8119).then(en.bind(en,36265))];case 1:return[2,(et=ei.sent().form).call.apply(et,(0,ep.ev)([this],Y,!1))]}})})},et.prototype.trackForm=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return(0,ep.mG)(this,void 0,void 0,function(){var et;return(0,ep.Jh)(this,function(ei){switch(ei.label){case 0:return[4,en.e(8119).then(en.bind(en,36265))];case 1:return[2,(et=ei.sent().form).call.apply(et,(0,ep.ev)([this],Y,!1))]}})})},et.prototype.register=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return(0,ep.mG)(this,void 0,void 0,function(){var et,en=this;return(0,ep.Jh)(this,function(ei){switch(ei.label){case 0:return et=eS._.system(),[4,Promise.all(Y.map(function(Y){return en.queue.register(et,Y,en)}))];case 1:return ei.sent(),[2,et]}})})},et.prototype.deregister=function(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];return(0,ep.mG)(this,void 0,void 0,function(){var et,en=this;return(0,ep.Jh)(this,function(ei){switch(ei.label){case 0:return et=eS._.system(),[4,Promise.all(Y.map(function(Y){var ei=en.queue.plugins.find(function(et){return et.name===Y});if(ei)return en.queue.deregister(et,ei,en);et.log("warn","plugin ".concat(Y," not found"))}))];case 1:return ei.sent(),[2,et]}})})},et.prototype.debug=function(Y){return!1===Y&&localStorage.getItem("debug")&&localStorage.removeItem("debug"),this._debug=Y,this},et.prototype.reset=function(){this._user.reset(),this._group.reset(),this.emit("reset")},et.prototype.timeout=function(Y){this.settings.timeout=Y},et.prototype._dispatch=function(Y,et){return(0,ep.mG)(this,void 0,void 0,function(){var en;return(0,ep.Jh)(this,function(ei){return(en=new eS._(Y),(0,eT.s)()&&!this.options.retryQueue)?[2,en]:[2,eP(en,this.queue,this,{callback:et,debug:this._debug,timeout:this.settings.timeout})]})})},et.prototype.addSourceMiddleware=function(Y){return(0,ep.mG)(this,void 0,void 0,function(){var et=this;return(0,ep.Jh)(this,function(ei){switch(ei.label){case 0:return[4,this.queue.criticalTasks.run(function(){return(0,ep.mG)(et,void 0,void 0,function(){var et,ei,eo;return(0,ep.Jh)(this,function(ea){switch(ea.label){case 0:return[4,Promise.resolve().then(en.bind(en,44126))];case 1:return et=ea.sent().sourceMiddlewarePlugin,ei={},this.queue.plugins.forEach(function(Y){if("destination"===Y.type)return ei[Y.name]=!0}),eo=et(Y,ei),[4,this.register(eo)];case 2:return ea.sent(),[2]}})})})];case 1:return ei.sent(),[2,this]}})})},et.prototype.addDestinationMiddleware=function(Y){for(var et=[],en=1;en<arguments.length;en++)et[en-1]=arguments[en];return this.queue.plugins.filter(function(et){return et.name.toLowerCase()===Y.toLowerCase()}).forEach(function(Y){Y.addMiddleware.apply(Y,et)}),Promise.resolve(this)},et.prototype.setAnonymousId=function(Y){return this._user.anonymousId(Y)},et.prototype.queryString=function(Y){return(0,ep.mG)(this,void 0,void 0,function(){return(0,ep.Jh)(this,function(et){switch(et.label){case 0:if(!1===this.options.useQueryString)return[2,[]];return[4,en.e(3096).then(en.bind(en,89983))];case 1:return[2,(0,et.sent().queryString)(this,Y)]}})})},et.prototype.use=function(Y){return Y(this),this},et.prototype.ready=function(Y){return void 0===Y&&(Y=function(Y){return Y}),(0,ep.mG)(this,void 0,void 0,function(){return(0,ep.Jh)(this,function(et){return[2,Promise.all(this.queue.plugins.map(function(Y){return Y.ready?Y.ready():Promise.resolve()})).then(function(et){return Y(et),et})]})})},et.prototype.noConflict=function(){return console.warn(tm),(0,tp.ql)(null!=tv?tv:this),this},et.prototype.normalize=function(Y){return console.warn(tm),this.eventFactory.normalize(Y)},Object.defineProperty(et.prototype,"failedInitializations",{get:function(){return console.warn(tm),this.queue.failedInitializations},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"VERSION",{get:function(){return tf.i},enumerable:!1,configurable:!0}),et.prototype.initialize=function(Y,et){return(0,ep.mG)(this,void 0,void 0,function(){return(0,ep.Jh)(this,function(Y){return console.warn(tm),[2,Promise.resolve(this)]})})},et.prototype.pageview=function(Y){return(0,ep.mG)(this,void 0,void 0,function(){return(0,ep.Jh)(this,function(et){switch(et.label){case 0:return console.warn(tm),[4,this.page({path:Y})];case 1:return et.sent(),[2,this]}})})},Object.defineProperty(et.prototype,"plugins",{get:function(){var Y;return console.warn(tm),null!==(Y=this._plugins)&&void 0!==Y?Y:{}},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"Integrations",{get:function(){return console.warn(tm),this.queue.plugins.filter(function(Y){return"destination"===Y.type}).reduce(function(Y,et){var en="".concat(et.name.toLowerCase().replace(".","").split(" ").join("-"),"Integration"),ei=window[en];if(!ei)return Y;var eo=ei.Integration;return eo?(Y[et.name]=eo,Y):(Y[et.name]=ei,Y)},{})},enumerable:!1,configurable:!0}),et.prototype.push=function(Y){var et=this,en=Y.shift();(!en||et[en])&&et[en].apply(this,Y)},et}(ej.Q),t_=en(30318),tE=function(){var Y,et,en=new Promise(function(en,ei){Y=en,et=ei});return{resolve:Y,reject:et,promise:en}},tC=function(Y,et){return Object.assign.apply(Object,(0,ep.ev)([{}],et.map(function(et){var en;if(Y&&Object.prototype.hasOwnProperty.call(Y,et))return(en={})[et]=Y[et],en}),!1))},tT=en(32),tS=en(90476);function tA(){if(ei)return ei;var Y=e4(window.location.href);return ei={expires:31536e6,secure:!1,path:"/"},Y&&(ei.domain=Y),ei}function tM(Y){var et={btid:"dataxu",urid:"millennial-media"};Y.startsWith("?")&&(Y=Y.substring(1));for(var en=(Y=Y.replace(/\?/g,"&")).split("&"),ei=0,eo=en;ei<eo.length;ei++){var ea=eo[ei].split("="),eu=ea[0],ec=ea[1];if(et[eu])return{id:ec,type:et[eu]}}}function tP(){var Y=document.querySelector("link[rel='canonical']");if(Y)return Y.getAttribute("href")||void 0}function tj(){var Y=tP();if(!Y)return window.location.pathname;var et=document.createElement("a");return et.href=Y,et.pathname.startsWith("/")?et.pathname:"/"+et.pathname}function tO(Y){void 0===Y&&(Y="");var et=tP();if(et)return et.includes("?")?et:"".concat(et).concat(Y);var en=window.location.href,ei=en.indexOf("#");return -1===ei?en:en.slice(0,ei)}function tI(){return{path:tj(),referrer:document.referrer,search:location.search,title:document.title,url:tO(location.search)}}function tN(Y){return Y.startsWith("?")&&(Y=Y.substring(1)),(Y=Y.replace(/\?/g,"&")).split("&").reduce(function(Y,et){var en=et.split("="),ei=en[0],eo=en[1],ea=void 0===eo?"":eo;if(ei.includes("utm_")&&ei.length>4){var eu=ei.substr(4);"campaign"===eu&&(eu="name"),Y[eu]=(0,tS.a)(ea)}return Y},{})}function tL(){var Y=e0.get("_ga");if(Y&&Y.startsWith("amp"))return Y}function tR(Y,et,en){var ei,eo=new eK(en?[]:[new e6(tA())]),ea=eo.get("s:context.referrer"),eu=null!==(ei=tM(Y))&&void 0!==ei?ei:ea;eu&&(et&&(et.referrer=(0,ep.pi)((0,ep.pi)({},et.referrer),eu)),eo.set("s:context.referrer",eu))}var tD=new(function(){return function(){var Y=this;this.name="Page Enrichment",this.type="before",this.version="0.1.0",this.isLoaded=function(){return!0},this.load=function(et,en){return Y.instance=en,Promise.resolve()},this.enrich=function(et){var en,ei,eo,ea,eu=et.event,ec=null!==(en=eu.context)&&void 0!==en?en:eu.context={},ed=tI();"page"===eu.type&&(ea=eu.properties&&tC(eu.properties,Object.keys(ed)),eu.properties=(0,ep.pi)((0,ep.pi)((0,ep.pi)({},ed),eu.properties),eu.name?{name:eu.name}:{})),ec.page=(0,ep.pi)((0,ep.pi)((0,ep.pi)({},ed),ea),ec.page);var ef=ec.page.search||"";ec.userAgent=navigator.userAgent;var eh=navigator.userLanguage||navigator.language;void 0===ec.locale&&void 0!==eh&&(ec.locale=eh),null!==(ei=ec.library)&&void 0!==ei||(ec.library={name:"analytics.js",version:"".concat("web"===(0,tT.B)()?"next":"npm:next","-").concat(tf.i)}),ef&&!ec.campaign&&(ec.campaign=tN(ef));var em=tL();return em&&(ec.amp={id:em}),tR(ef,ec,null!==(eo=Y.instance.options.disableClientPersistence)&&void 0!==eo&&eo),et},this.track=this.enrich,this.identify=this.enrich,this.page=this.enrich,this.group=this.enrich,this.alias=this.enrich,this.screen=this.enrich}}()),tF=en(47019),tB=en(44126),tU=function(){function Y(Y,et){this.version="1.0.0",this.alternativeNames=[],this.middleware=[],this.alias=this._createMethod("alias"),this.group=this._createMethod("group"),this.identify=this._createMethod("identify"),this.page=this._createMethod("page"),this.screen=this._createMethod("screen"),this.track=this._createMethod("track"),this.action=et,this.name=Y,this.type=et.type,this.alternativeNames.push(et.name)}return Y.prototype.addMiddleware=function(){for(var Y,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];"destination"===this.type&&(Y=this.middleware).push.apply(Y,et)},Y.prototype.transform=function(Y){return(0,ep.mG)(this,void 0,void 0,function(){var et;return(0,ep.Jh)(this,function(en){switch(en.label){case 0:return[4,(0,tB.applyDestinationMiddleware)(this.name,Y.event,this.middleware)];case 1:return null===(et=en.sent())&&Y.cancel(new ez.Y({retry:!1,reason:"dropped by destination middleware"})),[2,new eS._(et)]}})})},Y.prototype._createMethod=function(Y){var et=this;return function(en){return(0,ep.mG)(et,void 0,void 0,function(){var et;return(0,ep.Jh)(this,function(ei){switch(ei.label){case 0:if(!this.action[Y])return[2,en];if(et=en,"destination"!==this.type)return[3,2];return[4,this.transform(en)];case 1:et=ei.sent(),ei.label=2;case 2:return[4,this.action[Y](et)];case 3:return ei.sent(),[2,en]}})})}},Y.prototype.isLoaded=function(){return this.action.isLoaded()},Y.prototype.ready=function(){return this.action.ready?this.action.ready():Promise.resolve()},Y.prototype.load=function(Y,et){return this.action.load(Y,et)},Y.prototype.unload=function(Y,et){var en,ei;return null===(ei=(en=this.action).unload)||void 0===ei?void 0:ei.call(en,Y,et)},Y}();function tH(Y){if(!Array.isArray(Y))throw Error("Not a valid list of plugins");var et=["load","isLoaded","name","version","type"];return Y.forEach(function(Y){et.forEach(function(et){var en;if(void 0===Y[et])throw Error("Plugin: ".concat(null!==(en=Y.name)&&void 0!==en?en:"unknown"," missing required function ").concat(et))})}),!0}function tG(Y,et){var en=Y[et.creationName],ei=Y[et.name];return!1===Y.All&&!en&&!ei||!1===en||!1===ei}function tV(Y,et){return(0,ep.mG)(this,void 0,void 0,function(){var en,ei,eo,ea,eu,ec;return(0,ep.Jh)(this,function(ed){switch(ed.label){case 0:if(en=RegExp("https://cdn.segment.(com|build)"),ei=(0,ey.Vl)(),!et)return[3,6];ea=(eo=Y.url.split("/"))[eo.length-2],eu=Y.url.replace(ea,btoa(ea).replace(/=/g,"")),ed.label=1;case 1:return ed.trys.push([1,3,,5]),[4,(0,tF.v)(eu.replace(en,ei))];case 2:case 4:return ed.sent(),[3,5];case 3:return ec=ed.sent(),[4,(0,tF.v)(Y.url.replace(en,ei))];case 5:return[3,8];case 6:return[4,(0,tF.v)(Y.url.replace(en,ei))];case 7:ed.sent(),ed.label=8;case 8:if("function"==typeof window[Y.libraryName])return[2,window[Y.libraryName]];return[2]}})})}function tW(Y,et,en,ei,eo,ea){var eu,ec,ed;return(0,ep.mG)(this,void 0,void 0,function(){var ef,eh,em=this;return(0,ep.Jh)(this,function(eg){switch(eg.label){case 0:return ef=[],eh=null!==(ec=null===(eu=Y.middlewareSettings)||void 0===eu?void 0:eu.routingRules)&&void 0!==ec?ec:[],[4,Promise.all((null!==(ed=Y.remotePlugins)&&void 0!==ed?ed:[]).map(function(Y){return(0,ep.mG)(em,void 0,void 0,function(){var eu,ec,ed,em,eg;return(0,ep.Jh)(this,function(ey){switch(ey.label){case 0:if(tG(et,Y))return[2];ey.label=1;case 1:if(ey.trys.push([1,6,,7]),ec=null==ea?void 0:ea.find(function(et){return et.pluginName===Y.name}))return[3,3];return[4,tV(Y,ei)];case 2:ec=ey.sent(),ey.label=3;case 3:if(!(eu=ec))return[3,5];return[4,eu((0,ep.pi)((0,ep.pi)({},Y.settings),en[Y.name]))];case 4:tH(em=Array.isArray(ed=ey.sent())?ed:[ed]),eg=eh.filter(function(et){return et.destinationName===Y.creationName}),em.forEach(function(et){var en=new tU(Y.creationName,et);eg.length&&eo&&"destination"===et.type&&en.addMiddleware(eo),ef.push(en)}),ey.label=5;case 5:return[3,7];case 6:return console.warn("Failed to load Remote Plugin",ey.sent()),[3,7];case 7:return[2]}})})}))];case 1:return eg.sent(),[2,ef.filter(Boolean)]}})})}var tq=en(38843),tZ=function(Y){var et=!1;window.addEventListener("pagehide",function(){et||Y(et=!0)}),document.addEventListener("visibilitychange",function(){if("hidden"==document.visibilityState){if(et)return;et=!0}else et=!1;Y(et)})},tK=500;function t$(Y){return(encodeURI(JSON.stringify(Y)).split(/%..|./).length-1)/1024}function tY(Y){return t$(Y)>=tK-50}function tQ(Y){var et=[],en=0;return Y.forEach(function(Y){t$(et[en])>=64&&en++,et[en]?et[en].push(Y):et[en]=[Y]}),et}function tX(Y,et){var en,ei,eo,ea=[],eu=!1,ec=null!==(en=null==et?void 0:et.size)&&void 0!==en?en:10,ed=null!==(ei=null==et?void 0:et.timeout)&&void 0!==ei?ei:5e3;function ef(et){if(0!==et.length){var en,ei=null===(en=et[0])||void 0===en?void 0:en.writeKey,eo=et.map(function(Y){var et=Y;return et.sentAt,(0,ep._T)(et,["sentAt"])});return(0,eb.h)("https://".concat(Y,"/b"),{keepalive:eu,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify({writeKey:ei,batch:eo,sentAt:new Date().toISOString()})})}}function eh(){return(0,ep.mG)(this,void 0,void 0,function(){var Y;return(0,ep.Jh)(this,function(et){return ea.length?(Y=ea,ea=[],[2,ef(Y)]):[2]})})}function em(){eo||(eo=setTimeout(function(){eo=void 0,eh().catch(console.error)},ed))}return tZ(function(Y){(eu=Y)&&ea.length&&Promise.all(tQ(ea).map(ef)).catch(console.error)}),{dispatch:function(Y,et){return(0,ep.mG)(this,void 0,void 0,function(){return(0,ep.Jh)(this,function(Y){return ea.push(et),[2,ea.length>=ec||tY(ea)||eu?eh():em()]})})}}}function tJ(Y){return{dispatch:function(et,en){return(0,eb.h)(et,{keepalive:null==Y?void 0:Y.keepalive,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify(en)})}}}function t9(Y,et,en,ei){var eo,ea=Y.user();delete et.options,et.writeKey=null==en?void 0:en.apiKey,et.userId=et.userId||ea.id(),et.anonymousId=et.anonymousId||ea.anonymousId(),et.sentAt=new Date;var eu=Y.queue.failedInitializations||[];eu.length>0&&(et._metadata={failedInitializations:eu});var ec=[],ed=[];for(var ef in ei){var eh=ei[ef];"Segment.io"===ef&&ec.push(ef),"bundled"===eh.bundlingStatus&&ec.push(ef),"unbundled"===eh.bundlingStatus&&ed.push(ef)}for(var em=0,eg=(null==en?void 0:en.unbundledIntegrations)||[];em<eg.length;em++){var ey=eg[em];ed.includes(ey)||ed.push(ey)}var eb=null!==(eo=null==en?void 0:en.maybeBundledConfigIds)&&void 0!==eo?eo:{},ek=[];return ec.sort().forEach(function(Y){var et;(null!==(et=eb[Y])&&void 0!==et?et:[]).forEach(function(Y){ek.push(Y)})}),(null==en?void 0:en.addBundledMetadata)!==!1&&(et._metadata=(0,ep.pi)((0,ep.pi)({},et._metadata),{bundled:ec.sort(),unbundled:ed.sort(),bundledIds:ek})),et}var t5=en(83070);function t4(Y,et){return(0,ep.mG)(this,void 0,void 0,function(){var en,ei=this;return(0,ep.Jh)(this,function(eo){switch(eo.label){case 0:if(en=[],(0,eT.s)())return[2,et];return[4,(0,t5.x)(function(){return et.length>0&&!(0,eT.s)()},function(){return(0,ep.mG)(ei,void 0,void 0,function(){var ei;return(0,ep.Jh)(this,function(eo){switch(eo.label){case 0:if(!(ei=et.pop()))return[2];return[4,(0,eG.a)(ei,Y)];case 1:return eo.sent() instanceof eS._||en.push(ei),[2]}})})})];case 1:return eo.sent(),en.map(function(Y){return et.pushWithBackoff(Y)}),[2,et]}})})}function t3(Y,et,en,ei){var eo=this;Y||setTimeout(function(){return(0,ep.mG)(eo,void 0,void 0,function(){var Y,eo;return(0,ep.Jh)(this,function(ea){switch(ea.label){case 0:return Y=!0,[4,t4(en,et)];case 1:return eo=ea.sent(),Y=!1,et.todo>0&&ei(Y,eo,en,ei),[2]}})})},5e3*Math.random())}var t6=en(47554);function t7(Y){return(0,ep.mG)(this,void 0,void 0,function(){var et;return(0,ep.Jh)(this,function(en){return(et=navigator.userAgentData)?Y?[2,et.getHighEntropyValues(Y).catch(function(){return et.toJSON()})]:[2,et.toJSON()]:[2,void 0]})})}function t8(Y,et){var en,ei,eo,ea,eu=Y.user();return et.previousId=null!==(eo=null!==(ei=null!==(en=et.previousId)&&void 0!==en?en:et.from)&&void 0!==ei?ei:eu.id())&&void 0!==eo?eo:eu.anonymousId(),et.userId=null!==(ea=et.userId)&&void 0!==ea?ea:et.to,delete et.from,delete et.to,et}function nt(Y,et,en){var ei,eo,ea;return(0,ep.mG)(this,void 0,void 0,function(){var eu,ec,ed,ef,eh,em,eg,ey,eb,ek,ew,e_;function eE(ei){return(0,ep.mG)(this,void 0,void 0,function(){var eo,ea;return(0,ep.Jh)(this,function(eu){return(0,eT.s)()?(ec.push(ei),t3(ef,ec,e_,t3),[2,ei]):(ed.add(ei),eo=ei.event.type.charAt(0),ek&&ei.event.context&&(ei.event.context.userAgentData=ek),ea=(0,tq.D)(ei.event).json(),"track"===ei.event.type&&delete ea.traits,"alias"===ei.event.type&&(ea=t8(Y,ea)),[2,eb.dispatch("".concat(eg,"/").concat(eo),t9(Y,ea,et,en)).then(function(){return ei}).catch(function(){return ec.pushWithBackoff(ei),t3(ef,ec,e_,t3),ei}).finally(function(){ed.delete(ei)})])})})}return(0,ep.Jh)(this,function(en){switch(en.label){case 0:window.addEventListener("pagehide",function(){ec.push.apply(ec,Array.from(ed)),ed.clear()}),eu=null!==(ei=null==et?void 0:et.apiKey)&&void 0!==ei?ei:"",ec=Y.options.disableClientPersistence?new eB.Z(Y.queue.queue.maxAttempts,[]):new eD.$(Y.queue.queue.maxAttempts,"".concat(eu,":dest-Segment.io")),ed=new Set,ef=!1,eh=null!==(eo=null==et?void 0:et.apiHost)&&void 0!==eo?eo:t6.U,em=null!==(ea=null==et?void 0:et.protocol)&&void 0!==ea?ea:"https",eg="".concat(em,"://").concat(eh),eb=(null==(ey=null==et?void 0:et.deliveryStrategy)?void 0:ey.strategy)==="batching"?tX(eh,ey.config):tJ(null==ey?void 0:ey.config),en.label=1;case 1:return en.trys.push([1,3,,4]),[4,t7(Y.options.highEntropyValuesClientHints)];case 2:return ek=en.sent(),[3,4];case 3:return ew=en.sent(),ek=void 0,[3,4];case 4:return e_={name:"Segment.io",type:"after",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:eE,identify:eE,page:eE,alias:eE,group:eE,screen:eE},ec.todo&&t3(ef,ec,e_,t3),[2,e_]}})})}var nn=function(Y){function et(et,en){var ei=Y.call(this,"".concat(et," ").concat(en))||this;return ei.field=et,ei}return(0,ep.ZT)(et,Y),et}(Error),ni="is not a string",na="is not an object",nu="is nil";function nd(Y){var et=".userId/anonymousId/previousId/groupId",en=function(Y){var et,en,ei;return null!==(ei=null!==(en=null!==(et=Y.userId)&&void 0!==et?et:Y.anonymousId)&&void 0!==en?en:Y.groupId)&&void 0!==ei?ei:Y.previousId}(Y);if((0,ek.Gg)(en)){if(!(0,ek.HD)(en))throw new nn(et,ni)}else throw new nn(et,nu)}function nf(Y){if(!(0,ek.Gg)(Y))throw new nn("Event",nu);if("object"!=typeof Y)throw new nn("Event",na)}function nh(Y){if(!(0,ek.HD)(Y.type))throw new nn(".type",ni)}function np(Y){if(!(0,ek.HD)(Y.event))throw new nn(".event",ni)}function ng(Y){var et,en=Y.event;nf(en),nh(en),"track"===en.type&&np(en);var ei=null!==(et=en.properties)&&void 0!==et?et:en.traits;if("alias"!==en.type&&!(0,ek.PO)(ei))throw new nn(".properties","is not an object");return nd(en),Y}var nv={name:"Event Validation",type:"before",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:ng,identify:ng,page:ng,alias:ng,group:ng,screen:ng},ny=function(Y){return"object"==typeof Y&&null!==Y&&"then"in Y&&"function"==typeof Y.then},nb=function(Y,et,en){en.getCalls(Y).forEach(function(Y){nC(et,Y).catch(console.error)})},nx=function(Y,et){return(0,ep.mG)(void 0,void 0,void 0,function(){var en,ei;return(0,ep.Jh)(this,function(eo){switch(eo.label){case 0:en=0,ei=et.getCalls("addSourceMiddleware"),eo.label=1;case 1:if(!(en<ei.length))return[3,4];return[4,nC(Y,ei[en]).catch(console.error)];case 2:eo.sent(),eo.label=3;case 3:return en++,[3,1];case 4:return[2]}})})},nk=nb.bind(void 0,"on"),nw=nb.bind(void 0,"setAnonymousId"),n_=function(Y,et){et.toArray().forEach(function(et){setTimeout(function(){nC(Y,et).catch(console.error)},0)})},nE=function(){function Y(){this._value={}}return Y.prototype.toArray=function(){var Y;return(Y=[]).concat.apply(Y,Object.values(this._value))},Y.prototype.getCalls=function(Y){var et;return null!==(et=this._value[Y])&&void 0!==et?et:[]},Y.prototype.push=function(){for(var Y=this,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];return et.forEach(function(et){Y._value[et.method]?Y._value[et.method].push(et):Y._value[et.method]=[et]}),this},Y.prototype.clear=function(){return this._value={},this},Y}();function nC(Y,et){return(0,ep.mG)(this,void 0,void 0,function(){var en,ei;return(0,ep.Jh)(this,function(eo){switch(eo.label){case 0:if(eo.trys.push([0,3,,4]),et.called)return[2,void 0];if(et.called=!0,!ny(en=Y[et.method].apply(Y,et.args)))return[3,2];return[4,en];case 1:eo.sent(),eo.label=2;case 2:return et.resolve(en),[3,4];case 3:return ei=eo.sent(),et.reject(ei),[3,4];case 4:return[2]}})})}var nT=function(){function Y(Y){var et=this;this._preInitBuffer=new nE,this.trackSubmit=this._createMethod("trackSubmit"),this.trackClick=this._createMethod("trackClick"),this.trackLink=this._createMethod("trackLink"),this.pageView=this._createMethod("pageview"),this.identify=this._createMethod("identify"),this.reset=this._createMethod("reset"),this.group=this._createMethod("group"),this.track=this._createMethod("track"),this.ready=this._createMethod("ready"),this.alias=this._createMethod("alias"),this.debug=this._createChainableMethod("debug"),this.page=this._createMethod("page"),this.once=this._createChainableMethod("once"),this.off=this._createChainableMethod("off"),this.on=this._createChainableMethod("on"),this.addSourceMiddleware=this._createMethod("addSourceMiddleware"),this.setAnonymousId=this._createMethod("setAnonymousId"),this.addDestinationMiddleware=this._createMethod("addDestinationMiddleware"),this.screen=this._createMethod("screen"),this.register=this._createMethod("register"),this.deregister=this._createMethod("deregister"),this.user=this._createMethod("user"),this.VERSION=tf.i,this._promise=Y(this._preInitBuffer),this._promise.then(function(Y){var en=Y[0],ei=Y[1];et.instance=en,et.ctx=ei}).catch(function(){})}return Y.prototype.then=function(){for(var Y,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];return(Y=this._promise).then.apply(Y,et)},Y.prototype.catch=function(){for(var Y,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];return(Y=this._promise).catch.apply(Y,et)},Y.prototype.finally=function(){for(var Y,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];return(Y=this._promise).finally.apply(Y,et)},Y.prototype._createMethod=function(Y){var et=this;return function(){for(var en,ei=[],eo=0;eo<arguments.length;eo++)ei[eo]=arguments[eo];return et.instance?Promise.resolve((en=et.instance)[Y].apply(en,ei)):new Promise(function(en,eo){et._preInitBuffer.push({method:Y,args:ei,resolve:en,reject:eo,called:!1})})}},Y.prototype._createChainableMethod=function(Y){var et=this;return function(){for(var en,ei=[],eo=0;eo<arguments.length;eo++)ei[eo]=arguments[eo];return et.instance?(en=et.instance)[Y].apply(en,ei):et._preInitBuffer.push({method:Y,args:ei,resolve:function(){},reject:console.error,called:!1}),et}},Y}();function nS(Y){return{method:Y[0],resolve:function(){},reject:console.error,args:Y.slice(1),called:!1}}var nA=function(Y){return Y.map(nS)},nM=function(Y){void 0===Y&&(Y=(0,tp.wI)());var et=Y;return Array.isArray(et)?nA(et.splice(0,et.length)):[]},nP=null!==(eo=(ea=(0,th.R)()).__SEGMENT_INSPECTOR__)&&void 0!==eo?eo:ea.__SEGMENT_INSPECTOR__={},nj=function(Y){var et;return null===(et=nP.attach)||void 0===et?void 0:et.call(nP,Y)},nO=en(45472);function nI(Y,et){var en=null!=et?et:(0,ey.Vl)();return(0,eb.h)("".concat(en,"/v1/projects/").concat(Y,"/settings")).then(function(Y){return Y.ok?Y.json():Y.text().then(function(Y){throw Error(Y)})}).catch(function(Y){throw console.error(Y.message),Y})}function nN(Y){return"test"!==eg().NODE_ENV&&Object.keys(Y.integrations).length>1}function nL(Y){var et,en,ei;return"test"!==eg().NODE_ENV&&(null!==(ei=null===(en=null===(et=Y.middlewareSettings)||void 0===et?void 0:et.routingRules)||void 0===en?void 0:en.length)&&void 0!==ei?ei:0)>0}function nR(Y,et){et.push.apply(et,nM()),nw(Y,et),nk(Y,et)}function nD(Y,et){return(0,ep.mG)(this,void 0,void 0,function(){return(0,ep.Jh)(this,function(en){switch(en.label){case 0:return et.push.apply(et,nM()),[4,nx(Y,et)];case 1:return en.sent(),et.push.apply(et,nM()),n_(Y,et),et.clear(),[2]}})})}function nF(Y,et,ei,eo,ea,eu,ec){var ed,ef,eh;return void 0===eu&&(eu=[]),(0,ep.mG)(this,void 0,void 0,function(){var em,eg,ey,eb,ek,ew,e_,eE,eC,eT,eS,eA,eM,eP,ej=this;return(0,ep.Jh)(this,function(eO){switch(eO.label){case 0:if(em=null==eu?void 0:eu.filter(function(Y){return"object"==typeof Y}),eg=null==eu?void 0:eu.filter(function(Y){return"function"==typeof Y&&"string"==typeof Y.pluginName}),!nL(et))return[3,2];return[4,en.e(4604).then(en.bind(en,61127)).then(function(Y){return Y.tsubMiddleware(et.middlewareSettings.routingRules)})];case 1:return eb=eO.sent(),[3,3];case 2:eb=void 0,eO.label=3;case 3:if(ey=eb,!(nN(et)||ec.length>0))return[3,5];return[4,en.e(9464).then(en.bind(en,67749)).then(function(en){return en.ajsDestinations(Y,et,ei.integrations,eo,ey,ec)})];case 4:return ew=eO.sent(),[3,6];case 5:ew=[],eO.label=6;case 6:if(ek=ew,!et.legacyVideoPluginsEnabled)return[3,8];return[4,en.e(8150).then(en.bind(en,63448)).then(function(Y){return Y.loadLegacyVideoPlugins(ei)})];case 7:eO.sent(),eO.label=8;case 8:if(!(null===(ed=eo.plan)||void 0===ed?void 0:ed.track))return[3,10];return[4,en.e(7493).then(en.bind(en,59801)).then(function(Y){var en;return Y.schemaFilter(null===(en=eo.plan)||void 0===en?void 0:en.track,et)})];case 9:return eE=eO.sent(),[3,11];case 10:eE=void 0,eO.label=11;case 11:return e_=eE,eC=(0,t_.o)(et,ea),[4,tW(et,ei.integrations,eC,ea.obfuscate,ey,eg).catch(function(){return[]})];case 12:if(eT=eO.sent(),eS=(0,ep.ev)((0,ep.ev)((0,ep.ev)([nv,tD],em,!0),ek,!0),eT,!0),e_&&eS.push(e_),(null===(ef=eo.integrations)||void 0===ef?void 0:ef.All)===!1&&!eo.integrations["Segment.io"]||eo.integrations&&!1===eo.integrations["Segment.io"])return[3,14];return eM=(eA=eS).push,[4,nt(ei,eC["Segment.io"],et.integrations)];case 13:eM.apply(eA,[eO.sent()]),eO.label=14;case 14:return[4,ei.register.apply(ei,eS)];case 15:if(eP=eO.sent(),!Object.entries(null!==(eh=et.enabledMiddleware)&&void 0!==eh?eh:{}).some(function(Y){return Y[1]}))return[3,17];return[4,en.e(9214).then(en.bind(en,8596)).then(function(Y){var en=Y.remoteMiddlewares;return(0,ep.mG)(ej,void 0,void 0,function(){return(0,ep.Jh)(this,function(Y){switch(Y.label){case 0:return[4,en(eP,et,ea.obfuscate)];case 1:return[2,Promise.all(Y.sent().map(function(Y){return ei.addSourceMiddleware(Y)}))]}})})})];case 16:eO.sent(),eO.label=17;case 17:return[2,eP]}})})}function nB(Y,et,en){var ei,eo,ea,eu,ec,ed,ef;return void 0===et&&(et={}),(0,ep.mG)(this,void 0,void 0,function(){var eh,em,eg,eb,ek,ew,e_,eE,eC,eT,eS;return(0,ep.Jh)(this,function(eA){switch(eA.label){case 0:if(et.globalAnalyticsKey&&(0,tp.jV)(et.globalAnalyticsKey),Y.cdnURL&&(0,ey.UH)(Y.cdnURL),!(null!==(ei=Y.cdnSettings)&&void 0!==ei))return[3,1];return em=ei,[3,3];case 1:return[4,nI(Y.writeKey,Y.cdnURL)];case 2:em=eA.sent(),eA.label=3;case 3:return eh=em,et.updateCDNSettings&&(eh=et.updateCDNSettings(eh)),eg=null===(ea=null===(eo=eh.integrations["Segment.io"])||void 0===eo?void 0:eo.retryQueue)||void 0===ea||ea,eb=(0,ep.pi)({retryQueue:eg},et),nj(ek=new tw(Y,eb)),ew=null!==(eu=Y.plugins)&&void 0!==eu?eu:[],e_=null!==(ec=Y.classicIntegrations)&&void 0!==ec?ec:[],nO.j.initRemoteMetrics(eh.metrics),nR(ek,en),[4,nF(Y.writeKey,eh,ek,eb,et,ew,e_)];case 4:if(eE=eA.sent(),eC=null!==(ed=window.location.search)&&void 0!==ed?ed:"",eT=null!==(ef=window.location.hash)&&void 0!==ef?ef:"",!(eS=eC.length?eC:eT.replace(/(?=#).*(?=\?)/,"")).includes("ajs_"))return[3,6];return[4,ek.queryString(eS).catch(console.error)];case 5:eA.sent(),eA.label=6;case 6:return ek.initialized=!0,ek.emit("initialize",Y,et),et.initialPageview&&ek.page().catch(console.error),[4,nD(ek,en)];case 7:return eA.sent(),[2,[ek,eE]]}})})}var nz=function(Y){function et(){var et=this,en=tE(),ei=en.promise,eo=en.resolve;return(et=Y.call(this,function(Y){return ei.then(function(et){return nB(et[0],et[1],Y)})})||this)._resolveLoadStart=function(Y,et){return eo([Y,et])},et}return(0,ep.ZT)(et,Y),et.prototype.load=function(Y,et){return void 0===et&&(et={}),this._resolveLoadStart(Y,et),this},et.load=function(Y,en){return void 0===en&&(en={}),new et().load(Y,en)},et.standalone=function(Y,en){return et.load({writeKey:Y},en).then(function(Y){return Y[0]})},et}(nT),nU=en(11615),nH=en(42780),nG=en(10064),nV=function(Y,et){var en={};if(en.has_paid_plan=Y.hasPaidSubscription,en.account_plan_user_role=Y.accountUserRole,en.account_plan_name=Y.subscriptionPlan,et&&Object.keys(et).length>0){var ei=!0,eo=!1,ea=void 0;try{for(var eu,ec=Object.entries(et)[Symbol.iterator]();!(ei=(eu=ec.next()).done);ei=!0){var ed=(0,nG._)(eu.value,2),ef=ed[0],eh=ed[1];en[ef]=eh}}catch(Y){eo=!0,ea=Y}finally{try{ei||null==ec.return||ec.return()}finally{if(eo)throw ea}}}return en},nW="chat.openai.com/ces",nq=nU.D0?"localhost:7009":nW,nZ=nU.D0?"http":"https",nK={writeKey:"oai",cdnURL:"".concat(nZ,"://").concat(nq)},n$=nU.D0?{}:{strategy:"batching",config:{size:10,timeout:6e3}},nY={integrations:{"Segment.io":{apiHost:"".concat(nq,"/v1"),host:"".concat(nZ,"://").concat(nq),protocol:nZ,deliveryStrategy:(0,eu._)({},n$)}}},nQ=new(function(){function Y(){(0,eh._)(this,Y),this._identified=!1,this._userFeatures=[]}var et=Y.prototype;return et.pageview=function(Y,et){this._sendProductEvent(nH.M.pageView,(0,eu._)({page:Y},et))},et.event=function(Y,et){this._sendProductEvent(Y,et)},et.publicEvent=function(Y,et){this._sendProductEvent(Y,et,!1)},et.setUser=function(Y,et,en,ei){this._userFeatures=et,nU.D0?(console.debug("Identifying user for analytics",Y.id,Y.email,Y.name),this._setUser(Y,en,ei),this._identified=!0):(this._setUser(Y,en,ei),this._identified=!0)},et._setUser=function(Y,et,en){this.getAnalytics(),null===(ei=this._analytics)||void 0===ei||ei.identify(Y.id);var ei,eo,ea=nV(et,en);null===(eo=this._analytics)||void 0===eo||eo.identify(Y.id,(0,eu._)({$email:Y.email,$user_id:Y.id,name:Y.name},ea))},et.getAnalytics=function(){if(!this._analytics){var Y=nz.load(nK,nY);this._analytics=Y}return this._analytics},et.reinitEventTrackingWithoutPersistence=function(){var Y=nz.load(nK,(0,ec._)((0,eu._)({},nY),{disableClientPersistence:!0}));this._analytics=Y},et.reinitEventTrackingWithPersistence=function(){var Y=nz.load(nK,(0,ec._)((0,eu._)({},nY),{disableClientPersistence:!1}));this._analytics=Y},et._sendProductEvent=function(Y,et){var en=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(en&&!this._identified){nU.D0&&console.warn("Ignoring ClientEventsService call that happened before user identification",Y,et);return}if(!nU.L_){nU.D0&&console.debug("Skipping local ProductEvent call:",Y,et);return}et=(0,ec._)((0,eu._)({},et),{openai_app:"API"}),this.getAnalytics().track(Y,et)},Y}()),nX={optInToTracking:function(){nQ._analytics&&nQ.reinitEventTrackingWithPersistence()},optOutOfTracking:function(){nQ._analytics&&nQ.reinitEventTrackingWithoutPersistence()},setUser:function(Y,et,en,ei){nQ.setUser(Y,et,en,ei)},logEvent:function(Y,et){nQ.event(Y,(0,ec._)((0,eu._)({},et),{origin:"chat"}))},publicEvent:function(Y,et){nQ.publicEvent(Y,(0,ec._)((0,eu._)({},et),{origin:"chat"}))}};function nJ(Y){var et=Y.allowBrowserStorage,en=Y.user,ei=Y.extraParams,eo=(0,ed.ec)(function(Y){return{subscriptionStatus:Y.subscriptionStatus,features:Y.features,currentWorkspace:Y.currentWorkspace}}),ea=eo.subscriptionStatus,eh=eo.features,ep=eo.currentWorkspace;(0,ef.useEffect)(function(){if(null!=ea&&null!=ep&&null!=en.id){var Y=(0,ec._)((0,eu._)({},ea),{accountUserRole:ep.role});nX.setUser(en,Array.from(eh),Y,ei),et?nX.optInToTracking():nX.optOutOfTracking()}},[et,null==ep?void 0:ep.id,en.id])}},85660:function(Y,et,en){"use strict";en.d(et,{b:function(){return eg},c:function(){return ei}});var ei,eo=en(51217),ea=en(53596),eu=en(66816),ec=en(49406),ed=en(96237),ef=en(44544),eh=en(11615);!function(Y){Y.Workspace="_account",Y.AgeVerification="oai-av-seen",Y.IpOverride="oai-ip-country",Y.IsEmployee="_oaiauth",Y.IsPaidUser="_puid"}(ei||(ei={}));var ep={essential:!0,analytics:!1,marketing:!1},em=new WeakMap,eg=new(function(){function Y(){var et;(0,eo._)(this,Y),(0,eu._)(this,em,{writable:!0,value:void 0}),(0,ec._)(this,em,(et={},(0,ed._)(et,ei.Workspace,{type:"essential",name:ei.Workspace}),(0,ed._)(et,ei.AgeVerification,{type:"essential",name:ei.AgeVerification}),(0,ed._)(et,ei.IsEmployee,{type:"essential",name:ei.IsEmployee}),(0,ed._)(et,ei.IsPaidUser,{type:"essential",name:ei.IsPaidUser}),(0,ed._)(et,ei.IpOverride,{type:"essential",name:ei.IpOverride}),et)),this.allowedCookies=ep}var et=Y.prototype;return et.updateCookieAccess=function(Y,et){this.allowedCookies[Y]=et,!1===et&&this.clearCookiesOfType(Y)},et.clearCookiesOfType=function(Y){Object.values((0,ea._)(this,em)).forEach(function(et){et.type===Y&&(0,ef.deleteCookie)(et.name)})},et.clearAllNonessentialCookies=function(){Object.values((0,ea._)(this,em)).forEach(function(Y){"essential"!==Y.type&&(0,ef.deleteCookie)(Y.name)})},et.getCookie=function(Y){var et=(0,ea._)(this,em)[Y];if(null!=et){if(this.allowedCookies[et.type])return(0,ef.getCookie)(et.name);(0,ef.deleteCookie)(et.name)}},et.getBackendCookie=function(Y,et,en){var ei=(0,ea._)(this,em)[Y];if(null!=ei){if("essential"===ei.type||en){if(en&&en[ei.type]||"essential"===ei.type)return(0,ef.getCookie)(ei.name,et)}else if(eh.D0)throw Error("Setting non-essential cookie ".concat(ei.name," on server side without providing user cookie consent preferences (allowedCookies) is not allowed"))}},et.setCookie=function(Y,et,en){var ei=(0,ea._)(this,em)[Y];null!=ei&&(this.allowedCookies[ei.type]?(0,ef.setCookie)(ei.name,et,en):(0,ef.deleteCookie)(ei.name))},et.setBackendCookie=function(Y,et,en,ei){var eo=(0,ea._)(this,em)[Y];if(null!=eo){if("essential"===eo.type||ei){if(ei&&ei[eo.type]||"essential"===eo.type)return(0,ef.setCookie)(eo.name,et,en)}else if(eh.D0)throw Error("Setting non-essential cookie ".concat(eo.name," on server side without providing user cookie consent preferences (allowedCookies) is not allowed"))}},et.deleteCookie=function(Y){var et=(0,ea._)(this,em)[Y];(0,ef.deleteCookie)(et.name)},Y}())},38574:function(Y,et,en){"use strict";en.d(et,{S:function(){return ea}});var ei=en(72290);function eo(){ei.m.danger("Failed to copy to clipboard.",{duration:4,hasCloseButton:!0})}function ea(Y){return new Promise(function(et,en){if("undefined"==typeof navigator||!navigator.clipboard)return eo(),en();try{navigator.clipboard.writeText(Y)}catch(Y){return eo(),en()}return et("success")})}},42918:function(Y,et,en){"use strict";en.d(et,{U:function(){return fY}});var ei,eo,ea,eu,ec,ed,ef,eh,ep,em,eg,ey,eb,ek,ew,e_,eE,eC,eT,eS,eA,eM,eP,ej,eO,eI=en(51217),eN=en(53596),eL=en(66816),eR=en(49406),eD=en(39324),eF=en(10064),eB={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},ez=function(Y){for(var et=[],en=1;en<arguments.length;en++)et[en-1]=arguments[en];Object.prototype.hasOwnProperty.call(eB,Y)||(Y=eB.log),ez[Y].apply(ez,et)},eU=console;function eH(Y,et){return function(){for(var en=[],ei=0;ei<arguments.length;ei++)en[ei]=arguments[ei];try{return Y.apply(void 0,en)}catch(Y){ez.error(et,Y)}}}ez.debug=eU.debug.bind(eU),ez.log=eU.log.bind(eU),ez.info=eU.info.bind(eU),ez.warn=eU.warn.bind(eU),ez.error=eU.error.bind(eU);var eG=function(Y,et,en){if(en||2==arguments.length)for(var ei,eo=0,ea=et.length;eo<ea;eo++)!ei&&eo in et||(ei||(ei=Array.prototype.slice.call(et,0,eo)),ei[eo]=et[eo]);return Y.concat(ei||Array.prototype.slice.call(et))},eV=!1;function eW(Y){ei=Y}function eZ(Y){eV=Y}function eK(Y){return function(){return e$(Y,this,arguments)}}function e$(Y,et,en){try{return Y.apply(et,en)}catch(Y){if(eY(eB.error,Y),ei)try{ei(Y)}catch(Y){eY(eB.error,Y)}}}function eY(Y){for(var et=[],en=1;en<arguments.length;en++)et[en-1]=arguments[en];eV&&ez.apply(void 0,eG([Y,"[MONITOR]"],et,!1))}function eQ(Y,et){return -1!==Y.indexOf(et)}function eX(Y){if(Array.from)return Array.from(Y);var et=[];if(Y instanceof Set)Y.forEach(function(Y){return et.push(Y)});else for(var en=0;en<Y.length;en++)et.push(Y[en]);return et}function eJ(Y,et){for(var en=0;en<Y.length;en+=1){var ei=Y[en];if(et(ei,en))return ei}}function e0(Y,et){for(var en=Y.length-1;en>=0;en-=1){var ei=Y[en];if(et(ei,en,Y))return ei}}function e9(Y,et){Array.prototype.forEach.call(Y,et)}function e5(Y){return Object.keys(Y).map(function(et){return Y[et]})}function e4(Y){return Object.keys(Y).map(function(et){return[et,Y[et]]})}function e3(Y,et){return Y.slice(0,et.length)===et}function e6(Y,et){return Y.slice(-et.length)===et}function e7(Y,et){return Y.matches?Y.matches(et):!!Y.msMatchesSelector&&Y.msMatchesSelector(et)}function e8(Y){return window.CSS&&window.CSS.escape?window.CSS.escape(Y):Y.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(Y,et){return et?"\x00"===Y?"<22>":"".concat(Y.slice(0,-1),"\\").concat(Y.charCodeAt(Y.length-1).toString(16)," "):"\\".concat(Y)})}function tt(Y){for(var et=[],en=1;en<arguments.length;en++)et[en-1]=arguments[en];return et.forEach(function(et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])}),Y}function ta(Y){var et=tt({version:"4.42.2",onReady:function(Y){Y()}},Y);return Object.defineProperty(et,"_setDebug",{get:function(){return eZ},enumerable:!1}),et}function tu(Y,et,en){var ei=Y[et];Y[et]=en,ei&&ei.q&&ei.q.forEach(function(Y){return eH(Y,"onReady callback threw an error:")()})}function tc(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var Y=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof Y&&(Y="object"==typeof self?self:"object"==typeof window?window:{}),Y}var td=1024,tf=1048576,th=/[^\u0000-\u007F]/;function tp(Y){return th.test(Y)?void 0!==window.TextEncoder?new TextEncoder().encode(Y).length:new Blob([Y]).size:Y.length}function tm(Y,et){var en,ei=tc();return ei.Zone&&"function"==typeof ei.Zone.__symbol__&&(en=Y[ei.Zone.__symbol__(et)]),en||(en=Y[et]),en}function tg(Y,et){return tm(tc(),"setTimeout")(eK(Y),et)}function tv(Y){tm(tc(),"clearTimeout")(Y)}function tb(Y,et){return tm(window,"setInterval")(eK(Y),et)}function tk(Y){tm(window,"clearInterval")(Y)}function tw(Y,et,en){var ei,eo,ea=!en||void 0===en.leading||en.leading,eu=!en||void 0===en.trailing||en.trailing,ec=!1;return{throttled:function(){for(var en=[],ed=0;ed<arguments.length;ed++)en[ed]=arguments[ed];if(ec){ei=en;return}ea?Y.apply(void 0,en):ei=en,ec=!0,eo=tg(function(){eu&&ei&&Y.apply(void 0,ei),ec=!1,ei=void 0},et)},cancel:function(){tv(eo),ec=!1,ei=void 0}}}function t_(){}function tE(Y){return null===Y?"null":Array.isArray(Y)?"array":typeof Y}function tC(Y,et,en){if(void 0===en&&(en=tA()),void 0===et)return Y;if("object"!=typeof et||null===et)return et;if(et instanceof Date)return new Date(et.getTime());if(et instanceof RegExp){var ei=et.flags||[et.global?"g":"",et.ignoreCase?"i":"",et.multiline?"m":"",et.sticky?"y":"",et.unicode?"u":""].join("");return new RegExp(et.source,ei)}if(!en.hasAlreadyBeenSeen(et)){if(Array.isArray(et)){for(var eo=Array.isArray(Y)?Y:[],ea=0;ea<et.length;++ea)eo[ea]=tC(eo[ea],et[ea],en);return eo}var eu="object"===tE(Y)?Y:{};for(var ec in et)Object.prototype.hasOwnProperty.call(et,ec)&&(eu[ec]=tC(eu[ec],et[ec],en));return eu}}function tT(Y){return tC(void 0,Y)}function tS(){for(var Y,et=[],en=0;en<arguments.length;en++)et[en]=arguments[en];for(var ei=0,eo=et;ei<eo.length;ei++){var ea=eo[ei];null!=ea&&(Y=tC(Y,ea))}return Y}function tA(){if("undefined"!=typeof WeakSet){var Y=new WeakSet;return{hasAlreadyBeenSeen:function(et){var en=Y.has(et);return en||Y.add(et),en}}}var et=[];return{hasAlreadyBeenSeen:function(Y){var en=et.indexOf(Y)>=0;return en||et.push(Y),en}}}function tM(Y,et,en){if("object"!=typeof Y||null===Y)return JSON.stringify(Y);var ei=tP(Object.prototype),eo=tP(Array.prototype),ea=tP(Object.getPrototypeOf(Y)),eu=tP(Y);try{return JSON.stringify(Y,et,en)}catch(Y){return"<error: unable to serialize object>"}finally{ei(),eo(),ea(),eu()}}function tP(Y){var et=Y,en=et.toJSON;return en?(delete et.toJSON,function(){et.toJSON=en}):t_}var tj=225280,tO="$",tI=3;function tN(Y,et){void 0===et&&(et=tj);var en,ei=tP(Object.prototype),eo=tP(Array.prototype),ea=[],eu=new WeakMap,ec=tL(Y,tO,void 0,ea,eu),ed=(null===(en=JSON.stringify(ec))||void 0===en?void 0:en.length)||0;if(ed>et){tB(et,"discarded",Y);return}for(;ea.length>0&&ed<et;){var ef=ea.shift(),eh=0;if(Array.isArray(ef.source))for(var ep=0;ep<ef.source.length;ep++){var em=tL(ef.source[ep],ef.path,ep,ea,eu);if(void 0!==em?ed+=JSON.stringify(em).length:ed+=4,ed+=eh,eh=1,ed>et){tB(et,"truncated",Y);break}ef.target[ep]=em}else for(var ep in ef.source)if(Object.prototype.hasOwnProperty.call(ef.source,ep)){var em=tL(ef.source[ep],ef.path,ep,ea,eu);if(void 0!==em&&(ed+=JSON.stringify(em).length+eh+ep.length+tI,eh=1),ed>et){tB(et,"truncated",Y);break}ef.target[ep]=em}}return ei(),eo(),ec}function tL(Y,et,en,ei,eo){var ea=tF(Y);if(!ea||"object"!=typeof ea)return tR(ea);var eu=tD(ea);if("[Object]"!==eu&&"[Array]"!==eu&&"[Error]"!==eu)return eu;var ec=Y;if(eo.has(ec))return"[Reference seen at ".concat(eo.get(ec),"]");var ed=void 0!==en?"".concat(et,".").concat(en):et,ef=Array.isArray(ea)?[]:{};return eo.set(ec,ed),ei.push({source:ea,target:ef,path:ed}),ef}function tR(Y){return"bigint"==typeof Y?"[BigInt] ".concat(Y.toString()):"function"==typeof Y?"[Function] ".concat(Y.name||"unknown"):"symbol"==typeof Y?"[Symbol] ".concat(Y.description||Y.toString()):Y}function tD(Y){try{if(Y instanceof Event)return{isTrusted:Y.isTrusted};var et=Object.prototype.toString.call(Y).match(/\[object (.*)\]/);if(et&&et[1])return"[".concat(et[1],"]")}catch(Y){}return"[Unserializable]"}function tF(Y){var et=Y;if(et&&"function"==typeof et.toJSON)try{return et.toJSON()}catch(Y){}return Y}function tB(Y,et,en){ez.warn("The data provided has been ".concat(et," as it is over the limit of ").concat(Y," characters:"),en)}var tU=3072;function tH(Y,et){return Y>tU&&(ez.warn("The ".concat(et," data is over ").concat(tU/td,"KiB. On low connectivity, the SDK has the potential to exhaust the user's upload bandwidth.")),!0)}var tG=200;function tV(Y,et){void 0===et&&(et=tp);var en,ei={},eo=!1,ea=tw(function(ei){en=et(tM(ei)),eo||(eo=tH(en,Y))},tG).throttled;return{getBytesCount:function(){return en},get:function(){return ei},add:function(Y,et){ei[Y]=et,ea(ei)},remove:function(Y){delete ei[Y],ea(ei)},set:function(Y){ea(ei=Y)},getContext:function(){return tT(ei)},setContext:function(Y){ea(ei=tN(Y))},setContextProperty:function(Y,et){ei[Y]=tN(et),ea(ei)},removeContextProperty:function(Y){delete ei[Y],ea(ei)},clearContext:function(){ei={},en=0}}}var tW=500,tq=function(){function Y(){this.buffer=[]}return Y.prototype.add=function(Y){this.buffer.push(Y)>tW&&this.buffer.splice(0,1)},Y.prototype.drain=function(){this.buffer.forEach(function(Y){return Y()}),this.buffer.length=0},Y}();function tZ(Y){return 0!==Y&&100*Math.random()<=Y}function tK(Y,et){return+Y.toFixed(et)}function t$(Y){return tY(Y)&&Y>=0&&Y<=100}function tY(Y){return"number"==typeof Y}var tQ=1e3,tX=6e4,tJ=36e5,t9=31536e6;function t5(Y){return{relative:Y,timeStamp:t4(Y)}}function t4(Y){var et=t7()-performance.now();return et>np()?Math.round(nu(et,Y)):nf(Y)}function t3(){return Math.round(t7()-nu(np(),performance.now()))}function t6(Y){return tY(Y)?tK(1e6*Y,0):Y}function t7(){return new Date().getTime()}function t8(){return t7()}function nt(){return performance.now()}function nn(){return{relative:nt(),timeStamp:t8()}}function ni(){return{relative:0,timeStamp:np()}}function na(Y,et){return et-Y}function nu(Y,et){return Y+et}function nd(Y){return Y-np()}function nf(Y){return Math.round(nu(np(),Y))}function nh(Y){return Y<t9}function np(){return void 0===eo&&(eo=performance.timing.navigationStart),eo}function ng(Y){return Y?(parseInt(Y,10)^16*Math.random()>>parseInt(Y,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,ng)}function nv(Y,et){var en=new RegExp("(?:^|;)\\s*".concat(et,"\\s*=\\s*([^;]+)")).exec(Y);return en?en[1]:void 0}function ny(Y,et,en){void 0===en&&(en="");var ei=Y.charCodeAt(et-1),eo=ei>=55296&&ei<=56319?et+1:et;return Y.length<=eo?Y:"".concat(Y.slice(0,eo)).concat(en)}var nb=1e3;function nx(Y,et,en,ei){var eo=new Date;eo.setTime(eo.getTime()+en);var ea="expires=".concat(eo.toUTCString()),eu=ei&&ei.crossSite?"none":"strict",ec=ei&&ei.domain?";domain=".concat(ei.domain):"",ed=ei&&ei.secure?";secure":"";document.cookie="".concat(Y,"=").concat(et,";").concat(ea,";path=/;samesite=").concat(eu).concat(ec).concat(ed)}function nk(Y){return nv(document.cookie,Y)}function nw(Y,et){nx(Y,"",0,et)}function n_(Y){if(void 0===document.cookie||null===document.cookie)return!1;try{var et="dd_cookie_test_".concat(ng()),en="test";nx(et,en,tX,Y);var ei=nk(et)===en;return nw(et,Y),ei}catch(Y){return ez.error(Y),!1}}function nE(){if(void 0===ea){for(var Y="dd_site_test_".concat(ng()),et="test",en=window.location.hostname.split("."),ei=en.pop();en.length&&!nk(Y);)nx(Y,et,tQ,{domain:ei="".concat(en.pop(),".").concat(ei)});nw(Y,{domain:ei}),ea=ei}return ea}var nC="datadog-synthetics-public-id",nT="datadog-synthetics-result-id",nS="datadog-synthetics-injects-rum";function nA(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||nk(nS))}function nM(){var Y=window._DATADOG_SYNTHETICS_PUBLIC_ID||nk(nC);return"string"==typeof Y?Y:void 0}function nP(){var Y=window._DATADOG_SYNTHETICS_RESULT_ID||nk(nT);return"string"==typeof Y?Y:void 0}function nj(){var Y=nI();if(Y)return{getAllowedWebViewHosts:function(){return JSON.parse(Y.getAllowedWebViewHosts())},send:function(et,en){Y.send(JSON.stringify({eventType:et,event:en}))}}}function nO(Y){void 0===Y&&(Y=null===(et=tc().location)||void 0===et?void 0:et.hostname);var et,en=nj();return!!en&&en.getAllowedWebViewHosts().some(function(et){return Y===et||e6(Y,".".concat(et))})}function nI(){return tc().DatadogEventBridge}var nN="?";function nL(Y){var et=[],en=nK(Y,"stack"),ei=String(Y);return en&&e3(en,ei)&&(en=en.slice(ei.length)),en&&en.split("\n").forEach(function(Y){var en=nz(Y)||nH(Y)||nV(Y)||nZ(Y);en&&(!en.func&&en.line&&(en.func=nN),et.push(en))}),{message:nK(Y,"message"),name:nK(Y,"name"),stack:et}}var nR="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",nD="(?::(\\d+))",nF=RegExp("^\\s*at (.*?) ?\\(".concat(nR).concat(nD,"?").concat(nD,"?\\)?\\s*$"),"i"),nB=new RegExp("\\((\\S*)".concat(nD).concat(nD,"\\)"));function nz(Y){var et=nF.exec(Y);if(et){var en=et[2]&&0===et[2].indexOf("native"),ei=et[2]&&0===et[2].indexOf("eval"),eo=nB.exec(et[2]);return ei&&eo&&(et[2]=eo[1],et[3]=eo[2],et[4]=eo[3]),{args:en?[et[2]]:[],column:et[4]?+et[4]:void 0,func:et[1]||nN,line:et[3]?+et[3]:void 0,url:en?void 0:et[2]}}}var nU=RegExp("^\\s*at ?".concat(nR).concat(nD,"?").concat(nD,"??\\s*$"),"i");function nH(Y){var et=nU.exec(Y);if(et)return{args:[],column:et[3]?+et[3]:void 0,func:nN,line:et[2]?+et[2]:void 0,url:et[1]}}var nG=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function nV(Y){var et=nG.exec(Y);if(et)return{args:[],column:et[4]?+et[4]:void 0,func:et[1]||nN,line:+et[3],url:et[2]}}var nW=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,nq=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function nZ(Y){var et=nW.exec(Y);if(et){var en=et[3]&&et[3].indexOf(" > eval")>-1,ei=nq.exec(et[3]);return en&&ei&&(et[3]=ei[1],et[4]=ei[2],et[5]=void 0),{args:et[2]?et[2].split(","):[],column:et[5]?+et[5]:void 0,func:et[1]||nN,line:et[4]?+et[4]:void 0,url:et[3]}}}function nK(Y,et){if("object"==typeof Y&&Y&&et in Y){var en=Y[et];return"string"==typeof en?en:void 0}}var n$="No stack, consider using an instance of Error";function nY(Y){var et=Y.stackTrace,en=Y.originalError,ei=Y.handlingStack,eo=Y.startClocks,ea=Y.nonErrorPrefix,eu=Y.source,ec=Y.handling,ed=en instanceof Error,ef=nQ(et,ed,ea,en),eh=nX(ed,et)?n0(et):n$,ep=ed?n4(en,eu):void 0,em=null==et?void 0:et.name,eg=nJ(en);return{startClocks:eo,source:eu,handling:ec,handlingStack:ei,originalError:en,type:em,message:ef,stack:eh,causes:ep,fingerprint:eg}}function nQ(Y,et,en,ei){return(null==Y?void 0:Y.message)&&(null==Y?void 0:Y.name)?Y.message:et?"Empty message":"".concat(en," ").concat(tM(tN(ei)))}function nX(Y,et){return void 0!==et&&(!!Y||et.stack.length>0&&(et.stack.length>1||void 0!==et.stack[0].url))}function nJ(Y){return Y instanceof Error&&"dd_fingerprint"in Y?String(Y.dd_fingerprint):void 0}function n0(Y){var et=n9(Y);return Y.stack.forEach(function(Y){var en="?"===Y.func?"<anonymous>":Y.func,ei=Y.args&&Y.args.length>0?"(".concat(Y.args.join(", "),")"):"",eo=Y.line?":".concat(Y.line):"",ea=Y.line&&Y.column?":".concat(Y.column):"";et+="\n at ".concat(en).concat(ei," @ ").concat(Y.url).concat(eo).concat(ea)}),et}function n9(Y){return"".concat(Y.name||"Error",": ").concat(Y.message)}function n5(){var Y,et=2,en=Error();if(!en.stack)try{throw en}catch(Y){}return e$(function(){var ei=nL(en);ei.stack=ei.stack.slice(et),Y=n0(ei)}),Y}function n4(Y,et){for(var en=Y,ei=[];(null==en?void 0:en.cause)instanceof Error&&ei.length<10;){var eo=nL(en.cause);ei.push({message:en.cause.message,source:et,type:null==eo?void 0:eo.name,stack:eo&&n0(eo)}),en=en.cause}return ei.length?ei:void 0}function n3(Y){var et=tt({},Y);return["id","name","email"].forEach(function(Y){Y in et&&(et[Y]=String(et[Y]))}),et}function n6(Y){var et="object"===tE(Y);return et||ez.error("Unsupported user:",Y),et}!function(Y){Y.PAGEHIDE="pagehide",Y.FEATURE_FLAGS="feature_flags",Y.RESOURCE_PAGE_STATES="resource_page_states",Y.COLLECT_FLUSH_REASON="collect_flush_reason"}(eu||(eu={}));var n7=new Set;function n8(Y){Y.forEach(function(Y){n7.add(Y)})}function rn(Y){return n7.has(Y)}function rr(){return n7}function ri(Y){return tt({},Y)}function ro(Y,et){return Object.keys(Y).some(function(en){return Y[en]===et})}function ra(Y){return 0===Object.keys(Y).length}function rs(Y,et){for(var en={},ei=0,eo=Object.keys(Y);ei<eo.length;ei++){var ea=eo[ei];en[ea]=et(Y[ea])}return en}function rl(Y){return rp(Y,rv()).href}function ru(Y){try{return!!rp(Y)}catch(Y){return!1}}function rc(Y){return ry(rp(Y))}function rh(Y){var et=rp(Y).pathname;return"/"===et[0]?et:"/".concat(et)}function rp(Y,et){var en=rg();if(en)try{return void 0!==et?new en(Y,et):new en(Y)}catch(en){throw Error("Failed to construct URL: ".concat(String(en)," ").concat(tM({url:Y,base:et})))}if(void 0===et&&!/:/.test(Y))throw Error("Invalid URL: '".concat(Y,"'"));var ei=document,eo=ei.createElement("a");if(void 0!==et){var ea=(ei=document.implementation.createHTMLDocument("")).createElement("base");ea.href=et,ei.head.appendChild(ea),ei.body.appendChild(eo)}return eo.href=Y,eo}var rm=URL;function rg(){if(void 0===ec)try{var Y=new rm("http://test/path");ec="http://test/path"===Y.href}catch(Y){ec=!1}return ec?rm:void 0}function rv(){return ry(window.location)}function ry(Y){if(Y.origin)return Y.origin;var et=Y.host.replace(/(:80|:443)$/,"");return"".concat(Y.protocol,"//").concat(et)}var rb="datad0g.com",rk="datadoghq.com",r_="datadoghq.eu",rE="ap1.datadoghq.com",rC="ddog-gov.com",rT={logs:"logs",rum:"rum",sessionReplay:"session-replay"},rS={logs:"logs",rum:"rum",sessionReplay:"replay"};function rA(Y,et,en){var ei=rM(Y,et);return{build:function(eo,ea,eu){return ei(rj(Y,et,en,eo,ea,eu))},urlPrefix:ei(""),endpointType:et}}function rM(Y,et){var en="/api/v2/".concat(rS[et]),ei=Y.proxy,eo=Y.proxyUrl;if(ei){var ea=rl(ei);return function(Y){return"".concat(ea,"?ddforward=").concat(encodeURIComponent("".concat(en,"?").concat(Y)))}}var eu=rP(Y,et);if(void 0===ei&&eo){var ec=rl(eo);return function(Y){return"".concat(ec,"?ddforward=").concat(encodeURIComponent("https://".concat(eu).concat(en,"?").concat(Y)))}}return function(Y){return"https://".concat(eu).concat(en,"?").concat(Y)}}function rP(Y,et){var en=Y.site,ei=void 0===en?rk:en,eo=Y.internalAnalyticsSubdomain;if(eo&&ei===rk)return"".concat(eo,".").concat(rk);var ea=ei.split("."),eu=ea.pop(),ec=ei!==rE?"".concat(rT[et],"."):"";return"".concat(ec,"browser-intake-").concat(ea.join("-"),".").concat(eu)}function rj(Y,et,en,ei,eo,ea){var ec=Y.clientToken,ed=Y.internalAnalyticsSubdomain,ef=["sdk_version:".concat("4.42.2"),"api:".concat(ei)].concat(en);eo&&rn(eu.COLLECT_FLUSH_REASON)&&ef.push("flush_reason:".concat(eo)),ea&&ef.push("retry_count:".concat(ea.count),"retry_after:".concat(ea.lastFailureStatus));var eh=["ddsource=browser","ddtags=".concat(encodeURIComponent(ef.join(","))),"dd-api-key=".concat(ec),"dd-evp-origin-version=".concat(encodeURIComponent("4.42.2")),"dd-evp-origin=browser","dd-request-id=".concat(ng())];return"rum"===et&&eh.push("batch_time=".concat(t8())),ed&&eh.reverse(),eh.join("&")}var rO=200;function rI(Y){var et=Y.env,en=Y.service,ei=Y.version,eo=Y.datacenter,ea=[];return et&&ea.push(rL("env",et)),en&&ea.push(rL("service",en)),ei&&ea.push(rL("version",ei)),eo&&ea.push(rL("datacenter",eo)),ea}var rN=/[^a-z0-9_:./-]/;function rL(Y,et){var en=rO-Y.length-1;(et.length>en||rN.test(et))&&ez.warn("".concat(Y," value doesn't meet tag requirements and will be sanitized"));var ei=et.replace(/,/g,"_");return"".concat(Y,":").concat(ei)}function rR(Y){var et=rI(Y),en=rD(Y,et),ei=e5(en).map(function(Y){return Y.urlPrefix});return tt({isIntakeUrl:function(Y){return ei.some(function(et){return 0===Y.indexOf(et)})},replica:rF(Y,ei,et),site:Y.site||rk},en)}function rD(Y,et){return{logsEndpointBuilder:rA(Y,"logs",et),rumEndpointBuilder:rA(Y,"rum",et),sessionReplayEndpointBuilder:rA(Y,"sessionReplay",et)}}function rF(Y,et,en){if(Y.replica){var ei=tt({},Y,{site:rk,clientToken:Y.replica.clientToken}),eo={logsEndpointBuilder:rA(ei,"logs",en),rumEndpointBuilder:rA(ei,"rum",en)};return et.push.apply(et,e5(eo).map(function(Y){return Y.urlPrefix})),tt({applicationId:Y.replica.applicationId},eo)}}var rB={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function rz(Y){if(!Y||!Y.clientToken){ez.error("Client Token is not configured, we will not send any data.");return}var et,en,ei,eo=null!==(et=Y.sessionSampleRate)&&void 0!==et?et:Y.sampleRate;if(void 0!==eo&&!t$(eo)){ez.error("Session Sample Rate should be a number between 0 and 100");return}if(void 0!==Y.telemetrySampleRate&&!t$(Y.telemetrySampleRate)){ez.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(void 0!==Y.telemetryConfigurationSampleRate&&!t$(Y.telemetryConfigurationSampleRate)){ez.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}return Array.isArray(Y.enableExperimentalFeatures)&&n8(Y.enableExperimentalFeatures.filter(function(Y){return ro(eu,Y)})),tt({beforeSend:Y.beforeSend&&eH(Y.beforeSend,"beforeSend threw an error:"),cookieOptions:rU(Y),sessionSampleRate:null!=eo?eo:100,telemetrySampleRate:null!==(en=Y.telemetrySampleRate)&&void 0!==en?en:20,telemetryConfigurationSampleRate:null!==(ei=Y.telemetryConfigurationSampleRate)&&void 0!==ei?ei:5,service:Y.service,silentMultipleInit:!!Y.silentMultipleInit,batchBytesLimit:16*td,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*tQ,batchMessagesLimit:50,messageBytesLimit:256*td},rR(Y))}function rU(Y){var et={};return et.secure=rH(Y),et.crossSite=!!Y.useCrossSiteSessionCookie,Y.trackSessionAcrossSubdomains&&(et.domain=nE()),et}function rH(Y){return!!Y.useSecureSessionCookie||!!Y.useCrossSiteSessionCookie}function rG(Y){var et,en,ei=null!==(et=Y.proxy)&&void 0!==et?et:Y.proxyUrl;return{session_sample_rate:null!==(en=Y.sessionSampleRate)&&void 0!==en?en:Y.sampleRate,telemetry_sample_rate:Y.telemetrySampleRate,telemetry_configuration_sample_rate:Y.telemetryConfigurationSampleRate,use_before_send:!!Y.beforeSend,use_cross_site_session_cookie:Y.useCrossSiteSessionCookie,use_secure_session_cookie:Y.useSecureSessionCookie,use_proxy:void 0!==ei?!!ei:void 0,silent_multiple_init:Y.silentMultipleInit,track_session_across_subdomains:Y.trackSessionAcrossSubdomains,track_resources:Y.trackResources,track_long_task:Y.trackLongTasks}}function rV(Y){var et=tE(Y);return"string"===et||"function"===et||Y instanceof RegExp}function rW(Y,et,en){return void 0===en&&(en=!1),Y.some(function(Y){try{if("function"==typeof Y)return Y(et);if(Y instanceof RegExp)return Y.test(et);if("string"==typeof Y)return en?e3(et,Y):Y===et}catch(Y){ez.error(Y)}return!1})}function rq(Y){var et=Y;return"object"===tE(et)&&rV(et.match)&&Array.isArray(et.propagatorTypes)}function rZ(Y){0!==Y.status||Y.isAborted||(Y.traceId=void 0,Y.spanId=void 0,Y.traceSampled=void 0)}function rK(Y,et){return{clearTracingIfNeeded:rZ,traceFetch:function(en){return r$(Y,en,et,function(Y){var et;if(en.input instanceof Request&&!(null===(et=en.init)||void 0===et?void 0:et.headers))en.input=new Request(en.input),Object.keys(Y).forEach(function(et){en.input.headers.append(et,Y[et])});else{en.init=ri(en.init);var ei=[];en.init.headers instanceof Headers?en.init.headers.forEach(function(Y,et){ei.push([et,Y])}):Array.isArray(en.init.headers)?en.init.headers.forEach(function(Y){ei.push(Y)}):en.init.headers&&Object.keys(en.init.headers).forEach(function(Y){ei.push([Y,en.init.headers[Y]])}),en.init.headers=ei.concat(e4(Y))}})},traceXhr:function(en,ei){return r$(Y,en,et,function(Y){Object.keys(Y).forEach(function(et){ei.setRequestHeader(et,Y[et])})})}}}function r$(Y,et,en,ei){if(rY()&&en.findTrackedSession()){var eo=eJ(Y.allowedTracingUrls,function(Y){return rW([Y.match],et.url,!0)});eo&&(et.traceId=new rJ,et.spanId=new rJ,et.traceSampled=!tY(Y.traceSampleRate)||tZ(Y.traceSampleRate),ei(rX(et.traceId,et.spanId,et.traceSampled,eo.propagatorTypes)))}}function rY(){return void 0!==rQ()}function rQ(){return window.crypto||window.msCrypto}function rX(Y,et,en,ei){var eo={};return ei.forEach(function(ei){switch(ei){case"datadog":tt(eo,{"x-datadog-origin":"rum","x-datadog-parent-id":et.toDecimalString(),"x-datadog-sampling-priority":en?"1":"0","x-datadog-trace-id":Y.toDecimalString()});break;case"tracecontext":tt(eo,{traceparent:"00-0000000000000000".concat(Y.toPaddedHexadecimalString(),"-").concat(et.toPaddedHexadecimalString(),"-0").concat(en?"1":"0")});break;case"b3":tt(eo,{b3:"".concat(Y.toPaddedHexadecimalString(),"-").concat(et.toPaddedHexadecimalString(),"-").concat(en?"1":"0")});break;case"b3multi":tt(eo,{"X-B3-TraceId":Y.toPaddedHexadecimalString(),"X-B3-SpanId":et.toPaddedHexadecimalString(),"X-B3-Sampled":en?"1":"0"})}}),eo}var rJ=function(){function Y(){this.buffer=new Uint8Array(8),rQ().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return Y.prototype.toString=function(Y){var et=this.readInt32(0),en=this.readInt32(4),ei="";do{var eo=et%Y*4294967296+en;et=Math.floor(et/Y),en=Math.floor(eo/Y),ei=(eo%Y).toString(Y)+ei}while(et||en);return ei},Y.prototype.toDecimalString=function(){return this.toString(10)},Y.prototype.toPaddedHexadecimalString=function(){var Y=this.toString(16);return Array(17-Y.length).join("0")+Y},Y.prototype.readInt32=function(Y){return 16777216*this.buffer[Y]+(this.buffer[Y+1]<<16)+(this.buffer[Y+2]<<8)+this.buffer[Y+3]},Y}();function r0(Y){if(!Y.applicationId){ez.error("Application ID is not configured, no RUM data will be collected.");return}if(void 0!==Y.sessionReplaySampleRate&&!t$(Y.sessionReplaySampleRate)){ez.error("Session Replay Sample Rate should be a number between 0 and 100");return}var et,en,ei,eo,ea,eu,ec=null!==(et=Y.premiumSampleRate)&&void 0!==et?et:Y.replaySampleRate;if(void 0!==ec&&void 0!==Y.sessionReplaySampleRate&&(ez.warn("Ignoring Premium Sample Rate because Session Replay Sample Rate is set"),ec=void 0),void 0!==ec&&!t$(ec)){ez.error("Premium Sample Rate should be a number between 0 and 100");return}var ed=null!==(en=Y.traceSampleRate)&&void 0!==en?en:Y.tracingSampleRate;if(void 0!==ed&&!t$(ed)){ez.error("Trace Sample Rate should be a number between 0 and 100");return}if(void 0!==Y.excludedActivityUrls&&!Array.isArray(Y.excludedActivityUrls)){ez.error("Excluded Activity Urls should be an array");return}var ef=r1(Y);if(ef){var eh=rz(Y);if(eh){var ep=!!(null!==(ei=Y.trackUserInteractions)&&void 0!==ei?ei:Y.trackInteractions),em=!!Y.trackFrustrations;return tt({applicationId:Y.applicationId,version:Y.version,actionNameAttribute:Y.actionNameAttribute,sessionReplaySampleRate:null!==(ea=null!==(eo=Y.sessionReplaySampleRate)&&void 0!==eo?eo:ec)&&void 0!==ea?ea:100,oldPlansBehavior:void 0===Y.sessionReplaySampleRate,traceSampleRate:ed,allowedTracingUrls:ef,excludedActivityUrls:null!==(eu=Y.excludedActivityUrls)&&void 0!==eu?eu:[],trackUserInteractions:ep||em,trackFrustrations:em,trackViewsManually:!!Y.trackViewsManually,trackResources:Y.trackResources,trackLongTasks:Y.trackLongTasks,subdomain:Y.subdomain,defaultPrivacyLevel:ro(rB,Y.defaultPrivacyLevel)?Y.defaultPrivacyLevel:rB.MASK_USER_INPUT,customerDataTelemetrySampleRate:1},eh)}}}function r1(Y){if(void 0!==Y.allowedTracingUrls&&void 0!==Y.allowedTracingOrigins&&ez.warn("Both allowedTracingUrls and allowedTracingOrigins (deprecated) have been defined. The parameter allowedTracingUrls will override allowedTracingOrigins."),void 0!==Y.allowedTracingUrls){if(!Array.isArray(Y.allowedTracingUrls)){ez.error("Allowed Tracing URLs should be an array");return}if(0!==Y.allowedTracingUrls.length&&void 0===Y.service){ez.error("Service needs to be configured when tracing is enabled");return}var et=[];return Y.allowedTracingUrls.forEach(function(Y){rV(Y)?et.push({match:Y,propagatorTypes:["datadog"]}):rq(Y)?et.push(Y):ez.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",Y)}),et}if(void 0!==Y.allowedTracingOrigins){if(!Array.isArray(Y.allowedTracingOrigins)){ez.error("Allowed Tracing Origins should be an array");return}if(0!==Y.allowedTracingOrigins.length&&void 0===Y.service){ez.error("Service needs to be configured when tracing is enabled");return}var en=[];return Y.allowedTracingOrigins.forEach(function(Y){var et=r2(Y);et&&en.push(et)}),en}return[]}function r2(Y){var et;if("string"==typeof Y?et=Y:Y instanceof RegExp?et=function(et){return Y.test(rc(et))}:"function"==typeof Y&&(et=function(et){return Y(rc(et))}),void 0===et){ez.warn("Allowed Tracing Origins parameters should be a string, RegExp or function. Ignoring parameter",Y);return}return{match:et,propagatorTypes:["datadog"]}}function r9(Y){var et=new Set;return Array.isArray(Y.allowedTracingUrls)&&Y.allowedTracingUrls.length>0&&Y.allowedTracingUrls.forEach(function(Y){rV(Y)?et.add("datadog"):"object"===tE(Y)&&Array.isArray(Y.propagatorTypes)&&Y.propagatorTypes.forEach(function(Y){return et.add(Y)})}),Array.isArray(Y.allowedTracingOrigins)&&Y.allowedTracingOrigins.length>0&&et.add("datadog"),eX(et)}function r5(Y){var et,en,ei=rG(Y);return tt({premium_sample_rate:Y.premiumSampleRate,replay_sample_rate:Y.replaySampleRate,session_replay_sample_rate:Y.sessionReplaySampleRate,trace_sample_rate:null!==(et=Y.traceSampleRate)&&void 0!==et?et:Y.tracingSampleRate,action_name_attribute:Y.actionNameAttribute,use_allowed_tracing_origins:Array.isArray(Y.allowedTracingOrigins)&&Y.allowedTracingOrigins.length>0,use_allowed_tracing_urls:Array.isArray(Y.allowedTracingUrls)&&Y.allowedTracingUrls.length>0,selected_tracing_propagators:r9(Y),default_privacy_level:Y.defaultPrivacyLevel,use_excluded_activity_urls:Array.isArray(Y.excludedActivityUrls)&&Y.excludedActivityUrls.length>0,track_frustrations:Y.trackFrustrations,track_views_manually:Y.trackViewsManually,track_user_interactions:null!==(en=Y.trackUserInteractions)&&void 0!==en?en:Y.trackInteractions},ei)}function r4(Y,et,en){return{context:Y.getContext(),user:et.getContext(),hasReplay:!!en.isRecording()||void 0}}function r3(Y,et,en){var ei=(void 0===en?{}:en).ignoreInitIfSyntheticsWillInjectRum,eo=void 0===ei||ei,ea=!1,eu=tV("global context"),ec=tV("user"),ed=function(){},ef=function(){},eh=t_,ep=function(){},em=new tq,eg=function(Y,et){void 0===et&&(et=t8()),em.add(function(){return eg(Y,et)})},ey=function(Y,et){void 0===et&&(et=nn()),em.add(function(){return ey(Y,et)})},eb=function(Y,en){void 0===en&&(en=r4(eu,ec,et)),em.add(function(){return eb(Y,en)})},ek=function(Y,en){void 0===en&&(en=r4(eu,ec,et)),em.add(function(){return ek(Y,en)})},ew=function(Y,et){em.add(function(){return ew(Y,et)})};function e_(Y){if(ef=function(){return tT(Y)},!(eo&&nA())){if(nO())Y=eA(Y);else if(!eT(Y))return;if(eS(Y)){var et=r0(Y);if(et){if(et.trackViewsManually){var en=em;em=new tq,ey=function(en){eE(Y,et,en)},en.drain()}else eE(Y,et);ea=!0}}}}function eE(en,ei,eo){var ea=Y(en,ei,et,eu,ec,eo);ep=function(){return et.getSessionReplayLink(ei,ea.session,ea.viewContexts)},ey=ea.startView,eb=ea.addAction,ek=ea.addError,eg=ea.addTiming,ew=ea.addFeatureFlagEvaluation,ed=ea.getInternalContext,eh=ea.stopSession,em.drain(),et.onRumStart(ea.lifeCycle,ei,ea.session,ea.viewContexts)}var eC=eK(function(Y){ey("object"==typeof Y?Y:{name:Y})});return ta({init:eK(e_),addRumGlobalContext:eK(eu.add),setGlobalContextProperty:eK(eu.setContextProperty),removeRumGlobalContext:eK(eu.remove),removeGlobalContextProperty:eK(eu.removeContextProperty),getRumGlobalContext:eK(eu.get),getGlobalContext:eK(eu.getContext),setRumGlobalContext:eK(eu.set),setGlobalContext:eK(eu.setContext),clearGlobalContext:eK(eu.clearContext),getInternalContext:eK(function(Y){return ed(Y)}),getInitConfiguration:eK(function(){return ef()}),addAction:eK(function(Y,et){eb({name:tN(Y),context:tN(et),startClocks:nn(),type:"custom"})}),addError:function(Y,et){var en=n5();e$(function(){ek({error:Y,handlingStack:en,context:tN(et),startClocks:nn()})})},addTiming:eK(function(Y,et){eg(tN(Y),et)}),setUser:eK(function(Y){n6(Y)&&ec.setContext(n3(Y))}),getUser:eK(ec.getContext),setUserProperty:eK(function(Y,et){var en,ei=n3(((en={})[Y]=et,en))[Y];ec.setContextProperty(Y,ei)}),removeUserProperty:eK(ec.removeContextProperty),removeUser:eK(ec.clearContext),clearUser:eK(ec.clearContext),startView:eC,stopSession:eK(function(){eh()}),startSessionReplayRecording:eK(et.start),stopSessionReplayRecording:eK(et.stop),addFeatureFlagEvaluation:eK(function(Y,et){ew(tN(Y),tN(et))}),getSessionReplayLink:eK(function(){return ep()})});function eT(Y){return n_(rU(Y))?!eM()||(ez.error("Execution is not allowed in the current context."),!1):(ez.warn("Cookies are not authorized, we will not send any data."),!1)}function eS(Y){return!ea||(Y.silentMultipleInit||ez.error("DD_RUM is already initialized."),!1)}function eA(Y){return tt({},Y,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100})}function eM(){return"file:"===window.location.protocol}}function r6(Y,et){var en=window.__ddBrowserSdkExtensionCallback;en&&en({type:Y,payload:et})}var r7=function(){function Y(Y){this.onFirstSubscribe=Y,this.observers=[]}return Y.prototype.subscribe=function(Y){var et=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(Y),{unsubscribe:function(){et.observers=et.observers.filter(function(et){return Y!==et}),!et.observers.length&&et.onLastUnsubscribe&&et.onLastUnsubscribe()}}},Y.prototype.notify=function(Y){this.observers.forEach(function(et){return et(Y)})},Y}();function r8(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];var en=new r7(function(){var et=Y.map(function(Y){return Y.subscribe(function(Y){return en.notify(Y)})});return function(){return et.forEach(function(Y){return Y.unsubscribe()})}});return en}function ir(Y,et,en,ei){return ii(Y,[et],en,ei)}function ii(Y,et,en,ei){var eo=void 0===ei?{}:ei,ea=eo.once,eu=eo.capture,ec=eo.passive,ed=eK(ea?function(Y){ep(),en(Y)}:en),ef=ec?{capture:eu,passive:ec}:eu,eh=tm(Y,"addEventListener");function ep(){var en=tm(Y,"removeEventListener");et.forEach(function(et){return en.call(Y,et,ed,ef)})}return et.forEach(function(et){return eh.call(Y,et,ed,ef)}),{stop:ep}}var io={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function ia(){var Y=new r7(function(){var et=rn(eu.PAGEHIDE),en=ii(window,["visibilitychange","freeze","pagehide"],function(en){"pagehide"===en.type&&et?Y.notify({reason:io.PAGEHIDE}):"visibilitychange"===en.type&&"hidden"===document.visibilityState?Y.notify({reason:io.HIDDEN}):"freeze"===en.type&&Y.notify({reason:io.FROZEN})},{capture:!0}).stop,ei=t_;return et||(ei=ir(window,"beforeunload",function(){Y.notify({reason:io.UNLOADING})}).stop),function(){en(),ei()}});return Y}function il(Y){return eQ(e5(io),Y)}var iu={log:"log",configuration:"configuration"},ih=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","http://localhost","<anonymous>"],im=[rC],ig={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1};function iy(Y,et){var en,ei=new r7;function eo(Y,et){return tS({type:"telemetry",date:t8(),service:Y,version:"4.42.2",source:"browser",_dd:{format_version:2},telemetry:et,experimental_features:eX(rr())},void 0!==en?en():{})}return ig.telemetryEnabled=!eQ(im,et.site)&&tZ(et.telemetrySampleRate),ig.telemetryConfigurationEnabled=ig.telemetryEnabled&&tZ(et.telemetryConfigurationSampleRate),ed=function(et){if(ig.telemetryEnabled){var en=eo(Y,et);ei.notify(en),r6("telemetry",en)}},eW(iw),tt(ig,{maxEventsPerPage:et.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(Y){en=Y},observable:ei,enabled:ig.telemetryEnabled}}function ib(Y){return Y.site===rb}function ix(Y,et){eY(eB.debug,Y,et),iE(tt({type:iu.log,message:Y,status:"debug"},et))}function iw(Y){iE(tt({type:iu.log,status:"error"},iC(Y)))}function i_(Y){ig.telemetryConfigurationEnabled&&iE({type:iu.configuration,configuration:Y})}function iE(Y){ed&&ig.sentEventCount<ig.maxEventsPerPage&&(ig.sentEventCount+=1,ed(Y))}function iC(Y){if(Y instanceof Error){var et=nL(Y);return{error:{kind:et.name,stack:n0(iT(et))},message:et.message}}return{error:{stack:n$},message:"".concat("Uncaught"," ").concat(tM(Y))}}function iT(Y){return Y.stack=Y.stack.filter(function(Y){return!Y.url||ih.some(function(et){return e3(Y.url,et)})}),Y}function iS(){var Y=iA(),et=new r7(function(){if(Y){var en=new Y(eK(function(){return et.notify()}));return en.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return en.disconnect()}}});return et}function iA(){var Y,et=window;if(et.Zone&&(Y=tm(et,"MutationObserver"),et.MutationObserver&&Y===et.MutationObserver)){var en=tm(new et.MutationObserver(t_),"originalInstance");Y=en&&en.constructor}return Y||(Y=et.MutationObserver),Y}function iM(Y,et){if(document.readyState===Y||"complete"===document.readyState)et();else{var en="complete"===Y?"load":"DOMContentLoaded";ir(window,en,et,{once:!0})}}var iP="initial_document",ij=[["document",function(Y){return iP===Y}],["xhr",function(Y){return"xmlhttprequest"===Y}],["fetch",function(Y){return"fetch"===Y}],["beacon",function(Y){return"beacon"===Y}],["css",function(Y,et){return/\.css$/i.test(et)}],["js",function(Y,et){return/\.js$/i.test(et)}],["image",function(Y,et){return eQ(["image","img","icon"],Y)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(et)}],["font",function(Y,et){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(et)}],["media",function(Y,et){return eQ(["audio","video"],Y)||null!==/\.(mp3|mp4)$/i.exec(et)}]];function iO(Y){var et=Y.name;if(!ru(et))return ix('Failed to construct URL for "'.concat(Y.name,'"')),"other";for(var en=rh(et),ei=0,eo=ij;ei<eo.length;ei++){var ea=eo[ei],eu=ea[0];if((0,ea[1])(Y.initiatorType,en))return eu}return"other"}function iI(){for(var Y=[],et=0;et<arguments.length;et++)Y[et]=arguments[et];for(var en=1;en<Y.length;en+=1)if(Y[en-1]>Y[en])return!1;return!0}function iN(Y){return"xmlhttprequest"===Y.initiatorType||"fetch"===Y.initiatorType}function iL(Y){var et=Y.duration,en=Y.startTime,ei=Y.responseEnd;return 0===et&&en<ei?t6(na(en,ei)):t6(et)}function iR(Y){var et=iD(Y);if(et){var en=et.startTime,ei=et.fetchStart,eo=et.redirectStart,ea=et.redirectEnd,eu=et.domainLookupStart,ec=et.domainLookupEnd,ed=et.connectStart,ef=et.secureConnectionStart,eh=et.connectEnd,ep=et.requestStart,em=et.responseStart,eg={download:iB(en,em,et.responseEnd),first_byte:iB(en,ep,em)};return eh!==ei&&(eg.connect=iB(en,ed,eh),iI(ed,ef,eh)&&(eg.ssl=iB(en,ef,eh))),ec!==ei&&(eg.dns=iB(en,eu,ec)),iF(Y)&&(eg.redirect=iB(en,eo,ea)),eg}}function iD(Y){if(iI(Y.startTime,Y.fetchStart,Y.domainLookupStart,Y.domainLookupEnd,Y.connectStart,Y.connectEnd,Y.requestStart,Y.responseStart,Y.responseEnd)){if(!iF(Y))return Y;var et=Y.redirectStart,en=Y.redirectEnd;if(et<Y.startTime&&(et=Y.startTime),en<Y.startTime&&(en=Y.fetchStart),iI(Y.startTime,et,en,Y.fetchStart))return tt({},Y,{redirectEnd:en,redirectStart:et})}}function iF(Y){return Y.fetchStart!==Y.startTime}function iB(Y,et,en){return{duration:t6(na(et,en)),start:t6(na(Y,et))}}function iz(Y){if(Y.startTime<Y.responseStart)return Y.decodedBodySize}function iU(Y,et){return et&&!Y.isIntakeUrl(et)}function iH(Y){return Y.nodeType===Node.TEXT_NODE}function iG(Y){return Y.nodeType===Node.COMMENT_NODE}function iV(Y){return Y.nodeType===Node.ELEMENT_NODE}function iW(Y){return iV(Y)&&!!Y.shadowRoot}function iq(Y){var et=Y;return!!et.host&&et.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&iV(et.host)}function iZ(Y){return iW(Y)?Y.shadowRoot.childNodes:Y.childNodes}function iK(Y){return iq(Y)?Y.host:Y.parentNode}var i$=2*tX;function iQ(Y){var et=iJ(Y)||i0(Y);if(!(!et||et.traceTime<=t7()-i$))return et.traceId}function iJ(Y){var et=Y.querySelector("meta[name=dd-trace-id]"),en=Y.querySelector("meta[name=dd-trace-time]");return i9(et&&et.content,en&&en.content)}function i0(Y){var et=i5(Y);if(et)return i9(nv(et,"trace-id"),nv(et,"trace-time"))}function i9(Y,et){var en=et&&Number(et);if(Y&&en)return{traceId:Y,traceTime:en}}function i5(Y){for(var et=0;et<Y.childNodes.length;et+=1){var en=i4(Y.childNodes[et]);if(en)return en}if(Y.body)for(var et=Y.body.childNodes.length-1;et>=0;et-=1){var ei=Y.body.childNodes[et],en=i4(ei);if(en)return en;if(!iH(ei))break}}function i4(Y){if(Y&&iG(Y)){var et=/^\s*DATADOG;(.*?)\s*$/.exec(Y.data);if(et)return et[1]}}function i3(){return void 0!==window.performance&&"getEntries"in performance}function i6(Y){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(Y)}function i7(Y,et){if(i8(function(en){oo(Y,et,[en])}),i3()){var en=performance.getEntries();tg(function(){return oo(Y,et,en)})}if(window.PerformanceObserver){var ei=eK(function(en){return oo(Y,et,en.getEntries())}),eo=["resource","navigation","longtask","paint"],ea=["largest-contentful-paint","first-input","layout-shift"];try{ea.forEach(function(Y){new PerformanceObserver(ei).observe({type:Y,buffered:!0})})}catch(Y){eo.push.apply(eo,ea)}new PerformanceObserver(ei).observe({entryTypes:eo}),i3()&&"addEventListener"in performance&&ir(performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})}i6("navigation")||ot(function(en){oo(Y,et,[en])}),i6("first-input")||or(function(en){oo(Y,et,[en])})}function i8(Y){iM("interactive",function(){var et,en={entryType:"resource",initiatorType:iP,traceId:iQ(document)};if(i6("navigation")&&performance.getEntriesByType("navigation").length>0)et=tt(performance.getEntriesByType("navigation")[0].toJSON(),en);else{var ei=oi();et=tt(ei,{decodedBodySize:0,duration:ei.responseEnd,name:window.location.href,startTime:0},en)}Y(et)})}function ot(Y){function et(){Y(tt(oi(),{entryType:"navigation"}))}iM("complete",function(){tg(et)})}function or(Y){var et=t7(),en=!1,ei=ii(window,["click","mousedown","keydown","touchstart","pointerdown"],function(Y){if(Y.cancelable){var et={entryType:"first-input",processingStart:nt(),startTime:Y.timeStamp};"pointerdown"===Y.type?eo(et):ea(et)}},{passive:!0,capture:!0}).stop;function eo(Y){ii(window,["pointerup","pointercancel"],function(et){"pointerup"===et.type&&ea(Y)},{once:!0})}function ea(eo){if(!en){en=!0,ei();var ea=eo.processingStart-eo.startTime;ea>=0&&ea<t7()-et&&Y(eo)}}}function oi(){var Y={},et=performance.timing;for(var en in et)if(tY(et[en])){var ei=en,eo=et[ei];Y[ei]=0===eo?0:nd(eo)}return Y}function oo(Y,et,en){var ei=en.filter(function(Y){return"resource"===Y.entryType||"navigation"===Y.entryType||"paint"===Y.entryType||"longtask"===Y.entryType||"largest-contentful-paint"===Y.entryType||"first-input"===Y.entryType||"layout-shift"===Y.entryType}).filter(function(Y){return!os(Y)&&!ol(et,Y)});ei.length&&Y.notify(0,ei)}function os(Y){return"navigation"===Y.entryType&&Y.loadEventEnd<=0}function ol(Y,et){return"resource"===et.entryType&&!iU(Y,et.name)}var ou={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function oc(Y,et,en){var ei=0,eo=!1;return{isLimitReached:function(){if(0===ei&&tg(function(){ei=0},tX),(ei+=1)<=et||eo)return eo=!1,!1;if(ei===et+1){eo=!0;try{en({message:"Reached max number of ".concat(Y,"s by minute: ").concat(et),source:ou.AGENT,startClocks:nn()})}finally{eo=!1}}return!0}}}function od(){var Y=nM(),et=nP();if(Y&&et)return{test_id:Y,result_id:et,injected:nA()}}function of(){var Y,et=null===(Y=window.Cypress)||void 0===Y?void 0:Y.env("traceId");if("string"==typeof et)return{test_execution_id:et}}function oh(){return ef||(ef=om()),ef}function om(){var Y=new r7(function(){var et=tw(function(){Y.notify(og())},200).throttled;return ir(window,"resize",et,{capture:!0,passive:!0}).stop});return Y}function og(){var Y=window.visualViewport;return Y?{width:Number(Y.width*Y.scale),height:Number(Y.height*Y.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}function ov(){return eh||(eh=og(),ep=oh().subscribe(function(Y){eh=Y}).unsubscribe),{viewport:eh}}function ow(Y,et,en){var ei=tT(Y),eo=en(ei);return e4(et).forEach(function(et){var en=et[0],eo=et[1],ea=o_(ei,en),eu=tE(ea);eu===eo?oE(Y,en,tN(ea)):"object"===eo&&("undefined"===eu||"null"===eu)&&oE(Y,en,{})}),eo}function o_(Y,et){for(var en=Y,ei=0,eo=et.split(".");ei<eo.length;ei++){var ea=eo[ei];if(!oT(en,ea))return;en=en[ea]}return en}function oE(Y,et,en){for(var ei=Y,eo=et.split("."),ea=0;ea<eo.length;ea+=1){var eu=eo[ea];if(!oC(ei))return;ea!==eo.length-1?ei=ei[eu]:ei[eu]=en}}function oC(Y){return"object"===tE(Y)}function oT(Y,et){return oC(Y)&&Object.prototype.hasOwnProperty.call(Y,et)}var oS={"view.url":"string","view.referrer":"string"},oA={context:"object"};function oM(Y,et,en,ei,eo,ea,eu,ec){(ed={}).view=oS,ed.error=tt({"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string"},oA,oS),ed.resource=tt({"resource.url":"string"},oA,oS),ed.action=tt({"action.target.name":"string"},oA,oS),ed.long_task=tt({},oA,oS),em=ed;var ed,ef,eh=((ef={}).error=oc("error",Y.eventRateLimiterThreshold,ec),ef.action=oc("action",Y.eventRateLimiterThreshold,ec),ef),ep=od(),eg=of();et.subscribe(10,function(ec){var ed=ec.startTime,ef=ec.rawRumEvent,em=ec.domainContext,ey=ec.savedCommonContext,eb=ec.customerContext,ek=ei.findView(ed),ew=eo.findUrl(ed),e_=en.findTrackedSession(ed);if(e_&&ek&&ew){var eE=ey||eu(),eC=ea.findActionId(ed),eT=tS({_dd:{format_version:2,drift:t3(),session:{plan:e_.plan},browser_sdk_version:nO()?"4.42.2":void 0},application:{id:Y.applicationId},date:t8(),service:ek.service||Y.service,version:ek.version||Y.version,source:"browser",session:{id:e_.id,type:ep?"synthetics":eg?"ci_test":"user"},view:{id:ek.id,name:ek.name,url:ew.url,referrer:ew.referrer},action:oj(ef)&&eC?{id:eC}:void 0,synthetics:ep,ci_test:eg,display:ov()},ef);eT.context=tS(eE.context,eb),"has_replay"in eT.session||(eT.session.has_replay=eE.hasReplay),ra(eE.user)||(eT.usr=eE.user),oP(eT,Y.beforeSend,em,eh)&&(ra(eT.context)&&delete eT.context,et.notify(11,eT))}})}function oP(Y,et,en,ei){if(et){var eo,ea=ow(Y,em[Y.type],function(Y){return et(Y,en)});if(!1===ea&&"view"!==Y.type)return!1;!1===ea&&ez.warn("Can't dismiss view events using beforeSend!")}return!(null===(eo=ei[Y.type])||void 0===eo?void 0:eo.isLimitReached())}function oj(Y){return -1!==["error","resource","long_task"].indexOf(Y.type)}var oO=500,oI=2500,oN=[];function oL(){document.hasFocus()&&oR();var Y=oF(oR).stop,et=oB(oD).stop;return{isInForegroundAt:oz,selectInForegroundPeriodsFor:oU,stop:function(){oN=[],Y(),et()}}}function oR(){if(!(oN.length>oI)){var Y=oN[oN.length-1],et=nt();(void 0===Y||void 0!==Y.end)&&oN.push({start:et})}}function oD(){if(0!==oN.length){var Y=oN[oN.length-1],et=nt();void 0===Y.end&&(Y.end=et)}}function oF(Y){return ir(window,"focus",function(et){et.isTrusted&&Y()})}function oB(Y){return ir(window,"blur",function(et){et.isTrusted&&Y()})}function oz(Y){for(var et=oN.length-1;et>=0;et--){var en=oN[et];if(void 0!==en.end&&Y>en.end)break;if(Y>en.start&&(void 0===en.end||Y<en.end))return!0}return!1}function oU(Y,et){for(var en=nu(Y,et),ei=[],eo=Math.max(0,oN.length-oO),ea=oN.length-1;ea>=eo;ea--){var eu=oN[ea];if(void 0!==eu.end&&Y>eu.end)break;if(!(en<eu.start)){var ec=Y>eu.start?Y:eu.start,ed=na(Y,ec),ef=na(ec,void 0===eu.end||en<eu.end?en:eu.end);ei.unshift({start:t6(ed),duration:t6(ef)})}}return ei}function oH(Y,et,en,ei,eo){return{get:function(ea){var eu=en.findView(ea),ec=eo.findUrl(ea),ed=et.findTrackedSession(ea);if(ed&&eu&&ec){var ef=ei.findActionId(ea);return{application_id:Y,session_id:ed.id,user_action:ef?{id:ef}:void 0,view:{id:eu.id,name:eu.name,referrer:ec.referrer,url:ec.url}}}}}}var oG=function(){function Y(){this.callbacks={}}return Y.prototype.notify=function(Y,et){var en=this.callbacks[Y];en&&en.forEach(function(Y){return Y(et)})},Y.prototype.subscribe=function(Y,et){var en=this;return this.callbacks[Y]||(this.callbacks[Y]=[]),this.callbacks[Y].push(et),{unsubscribe:function(){en.callbacks[Y]=en.callbacks[Y].filter(function(Y){return et!==Y})}}},Y}(),oV=4*tJ,oW=15*tX,oq=1/0,oZ=tX,oK=function(){function Y(Y){var et=this;this.expireDelay=Y,this.entries=[],this.clearOldValuesInterval=tb(function(){return et.clearOldValues()},oZ)}return Y.prototype.add=function(Y,et){var en=this,ei={value:Y,startTime:et,endTime:oq,remove:function(){var Y=en.entries.indexOf(ei);Y>=0&&en.entries.splice(Y,1)},close:function(Y){ei.endTime=Y}};return this.entries.unshift(ei),ei},Y.prototype.find=function(Y){void 0===Y&&(Y=oq);for(var et=0,en=this.entries;et<en.length;et++){var ei=en[et];if(ei.startTime<=Y){if(Y<=ei.endTime)return ei.value;break}}},Y.prototype.closeActive=function(Y){var et=this.entries[0];et&&et.endTime===oq&&et.close(Y)},Y.prototype.findAll=function(Y){return void 0===Y&&(Y=oq),this.entries.filter(function(et){return et.startTime<=Y&&Y<=et.endTime}).map(function(Y){return Y.value})},Y.prototype.reset=function(){this.entries=[]},Y.prototype.stop=function(){tk(this.clearOldValuesInterval)},Y.prototype.clearOldValues=function(){for(var Y=nt()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<Y;)this.entries.pop()},Y}(),o$=oV;function oQ(Y){var et=new oK(o$);function en(Y){return{service:Y.service,version:Y.version,id:Y.id,name:Y.name,startClocks:Y.startClocks}}return Y.subscribe(2,function(Y){et.add(en(Y),Y.startClocks.relative)}),Y.subscribe(4,function(Y){var en=Y.endClocks;et.closeActive(en.relative)}),Y.subscribe(8,function(){et.reset()}),{findView:function(Y){return et.find(Y)},stop:function(){et.stop()}}}function oJ(Y,et,en){var ei=Y[et],eo=en(ei),ea=function(){if("function"==typeof eo)return eo.apply(this,arguments)};return Y[et]=ea,{stop:function(){Y[et]===ea?Y[et]=ei:eo=ei}}}function o0(Y,et,en){var ei=en.before,eo=en.after;return oJ(Y,et,function(Y){return function(){var et,en=arguments;return ei&&e$(ei,this,en),"function"==typeof Y&&(et=Y.apply(this,en)),eo&&e$(eo,this,en),et}})}function o9(Y,et,en){var ei=Object.getOwnPropertyDescriptor(Y,et);if(!ei||!ei.set||!ei.configurable)return{stop:t_};var eo=function(Y,et){tg(function(){en(Y,et)},0)},ea=function(Y){ei.set.call(this,Y),eo(this,Y)};return Object.defineProperty(Y,et,{set:ea}),{stop:function(){var en;(null===(en=Object.getOwnPropertyDescriptor(Y,et))||void 0===en?void 0:en.set)===ea?Object.defineProperty(Y,et,ei):eo=t_}}}var o5=new WeakMap;function o4(){return eg||(eg=o3()),eg}function o3(){var Y=new r7(function(){var et=o0(XMLHttpRequest.prototype,"open",{before:o6}).stop,en=o0(XMLHttpRequest.prototype,"send",{before:function(){o7.call(this,Y)}}).stop,ei=o0(XMLHttpRequest.prototype,"abort",{before:o8}).stop;return function(){et(),en(),ei()}});return Y}function o6(Y,et){o5.set(this,{state:"open",method:Y,url:rl(String(et))})}function o7(Y){var et=this,en=o5.get(this);if(en){var ei=en;ei.state="start",ei.startTime=nt(),ei.startClocks=nn(),ei.isAborted=!1,ei.xhr=this;var eo=!1,ea=o0(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&eu()}}).stop,eu=function(){if(ec(),ea(),!eo){eo=!0;var eu=en;eu.state="complete",eu.duration=na(ei.startClocks.timeStamp,t8()),eu.status=et.status,Y.notify(ri(eu))}},ec=ir(this,"loadend",eu).stop;Y.notify(ei)}}function o8(){var Y=o5.get(this);Y&&(Y.isAborted=!0)}function ai(){return ey||(ey=ao()),ey}function ao(){var Y=new r7(function(){if(window.fetch)return oJ(window,"fetch",function(et){return function(en,ei){var eo,ea=e$(aa,null,[Y,en,ei]);return ea?(eo=et.call(this,ea.input,ea.init),e$(al,null,[Y,eo,ea])):eo=et.call(this,en,ei),eo}}).stop});return Y}function aa(Y,et,en){var ei=en&&en.method||et instanceof Request&&et.method||"GET",eo=et instanceof Request?et.url:rl(String(et)),ea={state:"start",init:en,input:et,method:ei,startClocks:nn(),url:eo};return Y.notify(ea),ea}function al(Y,et,en){var ei=function(et){var ei=en;ei.state="resolve","stack"in et||et instanceof Error?(ei.status=0,ei.isAborted=et instanceof DOMException&&et.code===DOMException.ABORT_ERR,ei.error=et):"status"in et&&(ei.response=et,ei.responseType=et.type,ei.status=et.status,ei.isAborted=!1),Y.notify(ei)};et.then(eK(ei),eK(ei))}function au(Y){return Y>=500}function ac(Y){try{return Y.clone()}catch(Y){return}}function af(Y,et,en){var ei=Y.getReader(),eo=[],ea=0;function eu(){ei.read().then(eK(function(Y){if(Y.done){ec();return}en.collectStreamBody&&eo.push(Y.value),(ea+=Y.value.length)>en.bytesLimit?ec():eu()}),eK(function(Y){return et(Y)}))}function ec(){if(ei.cancel().catch(t_),en.collectStreamBody){if(1===eo.length)ec=eo[0];else{ec=new Uint8Array(ea);var Y,eu,ec,ed=0;eo.forEach(function(Y){ec.set(Y,ed),ed+=Y.length})}Y=ec.slice(0,en.bytesLimit),eu=ec.length>en.bytesLimit}et(void 0,Y,eu)}eu()}var ah=1;function ap(Y,et,en){var ei=rK(et,en);am(Y,et,ei),ag(Y,et,ei)}function am(Y,et,en){var ei=o4().subscribe(function(ei){var eo=ei;if(iU(et,eo.url))switch(eo.state){case"start":en.traceXhr(eo,eo.xhr),eo.requestIndex=av(),Y.notify(5,{requestIndex:eo.requestIndex,url:eo.url});break;case"complete":en.clearTracingIfNeeded(eo),Y.notify(6,{duration:eo.duration,method:eo.method,requestIndex:eo.requestIndex,spanId:eo.spanId,startClocks:eo.startClocks,status:eo.status,traceId:eo.traceId,traceSampled:eo.traceSampled,type:"xhr",url:eo.url,xhr:eo.xhr})}});return{stop:function(){return ei.unsubscribe()}}}function ag(Y,et,en){var ei=ai().subscribe(function(ei){var eo=ei;if(iU(et,eo.url))switch(eo.state){case"start":en.traceFetch(eo),eo.requestIndex=av(),Y.notify(5,{requestIndex:eo.requestIndex,url:eo.url});break;case"resolve":ak(eo,function(et){en.clearTracingIfNeeded(eo),Y.notify(6,{duration:et,method:eo.method,requestIndex:eo.requestIndex,responseType:eo.responseType,spanId:eo.spanId,startClocks:eo.startClocks,status:eo.status,traceId:eo.traceId,traceSampled:eo.traceSampled,type:"fetch",url:eo.url,response:eo.response,init:eo.init,input:eo.input})})}});return{stop:function(){return ei.unsubscribe()}}}function av(){var Y=ah;return ah+=1,Y}function ak(Y,et){var en=Y.response&&ac(Y.response);en&&en.body?af(en.body,function(){et(na(Y.startClocks.timeStamp,t8()))},{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1}):et(na(Y.startClocks.timeStamp,t8()))}function a_(Y){var et=Y.lifeCycle,en=Y.isChildEvent,ei=Y.onChange,eo=void 0===ei?t_:ei,ea={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},eu=et.subscribe(11,function(Y){if("view"!==Y.type&&en(Y))switch(Y.type){case"error":ea.errorCount+=1,eo();break;case"action":ea.actionCount+=1,Y.action.frustration&&(ea.frustrationCount+=Y.action.frustration.type.length),eo();break;case"long_task":ea.longTaskCount+=1,eo();break;case"resource":ea.resourceCount+=1,eo()}});return{stop:function(){eu.unsubscribe()},eventCounts:ea}}var aE=100,aC=100;function aS(Y,et,en,ei,eo){return aM(aP(Y,et,en),ei,eo)}function aM(Y,et,en){var ei,eo=!1,ea=tg(eK(function(){return ef({hadActivity:!1})}),aE),eu=void 0!==en?tg(eK(function(){return ef({hadActivity:!0,end:t8()})}),en):void 0,ec=Y.subscribe(function(Y){var et=Y.isBusy;tv(ea),tv(ei);var en=t8();et||(ei=tg(eK(function(){return ef({hadActivity:!0,end:en})}),aC))}),ed=function(){eo=!0,tv(ea),tv(ei),tv(eu),ec.unsubscribe()};function ef(Y){eo||(ed(),et(Y))}return{stop:ed}}function aP(Y,et,en){var ei=new r7(function(){var eo,ea=[],eu=0;ea.push(et.subscribe(ed),Y.subscribe(0,function(Y){Y.some(function(Y){return"resource"===Y.entryType&&!aj(en,Y.name)})&&ed()}),Y.subscribe(5,function(Y){aj(en,Y.url)||(void 0===eo&&(eo=Y.requestIndex),eu+=1,ed())}),Y.subscribe(6,function(Y){aj(en,Y.url)||void 0===eo||Y.requestIndex<eo||(eu-=1,ed())}));var ec=aO(ed).stop;return function(){ec(),ea.forEach(function(Y){return Y.unsubscribe()})};function ed(){ei.notify({isBusy:eu>0})}});return ei}function aj(Y,et){return rW(Y.excludedActivityUrls,et)}function aO(Y){return o0(window,"open",{before:Y})}var aI=tQ,aN=100;function aL(Y,et){var en,ei=[],eo=0;function ea(Y){Y.stopObservable.subscribe(eu),ei.push(Y),tv(en),en=tg(ec,aI)}function eu(){1===eo&&ei.every(function(Y){return Y.isStopped()})&&(eo=2,et(ei))}function ec(){tv(en),0===eo&&(eo=1,eu())}return ea(Y),{tryAppend:function(Y){return 0===eo&&(ei.length>0&&!aR(ei[ei.length-1].event,Y.event)?(ec(),!1):(ea(Y),!0))},stop:function(){ec()}}}function aR(Y,et){return Y.target===et.target&&aD(Y,et)<=aN&&Y.timeStamp-et.timeStamp<=aI}function aD(Y,et){return Math.sqrt(Math.pow(Y.clientX-et.clientX,2)+Math.pow(Y.clientY-et.clientY,2))}function aF(){return!!document.documentMode}function aU(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}var aH="data-dd-action-name";function aG(Y,et){return aV(Y,aH)||et&&aV(Y,et)||aK(Y,et,aW)||aK(Y,et,aq)||""}function aV(Y,et){if(a5())en=Y.closest("[".concat(et,"]"));else for(var en,ei=Y;ei;){if(ei.hasAttribute(et)){en=ei;break}ei=ei.parentElement}if(en)return aY(a$(en.getAttribute(et).trim()))}var aW=[function(Y,et){if(a9()){if("labels"in Y&&Y.labels&&Y.labels.length>0)return aJ(Y.labels[0],et)}else if(Y.id){var en=Y.ownerDocument&&eJ(Y.ownerDocument.querySelectorAll("label"),function(et){return et.htmlFor===Y.id});return en&&aJ(en,et)}},function(Y){if("INPUT"===Y.nodeName){var et=Y,en=et.getAttribute("type");if("button"===en||"submit"===en||"reset"===en)return et.value}},function(Y,et){if("BUTTON"===Y.nodeName||"LABEL"===Y.nodeName||"button"===Y.getAttribute("role"))return aJ(Y,et)},function(Y){return Y.getAttribute("aria-label")},function(Y,et){var en=Y.getAttribute("aria-labelledby");if(en)return en.split(/\s+/).map(function(et){return aQ(Y,et)}).filter(function(Y){return!!Y}).map(function(Y){return aJ(Y,et)}).join(" ")},function(Y){return Y.getAttribute("alt")},function(Y){return Y.getAttribute("name")},function(Y){return Y.getAttribute("title")},function(Y){return Y.getAttribute("placeholder")},function(Y,et){if("options"in Y&&Y.options.length>0)return aJ(Y.options[0],et)}],aq=[function(Y,et){return aJ(Y,et)}],aZ=10;function aK(Y,et,en){for(var ei=Y,eo=0;eo<=aZ&&ei&&"BODY"!==ei.nodeName&&"HTML"!==ei.nodeName&&"HEAD"!==ei.nodeName;){for(var ea=0,eu=en;ea<eu.length;ea++){var ec=(0,eu[ea])(ei,et);if("string"==typeof ec){var ed=ec.trim();if(ed)return aY(a$(ed))}}if("FORM"===ei.nodeName)break;ei=ei.parentElement,eo+=1}}function a$(Y){return Y.replace(/\s+/g," ")}function aY(Y){return Y.length>100?"".concat(ny(Y,100)," [...]"):Y}function aQ(Y,et){return Y.ownerDocument?Y.ownerDocument.getElementById(et):null}function aJ(Y,et){if(!Y.isContentEditable){if("innerText"in Y){var en=Y.innerText,ei=function(et){for(var ei=Y.querySelectorAll(et),eo=0;eo<ei.length;eo+=1){var ea=ei[eo];if("innerText"in ea){var eu=ea.innerText;eu&&eu.trim().length>0&&(en=en.replace(eu,""))}}};return a0()||ei("script, style"),ei("[".concat(aH,"]")),et&&ei("[".concat(et,"]")),en}return Y.textContent}}function a0(){return!aF()}function a9(){return void 0===eb&&(eb="labels"in HTMLInputElement.prototype),eb}function a5(){return void 0===ek&&(ek="closest"in HTMLElement.prototype),ek}var a4=[aH,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],a3=[sl,sn],a6=[sl,si,so];function a7(Y,et){for(var en="",ei=Y;ei&&"HTML"!==ei.nodeName;){var eo=sd(ei,a3,sf,et,en);if(eo)return eo;en=sd(ei,a6,sh,et,en)||sm(su(ei),en),ei=ei.parentElement}return en}function a8(Y){return/[0-9]/.test(Y)}function sn(Y){if(Y.id&&!a8(Y.id))return"#".concat(e8(Y.id))}function si(Y){if("BODY"!==Y.tagName&&Y.classList.length>0)for(var et=0;et<Y.classList.length;et+=1){var en=Y.classList[et];if(!a8(en))return"".concat(Y.tagName,".").concat(e8(en))}}function so(Y){return Y.tagName}function sl(Y,et){if(et){var en=ea(et);if(en)return en}for(var ei=0,eo=a4;ei<eo.length;ei++){var en=ea(eo[ei]);if(en)return en}function ea(et){if(Y.hasAttribute(et))return"".concat(Y.tagName,"[").concat(et,'="').concat(e8(Y.getAttribute(et)),'"]')}}function su(Y){for(var et=Y.parentElement.firstElementChild,en=1;et&&et!==Y;)et.tagName===Y.tagName&&(en+=1),et=et.nextElementSibling;return"".concat(Y.tagName,":nth-of-type(").concat(en,")")}function sd(Y,et,en,ei,eo){for(var ea=0,eu=et;ea<eu.length;ea++){var ec=(0,eu[ea])(Y,ei);if(ec){var ed=sm(ec,eo);if(en(Y,ed))return ed}}}function sf(Y,et){return 1===Y.ownerDocument.querySelectorAll(et).length}function sh(Y,et){return 1===Y.parentElement.querySelectorAll(sg()?sm(":scope",et):et).length}function sm(Y,et){return et?"".concat(Y,">").concat(et):Y}function sg(){if(void 0===ew)try{document.querySelector(":scope"),ew=!0}catch(Y){ew=!1}return ew}function sb(Y){var et,en,ei=Y.onPointerDown,eo=Y.onPointerUp,ea={selection:!1,input:!1},eu=[ir(window,"pointerdown",function(Y){s_(Y)&&(et=sk(),ea={selection:!1,input:!1},en=ei(Y))},{capture:!0}),ir(window,"selectionchange",function(){et&&sk()||(ea.selection=!0)},{capture:!0}),ir(window,"pointerup",function(Y){if(s_(Y)&&en){var et=ea;eo(en,Y,function(){return et}),en=void 0}},{capture:!0}),ir(window,"input",function(){ea.input=!0},{capture:!0})];return{stop:function(){eu.forEach(function(Y){return Y.stop()})}}}function sk(){var Y=window.getSelection();return!Y||Y.isCollapsed}function s_(Y){return Y.target instanceof Element&&!1!==Y.isPrimary}var sE=3;function sC(Y,et){if(sT(Y))return et.addFrustration("rage_click"),Y.some(sA)&&et.addFrustration("dead_click"),et.hasError&&et.addFrustration("error_click"),{isRage:!0};var en=Y.some(function(Y){return Y.getUserActivity().selection});return Y.forEach(function(Y){Y.hasError&&Y.addFrustration("error_click"),sA(Y)&&!en&&Y.addFrustration("dead_click")}),{isRage:!1}}function sT(Y){if(Y.some(function(Y){return Y.getUserActivity().selection}))return!1;for(var et=0;et<Y.length-(sE-1);et+=1)if(Y[et+sE-1].event.timeStamp-Y[et].event.timeStamp<=tQ)return!0;return!1}var sS='input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *';function sA(Y){return!Y.hasPageActivity&&!Y.getUserActivity().input&&!e7(Y.event.target,sS)}var sM=10*tQ,sP=5*tX;function sj(Y,et,en){var ei,eo=new oK(sP),ea=new r7;Y.subscribe(8,function(){eo.reset()}),Y.subscribe(4,ed);var eu=sb({onPointerDown:function(ei){return sO(en,Y,et,eo,ei)},onPointerUp:function(ei,eu,ed){return sI(en,Y,et,eo,ea,ec,ei.clickActionBase,eu,ed,ei.hadActivityOnPointerDown)}}).stop;return{stop:function(){ed(),ea.notify(),eu()},actionContexts:{findActionId:function(Y){return en.trackFrustrations?eo.findAll(Y):eo.find(Y)}}};function ec(Y){if(!ei||!ei.tryAppend(Y)){var et=Y.clone();ei=aL(Y,function(Y){sR(Y,et)})}}function ed(){ei&&ei.stop()}}function sO(Y,et,en,ei,eo){if(!(!Y.trackFrustrations&&ei.find())){var ea=sN(eo,Y.actionNameAttribute);if(Y.trackFrustrations||ea.name){var eu=!1;return aS(et,en,Y,function(Y){eu=Y.hadActivity},aE),{clickActionBase:ea,hadActivityOnPointerDown:function(){return eu}}}}}function sI(Y,et,en,ei,eo,ea,eu,ec,ed,ef){var eh=sL(et,ei,ed,eu,ec);Y.trackFrustrations&&ea(eh);var ep=aS(et,en,Y,function(et){et.hadActivity&&et.end<eh.startClocks.timeStamp?eh.discard():(et.hadActivity?eh.stop(et.end):ef()?eh.stop(eh.startClocks.timeStamp):eh.stop(),Y.trackFrustrations||(et.hadActivity?eh.validate():eh.discard()))},sM).stop,em=et.subscribe(4,function(Y){var et=Y.endClocks;eh.stop(et.timeStamp)}),eg=eo.subscribe(function(){eh.stop()});eh.stopObservable.subscribe(function(){em.unsubscribe(),ep(),eg.unsubscribe()})}function sN(Y,et){var en=Y.target.getBoundingClientRect();return{type:"click",target:{width:Math.round(en.width),height:Math.round(en.height),selector:a7(Y.target,et)},position:{x:Math.round(Y.clientX-en.left),y:Math.round(Y.clientY-en.top)},name:aG(Y.target,et)}}function sL(Y,et,en,ei,eo){var ea,eu=ng(),ec=nn(),ed=et.add(eu,ec.relative),ef=a_({lifeCycle:Y,isChildEvent:function(Y){return void 0!==Y.action&&(Array.isArray(Y.action.id)?eQ(Y.action.id,eu):Y.action.id===eu)}}),eh=0,ep=[],em=new r7;function eg(Y){0===eh&&(eh=1,(ea=Y)?ed.close(nd(ea)):ed.remove(),ef.stop(),em.notify())}return{event:eo,stop:eg,stopObservable:em,get hasError(){return ef.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==ea},getUserActivity:en,addFrustration:function(Y){ep.push(Y)},startClocks:ec,isStopped:function(){return 1===eh||2===eh},clone:function(){return sL(Y,et,en,ei,eo)},validate:function(et){if(eg(),1===eh){var en=ef.eventCounts,ed=en.resourceCount,em=en.errorCount,ey=en.longTaskCount,eb=tt({type:"click",duration:ea&&na(ec.timeStamp,ea),startClocks:ec,id:eu,frustrationTypes:ep,counts:{resourceCount:ed,errorCount:em,longTaskCount:ey},events:null!=et?et:[eo],event:eo},ei);Y.notify(1,eb),eh=2}},discard:function(){eg(),eh=2}}}function sR(Y,et){sC(Y,et).isRage?(Y.forEach(function(Y){return Y.discard()}),et.stop(t8()),et.validate(Y.map(function(Y){return Y.event}))):(et.discard(),Y.forEach(function(Y){return Y.validate()}))}function sD(Y,et,en,ei){Y.subscribe(1,function(et){return Y.notify(10,sF(et,ei))});var eo={findActionId:t_};return en.trackUserInteractions&&(eo=sj(Y,et,en).actionContexts),{addAction:function(et,en){Y.notify(10,tt({savedCommonContext:en},sF(et,ei)))},actionContexts:eo}}function sF(Y,et){var en=sB(Y)?{action:{id:Y.id,loading_time:t6(Y.duration),frustration:{type:Y.frustrationTypes},error:{count:Y.counts.errorCount},long_task:{count:Y.counts.longTaskCount},resource:{count:Y.counts.resourceCount}},_dd:{action:{target:Y.target,position:Y.position}}}:void 0,ei=sB(Y)?void 0:Y.context,eo=tS({action:{id:ng(),target:{name:Y.name},type:Y.type},date:Y.startClocks.timeStamp,type:"action"},en),ea=et.isInForegroundAt(Y.startClocks.relative);return void 0!==ea&&(eo.view={in_foreground:ea}),{customerContext:ei,rawRumEvent:eo,startTime:Y.startClocks.relative,domainContext:sB(Y)?{event:Y.event,events:Y.events}:{}}}function sB(Y){return"custom"!==Y.type}var sU=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function sH(Y){var et=sG(Y).stop,en=sW(Y).stop;return{stop:function(){et(),en()}}}function sG(Y){return o0(window,"onerror",{before:function(et,en,ei,eo,ea){var eu;if(ea instanceof Error)eu=nL(ea);else{var ec=[{url:en,column:eo,line:ei}],ed=sV(et);eu={name:ed.name,message:ed.message,stack:ec}}Y(eu,null!=ea?ea:et)}})}function sV(Y){var et,en,ei;return"[object String]"===({}).toString.call(Y)&&(en=(et=sU.exec(Y))[1],ei=et[2]),{name:en,message:ei}}function sW(Y){return o0(window,"onunhandledrejection",{before:function(et){var en=et.reason||"Empty reason";Y(nL(en),en)}})}function sq(Y){return sH(function(et,en){Y.notify(nY({stackTrace:et,originalError:en,startClocks:nn(),nonErrorPrefix:"Uncaught",source:ou.SOURCE,handling:"unhandled"}))})}var sZ={};function sK(Y){var et=Y.map(function(Y){return sZ[Y]||(sZ[Y]=s$(Y)),sZ[Y]});return r8.apply(void 0,et)}function s$(Y){var et=new r7(function(){var en=eU[Y];return eU[Y]=function(){for(var ei=[],eo=0;eo<arguments.length;eo++)ei[eo]=arguments[eo];en.apply(console,ei);var ea=n5();e$(function(){et.notify(sY(ei,Y,ea))})},function(){eU[Y]=en}});return et}function sY(Y,et,en){var ei,eo,ea=Y.map(function(Y){return sQ(Y)}).join(" ");if(et===eB.error){var eu=eJ(Y,function(Y){return Y instanceof Error});ei=eu?n0(nL(eu)):void 0,eo=nJ(eu),ea="console error: ".concat(ea)}return{api:et,message:ea,stack:ei,handlingStack:en,fingerprint:eo}}function sQ(Y){return"string"==typeof Y?tN(Y):Y instanceof Error?n9(nL(Y)):tM(tN(Y),void 0,2)}function sX(Y){var et=sK([eB.error]).subscribe(function(et){return Y.notify({startClocks:nn(),message:et.message,stack:et.stack,fingerprint:et.fingerprint,source:ou.CONSOLE,handling:"handled",handlingStack:et.handlingStack})});return{stop:function(){et.unsubscribe()}}}var sJ={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function s9(Y){var et=[];eQ(Y,sJ.cspViolation)&&et.push(s4());var en=Y.filter(function(Y){return Y!==sJ.cspViolation});return en.length&&et.push(s5(en)),r8.apply(void 0,et)}function s5(Y){var et=new r7(function(){if(window.ReportingObserver){var en=eK(function(Y){return Y.forEach(function(Y){et.notify(s6(Y))})}),ei=new window.ReportingObserver(en,{types:Y,buffered:!0});return ei.observe(),function(){ei.disconnect()}}});return et}function s4(){var Y=new r7(function(){return ir(document,"securitypolicyviolation",function(et){Y.notify(s7(et))}).stop});return Y}function s6(Y){var et=Y.type,en=Y.body;return{type:et,subtype:en.id,message:"".concat(et,": ").concat(en.message),stack:s8(en.id,en.message,en.sourceFile,en.lineNumber,en.columnNumber)}}function s7(Y){var et=sJ.cspViolation,en="'".concat(Y.blockedURI,"' blocked by '").concat(Y.effectiveDirective,"' directive");return{type:sJ.cspViolation,subtype:Y.effectiveDirective,message:"".concat(et,": ").concat(en),stack:s8(Y.effectiveDirective,Y.originalPolicy?"".concat(en,' of the policy "').concat(ny(Y.originalPolicy,100,"..."),'"'):"no policy",Y.sourceFile,Y.lineNumber,Y.columnNumber)}}function s8(Y,et,en,ei,eo){return en&&n0({name:Y,message:et,stack:[{func:"?",url:en,line:ei,column:eo}]})}function ln(Y){var et=s9([sJ.cspViolation,sJ.intervention]).subscribe(function(et){return Y.notify({startClocks:nn(),message:et.message,stack:et.stack,type:et.subtype,source:ou.REPORT,handling:"unhandled"})});return{stop:function(){et.unsubscribe()}}}function lr(Y,et,en){var ei=new r7;return sX(ei),sq(ei),ln(ei),ei.subscribe(function(et){return Y.notify(12,{error:et})}),li(Y,et,en)}function li(Y,et,en){return Y.subscribe(12,function(ei){var eo=ei.error,ea=ei.customerContext,eu=ei.savedCommonContext;Y.notify(10,tt({customerContext:ea,savedCommonContext:eu},la(eo,et,en)))}),{addError:function(et,en){var ei=et.error,eo=et.handlingStack,ea=et.startClocks,eu=et.context,ec=nY({stackTrace:ei instanceof Error?nL(ei):void 0,originalError:ei,handlingStack:eo,startClocks:ea,nonErrorPrefix:"Provided",source:ou.CUSTOM,handling:"handled"});Y.notify(12,{customerContext:eu,savedCommonContext:en,error:ec})}}}function la(Y,et,en){var ei={date:Y.startClocks.timeStamp,error:{id:ng(),message:Y.message,source:Y.source,stack:Y.stack,handling_stack:Y.handlingStack,type:Y.type,handling:Y.handling,causes:Y.causes,source_type:"browser",fingerprint:Y.fingerprint},type:"error"},eo=et.isInForegroundAt(Y.startClocks.relative);eo&&(ei.view={in_foreground:eo});var ea=en.findFeatureFlagEvaluations(Y.startClocks.relative);return ea&&!ra(ea)&&(ei.feature_flags=ea),{rawRumEvent:ei,startTime:Y.startClocks.relative,domainContext:{error:Y.originalError}}}function ls(Y,et){Y.subscribe(0,function(en){for(var ei=0,eo=en;ei<eo.length;ei++){var ea=eo[ei];if("longtask"!==ea.entryType)break;var eu=et.findTrackedSession(ea.startTime);if(!eu||!eu.longTaskAllowed)break;var ec=t5(ea.startTime),ed={date:ec.timeStamp,long_task:{id:ng(),duration:t6(ea.duration)},type:"long_task",_dd:{discarded:!1}};Y.notify(10,{rawRumEvent:ed,startTime:ec.relative,domainContext:{performanceEntry:ea.toJSON()}})}})}function ll(Y){if(performance&&"getEntriesByName"in performance){var et=performance.getEntriesByName(Y.url,"resource");if(et.length&&"toJSON"in et[0]){var en=et.map(function(Y){return Y.toJSON()}).filter(iD).filter(function(et){return ld(et,Y.startClocks.relative,lu({startTime:Y.startClocks.relative,duration:Y.duration}))});if(1===en.length)return en[0]}}}function lu(Y){return nu(Y.startTime,Y.duration)}function ld(Y,et,en){var ei=1;return Y.startTime>=et-ei&&lu(Y)<=nu(en,ei)}function lf(Y,et,en,ei){Y.subscribe(6,function(eo){Y.notify(10,lp(eo,et,en,ei))}),Y.subscribe(0,function(eo){for(var ea=0,eu=eo;ea<eu.length;ea++){var ec=eu[ea];"resource"!==ec.entryType||iN(ec)||Y.notify(10,lm(ec,et,en,ei))}})}function lp(Y,et,en,ei){var eo,ea="xhr"===Y.type?"xhr":"fetch",eu=ll(Y),ec=eu?t5(eu.startTime):Y.startClocks,ed=eu?lg(eu):void 0,ef=lv(Y,et),eh=lw(en,ec),ep=t6(Y.duration),em=l_(ei,ec,null!==(eo=null==eu?void 0:eu.duration)&&void 0!==eo?eo:Y.duration),eg=tS({date:ec.timeStamp,resource:{id:ng(),type:ea,duration:ep,method:Y.method,status_code:Y.status,url:Y.url},type:"resource"},ef,ed,eh,em);return{startTime:ec.relative,rawRumEvent:eg,domainContext:{performanceEntry:eu&&lb(eu),xhr:Y.xhr,response:Y.response,requestInput:Y.input,requestInit:Y.init,error:Y.error}}}function lm(Y,et,en,ei){var eo=iO(Y),ea=lg(Y),eu=t5(Y.startTime),ec=ly(Y,et),ed=lw(en,eu),ef=l_(ei,eu,Y.duration),eh=tS({date:eu.timeStamp,resource:{id:ng(),type:eo,url:Y.name},type:"resource"},ec,ea,ed,ef);return{startTime:eu.relative,rawRumEvent:eh,domainContext:{performanceEntry:lb(Y)}}}function lg(Y){return{resource:tt({duration:iL(Y),size:iz(Y)},iR(Y))}}function lv(Y,et){if(Y.traceSampled&&Y.traceId&&Y.spanId)return{_dd:{span_id:Y.spanId.toDecimalString(),trace_id:Y.traceId.toDecimalString(),rule_psr:lk(et)}}}function ly(Y,et){if(Y.traceId)return{_dd:{trace_id:Y.traceId,rule_psr:lk(et)}}}function lb(Y){return Y}function lk(Y){return tY(Y.traceSampleRate)?Y.traceSampleRate/100:void 0}function lw(Y,et){var en=Y.findTrackedSession(et.relative);return{_dd:{discarded:!en||!en.resourceAllowed}}}function l_(Y,et,en){if(rn(eu.RESOURCE_PAGE_STATES))return{_dd:{page_states:Y.findAll(et.relative,en),page_was_discarded:String(document.wasDiscarded)}}}function lE(Y){return void 0===Y&&(Y=window),e_||("hidden"===document.visibilityState?e_={timeStamp:0}:(e_={timeStamp:1/0},eE=ii(Y,["pagehide","visibilitychange"],function(Y){("pagehide"===Y.type||"hidden"===document.visibilityState)&&(e_.timeStamp=Y.timeStamp,eE())},{capture:!0}).stop)),e_}var lC=10*tX,lT=5*tX;function lS(Y,et,en){var ei={};function eo(Y){tt(ei,Y),en()}var ea=lA(Y,function(Y){et(Y.loadEvent),eo(Y)}).stop,eu=lM(Y,function(Y){return eo({firstContentfulPaint:Y})}).stop,ec=lP(Y,window,function(Y){eo({largestContentfulPaint:Y})}).stop,ed=lj(Y,function(Y){eo({firstInputDelay:Y.firstInputDelay,firstInputTime:Y.firstInputTime})}).stop;function ef(){ea(),eu(),ec(),ed()}return{stop:ef,timings:ei,scheduleStop:function(){tg(ef,lT)}}}function lA(Y,et){return{stop:Y.subscribe(0,function(Y){for(var en=0,ei=Y;en<ei.length;en++){var eo=ei[en];"navigation"===eo.entryType&&et({domComplete:eo.domComplete,domContentLoaded:eo.domContentLoadedEventEnd,domInteractive:eo.domInteractive,loadEvent:eo.loadEventEnd,firstByte:eo.responseStart>=0&&eo.responseStart<=nt()?eo.responseStart:void 0})}}).unsubscribe}}function lM(Y,et){var en=lE();return{stop:Y.subscribe(0,function(Y){var ei=eJ(Y,function(Y){return"paint"===Y.entryType&&"first-contentful-paint"===Y.name&&Y.startTime<en.timeStamp&&Y.startTime<lC});ei&&et(ei.startTime)}).unsubscribe}}function lP(Y,et,en){var ei=lE(),eo=1/0,ea=ii(et,["pointerdown","keydown"],function(Y){eo=Y.timeStamp},{capture:!0,once:!0}).stop,eu=Y.subscribe(0,function(Y){var et=e0(Y,function(Y){return"largest-contentful-paint"===Y.entryType&&Y.startTime<eo&&Y.startTime<ei.timeStamp&&Y.startTime<lC});et&&en(et.startTime)}).unsubscribe;return{stop:function(){ea(),eu()}}}function lj(Y,et){var en=lE();return{stop:Y.subscribe(0,function(Y){var ei=eJ(Y,function(Y){return"first-input"===Y.entryType&&Y.startTime<en.timeStamp});if(ei){var eo=na(ei.startTime,ei.processingStart);et({firstInputDelay:eo>=0?eo:0,firstInputTime:ei.startTime})}}).unsubscribe}}function lO(Y,et,en,ei,eo,ea){var eu,ec={},ed=lI(Y,et,en,eo,ea,function(Y){ec.loadingTime=Y,ei()}),ef=ed.stop,eh=ed.setLoadEvent;return lR()?(ec.cumulativeLayoutShift=0,eu=lN(Y,function(Y){ec.cumulativeLayoutShift=Y,ei()}).stop):eu=t_,{stop:function(){ef(),eu()},setLoadEvent:eh,viewMetrics:ec}}function lI(Y,et,en,ei,eo,ea){var eu="initial_load"===ei,ec=!0,ed=[];function ef(){ec||eu||!(ed.length>0)||ea(Math.max.apply(Math,ed))}return{stop:aS(Y,et,en,function(Y){ec&&(ec=!1,Y.hadActivity&&ed.push(na(eo.timeStamp,Y.end)),ef())}).stop,setLoadEvent:function(Y){eu&&(eu=!1,ed.push(Y),ef())}}}function lN(Y,et){var en=0,ei=lL();return{stop:Y.subscribe(0,function(Y){for(var eo=0,ea=Y;eo<ea.length;eo++){var eu=ea[eo];"layout-shift"===eu.entryType&&!eu.hadRecentInput&&(ei.update(eu),ei.value()>en&&et(tK(en=ei.value(),4)))}}).unsubscribe}}function lL(){var Y,et,en=0;return{update:function(ei){void 0===Y||ei.startTime-et>=tQ||ei.startTime-Y>=5*tQ?(Y=et=ei.startTime,en=ei.value):(en+=ei.value,et=ei.startTime)},value:function(){return en}}}function lR(){return i6("layout-shift")}var lD=5*tX;function lF(Y,et,en){var ei=a_({lifeCycle:Y,isChildEvent:function(Y){return Y.view.id===et},onChange:en}),eo=ei.stop;return{scheduleStop:function(){tg(eo,lD)},eventCounts:ei.eventCounts}}var lB=3e3,lz=5*tX;function lU(Y,et,en,ei,eo,ea,eu){var ec,ed=ef("initial_load",ni(),eu);function ef(eo,ea,eu){return lH(et,en,ei,Y,eo,ea,eu)}function eh(Y){return Y.subscribe(function(Y){lV(Y.oldLocation,Y.newLocation)&&(ed.end(),ed=ef("route_change"))})}return function(){et.subscribe(8,function(){ed=ef("route_change",void 0,{name:ed.name,service:ed.service,version:ed.version})}),et.subscribe(7,function(){ed.end({sessionIsActive:!1})}),et.subscribe(9,function(Y){(Y.reason===io.UNLOADING||Y.reason===io.PAGEHIDE)&&ed.end()})}(),ea&&(ec=eh(eo)),{addTiming:function(Y,et){void 0===et&&(et=t8()),ed.addTiming(Y,et)},startView:function(Y,et){ed.end({endClocks:et}),ed=ef("route_change",et,Y)},stop:function(){null==ec||ec.unsubscribe(),ed.end()}}}function lH(Y,et,en,ei,eo,ea,eu){void 0===ea&&(ea=nn());var ec,ed,ef,eh,ep=ng(),em={},eg=0,ey=ri(ei),eb=!0;eu&&(ed=eu.name,ef=eu.service,eh=eu.version),Y.notify(2,{id:ep,name:ed,startClocks:ea,service:ef,version:eh});var ek=tw(eL,lB,{leading:!1}),ew=ek.throttled,e_=ek.cancel,eE=lO(Y,et,en,ew,eo,ea),eC=eE.setLoadEvent,eT=eE.stop,eS=eE.viewMetrics,eA="initial_load"===eo?lS(Y,eC,ew):{scheduleStop:t_,timings:{}},eM=eA.scheduleStop,eP=eA.timings,ej=lF(Y,ep,ew),eO=ej.scheduleStop,eI=ej.eventCounts,eN=tb(eL,lz);function eL(){e_(),eg+=1;var et=void 0===ec?t8():ec.timeStamp;Y.notify(3,tt({customTimings:em,documentVersion:eg,id:ep,name:ed,service:ef,version:eh,loadingType:eo,location:ey,startClocks:ea,timings:eP,duration:na(ea.timeStamp,et),isActive:void 0===ec,sessionIsActive:eb,eventCounts:eI},eS))}return eL(),{name:ed,service:ef,version:eh,end:function(et){var en,ei;void 0===et&&(et={}),ec||(ec=null!==(en=et.endClocks)&&void 0!==en?en:nn(),eb=null===(ei=et.sessionIsActive)||void 0===ei||ei,Y.notify(4,{endClocks:ec}),tk(eN),eT(),eM(),eO(),eL())},addTiming:function(Y,et){if(!ec){var en=nh(et)?et:na(ea.timeStamp,et);em[lG(Y)]=en,ew()}}}}function lG(Y){var et=Y.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return et!==Y&&ez.warn("Invalid timing name: ".concat(Y,", sanitized to: ").concat(et)),et}function lV(Y,et){return Y.pathname!==et.pathname||!lW(et.hash)&&lq(et.hash)!==lq(Y.hash)}function lW(Y){var et=Y.substr(1);return!!document.getElementById(et)}function lq(Y){var et=Y.indexOf("?");return et<0?Y:Y.slice(0,et)}function lZ(Y,et,en,ei,eo,ea,eu,ec,ed){return Y.subscribe(3,function(et){return Y.notify(10,lK(et,ea,eu,ec))}),lU(en,Y,ei,et,eo,!et.trackViewsManually,ed)}function lK(Y,et,en,ei){var eo=ei.getReplayStats(Y.id),ea=en.findFeatureFlagEvaluations(Y.startClocks.relative),eu={_dd:{document_version:Y.documentVersion,replay_stats:eo},date:Y.startClocks.timeStamp,type:"view",view:{action:{count:Y.eventCounts.actionCount},frustration:{count:Y.eventCounts.frustrationCount},cumulative_layout_shift:Y.cumulativeLayoutShift,first_byte:t6(Y.timings.firstByte),dom_complete:t6(Y.timings.domComplete),dom_content_loaded:t6(Y.timings.domContentLoaded),dom_interactive:t6(Y.timings.domInteractive),error:{count:Y.eventCounts.errorCount},first_contentful_paint:t6(Y.timings.firstContentfulPaint),first_input_delay:t6(Y.timings.firstInputDelay),first_input_time:t6(Y.timings.firstInputTime),is_active:Y.isActive,name:Y.name,largest_contentful_paint:t6(Y.timings.largestContentfulPaint),load_event:t6(Y.timings.loadEvent),loading_time:l$(t6(Y.loadingTime)),loading_type:Y.loadingType,long_task:{count:Y.eventCounts.longTaskCount},resource:{count:Y.eventCounts.resourceCount},time_spent:t6(Y.duration),in_foreground_periods:et.selectInForegroundPeriodsFor(Y.startClocks.relative,Y.duration)},feature_flags:ea&&!ra(ea)?ea:void 0,session:{has_replay:!!eo||void 0,is_active:!!Y.sessionIsActive&&void 0}};return ra(Y.customTimings)||(eu.view.custom_timings=rs(Y.customTimings,t6)),{rawRumEvent:eu,startTime:Y.startClocks.relative,domainContext:{location:Y.location}}}function l$(Y){return tY(Y)&&Y<0?void 0:Y}var lY=/^([a-z]+)=([a-z0-9-]+)$/,lQ="&",lX="_dd_s",lJ=10,l0=100,l9=[];function l5(Y,et){if(void 0===et&&(et=0),eC||(eC=Y),Y!==eC){l9.push(Y);return}if(et>=l0){l6();return}var en,ei,eo=un();if(l4()&&(eo.lock||(ei=ng(),eo.lock=ei,l8(eo,Y.options),(eo=un()).lock!==ei))){l3(Y,et);return}var ea=Y.process(eo);if(l4()&&(eo=un()).lock!==ei){l3(Y,et);return}if(ea&&l7(ea,Y.options),l4()&&!(ea&&uo(ea))){if((eo=un()).lock!==ei){l3(Y,et);return}delete eo.lock,l8(eo,Y.options),ea=eo}null===(en=Y.after)||void 0===en||en.call(Y,ea||eo),l6()}function l4(){return aU()}function l3(Y,et){tg(function(){l5(Y,et+1)},lJ)}function l6(){eC=void 0;var Y=l9.shift();Y&&l5(Y)}function l7(Y,et){if(uo(Y)){ur(et);return}Y.expire=String(t7()+oW),l8(Y,et)}function l8(Y,et){nx(lX,ut(Y),oW,et)}function ut(Y){return e4(Y).map(function(Y){var et=Y[0],en=Y[1];return"".concat(et,"=").concat(en)}).join(lQ)}function un(){var Y=nk(lX),et={};return ui(Y)&&Y.split(lQ).forEach(function(Y){var en=lY.exec(Y);if(null!==en){var ei=en[1],eo=en[2];et[ei]=eo}}),et}function ur(Y){nw(lX,Y)}function ui(Y){return void 0!==Y&&(-1!==Y.indexOf(lQ)||lY.test(Y))}function uo(Y){return ra(Y)}var ua="_dd",us="_dd_r",ul="_dd_l",uu="rum",uc="logs";function ud(Y){var et=nk(lX),en=nk(ua),ei=nk(us),eo=nk(ul);if(!et){var ea={};en&&(ea.id=en),eo&&/^[01]$/.test(eo)&&(ea[uc]=eo),ei&&/^[012]$/.test(ei)&&(ea[uu]=ei),l7(ea,Y)}}function uf(Y,et,en){var ei=new r7,eo=new r7,ea=tb(ed,nb),eu=eb();function ec(){l5({options:Y,process:function(Y){return ep()?ef(Y):void 0}})}function ed(){l5({options:Y,process:function(Y){return ek(Y)?void 0:{}},after:ef})}function ef(Y){return ek(Y)||(Y={}),ep()&&(em(Y)?eg():eu=Y),Y}function eh(Y){var ei=en(Y[et]),eo=ei.trackingType,ea=ei.isTracked;return Y[et]=eo,ea&&!Y.id&&(Y.id=ng(),Y.created=String(t7())),ea}function ep(){return void 0!==eu[et]}function em(Y){return eu.id!==Y.id||eu[et]!==Y[et]}function eg(){eu={},eo.notify()}function ey(Y){eu=Y,ei.notify()}function eb(){var Y=un();return ek(Y)?Y:{}}function ek(Y){return(void 0===Y.created||t7()-Number(Y.created)<oV)&&(void 0===Y.expire||t7()<Number(Y.expire))}return{expandOrRenewSession:tw(function(){var et;l5({options:Y,process:function(Y){var en=ef(Y);return et=eh(en),en},after:function(Y){et&&!ep()&&ey(Y),eu=Y}})},nb).throttled,expandSession:ec,getSession:function(){return eu},renewObservable:ei,expireObservable:eo,expire:function(){ur(Y),ef({})},stop:function(){tk(ea)}}}var uh=tX,up=oV,um=[];function ug(Y,et,en){ud(Y);var ei=uf(Y,et,en);um.push(function(){return ei.stop()});var eo=new oK(up);function ea(){return{id:ei.getSession().id,trackingType:ei.getSession()[et]}}return um.push(function(){return eo.stop()}),ei.renewObservable.subscribe(function(){eo.add(ea(),nt())}),ei.expireObservable.subscribe(function(){eo.closeActive(nt())}),ei.expandOrRenewSession(),eo.add(ea(),ni().relative),uv(function(){return ei.expandOrRenewSession()}),uy(function(){return ei.expandSession()}),{findActiveSession:function(Y){return eo.find(Y)},renewObservable:ei.renewObservable,expireObservable:ei.expireObservable,expire:ei.expire}}function uv(Y){var et=ii(window,["click","touchstart","keydown","scroll"],Y,{capture:!0,passive:!0}).stop;um.push(et)}function uy(Y){var et=function(){"visible"===document.visibilityState&&Y()},en=ir(document,"visibilitychange",et).stop;um.push(en);var ei=tb(et,uh);um.push(function(){tk(ei)})}var ub="rum";function ux(Y,et){var en=ug(Y.cookieOptions,ub,function(et){return uw(Y,et)});return en.expireObservable.subscribe(function(){et.notify(7)}),en.renewObservable.subscribe(function(){et.notify(8)}),{findTrackedSession:function(et){var ei=en.findActiveSession(et);if(ei&&uE(ei.trackingType)){var eo="1"===ei.trackingType?2:1;return{id:ei.id,plan:eo,sessionReplayAllowed:2===eo,longTaskAllowed:void 0!==Y.trackLongTasks?Y.trackLongTasks:Y.oldPlansBehavior&&2===eo,resourceAllowed:void 0!==Y.trackResources?Y.trackResources:Y.oldPlansBehavior&&2===eo}}},expire:en.expire,expireObservable:en.expireObservable}}function uk(){var Y={id:"00000000-aaaa-0000-aaaa-000000000000",plan:1,sessionReplayAllowed:!1,longTaskAllowed:!0,resourceAllowed:!0};return{findTrackedSession:function(){return Y},expire:t_,expireObservable:new r7}}function uw(Y,et){var en;return{trackingType:en=u_(et)?et:tZ(Y.sessionSampleRate)?tZ(Y.sessionReplaySampleRate)?"1":"2":"0",isTracked:uE(en)}}function u_(Y){return"0"===Y||"1"===Y||"2"===Y}function uE(Y){return"2"===Y||"1"===Y}function uC(Y){var et,en=Y.messagesLimit,ei=Y.bytesLimit,eo=Y.durationLimit,ea=Y.pageExitObservable,eu=Y.sessionExpireObservable,ec=new r7;ea.subscribe(function(Y){return eh(Y.reason)}),eu.subscribe(function(){return eh("session_expire")});var ed=0,ef=0;function eh(Y){if(0!==ef){var et=ef,en=ed;ef=0,ed=0,em(),ec.notify({reason:Y,messagesCount:et,bytesCount:en})}}function ep(){void 0===et&&(et=tg(function(){eh("duration_limit")},eo))}function em(){tv(et),et=void 0}return{flushObservable:ec,get messagesCount(){return ef},notifyBeforeAddMessage:function(Y){ed+Y>=ei&&eh("bytes_limit"),ef+=1,ed+=Y,ep()},notifyAfterAddMessage:function(){ef>=en?eh("messages_limit"):ed>=ei&&eh("bytes_limit")},notifyAfterRemoveMessage:function(Y){ed-=Y,0==(ef-=1)&&em()}}}var uT=function(){function Y(Y,et,en){var ei=this;this.request=Y,this.flushController=et,this.messageBytesLimit=en,this.pushOnlyBuffer=[],this.upsertBuffer={},this.flushController.flushObservable.subscribe(function(Y){return ei.flush(Y)})}return Y.prototype.add=function(Y){this.addOrUpdate(Y)},Y.prototype.upsert=function(Y,et){this.addOrUpdate(Y,et)},Y.prototype.flush=function(Y){var et=this.pushOnlyBuffer.concat(e5(this.upsertBuffer));this.pushOnlyBuffer=[],this.upsertBuffer={};var en={data:et.join("\n"),bytesCount:Y.bytesCount,flushReason:Y.reason};il(Y.reason)?this.request.sendOnExit(en):this.request.send(en)},Y.prototype.addOrUpdate=function(Y,et){var en=this.process(Y),ei=en.processedMessage,eo=en.messageBytesCount;if(eo>=this.messageBytesLimit){ez.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(et)&&this.remove(et),this.push(ei,eo,et)},Y.prototype.process=function(Y){var et=tM(Y),en=tp(et);return{processedMessage:et,messageBytesCount:en}},Y.prototype.push=function(Y,et,en){var ei=this.flushController.messagesCount>0?1:0;this.flushController.notifyBeforeAddMessage(et+ei),void 0!==en?this.upsertBuffer[en]=Y:this.pushOnlyBuffer.push(Y),this.flushController.notifyAfterAddMessage()},Y.prototype.remove=function(Y){var et=this.upsertBuffer[Y];delete this.upsertBuffer[Y];var en=tp(et),ei=this.flushController.messagesCount>1?1:0;this.flushController.notifyAfterRemoveMessage(en+ei)},Y.prototype.hasMessageFor=function(Y){return void 0!==Y&&void 0!==this.upsertBuffer[Y]},Y}(),uS=80*td,uA=32,uM=3*tf,uP=tX,uj=tQ;function uO(Y,et,en,ei,eo){0===et.transportStatus&&0===et.queuedPayloads.size()&&et.bandwidthMonitor.canHandle(Y)?uN(Y,et,en,{onSuccess:function(){return uL(0,et,en,ei,eo)},onFailure:function(){et.queuedPayloads.enqueue(Y),uI(et,en,ei,eo)}}):et.queuedPayloads.enqueue(Y)}function uI(Y,et,en,ei){2===Y.transportStatus&&tg(function(){uN(Y.queuedPayloads.first(),Y,et,{onSuccess:function(){Y.queuedPayloads.dequeue(),Y.currentBackoffTime=uj,uL(1,Y,et,en,ei)},onFailure:function(){Y.currentBackoffTime=Math.min(uP,2*Y.currentBackoffTime),uI(Y,et,en,ei)}})},Y.currentBackoffTime)}function uN(Y,et,en,ei){var eo=ei.onSuccess,ea=ei.onFailure;et.bandwidthMonitor.add(Y),en(Y,function(en){et.bandwidthMonitor.remove(Y),uR(en)?(et.transportStatus=et.bandwidthMonitor.ongoingRequestCount>0?1:2,Y.retry={count:Y.retry?Y.retry.count+1:1,lastFailureStatus:en.status},ea()):(et.transportStatus=0,eo())})}function uL(Y,et,en,ei,eo){0===Y&&et.queuedPayloads.isFull()&&!et.queueFullReported&&(eo({message:"Reached max ".concat(ei," events size queued for upload: ").concat(uM/tf,"MiB"),source:ou.AGENT,startClocks:nn()}),et.queueFullReported=!0);var ea=et.queuedPayloads;for(et.queuedPayloads=uF();ea.size()>0;)uO(ea.dequeue(),et,en,ei,eo)}function uR(Y){return"opaque"!==Y.type&&(0===Y.status&&!navigator.onLine||408===Y.status||429===Y.status||au(Y.status))}function uD(){return{transportStatus:0,currentBackoffTime:uj,bandwidthMonitor:uB(),queuedPayloads:uF(),queueFullReported:!1}}function uF(){var Y=[];return{bytesCount:0,enqueue:function(et){this.isFull()||(Y.push(et),this.bytesCount+=et.bytesCount)},first:function(){return Y[0]},dequeue:function(){var et=Y.shift();return et&&(this.bytesCount-=et.bytesCount),et},size:function(){return Y.length},isFull:function(){return this.bytesCount>=uM}}}function uB(){return{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(Y){return 0===this.ongoingRequestCount||this.ongoingByteCount+Y.bytesCount<=uS&&this.ongoingRequestCount<uA},add:function(Y){this.ongoingRequestCount+=1,this.ongoingByteCount+=Y.bytesCount},remove:function(Y){this.ongoingRequestCount-=1,this.ongoingByteCount-=Y.bytesCount}}}function uz(Y,et,en){var ei=uD(),eo=function(en,ei){return uV(Y,et,en,ei)};return{send:function(et){uO(et,ei,eo,Y.endpointType,en)},sendOnExit:function(en){uU(Y,et,en)}}}function uU(Y,et,en){var ei=en.data,eo=en.bytesCount,ea=en.flushReason;if(navigator.sendBeacon&&eo<et)try{var eu=Y.build("beacon",ea);if(navigator.sendBeacon(eu,ei))return}catch(Y){uG(Y)}uq(Y.build("xhr",ea),ei)}var uH=!1;function uG(Y){uH||(uH=!0,iw(Y))}function uV(Y,et,en,ei){var eo=en.data,ea=en.bytesCount,eu=en.flushReason,ec=en.retry;if(uW()&&ea<et){var ed=Y.build("fetch",eu,ec);fetch(ed,{method:"POST",body:eo,keepalive:!0,mode:"cors"}).then(eK(function(Y){return null==ei?void 0:ei({status:Y.status,type:Y.type})}),eK(function(){uq(Y.build("xhr",eu,ec),eo,ei)}))}else uq(Y.build("xhr",eu,ec),eo,ei)}function uW(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(Y){return!1}}function uq(Y,et,en){var ei=new XMLHttpRequest;ei.open("POST",Y,!0),ir(ei,"loadend",function(){null==en||en({status:ei.status})},{once:!0}),ei.send(et)}function uZ(Y,et,en,ei,eo,ea){var eu=uK(Y,ei,eo,ea);return et.subscribe(11,function(Y){"view"===Y.type?eu.upsert(Y,Y.view.id):eu.add(Y)}),en.subscribe(function(et){return eu.add(et,ib(Y))}),eu}function uK(Y,et,en,ei){var eo,ea=ef(Y.rumEndpointBuilder),eu=ea.batch,ec=ea.flushController,ed=Y.replica;function ef(eo){var ea=uC({messagesLimit:Y.batchMessagesLimit,bytesLimit:Y.batchBytesLimit,durationLimit:Y.flushTimeout,pageExitObservable:en,sessionExpireObservable:ei});return{batch:new uT(uz(eo,Y.batchBytesLimit,et),ea,Y.messageBytesLimit),flushController:ea}}function eh(Y){return tS(Y,{application:{id:ed.applicationId}})}return void 0!==ed&&(eo=ef(ed.rumEndpointBuilder).batch),{flushObservable:ec.flushObservable,add:function(Y,et){void 0===et&&(et=!0),eu.add(Y),eo&&et&&eo.add(eh(Y))},upsert:function(Y,et){eu.upsert(Y,et),eo&&eo.upsert(eh(Y),et)}}}function u$(Y){var et=nj();Y.subscribe(11,function(Y){et.send("rum",Y)})}var uY=oV;function uQ(Y,et,en){var ei,eo=new oK(uY);Y.subscribe(4,function(Y){var et=Y.endClocks;eo.closeActive(et.relative)}),Y.subscribe(2,function(Y){var et=Y.startClocks,ea=en.href;eo.add(eu({url:ea,referrer:ei||document.referrer}),et.relative),ei=ea});var ea=et.subscribe(function(Y){var et=Y.newLocation,en=eo.find();if(en){var ei=nt();eo.closeActive(ei),eo.add(eu({url:et.href,referrer:en.referrer}),ei)}});function eu(Y){return{url:Y.url,referrer:Y.referrer}}return{findUrl:function(Y){return eo.find(Y)},stop:function(){ea.unsubscribe(),eo.stop()}}}function uX(Y){var et=ri(Y),en=new r7(function(){var Y=uJ(ei).stop,et=u2(ei).stop;return function(){Y(),et()}});function ei(){if(et.href!==Y.href){var ei=ri(Y);en.notify({newLocation:ei,oldLocation:et}),et=ei}}return en}function uJ(Y){var et=o0(history,"pushState",{after:Y}).stop,en=o0(history,"replaceState",{after:Y}).stop,ei=ir(window,"popstate",Y).stop;return{stop:function(){et(),en(),ei()}}}function u2(Y){return ir(window,"hashchange",Y)}var u9=oV,u5=200;function u4(Y,et){if(void 0===et&&(et=tp),!rn(eu.FEATURE_FLAGS))return{findFeatureFlagEvaluations:function(){},getFeatureFlagBytesCount:function(){return 0},addFeatureFlagEvaluation:t_,stop:t_};var en=new oK(u9),ei=0,eo=!1;Y.subscribe(4,function(Y){var et=Y.endClocks;en.closeActive(et.relative)}),Y.subscribe(2,function(Y){var et=Y.startClocks;en.add({},et.relative),ei=0});var ea=tw(function(Y){ei=et(tM(Y)),eo||(eo=tH(ei,"feature flag evaluation"))},u5),ec=ea.throttled;return{findFeatureFlagEvaluations:function(Y){return en.find(Y)},getFeatureFlagBytesCount:function(){return en.find()?ei:0},addFeatureFlagEvaluation:function(Y,et){var ei=en.find();ei&&(ei[Y]=et,ec(ei))},stop:ea.cancel}}var u3=10*tQ;function u6(Y,et,en,ei,eo,ea,eu){et.enabled&&tZ(Y.customerDataTelemetrySampleRate)&&(cl(),cu(),en.subscribe(11,function(Y){eA=!0,cr(eS.globalContextBytes,ra(ei.get())?0:ei.getBytesCount()),cr(eS.userContextBytes,ra(eo.get())?0:eo.getBytesCount());var et=ea.findFeatureFlagEvaluations(),en=eQ(["view","error"],Y.type)&&et&&!ra(et);cr(eS.featureFlagBytes,en?ea.getFeatureFlagBytesCount():0)}),eu.subscribe(function(Y){var et=Y.bytesCount,en=Y.messagesCount;eA&&(eT.batchCount+=1,cr(eT.batchBytesCount,et),cr(eT.batchMessagesCount,en),co(eT.globalContextBytes,eS.globalContextBytes),co(eT.userContextBytes,eS.userContextBytes),co(eT.featureFlagBytes,eS.featureFlagBytes),cu())}),tb(u7,u3))}function u7(){0!==eT.batchCount&&(ix("Customer data measures",eT),cl())}function u8(){return{min:1/0,max:0,sum:0}}function cr(Y,et){Y.sum+=et,Y.min=Math.min(Y.min,et),Y.max=Math.max(Y.max,et)}function co(Y,et){Y.sum+=et.sum,Y.min=Math.min(Y.min,et.min),Y.max=Math.max(Y.max,et.max)}function cl(){eT={batchCount:0,batchBytesCount:u8(),batchMessagesCount:u8(),globalContextBytes:u8(),userContextBytes:u8(),featureFlagBytes:u8()}}function cu(){eA=!1,eS={globalContextBytes:u8(),userContextBytes:u8(),featureFlagBytes:u8()}}var cf=500,cm=[];function cg(){return cw(cy()),{findAll:function(Y,et){for(var en=[],ei=nu(Y,et),eo=cm.length-1;eo>=0;eo--){var ea=cm[eo].startTime;if(!(ea>=ei)&&(en.unshift(cm[eo]),ea<Y))break}return en.length?en:void 0},stop:ii(window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],function(Y){Y.isTrusted&&("freeze"===Y.type?cw("frozen"):"pagehide"===Y.type?cw(Y.persisted?"frozen":"terminated"):cw(cy()))},{capture:!0}).stop}}function cy(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function cw(Y,et){void 0===et&&(et=cf),Y!==eM&&(eM=Y,cm.length===et&&cm.shift(),cm.push({state:eM,startTime:nt()}))}function c_(Y,et,en,ei,eo,ea){var eu=new oG;eu.subscribe(11,function(Y){return r6("rum",Y)});var ec=cE(et);ec.setContextProvider(function(){var Y,en;return{application:{id:et.applicationId},session:{id:null===(Y=ep.findTrackedSession())||void 0===Y?void 0:Y.id},view:{id:null===(en=ek.findView())||void 0===en?void 0:en.id},action:{id:eE.findActionId()}}});var ed=function(Y){eu.notify(12,{error:Y})},ef=u4(eu),eh=ia();eh.subscribe(function(Y){eu.notify(9,Y)});var ep=nO()?uk():ux(et,eu);if(nO())u$(eu);else{var em=uZ(et,eu,ec.observable,ed,eh,ep.expireObservable);u6(et,ec,eu,ei,eo,ef,em.flushObservable)}var eg=iS(),ey=uX(location),eb=cC(eu,et,location,ep,ey,eg,function(){return r4(ei,eo,en)},ed),ek=eb.viewContexts,ew=eb.foregroundContexts,e_=eb.urlContexts,eE=eb.actionContexts,eC=eb.addAction;i_(r5(Y)),ls(eu,ep),lf(eu,et,ep,cg());var eT=lZ(eu,et,location,eg,ey,ew,ef,en,ea),eS=eT.addTiming,eA=eT.startView,eM=lr(eu,ew,ef).addError;ap(eu,et,ep),i7(eu,et);var eP=oH(et.applicationId,ep,ek,eE,e_);return{addAction:eC,addError:eM,addTiming:eS,addFeatureFlagEvaluation:ef.addFeatureFlagEvaluation,startView:eA,lifeCycle:eu,viewContexts:ek,session:ep,stopSession:function(){return ep.expire()},getInternalContext:eP.get}}function cE(Y){var et=iy("browser-rum-sdk",Y);if(nO()){var en=nj();et.observable.subscribe(function(Y){return en.send("internal_telemetry",Y)})}return et}function cC(Y,et,en,ei,eo,ea,eu,ec){var ed=oQ(Y),ef=uQ(Y,eo,en),eh=oL(),ep=sD(Y,ea,et,eh),em=ep.addAction,eg=ep.actionContexts;return oM(et,Y,ei,ed,ef,eg,eu,ec),{viewContexts:ed,foregroundContexts:eh,urlContexts:ef,addAction:em,actionContexts:eg,stop:function(){ed.stop(),eh.stop()}}}function cT(Y,et){var en=et.session,ei=et.viewContext,eo=et.errorType,ea=en?en.id:"no-session-id",eu=[];void 0!==eo&&eu.push("error-type=".concat(eo)),ei&&(eu.push("seed=".concat(ei.id)),eu.push("from=".concat(ei.startClocks.timeStamp)));var ec=cS(Y),ed="/rum/replay/sessions/".concat(ea);return"".concat(ec).concat(ed,"?").concat(eu.join("&"))}function cS(Y){var et=Y.site,en=Y.subdomain||cA(Y);return"https://".concat(en?"".concat(en,"."):"").concat(et)}function cA(Y){switch(Y.site){case rk:case r_:return"app";case rb:return"dd";default:return}}var cM={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8,FrustrationRecord:9},cP={Document:0,DocumentType:1,Element:2,Text:3,CDATA:4,DocumentFragment:11},cj={Mutation:0,MouseMove:1,MouseInteraction:2,Scroll:3,ViewportResize:4,Input:5,TouchMove:6,MediaInteraction:7,StyleSheetRule:8},cO={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},cI={Play:0,Pause:1};function cN(Y,et){return{data:tt({source:Y},et),type:cM.IncrementalSnapshot,timestamp:t8()}}var cL={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:rB.ALLOW,MASK:rB.MASK,MASK_USER_INPUT:rB.MASK_USER_INPUT},cR="data-dd-privacy",cD="allow",cF="mask",cB="mask-user-input",cz="hidden",cU="dd-privacy-allow",cH="dd-privacy-mask",cG="dd-privacy-mask-user-input",cV="dd-privacy-hidden",cW="***",cq="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",cZ={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},cK=1e5,c$="x";function cY(Y,et){var en=iK(Y),ei=en?cY(en,et):et;return cQ(cX(Y),ei)}function cQ(Y,et){switch(et){case cL.HIDDEN:case cL.IGNORE:return et}switch(Y){case cL.ALLOW:case cL.MASK:case cL.MASK_USER_INPUT:case cL.HIDDEN:case cL.IGNORE:return Y;default:return et}}function cX(Y){if(iV(Y)){var et=Y.getAttribute(cR);if("BASE"===Y.tagName)return cL.ALLOW;if("INPUT"===Y.tagName){var en=Y;if("password"===en.type||"email"===en.type||"tel"===en.type||"hidden"===en.type)return cL.MASK;var ei=en.getAttribute("autocomplete");if(ei&&0===ei.indexOf("cc-"))return cL.MASK}return et===cz||Y.classList.contains(cV)?cL.HIDDEN:et===cF||Y.classList.contains(cH)?cL.MASK:et===cB||Y.classList.contains(cG)?cL.MASK_USER_INPUT:et===cD||Y.classList.contains(cU)?cL.ALLOW:c4(Y)?cL.IGNORE:void 0}}function cJ(Y,et){switch(et){case cL.MASK:case cL.HIDDEN:case cL.IGNORE:return!0;case cL.MASK_USER_INPUT:return iH(Y)?c0(Y.parentNode):c0(Y);default:return!1}}function c0(Y){if(!Y||Y.nodeType!==Y.ELEMENT_NODE)return!1;var et=Y;if("INPUT"===et.tagName)switch(et.type){case"button":case"color":case"reset":case"submit":return!1}return!!cZ[et.tagName]}var c9=function(Y){return Y.replace(/\S/g,c$)};function c5(Y,et,en){var ei,eo=null===(ei=Y.parentElement)||void 0===ei?void 0:ei.tagName,ea=Y.textContent||"";if(!et||ea.trim()){var eu=en,ec="STYLE"===eo||void 0;if("SCRIPT"===eo)ea=cW;else if(eu===cL.HIDDEN)ea=cW;else if(cJ(Y,eu)&&!ec){if("DATALIST"===eo||"SELECT"===eo||"OPTGROUP"===eo){if(!ea.trim())return}else ea="OPTION"===eo?cW:c9(ea)}return ea}}function c4(Y){if("SCRIPT"===Y.nodeName)return!0;if("LINK"===Y.nodeName){var et=eo("rel");return/preload|prefetch/i.test(et)&&"script"===eo("as")||"shortcut icon"===et||"icon"===et}if("META"===Y.nodeName){var en=eo("name"),et=eo("rel"),ei=eo("property");return/^msapplication-tile(image|color)$/.test(en)||"application-name"===en||"icon"===et||"apple-touch-icon"===et||"shortcut icon"===et||"keywords"===en||"description"===en||/^(og|twitter|fb):/.test(ei)||/^(og|twitter):/.test(en)||"pinterest"===en||"robots"===en||"googlebot"===en||"bingbot"===en||Y.hasAttribute("http-equiv")||"author"===en||"generator"===en||"framework"===en||"publisher"===en||"progid"===en||/^article:/.test(ei)||/^product:/.test(ei)||"google-site-verification"===en||"yandex-verification"===en||"csrf-token"===en||"p:domain_verify"===en||"verify-v1"===en||"verification"===en||"shopify-checkout-api-token"===en}function eo(et){return(Y.getAttribute(et)||"").toLowerCase()}return!1}var c6=new WeakMap;function c7(Y){return c6.has(Y)}function c8(Y){for(var et=Y;et;){if(!c7(et)&&!iq(et))return!1;et=iK(et)}return!0}function dn(Y){return c6.get(Y)}function dr(Y,et){c6.set(Y,et)}function di(Y,et){var en=Y.tagName,ei=Y.value;if(cJ(Y,et)){var eo=Y.type;if("INPUT"===en&&("button"===eo||"submit"===eo||"reset"===eo))return ei;if(!ei||"OPTION"===en)return;return cW}return"OPTION"===en||"SELECT"===en?Y.value:"INPUT"===en||"TEXTAREA"===en?ei:void 0}var ds=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,dl=/^[A-Za-z]+:|^\/\//,du=/^data:.*,/i;function dd(Y,et){return Y.replace(ds,function(Y,en,ei,eo,ea,eu){var ec=ei||ea||eu;if(!et||!ec||dl.test(ec)||du.test(ec))return Y;var ed=en||eo||"";return"url(".concat(ed).concat(df(ec,et)).concat(ed,")")})}function df(Y,et){try{return rp(Y,et).href}catch(et){return Y}}var dh=/[^a-z1-6-_]/;function dp(Y){var et=Y.toLowerCase().trim();return dh.test(et)?"div":et}function dm(Y){if(void 0!==Y&&0!==Y.length)return Y.map(function(Y){return{cssRules:Array.from(Y.cssRules||Y.rules,function(Y){return Y.cssText}),disabled:Y.disabled||void 0,media:Y.media.length>0?Array.from(Y.media):void 0}})}function dg(Y,et,en,ei){if(et===cL.HIDDEN)return null;var eo=Y.getAttribute(en);if(et===cL.MASK&&en!==cR&&!a4.includes(en)&&en!==ei.actionNameAttribute){var ea=Y.tagName;switch(en){case"title":case"alt":case"placeholder":return cW}if(("IMG"===ea||"SOURCE"===ea)&&("src"===en||"srcset"===en))return cq;if("A"===ea&&"href"===en||eo&&e3(en,"data-"))return cW}return eo&&"string"==typeof eo&&eo.length>cK&&"data:"===eo.slice(0,5)?"data:truncated":eo}function dv(Y,et,en){if(et===cL.HIDDEN)return{};for(var ei,eo,ea,eu={},ec=dp(Y.tagName),ed=Y.ownerDocument,ef=0;ef<Y.attributes.length;ef+=1){var eh=Y.attributes.item(ef).name,ep=dg(Y,et,eh,en.configuration);null!==ep&&(eu[eh]=ep)}if(Y.value&&("textarea"===ec||"select"===ec||"option"===ec||"input"===ec)){var em=di(Y,et);void 0!==em&&(eu.value=em)}if("option"===ec&&et===cL.ALLOW){var eg=Y;eg.selected&&(eu.selected=eg.selected)}if("link"===ec){var ey=Array.from(ed.styleSheets).find(function(et){return et.href===Y.href}),eb=db(ey);eb&&ey&&(eu._cssText=eb)}if("style"===ec&&Y.sheet&&!(Y.innerText||Y.textContent||"").trim().length){var eb=db(Y.sheet);eb&&(eu._cssText=eb)}var ek=Y;if("input"===ec&&("radio"===ek.type||"checkbox"===ek.type)&&(et===cL.ALLOW?eu.checked=!!ek.checked:cJ(ek,et)&&delete eu.checked),"audio"===ec||"video"===ec){var ew=Y;eu.rr_mediaState=ew.paused?"paused":"played"}var e_=en.serializationContext;switch(e_.status){case 0:eo=Math.round(Y.scrollTop),ea=Math.round(Y.scrollLeft),(eo||ea)&&e_.elementsScrollPositions.set(Y,{scrollTop:eo,scrollLeft:ea});break;case 1:e_.elementsScrollPositions.has(Y)&&(eo=(ei=e_.elementsScrollPositions.get(Y)).scrollTop,ea=ei.scrollLeft)}return ea&&(eu.rr_scrollLeft=ea),eo&&(eu.rr_scrollTop=eo),eu}function db(Y){var et;if(!Y)return null;try{et=Y.rules||Y.cssRules}catch(Y){}return et?dd(Array.from(et,dk).join(""),Y.href):null}function dk(Y){return dw(Y)?db(Y.styleSheet)||"":Y.cssText}function dw(Y){return"styleSheet"in Y}function d_(Y,et){var en=dS(Y,et);if(!en)return null;var ei=dn(Y)||dC(),eo=en;return eo.id=ei,dr(Y,ei),et.serializedNodeIds&&et.serializedNodeIds.add(ei),eo}var dE=1;function dC(){return dE++}function dT(Y,et){var en=[];return Y.childNodes.forEach(function(Y){var ei=d_(Y,et);ei&&en.push(ei)}),en}function dS(Y,et){switch(Y.nodeType){case Y.DOCUMENT_NODE:return dA(Y,et);case Y.DOCUMENT_FRAGMENT_NODE:return dM(Y,et);case Y.DOCUMENT_TYPE_NODE:return dP(Y);case Y.ELEMENT_NODE:return dj(Y,et);case Y.TEXT_NODE:return dI(Y,et);case Y.CDATA_SECTION_NODE:return dN()}}function dA(Y,et){return{type:cP.Document,childNodes:dT(Y,et),adoptedStyleSheets:dm(Y.adoptedStyleSheets)}}function dM(Y,et){var en=[];Y.childNodes.length&&(en=dT(Y,et));var ei=iq(Y);return ei&&et.serializationContext.shadowRootsController.addShadowRoot(Y),{type:cP.DocumentFragment,childNodes:en,isShadowRoot:ei,adoptedStyleSheets:ei?dm(Y.adoptedStyleSheets):void 0}}function dP(Y){return{type:cP.DocumentType,name:Y.name,publicId:Y.publicId,systemId:Y.systemId}}function dj(Y,et){var en,ei=dp(Y.tagName),eo=dO(Y)||void 0,ea=cQ(cX(Y),et.parentNodePrivacyLevel);if(ea===cL.HIDDEN){var eu=Y.getBoundingClientRect(),ec=eu.width,ed=eu.height;return{type:cP.Element,tagName:ei,attributes:((en={rr_width:"".concat(ec,"px"),rr_height:"".concat(ed,"px")})[cR]=cz,en),childNodes:[],isSVG:eo}}if(ea!==cL.IGNORE){var ef=dv(Y,ea,et),eh=[];if(Y.childNodes.length){var ep=void 0;ep=et.parentNodePrivacyLevel===ea&&et.ignoreWhiteSpace===("head"===ei)?et:tt({},et,{parentNodePrivacyLevel:ea,ignoreWhiteSpace:"head"===ei}),eh=dT(Y,ep)}if(iW(Y)){var em=d_(Y.shadowRoot,et);null!==em&&eh.push(em)}return{type:cP.Element,tagName:ei,attributes:ef,childNodes:eh,isSVG:eo}}}function dO(Y){return"svg"===Y.tagName||Y instanceof SVGElement}function dI(Y,et){var en,ei=null===(en=Y.parentElement)||void 0===en?void 0:en.tagName,eo=c5(Y,et.ignoreWhiteSpace||!1,et.parentNodePrivacyLevel);if(void 0!==eo)return{type:cP.Text,textContent:eo,isStyle:"STYLE"===ei||void 0}}function dN(){return{type:cP.CDATA,textContent:""}}function dL(Y,et,en){return d_(Y,{serializationContext:en,parentNodePrivacyLevel:et.defaultPrivacyLevel,configuration:et})}function dR(Y){return!!Y.changedTouches}function dD(Y){return!0===Y.composed&&iW(Y.target)?Y.composedPath()[0]:Y.target}var dF=25;function dB(Y){return Math.abs(Y.pageTop-Y.offsetTop-window.scrollY)>dF||Math.abs(Y.pageLeft-Y.offsetLeft-window.scrollX)>dF}var dz=function(Y,et){var en=window.visualViewport,ei={layoutViewportX:Y,layoutViewportY:et,visualViewportX:Y,visualViewportY:et};return en&&(dB(en)?(ei.layoutViewportX=Math.round(Y+en.offsetLeft),ei.layoutViewportY=Math.round(et+en.offsetTop)):(ei.visualViewportX=Math.round(Y-en.offsetLeft),ei.visualViewportY=Math.round(et-en.offsetTop))),ei},dU=function(Y){return{scale:Y.scale,offsetLeft:Y.offsetLeft,offsetTop:Y.offsetTop,pageLeft:Y.pageLeft,pageTop:Y.pageTop,height:Y.height,width:Y.width}};function dH(){var Y,et=window.visualViewport;return Math.round(Y=et?et.pageLeft-et.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0)}function dG(){var Y,et=window.visualViewport;return Math.round(Y=et?et.pageTop-et.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0)}var dV=50;function dW(Y){var et=tw(function(et){var en=dD(et);if(c7(en)){var ei=dq(et);if(!ei)return;Y([{id:dn(en),timeOffset:0,x:ei.x,y:ei.y}],dR(et)?cj.TouchMove:cj.MouseMove)}},dV,{trailing:!1}).throttled;return ii(document,["mousemove","touchmove"],et,{capture:!0,passive:!0}).stop}function dq(Y){var et=dR(Y)?Y.changedTouches[0]:Y,en=et.clientX,ei=et.clientY;if(window.visualViewport){var eo=dz(en,ei),ea=eo.visualViewportX,eu=eo.visualViewportY;en=ea,ei=eu}if(!Number.isFinite(en)||!Number.isFinite(ei)){Y.isTrusted&&ix("mouse/touch event without x/y");return}return{x:en,y:ei}}var dZ=100;function dK(Y,et,en){var ei=tw(function(ei){var eo=dD(ei);if(eo&&cY(eo,et)!==cL.HIDDEN&&c7(eo)){var ea=dn(eo),eu=eo===document?{scrollTop:dG(),scrollLeft:dH()}:{scrollTop:Math.round(eo.scrollTop),scrollLeft:Math.round(eo.scrollLeft)};en.set(eo,eu),Y({id:ea,x:eu.scrollLeft,y:eu.scrollTop})}},dZ).throttled;return ir(document,"scroll",ei,{capture:!0,passive:!0}).stop}var d$=((eP={}).pointerup=cO.MouseUp,eP.mousedown=cO.MouseDown,eP.click=cO.Click,eP.contextmenu=cO.ContextMenu,eP.dblclick=cO.DblClick,eP.focus=cO.Focus,eP.blur=cO.Blur,eP.touchstart=cO.TouchStart,eP.touchend=cO.TouchEnd,eP);function dY(Y,et,en){var ei=function(ei){var eo,ea=dD(ei);if(cY(ea,et)!==cL.HIDDEN&&c7(ea)){var eu=dn(ea),ec=d$[ei.type];if(ec!==cO.Blur&&ec!==cO.Focus){var ed=dq(ei);if(!ed)return;eo={id:eu,type:ec,x:ed.x,y:ed.y}}else eo={id:eu,type:ec};Y(tt({id:en.getIdForEvent(ei)},cN(cj.MouseInteraction,eo)))}};return ii(document,Object.keys(d$),ei,{capture:!0,passive:!0}).stop}function dQ(Y,et,en){var ei=void 0===en?{}:en,eo=ei.domEvents,ea=void 0===eo?["input","change"]:eo,eu=ei.target,ec=void 0===eu?document:eu,ed=new WeakMap;function ef(Y){var en,ei=cY(Y,et);if(ei!==cL.HIDDEN){var eo=Y.type;if("radio"===eo||"checkbox"===eo){if(cJ(Y,ei))return;en={isChecked:Y.checked}}else{var ea=di(Y,ei);if(void 0===ea)return;en={text:ea}}eh(Y,en);var eu=Y.name;"radio"===eo&&eu&&Y.checked&&e9(document.querySelectorAll('input[type="radio"][name="'.concat(eu,'"]')),function(et){et!==Y&&eh(et,{isChecked:!1})})}}function eh(et,en){if(c7(et)){var ei=ed.get(et);ei&&ei.text===en.text&&ei.isChecked===en.isChecked||(ed.set(et,en),Y(tt({id:dn(et)},en)))}}var ep=ii(ec,ea,function(Y){var et=dD(Y);(et instanceof HTMLInputElement||et instanceof HTMLTextAreaElement||et instanceof HTMLSelectElement)&&ef(et)},{capture:!0,passive:!0}).stop,em=[o9(HTMLInputElement.prototype,"value",ef),o9(HTMLInputElement.prototype,"checked",ef),o9(HTMLSelectElement.prototype,"value",ef),o9(HTMLTextAreaElement.prototype,"value",ef),o9(HTMLSelectElement.prototype,"selectedIndex",ef)];return function(){em.forEach(function(Y){return Y.stop()}),ep()}}function dX(Y){function et(Y,et){Y&&c7(Y.ownerNode)&&et(dn(Y.ownerNode))}var en=[o0(CSSStyleSheet.prototype,"insertRule",{before:function(en,ei){et(this,function(et){return Y({id:et,adds:[{rule:en,index:ei}]})})}}),o0(CSSStyleSheet.prototype,"deleteRule",{before:function(en){et(this,function(et){return Y({id:et,removes:[{index:en}]})})}})];function ei(ei){en.push(o0(ei.prototype,"insertRule",{before:function(en,ei){var eo=this;et(this.parentStyleSheet,function(et){var ea=dJ(eo);ea&&(ea.push(ei||0),Y({id:et,adds:[{rule:en,index:ea}]}))})}}),o0(ei.prototype,"deleteRule",{before:function(en){var ei=this;et(this.parentStyleSheet,function(et){var eo=dJ(ei);eo&&(eo.push(en),Y({id:et,removes:[{index:eo}]}))})}}))}return"undefined"!=typeof CSSGroupingRule?ei(CSSGroupingRule):(ei(CSSMediaRule),ei(CSSSupportsRule)),function(){return en.forEach(function(Y){return Y.stop()})}}function dJ(Y){for(var et=[],en=Y;en.parentRule;){var ei=Array.from(en.parentRule.cssRules).indexOf(en);et.unshift(ei),en=en.parentRule}if(en.parentStyleSheet){var eo=Array.from(en.parentStyleSheet.cssRules).indexOf(en);return et.unshift(eo),et}}function d0(Y,et){var en=function(en){var ei=dD(en);ei&&cY(ei,et)!==cL.HIDDEN&&c7(ei)&&Y({id:dn(ei),type:"play"===en.type?cI.Play:cI.Pause})};return ii(document,["play","pause"],en,{capture:!0,passive:!0}).stop}function d9(Y,et,en){return Y.subscribe(10,function(Y){var ei,eo,ea;"action"===Y.rawRumEvent.type&&"click"===Y.rawRumEvent.action.type&&(null===(eo=null===(ei=Y.rawRumEvent.action.frustration)||void 0===ei?void 0:ei.type)||void 0===eo?void 0:eo.length)&&"events"in Y.domainContext&&(null===(ea=Y.domainContext.events)||void 0===ea?void 0:ea.length)&&et({timestamp:Y.rawRumEvent.date,type:cM.FrustrationRecord,data:{frustrationTypes:Y.rawRumEvent.action.frustration.type,recordIds:Y.domainContext.events.map(function(Y){return en.getIdForEvent(Y)})}})}).unsubscribe}var d5=200;function d4(Y){return oh().subscribe(Y).unsubscribe}function d3(Y){var et=window.visualViewport;if(!et)return t_;var en=tw(function(){Y(dU(et))},d5,{trailing:!1}),ei=en.throttled,eo=en.cancel,ea=ii(et,["resize","scroll"],ei,{capture:!0,passive:!0}).stop;return function(){ea(),eo()}}var d6=100;function d7(Y){var et=t_,en=[];function ei(){et(),Y(en),en=[]}return{addMutations:function(Y){0===en.length&&(et=d8(ei,{timeout:d6})),en.push.apply(en,Y)},flush:ei,stop:function(){et()}}}function d8(Y,et){if(window.requestIdleCallback&&window.cancelIdleCallback){var en=window.requestIdleCallback(eK(Y),et);return function(){return window.cancelIdleCallback(en)}}var ei=window.requestAnimationFrame(eK(Y));return function(){return window.cancelAnimationFrame(ei)}}function ft(Y,et,en,ei){var eo=iA();if(!eo)return{stop:t_,flush:t_};var ea=d7(function(eo){fi(eo.concat(eu.takeRecords()),Y,et,en,ei)}),eu=new eo(eK(ea.addMutations));return eu.observe(ei,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){eu.disconnect(),ea.stop()},flush:function(){ea.flush()}}}function fi(Y,et,en,ei,eo){Y.filter(function(Y){return"childList"===Y.type}).forEach(function(Y){Y.removedNodes.forEach(function(Y){fd(Y,ei.removeShadowRoot)})});var ea=Y.filter(function(Y){return eo.contains(Y.target)&&c8(Y.target)&&cY(Y.target,en.defaultPrivacyLevel)!==cL.HIDDEN}),eu=fo(ea.filter(function(Y){return"childList"===Y.type}),en,ei),ec=eu.adds,ed=eu.removes,ef=eu.hasBeenSerialized,eh=fa(ea.filter(function(Y){return"characterData"===Y.type&&!ef(Y.target)}),en),ep=fl(ea.filter(function(Y){return"attributes"===Y.type&&!ef(Y.target)}),en);(eh.length||ep.length||ed.length||ec.length)&&et({adds:ec,removes:ed,texts:eh,attributes:ep})}function fo(Y,et,en){for(var ei=new Set,eo=new Map,ea=function(Y){Y.addedNodes.forEach(function(Y){ei.add(Y)}),Y.removedNodes.forEach(function(et){ei.has(et)||eo.set(et,Y.target),ei.delete(et)})},eu=0,ec=Y;eu<ec.length;eu++)ea(ec[eu]);var ed=Array.from(ei);fu(ed);for(var ef=new Set,eh=[],ep=0,em=ed;ep<em.length;ep++){var eg=em[ep];if(!e_(eg)){var ey=cY(eg.parentNode,et.defaultPrivacyLevel);if(ey!==cL.HIDDEN&&ey!==cL.IGNORE){var eb=d_(eg,{serializedNodeIds:ef,parentNodePrivacyLevel:ey,serializationContext:{status:2,shadowRootsController:en},configuration:et});if(eb){var ek=iK(eg);eh.push({nextId:eE(eg),parentId:dn(ek),node:eb})}}}}var ew=[];return eo.forEach(function(Y,et){c7(et)&&ew.push({parentId:dn(Y),id:dn(et)})}),{adds:eh,removes:ew,hasBeenSerialized:e_};function e_(Y){return c7(Y)&&ef.has(dn(Y))}function eE(Y){for(var et=Y.nextSibling;et;){if(c7(et))return dn(et);et=et.nextSibling}return null}}function fa(Y,et){for(var en,ei=[],eo=new Set,ea=Y.filter(function(Y){return!eo.has(Y.target)&&(eo.add(Y.target),!0)}),eu=0,ec=ea;eu<ec.length;eu++){var ed=ec[eu];if(ed.target.textContent!==ed.oldValue){var ef=cY(iK(ed.target),et.defaultPrivacyLevel);ef!==cL.HIDDEN&&ef!==cL.IGNORE&&ei.push({id:dn(ed.target),value:null!==(en=c5(ed.target,!1,ef))&&void 0!==en?en:null})}}return ei}function fl(Y,et){for(var en=[],ei=new Map,eo=Y.filter(function(Y){var et=ei.get(Y.target);return(null==et||!et.has(Y.attributeName))&&(et?et.add(Y.attributeName):ei.set(Y.target,new Set([Y.attributeName])),!0)}),ea=new Map,eu=0,ec=eo;eu<ec.length;eu++){var ed=ec[eu];if(ed.target.getAttribute(ed.attributeName)!==ed.oldValue){var ef=cY(ed.target,et.defaultPrivacyLevel),eh=dg(ed.target,ef,ed.attributeName,et),ep=void 0;if("value"===ed.attributeName){var em=di(ed.target,ef);if(void 0===em)continue;ep=em}else ep="string"==typeof eh?eh:null;var eg=ea.get(ed.target);eg||(eg={id:dn(ed.target),attributes:{}},en.push(eg),ea.set(ed.target,eg)),eg.attributes[ed.attributeName]=ep}}return en}function fu(Y){Y.sort(function(Y,et){var en=Y.compareDocumentPosition(et);return en&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:en&Node.DOCUMENT_POSITION_CONTAINS?1:en&Node.DOCUMENT_POSITION_FOLLOWING?1:en&Node.DOCUMENT_POSITION_PRECEDING?-1:0})}function fd(Y,et){iW(Y)&&et(Y.shadowRoot),iZ(Y).forEach(function(Y){return fd(Y,et)})}function ff(Y){return ii(window,["focus","blur"],function(){Y({has_focus:document.hasFocus()})}).stop}function fh(){var Y=new WeakMap,et=1;return{getIdForEvent:function(en){return Y.has(en)||Y.set(en,et++),Y.get(en)}}}function fp(Y){var et=fh(),en=ft(Y.mutationCb,Y.configuration,Y.shadowRootsController,document),ei=dW(Y.mousemoveCb),eo=dY(Y.mouseInteractionCb,Y.configuration.defaultPrivacyLevel,et),ea=dK(Y.scrollCb,Y.configuration.defaultPrivacyLevel,Y.elementsScrollPositions),eu=d4(Y.viewportResizeCb),ec=dQ(Y.inputCb,Y.configuration.defaultPrivacyLevel),ed=d0(Y.mediaInteractionCb,Y.configuration.defaultPrivacyLevel),ef=dX(Y.styleSheetCb),eh=ff(Y.focusCb),ep=d3(Y.visualViewportResizeCb),em=d9(Y.lifeCycle,Y.frustrationCb,et);return{flush:function(){en.flush()},stop:function(){en.stop(),ei(),eo(),ea(),eu(),ec(),ed(),ef(),eh(),ep(),em()}}}function fm(){var Y=new WeakMap;return{set:function(et,en){(et!==document||document.scrollingElement)&&Y.set(et===document?document.scrollingElement:et,en)},get:function(et){return Y.get(et)},has:function(et){return Y.has(et)}}}var fg=function(Y,et){var en=et.mutationCb,ei=et.inputCb,eo=new Map,ea={addShadowRoot:function(et){var eu=ft(en,Y,ea,et),ec=eu.stop,ed=eu.flush,ef=dQ(ei,Y.defaultPrivacyLevel,{target:et,domEvents:["change"]});eo.set(et,{flush:ed,stop:function(){ec(),ef()}})},removeShadowRoot:function(Y){var et=eo.get(Y);et&&(et.stop(),eo.delete(Y))},stop:function(){eo.forEach(function(Y){return(0,Y.stop)()})},flush:function(){eo.forEach(function(Y){return(0,Y.flush)()})}};return ea};function fv(Y){var et=Y.emit;if(!et)throw Error("emit function is required");var en=fm(),ei=function(Y){et(cN(cj.Mutation,Y))},eo=function(Y){return et(cN(cj.Input,Y))},ea=fg(Y.configuration,{mutationCb:ei,inputCb:eo}),eu=function(ei,eo){void 0===ei&&(ei=t8()),void 0===eo&&(eo={status:0,elementsScrollPositions:en,shadowRootsController:ea});var eu=og(),ec=eu.width;et({data:{height:eu.height,href:window.location.href,width:ec},type:cM.Meta,timestamp:ei}),et({data:{has_focus:document.hasFocus()},type:cM.Focus,timestamp:ei}),et({data:{node:dL(document,Y.configuration,eo),initialOffset:{left:dH(),top:dG()}},type:cM.FullSnapshot,timestamp:ei}),window.visualViewport&&et({data:dU(window.visualViewport),type:cM.VisualViewport,timestamp:ei})};eu();var ec=fp({lifeCycle:Y.lifeCycle,configuration:Y.configuration,elementsScrollPositions:en,inputCb:eo,mediaInteractionCb:function(Y){return et(cN(cj.MediaInteraction,Y))},mouseInteractionCb:function(Y){return et(Y)},mousemoveCb:function(Y,en){return et(cN(en,{positions:Y}))},mutationCb:ei,scrollCb:function(Y){return et(cN(cj.Scroll,Y))},styleSheetCb:function(Y){return et(cN(cj.StyleSheetRule,Y))},viewportResizeCb:function(Y){return et(cN(cj.ViewportResize,Y))},frustrationCb:function(Y){return et(Y)},focusCb:function(Y){return et({data:Y,type:cM.Focus,timestamp:t8()})},visualViewportResizeCb:function(Y){et({data:Y,type:cM.VisualViewport,timestamp:t8()})},shadowRootsController:ea}),ed=ec.stop,ef=ec.flush;function eh(){ea.flush(),ef()}return{stop:function(){ea.stop(),ed()},takeSubsequentFullSnapshot:function(Y){eh(),eu(Y,{shadowRootsController:ea,status:1,elementsScrollPositions:en})},flushMutations:eh,shadowRootsController:ea}}function fy(Y,et,en){var ei=new FormData;ei.append("segment",new Blob([Y],{type:"application/octet-stream"}),"".concat(et.session.id,"-").concat(et.start));var eo=JSON.stringify(tt({raw_segment_size:en,compressed_segment_size:Y.byteLength},et));return ei.append("event",new Blob([eo],{type:"application/json"})),{data:ei,bytesCount:Y.byteLength}}var fb=10;function fx(Y){return fC(Y).segments_count}function fk(Y){fC(Y).segments_count+=1}function fw(Y){fC(Y).records_count+=1}function f_(Y,et){fC(Y).segments_total_raw_size+=et}function fE(Y){return null==ej?void 0:ej.get(Y)}function fC(Y){var et;return ej||(ej=new Map),ej.has(Y)?et=ej.get(Y):(et={records_count:0,segments_count:0,segments_total_raw_size:0},ej.set(Y,et),ej.size>fb&&fT()),et}function fT(){if(ej){if(ej.keys)ej.delete(ej.keys().next().value);else{var Y=!0;ej.forEach(function(et,en){Y&&(ej.delete(en),Y=!1)})}}}var fS=0,fA=function(){function Y(Y,et,en,ei,eo,ea){var eu=this;this.worker=Y,this.id=fS++;var ec=et.view.id;this.metadata=tt({start:ei.timestamp,end:ei.timestamp,creation_reason:en,records_count:1,has_full_snapshot:ei.type===cM.FullSnapshot,index_in_view:fx(ec),source:"browser"},et),fk(ec),fw(ec);var ed=ir(Y,"message",function(Y){var et=Y.data;"errored"!==et.type&&"initialized"!==et.type&&(et.id===eu.id?(f_(ec,et.additionalBytesCount),"flushed"===et.type?(ea(et.result,et.rawBytesCount),ed()):eo(et.compressedBytesCount)):et.id>eu.id&&(ed(),ix("Segment did not receive a 'flush' response before being replaced.")))}).stop;r6("record",{record:ei,segment:this.metadata}),this.worker.postMessage({data:'{"records":['.concat(JSON.stringify(ei)),id:this.id,action:"write"})}return Y.prototype.addRecord=function(Y){var et;this.metadata.start=Math.min(this.metadata.start,Y.timestamp),this.metadata.end=Math.max(this.metadata.end,Y.timestamp),this.metadata.records_count+=1,fw(this.metadata.view.id),(et=this.metadata).has_full_snapshot||(et.has_full_snapshot=Y.type===cM.FullSnapshot),r6("record",{record:Y,segment:this.metadata}),this.worker.postMessage({data:",".concat(JSON.stringify(Y)),id:this.id,action:"write"})},Y.prototype.flush=function(Y){this.worker.postMessage({data:"],".concat(JSON.stringify(this.metadata).slice(1),"\n"),id:this.id,action:"flush"}),this.flushReason=Y},Y}(),fM=30*tQ,fP=6e4;function fj(Y,et,en,ei,eo,ea){return fO(Y,function(){return fI(et,en,ei)},eo,ea)}function fO(Y,et,en,ei){var eo={status:0,nextSegmentCreationReason:"init"},ea=Y.subscribe(2,function(){ec("view_change")}).unsubscribe,eu=Y.subscribe(9,function(Y){ec(Y.reason)}).unsubscribe;function ec(Y){1===eo.status&&(eo.segment.flush(Y),tv(eo.expirationTimeoutId)),eo="stop"!==Y?{status:0,nextSegmentCreationReason:Y}:{status:2}}function ed(Y,ea){var eu=et();if(eu){var ed=new fA(ei,eu,Y,ea,function(Y){!ed.flushReason&&Y>fP&&ec("segment_bytes_limit")},function(Y,et){var ei=fy(Y,ed.metadata,et);il(ed.flushReason)?en.sendOnExit(ei):en.send(ei)});eo={status:1,segment:ed,expirationTimeoutId:tg(function(){ec("segment_duration_limit")},fM)}}}return{addRecord:function(Y){switch(eo.status){case 0:ed(eo.nextSegmentCreationReason,Y);break;case 1:eo.segment.addRecord(Y)}},stop:function(){ec("stop"),ea(),eu()}}}function fI(Y,et,en){var ei=et.findTrackedSession(),eo=en.findView();if(ei&&eo)return{application:{id:Y},session:{id:ei.id},view:{id:eo.id}}}function fN(){return eO||(eO=URL.createObjectURL(new Blob(["(".concat(fL,")(self)")]))),new Worker(eO)}function fL(){function Y(Y){return function(){try{return Y.apply(this,arguments)}catch(Y){try{self.postMessage({type:"errored",error:Y})}catch(et){self.postMessage({type:"errored",error:"".concat(Y)})}}}}function et(){var Y,et,en,ei=4,eo=0,ea=1,eu=2;function ec(Y){for(var et=Y.length;--et>=0;)Y[et]=0}var ed=0,ef=1,eh=2,ep=3,em=258,eg=29,ey=256,eb=286,ek=30,ew=19,e_=573,eE=15,eC=16,eT=7,eS=256,eA=16,eM=17,eP=18,ej=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),eO=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),eI=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),eN=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),eL=512,eR=Array((eb+2)*2);ec(eR);var eD=Array(2*ek);ec(eD);var eF=Array(eL);ec(eF);var eB=Array(em-ep+1);ec(eB);var ez=Array(eg);ec(ez);var eU=Array(ek);function eH(Y,et,en,ei,eo){this.static_tree=Y,this.extra_bits=et,this.extra_base=en,this.elems=ei,this.max_length=eo,this.has_stree=Y&&Y.length}function eG(Y,et){this.dyn_tree=Y,this.max_code=0,this.stat_desc=et}ec(eU);var eV=function(Y){return Y<256?eF[Y]:eF[256+(Y>>>7)]},eW=function(Y,et){Y.pending_buf[Y.pending++]=255&et,Y.pending_buf[Y.pending++]=et>>>8&255},eZ=function(Y,et,en){Y.bi_valid>eC-en?(Y.bi_buf|=et<<Y.bi_valid&65535,eW(Y,Y.bi_buf),Y.bi_buf=et>>eC-Y.bi_valid,Y.bi_valid+=en-eC):(Y.bi_buf|=et<<Y.bi_valid&65535,Y.bi_valid+=en)},eK=function(Y,et,en){eZ(Y,en[2*et],en[2*et+1])},e$=function(Y,et){var en=0;do en|=1&Y,Y>>>=1,en<<=1;while(--et>0);return en>>>1},eY=function(Y){16===Y.bi_valid?(eW(Y,Y.bi_buf),Y.bi_buf=0,Y.bi_valid=0):Y.bi_valid>=8&&(Y.pending_buf[Y.pending++]=255&Y.bi_buf,Y.bi_buf>>=8,Y.bi_valid-=8)},eQ=function(Y,et){var en,ei,eo,ea,eu,ec,ed=et.dyn_tree,ef=et.max_code,eh=et.stat_desc.static_tree,ep=et.stat_desc.has_stree,em=et.stat_desc.extra_bits,eg=et.stat_desc.extra_base,ey=et.stat_desc.max_length,eb=0;for(ea=0;ea<=eE;ea++)Y.bl_count[ea]=0;for(ed[2*Y.heap[Y.heap_max]+1]=0,en=Y.heap_max+1;en<e_;en++)(ea=ed[2*ed[2*(ei=Y.heap[en])+1]+1]+1)>ey&&(ea=ey,eb++),ed[2*ei+1]=ea,!(ei>ef)&&(Y.bl_count[ea]++,eu=0,ei>=eg&&(eu=em[ei-eg]),ec=ed[2*ei],Y.opt_len+=ec*(ea+eu),ep&&(Y.static_len+=ec*(eh[2*ei+1]+eu)));if(0!==eb){do{for(ea=ey-1;0===Y.bl_count[ea];)ea--;Y.bl_count[ea]--,Y.bl_count[ea+1]+=2,Y.bl_count[ey]--,eb-=2}while(eb>0);for(ea=ey;0!==ea;ea--)for(ei=Y.bl_count[ea];0!==ei;)!((eo=Y.heap[--en])>ef)&&(ed[2*eo+1]!==ea&&(Y.opt_len+=(ea-ed[2*eo+1])*ed[2*eo],ed[2*eo+1]=ea),ei--)}},eX=function(Y,et,en){var ei,eo,ea=Array(eE+1),eu=0;for(ei=1;ei<=eE;ei++)ea[ei]=eu=eu+en[ei-1]<<1;for(eo=0;eo<=et;eo++){var ec=Y[2*eo+1];0!==ec&&(Y[2*eo]=e$(ea[ec]++,ec))}},eJ=function(){var ei,eo,ea,eu,ec,ed=Array(eE+1);for(eu=0,ea=0;eu<eg-1;eu++)for(ei=0,ez[eu]=ea;ei<1<<ej[eu];ei++)eB[ea++]=eu;for(eB[ea-1]=eu,ec=0,eu=0;eu<16;eu++)for(ei=0,eU[eu]=ec;ei<1<<eO[eu];ei++)eF[ec++]=eu;for(ec>>=7;eu<ek;eu++)for(ei=0,eU[eu]=ec<<7;ei<1<<eO[eu]-7;ei++)eF[256+ec++]=eu;for(eo=0;eo<=eE;eo++)ed[eo]=0;for(ei=0;ei<=143;)eR[2*ei+1]=8,ei++,ed[8]++;for(;ei<=255;)eR[2*ei+1]=9,ei++,ed[9]++;for(;ei<=279;)eR[2*ei+1]=7,ei++,ed[7]++;for(;ei<=287;)eR[2*ei+1]=8,ei++,ed[8]++;for(eX(eR,eb+1,ed),ei=0;ei<ek;ei++)eD[2*ei+1]=5,eD[2*ei]=e$(ei,5);Y=new eH(eR,ej,ey+1,eb,eE),et=new eH(eD,eO,0,ek,eE),en=new eH([],eI,0,ew,eT)},e0=function(Y){var et;for(et=0;et<eb;et++)Y.dyn_ltree[2*et]=0;for(et=0;et<ek;et++)Y.dyn_dtree[2*et]=0;for(et=0;et<ew;et++)Y.bl_tree[2*et]=0;Y.dyn_ltree[2*eS]=1,Y.opt_len=Y.static_len=0,Y.last_lit=Y.matches=0},e9=function(Y){Y.bi_valid>8?eW(Y,Y.bi_buf):Y.bi_valid>0&&(Y.pending_buf[Y.pending++]=Y.bi_buf),Y.bi_buf=0,Y.bi_valid=0},e5=function(Y,et,en,ei){e9(Y),ei&&(eW(Y,en),eW(Y,~en)),Y.pending_buf.set(Y.window.subarray(et,et+en),Y.pending),Y.pending+=en},e4=function(Y,et,en,ei){var eo=2*et,ea=2*en;return Y[eo]<Y[ea]||Y[eo]===Y[ea]&&ei[et]<=ei[en]},e3=function(Y,et,en){for(var ei=Y.heap[en],eo=en<<1;eo<=Y.heap_len&&(eo<Y.heap_len&&e4(et,Y.heap[eo+1],Y.heap[eo],Y.depth)&&eo++,!e4(et,ei,Y.heap[eo],Y.depth));)Y.heap[en]=Y.heap[eo],en=eo,eo<<=1;Y.heap[en]=ei},e6=function(Y,et,en){var ei,eo,ea,eu,ec=0;if(0!==Y.last_lit)do ei=Y.pending_buf[Y.d_buf+2*ec]<<8|Y.pending_buf[Y.d_buf+2*ec+1],eo=Y.pending_buf[Y.l_buf+ec],ec++,0===ei?eK(Y,eo,et):(eK(Y,(ea=eB[eo])+ey+1,et),0!==(eu=ej[ea])&&eZ(Y,eo-=ez[ea],eu),eK(Y,ea=eV(--ei),en),0!==(eu=eO[ea])&&eZ(Y,ei-=eU[ea],eu));while(ec<Y.last_lit);eK(Y,eS,et)},e7=function(Y,et){var en,ei,eo,ea=et.dyn_tree,eu=et.stat_desc.static_tree,ec=et.stat_desc.has_stree,ed=et.stat_desc.elems,ef=-1;for(en=0,Y.heap_len=0,Y.heap_max=e_;en<ed;en++)0!==ea[2*en]?(Y.heap[++Y.heap_len]=ef=en,Y.depth[en]=0):ea[2*en+1]=0;for(;Y.heap_len<2;)ea[2*(eo=Y.heap[++Y.heap_len]=ef<2?++ef:0)]=1,Y.depth[eo]=0,Y.opt_len--,ec&&(Y.static_len-=eu[2*eo+1]);for(et.max_code=ef,en=Y.heap_len>>1;en>=1;en--)e3(Y,ea,en);eo=ed;do en=Y.heap[1],Y.heap[1]=Y.heap[Y.heap_len--],e3(Y,ea,1),ei=Y.heap[1],Y.heap[--Y.heap_max]=en,Y.heap[--Y.heap_max]=ei,ea[2*eo]=ea[2*en]+ea[2*ei],Y.depth[eo]=(Y.depth[en]>=Y.depth[ei]?Y.depth[en]:Y.depth[ei])+1,ea[2*en+1]=ea[2*ei+1]=eo,Y.heap[1]=eo++,e3(Y,ea,1);while(Y.heap_len>=2);Y.heap[--Y.heap_max]=Y.heap[1],eQ(Y,et),eX(ea,ef,Y.bl_count)},e8=function(Y,et,en){var ei,eo,ea=-1,eu=et[1],ec=0,ed=7,ef=4;for(0===eu&&(ed=138,ef=3),et[(en+1)*2+1]=65535,ei=0;ei<=en;ei++)eo=eu,eu=et[(ei+1)*2+1],++ec<ed&&eo===eu||(ec<ef?Y.bl_tree[2*eo]+=ec:0!==eo?(eo!==ea&&Y.bl_tree[2*eo]++,Y.bl_tree[2*eA]++):ec<=10?Y.bl_tree[2*eM]++:Y.bl_tree[2*eP]++,ec=0,ea=eo,0===eu?(ed=138,ef=3):eo===eu?(ed=6,ef=3):(ed=7,ef=4))},tt=function(Y,et,en){var ei,eo,ea=-1,eu=et[1],ec=0,ed=7,ef=4;for(0===eu&&(ed=138,ef=3),ei=0;ei<=en;ei++)if(eo=eu,eu=et[(ei+1)*2+1],!(++ec<ed)||eo!==eu){if(ec<ef)do eK(Y,eo,Y.bl_tree);while(0!=--ec);else 0!==eo?(eo!==ea&&(eK(Y,eo,Y.bl_tree),ec--),eK(Y,eA,Y.bl_tree),eZ(Y,ec-3,2)):ec<=10?(eK(Y,eM,Y.bl_tree),eZ(Y,ec-3,3)):(eK(Y,eP,Y.bl_tree),eZ(Y,ec-11,7));ec=0,ea=eo,0===eu?(ed=138,ef=3):eo===eu?(ed=6,ef=3):(ed=7,ef=4)}},ta=function(Y){var et;for(e8(Y,Y.dyn_ltree,Y.l_desc.max_code),e8(Y,Y.dyn_dtree,Y.d_desc.max_code),e7(Y,Y.bl_desc),et=ew-1;et>=3&&0===Y.bl_tree[2*eN[et]+1];et--);return Y.opt_len+=3*(et+1)+5+5+4,et},tu=function(Y,et,en,ei){var eo;for(eZ(Y,et-257,5),eZ(Y,en-1,5),eZ(Y,ei-4,4),eo=0;eo<ei;eo++)eZ(Y,Y.bl_tree[2*eN[eo]+1],3);tt(Y,Y.dyn_ltree,et-1),tt(Y,Y.dyn_dtree,en-1)},tc=function(Y){var et,en=4093624447;for(et=0;et<=31;et++,en>>>=1)if(1&en&&0!==Y.dyn_ltree[2*et])return eo;if(0!==Y.dyn_ltree[18]||0!==Y.dyn_ltree[20]||0!==Y.dyn_ltree[26])return ea;for(et=32;et<ey;et++)if(0!==Y.dyn_ltree[2*et])return ea;return eo},td=!1,tf=function(Y,et,en,ei){eZ(Y,(ed<<1)+(ei?1:0),3),e5(Y,et,en,!0)},th=function(Y,et,en,eo){var ea,ec,ed=0;Y.level>0?(Y.strm.data_type===eu&&(Y.strm.data_type=tc(Y)),e7(Y,Y.l_desc),e7(Y,Y.d_desc),ed=ta(Y),ea=Y.opt_len+3+7>>>3,(ec=Y.static_len+3+7>>>3)<=ea&&(ea=ec)):ea=ec=en+5,en+4<=ea&&-1!==et?tf(Y,et,en,eo):Y.strategy===ei||ec===ea?(eZ(Y,(ef<<1)+(eo?1:0),3),e6(Y,eR,eD)):(eZ(Y,(eh<<1)+(eo?1:0),3),tu(Y,Y.l_desc.max_code+1,Y.d_desc.max_code+1,ed+1),e6(Y,Y.dyn_ltree,Y.dyn_dtree)),e0(Y),eo&&e9(Y)},tp={_tr_init:function(ei){td||(eJ(),td=!0),ei.l_desc=new eG(ei.dyn_ltree,Y),ei.d_desc=new eG(ei.dyn_dtree,et),ei.bl_desc=new eG(ei.bl_tree,en),ei.bi_buf=0,ei.bi_valid=0,e0(ei)},_tr_stored_block:tf,_tr_flush_block:th,_tr_tally:function(Y,et,en){return Y.pending_buf[Y.d_buf+2*Y.last_lit]=et>>>8&255,Y.pending_buf[Y.d_buf+2*Y.last_lit+1]=255&et,Y.pending_buf[Y.l_buf+Y.last_lit]=255&en,Y.last_lit++,0===et?Y.dyn_ltree[2*en]++:(Y.matches++,et--,Y.dyn_ltree[(eB[en]+ey+1)*2]++,Y.dyn_dtree[2*eV(et)]++),Y.last_lit===Y.lit_bufsize-1},_tr_align:function(Y){eZ(Y,ef<<1,3),eK(Y,eS,eR),eY(Y)}},tm=function(Y,et,en,ei){for(var eo=65535&Y|0,ea=Y>>>16&65535|0,eu=0;0!==en;){eu=en>2e3?2e3:en,en-=eu;do ea=ea+(eo=eo+et[ei++]|0)|0;while(--eu);eo%=65521,ea%=65521}return eo|ea<<16|0},tg=function(){for(var Y,et=[],en=0;en<256;en++){Y=en;for(var ei=0;ei<8;ei++)Y=1&Y?3988292384^Y>>>1:Y>>>1;et[en]=Y}return et},tv=new Uint32Array(tg()),tb=function(Y,et,en,ei){var eo=tv,ea=ei+en;Y^=-1;for(var eu=ei;eu<ea;eu++)Y=Y>>>8^eo[(Y^et[eu])&255];return -1^Y},tk={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},tw={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},t_=tp._tr_init,tE=tp._tr_stored_block,tC=tp._tr_flush_block,tT=tp._tr_tally,tS=tp._tr_align,tA=tw.Z_NO_FLUSH,tM=tw.Z_PARTIAL_FLUSH,tP=tw.Z_FULL_FLUSH,tj=tw.Z_FINISH,tO=tw.Z_BLOCK,tI=tw.Z_OK,tN=tw.Z_STREAM_END,tL=tw.Z_STREAM_ERROR,tR=tw.Z_DATA_ERROR,tD=tw.Z_BUF_ERROR,tF=tw.Z_DEFAULT_COMPRESSION,tB=tw.Z_FILTERED,tU=tw.Z_HUFFMAN_ONLY,tH=tw.Z_RLE,tG=tw.Z_FIXED,tV=tw.Z_DEFAULT_STRATEGY,tW=tw.Z_UNKNOWN,tq=tw.Z_DEFLATED,tZ=9,tK=15,t$=8,tY=286,tQ=30,tX=19,tJ=573,t9=15,t5=3,t4=258,t3=262,t6=32,t7=42,t8=69,nt=73,nn=91,ni=103,na=113,nu=666,nd=1,nf=2,nh=3,np=4,ng=3,nv=function(Y,et){return Y.msg=tk[et],et},ny=function(Y){return(Y<<1)-(Y>4?9:0)},nb=function(Y){for(var et=Y.length;--et>=0;)Y[et]=0},nx=function(Y,et,en){return(et<<Y.hash_shift^en)&Y.hash_mask},nk=function(Y){var et=Y.state,en=et.pending;en>Y.avail_out&&(en=Y.avail_out),0!==en&&(Y.output.set(et.pending_buf.subarray(et.pending_out,et.pending_out+en),Y.next_out),Y.next_out+=en,et.pending_out+=en,Y.total_out+=en,Y.avail_out-=en,et.pending-=en,0===et.pending&&(et.pending_out=0))},nw=function(Y,et){tC(Y,Y.block_start>=0?Y.block_start:-1,Y.strstart-Y.block_start,et),Y.block_start=Y.strstart,nk(Y.strm)},n_=function(Y,et){Y.pending_buf[Y.pending++]=et},nE=function(Y,et){Y.pending_buf[Y.pending++]=et>>>8&255,Y.pending_buf[Y.pending++]=255&et},nC=function(Y,et,en,ei){var eo=Y.avail_in;return(eo>ei&&(eo=ei),0===eo)?0:(Y.avail_in-=eo,et.set(Y.input.subarray(Y.next_in,Y.next_in+eo),en),1===Y.state.wrap?Y.adler=tm(Y.adler,et,eo,en):2===Y.state.wrap&&(Y.adler=tb(Y.adler,et,eo,en)),Y.next_in+=eo,Y.total_in+=eo,eo)},nT=function(Y,et){var en,ei,eo=Y.max_chain_length,ea=Y.strstart,eu=Y.prev_length,ec=Y.nice_match,ed=Y.strstart>Y.w_size-t3?Y.strstart-(Y.w_size-t3):0,ef=Y.window,eh=Y.w_mask,ep=Y.prev,em=Y.strstart+t4,eg=ef[ea+eu-1],ey=ef[ea+eu];Y.prev_length>=Y.good_match&&(eo>>=2),ec>Y.lookahead&&(ec=Y.lookahead);do{if(ef[(en=et)+eu]!==ey||ef[en+eu-1]!==eg||ef[en]!==ef[ea]||ef[++en]!==ef[ea+1])continue;ea+=2,en++;do;while(ef[++ea]===ef[++en]&&ef[++ea]===ef[++en]&&ef[++ea]===ef[++en]&&ef[++ea]===ef[++en]&&ef[++ea]===ef[++en]&&ef[++ea]===ef[++en]&&ef[++ea]===ef[++en]&&ef[++ea]===ef[++en]&&ea<em);if(ei=t4-(em-ea),ea=em-t4,ei>eu){if(Y.match_start=et,eu=ei,ei>=ec)break;eg=ef[ea+eu-1],ey=ef[ea+eu]}}while((et=ep[et&eh])>ed&&0!=--eo);return eu<=Y.lookahead?eu:Y.lookahead},nS=function(Y){var et,en,ei,eo,ea,eu=Y.w_size;do{if(eo=Y.window_size-Y.lookahead-Y.strstart,Y.strstart>=eu+(eu-t3)){Y.window.set(Y.window.subarray(eu,eu+eu),0),Y.match_start-=eu,Y.strstart-=eu,Y.block_start-=eu,et=en=Y.hash_size;do ei=Y.head[--et],Y.head[et]=ei>=eu?ei-eu:0;while(--en);et=en=eu;do ei=Y.prev[--et],Y.prev[et]=ei>=eu?ei-eu:0;while(--en);eo+=eu}if(0===Y.strm.avail_in)break;if(en=nC(Y.strm,Y.window,Y.strstart+Y.lookahead,eo),Y.lookahead+=en,Y.lookahead+Y.insert>=t5)for(ea=Y.strstart-Y.insert,Y.ins_h=Y.window[ea],Y.ins_h=nx(Y,Y.ins_h,Y.window[ea+1]);Y.insert&&(Y.ins_h=nx(Y,Y.ins_h,Y.window[ea+t5-1]),Y.prev[ea&Y.w_mask]=Y.head[Y.ins_h],Y.head[Y.ins_h]=ea,ea++,Y.insert--,!(Y.lookahead+Y.insert<t5)););}while(Y.lookahead<t3&&0!==Y.strm.avail_in)},nA=function(Y,et){var en=65535;for(65535>Y.pending_buf_size-5&&(en=Y.pending_buf_size-5);;){if(Y.lookahead<=1){if(nS(Y),0===Y.lookahead&&et===tA)return nd;if(0===Y.lookahead)break}Y.strstart+=Y.lookahead,Y.lookahead=0;var ei=Y.block_start+en;if((0===Y.strstart||Y.strstart>=ei)&&(Y.lookahead=Y.strstart-ei,Y.strstart=ei,nw(Y,!1),0===Y.strm.avail_out)||Y.strstart-Y.block_start>=Y.w_size-t3&&(nw(Y,!1),0===Y.strm.avail_out))return nd}return(Y.insert=0,et===tj)?(nw(Y,!0),0===Y.strm.avail_out)?nh:np:(Y.strstart>Y.block_start&&(nw(Y,!1),Y.strm.avail_out),nd)},nM=function(Y,et){for(var en,ei;;){if(Y.lookahead<t3){if(nS(Y),Y.lookahead<t3&&et===tA)return nd;if(0===Y.lookahead)break}if(en=0,Y.lookahead>=t5&&(Y.ins_h=nx(Y,Y.ins_h,Y.window[Y.strstart+t5-1]),en=Y.prev[Y.strstart&Y.w_mask]=Y.head[Y.ins_h],Y.head[Y.ins_h]=Y.strstart),0!==en&&Y.strstart-en<=Y.w_size-t3&&(Y.match_length=nT(Y,en)),Y.match_length>=t5){if(ei=tT(Y,Y.strstart-Y.match_start,Y.match_length-t5),Y.lookahead-=Y.match_length,Y.match_length<=Y.max_lazy_match&&Y.lookahead>=t5){Y.match_length--;do Y.strstart++,Y.ins_h=nx(Y,Y.ins_h,Y.window[Y.strstart+t5-1]),en=Y.prev[Y.strstart&Y.w_mask]=Y.head[Y.ins_h],Y.head[Y.ins_h]=Y.strstart;while(0!=--Y.match_length);Y.strstart++}else Y.strstart+=Y.match_length,Y.match_length=0,Y.ins_h=Y.window[Y.strstart],Y.ins_h=nx(Y,Y.ins_h,Y.window[Y.strstart+1])}else ei=tT(Y,0,Y.window[Y.strstart]),Y.lookahead--,Y.strstart++;if(ei&&(nw(Y,!1),0===Y.strm.avail_out))return nd}return(Y.insert=Y.strstart<t5-1?Y.strstart:t5-1,et===tj)?(nw(Y,!0),0===Y.strm.avail_out)?nh:np:Y.last_lit&&(nw(Y,!1),0===Y.strm.avail_out)?nd:nf},nP=function(Y,et){for(var en,ei,eo;;){if(Y.lookahead<t3){if(nS(Y),Y.lookahead<t3&&et===tA)return nd;if(0===Y.lookahead)break}if(en=0,Y.lookahead>=t5&&(Y.ins_h=nx(Y,Y.ins_h,Y.window[Y.strstart+t5-1]),en=Y.prev[Y.strstart&Y.w_mask]=Y.head[Y.ins_h],Y.head[Y.ins_h]=Y.strstart),Y.prev_length=Y.match_length,Y.prev_match=Y.match_start,Y.match_length=t5-1,0!==en&&Y.prev_length<Y.max_lazy_match&&Y.strstart-en<=Y.w_size-t3&&(Y.match_length=nT(Y,en),Y.match_length<=5&&(Y.strategy===tB||Y.match_length===t5&&Y.strstart-Y.match_start>4096)&&(Y.match_length=t5-1)),Y.prev_length>=t5&&Y.match_length<=Y.prev_length){eo=Y.strstart+Y.lookahead-t5,ei=tT(Y,Y.strstart-1-Y.prev_match,Y.prev_length-t5),Y.lookahead-=Y.prev_length-1,Y.prev_length-=2;do++Y.strstart<=eo&&(Y.ins_h=nx(Y,Y.ins_h,Y.window[Y.strstart+t5-1]),en=Y.prev[Y.strstart&Y.w_mask]=Y.head[Y.ins_h],Y.head[Y.ins_h]=Y.strstart);while(0!=--Y.prev_length);if(Y.match_available=0,Y.match_length=t5-1,Y.strstart++,ei&&(nw(Y,!1),0===Y.strm.avail_out))return nd}else if(Y.match_available){if((ei=tT(Y,0,Y.window[Y.strstart-1]))&&nw(Y,!1),Y.strstart++,Y.lookahead--,0===Y.strm.avail_out)return nd}else Y.match_available=1,Y.strstart++,Y.lookahead--}return(Y.match_available&&(ei=tT(Y,0,Y.window[Y.strstart-1]),Y.match_available=0),Y.insert=Y.strstart<t5-1?Y.strstart:t5-1,et===tj)?(nw(Y,!0),0===Y.strm.avail_out)?nh:np:Y.last_lit&&(nw(Y,!1),0===Y.strm.avail_out)?nd:nf},nj=function(Y,et){for(var en,ei,eo,ea,eu=Y.window;;){if(Y.lookahead<=t4){if(nS(Y),Y.lookahead<=t4&&et===tA)return nd;if(0===Y.lookahead)break}if(Y.match_length=0,Y.lookahead>=t5&&Y.strstart>0&&(ei=eu[eo=Y.strstart-1])===eu[++eo]&&ei===eu[++eo]&&ei===eu[++eo]){ea=Y.strstart+t4;do;while(ei===eu[++eo]&&ei===eu[++eo]&&ei===eu[++eo]&&ei===eu[++eo]&&ei===eu[++eo]&&ei===eu[++eo]&&ei===eu[++eo]&&ei===eu[++eo]&&eo<ea);Y.match_length=t4-(ea-eo),Y.match_length>Y.lookahead&&(Y.match_length=Y.lookahead)}if(Y.match_length>=t5?(en=tT(Y,1,Y.match_length-t5),Y.lookahead-=Y.match_length,Y.strstart+=Y.match_length,Y.match_length=0):(en=tT(Y,0,Y.window[Y.strstart]),Y.lookahead--,Y.strstart++),en&&(nw(Y,!1),0===Y.strm.avail_out))return nd}return(Y.insert=0,et===tj)?(nw(Y,!0),0===Y.strm.avail_out)?nh:np:Y.last_lit&&(nw(Y,!1),0===Y.strm.avail_out)?nd:nf},nO=function(Y,et){for(var en;;){if(0===Y.lookahead&&(nS(Y),0===Y.lookahead)){if(et===tA)return nd;break}if(Y.match_length=0,en=tT(Y,0,Y.window[Y.strstart]),Y.lookahead--,Y.strstart++,en&&(nw(Y,!1),0===Y.strm.avail_out))return nd}return(Y.insert=0,et===tj)?(nw(Y,!0),0===Y.strm.avail_out)?nh:np:Y.last_lit&&(nw(Y,!1),0===Y.strm.avail_out)?nd:nf};function nI(Y,et,en,ei,eo){this.good_length=Y,this.max_lazy=et,this.nice_length=en,this.max_chain=ei,this.func=eo}var nN=[new nI(0,0,0,0,nA),new nI(4,4,8,4,nM),new nI(4,5,16,8,nM),new nI(4,6,32,32,nM),new nI(4,4,16,16,nP),new nI(8,16,32,32,nP),new nI(8,16,128,128,nP),new nI(8,32,128,256,nP),new nI(32,128,258,1024,nP),new nI(32,258,258,4096,nP)],nL=function(Y){Y.window_size=2*Y.w_size,nb(Y.head),Y.max_lazy_match=nN[Y.level].max_lazy,Y.good_match=nN[Y.level].good_length,Y.nice_match=nN[Y.level].nice_length,Y.max_chain_length=nN[Y.level].max_chain,Y.strstart=0,Y.block_start=0,Y.lookahead=0,Y.insert=0,Y.match_length=Y.prev_length=t5-1,Y.match_available=0,Y.ins_h=0};function nR(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=tq,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(2*tJ),this.dyn_dtree=new Uint16Array((2*tQ+1)*2),this.bl_tree=new Uint16Array((2*tX+1)*2),nb(this.dyn_ltree),nb(this.dyn_dtree),nb(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(t9+1),this.heap=new Uint16Array(2*tY+1),nb(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*tY+1),nb(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var nD=function(Y){if(!Y||!Y.state)return nv(Y,tL);Y.total_in=Y.total_out=0,Y.data_type=tW;var et=Y.state;return et.pending=0,et.pending_out=0,et.wrap<0&&(et.wrap=-et.wrap),et.status=et.wrap?t7:na,Y.adler=2===et.wrap?0:1,et.last_flush=tA,t_(et),tI},nF=function(Y){var et=nD(Y);return et===tI&&nL(Y.state),et},nB=function(Y,et,en,ei,eo,ea){if(!Y)return tL;var eu=1;if(et===tF&&(et=6),ei<0?(eu=0,ei=-ei):ei>15&&(eu=2,ei-=16),eo<1||eo>tZ||en!==tq||ei<8||ei>15||et<0||et>9||ea<0||ea>tG)return nv(Y,tL);8===ei&&(ei=9);var ec=new nR;return Y.state=ec,ec.strm=Y,ec.wrap=eu,ec.gzhead=null,ec.w_bits=ei,ec.w_size=1<<ec.w_bits,ec.w_mask=ec.w_size-1,ec.hash_bits=eo+7,ec.hash_size=1<<ec.hash_bits,ec.hash_mask=ec.hash_size-1,ec.hash_shift=~~((ec.hash_bits+t5-1)/t5),ec.window=new Uint8Array(2*ec.w_size),ec.head=new Uint16Array(ec.hash_size),ec.prev=new Uint16Array(ec.w_size),ec.lit_bufsize=1<<eo+6,ec.pending_buf_size=4*ec.lit_bufsize,ec.pending_buf=new Uint8Array(ec.pending_buf_size),ec.d_buf=1*ec.lit_bufsize,ec.l_buf=3*ec.lit_bufsize,ec.level=et,ec.strategy=ea,ec.method=en,nF(Y)},nz={deflateInit:function(Y,et){return nB(Y,et,tq,tK,t$,tV)},deflateInit2:nB,deflateReset:nF,deflateResetKeep:nD,deflateSetHeader:function(Y,et){return Y&&Y.state&&2===Y.state.wrap?(Y.state.gzhead=et,tI):tL},deflate:function(Y,et){if(!Y||!Y.state||et>tO||et<0)return Y?nv(Y,tL):tL;var en,ei,eo=Y.state;if(!Y.output||!Y.input&&0!==Y.avail_in||eo.status===nu&&et!==tj)return nv(Y,0===Y.avail_out?tD:tL);eo.strm=Y;var ea=eo.last_flush;if(eo.last_flush=et,eo.status===t7){if(2===eo.wrap)Y.adler=0,n_(eo,31),n_(eo,139),n_(eo,8),eo.gzhead?(n_(eo,(eo.gzhead.text?1:0)+(eo.gzhead.hcrc?2:0)+(eo.gzhead.extra?4:0)+(eo.gzhead.name?8:0)+(eo.gzhead.comment?16:0)),n_(eo,255&eo.gzhead.time),n_(eo,eo.gzhead.time>>8&255),n_(eo,eo.gzhead.time>>16&255),n_(eo,eo.gzhead.time>>24&255),n_(eo,9===eo.level?2:eo.strategy>=tU||eo.level<2?4:0),n_(eo,255&eo.gzhead.os),eo.gzhead.extra&&eo.gzhead.extra.length&&(n_(eo,255&eo.gzhead.extra.length),n_(eo,eo.gzhead.extra.length>>8&255)),eo.gzhead.hcrc&&(Y.adler=tb(Y.adler,eo.pending_buf,eo.pending,0)),eo.gzindex=0,eo.status=t8):(n_(eo,0),n_(eo,0),n_(eo,0),n_(eo,0),n_(eo,0),n_(eo,9===eo.level?2:eo.strategy>=tU||eo.level<2?4:0),n_(eo,ng),eo.status=na);else{var eu=tq+(eo.w_bits-8<<4)<<8,ec=-1;eu|=(ec=eo.strategy>=tU||eo.level<2?0:eo.level<6?1:6===eo.level?2:3)<<6,0!==eo.strstart&&(eu|=t6),eu+=31-eu%31,eo.status=na,nE(eo,eu),0!==eo.strstart&&(nE(eo,Y.adler>>>16),nE(eo,65535&Y.adler)),Y.adler=1}}if(eo.status===t8){if(eo.gzhead.extra){for(en=eo.pending;eo.gzindex<(65535&eo.gzhead.extra.length)&&(eo.pending!==eo.pending_buf_size||(eo.gzhead.hcrc&&eo.pending>en&&(Y.adler=tb(Y.adler,eo.pending_buf,eo.pending-en,en)),nk(Y),en=eo.pending,eo.pending!==eo.pending_buf_size));)n_(eo,255&eo.gzhead.extra[eo.gzindex]),eo.gzindex++;eo.gzhead.hcrc&&eo.pending>en&&(Y.adler=tb(Y.adler,eo.pending_buf,eo.pending-en,en)),eo.gzindex===eo.gzhead.extra.length&&(eo.gzindex=0,eo.status=nt)}else eo.status=nt}if(eo.status===nt){if(eo.gzhead.name){en=eo.pending;do{if(eo.pending===eo.pending_buf_size&&(eo.gzhead.hcrc&&eo.pending>en&&(Y.adler=tb(Y.adler,eo.pending_buf,eo.pending-en,en)),nk(Y),en=eo.pending,eo.pending===eo.pending_buf_size)){ei=1;break}ei=eo.gzindex<eo.gzhead.name.length?255&eo.gzhead.name.charCodeAt(eo.gzindex++):0,n_(eo,ei)}while(0!==ei);eo.gzhead.hcrc&&eo.pending>en&&(Y.adler=tb(Y.adler,eo.pending_buf,eo.pending-en,en)),0===ei&&(eo.gzindex=0,eo.status=nn)}else eo.status=nn}if(eo.status===nn){if(eo.gzhead.comment){en=eo.pending;do{if(eo.pending===eo.pending_buf_size&&(eo.gzhead.hcrc&&eo.pending>en&&(Y.adler=tb(Y.adler,eo.pending_buf,eo.pending-en,en)),nk(Y),en=eo.pending,eo.pending===eo.pending_buf_size)){ei=1;break}ei=eo.gzindex<eo.gzhead.comment.length?255&eo.gzhead.comment.charCodeAt(eo.gzindex++):0,n_(eo,ei)}while(0!==ei);eo.gzhead.hcrc&&eo.pending>en&&(Y.adler=tb(Y.adler,eo.pending_buf,eo.pending-en,en)),0===ei&&(eo.status=ni)}else eo.status=ni}if(eo.status===ni&&(eo.gzhead.hcrc?(eo.pending+2>eo.pending_buf_size&&nk(Y),eo.pending+2<=eo.pending_buf_size&&(n_(eo,255&Y.adler),n_(eo,Y.adler>>8&255),Y.adler=0,eo.status=na)):eo.status=na),0!==eo.pending){if(nk(Y),0===Y.avail_out)return eo.last_flush=-1,tI}else if(0===Y.avail_in&&ny(et)<=ny(ea)&&et!==tj)return nv(Y,tD);if(eo.status===nu&&0!==Y.avail_in)return nv(Y,tD);if(0!==Y.avail_in||0!==eo.lookahead||et!==tA&&eo.status!==nu){var ed=eo.strategy===tU?nO(eo,et):eo.strategy===tH?nj(eo,et):nN[eo.level].func(eo,et);if((ed===nh||ed===np)&&(eo.status=nu),ed===nd||ed===nh)return 0===Y.avail_out&&(eo.last_flush=-1),tI;if(ed===nf&&(et===tM?tS(eo):et!==tO&&(tE(eo,0,0,!1),et===tP&&(nb(eo.head),0===eo.lookahead&&(eo.strstart=0,eo.block_start=0,eo.insert=0))),nk(Y),0===Y.avail_out))return eo.last_flush=-1,tI}return et!==tj?tI:eo.wrap<=0?tN:(2===eo.wrap?(n_(eo,255&Y.adler),n_(eo,Y.adler>>8&255),n_(eo,Y.adler>>16&255),n_(eo,Y.adler>>24&255),n_(eo,255&Y.total_in),n_(eo,Y.total_in>>8&255),n_(eo,Y.total_in>>16&255),n_(eo,Y.total_in>>24&255)):(nE(eo,Y.adler>>>16),nE(eo,65535&Y.adler)),nk(Y),eo.wrap>0&&(eo.wrap=-eo.wrap),0!==eo.pending?tI:tN)},deflateEnd:function(Y){if(!Y||!Y.state)return tL;var et=Y.state.status;return et!==t7&&et!==t8&&et!==nt&&et!==nn&&et!==ni&&et!==na&&et!==nu?nv(Y,tL):(Y.state=null,et===na?nv(Y,tR):tI)},deflateSetDictionary:function(Y,et){var en=et.length;if(!Y||!Y.state)return tL;var ei=Y.state,eo=ei.wrap;if(2===eo||1===eo&&ei.status!==t7||ei.lookahead)return tL;if(1===eo&&(Y.adler=tm(Y.adler,et,en,0)),ei.wrap=0,en>=ei.w_size){0===eo&&(nb(ei.head),ei.strstart=0,ei.block_start=0,ei.insert=0);var ea=new Uint8Array(ei.w_size);ea.set(et.subarray(en-ei.w_size,en),0),et=ea,en=ei.w_size}var eu=Y.avail_in,ec=Y.next_in,ed=Y.input;for(Y.avail_in=en,Y.next_in=0,Y.input=et,nS(ei);ei.lookahead>=t5;){var ef=ei.strstart,eh=ei.lookahead-(t5-1);do ei.ins_h=nx(ei,ei.ins_h,ei.window[ef+t5-1]),ei.prev[ef&ei.w_mask]=ei.head[ei.ins_h],ei.head[ei.ins_h]=ef,ef++;while(--eh);ei.strstart=ef,ei.lookahead=t5-1,nS(ei)}return ei.strstart+=ei.lookahead,ei.block_start=ei.strstart,ei.insert=ei.lookahead,ei.lookahead=0,ei.match_length=ei.prev_length=t5-1,ei.match_available=0,Y.next_in=ec,Y.input=ed,Y.avail_in=eu,ei.wrap=eo,tI},deflateInfo:"pako deflate (from Nodeca project)"};function nU(Y){for(var et=0,en=0,ei=Y.length;en<ei;en++)et+=Y[en].length;for(var eo=new Uint8Array(et),ea=0,eu=0,ec=Y.length;ea<ec;ea++){var ed=Y[ea];eo.set(ed,eu),eu+=ed.length}return eo}for(var nH=new Uint8Array(256),nG=0;nG<256;nG++)nH[nG]=nG>=252?6:nG>=248?5:nG>=240?4:nG>=224?3:nG>=192?2:1;nH[254]=nH[254]=1;var nV=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},nW=Object.prototype.toString,nq=tw.Z_NO_FLUSH,nZ=tw.Z_SYNC_FLUSH,nK=tw.Z_FULL_FLUSH,n$=tw.Z_FINISH,nY=tw.Z_OK,nQ=tw.Z_STREAM_END,nX=tw.Z_DEFAULT_COMPRESSION,nJ=tw.Z_DEFAULT_STRATEGY,n0=tw.Z_DEFLATED;function n9(){this.options={level:nX,method:n0,chunkSize:16384,windowBits:15,memLevel:8,strategy:nJ};var Y,et=this.options;et.raw&&et.windowBits>0?et.windowBits=-et.windowBits:et.gzip&&et.windowBits>0&&et.windowBits<16&&(et.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new nV,this.strm.avail_out=0;var en=nz.deflateInit2(this.strm,et.level,et.method,et.windowBits,et.memLevel,et.strategy);if(en!==nY)throw Error(tk[en]);if(et.header&&nz.deflateSetHeader(this.strm,et.header),et.dictionary){if(Y="[object ArrayBuffer]"===nW.call(et.dictionary)?new Uint8Array(et.dictionary):et.dictionary,(en=nz.deflateSetDictionary(this.strm,Y))!==nY)throw Error(tk[en]);this._dict_set=!0}}return n9.prototype.push=function(Y,et){var en,ei,eo=this.strm,ea=this.options.chunkSize;if(this.ended)return!1;for(ei=et===~~et?et:!0===et?n$:nq,"[object ArrayBuffer]"===nW.call(Y)?eo.input=new Uint8Array(Y):eo.input=Y,eo.next_in=0,eo.avail_in=eo.input.length;;){if(0===eo.avail_out&&(eo.output=new Uint8Array(ea),eo.next_out=0,eo.avail_out=ea),(ei===nZ||ei===nK)&&eo.avail_out<=6){this.onData(eo.output.subarray(0,eo.next_out)),eo.avail_out=0;continue}if((en=nz.deflate(eo,ei))===nQ)return eo.next_out>0&&this.onData(eo.output.subarray(0,eo.next_out)),en=nz.deflateEnd(this.strm),this.onEnd(en),this.ended=!0,en===nY;if(0===eo.avail_out){this.onData(eo.output);continue}if(ei>0&&eo.next_out>0){this.onData(eo.output.subarray(0,eo.next_out)),eo.avail_out=0;continue}if(0===eo.avail_in)break}return!0},n9.prototype.onData=function(Y){this.chunks.push(Y)},n9.prototype.onEnd=function(Y){Y===nY&&(this.result=nU(this.chunks)),this.chunks=[],this.err=Y,this.msg=this.strm.msg},{Deflate:n9,constants:tw,string2buf:function(Y){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return new TextEncoder().encode(Y);var et,en,ei,eo,ea,eu=Y.length,ec=0;for(eo=0;eo<eu;eo++)(64512&(en=Y.charCodeAt(eo)))==55296&&eo+1<eu&&(64512&(ei=Y.charCodeAt(eo+1)))==56320&&(en=65536+(en-55296<<10)+(ei-56320),eo++),ec+=en<128?1:en<2048?2:en<65536?3:4;for(ea=0,et=new Uint8Array(ec),eo=0;ea<ec;eo++)(64512&(en=Y.charCodeAt(eo)))==55296&&eo+1<eu&&(64512&(ei=Y.charCodeAt(eo+1)))==56320&&(en=65536+(en-55296<<10)+(ei-56320),eo++),en<128?et[ea++]=en:en<2048?(et[ea++]=192|en>>>6,et[ea++]=128|63&en):en<65536?(et[ea++]=224|en>>>12,et[ea++]=128|en>>>6&63,et[ea++]=128|63&en):(et[ea++]=240|en>>>18,et[ea++]=128|en>>>12&63,et[ea++]=128|en>>>6&63,et[ea++]=128|63&en);return et}}}Y(function(){var en=et(),ei=en.Deflate,eo=en.constants,ea=en.string2buf,eu=new ei,ec=0;function ed(Y){var et=ea(Y);return eu.push(et,eo.Z_SYNC_FLUSH),ec+=et.length,et.length}self.addEventListener("message",Y(function(Y){var et=Y.data;switch(et.action){case"init":self.postMessage({type:"initialized"});break;case"write":var en=ed(et.data);self.postMessage({type:"wrote",id:et.id,compressedBytesCount:eu.chunks.reduce(function(Y,et){return Y+et.length},0),additionalBytesCount:en});break;case"flush":var en=et.data?ed(et.data):0;eu.push("",eo.Z_FINISH),self.postMessage({type:"flushed",id:et.id,result:eu.result,additionalBytesCount:en,rawBytesCount:ec}),eu=new ei,ec=0}}))})()}var fR={status:0};function fD(Y,et){switch(void 0===et&&(et=fN),fR.status){case 0:fR={status:1,callbacks:[Y]},fF(et);break;case 1:fR.callbacks.push(Y);break;case 2:Y();break;case 3:Y(fR.worker)}}function fF(Y){void 0===Y&&(Y=fN);try{var et=Y();return ir(et,"error",fz),ir(et,"message",function(Y){var en=Y.data;"errored"===en.type?fz(en.error):"initialized"===en.type&&fB(et)}),et.postMessage({action:"init"}),et}catch(Y){fz(Y)}}function fB(Y){1===fR.status&&(fR.callbacks.forEach(function(et){return et(Y)}),fR={status:3,worker:Y})}function fz(Y){1===fR.status?(ez.error("Session Replay recording failed to start: an error occurred while creating the Worker:",Y),Y instanceof Event||Y instanceof Error&&fU(Y.message)?ez.error("Please make sure CSP is correctly configured https://docs.datadoghq.com/real_user_monitoring/faq/content_security_policy"):iw(Y),fR.callbacks.forEach(function(Y){return Y()}),fR={status:2}):iw(Y)}function fU(Y){return eQ(Y,"Content Security Policy")||eQ(Y,"requires 'TrustedScriptURL'")}function fH(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}function fG(Y,et,en,ei){var eo=et.findTrackedSession(),ea=fV(eo,ei);return cT(Y,{viewContext:en.findView(),errorType:ea,session:eo})}function fV(Y,et){return fH()?Y?Y.sessionReplayAllowed?et?void 0:"replay-not-started":"incorrect-session-plan":"rum-not-tracked":"browser-not-supported"}var fW=r3(c_,function(Y,et){if(void 0===et&&(et=fD),nO()||!fH())return{start:t_,stop:t_,getReplayStats:function(){},onRumStart:t_,isRecording:function(){return!1},getSessionReplayLink:function(){}};var en={status:0},ei=function(){en={status:1}},eo=function(){en={status:0}};return{start:function(){return ei()},stop:function(){return eo()},getReplayStats:fE,getSessionReplayLink:function(Y,et,ei){return fG(Y,et,ei,0!==en.status)},onRumStart:function(ea,eu,ec,ed){ea.subscribe(7,function(){(2===en.status||3===en.status)&&(eo(),en={status:1})}),ea.subscribe(8,function(){1===en.status&&ei()}),ei=function(){var ei=ec.findTrackedSession();if(!ei||!ei.sessionReplayAllowed){en={status:1};return}2!==en.status&&3!==en.status&&(en={status:2},iM("interactive",function(){2===en.status&&et(function(et){if(2===en.status){if(!et){en={status:0};return}en={status:3,stopRecording:Y(ea,eu,ec,ed,et).stop}}})}))},eo=function(){0!==en.status&&(3===en.status&&en.stopRecording(),en={status:0})},1===en.status&&ei()},isRecording:function(){return 3===en.status}}}(function(Y,et,en,ei,eo,ea){var eu=function(et){Y.notify(12,{error:et})},ec=ea||uz(et.sessionReplayEndpointBuilder,fP,eu),ed=fj(Y,et.applicationId,en,ei,ec,eo),ef=ed.addRecord,eh=ed.stop,ep=fv({emit:ef,configuration:et,lifeCycle:Y}),em=ep.stop,eg=ep.takeSubsequentFullSnapshot,ey=ep.flushMutations,eb=Y.subscribe(4,function(){ey(),ef({timestamp:t8(),type:cM.ViewEnd})}).unsubscribe,ek=Y.subscribe(2,function(Y){eg(Y.startClocks.timeStamp)}).unsubscribe;return{stop:function(){eb(),ek(),em(),eh()}}}));tu(tc(),"DD_RUM",fW);var fq=en(11615),fZ=["Fetch is aborted","FatalServerError"];function fK(Y){return fZ.some(function(et){return Y.message.includes(et)})}var f$=new WeakMap,fY=new(function(){function Y(){(0,eI._)(this,Y),(0,eL._)(this,f$,{writable:!0,value:void 0}),(0,eR._)(this,f$,!1)}var et=Y.prototype;return et.initialize=function(){fq.ZF&&!(0,eN._)(this,f$)&&(fW.init({applicationId:"fd6e06b8-4825-4fbb-8db4-2a243f92c4bc",clientToken:"pub1f79f8ac903a5872ae5f53026d20a77c",site:"datadoghq.com",service:"chatgpt-web",env:"production",version:"a2cec072d91e749adac9613be61db7adc740e3e6",sessionSampleRate:1,sessionReplaySampleRate:0,trackUserInteractions:!1,trackResources:!0,trackLongTasks:!0,defaultPrivacyLevel:"mask-user-input",enableExperimentalFeatures:["feature_flags"],beforeSend:function(Y){if("error"===Y.type&&fK(Y.error))return!1}}),(0,eR._)(this,f$,!0))},et.addAction=function(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{fq.L_&&((0,eN._)(this,f$)||this.initialize(),fW.addAction(Y,et))}catch(Y){}},et.setUser=function(Y,et,en,ei){var eo={};if(eo.has_paid_plan=en.hasPaidSubscription,eo.account_plan_user_role=en.accountUserRole,eo.account_plan_name=en.subscriptionPlan,ei&&Object.keys(ei).length>0){var ea=!0,eu=!1,ec=void 0;try{for(var ed,ef=Object.entries(ei)[Symbol.iterator]();!(ea=(ed=ef.next()).done);ea=!0){var eh=(0,eF._)(ed.value,2),ep=eh[0],em=eh[1];eo[ep]=em}}catch(Y){eu=!0,ec=Y}finally{try{ea||null==ef.return||ef.return()}finally{if(eu)throw ec}}}var eg=(0,eD._)({email:Y.email,user_id:Y.id,name:Y.name},eo);if(fq.L_)this.initialize(),et.forEach(function(Y){fW.addFeatureFlagEvaluation(Y,!0)}),fW.setUser(eg);else{console.debug("Identifying user for Datadog",eg);return}},Y}())},11615:function(Y,et,en){"use strict";en.d(et,{D0:function(){return ei},L_:function(){return eu},ZF:function(){return ea},cm:function(){return eo}});var ei=!1,eo=!1,ea=!0,eu=!0},19253:function(Y,et,en){"use strict";en.d(et,{F:function(){return ei},m:function(){return eg}});var ei,eo=en(51217),ea=en(53596),eu=en(66816),ec=en(49406),ed=en(96237),ef=en(11615),eh=window.localStorage;!function(Y){Y.Theme="theme",Y.NextAuth="nextauth.message",Y.SelectedLocale="oai/apps/locale",Y.HistoryDisabled="oai/apps/historyDisabled",Y.SettingsModified="oai/apps/modifiedSettings",Y.IsNavigationCollapsed="UiState.isNavigationCollapsed.1",Y.LastUsedModel="oai/apps/lastModelUsed",Y.EnabledPlugins="oai/enabledPluginIds",Y.HasSignedUpForPlusUpgradeWaitlist="oai/apps/HasSignedUpForPlusUpgradeWaitlist",Y.HasSignedUpForTeamUpgradeWaitlist="oai/apps/HasSignedUpForTeamUpgradeWaitlist"}(ei||(ei={}));var ep=new WeakMap,em=function(){function Y(){var et;(0,eo._)(this,Y),(0,eu._)(this,ep,{writable:!0,value:void 0}),(0,ec._)(this,ep,(et={},(0,ed._)(et,ei.Theme,{type:"essential",name:ei.Theme}),(0,ed._)(et,ei.NextAuth,{type:"essential",name:ei.NextAuth}),(0,ed._)(et,ei.SelectedLocale,{type:"essential",name:ei.SelectedLocale}),(0,ed._)(et,ei.HistoryDisabled,{type:"essential",name:ei.HistoryDisabled}),(0,ed._)(et,ei.SettingsModified,{type:"essential",name:ei.SettingsModified}),(0,ed._)(et,ei.IsNavigationCollapsed,{type:"essential",name:ei.IsNavigationCollapsed}),(0,ed._)(et,ei.LastUsedModel,{type:"essential",name:ei.LastUsedModel}),(0,ed._)(et,ei.EnabledPlugins,{type:"essential",name:ei.EnabledPlugins}),(0,ed._)(et,ei.HasSignedUpForPlusUpgradeWaitlist,{type:"essential",name:ei.HasSignedUpForPlusUpgradeWaitlist}),(0,ed._)(et,ei.HasSignedUpForTeamUpgradeWaitlist,{type:"essential",name:ei.HasSignedUpForTeamUpgradeWaitlist}),et))}var et=Y.prototype;return et.getConfig=function(Y){return(0,ea._)(this,ep)[Y]},et.isEssential=function(Y){if(Y in(0,ea._)(this,ep))return"essential"===this.getConfig(Y).type},Y}(),eg=function(){function Y(){(0,eo._)(this,Y)}return Y.setItem=function(Y,et,en){if(!eh){(ef.D0||ef.cm)&&console.warn("You cannot set localStorage server-side (".concat(Y,")"));return}var ei=eb(Y,en);if(ey.isEssential(Y))eh.setItem(ei,JSON.stringify(et));else if(ef.D0)throw Error("Modifying non-essential localStorage is not yet implemented")},Y.getItem=function(Y,et){if(!eh)return(ef.D0||ef.cm)&&console.warn("You cannot get localStorage server-side (".concat(Y,")")),null;var en=eb(Y,et);if(ey.isEssential(Y)){var ei=eh.getItem(en);return"string"==typeof ei?JSON.parse(ei):ei}if(ef.D0)throw Error("Modifying non-essential localStorage is not yet implemented");return this.removeItem(Y,et),null},Y.removeItem=function(Y,et){if(eh){var en=eb(Y,et);return eh.removeItem(en)}},Y.DANGER_SECRET_FOLDERS_ONLY_setItem=function(Y,et){if(!eh){console.warn("You cannot set localStorage server-side (".concat(Y,")"));return}eh.setItem(Y,JSON.stringify(et))},Y.DANGER_SECRET_FOLDERS_ONLY_getItem=function(Y){if(!eh)return console.warn("You cannot get localStorage server-side (".concat(Y,")")),null;var et=eh.getItem(Y);return"string"==typeof et?JSON.parse(et):et},Y}(),ey=new em;function eb(Y,et){var en=[Y];return void 0!==et&&(null!=et.userId&&en.push(et.userId),null!=et.workspaceId&&en.push(et.workspaceId),null!=et.workspaceScope&&en.push(et.workspaceScope)),en.join("/")}},60478:function(Y,et,en){"use strict";en.d(et,{Mf:function(){return eo},qS:function(){return ei},sK:function(){return ea}}),function(Y){Y.ContentOrTos="content_or_tos",Y.ContentPolicy="content_policy"}(ei||(ei={}));var ei,eo={errType:"warning",errCode:ei.ContentPolicy},ea={err:"Contents may violate our content policy",errType:"danger",errCode:ei.ContentPolicy}},68951:function(Y,et,en){"use strict";en.d(et,{E:function(){return eE}});var ei=en(52134),eo=en(39743),ea=en(69548),eu=en(49948),ec=class extends eu.F{constructor(Y){super(),this.#d=!1,this.#f=Y.defaultOptions,this.#h(Y.options),this.#r=[],this.#p=Y.cache,this.queryKey=Y.queryKey,this.queryHash=Y.queryHash,this.#m=Y.state||ed(this.options),this.state=this.#m,this.scheduleGc()}#m;#g;#p;#v;#y;#r;#f;#d;get meta(){return this.options.meta}#h(Y){this.options={...this.#f,...Y},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.#r.length||"idle"!==this.state.fetchStatus||this.#p.remove(this)}setData(Y,et){let en=(0,ei.oE)(this.state.data,Y,this.options);return this.#b({data:en,type:"success",dataUpdatedAt:et?.updatedAt,manual:et?.manual}),en}setState(Y,et){this.#b({type:"setState",state:Y,setStateOptions:et})}cancel(Y){let et=this.#v;return this.#y?.cancel(Y),et?et.then(ei.ZT).catch(ei.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#m)}isActive(){return this.#r.some(Y=>!1!==Y.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.#r.some(Y=>Y.getCurrentResult().isStale)}isStaleByTime(Y=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,ei.Kp)(this.state.dataUpdatedAt,Y)}onFocus(){let Y=this.#r.find(Y=>Y.shouldFetchOnWindowFocus());Y?.refetch({cancelRefetch:!1}),this.#y?.continue()}onOnline(){let Y=this.#r.find(Y=>Y.shouldFetchOnReconnect());Y?.refetch({cancelRefetch:!1}),this.#y?.continue()}addObserver(Y){this.#r.includes(Y)||(this.#r.push(Y),this.clearGcTimeout(),this.#p.notify({type:"observerAdded",query:this,observer:Y}))}removeObserver(Y){this.#r.includes(Y)&&(this.#r=this.#r.filter(et=>et!==Y),this.#r.length||(this.#y&&(this.#d?this.#y.cancel({revert:!0}):this.#y.cancelRetry()),this.scheduleGc()),this.#p.notify({type:"observerRemoved",query:this,observer:Y}))}getObserversCount(){return this.#r.length}invalidate(){this.state.isInvalidated||this.#b({type:"invalidate"})}fetch(Y,et){if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&et?.cancelRefetch)this.cancel({silent:!0});else if(this.#v)return this.#y?.continueRetry(),this.#v}if(Y&&this.#h(Y),!this.options.queryFn){let Y=this.#r.find(Y=>Y.options.queryFn);Y&&this.#h(Y.options)}let en=new AbortController,ei={queryKey:this.queryKey,meta:this.meta},eo=Y=>{Object.defineProperty(Y,"signal",{enumerable:!0,get:()=>(this.#d=!0,en.signal)})};eo(ei);let eu=()=>this.options.queryFn?(this.#d=!1,this.options.persister)?this.options.persister(this.options.queryFn,ei,this):this.options.queryFn(ei):Promise.reject(Error(`Missing queryFn: '${this.options.queryHash}'`)),ec={fetchOptions:et,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:eu};eo(ec),this.options.behavior?.onFetch(ec,this),this.#g=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==ec.fetchOptions?.meta)&&this.#b({type:"fetch",meta:ec.fetchOptions?.meta});let ed=Y=>{(0,ea.DV)(Y)&&Y.silent||this.#b({type:"error",error:Y}),(0,ea.DV)(Y)||(this.#p.config.onError?.(Y,this),this.#p.config.onSettled?.(this.state.data,Y,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.#y=(0,ea.Mz)({fn:ec.fetchFn,abort:en.abort.bind(en),onSuccess:Y=>{if(void 0===Y){ed(Error(`${this.queryHash} data is undefined`));return}this.setData(Y),this.#p.config.onSuccess?.(Y,this),this.#p.config.onSettled?.(Y,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:ed,onFail:(Y,et)=>{this.#b({type:"failed",failureCount:Y,error:et})},onPause:()=>{this.#b({type:"pause"})},onContinue:()=>{this.#b({type:"continue"})},retry:ec.options.retry,retryDelay:ec.options.retryDelay,networkMode:ec.options.networkMode}),this.#v=this.#y.promise,this.#v}#b(Y){let et=et=>{switch(Y.type){case"failed":return{...et,fetchFailureCount:Y.failureCount,fetchFailureReason:Y.error};case"pause":return{...et,fetchStatus:"paused"};case"continue":return{...et,fetchStatus:"fetching"};case"fetch":return{...et,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:Y.meta??null,fetchStatus:(0,ea.Kw)(this.options.networkMode)?"fetching":"paused",...!et.dataUpdatedAt&&{error:null,status:"pending"}};case"success":return{...et,data:Y.data,dataUpdateCount:et.dataUpdateCount+1,dataUpdatedAt:Y.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!Y.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let en=Y.error;if((0,ea.DV)(en)&&en.revert&&this.#g)return{...this.#g,fetchStatus:"idle"};return{...et,error:en,errorUpdateCount:et.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:et.fetchFailureCount+1,fetchFailureReason:en,fetchStatus:"idle",status:"error"};case"invalidate":return{...et,isInvalidated:!0};case"setState":return{...et,...Y.state}}};this.state=et(this.state),eo.V.batch(()=>{this.#r.forEach(Y=>{Y.onQueryUpdate()}),this.#p.notify({query:this,type:"updated",action:Y})})}};function ed(Y){let et="function"==typeof Y.initialData?Y.initialData():Y.initialData,en=void 0!==et,ei=en?"function"==typeof Y.initialDataUpdatedAt?Y.initialDataUpdatedAt():Y.initialDataUpdatedAt:0;return{data:et,dataUpdateCount:0,dataUpdatedAt:en?ei??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:en?"success":"pending",fetchStatus:"idle"}}var ef=en(74349),eh=class extends ef.l{constructor(Y={}){super(),this.config=Y,this.#n=new Map}#n;build(Y,et,en){let eo=et.queryKey,ea=et.queryHash??(0,ei.Rm)(eo,et),eu=this.get(ea);return eu||(eu=new ec({cache:this,queryKey:eo,queryHash:ea,options:Y.defaultQueryOptions(et),state:en,defaultOptions:Y.getQueryDefaults(eo)}),this.add(eu)),eu}add(Y){this.#n.has(Y.queryHash)||(this.#n.set(Y.queryHash,Y),this.notify({type:"added",query:Y}))}remove(Y){let et=this.#n.get(Y.queryHash);et&&(Y.destroy(),et===Y&&this.#n.delete(Y.queryHash),this.notify({type:"removed",query:Y}))}clear(){eo.V.batch(()=>{this.getAll().forEach(Y=>{this.remove(Y)})})}get(Y){return this.#n.get(Y)}getAll(){return[...this.#n.values()]}find(Y){let et={exact:!0,...Y};return this.getAll().find(Y=>(0,ei._x)(et,Y))}findAll(Y={}){let et=this.getAll();return Object.keys(Y).length>0?et.filter(et=>(0,ei._x)(Y,et)):et}notify(Y){eo.V.batch(()=>{this.listeners.forEach(et=>{et(Y)})})}onFocus(){eo.V.batch(()=>{this.getAll().forEach(Y=>{Y.onFocus()})})}onOnline(){eo.V.batch(()=>{this.getAll().forEach(Y=>{Y.onOnline()})})}},ep=en(28049),em=class extends ef.l{constructor(Y={}){super(),this.config=Y,this.#x=[],this.#k=0}#x;#k;#w;build(Y,et,en){let ei=new ep.m({mutationCache:this,mutationId:++this.#k,options:Y.defaultMutationOptions(et),state:en});return this.add(ei),ei}add(Y){this.#x.push(Y),this.notify({type:"added",mutation:Y})}remove(Y){this.#x=this.#x.filter(et=>et!==Y),this.notify({type:"removed",mutation:Y})}clear(){eo.V.batch(()=>{this.#x.forEach(Y=>{this.remove(Y)})})}getAll(){return this.#x}find(Y){let et={exact:!0,...Y};return this.#x.find(Y=>(0,ei.X7)(et,Y))}findAll(Y={}){return this.#x.filter(et=>(0,ei.X7)(Y,et))}notify(Y){eo.V.batch(()=>{this.listeners.forEach(et=>{et(Y)})})}resumePausedMutations(){return this.#w=(this.#w??Promise.resolve()).then(()=>{let Y=this.#x.filter(Y=>Y.state.isPaused);return eo.V.batch(()=>Y.reduce((Y,et)=>Y.then(()=>et.continue().catch(ei.ZT)),Promise.resolve()))}).then(()=>{this.#w=void 0}),this.#w}},eg=en(30692),ey=en(51288),eb=en(23418),ek=class{#_;#E;#f;#C;#T;#S;#A;#M;constructor(Y={}){this.#_=Y.queryCache||new eh,this.#E=Y.mutationCache||new em,this.#f=Y.defaultOptions||{},this.#C=new Map,this.#T=new Map,this.#S=0}mount(){this.#S++,1===this.#S&&(this.#A=eg.j.subscribe(()=>{eg.j.isFocused()&&(this.resumePausedMutations(),this.#_.onFocus())}),this.#M=ey.N.subscribe(()=>{ey.N.isOnline()&&(this.resumePausedMutations(),this.#_.onOnline())}))}unmount(){this.#S--,0===this.#S&&(this.#A?.(),this.#A=void 0,this.#M?.(),this.#M=void 0)}isFetching(Y){return this.#_.findAll({...Y,fetchStatus:"fetching"}).length}isMutating(Y){return this.#E.findAll({...Y,status:"pending"}).length}getQueryData(Y){return this.#_.find({queryKey:Y})?.state.data}ensureQueryData(Y){let et=this.getQueryData(Y.queryKey);return et?Promise.resolve(et):this.fetchQuery(Y)}getQueriesData(Y){return this.getQueryCache().findAll(Y).map(({queryKey:Y,state:et})=>{let en=et.data;return[Y,en]})}setQueryData(Y,et,en){let eo=this.#_.find({queryKey:Y}),ea=eo?.state.data,eu=(0,ei.SE)(et,ea);if(void 0===eu)return;let ec=this.defaultQueryOptions({queryKey:Y});return this.#_.build(this,ec).setData(eu,{...en,manual:!0})}setQueriesData(Y,et,en){return eo.V.batch(()=>this.getQueryCache().findAll(Y).map(({queryKey:Y})=>[Y,this.setQueryData(Y,et,en)]))}getQueryState(Y){return this.#_.find({queryKey:Y})?.state}removeQueries(Y){let et=this.#_;eo.V.batch(()=>{et.findAll(Y).forEach(Y=>{et.remove(Y)})})}resetQueries(Y,et){let en=this.#_,ei={type:"active",...Y};return eo.V.batch(()=>(en.findAll(Y).forEach(Y=>{Y.reset()}),this.refetchQueries(ei,et)))}cancelQueries(Y={},et={}){let en={revert:!0,...et},ea=eo.V.batch(()=>this.#_.findAll(Y).map(Y=>Y.cancel(en)));return Promise.all(ea).then(ei.ZT).catch(ei.ZT)}invalidateQueries(Y={},et={}){return eo.V.batch(()=>{if(this.#_.findAll(Y).forEach(Y=>{Y.invalidate()}),"none"===Y.refetchType)return Promise.resolve();let en={...Y,type:Y.refetchType??Y.type??"active"};return this.refetchQueries(en,et)})}refetchQueries(Y={},et){let en={...et,cancelRefetch:et?.cancelRefetch??!0},ea=eo.V.batch(()=>this.#_.findAll(Y).filter(Y=>!Y.isDisabled()).map(Y=>{let et=Y.fetch(void 0,en);return en.throwOnError||(et=et.catch(ei.ZT)),"paused"===Y.state.fetchStatus?Promise.resolve():et}));return Promise.all(ea).then(ei.ZT)}fetchQuery(Y){let et=this.defaultQueryOptions(Y);void 0===et.retry&&(et.retry=!1);let en=this.#_.build(this,et);return en.isStaleByTime(et.staleTime)?en.fetch(et):Promise.resolve(en.state.data)}prefetchQuery(Y){return this.fetchQuery(Y).then(ei.ZT).catch(ei.ZT)}fetchInfiniteQuery(Y){return Y.behavior=(0,eb.Gm)(Y.pages),this.fetchQuery(Y)}prefetchInfiniteQuery(Y){return this.fetchInfiniteQuery(Y).then(ei.ZT).catch(ei.ZT)}resumePausedMutations(){return this.#E.resumePausedMutations()}getQueryCache(){return this.#_}getMutationCache(){return this.#E}getDefaultOptions(){return this.#f}setDefaultOptions(Y){this.#f=Y}setQueryDefaults(Y,et){this.#C.set((0,ei.Ym)(Y),{queryKey:Y,defaultOptions:et})}getQueryDefaults(Y){let et=[...this.#C.values()],en={};return et.forEach(et=>{(0,ei.to)(Y,et.queryKey)&&(en={...en,...et.defaultOptions})}),en}setMutationDefaults(Y,et){this.#T.set((0,ei.Ym)(Y),{mutationKey:Y,defaultOptions:et})}getMutationDefaults(Y){let et=[...this.#T.values()],en={};return et.forEach(et=>{(0,ei.to)(Y,et.mutationKey)&&(en={...en,...et.defaultOptions})}),en}defaultQueryOptions(Y){if(Y?._defaulted)return Y;let et={...this.#f.queries,...Y?.queryKey&&this.getQueryDefaults(Y.queryKey),...Y,_defaulted:!0};return et.queryHash||(et.queryHash=(0,ei.Rm)(et.queryKey,et)),void 0===et.refetchOnReconnect&&(et.refetchOnReconnect="always"!==et.networkMode),void 0===et.throwOnError&&(et.throwOnError=!!et.suspense),void 0===et.networkMode&&et.persister&&(et.networkMode="offlineFirst"),et}defaultMutationOptions(Y){return Y?._defaulted?Y:{...this.#f.mutations,...Y?.mutationKey&&this.getMutationDefaults(Y.mutationKey),...Y,_defaulted:!0}}clear(){this.#_.clear(),this.#E.clear()}},ew=348e4,e_=348e4,eE=function(){return new ek({defaultOptions:{queries:{gcTime:e_,staleTime:ew,retry:!1,retryOnMount:!1,refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!1,networkMode:"always"}}})}()},8874:function(Y,et,en){"use strict";en.d(et,{m9:function(){return em}});var ei=en(21722),eo=en(51217),ea=en(38104),eu=en(11615),ec=en(48953),ed=en.n(ec),ef="client-tnE5GCU2F2cTxRiMbvTczMDT1jpwIigZHsZSdqiy4u",eh="development";eu.cm?eh="staging":eu.L_&&(eh="production");var ep=eh,em=new(function(){function Y(){(0,eo._)(this,Y),this.initialized=!1,this.isAnonymous=!0,this.eventQueue=[]}var et=Y.prototype;return et.initializeStatsig=function(Y){var et=this;return(0,ei._)(function(){return(0,ea.Jh)(this,function(en){switch(en.label){case 0:if(et.initialized)return[3,2];return(null==Y?void 0:Y.userID)&&(et.identifiedUserId=Y.userID,et.isAnonymous=!1),[4,ed().initialize(ef,Y,{environment:{tier:ep}})];case 1:en.sent(),et.statsigStableId=ed().getStableID(),et.initialized=!0,en.label=2;case 2:return[2,ed()]}})})()},et.getStatsigUser=function(Y,et){return{userID:Y.id,privateAttributes:{email:Y.email},custom:{is_paid:et,workspace_id:this.workspaceId}}},et.logEvent=function(Y,et,en,ei){this.identifiedUserId?eu.D0?console.debug("Logging event to statsig ".concat(ei?"(from queue)":""),Y,et,en):ed().logEvent(Y,et,en):this.eventQueue.push({eventName:Y,value:et,metadata:en})},et.logQueue=function(){var Y=this;this.eventQueue.length>0&&(this.eventQueue.forEach(function(et){Y.logEvent(et.eventName,et.value,et.metadata,!0)}),this.eventQueue=[])},et.setUser=function(Y,et){var en=this;if(this.user=this.getStatsigUser(Y,et.hasPaidSubscription),eu.D0){console.debug("Identifying user for statsig",this.user),this.identifiedUserId=Y.id,this.logQueue();return}this.initialized?this.initialized&&this.identifiedUserId!==Y.id&&(this.identifiedUserId=Y.id,ed().updateUser(this.user)):this.initializeStatsig(this.user).then(function(){en.logQueue()})},et.setUserWorkspaceId=function(Y){var et;this.workspaceId=Y,(null===(et=this.user)||void 0===et?void 0:et.custom)!==void 0&&(this.user.custom.workspaceId=Y,this.initialized&&ed().updateUser(this.user))},Y}())},85647:function(){},11975:function(){},8186:function(){},57221:function(){},24083:function(){},29124:function(Y,et,en){Y.exports=en(5534)},21988:function(Y,et,en){Y.exports=en(74791)},73040:function(Y,et,en){Y.exports=en(32816)},10721:function(Y,et,en){Y.exports=en(34532)},66435:function(Y){function et(Y){return function(et,en,ei,eo){var ec,ed=eo&&eu(eo.normalizer)?eo.normalizer:ea;en=ed(en);for(var ef=!1;!ef;)eh();function eh(){for(ec in et){var Y=ed(ec);if(0===en.indexOf(Y)){var ei=en.substr(Y.length);if("."===ei.charAt(0)||0===ei.length){en=ei.substr(1);var eo=et[ec];if(null==eo||!en.length){ef=!0;return}et=eo;return}}}ec=void 0,ef=!0}if(ec)return null==et?et:Y(et,ec,ei)}}function en(Y,et){if(Y.hasOwnProperty(et))return Y[et]}function ei(Y,et){return Y.hasOwnProperty(et)&&delete Y[et],Y}function eo(Y,et,en){return Y.hasOwnProperty(et)&&(Y[et]=en),Y}function ea(Y){return Y.replace(/[^a-zA-Z0-9\.]+/g,"").toLowerCase()}function eu(Y){return"function"==typeof Y}Y.exports=et(en),Y.exports.find=Y.exports,Y.exports.replace=function(Y,en,ei,ea){return et(eo).call(this,Y,en,ei,ea),Y},Y.exports.del=function(Y,en,eo){return et(ei).call(this,Y,en,null,eo),Y}},78196:function(Y){"use strict";var et=function(Y){return Y!=Y};Y.exports=function(Y,en){return 0===Y&&0===en?1/Y==1/en:!!(Y===en||et(Y)&&et(en))}},96959:function(Y,et,en){"use strict";var ei=en(25416),eo=en(5806),ea=en(78196),eu=en(71783),ec=en(69530),ed=eo(eu(),Object);ei(ed,{getPolyfill:eu,implementation:ea,shim:ec}),Y.exports=ed},71783:function(Y,et,en){"use strict";var ei=en(78196);Y.exports=function(){return"function"==typeof Object.is?Object.is:ei}},69530:function(Y,et,en){"use strict";var ei=en(71783),eo=en(25416);Y.exports=function(){var Y=ei();return eo(Object,{is:Y},{is:function(){return Object.is!==Y}}),Y}},73351:function(Y,et,en){"use strict";var ei;if(!Object.keys){var eo=Object.prototype.hasOwnProperty,ea=Object.prototype.toString,eu=en(60640),ec=Object.prototype.propertyIsEnumerable,ed=!ec.call({toString:null},"toString"),ef=ec.call(function(){},"prototype"),eh=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],ep=function(Y){var et=Y.constructor;return et&&et.prototype===Y},em={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},eg=function(){if("undefined"==typeof window)return!1;for(var Y in window)try{if(!em["$"+Y]&&eo.call(window,Y)&&null!==window[Y]&&"object"==typeof window[Y])try{ep(window[Y])}catch(Y){return!0}}catch(Y){return!0}return!1}(),ey=function(Y){if("undefined"==typeof window||!eg)return ep(Y);try{return ep(Y)}catch(Y){return!1}};ei=function(Y){var et=null!==Y&&"object"==typeof Y,en="[object Function]"===ea.call(Y),ei=eu(Y),ec=et&&"[object String]"===ea.call(Y),ep=[];if(!et&&!en&&!ei)throw TypeError("Object.keys called on a non-object");var em=ef&&en;if(ec&&Y.length>0&&!eo.call(Y,0))for(var eg=0;eg<Y.length;++eg)ep.push(String(eg));if(ei&&Y.length>0)for(var eb=0;eb<Y.length;++eb)ep.push(String(eb));else for(var ek in Y)!(em&&"prototype"===ek)&&eo.call(Y,ek)&&ep.push(String(ek));if(ed)for(var ew=ey(Y),e_=0;e_<eh.length;++e_)!(ew&&"constructor"===eh[e_])&&eo.call(Y,eh[e_])&&ep.push(eh[e_]);return ep}}Y.exports=ei},38315:function(Y,et,en){"use strict";var ei=Array.prototype.slice,eo=en(60640),ea=Object.keys,eu=ea?function(Y){return ea(Y)}:en(73351),ec=Object.keys;eu.shim=function(){return Object.keys?!function(){var Y=Object.keys(arguments);return Y&&Y.length===arguments.length}(1,2)&&(Object.keys=function(Y){return eo(Y)?ec(ei.call(Y)):ec(Y)}):Object.keys=eu,Object.keys||eu},Y.exports=eu},60640:function(Y){"use strict";var et=Object.prototype.toString;Y.exports=function(Y){var en=et.call(Y),ei="[object Arguments]"===en;return ei||(ei="[object Array]"!==en&&null!==Y&&"object"==typeof Y&&"number"==typeof Y.length&&Y.length>=0&&"[object Function]"===et.call(Y.callee)),ei}},76743:function(Y,et,en){"use strict";let{DOCUMENT_MODE:ei}=en(28040),eo="html",ea="about:legacy-compat",eu="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",ec=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],ed=ec.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),ef=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],eh=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ep=eh.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function em(Y){let et=-1!==Y.indexOf('"')?"'":'"';return et+Y+et}function eg(Y,et){for(let en=0;en<et.length;en++)if(0===Y.indexOf(et[en]))return!0;return!1}et.isConforming=function(Y){return Y.name===eo&&null===Y.publicId&&(null===Y.systemId||Y.systemId===ea)},et.getDocumentMode=function(Y){if(Y.name!==eo)return ei.QUIRKS;let et=Y.systemId;if(et&&et.toLowerCase()===eu)return ei.QUIRKS;let en=Y.publicId;if(null!==en){if(en=en.toLowerCase(),ef.indexOf(en)>-1)return ei.QUIRKS;let Y=null===et?ed:ec;if(eg(en,Y))return ei.QUIRKS;if(eg(en,Y=null===et?eh:ep))return ei.LIMITED_QUIRKS}return ei.NO_QUIRKS},et.serializeContent=function(Y,et,en){let ei="!DOCTYPE ";return Y&&(ei+=Y),et?ei+=" PUBLIC "+em(et):en&&(ei+=" SYSTEM"),null!==en&&(ei+=" "+em(en)),ei}},97700:function(Y){"use strict";Y.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},11093:function(Y,et,en){"use strict";let ei=en(1672),eo=en(28040),ea=eo.TAG_NAMES,eu=eo.NAMESPACES,ec=eo.ATTRS,ed={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},ef="definitionurl",eh="definitionURL",ep={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},em={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:eu.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:eu.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:eu.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:eu.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:eu.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:eu.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:eu.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:eu.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:eu.XML},"xml:space":{prefix:"xml",name:"space",namespace:eu.XML},xmlns:{prefix:"",name:"xmlns",namespace:eu.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:eu.XMLNS}},eg=et.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},ey={[ea.B]:!0,[ea.BIG]:!0,[ea.BLOCKQUOTE]:!0,[ea.BODY]:!0,[ea.BR]:!0,[ea.CENTER]:!0,[ea.CODE]:!0,[ea.DD]:!0,[ea.DIV]:!0,[ea.DL]:!0,[ea.DT]:!0,[ea.EM]:!0,[ea.EMBED]:!0,[ea.H1]:!0,[ea.H2]:!0,[ea.H3]:!0,[ea.H4]:!0,[ea.H5]:!0,[ea.H6]:!0,[ea.HEAD]:!0,[ea.HR]:!0,[ea.I]:!0,[ea.IMG]:!0,[ea.LI]:!0,[ea.LISTING]:!0,[ea.MENU]:!0,[ea.META]:!0,[ea.NOBR]:!0,[ea.OL]:!0,[ea.P]:!0,[ea.PRE]:!0,[ea.RUBY]:!0,[ea.S]:!0,[ea.SMALL]:!0,[ea.SPAN]:!0,[ea.STRONG]:!0,[ea.STRIKE]:!0,[ea.SUB]:!0,[ea.SUP]:!0,[ea.TABLE]:!0,[ea.TT]:!0,[ea.U]:!0,[ea.UL]:!0,[ea.VAR]:!0};function eb(Y,et){return et===eu.MATHML&&(Y===ea.MI||Y===ea.MO||Y===ea.MN||Y===ea.MS||Y===ea.MTEXT)}function ek(Y,et,en){if(et===eu.MATHML&&Y===ea.ANNOTATION_XML){for(let Y=0;Y<en.length;Y++)if(en[Y].name===ec.ENCODING){let et=en[Y].value.toLowerCase();return et===ed.TEXT_HTML||et===ed.APPLICATION_XML}}return et===eu.SVG&&(Y===ea.FOREIGN_OBJECT||Y===ea.DESC||Y===ea.TITLE)}et.causesExit=function(Y){let et=Y.tagName,en=et===ea.FONT&&(null!==ei.getTokenAttr(Y,ec.COLOR)||null!==ei.getTokenAttr(Y,ec.SIZE)||null!==ei.getTokenAttr(Y,ec.FACE));return!!en||ey[et]},et.adjustTokenMathMLAttrs=function(Y){for(let et=0;et<Y.attrs.length;et++)if(Y.attrs[et].name===ef){Y.attrs[et].name=eh;break}},et.adjustTokenSVGAttrs=function(Y){for(let et=0;et<Y.attrs.length;et++){let en=ep[Y.attrs[et].name];en&&(Y.attrs[et].name=en)}},et.adjustTokenXMLAttrs=function(Y){for(let et=0;et<Y.attrs.length;et++){let en=em[Y.attrs[et].name];en&&(Y.attrs[et].prefix=en.prefix,Y.attrs[et].name=en.name,Y.attrs[et].namespace=en.namespace)}},et.adjustTokenSVGTagName=function(Y){let et=eg[Y.tagName];et&&(Y.tagName=et)},et.isIntegrationPoint=function(Y,et,en,ei){return!!((!ei||ei===eu.HTML)&&ek(Y,et,en)||(!ei||ei===eu.MATHML)&&eb(Y,et))}},28040:function(Y,et){"use strict";let en=et.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};et.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},et.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};let ei=et.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};et.SPECIAL_ELEMENTS={[en.HTML]:{[ei.ADDRESS]:!0,[ei.APPLET]:!0,[ei.AREA]:!0,[ei.ARTICLE]:!0,[ei.ASIDE]:!0,[ei.BASE]:!0,[ei.BASEFONT]:!0,[ei.BGSOUND]:!0,[ei.BLOCKQUOTE]:!0,[ei.BODY]:!0,[ei.BR]:!0,[ei.BUTTON]:!0,[ei.CAPTION]:!0,[ei.CENTER]:!0,[ei.COL]:!0,[ei.COLGROUP]:!0,[ei.DD]:!0,[ei.DETAILS]:!0,[ei.DIR]:!0,[ei.DIV]:!0,[ei.DL]:!0,[ei.DT]:!0,[ei.EMBED]:!0,[ei.FIELDSET]:!0,[ei.FIGCAPTION]:!0,[ei.FIGURE]:!0,[ei.FOOTER]:!0,[ei.FORM]:!0,[ei.FRAME]:!0,[ei.FRAMESET]:!0,[ei.H1]:!0,[ei.H2]:!0,[ei.H3]:!0,[ei.H4]:!0,[ei.H5]:!0,[ei.H6]:!0,[ei.HEAD]:!0,[ei.HEADER]:!0,[ei.HGROUP]:!0,[ei.HR]:!0,[ei.HTML]:!0,[ei.IFRAME]:!0,[ei.IMG]:!0,[ei.INPUT]:!0,[ei.LI]:!0,[ei.LINK]:!0,[ei.LISTING]:!0,[ei.MAIN]:!0,[ei.MARQUEE]:!0,[ei.MENU]:!0,[ei.META]:!0,[ei.NAV]:!0,[ei.NOEMBED]:!0,[ei.NOFRAMES]:!0,[ei.NOSCRIPT]:!0,[ei.OBJECT]:!0,[ei.OL]:!0,[ei.P]:!0,[ei.PARAM]:!0,[ei.PLAINTEXT]:!0,[ei.PRE]:!0,[ei.SCRIPT]:!0,[ei.SECTION]:!0,[ei.SELECT]:!0,[ei.SOURCE]:!0,[ei.STYLE]:!0,[ei.SUMMARY]:!0,[ei.TABLE]:!0,[ei.TBODY]:!0,[ei.TD]:!0,[ei.TEMPLATE]:!0,[ei.TEXTAREA]:!0,[ei.TFOOT]:!0,[ei.TH]:!0,[ei.THEAD]:!0,[ei.TITLE]:!0,[ei.TR]:!0,[ei.TRACK]:!0,[ei.UL]:!0,[ei.WBR]:!0,[ei.XMP]:!0},[en.MATHML]:{[ei.MI]:!0,[ei.MO]:!0,[ei.MN]:!0,[ei.MS]:!0,[ei.MTEXT]:!0,[ei.ANNOTATION_XML]:!0},[en.SVG]:{[ei.TITLE]:!0,[ei.FOREIGN_OBJECT]:!0,[ei.DESC]:!0}}},79740:function(Y,et){"use strict";let en=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];et.REPLACEMENT_CHARACTER="<22>",et.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},et.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},et.isSurrogate=function(Y){return Y>=55296&&Y<=57343},et.isSurrogatePair=function(Y){return Y>=56320&&Y<=57343},et.getSurrogatePairCodePoint=function(Y,et){return(Y-55296)*1024+9216+et},et.isControlCodePoint=function(Y){return 32!==Y&&10!==Y&&13!==Y&&9!==Y&&12!==Y&&Y>=1&&Y<=31||Y>=127&&Y<=159},et.isUndefinedCodePoint=function(Y){return Y>=64976&&Y<=65007||en.indexOf(Y)>-1}},71210:function(Y,et,en){"use strict";let ei=en(24592);class eo extends ei{constructor(Y,et){super(Y),this.posTracker=null,this.onParseError=et.onParseError}_setErrorLocation(Y){Y.startLine=Y.endLine=this.posTracker.line,Y.startCol=Y.endCol=this.posTracker.col,Y.startOffset=Y.endOffset=this.posTracker.offset}_reportError(Y){let et={code:Y,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(et),this.onParseError(et)}_getOverriddenMethods(Y){return{_err(et){Y._reportError(et)}}}}Y.exports=eo},62951:function(Y,et,en){"use strict";let ei=en(71210),eo=en(65319),ea=en(84447),eu=en(24592);class ec extends ei{constructor(Y,et){super(Y,et),this.opts=et,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(Y){this.ctLoc&&(Y.startLine=this.ctLoc.startLine,Y.startCol=this.ctLoc.startCol,Y.startOffset=this.ctLoc.startOffset,Y.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,Y.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,Y.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(Y,et){return{_bootstrap(en,ei){et._bootstrap.call(this,en,ei),eu.install(this.tokenizer,eo,Y.opts),eu.install(this.tokenizer,ea)},_processInputToken(en){Y.ctLoc=en.location,et._processInputToken.call(this,en)},_err(et,en){Y.locBeforeToken=en&&en.beforeToken,Y._reportError(et)}}}}Y.exports=ec},49298:function(Y,et,en){"use strict";let ei=en(71210),eo=en(4315),ea=en(24592);class eu extends ei{constructor(Y,et){super(Y,et),this.posTracker=ea.install(Y,eo),this.lastErrOffset=-1}_reportError(Y){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(Y))}}Y.exports=eu},65319:function(Y,et,en){"use strict";let ei=en(71210),eo=en(49298),ea=en(24592);class eu extends ei{constructor(Y,et){super(Y,et);let en=ea.install(Y.preprocessor,eo,et);this.posTracker=en.posTracker}}Y.exports=eu},69134:function(Y,et,en){"use strict";let ei=en(24592);class eo extends ei{constructor(Y,et){super(Y),this.onItemPop=et.onItemPop}_getOverriddenMethods(Y,et){return{pop(){Y.onItemPop(this.current),et.pop.call(this)},popAllUpToHtmlElement(){for(let et=this.stackTop;et>0;et--)Y.onItemPop(this.items[et]);et.popAllUpToHtmlElement.call(this)},remove(en){Y.onItemPop(this.current),et.remove.call(this,en)}}}}Y.exports=eo},66010:function(Y,et,en){"use strict";let ei=en(24592),eo=en(1672),ea=en(84447),eu=en(69134),ec=en(28040),ed=ec.TAG_NAMES;class ef extends ei{constructor(Y){super(Y),this.parser=Y,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(Y){let et=null;this.lastStartTagToken&&((et=Object.assign({},this.lastStartTagToken.location)).startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(Y,et)}_setEndLocation(Y,et){let en=this.treeAdapter.getNodeSourceCodeLocation(Y);if(en&&et.location){let en=et.location,ei=this.treeAdapter.getTagName(Y),ea=et.type===eo.END_TAG_TOKEN&&ei===et.tagName,eu={};ea?(eu.endTag=Object.assign({},en),eu.endLine=en.endLine,eu.endCol=en.endCol,eu.endOffset=en.endOffset):(eu.endLine=en.startLine,eu.endCol=en.startCol,eu.endOffset=en.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(Y,eu)}}_getOverriddenMethods(Y,et){return{_bootstrap(en,eo){et._bootstrap.call(this,en,eo),Y.lastStartTagToken=null,Y.lastFosterParentingLocation=null,Y.currentToken=null;let ec=ei.install(this.tokenizer,ea);Y.posTracker=ec.posTracker,ei.install(this.openElements,eu,{onItemPop:function(et){Y._setEndLocation(et,Y.currentToken)}})},_runParsingLoop(en){et._runParsingLoop.call(this,en);for(let et=this.openElements.stackTop;et>=0;et--)Y._setEndLocation(this.openElements.items[et],Y.currentToken)},_processTokenInForeignContent(en){Y.currentToken=en,et._processTokenInForeignContent.call(this,en)},_processToken(en){Y.currentToken=en,et._processToken.call(this,en);let ei=en.type===eo.END_TAG_TOKEN&&(en.tagName===ed.HTML||en.tagName===ed.BODY&&this.openElements.hasInScope(ed.BODY));if(ei)for(let et=this.openElements.stackTop;et>=0;et--){let ei=this.openElements.items[et];if(this.treeAdapter.getTagName(ei)===en.tagName){Y._setEndLocation(ei,en);break}}},_setDocumentType(Y){et._setDocumentType.call(this,Y);let en=this.treeAdapter.getChildNodes(this.document),ei=en.length;for(let et=0;et<ei;et++){let ei=en[et];if(this.treeAdapter.isDocumentTypeNode(ei)){this.treeAdapter.setNodeSourceCodeLocation(ei,Y.location);break}}},_attachElementToTree(en){Y._setStartLocation(en),Y.lastStartTagToken=null,et._attachElementToTree.call(this,en)},_appendElement(en,ei){Y.lastStartTagToken=en,et._appendElement.call(this,en,ei)},_insertElement(en,ei){Y.lastStartTagToken=en,et._insertElement.call(this,en,ei)},_insertTemplate(en){Y.lastStartTagToken=en,et._insertTemplate.call(this,en);let ei=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(ei,null)},_insertFakeRootElement(){et._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(Y,en){et._appendCommentNode.call(this,Y,en);let ei=this.treeAdapter.getChildNodes(en),eo=ei[ei.length-1];this.treeAdapter.setNodeSourceCodeLocation(eo,Y.location)},_findFosterParentingLocation(){return Y.lastFosterParentingLocation=et._findFosterParentingLocation.call(this),Y.lastFosterParentingLocation},_insertCharacters(en){et._insertCharacters.call(this,en);let ei=this._shouldFosterParentOnInsertion(),eo=ei&&Y.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,ea=this.treeAdapter.getChildNodes(eo),eu=ei&&Y.lastFosterParentingLocation.beforeElement?ea.indexOf(Y.lastFosterParentingLocation.beforeElement)-1:ea.length-1,ec=ea[eu],ed=this.treeAdapter.getNodeSourceCodeLocation(ec);if(ed){let{endLine:Y,endCol:et,endOffset:ei}=en.location;this.treeAdapter.updateNodeSourceCodeLocation(ec,{endLine:Y,endCol:et,endOffset:ei})}else this.treeAdapter.setNodeSourceCodeLocation(ec,en.location)}}}}Y.exports=ef},84447:function(Y,et,en){"use strict";let ei=en(24592),eo=en(1672),ea=en(4315);class eu extends ei{constructor(Y){super(Y),this.tokenizer=Y,this.posTracker=ei.install(Y.preprocessor,ea),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;let Y=this.tokenizer.currentToken,et=this.tokenizer.currentAttr;Y.location.attrs||(Y.location.attrs=Object.create(null)),Y.location.attrs[et.name]=this.currentAttrLocation}_getOverriddenMethods(Y,et){let en={_createStartTagToken(){et._createStartTagToken.call(this),this.currentToken.location=Y.ctLoc},_createEndTagToken(){et._createEndTagToken.call(this),this.currentToken.location=Y.ctLoc},_createCommentToken(){et._createCommentToken.call(this),this.currentToken.location=Y.ctLoc},_createDoctypeToken(en){et._createDoctypeToken.call(this,en),this.currentToken.location=Y.ctLoc},_createCharacterToken(en,ei){et._createCharacterToken.call(this,en,ei),this.currentCharacterToken.location=Y.ctLoc},_createEOFToken(){et._createEOFToken.call(this),this.currentToken.location=Y._getCurrentLocation()},_createAttr(en){et._createAttr.call(this,en),Y.currentAttrLocation=Y._getCurrentLocation()},_leaveAttrName(en){et._leaveAttrName.call(this,en),Y._attachCurrentAttrLocationInfo()},_leaveAttrValue(en){et._leaveAttrValue.call(this,en),Y._attachCurrentAttrLocationInfo()},_emitCurrentToken(){let en=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=en.startLine,this.currentCharacterToken.location.endCol=en.startCol,this.currentCharacterToken.location.endOffset=en.startOffset),this.currentToken.type===eo.EOF_TOKEN?(en.endLine=en.startLine,en.endCol=en.startCol,en.endOffset=en.startOffset):(en.endLine=Y.posTracker.line,en.endCol=Y.posTracker.col+1,en.endOffset=Y.posTracker.offset+1),et._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){let en=this.currentCharacterToken&&this.currentCharacterToken.location;en&&-1===en.endOffset&&(en.endLine=Y.posTracker.line,en.endCol=Y.posTracker.col,en.endOffset=Y.posTracker.offset),et._emitCurrentCharacterToken.call(this)}};return Object.keys(eo.MODE).forEach(ei=>{let ea=eo.MODE[ei];en[ea]=function(en){Y.ctLoc=Y._getCurrentLocation(),et[ea].call(this,en)}}),en}}Y.exports=eu},4315:function(Y,et,en){"use strict";let ei=en(24592);class eo extends ei{constructor(Y){super(Y),this.preprocessor=Y,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(Y,et){return{advance(){let en=this.pos+1,ei=this.html[en];return Y.isEol&&(Y.isEol=!1,Y.line++,Y.lineStartPos=en),("\n"===ei||"\r"===ei&&"\n"!==this.html[en+1])&&(Y.isEol=!0),Y.col=en-Y.lineStartPos+1,Y.offset=Y.droppedBufferSize+en,et.advance.call(this)},retreat(){et.retreat.call(this),Y.isEol=!1,Y.col=this.pos-Y.lineStartPos+1},dropParsedChunk(){let en=this.pos;et.dropParsedChunk.call(this);let ei=en-this.pos;Y.lineStartPos-=ei,Y.droppedBufferSize+=ei,Y.offset=Y.droppedBufferSize+this.pos}}}}Y.exports=eo},72485:function(Y){"use strict";let et=3;class en{constructor(Y){this.length=0,this.entries=[],this.treeAdapter=Y,this.bookmark=null}_getNoahArkConditionCandidates(Y){let ei=[];if(this.length>=et){let et=this.treeAdapter.getAttrList(Y).length,eo=this.treeAdapter.getTagName(Y),ea=this.treeAdapter.getNamespaceURI(Y);for(let Y=this.length-1;Y>=0;Y--){let eu=this.entries[Y];if(eu.type===en.MARKER_ENTRY)break;let ec=eu.element,ed=this.treeAdapter.getAttrList(ec),ef=this.treeAdapter.getTagName(ec)===eo&&this.treeAdapter.getNamespaceURI(ec)===ea&&ed.length===et;ef&&ei.push({idx:Y,attrs:ed})}}return ei.length<et?[]:ei}_ensureNoahArkCondition(Y){let en=this._getNoahArkConditionCandidates(Y),ei=en.length;if(ei){let eo=this.treeAdapter.getAttrList(Y),ea=eo.length,eu=Object.create(null);for(let Y=0;Y<ea;Y++){let et=eo[Y];eu[et.name]=et.value}for(let Y=0;Y<ea;Y++)for(let eo=0;eo<ei;eo++){let ea=en[eo].attrs[Y];if(eu[ea.name]!==ea.value&&(en.splice(eo,1),ei--),en.length<et)return}for(let Y=ei-1;Y>=et-1;Y--)this.entries.splice(en[Y].idx,1),this.length--}}insertMarker(){this.entries.push({type:en.MARKER_ENTRY}),this.length++}pushElement(Y,et){this._ensureNoahArkCondition(Y),this.entries.push({type:en.ELEMENT_ENTRY,element:Y,token:et}),this.length++}insertElementAfterBookmark(Y,et){let ei=this.length-1;for(;ei>=0&&this.entries[ei]!==this.bookmark;ei--);this.entries.splice(ei+1,0,{type:en.ELEMENT_ENTRY,element:Y,token:et}),this.length++}removeEntry(Y){for(let et=this.length-1;et>=0;et--)if(this.entries[et]===Y){this.entries.splice(et,1),this.length--;break}}clearToLastMarker(){for(;this.length;){let Y=this.entries.pop();if(this.length--,Y.type===en.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(Y){for(let et=this.length-1;et>=0;et--){let ei=this.entries[et];if(ei.type===en.MARKER_ENTRY)break;if(this.treeAdapter.getTagName(ei.element)===Y)return ei}return null}getElementEntry(Y){for(let et=this.length-1;et>=0;et--){let ei=this.entries[et];if(ei.type===en.ELEMENT_ENTRY&&ei.element===Y)return ei}return null}}en.MARKER_ENTRY="MARKER_ENTRY",en.ELEMENT_ENTRY="ELEMENT_ENTRY",Y.exports=en},92860:function(Y,et,en){"use strict";let ei=en(1672),eo=en(91619),ea=en(72485),eu=en(66010),ec=en(62951),ed=en(24592),ef=en(17385),eh=en(96308),ep=en(76743),em=en(11093),eg=en(97700),ey=en(79740),eb=en(28040),ek=eb.TAG_NAMES,ew=eb.NAMESPACES,e_=eb.ATTRS,eE={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:ef},eC="hidden",eT=8,eS=3,eA="INITIAL_MODE",eM="BEFORE_HTML_MODE",eP="BEFORE_HEAD_MODE",ej="IN_HEAD_MODE",eO="IN_HEAD_NO_SCRIPT_MODE",eI="AFTER_HEAD_MODE",eN="IN_BODY_MODE",eL="TEXT_MODE",eR="IN_TABLE_MODE",eD="IN_TABLE_TEXT_MODE",eF="IN_CAPTION_MODE",eB="IN_COLUMN_GROUP_MODE",ez="IN_TABLE_BODY_MODE",eU="IN_ROW_MODE",eH="IN_CELL_MODE",eG="IN_SELECT_MODE",eV="IN_SELECT_IN_TABLE_MODE",eW="IN_TEMPLATE_MODE",eZ="AFTER_BODY_MODE",eK="IN_FRAMESET_MODE",e$="AFTER_FRAMESET_MODE",eY="AFTER_AFTER_BODY_MODE",eQ="AFTER_AFTER_FRAMESET_MODE",eX={[ek.TR]:eU,[ek.TBODY]:ez,[ek.THEAD]:ez,[ek.TFOOT]:ez,[ek.CAPTION]:eF,[ek.COLGROUP]:eB,[ek.TABLE]:eR,[ek.BODY]:eN,[ek.FRAMESET]:eK},eJ={[ek.CAPTION]:eR,[ek.COLGROUP]:eR,[ek.TBODY]:eR,[ek.TFOOT]:eR,[ek.THEAD]:eR,[ek.COL]:eB,[ek.TR]:ez,[ek.TD]:eU,[ek.TH]:eU},e0={[eA]:{[ei.CHARACTER_TOKEN]:tg,[ei.NULL_CHARACTER_TOKEN]:tg,[ei.WHITESPACE_CHARACTER_TOKEN]:ta,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:tm,[ei.START_TAG_TOKEN]:tg,[ei.END_TAG_TOKEN]:tg,[ei.EOF_TOKEN]:tg},[eM]:{[ei.CHARACTER_TOKEN]:tk,[ei.NULL_CHARACTER_TOKEN]:tk,[ei.WHITESPACE_CHARACTER_TOKEN]:ta,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:tv,[ei.END_TAG_TOKEN]:tb,[ei.EOF_TOKEN]:tk},[eP]:{[ei.CHARACTER_TOKEN]:tE,[ei.NULL_CHARACTER_TOKEN]:tE,[ei.WHITESPACE_CHARACTER_TOKEN]:ta,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:tu,[ei.START_TAG_TOKEN]:tw,[ei.END_TAG_TOKEN]:t_,[ei.EOF_TOKEN]:tE},[ej]:{[ei.CHARACTER_TOKEN]:tS,[ei.NULL_CHARACTER_TOKEN]:tS,[ei.WHITESPACE_CHARACTER_TOKEN]:th,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:tu,[ei.START_TAG_TOKEN]:tC,[ei.END_TAG_TOKEN]:tT,[ei.EOF_TOKEN]:tS},[eO]:{[ei.CHARACTER_TOKEN]:tP,[ei.NULL_CHARACTER_TOKEN]:tP,[ei.WHITESPACE_CHARACTER_TOKEN]:th,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:tu,[ei.START_TAG_TOKEN]:tA,[ei.END_TAG_TOKEN]:tM,[ei.EOF_TOKEN]:tP},[eI]:{[ei.CHARACTER_TOKEN]:tI,[ei.NULL_CHARACTER_TOKEN]:tI,[ei.WHITESPACE_CHARACTER_TOKEN]:th,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:tu,[ei.START_TAG_TOKEN]:tj,[ei.END_TAG_TOKEN]:tO,[ei.EOF_TOKEN]:tI},[eN]:{[ei.CHARACTER_TOKEN]:tL,[ei.NULL_CHARACTER_TOKEN]:ta,[ei.WHITESPACE_CHARACTER_TOKEN]:tN,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:np,[ei.END_TAG_TOKEN]:nS,[ei.EOF_TOKEN]:nA},[eL]:{[ei.CHARACTER_TOKEN]:th,[ei.NULL_CHARACTER_TOKEN]:th,[ei.WHITESPACE_CHARACTER_TOKEN]:th,[ei.COMMENT_TOKEN]:ta,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:ta,[ei.END_TAG_TOKEN]:nM,[ei.EOF_TOKEN]:nP},[eR]:{[ei.CHARACTER_TOKEN]:nj,[ei.NULL_CHARACTER_TOKEN]:nj,[ei.WHITESPACE_CHARACTER_TOKEN]:nj,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:nz,[ei.END_TAG_TOKEN]:nU,[ei.EOF_TOKEN]:nA},[eD]:{[ei.CHARACTER_TOKEN]:nV,[ei.NULL_CHARACTER_TOKEN]:ta,[ei.WHITESPACE_CHARACTER_TOKEN]:nG,[ei.COMMENT_TOKEN]:nW,[ei.DOCTYPE_TOKEN]:nW,[ei.START_TAG_TOKEN]:nW,[ei.END_TAG_TOKEN]:nW,[ei.EOF_TOKEN]:nW},[eF]:{[ei.CHARACTER_TOKEN]:tL,[ei.NULL_CHARACTER_TOKEN]:ta,[ei.WHITESPACE_CHARACTER_TOKEN]:tN,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:nq,[ei.END_TAG_TOKEN]:nZ,[ei.EOF_TOKEN]:nA},[eB]:{[ei.CHARACTER_TOKEN]:nY,[ei.NULL_CHARACTER_TOKEN]:nY,[ei.WHITESPACE_CHARACTER_TOKEN]:th,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:nK,[ei.END_TAG_TOKEN]:n$,[ei.EOF_TOKEN]:nA},[ez]:{[ei.CHARACTER_TOKEN]:nj,[ei.NULL_CHARACTER_TOKEN]:nj,[ei.WHITESPACE_CHARACTER_TOKEN]:nj,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:nQ,[ei.END_TAG_TOKEN]:nX,[ei.EOF_TOKEN]:nA},[eU]:{[ei.CHARACTER_TOKEN]:nj,[ei.NULL_CHARACTER_TOKEN]:nj,[ei.WHITESPACE_CHARACTER_TOKEN]:nj,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:nJ,[ei.END_TAG_TOKEN]:n0,[ei.EOF_TOKEN]:nA},[eH]:{[ei.CHARACTER_TOKEN]:tL,[ei.NULL_CHARACTER_TOKEN]:ta,[ei.WHITESPACE_CHARACTER_TOKEN]:tN,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:n9,[ei.END_TAG_TOKEN]:n5,[ei.EOF_TOKEN]:nA},[eG]:{[ei.CHARACTER_TOKEN]:th,[ei.NULL_CHARACTER_TOKEN]:ta,[ei.WHITESPACE_CHARACTER_TOKEN]:th,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:n4,[ei.END_TAG_TOKEN]:n3,[ei.EOF_TOKEN]:nA},[eV]:{[ei.CHARACTER_TOKEN]:th,[ei.NULL_CHARACTER_TOKEN]:ta,[ei.WHITESPACE_CHARACTER_TOKEN]:th,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:n6,[ei.END_TAG_TOKEN]:n7,[ei.EOF_TOKEN]:nA},[eW]:{[ei.CHARACTER_TOKEN]:tL,[ei.NULL_CHARACTER_TOKEN]:ta,[ei.WHITESPACE_CHARACTER_TOKEN]:tN,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:n8,[ei.END_TAG_TOKEN]:rn,[ei.EOF_TOKEN]:rr},[eZ]:{[ei.CHARACTER_TOKEN]:ra,[ei.NULL_CHARACTER_TOKEN]:ra,[ei.WHITESPACE_CHARACTER_TOKEN]:tN,[ei.COMMENT_TOKEN]:td,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:ri,[ei.END_TAG_TOKEN]:ro,[ei.EOF_TOKEN]:tp},[eK]:{[ei.CHARACTER_TOKEN]:ta,[ei.NULL_CHARACTER_TOKEN]:ta,[ei.WHITESPACE_CHARACTER_TOKEN]:th,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:rs,[ei.END_TAG_TOKEN]:rl,[ei.EOF_TOKEN]:tp},[e$]:{[ei.CHARACTER_TOKEN]:ta,[ei.NULL_CHARACTER_TOKEN]:ta,[ei.WHITESPACE_CHARACTER_TOKEN]:th,[ei.COMMENT_TOKEN]:tc,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:ru,[ei.END_TAG_TOKEN]:rc,[ei.EOF_TOKEN]:tp},[eY]:{[ei.CHARACTER_TOKEN]:rp,[ei.NULL_CHARACTER_TOKEN]:rp,[ei.WHITESPACE_CHARACTER_TOKEN]:tN,[ei.COMMENT_TOKEN]:tf,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:rh,[ei.END_TAG_TOKEN]:rp,[ei.EOF_TOKEN]:tp},[eQ]:{[ei.CHARACTER_TOKEN]:ta,[ei.NULL_CHARACTER_TOKEN]:ta,[ei.WHITESPACE_CHARACTER_TOKEN]:tN,[ei.COMMENT_TOKEN]:tf,[ei.DOCTYPE_TOKEN]:ta,[ei.START_TAG_TOKEN]:rm,[ei.END_TAG_TOKEN]:ta,[ei.EOF_TOKEN]:tp}};class e9{constructor(Y){this.options=eh(eE,Y),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&ed.install(this,eu),this.options.onParseError&&ed.install(this,ec,{onParseError:this.options.onParseError})}parse(Y){let et=this.treeAdapter.createDocument();return this._bootstrap(et,null),this.tokenizer.write(Y,!0),this._runParsingLoop(null),et}parseFragment(Y,et){et||(et=this.treeAdapter.createElement(ek.TEMPLATE,ew.HTML,[]));let en=this.treeAdapter.createElement("documentmock",ew.HTML,[]);this._bootstrap(en,et),this.treeAdapter.getTagName(et)===ek.TEMPLATE&&this._pushTmplInsertionMode(eW),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(Y,!0),this._runParsingLoop(null);let ei=this.treeAdapter.getFirstChild(en),eo=this.treeAdapter.createDocumentFragment();return this._adoptNodes(ei,eo),eo}_bootstrap(Y,et){this.tokenizer=new ei(this.options),this.stopped=!1,this.insertionMode=eA,this.originalInsertionMode="",this.document=Y,this.fragmentContext=et,this.headElement=null,this.formElement=null,this.openElements=new eo(this.document,this.treeAdapter),this.activeFormattingElements=new ea(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(Y){for(;!this.stopped;){this._setupTokenizerCDATAMode();let et=this.tokenizer.getNextToken();if(et.type===ei.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,et.type===ei.WHITESPACE_CHARACTER_TOKEN&&"\n"===et.chars[0])){if(1===et.chars.length)continue;et.chars=et.chars.substr(1)}if(this._processInputToken(et),Y&&this.pendingScript)break}}runParsingLoopForCurrentChunk(Y,et){if(this._runParsingLoop(et),et&&this.pendingScript){let Y=this.pendingScript;this.pendingScript=null,et(Y);return}Y&&Y()}_setupTokenizerCDATAMode(){let Y=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=Y&&Y!==this.document&&this.treeAdapter.getNamespaceURI(Y)!==ew.HTML&&!this._isIntegrationPoint(Y)}_switchToTextParsing(Y,et){this._insertElement(Y,ew.HTML),this.tokenizer.state=et,this.originalInsertionMode=this.insertionMode,this.insertionMode=eL}switchToPlaintextParsing(){this.insertionMode=eL,this.originalInsertionMode=eN,this.tokenizer.state=ei.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let Y=this.fragmentContext;do{if(this.treeAdapter.getTagName(Y)===ek.FORM){this.formElement=Y;break}Y=this.treeAdapter.getParentNode(Y)}while(Y)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===ew.HTML){let Y=this.treeAdapter.getTagName(this.fragmentContext);Y===ek.TITLE||Y===ek.TEXTAREA?this.tokenizer.state=ei.MODE.RCDATA:Y===ek.STYLE||Y===ek.XMP||Y===ek.IFRAME||Y===ek.NOEMBED||Y===ek.NOFRAMES||Y===ek.NOSCRIPT?this.tokenizer.state=ei.MODE.RAWTEXT:Y===ek.SCRIPT?this.tokenizer.state=ei.MODE.SCRIPT_DATA:Y===ek.PLAINTEXT&&(this.tokenizer.state=ei.MODE.PLAINTEXT)}}_setDocumentType(Y){let et=Y.name||"",en=Y.publicId||"",ei=Y.systemId||"";this.treeAdapter.setDocumentType(this.document,et,en,ei)}_attachElementToTree(Y){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(Y);else{let et=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(et,Y)}}_appendElement(Y,et){let en=this.treeAdapter.createElement(Y.tagName,et,Y.attrs);this._attachElementToTree(en)}_insertElement(Y,et){let en=this.treeAdapter.createElement(Y.tagName,et,Y.attrs);this._attachElementToTree(en),this.openElements.push(en)}_insertFakeElement(Y){let et=this.treeAdapter.createElement(Y,ew.HTML,[]);this._attachElementToTree(et),this.openElements.push(et)}_insertTemplate(Y){let et=this.treeAdapter.createElement(Y.tagName,ew.HTML,Y.attrs),en=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(et,en),this._attachElementToTree(et),this.openElements.push(et)}_insertFakeRootElement(){let Y=this.treeAdapter.createElement(ek.HTML,ew.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,Y),this.openElements.push(Y)}_appendCommentNode(Y,et){let en=this.treeAdapter.createCommentNode(Y.data);this.treeAdapter.appendChild(et,en)}_insertCharacters(Y){if(this._shouldFosterParentOnInsertion())this._fosterParentText(Y.chars);else{let et=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(et,Y.chars)}}_adoptNodes(Y,et){for(let en=this.treeAdapter.getFirstChild(Y);en;en=this.treeAdapter.getFirstChild(Y))this.treeAdapter.detachNode(en),this.treeAdapter.appendChild(et,en)}_shouldProcessTokenInForeignContent(Y){let et=this._getAdjustedCurrentElement();if(!et||et===this.document)return!1;let en=this.treeAdapter.getNamespaceURI(et);if(en===ew.HTML||this.treeAdapter.getTagName(et)===ek.ANNOTATION_XML&&en===ew.MATHML&&Y.type===ei.START_TAG_TOKEN&&Y.tagName===ek.SVG)return!1;let eo=Y.type===ei.CHARACTER_TOKEN||Y.type===ei.NULL_CHARACTER_TOKEN||Y.type===ei.WHITESPACE_CHARACTER_TOKEN,ea=Y.type===ei.START_TAG_TOKEN&&Y.tagName!==ek.MGLYPH&&Y.tagName!==ek.MALIGNMARK;return!((ea||eo)&&this._isIntegrationPoint(et,ew.MATHML)||(Y.type===ei.START_TAG_TOKEN||eo)&&this._isIntegrationPoint(et,ew.HTML))&&Y.type!==ei.EOF_TOKEN}_processToken(Y){e0[this.insertionMode][Y.type](this,Y)}_processTokenInBodyMode(Y){e0[eN][Y.type](this,Y)}_processTokenInForeignContent(Y){Y.type===ei.CHARACTER_TOKEN?rv(this,Y):Y.type===ei.NULL_CHARACTER_TOKEN?rg(this,Y):Y.type===ei.WHITESPACE_CHARACTER_TOKEN?th(this,Y):Y.type===ei.COMMENT_TOKEN?tc(this,Y):Y.type===ei.START_TAG_TOKEN?ry(this,Y):Y.type===ei.END_TAG_TOKEN&&rb(this,Y)}_processInputToken(Y){this._shouldProcessTokenInForeignContent(Y)?this._processTokenInForeignContent(Y):this._processToken(Y),Y.type===ei.START_TAG_TOKEN&&Y.selfClosing&&!Y.ackSelfClosing&&this._err(eg.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(Y,et){let en=this.treeAdapter.getTagName(Y),ei=this.treeAdapter.getNamespaceURI(Y),eo=this.treeAdapter.getAttrList(Y);return em.isIntegrationPoint(en,ei,eo,et)}_reconstructActiveFormattingElements(){let Y=this.activeFormattingElements.length;if(Y){let et=Y,en=null;do if(et--,(en=this.activeFormattingElements.entries[et]).type===ea.MARKER_ENTRY||this.openElements.contains(en.element)){et++;break}while(et>0);for(let ei=et;ei<Y;ei++)en=this.activeFormattingElements.entries[ei],this._insertElement(en.token,this.treeAdapter.getNamespaceURI(en.element)),en.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=eU}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(ek.P),this.openElements.popUntilTagNamePopped(ek.P)}_resetInsertionMode(){for(let Y=this.openElements.stackTop,et=!1;Y>=0;Y--){let en=this.openElements.items[Y];0===Y&&(et=!0,this.fragmentContext&&(en=this.fragmentContext));let ei=this.treeAdapter.getTagName(en),eo=eX[ei];if(eo){this.insertionMode=eo;break}if(et||ei!==ek.TD&&ei!==ek.TH){if(et||ei!==ek.HEAD){if(ei===ek.SELECT){this._resetInsertionModeForSelect(Y);break}if(ei===ek.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(ei===ek.HTML){this.insertionMode=this.headElement?eI:eP;break}else if(et){this.insertionMode=eN;break}}else{this.insertionMode=ej;break}}else{this.insertionMode=eH;break}}}_resetInsertionModeForSelect(Y){if(Y>0)for(let et=Y-1;et>0;et--){let Y=this.openElements.items[et],en=this.treeAdapter.getTagName(Y);if(en===ek.TEMPLATE)break;if(en===ek.TABLE){this.insertionMode=eV;return}}this.insertionMode=eG}_pushTmplInsertionMode(Y){this.tmplInsertionModeStack.push(Y),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=Y}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(Y){let et=this.treeAdapter.getTagName(Y);return et===ek.TABLE||et===ek.TBODY||et===ek.TFOOT||et===ek.THEAD||et===ek.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){let Y={parent:null,beforeElement:null};for(let et=this.openElements.stackTop;et>=0;et--){let en=this.openElements.items[et],ei=this.treeAdapter.getTagName(en),eo=this.treeAdapter.getNamespaceURI(en);if(ei===ek.TEMPLATE&&eo===ew.HTML){Y.parent=this.treeAdapter.getTemplateContent(en);break}if(ei===ek.TABLE){Y.parent=this.treeAdapter.getParentNode(en),Y.parent?Y.beforeElement=en:Y.parent=this.openElements.items[et-1];break}}return Y.parent||(Y.parent=this.openElements.items[0]),Y}_fosterParentElement(Y){let et=this._findFosterParentingLocation();et.beforeElement?this.treeAdapter.insertBefore(et.parent,Y,et.beforeElement):this.treeAdapter.appendChild(et.parent,Y)}_fosterParentText(Y){let et=this._findFosterParentingLocation();et.beforeElement?this.treeAdapter.insertTextBefore(et.parent,Y,et.beforeElement):this.treeAdapter.insertText(et.parent,Y)}_isSpecialElement(Y){let et=this.treeAdapter.getTagName(Y),en=this.treeAdapter.getNamespaceURI(Y);return eb.SPECIAL_ELEMENTS[en][et]}}function e5(Y,et){let en=Y.activeFormattingElements.getElementEntryInScopeWithTagName(et.tagName);return en?Y.openElements.contains(en.element)?Y.openElements.hasInScope(et.tagName)||(en=null):(Y.activeFormattingElements.removeEntry(en),en=null):nT(Y,et),en}function e4(Y,et){let en=null;for(let ei=Y.openElements.stackTop;ei>=0;ei--){let eo=Y.openElements.items[ei];if(eo===et.element)break;Y._isSpecialElement(eo)&&(en=eo)}return en||(Y.openElements.popUntilElementPopped(et.element),Y.activeFormattingElements.removeEntry(et)),en}function e3(Y,et,en){let ei=et,eo=Y.openElements.getCommonAncestor(et);for(let ea=0,eu=eo;eu!==en;ea++,eu=eo){eo=Y.openElements.getCommonAncestor(eu);let en=Y.activeFormattingElements.getElementEntry(eu),ec=en&&ea>=eS,ed=!en||ec;ed?(ec&&Y.activeFormattingElements.removeEntry(en),Y.openElements.remove(eu)):(eu=e6(Y,en),ei===et&&(Y.activeFormattingElements.bookmark=en),Y.treeAdapter.detachNode(ei),Y.treeAdapter.appendChild(eu,ei),ei=eu)}return ei}function e6(Y,et){let en=Y.treeAdapter.getNamespaceURI(et.element),ei=Y.treeAdapter.createElement(et.token.tagName,en,et.token.attrs);return Y.openElements.replace(et.element,ei),et.element=ei,ei}function e7(Y,et,en){if(Y._isElementCausesFosterParenting(et))Y._fosterParentElement(en);else{let ei=Y.treeAdapter.getTagName(et),eo=Y.treeAdapter.getNamespaceURI(et);ei===ek.TEMPLATE&&eo===ew.HTML&&(et=Y.treeAdapter.getTemplateContent(et)),Y.treeAdapter.appendChild(et,en)}}function e8(Y,et,en){let ei=Y.treeAdapter.getNamespaceURI(en.element),eo=en.token,ea=Y.treeAdapter.createElement(eo.tagName,ei,eo.attrs);Y._adoptNodes(et,ea),Y.treeAdapter.appendChild(et,ea),Y.activeFormattingElements.insertElementAfterBookmark(ea,en.token),Y.activeFormattingElements.removeEntry(en),Y.openElements.remove(en.element),Y.openElements.insertAfter(et,ea)}function tt(Y,et){let en;for(let ei=0;ei<eT&&(en=e5(Y,et,en));ei++){let et=e4(Y,en);if(!et)break;Y.activeFormattingElements.bookmark=en;let ei=e3(Y,et,en.element),eo=Y.openElements.getCommonAncestor(en.element);Y.treeAdapter.detachNode(ei),e7(Y,eo,ei),e8(Y,et,en)}}function ta(){}function tu(Y){Y._err(eg.misplacedDoctype)}function tc(Y,et){Y._appendCommentNode(et,Y.openElements.currentTmplContent||Y.openElements.current)}function td(Y,et){Y._appendCommentNode(et,Y.openElements.items[0])}function tf(Y,et){Y._appendCommentNode(et,Y.document)}function th(Y,et){Y._insertCharacters(et)}function tp(Y){Y.stopped=!0}function tm(Y,et){Y._setDocumentType(et);let en=et.forceQuirks?eb.DOCUMENT_MODE.QUIRKS:ep.getDocumentMode(et);ep.isConforming(et)||Y._err(eg.nonConformingDoctype),Y.treeAdapter.setDocumentMode(Y.document,en),Y.insertionMode=eM}function tg(Y,et){Y._err(eg.missingDoctype,{beforeToken:!0}),Y.treeAdapter.setDocumentMode(Y.document,eb.DOCUMENT_MODE.QUIRKS),Y.insertionMode=eM,Y._processToken(et)}function tv(Y,et){et.tagName===ek.HTML?(Y._insertElement(et,ew.HTML),Y.insertionMode=eP):tk(Y,et)}function tb(Y,et){let en=et.tagName;(en===ek.HTML||en===ek.HEAD||en===ek.BODY||en===ek.BR)&&tk(Y,et)}function tk(Y,et){Y._insertFakeRootElement(),Y.insertionMode=eP,Y._processToken(et)}function tw(Y,et){let en=et.tagName;en===ek.HTML?np(Y,et):en===ek.HEAD?(Y._insertElement(et,ew.HTML),Y.headElement=Y.openElements.current,Y.insertionMode=ej):tE(Y,et)}function t_(Y,et){let en=et.tagName;en===ek.HEAD||en===ek.BODY||en===ek.HTML||en===ek.BR?tE(Y,et):Y._err(eg.endTagWithoutMatchingOpenElement)}function tE(Y,et){Y._insertFakeElement(ek.HEAD),Y.headElement=Y.openElements.current,Y.insertionMode=ej,Y._processToken(et)}function tC(Y,et){let en=et.tagName;en===ek.HTML?np(Y,et):en===ek.BASE||en===ek.BASEFONT||en===ek.BGSOUND||en===ek.LINK||en===ek.META?(Y._appendElement(et,ew.HTML),et.ackSelfClosing=!0):en===ek.TITLE?Y._switchToTextParsing(et,ei.MODE.RCDATA):en===ek.NOSCRIPT?Y.options.scriptingEnabled?Y._switchToTextParsing(et,ei.MODE.RAWTEXT):(Y._insertElement(et,ew.HTML),Y.insertionMode=eO):en===ek.NOFRAMES||en===ek.STYLE?Y._switchToTextParsing(et,ei.MODE.RAWTEXT):en===ek.SCRIPT?Y._switchToTextParsing(et,ei.MODE.SCRIPT_DATA):en===ek.TEMPLATE?(Y._insertTemplate(et,ew.HTML),Y.activeFormattingElements.insertMarker(),Y.framesetOk=!1,Y.insertionMode=eW,Y._pushTmplInsertionMode(eW)):en===ek.HEAD?Y._err(eg.misplacedStartTagForHeadElement):tS(Y,et)}function tT(Y,et){let en=et.tagName;en===ek.HEAD?(Y.openElements.pop(),Y.insertionMode=eI):en===ek.BODY||en===ek.BR||en===ek.HTML?tS(Y,et):en===ek.TEMPLATE&&Y.openElements.tmplCount>0?(Y.openElements.generateImpliedEndTagsThoroughly(),Y.openElements.currentTagName!==ek.TEMPLATE&&Y._err(eg.closingOfElementWithOpenChildElements),Y.openElements.popUntilTagNamePopped(ek.TEMPLATE),Y.activeFormattingElements.clearToLastMarker(),Y._popTmplInsertionMode(),Y._resetInsertionMode()):Y._err(eg.endTagWithoutMatchingOpenElement)}function tS(Y,et){Y.openElements.pop(),Y.insertionMode=eI,Y._processToken(et)}function tA(Y,et){let en=et.tagName;en===ek.HTML?np(Y,et):en===ek.BASEFONT||en===ek.BGSOUND||en===ek.HEAD||en===ek.LINK||en===ek.META||en===ek.NOFRAMES||en===ek.STYLE?tC(Y,et):en===ek.NOSCRIPT?Y._err(eg.nestedNoscriptInHead):tP(Y,et)}function tM(Y,et){let en=et.tagName;en===ek.NOSCRIPT?(Y.openElements.pop(),Y.insertionMode=ej):en===ek.BR?tP(Y,et):Y._err(eg.endTagWithoutMatchingOpenElement)}function tP(Y,et){let en=et.type===ei.EOF_TOKEN?eg.openElementsLeftAfterEof:eg.disallowedContentInNoscriptInHead;Y._err(en),Y.openElements.pop(),Y.insertionMode=ej,Y._processToken(et)}function tj(Y,et){let en=et.tagName;en===ek.HTML?np(Y,et):en===ek.BODY?(Y._insertElement(et,ew.HTML),Y.framesetOk=!1,Y.insertionMode=eN):en===ek.FRAMESET?(Y._insertElement(et,ew.HTML),Y.insertionMode=eK):en===ek.BASE||en===ek.BASEFONT||en===ek.BGSOUND||en===ek.LINK||en===ek.META||en===ek.NOFRAMES||en===ek.SCRIPT||en===ek.STYLE||en===ek.TEMPLATE||en===ek.TITLE?(Y._err(eg.abandonedHeadElementChild),Y.openElements.push(Y.headElement),tC(Y,et),Y.openElements.remove(Y.headElement)):en===ek.HEAD?Y._err(eg.misplacedStartTagForHeadElement):tI(Y,et)}function tO(Y,et){let en=et.tagName;en===ek.BODY||en===ek.HTML||en===ek.BR?tI(Y,et):en===ek.TEMPLATE?tT(Y,et):Y._err(eg.endTagWithoutMatchingOpenElement)}function tI(Y,et){Y._insertFakeElement(ek.BODY),Y.insertionMode=eN,Y._processToken(et)}function tN(Y,et){Y._reconstructActiveFormattingElements(),Y._insertCharacters(et)}function tL(Y,et){Y._reconstructActiveFormattingElements(),Y._insertCharacters(et),Y.framesetOk=!1}function tR(Y,et){0===Y.openElements.tmplCount&&Y.treeAdapter.adoptAttributes(Y.openElements.items[0],et.attrs)}function tD(Y,et){let en=Y.openElements.tryPeekProperlyNestedBodyElement();en&&0===Y.openElements.tmplCount&&(Y.framesetOk=!1,Y.treeAdapter.adoptAttributes(en,et.attrs))}function tF(Y,et){let en=Y.openElements.tryPeekProperlyNestedBodyElement();Y.framesetOk&&en&&(Y.treeAdapter.detachNode(en),Y.openElements.popAllUpToHtmlElement(),Y._insertElement(et,ew.HTML),Y.insertionMode=eK)}function tB(Y,et){Y.openElements.hasInButtonScope(ek.P)&&Y._closePElement(),Y._insertElement(et,ew.HTML)}function tU(Y,et){Y.openElements.hasInButtonScope(ek.P)&&Y._closePElement();let en=Y.openElements.currentTagName;(en===ek.H1||en===ek.H2||en===ek.H3||en===ek.H4||en===ek.H5||en===ek.H6)&&Y.openElements.pop(),Y._insertElement(et,ew.HTML)}function tH(Y,et){Y.openElements.hasInButtonScope(ek.P)&&Y._closePElement(),Y._insertElement(et,ew.HTML),Y.skipNextNewLine=!0,Y.framesetOk=!1}function tG(Y,et){let en=Y.openElements.tmplCount>0;Y.formElement&&!en||(Y.openElements.hasInButtonScope(ek.P)&&Y._closePElement(),Y._insertElement(et,ew.HTML),en||(Y.formElement=Y.openElements.current))}function tV(Y,et){Y.framesetOk=!1;let en=et.tagName;for(let et=Y.openElements.stackTop;et>=0;et--){let ei=Y.openElements.items[et],eo=Y.treeAdapter.getTagName(ei),ea=null;if(en===ek.LI&&eo===ek.LI?ea=ek.LI:(en===ek.DD||en===ek.DT)&&(eo===ek.DD||eo===ek.DT)&&(ea=eo),ea){Y.openElements.generateImpliedEndTagsWithExclusion(ea),Y.openElements.popUntilTagNamePopped(ea);break}if(eo!==ek.ADDRESS&&eo!==ek.DIV&&eo!==ek.P&&Y._isSpecialElement(ei))break}Y.openElements.hasInButtonScope(ek.P)&&Y._closePElement(),Y._insertElement(et,ew.HTML)}function tW(Y,et){Y.openElements.hasInButtonScope(ek.P)&&Y._closePElement(),Y._insertElement(et,ew.HTML),Y.tokenizer.state=ei.MODE.PLAINTEXT}function tq(Y,et){Y.openElements.hasInScope(ek.BUTTON)&&(Y.openElements.generateImpliedEndTags(),Y.openElements.popUntilTagNamePopped(ek.BUTTON)),Y._reconstructActiveFormattingElements(),Y._insertElement(et,ew.HTML),Y.framesetOk=!1}function tZ(Y,et){let en=Y.activeFormattingElements.getElementEntryInScopeWithTagName(ek.A);en&&(tt(Y,et),Y.openElements.remove(en.element),Y.activeFormattingElements.removeEntry(en)),Y._reconstructActiveFormattingElements(),Y._insertElement(et,ew.HTML),Y.activeFormattingElements.pushElement(Y.openElements.current,et)}function tK(Y,et){Y._reconstructActiveFormattingElements(),Y._insertElement(et,ew.HTML),Y.activeFormattingElements.pushElement(Y.openElements.current,et)}function t$(Y,et){Y._reconstructActiveFormattingElements(),Y.openElements.hasInScope(ek.NOBR)&&(tt(Y,et),Y._reconstructActiveFormattingElements()),Y._insertElement(et,ew.HTML),Y.activeFormattingElements.pushElement(Y.openElements.current,et)}function tY(Y,et){Y._reconstructActiveFormattingElements(),Y._insertElement(et,ew.HTML),Y.activeFormattingElements.insertMarker(),Y.framesetOk=!1}function tQ(Y,et){Y.treeAdapter.getDocumentMode(Y.document)!==eb.DOCUMENT_MODE.QUIRKS&&Y.openElements.hasInButtonScope(ek.P)&&Y._closePElement(),Y._insertElement(et,ew.HTML),Y.framesetOk=!1,Y.insertionMode=eR}function tX(Y,et){Y._reconstructActiveFormattingElements(),Y._appendElement(et,ew.HTML),Y.framesetOk=!1,et.ackSelfClosing=!0}function tJ(Y,et){Y._reconstructActiveFormattingElements(),Y._appendElement(et,ew.HTML);let en=ei.getTokenAttr(et,e_.TYPE);en&&en.toLowerCase()===eC||(Y.framesetOk=!1),et.ackSelfClosing=!0}function t9(Y,et){Y._appendElement(et,ew.HTML),et.ackSelfClosing=!0}function t5(Y,et){Y.openElements.hasInButtonScope(ek.P)&&Y._closePElement(),Y._appendElement(et,ew.HTML),Y.framesetOk=!1,et.ackSelfClosing=!0}function t4(Y,et){et.tagName=ek.IMG,tX(Y,et)}function t3(Y,et){Y._insertElement(et,ew.HTML),Y.skipNextNewLine=!0,Y.tokenizer.state=ei.MODE.RCDATA,Y.originalInsertionMode=Y.insertionMode,Y.framesetOk=!1,Y.insertionMode=eL}function t6(Y,et){Y.openElements.hasInButtonScope(ek.P)&&Y._closePElement(),Y._reconstructActiveFormattingElements(),Y.framesetOk=!1,Y._switchToTextParsing(et,ei.MODE.RAWTEXT)}function t7(Y,et){Y.framesetOk=!1,Y._switchToTextParsing(et,ei.MODE.RAWTEXT)}function t8(Y,et){Y._switchToTextParsing(et,ei.MODE.RAWTEXT)}function nt(Y,et){Y._reconstructActiveFormattingElements(),Y._insertElement(et,ew.HTML),Y.framesetOk=!1,Y.insertionMode===eR||Y.insertionMode===eF||Y.insertionMode===ez||Y.insertionMode===eU||Y.insertionMode===eH?Y.insertionMode=eV:Y.insertionMode=eG}function nn(Y,et){Y.openElements.currentTagName===ek.OPTION&&Y.openElements.pop(),Y._reconstructActiveFormattingElements(),Y._insertElement(et,ew.HTML)}function ni(Y,et){Y.openElements.hasInScope(ek.RUBY)&&Y.openElements.generateImpliedEndTags(),Y._insertElement(et,ew.HTML)}function na(Y,et){Y.openElements.hasInScope(ek.RUBY)&&Y.openElements.generateImpliedEndTagsWithExclusion(ek.RTC),Y._insertElement(et,ew.HTML)}function nu(Y,et){Y.openElements.hasInButtonScope(ek.P)&&Y._closePElement(),Y._insertElement(et,ew.HTML)}function nd(Y,et){Y._reconstructActiveFormattingElements(),em.adjustTokenMathMLAttrs(et),em.adjustTokenXMLAttrs(et),et.selfClosing?Y._appendElement(et,ew.MATHML):Y._insertElement(et,ew.MATHML),et.ackSelfClosing=!0}function nf(Y,et){Y._reconstructActiveFormattingElements(),em.adjustTokenSVGAttrs(et),em.adjustTokenXMLAttrs(et),et.selfClosing?Y._appendElement(et,ew.SVG):Y._insertElement(et,ew.SVG),et.ackSelfClosing=!0}function nh(Y,et){Y._reconstructActiveFormattingElements(),Y._insertElement(et,ew.HTML)}function np(Y,et){let en=et.tagName;switch(en.length){case 1:en===ek.I||en===ek.S||en===ek.B||en===ek.U?tK(Y,et):en===ek.P?tB(Y,et):en===ek.A?tZ(Y,et):nh(Y,et);break;case 2:en===ek.DL||en===ek.OL||en===ek.UL?tB(Y,et):en===ek.H1||en===ek.H2||en===ek.H3||en===ek.H4||en===ek.H5||en===ek.H6?tU(Y,et):en===ek.LI||en===ek.DD||en===ek.DT?tV(Y,et):en===ek.EM||en===ek.TT?tK(Y,et):en===ek.BR?tX(Y,et):en===ek.HR?t5(Y,et):en===ek.RB?ni(Y,et):en===ek.RT||en===ek.RP?na(Y,et):en!==ek.TH&&en!==ek.TD&&en!==ek.TR&&nh(Y,et);break;case 3:en===ek.DIV||en===ek.DIR||en===ek.NAV?tB(Y,et):en===ek.PRE?tH(Y,et):en===ek.BIG?tK(Y,et):en===ek.IMG||en===ek.WBR?tX(Y,et):en===ek.XMP?t6(Y,et):en===ek.SVG?nf(Y,et):en===ek.RTC?ni(Y,et):en!==ek.COL&&nh(Y,et);break;case 4:en===ek.HTML?tR(Y,et):en===ek.BASE||en===ek.LINK||en===ek.META?tC(Y,et):en===ek.BODY?tD(Y,et):en===ek.MAIN||en===ek.MENU?tB(Y,et):en===ek.FORM?tG(Y,et):en===ek.CODE||en===ek.FONT?tK(Y,et):en===ek.NOBR?t$(Y,et):en===ek.AREA?tX(Y,et):en===ek.MATH?nd(Y,et):en===ek.MENU?nu(Y,et):en!==ek.HEAD&&nh(Y,et);break;case 5:en===ek.STYLE||en===ek.TITLE?tC(Y,et):en===ek.ASIDE?tB(Y,et):en===ek.SMALL?tK(Y,et):en===ek.TABLE?tQ(Y,et):en===ek.EMBED?tX(Y,et):en===ek.INPUT?tJ(Y,et):en===ek.PARAM||en===ek.TRACK?t9(Y,et):en===ek.IMAGE?t4(Y,et):en!==ek.FRAME&&en!==ek.TBODY&&en!==ek.TFOOT&&en!==ek.THEAD&&nh(Y,et);break;case 6:en===ek.SCRIPT?tC(Y,et):en===ek.CENTER||en===ek.FIGURE||en===ek.FOOTER||en===ek.HEADER||en===ek.HGROUP||en===ek.DIALOG?tB(Y,et):en===ek.BUTTON?tq(Y,et):en===ek.STRIKE||en===ek.STRONG?tK(Y,et):en===ek.APPLET||en===ek.OBJECT?tY(Y,et):en===ek.KEYGEN?tX(Y,et):en===ek.SOURCE?t9(Y,et):en===ek.IFRAME?t7(Y,et):en===ek.SELECT?nt(Y,et):en===ek.OPTION?nn(Y,et):nh(Y,et);break;case 7:en===ek.BGSOUND?tC(Y,et):en===ek.DETAILS||en===ek.ADDRESS||en===ek.ARTICLE||en===ek.SECTION||en===ek.SUMMARY?tB(Y,et):en===ek.LISTING?tH(Y,et):en===ek.MARQUEE?tY(Y,et):en===ek.NOEMBED?t8(Y,et):en!==ek.CAPTION&&nh(Y,et);break;case 8:en===ek.BASEFONT?tC(Y,et):en===ek.FRAMESET?tF(Y,et):en===ek.FIELDSET?tB(Y,et):en===ek.TEXTAREA?t3(Y,et):en===ek.TEMPLATE?tC(Y,et):en===ek.NOSCRIPT?Y.options.scriptingEnabled?t8(Y,et):nh(Y,et):en===ek.OPTGROUP?nn(Y,et):en!==ek.COLGROUP&&nh(Y,et);break;case 9:en===ek.PLAINTEXT?tW(Y,et):nh(Y,et);break;case 10:en===ek.BLOCKQUOTE||en===ek.FIGCAPTION?tB(Y,et):nh(Y,et);break;default:nh(Y,et)}}function ng(Y){Y.openElements.hasInScope(ek.BODY)&&(Y.insertionMode=eZ)}function nv(Y,et){Y.openElements.hasInScope(ek.BODY)&&(Y.insertionMode=eZ,Y._processToken(et))}function ny(Y,et){let en=et.tagName;Y.openElements.hasInScope(en)&&(Y.openElements.generateImpliedEndTags(),Y.openElements.popUntilTagNamePopped(en))}function nb(Y){let et=Y.openElements.tmplCount>0,en=Y.formElement;et||(Y.formElement=null),(en||et)&&Y.openElements.hasInScope(ek.FORM)&&(Y.openElements.generateImpliedEndTags(),et?Y.openElements.popUntilTagNamePopped(ek.FORM):Y.openElements.remove(en))}function nx(Y){Y.openElements.hasInButtonScope(ek.P)||Y._insertFakeElement(ek.P),Y._closePElement()}function nk(Y){Y.openElements.hasInListItemScope(ek.LI)&&(Y.openElements.generateImpliedEndTagsWithExclusion(ek.LI),Y.openElements.popUntilTagNamePopped(ek.LI))}function nw(Y,et){let en=et.tagName;Y.openElements.hasInScope(en)&&(Y.openElements.generateImpliedEndTagsWithExclusion(en),Y.openElements.popUntilTagNamePopped(en))}function n_(Y){Y.openElements.hasNumberedHeaderInScope()&&(Y.openElements.generateImpliedEndTags(),Y.openElements.popUntilNumberedHeaderPopped())}function nE(Y,et){let en=et.tagName;Y.openElements.hasInScope(en)&&(Y.openElements.generateImpliedEndTags(),Y.openElements.popUntilTagNamePopped(en),Y.activeFormattingElements.clearToLastMarker())}function nC(Y){Y._reconstructActiveFormattingElements(),Y._insertFakeElement(ek.BR),Y.openElements.pop(),Y.framesetOk=!1}function nT(Y,et){let en=et.tagName;for(let et=Y.openElements.stackTop;et>0;et--){let ei=Y.openElements.items[et];if(Y.treeAdapter.getTagName(ei)===en){Y.openElements.generateImpliedEndTagsWithExclusion(en),Y.openElements.popUntilElementPopped(ei);break}if(Y._isSpecialElement(ei))break}}function nS(Y,et){let en=et.tagName;switch(en.length){case 1:en===ek.A||en===ek.B||en===ek.I||en===ek.S||en===ek.U?tt(Y,et):en===ek.P?nx(Y,et):nT(Y,et);break;case 2:en===ek.DL||en===ek.UL||en===ek.OL?ny(Y,et):en===ek.LI?nk(Y,et):en===ek.DD||en===ek.DT?nw(Y,et):en===ek.H1||en===ek.H2||en===ek.H3||en===ek.H4||en===ek.H5||en===ek.H6?n_(Y,et):en===ek.BR?nC(Y,et):en===ek.EM||en===ek.TT?tt(Y,et):nT(Y,et);break;case 3:en===ek.BIG?tt(Y,et):en===ek.DIR||en===ek.DIV||en===ek.NAV||en===ek.PRE?ny(Y,et):nT(Y,et);break;case 4:en===ek.BODY?ng(Y,et):en===ek.HTML?nv(Y,et):en===ek.FORM?nb(Y,et):en===ek.CODE||en===ek.FONT||en===ek.NOBR?tt(Y,et):en===ek.MAIN||en===ek.MENU?ny(Y,et):nT(Y,et);break;case 5:en===ek.ASIDE?ny(Y,et):en===ek.SMALL?tt(Y,et):nT(Y,et);break;case 6:en===ek.CENTER||en===ek.FIGURE||en===ek.FOOTER||en===ek.HEADER||en===ek.HGROUP||en===ek.DIALOG?ny(Y,et):en===ek.APPLET||en===ek.OBJECT?nE(Y,et):en===ek.STRIKE||en===ek.STRONG?tt(Y,et):nT(Y,et);break;case 7:en===ek.ADDRESS||en===ek.ARTICLE||en===ek.DETAILS||en===ek.SECTION||en===ek.SUMMARY||en===ek.LISTING?ny(Y,et):en===ek.MARQUEE?nE(Y,et):nT(Y,et);break;case 8:en===ek.FIELDSET?ny(Y,et):en===ek.TEMPLATE?tT(Y,et):nT(Y,et);break;case 10:en===ek.BLOCKQUOTE||en===ek.FIGCAPTION?ny(Y,et):nT(Y,et);break;default:nT(Y,et)}}function nA(Y,et){Y.tmplInsertionModeStackTop>-1?rr(Y,et):Y.stopped=!0}function nM(Y,et){et.tagName===ek.SCRIPT&&(Y.pendingScript=Y.openElements.current),Y.openElements.pop(),Y.insertionMode=Y.originalInsertionMode}function nP(Y,et){Y._err(eg.eofInElementThatCanContainOnlyText),Y.openElements.pop(),Y.insertionMode=Y.originalInsertionMode,Y._processToken(et)}function nj(Y,et){let en=Y.openElements.currentTagName;en===ek.TABLE||en===ek.TBODY||en===ek.TFOOT||en===ek.THEAD||en===ek.TR?(Y.pendingCharacterTokens=[],Y.hasNonWhitespacePendingCharacterToken=!1,Y.originalInsertionMode=Y.insertionMode,Y.insertionMode=eD,Y._processToken(et)):nH(Y,et)}function nO(Y,et){Y.openElements.clearBackToTableContext(),Y.activeFormattingElements.insertMarker(),Y._insertElement(et,ew.HTML),Y.insertionMode=eF}function nI(Y,et){Y.openElements.clearBackToTableContext(),Y._insertElement(et,ew.HTML),Y.insertionMode=eB}function nN(Y,et){Y.openElements.clearBackToTableContext(),Y._insertFakeElement(ek.COLGROUP),Y.insertionMode=eB,Y._processToken(et)}function nL(Y,et){Y.openElements.clearBackToTableContext(),Y._insertElement(et,ew.HTML),Y.insertionMode=ez}function nR(Y,et){Y.openElements.clearBackToTableContext(),Y._insertFakeElement(ek.TBODY),Y.insertionMode=ez,Y._processToken(et)}function nD(Y,et){Y.openElements.hasInTableScope(ek.TABLE)&&(Y.openElements.popUntilTagNamePopped(ek.TABLE),Y._resetInsertionMode(),Y._processToken(et))}function nF(Y,et){let en=ei.getTokenAttr(et,e_.TYPE);en&&en.toLowerCase()===eC?Y._appendElement(et,ew.HTML):nH(Y,et),et.ackSelfClosing=!0}function nB(Y,et){Y.formElement||0!==Y.openElements.tmplCount||(Y._insertElement(et,ew.HTML),Y.formElement=Y.openElements.current,Y.openElements.pop())}function nz(Y,et){let en=et.tagName;switch(en.length){case 2:en===ek.TD||en===ek.TH||en===ek.TR?nR(Y,et):nH(Y,et);break;case 3:en===ek.COL?nN(Y,et):nH(Y,et);break;case 4:en===ek.FORM?nB(Y,et):nH(Y,et);break;case 5:en===ek.TABLE?nD(Y,et):en===ek.STYLE?tC(Y,et):en===ek.TBODY||en===ek.TFOOT||en===ek.THEAD?nL(Y,et):en===ek.INPUT?nF(Y,et):nH(Y,et);break;case 6:en===ek.SCRIPT?tC(Y,et):nH(Y,et);break;case 7:en===ek.CAPTION?nO(Y,et):nH(Y,et);break;case 8:en===ek.COLGROUP?nI(Y,et):en===ek.TEMPLATE?tC(Y,et):nH(Y,et);break;default:nH(Y,et)}}function nU(Y,et){let en=et.tagName;en===ek.TABLE?Y.openElements.hasInTableScope(ek.TABLE)&&(Y.openElements.popUntilTagNamePopped(ek.TABLE),Y._resetInsertionMode()):en===ek.TEMPLATE?tT(Y,et):en!==ek.BODY&&en!==ek.CAPTION&&en!==ek.COL&&en!==ek.COLGROUP&&en!==ek.HTML&&en!==ek.TBODY&&en!==ek.TD&&en!==ek.TFOOT&&en!==ek.TH&&en!==ek.THEAD&&en!==ek.TR&&nH(Y,et)}function nH(Y,et){let en=Y.fosterParentingEnabled;Y.fosterParentingEnabled=!0,Y._processTokenInBodyMode(et),Y.fosterParentingEnabled=en}function nG(Y,et){Y.pendingCharacterTokens.push(et)}function nV(Y,et){Y.pendingCharacterTokens.push(et),Y.hasNonWhitespacePendingCharacterToken=!0}function nW(Y,et){let en=0;if(Y.hasNonWhitespacePendingCharacterToken)for(;en<Y.pendingCharacterTokens.length;en++)nH(Y,Y.pendingCharacterTokens[en]);else for(;en<Y.pendingCharacterTokens.length;en++)Y._insertCharacters(Y.pendingCharacterTokens[en]);Y.insertionMode=Y.originalInsertionMode,Y._processToken(et)}function nq(Y,et){let en=et.tagName;en===ek.CAPTION||en===ek.COL||en===ek.COLGROUP||en===ek.TBODY||en===ek.TD||en===ek.TFOOT||en===ek.TH||en===ek.THEAD||en===ek.TR?Y.openElements.hasInTableScope(ek.CAPTION)&&(Y.openElements.generateImpliedEndTags(),Y.openElements.popUntilTagNamePopped(ek.CAPTION),Y.activeFormattingElements.clearToLastMarker(),Y.insertionMode=eR,Y._processToken(et)):np(Y,et)}function nZ(Y,et){let en=et.tagName;en===ek.CAPTION||en===ek.TABLE?Y.openElements.hasInTableScope(ek.CAPTION)&&(Y.openElements.generateImpliedEndTags(),Y.openElements.popUntilTagNamePopped(ek.CAPTION),Y.activeFormattingElements.clearToLastMarker(),Y.insertionMode=eR,en===ek.TABLE&&Y._processToken(et)):en!==ek.BODY&&en!==ek.COL&&en!==ek.COLGROUP&&en!==ek.HTML&&en!==ek.TBODY&&en!==ek.TD&&en!==ek.TFOOT&&en!==ek.TH&&en!==ek.THEAD&&en!==ek.TR&&nS(Y,et)}function nK(Y,et){let en=et.tagName;en===ek.HTML?np(Y,et):en===ek.COL?(Y._appendElement(et,ew.HTML),et.ackSelfClosing=!0):en===ek.TEMPLATE?tC(Y,et):nY(Y,et)}function n$(Y,et){let en=et.tagName;en===ek.COLGROUP?Y.openElements.currentTagName===ek.COLGROUP&&(Y.openElements.pop(),Y.insertionMode=eR):en===ek.TEMPLATE?tT(Y,et):en!==ek.COL&&nY(Y,et)}function nY(Y,et){Y.openElements.currentTagName===ek.COLGROUP&&(Y.openElements.pop(),Y.insertionMode=eR,Y._processToken(et))}function nQ(Y,et){let en=et.tagName;en===ek.TR?(Y.openElements.clearBackToTableBodyContext(),Y._insertElement(et,ew.HTML),Y.insertionMode=eU):en===ek.TH||en===ek.TD?(Y.openElements.clearBackToTableBodyContext(),Y._insertFakeElement(ek.TR),Y.insertionMode=eU,Y._processToken(et)):en===ek.CAPTION||en===ek.COL||en===ek.COLGROUP||en===ek.TBODY||en===ek.TFOOT||en===ek.THEAD?Y.openElements.hasTableBodyContextInTableScope()&&(Y.openElements.clearBackToTableBodyContext(),Y.openElements.pop(),Y.insertionMode=eR,Y._processToken(et)):nz(Y,et)}function nX(Y,et){let en=et.tagName;en===ek.TBODY||en===ek.TFOOT||en===ek.THEAD?Y.openElements.hasInTableScope(en)&&(Y.openElements.clearBackToTableBodyContext(),Y.openElements.pop(),Y.insertionMode=eR):en===ek.TABLE?Y.openElements.hasTableBodyContextInTableScope()&&(Y.openElements.clearBackToTableBodyContext(),Y.openElements.pop(),Y.insertionMode=eR,Y._processToken(et)):(en!==ek.BODY&&en!==ek.CAPTION&&en!==ek.COL&&en!==ek.COLGROUP||en!==ek.HTML&&en!==ek.TD&&en!==ek.TH&&en!==ek.TR)&&nU(Y,et)}function nJ(Y,et){let en=et.tagName;en===ek.TH||en===ek.TD?(Y.openElements.clearBackToTableRowContext(),Y._insertElement(et,ew.HTML),Y.insertionMode=eH,Y.activeFormattingElements.insertMarker()):en===ek.CAPTION||en===ek.COL||en===ek.COLGROUP||en===ek.TBODY||en===ek.TFOOT||en===ek.THEAD||en===ek.TR?Y.openElements.hasInTableScope(ek.TR)&&(Y.openElements.clearBackToTableRowContext(),Y.openElements.pop(),Y.insertionMode=ez,Y._processToken(et)):nz(Y,et)}function n0(Y,et){let en=et.tagName;en===ek.TR?Y.openElements.hasInTableScope(ek.TR)&&(Y.openElements.clearBackToTableRowContext(),Y.openElements.pop(),Y.insertionMode=ez):en===ek.TABLE?Y.openElements.hasInTableScope(ek.TR)&&(Y.openElements.clearBackToTableRowContext(),Y.openElements.pop(),Y.insertionMode=ez,Y._processToken(et)):en===ek.TBODY||en===ek.TFOOT||en===ek.THEAD?(Y.openElements.hasInTableScope(en)||Y.openElements.hasInTableScope(ek.TR))&&(Y.openElements.clearBackToTableRowContext(),Y.openElements.pop(),Y.insertionMode=ez,Y._processToken(et)):(en!==ek.BODY&&en!==ek.CAPTION&&en!==ek.COL&&en!==ek.COLGROUP||en!==ek.HTML&&en!==ek.TD&&en!==ek.TH)&&nU(Y,et)}function n9(Y,et){let en=et.tagName;en===ek.CAPTION||en===ek.COL||en===ek.COLGROUP||en===ek.TBODY||en===ek.TD||en===ek.TFOOT||en===ek.TH||en===ek.THEAD||en===ek.TR?(Y.openElements.hasInTableScope(ek.TD)||Y.openElements.hasInTableScope(ek.TH))&&(Y._closeTableCell(),Y._processToken(et)):np(Y,et)}function n5(Y,et){let en=et.tagName;en===ek.TD||en===ek.TH?Y.openElements.hasInTableScope(en)&&(Y.openElements.generateImpliedEndTags(),Y.openElements.popUntilTagNamePopped(en),Y.activeFormattingElements.clearToLastMarker(),Y.insertionMode=eU):en===ek.TABLE||en===ek.TBODY||en===ek.TFOOT||en===ek.THEAD||en===ek.TR?Y.openElements.hasInTableScope(en)&&(Y._closeTableCell(),Y._processToken(et)):en!==ek.BODY&&en!==ek.CAPTION&&en!==ek.COL&&en!==ek.COLGROUP&&en!==ek.HTML&&nS(Y,et)}function n4(Y,et){let en=et.tagName;en===ek.HTML?np(Y,et):en===ek.OPTION?(Y.openElements.currentTagName===ek.OPTION&&Y.openElements.pop(),Y._insertElement(et,ew.HTML)):en===ek.OPTGROUP?(Y.openElements.currentTagName===ek.OPTION&&Y.openElements.pop(),Y.openElements.currentTagName===ek.OPTGROUP&&Y.openElements.pop(),Y._insertElement(et,ew.HTML)):en===ek.INPUT||en===ek.KEYGEN||en===ek.TEXTAREA||en===ek.SELECT?Y.openElements.hasInSelectScope(ek.SELECT)&&(Y.openElements.popUntilTagNamePopped(ek.SELECT),Y._resetInsertionMode(),en!==ek.SELECT&&Y._processToken(et)):(en===ek.SCRIPT||en===ek.TEMPLATE)&&tC(Y,et)}function n3(Y,et){let en=et.tagName;if(en===ek.OPTGROUP){let et=Y.openElements.items[Y.openElements.stackTop-1],en=et&&Y.treeAdapter.getTagName(et);Y.openElements.currentTagName===ek.OPTION&&en===ek.OPTGROUP&&Y.openElements.pop(),Y.openElements.currentTagName===ek.OPTGROUP&&Y.openElements.pop()}else en===ek.OPTION?Y.openElements.currentTagName===ek.OPTION&&Y.openElements.pop():en===ek.SELECT&&Y.openElements.hasInSelectScope(ek.SELECT)?(Y.openElements.popUntilTagNamePopped(ek.SELECT),Y._resetInsertionMode()):en===ek.TEMPLATE&&tT(Y,et)}function n6(Y,et){let en=et.tagName;en===ek.CAPTION||en===ek.TABLE||en===ek.TBODY||en===ek.TFOOT||en===ek.THEAD||en===ek.TR||en===ek.TD||en===ek.TH?(Y.openElements.popUntilTagNamePopped(ek.SELECT),Y._resetInsertionMode(),Y._processToken(et)):n4(Y,et)}function n7(Y,et){let en=et.tagName;en===ek.CAPTION||en===ek.TABLE||en===ek.TBODY||en===ek.TFOOT||en===ek.THEAD||en===ek.TR||en===ek.TD||en===ek.TH?Y.openElements.hasInTableScope(en)&&(Y.openElements.popUntilTagNamePopped(ek.SELECT),Y._resetInsertionMode(),Y._processToken(et)):n3(Y,et)}function n8(Y,et){let en=et.tagName;if(en===ek.BASE||en===ek.BASEFONT||en===ek.BGSOUND||en===ek.LINK||en===ek.META||en===ek.NOFRAMES||en===ek.SCRIPT||en===ek.STYLE||en===ek.TEMPLATE||en===ek.TITLE)tC(Y,et);else{let ei=eJ[en]||eN;Y._popTmplInsertionMode(),Y._pushTmplInsertionMode(ei),Y.insertionMode=ei,Y._processToken(et)}}function rn(Y,et){et.tagName===ek.TEMPLATE&&tT(Y,et)}function rr(Y,et){Y.openElements.tmplCount>0?(Y.openElements.popUntilTagNamePopped(ek.TEMPLATE),Y.activeFormattingElements.clearToLastMarker(),Y._popTmplInsertionMode(),Y._resetInsertionMode(),Y._processToken(et)):Y.stopped=!0}function ri(Y,et){et.tagName===ek.HTML?np(Y,et):ra(Y,et)}function ro(Y,et){et.tagName===ek.HTML?Y.fragmentContext||(Y.insertionMode=eY):ra(Y,et)}function ra(Y,et){Y.insertionMode=eN,Y._processToken(et)}function rs(Y,et){let en=et.tagName;en===ek.HTML?np(Y,et):en===ek.FRAMESET?Y._insertElement(et,ew.HTML):en===ek.FRAME?(Y._appendElement(et,ew.HTML),et.ackSelfClosing=!0):en===ek.NOFRAMES&&tC(Y,et)}function rl(Y,et){et.tagName!==ek.FRAMESET||Y.openElements.isRootHtmlElementCurrent()||(Y.openElements.pop(),Y.fragmentContext||Y.openElements.currentTagName===ek.FRAMESET||(Y.insertionMode=e$))}function ru(Y,et){let en=et.tagName;en===ek.HTML?np(Y,et):en===ek.NOFRAMES&&tC(Y,et)}function rc(Y,et){et.tagName===ek.HTML&&(Y.insertionMode=eQ)}function rh(Y,et){et.tagName===ek.HTML?np(Y,et):rp(Y,et)}function rp(Y,et){Y.insertionMode=eN,Y._processToken(et)}function rm(Y,et){let en=et.tagName;en===ek.HTML?np(Y,et):en===ek.NOFRAMES&&tC(Y,et)}function rg(Y,et){et.chars=ey.REPLACEMENT_CHARACTER,Y._insertCharacters(et)}function rv(Y,et){Y._insertCharacters(et),Y.framesetOk=!1}function ry(Y,et){if(em.causesExit(et)&&!Y.fragmentContext){for(;Y.treeAdapter.getNamespaceURI(Y.openElements.current)!==ew.HTML&&!Y._isIntegrationPoint(Y.openElements.current);)Y.openElements.pop();Y._processToken(et)}else{let en=Y._getAdjustedCurrentElement(),ei=Y.treeAdapter.getNamespaceURI(en);ei===ew.MATHML?em.adjustTokenMathMLAttrs(et):ei===ew.SVG&&(em.adjustTokenSVGTagName(et),em.adjustTokenSVGAttrs(et)),em.adjustTokenXMLAttrs(et),et.selfClosing?Y._appendElement(et,ei):Y._insertElement(et,ei),et.ackSelfClosing=!0}}function rb(Y,et){for(let en=Y.openElements.stackTop;en>0;en--){let ei=Y.openElements.items[en];if(Y.treeAdapter.getNamespaceURI(ei)===ew.HTML){Y._processToken(et);break}if(Y.treeAdapter.getTagName(ei).toLowerCase()===et.tagName){Y.openElements.popUntilElementPopped(ei);break}}}Y.exports=e9},91619:function(Y,et,en){"use strict";let ei=en(28040),eo=ei.TAG_NAMES,ea=ei.NAMESPACES;function eu(Y){switch(Y.length){case 1:return Y===eo.P;case 2:return Y===eo.RB||Y===eo.RP||Y===eo.RT||Y===eo.DD||Y===eo.DT||Y===eo.LI;case 3:return Y===eo.RTC;case 6:return Y===eo.OPTION;case 8:return Y===eo.OPTGROUP}return!1}function ec(Y){switch(Y.length){case 1:return Y===eo.P;case 2:return Y===eo.RB||Y===eo.RP||Y===eo.RT||Y===eo.DD||Y===eo.DT||Y===eo.LI||Y===eo.TD||Y===eo.TH||Y===eo.TR;case 3:return Y===eo.RTC;case 5:return Y===eo.TBODY||Y===eo.TFOOT||Y===eo.THEAD;case 6:return Y===eo.OPTION;case 7:return Y===eo.CAPTION;case 8:return Y===eo.OPTGROUP||Y===eo.COLGROUP}return!1}function ed(Y,et){switch(Y.length){case 2:if(Y===eo.TD||Y===eo.TH)return et===ea.HTML;if(Y===eo.MI||Y===eo.MO||Y===eo.MN||Y===eo.MS)return et===ea.MATHML;break;case 4:if(Y===eo.HTML)return et===ea.HTML;if(Y===eo.DESC)return et===ea.SVG;break;case 5:if(Y===eo.TABLE)return et===ea.HTML;if(Y===eo.MTEXT)return et===ea.MATHML;if(Y===eo.TITLE)return et===ea.SVG;break;case 6:return(Y===eo.APPLET||Y===eo.OBJECT)&&et===ea.HTML;case 7:return(Y===eo.CAPTION||Y===eo.MARQUEE)&&et===ea.HTML;case 8:return Y===eo.TEMPLATE&&et===ea.HTML;case 13:return Y===eo.FOREIGN_OBJECT&&et===ea.SVG;case 14:return Y===eo.ANNOTATION_XML&&et===ea.MATHML}return!1}class ef{constructor(Y,et){this.stackTop=-1,this.items=[],this.current=Y,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=et}_indexOf(Y){let et=-1;for(let en=this.stackTop;en>=0;en--)if(this.items[en]===Y){et=en;break}return et}_isInTemplate(){return this.currentTagName===eo.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===ea.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(Y){this.items[++this.stackTop]=Y,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(Y,et){let en=this._indexOf(Y);this.items[en]=et,en===this.stackTop&&this._updateCurrentElement()}insertAfter(Y,et){let en=this._indexOf(Y)+1;this.items.splice(en,0,et),en===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(Y){for(;this.stackTop>-1;){let et=this.currentTagName,en=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),et===Y&&en===ea.HTML)break}}popUntilElementPopped(Y){for(;this.stackTop>-1;){let et=this.current;if(this.pop(),et===Y)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){let Y=this.currentTagName,et=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),Y===eo.H1||Y===eo.H2||Y===eo.H3||Y===eo.H4||Y===eo.H5||Y===eo.H6&&et===ea.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){let Y=this.currentTagName,et=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),Y===eo.TD||Y===eo.TH&&et===ea.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==eo.TABLE&&this.currentTagName!==eo.TEMPLATE&&this.currentTagName!==eo.HTML||this.treeAdapter.getNamespaceURI(this.current)!==ea.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==eo.TBODY&&this.currentTagName!==eo.TFOOT&&this.currentTagName!==eo.THEAD&&this.currentTagName!==eo.TEMPLATE&&this.currentTagName!==eo.HTML||this.treeAdapter.getNamespaceURI(this.current)!==ea.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==eo.TR&&this.currentTagName!==eo.TEMPLATE&&this.currentTagName!==eo.HTML||this.treeAdapter.getNamespaceURI(this.current)!==ea.HTML;)this.pop()}remove(Y){for(let et=this.stackTop;et>=0;et--)if(this.items[et]===Y){this.items.splice(et,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){let Y=this.items[1];return Y&&this.treeAdapter.getTagName(Y)===eo.BODY?Y:null}contains(Y){return this._indexOf(Y)>-1}getCommonAncestor(Y){let et=this._indexOf(Y);return--et>=0?this.items[et]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===eo.HTML}hasInScope(Y){for(let et=this.stackTop;et>=0;et--){let en=this.treeAdapter.getTagName(this.items[et]),ei=this.treeAdapter.getNamespaceURI(this.items[et]);if(en===Y&&ei===ea.HTML)break;if(ed(en,ei))return!1}return!0}hasNumberedHeaderInScope(){for(let Y=this.stackTop;Y>=0;Y--){let et=this.treeAdapter.getTagName(this.items[Y]),en=this.treeAdapter.getNamespaceURI(this.items[Y]);if((et===eo.H1||et===eo.H2||et===eo.H3||et===eo.H4||et===eo.H5||et===eo.H6)&&en===ea.HTML)break;if(ed(et,en))return!1}return!0}hasInListItemScope(Y){for(let et=this.stackTop;et>=0;et--){let en=this.treeAdapter.getTagName(this.items[et]),ei=this.treeAdapter.getNamespaceURI(this.items[et]);if(en===Y&&ei===ea.HTML)break;if((en===eo.UL||en===eo.OL)&&ei===ea.HTML||ed(en,ei))return!1}return!0}hasInButtonScope(Y){for(let et=this.stackTop;et>=0;et--){let en=this.treeAdapter.getTagName(this.items[et]),ei=this.treeAdapter.getNamespaceURI(this.items[et]);if(en===Y&&ei===ea.HTML)break;if(en===eo.BUTTON&&ei===ea.HTML||ed(en,ei))return!1}return!0}hasInTableScope(Y){for(let et=this.stackTop;et>=0;et--){let en=this.treeAdapter.getTagName(this.items[et]),ei=this.treeAdapter.getNamespaceURI(this.items[et]);if(ei===ea.HTML){if(en===Y)break;if(en===eo.TABLE||en===eo.TEMPLATE||en===eo.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let Y=this.stackTop;Y>=0;Y--){let et=this.treeAdapter.getTagName(this.items[Y]),en=this.treeAdapter.getNamespaceURI(this.items[Y]);if(en===ea.HTML){if(et===eo.TBODY||et===eo.THEAD||et===eo.TFOOT)break;if(et===eo.TABLE||et===eo.HTML)return!1}}return!0}hasInSelectScope(Y){for(let et=this.stackTop;et>=0;et--){let en=this.treeAdapter.getTagName(this.items[et]),ei=this.treeAdapter.getNamespaceURI(this.items[et]);if(ei===ea.HTML){if(en===Y)break;if(en!==eo.OPTION&&en!==eo.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;eu(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ec(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(Y){for(;eu(this.currentTagName)&&this.currentTagName!==Y;)this.pop()}}Y.exports=ef},1672:function(Y,et,en){"use strict";let ei=en(47757),eo=en(79740),ea=en(87071),eu=en(97700),ec=eo.CODE_POINTS,ed=eo.CODE_POINT_SEQUENCES,ef={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},eh=1,ep=2,em=4,eg=eh|ep|em,ey="DATA_STATE",eb="RCDATA_STATE",ek="RAWTEXT_STATE",ew="SCRIPT_DATA_STATE",e_="PLAINTEXT_STATE",eE="TAG_OPEN_STATE",eC="END_TAG_OPEN_STATE",eT="TAG_NAME_STATE",eS="RCDATA_LESS_THAN_SIGN_STATE",eA="RCDATA_END_TAG_OPEN_STATE",eM="RCDATA_END_TAG_NAME_STATE",eP="RAWTEXT_LESS_THAN_SIGN_STATE",ej="RAWTEXT_END_TAG_OPEN_STATE",eO="RAWTEXT_END_TAG_NAME_STATE",eI="SCRIPT_DATA_LESS_THAN_SIGN_STATE",eN="SCRIPT_DATA_END_TAG_OPEN_STATE",eL="SCRIPT_DATA_END_TAG_NAME_STATE",eR="SCRIPT_DATA_ESCAPE_START_STATE",eD="SCRIPT_DATA_ESCAPE_START_DASH_STATE",eF="SCRIPT_DATA_ESCAPED_STATE",eB="SCRIPT_DATA_ESCAPED_DASH_STATE",ez="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",eU="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",eH="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",eG="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",eV="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",eW="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",eZ="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",eK="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",e$="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",eY="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",eQ="BEFORE_ATTRIBUTE_NAME_STATE",eX="ATTRIBUTE_NAME_STATE",eJ="AFTER_ATTRIBUTE_NAME_STATE",e0="BEFORE_ATTRIBUTE_VALUE_STATE",e9="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",e5="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",e4="ATTRIBUTE_VALUE_UNQUOTED_STATE",e3="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",e6="SELF_CLOSING_START_TAG_STATE",e7="BOGUS_COMMENT_STATE",e8="MARKUP_DECLARATION_OPEN_STATE",tt="COMMENT_START_STATE",ta="COMMENT_START_DASH_STATE",tu="COMMENT_STATE",tc="COMMENT_LESS_THAN_SIGN_STATE",td="COMMENT_LESS_THAN_SIGN_BANG_STATE",tf="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",th="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",tp="COMMENT_END_DASH_STATE",tm="COMMENT_END_STATE",tg="COMMENT_END_BANG_STATE",tv="DOCTYPE_STATE",tb="BEFORE_DOCTYPE_NAME_STATE",tk="DOCTYPE_NAME_STATE",tw="AFTER_DOCTYPE_NAME_STATE",t_="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",tE="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",tC="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",tT="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",tS="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",tA="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",tM="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",tP="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",tj="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",tO="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",tI="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",tN="BOGUS_DOCTYPE_STATE",tL="CDATA_SECTION_STATE",tR="CDATA_SECTION_BRACKET_STATE",tD="CDATA_SECTION_END_STATE",tF="CHARACTER_REFERENCE_STATE",tB="NAMED_CHARACTER_REFERENCE_STATE",tU="AMBIGUOS_AMPERSAND_STATE",tH="NUMERIC_CHARACTER_REFERENCE_STATE",tG="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",tV="DECIMAL_CHARACTER_REFERENCE_START_STATE",tW="HEXADEMICAL_CHARACTER_REFERENCE_STATE",tq="DECIMAL_CHARACTER_REFERENCE_STATE",tZ="NUMERIC_CHARACTER_REFERENCE_END_STATE";function tK(Y){return Y===ec.SPACE||Y===ec.LINE_FEED||Y===ec.TABULATION||Y===ec.FORM_FEED}function t$(Y){return Y>=ec.DIGIT_0&&Y<=ec.DIGIT_9}function tY(Y){return Y>=ec.LATIN_CAPITAL_A&&Y<=ec.LATIN_CAPITAL_Z}function tQ(Y){return Y>=ec.LATIN_SMALL_A&&Y<=ec.LATIN_SMALL_Z}function tX(Y){return tQ(Y)||tY(Y)}function tJ(Y){return tX(Y)||t$(Y)}function t9(Y){return Y>=ec.LATIN_CAPITAL_A&&Y<=ec.LATIN_CAPITAL_F}function t5(Y){return Y>=ec.LATIN_SMALL_A&&Y<=ec.LATIN_SMALL_F}function t4(Y){return t$(Y)||t9(Y)||t5(Y)}function t3(Y){return Y+32}function t6(Y){return Y<=65535?String.fromCharCode(Y):String.fromCharCode((Y-=65536)>>>10&1023|55296)+String.fromCharCode(56320|1023&Y)}function t7(Y){return String.fromCharCode(t3(Y))}function t8(Y,et){let en=ea[++Y],ei=++Y,eo=ei+en-1;for(;ei<=eo;){let Y=ei+eo>>>1,eu=ea[Y];if(eu<et)ei=Y+1;else{if(!(eu>et))return ea[Y+en];eo=Y-1}}return -1}class nt{constructor(){this.preprocessor=new ei,this.tokenQueue=[],this.allowCDATA=!1,this.state=ey,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(Y){this._consume(),this._err(Y),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;let Y=this._consume();this._ensureHibernation()||this[this.state](Y)}return this.tokenQueue.shift()}write(Y,et){this.active=!0,this.preprocessor.write(Y,et)}insertHtmlAtCurrentPos(Y){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(Y)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:nt.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(Y){this.state=Y,this._unconsume()}_consumeSequenceIfMatch(Y,et,en){let ei,eo=0,ea=!0,eu=Y.length,ed=0,ef=et;for(;ed<eu;ed++)if(ed>0&&(ef=this._consume(),eo++),ef===ec.EOF||ef!==(ei=Y[ed])&&(en||ef!==t3(ei))){ea=!1;break}if(!ea)for(;eo--;)this._unconsume();return ea}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==ed.SCRIPT_STRING.length)return!1;for(let Y=0;Y<this.tempBuff.length;Y++)if(this.tempBuff[Y]!==ed.SCRIPT_STRING[Y])return!1;return!0}_createStartTagToken(){this.currentToken={type:nt.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:nt.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:nt.COMMENT_TOKEN,data:""}}_createDoctypeToken(Y){this.currentToken={type:nt.DOCTYPE_TOKEN,name:Y,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(Y,et){this.currentCharacterToken={type:Y,chars:et}}_createEOFToken(){this.currentToken={type:nt.EOF_TOKEN}}_createAttr(Y){this.currentAttr={name:Y,value:""}}_leaveAttrName(Y){null===nt.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(eu.duplicateAttribute),this.state=Y}_leaveAttrValue(Y){this.state=Y}_emitCurrentToken(){this._emitCurrentCharacterToken();let Y=this.currentToken;this.currentToken=null,Y.type===nt.START_TAG_TOKEN?this.lastStartTagName=Y.tagName:Y.type===nt.END_TAG_TOKEN&&(Y.attrs.length>0&&this._err(eu.endTagWithAttributes),Y.selfClosing&&this._err(eu.endTagWithTrailingSolidus)),this.tokenQueue.push(Y)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(Y,et){this.currentCharacterToken&&this.currentCharacterToken.type!==Y&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=et:this._createCharacterToken(Y,et)}_emitCodePoint(Y){let et=nt.CHARACTER_TOKEN;tK(Y)?et=nt.WHITESPACE_CHARACTER_TOKEN:Y===ec.NULL&&(et=nt.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(et,t6(Y))}_emitSeveralCodePoints(Y){for(let et=0;et<Y.length;et++)this._emitCodePoint(Y[et])}_emitChars(Y){this._appendCharToCurrentCharacterToken(nt.CHARACTER_TOKEN,Y)}_matchNamedCharacterReference(Y){let et=null,en=1,ei=t8(0,Y);for(this.tempBuff.push(Y);ei>-1;){let Y=ea[ei],eo=Y<eg,eu=eo&&Y&eh;eu&&(et=Y&ep?[ea[++ei],ea[++ei]]:[ea[++ei]],en=0);let ed=this._consume();if(this.tempBuff.push(ed),en++,ed===ec.EOF)break;ei=eo?Y&em?t8(ei,ed):-1:ed===Y?++ei:-1}for(;en--;)this.tempBuff.pop(),this._unconsume();return et}_isCharacterReferenceInAttribute(){return this.returnState===e9||this.returnState===e5||this.returnState===e4}_isCharacterReferenceAttributeQuirk(Y){if(!Y&&this._isCharacterReferenceInAttribute()){let Y=this._consume();return this._unconsume(),Y===ec.EQUALS_SIGN||tJ(Y)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let Y=0;Y<this.tempBuff.length;Y++)this.currentAttr.value+=t6(this.tempBuff[Y]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}[ey](Y){this.preprocessor.dropParsedChunk(),Y===ec.LESS_THAN_SIGN?this.state=eE:Y===ec.AMPERSAND?(this.returnState=ey,this.state=tF):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this._emitCodePoint(Y)):Y===ec.EOF?this._emitEOFToken():this._emitCodePoint(Y)}[eb](Y){this.preprocessor.dropParsedChunk(),Y===ec.AMPERSAND?(this.returnState=eb,this.state=tF):Y===ec.LESS_THAN_SIGN?this.state=eS:Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this._emitChars(eo.REPLACEMENT_CHARACTER)):Y===ec.EOF?this._emitEOFToken():this._emitCodePoint(Y)}[ek](Y){this.preprocessor.dropParsedChunk(),Y===ec.LESS_THAN_SIGN?this.state=eP:Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this._emitChars(eo.REPLACEMENT_CHARACTER)):Y===ec.EOF?this._emitEOFToken():this._emitCodePoint(Y)}[ew](Y){this.preprocessor.dropParsedChunk(),Y===ec.LESS_THAN_SIGN?this.state=eI:Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this._emitChars(eo.REPLACEMENT_CHARACTER)):Y===ec.EOF?this._emitEOFToken():this._emitCodePoint(Y)}[e_](Y){this.preprocessor.dropParsedChunk(),Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this._emitChars(eo.REPLACEMENT_CHARACTER)):Y===ec.EOF?this._emitEOFToken():this._emitCodePoint(Y)}[eE](Y){Y===ec.EXCLAMATION_MARK?this.state=e8:Y===ec.SOLIDUS?this.state=eC:tX(Y)?(this._createStartTagToken(),this._reconsumeInState(eT)):Y===ec.QUESTION_MARK?(this._err(eu.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(e7)):Y===ec.EOF?(this._err(eu.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(eu.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(ey))}[eC](Y){tX(Y)?(this._createEndTagToken(),this._reconsumeInState(eT)):Y===ec.GREATER_THAN_SIGN?(this._err(eu.missingEndTagName),this.state=ey):Y===ec.EOF?(this._err(eu.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(eu.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(e7))}[eT](Y){tK(Y)?this.state=eQ:Y===ec.SOLIDUS?this.state=e6:Y===ec.GREATER_THAN_SIGN?(this.state=ey,this._emitCurrentToken()):tY(Y)?this.currentToken.tagName+=t7(Y):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.currentToken.tagName+=eo.REPLACEMENT_CHARACTER):Y===ec.EOF?(this._err(eu.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=t6(Y)}[eS](Y){Y===ec.SOLIDUS?(this.tempBuff=[],this.state=eA):(this._emitChars("<"),this._reconsumeInState(eb))}[eA](Y){tX(Y)?(this._createEndTagToken(),this._reconsumeInState(eM)):(this._emitChars("</"),this._reconsumeInState(eb))}[eM](Y){if(tY(Y))this.currentToken.tagName+=t7(Y),this.tempBuff.push(Y);else if(tQ(Y))this.currentToken.tagName+=t6(Y),this.tempBuff.push(Y);else{if(this.lastStartTagName===this.currentToken.tagName){if(tK(Y)){this.state=eQ;return}if(Y===ec.SOLIDUS){this.state=e6;return}if(Y===ec.GREATER_THAN_SIGN){this.state=ey,this._emitCurrentToken();return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(eb)}}[eP](Y){Y===ec.SOLIDUS?(this.tempBuff=[],this.state=ej):(this._emitChars("<"),this._reconsumeInState(ek))}[ej](Y){tX(Y)?(this._createEndTagToken(),this._reconsumeInState(eO)):(this._emitChars("</"),this._reconsumeInState(ek))}[eO](Y){if(tY(Y))this.currentToken.tagName+=t7(Y),this.tempBuff.push(Y);else if(tQ(Y))this.currentToken.tagName+=t6(Y),this.tempBuff.push(Y);else{if(this.lastStartTagName===this.currentToken.tagName){if(tK(Y)){this.state=eQ;return}if(Y===ec.SOLIDUS){this.state=e6;return}if(Y===ec.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state=ey;return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(ek)}}[eI](Y){Y===ec.SOLIDUS?(this.tempBuff=[],this.state=eN):Y===ec.EXCLAMATION_MARK?(this.state=eR,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(ew))}[eN](Y){tX(Y)?(this._createEndTagToken(),this._reconsumeInState(eL)):(this._emitChars("</"),this._reconsumeInState(ew))}[eL](Y){if(tY(Y))this.currentToken.tagName+=t7(Y),this.tempBuff.push(Y);else if(tQ(Y))this.currentToken.tagName+=t6(Y),this.tempBuff.push(Y);else{if(this.lastStartTagName===this.currentToken.tagName){if(tK(Y)){this.state=eQ;return}if(Y===ec.SOLIDUS){this.state=e6;return}if(Y===ec.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state=ey;return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(ew)}}[eR](Y){Y===ec.HYPHEN_MINUS?(this.state=eD,this._emitChars("-")):this._reconsumeInState(ew)}[eD](Y){Y===ec.HYPHEN_MINUS?(this.state=ez,this._emitChars("-")):this._reconsumeInState(ew)}[eF](Y){Y===ec.HYPHEN_MINUS?(this.state=eB,this._emitChars("-")):Y===ec.LESS_THAN_SIGN?this.state=eU:Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this._emitChars(eo.REPLACEMENT_CHARACTER)):Y===ec.EOF?(this._err(eu.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(Y)}[eB](Y){Y===ec.HYPHEN_MINUS?(this.state=ez,this._emitChars("-")):Y===ec.LESS_THAN_SIGN?this.state=eU:Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.state=eF,this._emitChars(eo.REPLACEMENT_CHARACTER)):Y===ec.EOF?(this._err(eu.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=eF,this._emitCodePoint(Y))}[ez](Y){Y===ec.HYPHEN_MINUS?this._emitChars("-"):Y===ec.LESS_THAN_SIGN?this.state=eU:Y===ec.GREATER_THAN_SIGN?(this.state=ew,this._emitChars(">")):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.state=eF,this._emitChars(eo.REPLACEMENT_CHARACTER)):Y===ec.EOF?(this._err(eu.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=eF,this._emitCodePoint(Y))}[eU](Y){Y===ec.SOLIDUS?(this.tempBuff=[],this.state=eH):tX(Y)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(eV)):(this._emitChars("<"),this._reconsumeInState(eF))}[eH](Y){tX(Y)?(this._createEndTagToken(),this._reconsumeInState(eG)):(this._emitChars("</"),this._reconsumeInState(eF))}[eG](Y){if(tY(Y))this.currentToken.tagName+=t7(Y),this.tempBuff.push(Y);else if(tQ(Y))this.currentToken.tagName+=t6(Y),this.tempBuff.push(Y);else{if(this.lastStartTagName===this.currentToken.tagName){if(tK(Y)){this.state=eQ;return}if(Y===ec.SOLIDUS){this.state=e6;return}if(Y===ec.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state=ey;return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(eF)}}[eV](Y){tK(Y)||Y===ec.SOLIDUS||Y===ec.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?eW:eF,this._emitCodePoint(Y)):tY(Y)?(this.tempBuff.push(t3(Y)),this._emitCodePoint(Y)):tQ(Y)?(this.tempBuff.push(Y),this._emitCodePoint(Y)):this._reconsumeInState(eF)}[eW](Y){Y===ec.HYPHEN_MINUS?(this.state=eZ,this._emitChars("-")):Y===ec.LESS_THAN_SIGN?(this.state=e$,this._emitChars("<")):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this._emitChars(eo.REPLACEMENT_CHARACTER)):Y===ec.EOF?(this._err(eu.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(Y)}[eZ](Y){Y===ec.HYPHEN_MINUS?(this.state=eK,this._emitChars("-")):Y===ec.LESS_THAN_SIGN?(this.state=e$,this._emitChars("<")):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.state=eW,this._emitChars(eo.REPLACEMENT_CHARACTER)):Y===ec.EOF?(this._err(eu.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=eW,this._emitCodePoint(Y))}[eK](Y){Y===ec.HYPHEN_MINUS?this._emitChars("-"):Y===ec.LESS_THAN_SIGN?(this.state=e$,this._emitChars("<")):Y===ec.GREATER_THAN_SIGN?(this.state=ew,this._emitChars(">")):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.state=eW,this._emitChars(eo.REPLACEMENT_CHARACTER)):Y===ec.EOF?(this._err(eu.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=eW,this._emitCodePoint(Y))}[e$](Y){Y===ec.SOLIDUS?(this.tempBuff=[],this.state=eY,this._emitChars("/")):this._reconsumeInState(eW)}[eY](Y){tK(Y)||Y===ec.SOLIDUS||Y===ec.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?eF:eW,this._emitCodePoint(Y)):tY(Y)?(this.tempBuff.push(t3(Y)),this._emitCodePoint(Y)):tQ(Y)?(this.tempBuff.push(Y),this._emitCodePoint(Y)):this._reconsumeInState(eW)}[eQ](Y){tK(Y)||(Y===ec.SOLIDUS||Y===ec.GREATER_THAN_SIGN||Y===ec.EOF?this._reconsumeInState(eJ):Y===ec.EQUALS_SIGN?(this._err(eu.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=eX):(this._createAttr(""),this._reconsumeInState(eX)))}[eX](Y){tK(Y)||Y===ec.SOLIDUS||Y===ec.GREATER_THAN_SIGN||Y===ec.EOF?(this._leaveAttrName(eJ),this._unconsume()):Y===ec.EQUALS_SIGN?this._leaveAttrName(e0):tY(Y)?this.currentAttr.name+=t7(Y):Y===ec.QUOTATION_MARK||Y===ec.APOSTROPHE||Y===ec.LESS_THAN_SIGN?(this._err(eu.unexpectedCharacterInAttributeName),this.currentAttr.name+=t6(Y)):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.currentAttr.name+=eo.REPLACEMENT_CHARACTER):this.currentAttr.name+=t6(Y)}[eJ](Y){tK(Y)||(Y===ec.SOLIDUS?this.state=e6:Y===ec.EQUALS_SIGN?this.state=e0:Y===ec.GREATER_THAN_SIGN?(this.state=ey,this._emitCurrentToken()):Y===ec.EOF?(this._err(eu.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(eX)))}[e0](Y){tK(Y)||(Y===ec.QUOTATION_MARK?this.state=e9:Y===ec.APOSTROPHE?this.state=e5:Y===ec.GREATER_THAN_SIGN?(this._err(eu.missingAttributeValue),this.state=ey,this._emitCurrentToken()):this._reconsumeInState(e4))}[e9](Y){Y===ec.QUOTATION_MARK?this.state=e3:Y===ec.AMPERSAND?(this.returnState=e9,this.state=tF):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.currentAttr.value+=eo.REPLACEMENT_CHARACTER):Y===ec.EOF?(this._err(eu.eofInTag),this._emitEOFToken()):this.currentAttr.value+=t6(Y)}[e5](Y){Y===ec.APOSTROPHE?this.state=e3:Y===ec.AMPERSAND?(this.returnState=e5,this.state=tF):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.currentAttr.value+=eo.REPLACEMENT_CHARACTER):Y===ec.EOF?(this._err(eu.eofInTag),this._emitEOFToken()):this.currentAttr.value+=t6(Y)}[e4](Y){tK(Y)?this._leaveAttrValue(eQ):Y===ec.AMPERSAND?(this.returnState=e4,this.state=tF):Y===ec.GREATER_THAN_SIGN?(this._leaveAttrValue(ey),this._emitCurrentToken()):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.currentAttr.value+=eo.REPLACEMENT_CHARACTER):Y===ec.QUOTATION_MARK||Y===ec.APOSTROPHE||Y===ec.LESS_THAN_SIGN||Y===ec.EQUALS_SIGN||Y===ec.GRAVE_ACCENT?(this._err(eu.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=t6(Y)):Y===ec.EOF?(this._err(eu.eofInTag),this._emitEOFToken()):this.currentAttr.value+=t6(Y)}[e3](Y){tK(Y)?this._leaveAttrValue(eQ):Y===ec.SOLIDUS?this._leaveAttrValue(e6):Y===ec.GREATER_THAN_SIGN?(this._leaveAttrValue(ey),this._emitCurrentToken()):Y===ec.EOF?(this._err(eu.eofInTag),this._emitEOFToken()):(this._err(eu.missingWhitespaceBetweenAttributes),this._reconsumeInState(eQ))}[e6](Y){Y===ec.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=ey,this._emitCurrentToken()):Y===ec.EOF?(this._err(eu.eofInTag),this._emitEOFToken()):(this._err(eu.unexpectedSolidusInTag),this._reconsumeInState(eQ))}[e7](Y){Y===ec.GREATER_THAN_SIGN?(this.state=ey,this._emitCurrentToken()):Y===ec.EOF?(this._emitCurrentToken(),this._emitEOFToken()):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.currentToken.data+=eo.REPLACEMENT_CHARACTER):this.currentToken.data+=t6(Y)}[e8](Y){this._consumeSequenceIfMatch(ed.DASH_DASH_STRING,Y,!0)?(this._createCommentToken(),this.state=tt):this._consumeSequenceIfMatch(ed.DOCTYPE_STRING,Y,!1)?this.state=tv:this._consumeSequenceIfMatch(ed.CDATA_START_STRING,Y,!0)?this.allowCDATA?this.state=tL:(this._err(eu.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=e7):this._ensureHibernation()||(this._err(eu.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(e7))}[tt](Y){Y===ec.HYPHEN_MINUS?this.state=ta:Y===ec.GREATER_THAN_SIGN?(this._err(eu.abruptClosingOfEmptyComment),this.state=ey,this._emitCurrentToken()):this._reconsumeInState(tu)}[ta](Y){Y===ec.HYPHEN_MINUS?this.state=tm:Y===ec.GREATER_THAN_SIGN?(this._err(eu.abruptClosingOfEmptyComment),this.state=ey,this._emitCurrentToken()):Y===ec.EOF?(this._err(eu.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(tu))}[tu](Y){Y===ec.HYPHEN_MINUS?this.state=tp:Y===ec.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=tc):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.currentToken.data+=eo.REPLACEMENT_CHARACTER):Y===ec.EOF?(this._err(eu.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=t6(Y)}[tc](Y){Y===ec.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=td):Y===ec.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(tu)}[td](Y){Y===ec.HYPHEN_MINUS?this.state=tf:this._reconsumeInState(tu)}[tf](Y){Y===ec.HYPHEN_MINUS?this.state=th:this._reconsumeInState(tp)}[th](Y){Y!==ec.GREATER_THAN_SIGN&&Y!==ec.EOF&&this._err(eu.nestedComment),this._reconsumeInState(tm)}[tp](Y){Y===ec.HYPHEN_MINUS?this.state=tm:Y===ec.EOF?(this._err(eu.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(tu))}[tm](Y){Y===ec.GREATER_THAN_SIGN?(this.state=ey,this._emitCurrentToken()):Y===ec.EXCLAMATION_MARK?this.state=tg:Y===ec.HYPHEN_MINUS?this.currentToken.data+="-":Y===ec.EOF?(this._err(eu.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(tu))}[tg](Y){Y===ec.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=tp):Y===ec.GREATER_THAN_SIGN?(this._err(eu.incorrectlyClosedComment),this.state=ey,this._emitCurrentToken()):Y===ec.EOF?(this._err(eu.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(tu))}[tv](Y){tK(Y)?this.state=tb:Y===ec.GREATER_THAN_SIGN?this._reconsumeInState(tb):Y===ec.EOF?(this._err(eu.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eu.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(tb))}[tb](Y){tK(Y)||(tY(Y)?(this._createDoctypeToken(t7(Y)),this.state=tk):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this._createDoctypeToken(eo.REPLACEMENT_CHARACTER),this.state=tk):Y===ec.GREATER_THAN_SIGN?(this._err(eu.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ey):Y===ec.EOF?(this._err(eu.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(t6(Y)),this.state=tk))}[tk](Y){tK(Y)?this.state=tw:Y===ec.GREATER_THAN_SIGN?(this.state=ey,this._emitCurrentToken()):tY(Y)?this.currentToken.name+=t7(Y):Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.currentToken.name+=eo.REPLACEMENT_CHARACTER):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=t6(Y)}[tw](Y){!tK(Y)&&(Y===ec.GREATER_THAN_SIGN?(this.state=ey,this._emitCurrentToken()):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(ed.PUBLIC_STRING,Y,!1)?this.state=t_:this._consumeSequenceIfMatch(ed.SYSTEM_STRING,Y,!1)?this.state=tM:this._ensureHibernation()||(this._err(eu.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(tN)))}[t_](Y){tK(Y)?this.state=tE:Y===ec.QUOTATION_MARK?(this._err(eu.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=tC):Y===ec.APOSTROPHE?(this._err(eu.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=tT):Y===ec.GREATER_THAN_SIGN?(this._err(eu.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=ey,this._emitCurrentToken()):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eu.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(tN))}[tE](Y){tK(Y)||(Y===ec.QUOTATION_MARK?(this.currentToken.publicId="",this.state=tC):Y===ec.APOSTROPHE?(this.currentToken.publicId="",this.state=tT):Y===ec.GREATER_THAN_SIGN?(this._err(eu.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=ey,this._emitCurrentToken()):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eu.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(tN)))}[tC](Y){Y===ec.QUOTATION_MARK?this.state=tS:Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.currentToken.publicId+=eo.REPLACEMENT_CHARACTER):Y===ec.GREATER_THAN_SIGN?(this._err(eu.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ey):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=t6(Y)}[tT](Y){Y===ec.APOSTROPHE?this.state=tS:Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.currentToken.publicId+=eo.REPLACEMENT_CHARACTER):Y===ec.GREATER_THAN_SIGN?(this._err(eu.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ey):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=t6(Y)}[tS](Y){tK(Y)?this.state=tA:Y===ec.GREATER_THAN_SIGN?(this.state=ey,this._emitCurrentToken()):Y===ec.QUOTATION_MARK?(this._err(eu.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=tj):Y===ec.APOSTROPHE?(this._err(eu.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=tO):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eu.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(tN))}[tA](Y){tK(Y)||(Y===ec.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=ey):Y===ec.QUOTATION_MARK?(this.currentToken.systemId="",this.state=tj):Y===ec.APOSTROPHE?(this.currentToken.systemId="",this.state=tO):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eu.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(tN)))}[tM](Y){tK(Y)?this.state=tP:Y===ec.QUOTATION_MARK?(this._err(eu.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=tj):Y===ec.APOSTROPHE?(this._err(eu.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=tO):Y===ec.GREATER_THAN_SIGN?(this._err(eu.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=ey,this._emitCurrentToken()):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eu.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(tN))}[tP](Y){tK(Y)||(Y===ec.QUOTATION_MARK?(this.currentToken.systemId="",this.state=tj):Y===ec.APOSTROPHE?(this.currentToken.systemId="",this.state=tO):Y===ec.GREATER_THAN_SIGN?(this._err(eu.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=ey,this._emitCurrentToken()):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eu.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(tN)))}[tj](Y){Y===ec.QUOTATION_MARK?this.state=tI:Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.currentToken.systemId+=eo.REPLACEMENT_CHARACTER):Y===ec.GREATER_THAN_SIGN?(this._err(eu.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ey):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=t6(Y)}[tO](Y){Y===ec.APOSTROPHE?this.state=tI:Y===ec.NULL?(this._err(eu.unexpectedNullCharacter),this.currentToken.systemId+=eo.REPLACEMENT_CHARACTER):Y===ec.GREATER_THAN_SIGN?(this._err(eu.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=ey):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=t6(Y)}[tI](Y){tK(Y)||(Y===ec.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=ey):Y===ec.EOF?(this._err(eu.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(eu.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(tN)))}[tN](Y){Y===ec.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=ey):Y===ec.NULL?this._err(eu.unexpectedNullCharacter):Y===ec.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[tL](Y){Y===ec.RIGHT_SQUARE_BRACKET?this.state=tR:Y===ec.EOF?(this._err(eu.eofInCdata),this._emitEOFToken()):this._emitCodePoint(Y)}[tR](Y){Y===ec.RIGHT_SQUARE_BRACKET?this.state=tD:(this._emitChars("]"),this._reconsumeInState(tL))}[tD](Y){Y===ec.GREATER_THAN_SIGN?this.state=ey:Y===ec.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(tL))}[tF](Y){this.tempBuff=[ec.AMPERSAND],Y===ec.NUMBER_SIGN?(this.tempBuff.push(Y),this.state=tH):tJ(Y)?this._reconsumeInState(tB):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[tB](Y){let et=this._matchNamedCharacterReference(Y);if(this._ensureHibernation())this.tempBuff=[ec.AMPERSAND];else if(et){let Y=this.tempBuff[this.tempBuff.length-1]===ec.SEMICOLON;this._isCharacterReferenceAttributeQuirk(Y)||(Y||this._errOnNextCodePoint(eu.missingSemicolonAfterCharacterReference),this.tempBuff=et),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=tU}[tU](Y){tJ(Y)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=t6(Y):this._emitCodePoint(Y):(Y===ec.SEMICOLON&&this._err(eu.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[tH](Y){this.charRefCode=0,Y===ec.LATIN_SMALL_X||Y===ec.LATIN_CAPITAL_X?(this.tempBuff.push(Y),this.state=tG):this._reconsumeInState(tV)}[tG](Y){t4(Y)?this._reconsumeInState(tW):(this._err(eu.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[tV](Y){t$(Y)?this._reconsumeInState(tq):(this._err(eu.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[tW](Y){t9(Y)?this.charRefCode=16*this.charRefCode+Y-55:t5(Y)?this.charRefCode=16*this.charRefCode+Y-87:t$(Y)?this.charRefCode=16*this.charRefCode+Y-48:Y===ec.SEMICOLON?this.state=tZ:(this._err(eu.missingSemicolonAfterCharacterReference),this._reconsumeInState(tZ))}[tq](Y){t$(Y)?this.charRefCode=10*this.charRefCode+Y-48:Y===ec.SEMICOLON?this.state=tZ:(this._err(eu.missingSemicolonAfterCharacterReference),this._reconsumeInState(tZ))}[tZ](){if(this.charRefCode===ec.NULL)this._err(eu.nullCharacterReference),this.charRefCode=ec.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(eu.characterReferenceOutsideUnicodeRange),this.charRefCode=ec.REPLACEMENT_CHARACTER;else if(eo.isSurrogate(this.charRefCode))this._err(eu.surrogateCharacterReference),this.charRefCode=ec.REPLACEMENT_CHARACTER;else if(eo.isUndefinedCodePoint(this.charRefCode))this._err(eu.noncharacterCharacterReference);else if(eo.isControlCodePoint(this.charRefCode)||this.charRefCode===ec.CARRIAGE_RETURN){this._err(eu.controlCharacterReference);let Y=ef[this.charRefCode];Y&&(this.charRefCode=Y)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}nt.CHARACTER_TOKEN="CHARACTER_TOKEN",nt.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",nt.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",nt.START_TAG_TOKEN="START_TAG_TOKEN",nt.END_TAG_TOKEN="END_TAG_TOKEN",nt.COMMENT_TOKEN="COMMENT_TOKEN",nt.DOCTYPE_TOKEN="DOCTYPE_TOKEN",nt.EOF_TOKEN="EOF_TOKEN",nt.HIBERNATION_TOKEN="HIBERNATION_TOKEN",nt.MODE={DATA:ey,RCDATA:eb,RAWTEXT:ek,SCRIPT_DATA:ew,PLAINTEXT:e_},nt.getTokenAttr=function(Y,et){for(let en=Y.attrs.length-1;en>=0;en--)if(Y.attrs[en].name===et)return Y.attrs[en].value;return null},Y.exports=nt},87071:function(Y){"use strict";Y.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},47757:function(Y,et,en){"use strict";let ei=en(79740),eo=en(97700),ea=ei.CODE_POINTS,eu=65536;class ec{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=eu}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(Y){if(this.pos!==this.lastCharPos){let et=this.html.charCodeAt(this.pos+1);if(ei.isSurrogatePair(et))return this.pos++,this._addGap(),ei.getSurrogatePairCodePoint(Y,et)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,ea.EOF;return this._err(eo.surrogateInInputStream),Y}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(Y,et){this.html?this.html+=Y:this.html=Y,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=et}insertHtmlAtCurrentPos(Y){this.html=this.html.substring(0,this.pos+1)+Y+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,ea.EOF;let Y=this.html.charCodeAt(this.pos);if(this.skipNextNewLine&&Y===ea.LINE_FEED)return this.skipNextNewLine=!1,this._addGap(),this.advance();if(Y===ea.CARRIAGE_RETURN)return this.skipNextNewLine=!0,ea.LINE_FEED;this.skipNextNewLine=!1,ei.isSurrogate(Y)&&(Y=this._processSurrogate(Y));let et=Y>31&&Y<127||Y===ea.LINE_FEED||Y===ea.CARRIAGE_RETURN||Y>159&&Y<64976;return et||this._checkForProblematicCharacters(Y),Y}_checkForProblematicCharacters(Y){ei.isControlCodePoint(Y)?this._err(eo.controlCharacterInInputStream):ei.isUndefinedCodePoint(Y)&&this._err(eo.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}Y.exports=ec},17385:function(Y,et,en){"use strict";let{DOCUMENT_MODE:ei}=en(28040);et.createDocument=function(){return{nodeName:"#document",mode:ei.NO_QUIRKS,childNodes:[]}},et.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},et.createElement=function(Y,et,en){return{nodeName:Y,tagName:Y,attrs:en,namespaceURI:et,childNodes:[],parentNode:null}},et.createCommentNode=function(Y){return{nodeName:"#comment",data:Y,parentNode:null}};let eo=function(Y){return{nodeName:"#text",value:Y,parentNode:null}},ea=et.appendChild=function(Y,et){Y.childNodes.push(et),et.parentNode=Y},eu=et.insertBefore=function(Y,et,en){let ei=Y.childNodes.indexOf(en);Y.childNodes.splice(ei,0,et),et.parentNode=Y};et.setTemplateContent=function(Y,et){Y.content=et},et.getTemplateContent=function(Y){return Y.content},et.setDocumentType=function(Y,et,en,ei){let eo=null;for(let et=0;et<Y.childNodes.length;et++)if("#documentType"===Y.childNodes[et].nodeName){eo=Y.childNodes[et];break}eo?(eo.name=et,eo.publicId=en,eo.systemId=ei):ea(Y,{nodeName:"#documentType",name:et,publicId:en,systemId:ei})},et.setDocumentMode=function(Y,et){Y.mode=et},et.getDocumentMode=function(Y){return Y.mode},et.detachNode=function(Y){if(Y.parentNode){let et=Y.parentNode.childNodes.indexOf(Y);Y.parentNode.childNodes.splice(et,1),Y.parentNode=null}},et.insertText=function(Y,et){if(Y.childNodes.length){let en=Y.childNodes[Y.childNodes.length-1];if("#text"===en.nodeName){en.value+=et;return}}ea(Y,eo(et))},et.insertTextBefore=function(Y,et,en){let ei=Y.childNodes[Y.childNodes.indexOf(en)-1];ei&&"#text"===ei.nodeName?ei.value+=et:eu(Y,eo(et),en)},et.adoptAttributes=function(Y,et){let en=[];for(let et=0;et<Y.attrs.length;et++)en.push(Y.attrs[et].name);for(let ei=0;ei<et.length;ei++)-1===en.indexOf(et[ei].name)&&Y.attrs.push(et[ei])},et.getFirstChild=function(Y){return Y.childNodes[0]},et.getChildNodes=function(Y){return Y.childNodes},et.getParentNode=function(Y){return Y.parentNode},et.getAttrList=function(Y){return Y.attrs},et.getTagName=function(Y){return Y.tagName},et.getNamespaceURI=function(Y){return Y.namespaceURI},et.getTextNodeContent=function(Y){return Y.value},et.getCommentNodeContent=function(Y){return Y.data},et.getDocumentTypeNodeName=function(Y){return Y.name},et.getDocumentTypeNodePublicId=function(Y){return Y.publicId},et.getDocumentTypeNodeSystemId=function(Y){return Y.systemId},et.isTextNode=function(Y){return"#text"===Y.nodeName},et.isCommentNode=function(Y){return"#comment"===Y.nodeName},et.isDocumentTypeNode=function(Y){return"#documentType"===Y.nodeName},et.isElementNode=function(Y){return!!Y.tagName},et.setNodeSourceCodeLocation=function(Y,et){Y.sourceCodeLocation=et},et.getNodeSourceCodeLocation=function(Y){return Y.sourceCodeLocation},et.updateNodeSourceCodeLocation=function(Y,et){Y.sourceCodeLocation=Object.assign(Y.sourceCodeLocation,et)}},96308:function(Y){"use strict";Y.exports=function(Y,et){return[Y,et=et||Object.create(null)].reduce((Y,et)=>(Object.keys(et).forEach(en=>{Y[en]=et[en]}),Y),Object.create(null))}},24592:function(Y){"use strict";class et{constructor(Y){let et={},en=this._getOverriddenMethods(this,et);for(let ei of Object.keys(en))"function"==typeof en[ei]&&(et[ei]=Y[ei],Y[ei]=en[ei])}_getOverriddenMethods(){throw Error("Not implemented")}}et.install=function(Y,et,en){Y.__mixins||(Y.__mixins=[]);for(let en=0;en<Y.__mixins.length;en++)if(Y.__mixins[en].constructor===et)return Y.__mixins[en];let ei=new et(Y,en);return Y.__mixins.push(ei),ei},Y.exports=et},44675:function(Y){var et,en,ei,eo=Y.exports={};function ea(){throw Error("setTimeout has not been defined")}function eu(){throw Error("clearTimeout has not been defined")}function ec(Y){if(et===setTimeout)return setTimeout(Y,0);if((et===ea||!et)&&setTimeout)return et=setTimeout,setTimeout(Y,0);try{return et(Y,0)}catch(en){try{return et.call(null,Y,0)}catch(en){return et.call(this,Y,0)}}}function ed(Y){if(en===clearTimeout)return clearTimeout(Y);if((en===eu||!en)&&clearTimeout)return en=clearTimeout,clearTimeout(Y);try{return en(Y)}catch(et){try{return en.call(null,Y)}catch(et){return en.call(this,Y)}}}!function(){try{et="function"==typeof setTimeout?setTimeout:ea}catch(Y){et=ea}try{en="function"==typeof clearTimeout?clearTimeout:eu}catch(Y){en=eu}}();var ef=[],eh=!1,ep=-1;function em(){eh&&ei&&(eh=!1,ei.length?ef=ei.concat(ef):ep=-1,ef.length&&eg())}function eg(){if(!eh){var Y=ec(em);eh=!0;for(var et=ef.length;et;){for(ei=ef,ef=[];++ep<et;)ei&&ei[ep].run();ep=-1,et=ef.length}ei=null,eh=!1,ed(Y)}}function ey(Y,et){this.fun=Y,this.array=et}function eb(){}eo.nextTick=function(Y){var et=Array(arguments.length-1);if(arguments.length>1)for(var en=1;en<arguments.length;en++)et[en-1]=arguments[en];ef.push(new ey(Y,et)),1!==ef.length||eh||ec(eg)},ey.prototype.run=function(){this.fun.apply(null,this.array)},eo.title="browser",eo.browser=!0,eo.env={},eo.argv=[],eo.version="",eo.versions={},eo.on=eb,eo.addListener=eb,eo.once=eb,eo.off=eb,eo.removeListener=eb,eo.removeAllListeners=eb,eo.emit=eb,eo.prependListener=eb,eo.prependOnceListener=eb,eo.listeners=function(Y){return[]},eo.binding=function(Y){throw Error("process.binding is not supported")},eo.cwd=function(){return"/"},eo.chdir=function(Y){throw Error("process.chdir is not supported")},eo.umask=function(){return 0}},83006:function(Y,et,en){"use strict";var ei=en(96859);function eo(){}function ea(){}ea.resetWarningCache=eo,Y.exports=function(){function Y(Y,et,en,eo,ea,eu){if(eu!==ei){var ec=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw ec.name="Invariant Violation",ec}}function et(){return Y}Y.isRequired=Y;var en={array:Y,bool:Y,func:Y,number:Y,object:Y,string:Y,symbol:Y,any:Y,arrayOf:et,element:Y,elementType:Y,instanceOf:et,node:Y,objectOf:et,oneOf:et,oneOfType:et,shape:et,exact:et,checkPropTypes:ea,resetWarningCache:eo};return en.PropTypes=en,en}},76400:function(Y,et,en){Y.exports=en(83006)()},96859:function(Y){"use strict";var et="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Y.exports=et},84835:function(Y,et,en){"use strict";var ei=en(11596);function eo(){}function ea(){}ea.resetWarningCache=eo,Y.exports=function(){function Y(Y,et,en,eo,ea,eu){if(eu!==ei){var ec=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw ec.name="Invariant Violation",ec}}function et(){return Y}Y.isRequired=Y;var en={array:Y,bigint:Y,bool:Y,func:Y,number:Y,object:Y,string:Y,symbol:Y,any:Y,arrayOf:et,element:Y,elementType:Y,instanceOf:et,node:Y,objectOf:et,oneOf:et,oneOfType:et,shape:et,exact:et,checkPropTypes:ea,resetWarningCache:eo};return en.PropTypes=en,en}},39519:function(Y,et,en){Y.exports=en(84835)()},11596:function(Y){"use strict";var et="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Y.exports=et},47635:function(Y,et,en){"use strict";var ei=en(89225),eo={};eo.rules=en(80536).map(function(Y){return{rule:Y,suffix:Y.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:"*"===Y.charAt(0),exception:"!"===Y.charAt(0)}}),eo.endsWith=function(Y,et){return -1!==Y.indexOf(et,Y.length-et.length)},eo.findRule=function(Y){var et=ei.toASCII(Y);return eo.rules.reduce(function(Y,en){return(-1===en.punySuffix&&(en.punySuffix=ei.toASCII(en.suffix)),eo.endsWith(et,"."+en.punySuffix)||et===en.punySuffix)?en:Y},null)},et.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."},eo.validate=function(Y){var et,en=ei.toASCII(Y);if(en.length<1)return"DOMAIN_TOO_SHORT";if(en.length>255)return"DOMAIN_TOO_LONG";for(var eo=en.split("."),ea=0;ea<eo.length;++ea){if(!(et=eo[ea]).length)return"LABEL_TOO_SHORT";if(et.length>63)return"LABEL_TOO_LONG";if("-"===et.charAt(0))return"LABEL_STARTS_WITH_DASH";if("-"===et.charAt(et.length-1))return"LABEL_ENDS_WITH_DASH";if(!/^[a-z0-9\-]+$/.test(et))return"LABEL_INVALID_CHARS"}},et.parse=function(Y){if("string"!=typeof Y)throw TypeError("Domain name must be a string.");var en=Y.slice(0).toLowerCase();"."===en.charAt(en.length-1)&&(en=en.slice(0,en.length-1));var ea=eo.validate(en);if(ea)return{input:Y,error:{message:et.errorCodes[ea],code:ea}};var eu={input:Y,tld:null,sld:null,domain:null,subdomain:null,listed:!1},ec=en.split(".");if("local"===ec[ec.length-1])return eu;var ed=function(){return/xn--/.test(en)&&(eu.domain&&(eu.domain=ei.toASCII(eu.domain)),eu.subdomain&&(eu.subdomain=ei.toASCII(eu.subdomain))),eu},ef=eo.findRule(en);if(!ef)return ec.length<2?eu:(eu.tld=ec.pop(),eu.sld=ec.pop(),eu.domain=[eu.sld,eu.tld].join("."),ec.length&&(eu.subdomain=ec.pop()),ed());eu.listed=!0;var eh=ef.suffix.split("."),ep=ec.slice(0,ec.length-eh.length);return ef.exception&&ep.push(eh.shift()),eu.tld=eh.join("."),ep.length&&(ef.wildcard&&(eh.unshift(ep.pop()),eu.tld=eh.join(".")),ep.length&&(eu.sld=ep.pop(),eu.domain=[eu.sld,eu.tld].join("."),ep.length&&(eu.subdomain=ep.join(".")))),ed()},et.get=function(Y){return Y&&et.parse(Y).domain||null},et.isValid=function(Y){var en=et.parse(Y);return!!(en.domain&&en.listed)}},89225:function(Y,et,en){"use strict";en.r(et),en.d(et,{decode:function(){return eO},encode:function(){return eI},toASCII:function(){return eL},toUnicode:function(){return eN},ucs2decode:function(){return eS},ucs2encode:function(){return eA}});let ei=2147483647,eo=36,ea=1,eu=26,ec=38,ed=700,ef=72,eh=128,ep="-",em=/^xn--/,eg=/[^\0-\x7F]/,ey=/[\x2E\u3002\uFF0E\uFF61]/g,eb={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ek=eo-ea,ew=Math.floor,e_=String.fromCharCode;function eE(Y){throw RangeError(eb[Y])}function eC(Y,et){let en=[],ei=Y.length;for(;ei--;)en[ei]=et(Y[ei]);return en}function eT(Y,et){let en=Y.split("@"),ei="";en.length>1&&(ei=en[0]+"@",Y=en[1]),Y=Y.replace(ey,".");let eo=Y.split("."),ea=eC(eo,et).join(".");return ei+ea}function eS(Y){let et=[],en=0,ei=Y.length;for(;en<ei;){let eo=Y.charCodeAt(en++);if(eo>=55296&&eo<=56319&&en<ei){let ei=Y.charCodeAt(en++);(64512&ei)==56320?et.push(((1023&eo)<<10)+(1023&ei)+65536):(et.push(eo),en--)}else et.push(eo)}return et}let eA=Y=>String.fromCodePoint(...Y),eM=function(Y){return Y>=48&&Y<58?26+(Y-48):Y>=65&&Y<91?Y-65:Y>=97&&Y<123?Y-97:eo},eP=function(Y,et){return Y+22+75*(Y<26)-((0!=et)<<5)},ej=function(Y,et,en){let ei=0;for(Y=en?ew(Y/ed):Y>>1,Y+=ew(Y/et);Y>ek*eu>>1;ei+=eo)Y=ew(Y/ek);return ew(ei+(ek+1)*Y/(Y+ec))},eO=function(Y){let et=[],en=Y.length,ec=0,ed=eh,em=ef,eg=Y.lastIndexOf(ep);eg<0&&(eg=0);for(let en=0;en<eg;++en)Y.charCodeAt(en)>=128&&eE("not-basic"),et.push(Y.charCodeAt(en));for(let ef=eg>0?eg+1:0;ef<en;){let eh=ec;for(let et=1,ed=eo;;ed+=eo){ef>=en&&eE("invalid-input");let eh=eM(Y.charCodeAt(ef++));eh>=eo&&eE("invalid-input"),eh>ew((ei-ec)/et)&&eE("overflow"),ec+=eh*et;let ep=ed<=em?ea:ed>=em+eu?eu:ed-em;if(eh<ep)break;let eg=eo-ep;et>ew(ei/eg)&&eE("overflow"),et*=eg}let ep=et.length+1;em=ej(ec-eh,ep,0==eh),ew(ec/ep)>ei-ed&&eE("overflow"),ed+=ew(ec/ep),ec%=ep,et.splice(ec++,0,ed)}return String.fromCodePoint(...et)},eI=function(Y){let et=[];Y=eS(Y);let en=Y.length,ec=eh,ed=0,em=ef;for(let en of Y)en<128&&et.push(e_(en));let eg=et.length,ey=eg;for(eg&&et.push(ep);ey<en;){let en=ei;for(let et of Y)et>=ec&&et<en&&(en=et);let ef=ey+1;for(let eh of(en-ec>ew((ei-ed)/ef)&&eE("overflow"),ed+=(en-ec)*ef,ec=en,Y))if(eh<ec&&++ed>ei&&eE("overflow"),eh===ec){let Y=ed;for(let en=eo;;en+=eo){let ei=en<=em?ea:en>=em+eu?eu:en-em;if(Y<ei)break;let ec=Y-ei,ed=eo-ei;et.push(e_(eP(ei+ec%ed,0))),Y=ew(ec/ed)}et.push(e_(eP(Y,0))),em=ej(ed,ef,ey===eg),ed=0,++ey}++ed,++ec}return et.join("")},eN=function(Y){return eT(Y,function(Y){return em.test(Y)?eO(Y.slice(4).toLowerCase()):Y})},eL=function(Y){return eT(Y,function(Y){return eg.test(Y)?"xn--"+eI(Y):Y})},eR={version:"2.1.0",ucs2:{decode:eS,encode:eA},decode:eO,encode:eI,toASCII:eL,toUnicode:eN};et.default=eR},76483:function(Y,et,en){"use strict";en.d(et,{uI:function(){return e9}});var ei=en(70079),eo=en(39519),ea=en.n(eo),eu=en(38104),ec=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function ed(Y,et){var en=ef(Y);if("string"!=typeof en.path){var ei=Y.webkitRelativePath;Object.defineProperty(en,"path",{value:"string"==typeof et?et:"string"==typeof ei&&ei.length>0?ei:Y.name,writable:!1,configurable:!1,enumerable:!0})}return en}function ef(Y){var et=Y.name;if(et&&-1!==et.lastIndexOf(".")&&!Y.type){var en=et.split(".").pop().toLowerCase(),ei=ec.get(en);ei&&Object.defineProperty(Y,"type",{value:ei,writable:!1,configurable:!1,enumerable:!0})}return Y}var eh=[".DS_Store","Thumbs.db"];function ep(Y){return(0,eu.mG)(this,void 0,void 0,function(){return(0,eu.Jh)(this,function(et){return ey(Y)&&em(Y.dataTransfer)?[2,ew(Y.dataTransfer,Y.type)]:eg(Y)?[2,eb(Y)]:Array.isArray(Y)&&Y.every(function(Y){return"getFile"in Y&&"function"==typeof Y.getFile})?[2,ek(Y)]:[2,[]]})})}function em(Y){return ey(Y)}function eg(Y){return ey(Y)&&ey(Y.target)}function ey(Y){return"object"==typeof Y&&null!==Y}function eb(Y){return eE(Y.target.files).map(function(Y){return ed(Y)})}function ek(Y){return(0,eu.mG)(this,void 0,void 0,function(){return(0,eu.Jh)(this,function(et){switch(et.label){case 0:return[4,Promise.all(Y.map(function(Y){return Y.getFile()}))];case 1:return[2,et.sent().map(function(Y){return ed(Y)})]}})})}function ew(Y,et){return(0,eu.mG)(this,void 0,void 0,function(){var en;return(0,eu.Jh)(this,function(ei){switch(ei.label){case 0:if(!Y.items)return[3,2];if(en=eE(Y.items).filter(function(Y){return"file"===Y.kind}),"drop"!==et)return[2,en];return[4,Promise.all(en.map(eC))];case 1:return[2,e_(eT(ei.sent()))];case 2:return[2,e_(eE(Y.files).map(function(Y){return ed(Y)}))]}})})}function e_(Y){return Y.filter(function(Y){return -1===eh.indexOf(Y.name)})}function eE(Y){if(null===Y)return[];for(var et=[],en=0;en<Y.length;en++){var ei=Y[en];et.push(ei)}return et}function eC(Y){if("function"!=typeof Y.webkitGetAsEntry)return eS(Y);var et=Y.webkitGetAsEntry();return et&&et.isDirectory?eM(et):eS(Y)}function eT(Y){return Y.reduce(function(Y,et){return(0,eu.ev)((0,eu.ev)([],(0,eu.CR)(Y),!1),(0,eu.CR)(Array.isArray(et)?eT(et):[et]),!1)},[])}function eS(Y){var et=Y.getAsFile();return et?Promise.resolve(ed(et)):Promise.reject("".concat(Y," is not a File"))}function eA(Y){return(0,eu.mG)(this,void 0,void 0,function(){return(0,eu.Jh)(this,function(et){return[2,Y.isDirectory?eM(Y):eP(Y)]})})}function eM(Y){var et=Y.createReader();return new Promise(function(Y,en){var ei=[];function eo(){var ea=this;et.readEntries(function(et){return(0,eu.mG)(ea,void 0,void 0,function(){var ea;return(0,eu.Jh)(this,function(eu){switch(eu.label){case 0:if(et.length)return[3,5];eu.label=1;case 1:return eu.trys.push([1,3,,4]),[4,Promise.all(ei)];case 2:return Y(eu.sent()),[3,4];case 3:return en(eu.sent()),[3,4];case 4:return[3,6];case 5:ea=Promise.all(et.map(eA)),ei.push(ea),eo(),eu.label=6;case 6:return[2]}})})},function(Y){en(Y)})}eo()})}function eP(Y){return(0,eu.mG)(this,void 0,void 0,function(){return(0,eu.Jh)(this,function(et){return[2,new Promise(function(et,en){Y.file(function(en){et(ed(en,Y.fullPath))},function(Y){en(Y)})})]})})}var ej=en(27009),eO=["children"],eI=["open"],eN=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],eL=["refKey","onChange","onClick"];function eR(Y){return eB(Y)||eF(Y)||eH(Y)||eD()}function eD(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eF(Y){if("undefined"!=typeof Symbol&&null!=Y[Symbol.iterator]||null!=Y["@@iterator"])return Array.from(Y)}function eB(Y){if(Array.isArray(Y))return eG(Y)}function ez(Y,et){return eW(Y)||eV(Y,et)||eH(Y,et)||eU()}function eU(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eH(Y,et){if(Y){if("string"==typeof Y)return eG(Y,et);var en=Object.prototype.toString.call(Y).slice(8,-1);if("Object"===en&&Y.constructor&&(en=Y.constructor.name),"Map"===en||"Set"===en)return Array.from(Y);if("Arguments"===en||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(en))return eG(Y,et)}}function eG(Y,et){(null==et||et>Y.length)&&(et=Y.length);for(var en=0,ei=Array(et);en<et;en++)ei[en]=Y[en];return ei}function eV(Y,et){var en,ei,eo=null==Y?null:"undefined"!=typeof Symbol&&Y[Symbol.iterator]||Y["@@iterator"];if(null!=eo){var ea=[],eu=!0,ec=!1;try{for(eo=eo.call(Y);!(eu=(en=eo.next()).done)&&(ea.push(en.value),!et||ea.length!==et);eu=!0);}catch(Y){ec=!0,ei=Y}finally{try{eu||null==eo.return||eo.return()}finally{if(ec)throw ei}}return ea}}function eW(Y){if(Array.isArray(Y))return Y}function eZ(Y,et){var en=Object.keys(Y);if(Object.getOwnPropertySymbols){var ei=Object.getOwnPropertySymbols(Y);et&&(ei=ei.filter(function(et){return Object.getOwnPropertyDescriptor(Y,et).enumerable})),en.push.apply(en,ei)}return en}function eK(Y){for(var et=1;et<arguments.length;et++){var en=null!=arguments[et]?arguments[et]:{};et%2?eZ(Object(en),!0).forEach(function(et){e$(Y,et,en[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(en)):eZ(Object(en)).forEach(function(et){Object.defineProperty(Y,et,Object.getOwnPropertyDescriptor(en,et))})}return Y}function e$(Y,et,en){return et in Y?Object.defineProperty(Y,et,{value:en,enumerable:!0,configurable:!0,writable:!0}):Y[et]=en,Y}function eY(Y,et){if(null==Y)return{};var en,ei,eo=eQ(Y,et);if(Object.getOwnPropertySymbols){var ea=Object.getOwnPropertySymbols(Y);for(ei=0;ei<ea.length;ei++)en=ea[ei],!(et.indexOf(en)>=0)&&Object.prototype.propertyIsEnumerable.call(Y,en)&&(eo[en]=Y[en])}return eo}function eQ(Y,et){if(null==Y)return{};var en,ei,eo={},ea=Object.keys(Y);for(ei=0;ei<ea.length;ei++)en=ea[ei],et.indexOf(en)>=0||(eo[en]=Y[en]);return eo}var eX=(0,ei.forwardRef)(function(Y,et){var en=Y.children,eo=e9(eY(Y,eO)),ea=eo.open,eu=eY(eo,eI);return(0,ei.useImperativeHandle)(et,function(){return{open:ea}},[ea]),ei.createElement(ei.Fragment,null,en(eK(eK({},eu),{},{open:ea})))});eX.displayName="Dropzone";var eJ={disabled:!1,getFilesFromEvent:ep,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};eX.defaultProps=eJ,eX.propTypes={children:ea().func,accept:ea().objectOf(ea().arrayOf(ea().string)),multiple:ea().bool,preventDropOnDocument:ea().bool,noClick:ea().bool,noKeyboard:ea().bool,noDrag:ea().bool,noDragEventsBubbling:ea().bool,minSize:ea().number,maxSize:ea().number,maxFiles:ea().number,disabled:ea().bool,getFilesFromEvent:ea().func,onFileDialogCancel:ea().func,onFileDialogOpen:ea().func,useFsAccessApi:ea().bool,autoFocus:ea().bool,onDragEnter:ea().func,onDragLeave:ea().func,onDragOver:ea().func,onDrop:ea().func,onDropAccepted:ea().func,onDropRejected:ea().func,onError:ea().func,validator:ea().func};var e0={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function e9(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},et=eK(eK({},eJ),Y),en=et.accept,eo=et.disabled,ea=et.getFilesFromEvent,eu=et.maxSize,ec=et.minSize,ed=et.multiple,ef=et.maxFiles,eh=et.onDragEnter,ep=et.onDragLeave,em=et.onDragOver,eg=et.onDrop,ey=et.onDropAccepted,eb=et.onDropRejected,ek=et.onFileDialogCancel,ew=et.onFileDialogOpen,e_=et.useFsAccessApi,eE=et.autoFocus,eC=et.preventDropOnDocument,eT=et.noClick,eS=et.noKeyboard,eA=et.noDrag,eM=et.noDragEventsBubbling,eP=et.onError,eO=et.validator,eI=(0,ei.useMemo)(function(){return(0,ej.gS)(en)},[en]),eD=(0,ei.useMemo)(function(){return(0,ej.zO)(en)},[en]),eF=(0,ei.useMemo)(function(){return"function"==typeof ew?ew:e4},[ew]),eB=(0,ei.useMemo)(function(){return"function"==typeof ek?ek:e4},[ek]),eU=(0,ei.useRef)(null),eH=(0,ei.useRef)(null),eG=ez((0,ei.useReducer)(e5,e0),2),eV=eG[0],eW=eG[1],eZ=eV.isFocused,eQ=eV.isFileDialogActive,eX=(0,ei.useRef)("undefined"!=typeof window&&window.isSecureContext&&e_&&(0,ej.fV)()),e9=function(){!eX.current&&eQ&&setTimeout(function(){eH.current&&!eH.current.files.length&&(eW({type:"closeDialog"}),eB())},300)};(0,ei.useEffect)(function(){return window.addEventListener("focus",e9,!1),function(){window.removeEventListener("focus",e9,!1)}},[eH,eQ,eB,eX]);var e3=(0,ei.useRef)([]),e6=function(Y){eU.current&&eU.current.contains(Y.target)||(Y.preventDefault(),e3.current=[])};(0,ei.useEffect)(function(){return eC&&(document.addEventListener("dragover",ej.w0,!1),document.addEventListener("drop",e6,!1)),function(){eC&&(document.removeEventListener("dragover",ej.w0),document.removeEventListener("drop",e6))}},[eU,eC]),(0,ei.useEffect)(function(){return!eo&&eE&&eU.current&&eU.current.focus(),function(){}},[eU,eE,eo]);var e7=(0,ei.useCallback)(function(Y){eP?eP(Y):console.error(Y)},[eP]),e8=(0,ei.useCallback)(function(Y){Y.preventDefault(),Y.persist(),tk(Y),e3.current=[].concat(eR(e3.current),[Y.target]),(0,ej.Vq)(Y)&&Promise.resolve(ea(Y)).then(function(et){if(!(0,ej.np)(Y)||eM){var en=et.length,ei=en>0&&(0,ej.zo)({files:et,accept:eI,minSize:ec,maxSize:eu,multiple:ed,maxFiles:ef,validator:eO}),eo=en>0&&!ei;eW({isDragAccept:ei,isDragReject:eo,isDragActive:!0,type:"setDraggedFiles"}),eh&&eh(Y)}}).catch(function(Y){return e7(Y)})},[ea,eh,e7,eM,eI,ec,eu,ed,ef,eO]),tt=(0,ei.useCallback)(function(Y){Y.preventDefault(),Y.persist(),tk(Y);var et=(0,ej.Vq)(Y);if(et&&Y.dataTransfer)try{Y.dataTransfer.dropEffect="copy"}catch(Y){}return et&&em&&em(Y),!1},[em,eM]),ta=(0,ei.useCallback)(function(Y){Y.preventDefault(),Y.persist(),tk(Y);var et=e3.current.filter(function(Y){return eU.current&&eU.current.contains(Y)}),en=et.indexOf(Y.target);-1!==en&&et.splice(en,1),e3.current=et,!(et.length>0)&&(eW({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),(0,ej.Vq)(Y)&&ep&&ep(Y))},[eU,ep,eM]),tu=(0,ei.useCallback)(function(Y,et){var en=[],ei=[];Y.forEach(function(Y){var et=ez((0,ej.dR)(Y,eI),2),eo=et[0],ea=et[1],ed=ez((0,ej.XT)(Y,ec,eu),2),ef=ed[0],eh=ed[1],ep=eO?eO(Y):null;if(eo&&ef&&!ep)en.push(Y);else{var em=[ea,eh];ep&&(em=em.concat(ep)),ei.push({file:Y,errors:em.filter(function(Y){return Y})})}}),(!ed&&en.length>1||ed&&ef>=1&&en.length>ef)&&(en.forEach(function(Y){ei.push({file:Y,errors:[ej.dX]})}),en.splice(0)),eW({acceptedFiles:en,fileRejections:ei,type:"setFiles"}),eg&&eg(en,ei,et),ei.length>0&&eb&&eb(ei,et),en.length>0&&ey&&ey(en,et)},[eW,ed,eI,ec,eu,ef,eg,ey,eb,eO]),tc=(0,ei.useCallback)(function(Y){Y.preventDefault(),Y.persist(),tk(Y),e3.current=[],(0,ej.Vq)(Y)&&Promise.resolve(ea(Y)).then(function(et){(!(0,ej.np)(Y)||eM)&&tu(et,Y)}).catch(function(Y){return e7(Y)}),eW({type:"reset"})},[ea,tu,e7,eM]),td=(0,ei.useCallback)(function(){if(eX.current){eW({type:"openDialog"}),eF();var Y={multiple:ed,types:eD};window.showOpenFilePicker(Y).then(function(Y){return ea(Y)}).then(function(Y){tu(Y,null),eW({type:"closeDialog"})}).catch(function(Y){(0,ej.PQ)(Y)?(eB(Y),eW({type:"closeDialog"})):(0,ej.c_)(Y)?(eX.current=!1,eH.current?(eH.current.value=null,eH.current.click()):e7(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):e7(Y)});return}eH.current&&(eW({type:"openDialog"}),eF(),eH.current.value=null,eH.current.click())},[eW,eF,eB,e_,tu,e7,eD,ed]),tf=(0,ei.useCallback)(function(Y){eU.current&&eU.current.isEqualNode(Y.target)&&(" "===Y.key||"Enter"===Y.key||32===Y.keyCode||13===Y.keyCode)&&(Y.preventDefault(),td())},[eU,td]),th=(0,ei.useCallback)(function(){eW({type:"focus"})},[]),tp=(0,ei.useCallback)(function(){eW({type:"blur"})},[]),tm=(0,ei.useCallback)(function(){eT||((0,ej.DF)()?setTimeout(td,0):td())},[eT,td]),tg=function(Y){return eo?null:Y},tv=function(Y){return eS?null:tg(Y)},tb=function(Y){return eA?null:tg(Y)},tk=function(Y){eM&&Y.stopPropagation()},tw=(0,ei.useMemo)(function(){return function(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},et=Y.refKey,en=void 0===et?"ref":et,ei=Y.role,ea=Y.onKeyDown,eu=Y.onFocus,ec=Y.onBlur,ed=Y.onClick,ef=Y.onDragEnter,eh=Y.onDragOver,ep=Y.onDragLeave,em=Y.onDrop,eg=eY(Y,eN);return eK(eK(e$({onKeyDown:tv((0,ej.Mj)(ea,tf)),onFocus:tv((0,ej.Mj)(eu,th)),onBlur:tv((0,ej.Mj)(ec,tp)),onClick:tg((0,ej.Mj)(ed,tm)),onDragEnter:tb((0,ej.Mj)(ef,e8)),onDragOver:tb((0,ej.Mj)(eh,tt)),onDragLeave:tb((0,ej.Mj)(ep,ta)),onDrop:tb((0,ej.Mj)(em,tc)),role:"string"==typeof ei&&""!==ei?ei:"presentation"},en,eU),eo||eS?{}:{tabIndex:0}),eg)}},[eU,tf,th,tp,tm,e8,tt,ta,tc,eS,eA,eo]),t_=(0,ei.useCallback)(function(Y){Y.stopPropagation()},[]),tE=(0,ei.useMemo)(function(){return function(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},et=Y.refKey,en=void 0===et?"ref":et,ei=Y.onChange,eo=Y.onClick,ea=eY(Y,eL);return eK(eK({},e$({accept:eI,multiple:ed,type:"file",style:{display:"none"},onChange:tg((0,ej.Mj)(ei,tc)),onClick:tg((0,ej.Mj)(eo,t_)),tabIndex:-1},en,eH)),ea)}},[eH,en,ed,tc,eo]);return eK(eK({},eV),{},{isFocused:eZ&&!eo,getRootProps:tw,getInputProps:tE,rootRef:eU,inputRef:eH,open:tg(td)})}function e5(Y,et){switch(et.type){case"focus":return eK(eK({},Y),{},{isFocused:!0});case"blur":return eK(eK({},Y),{},{isFocused:!1});case"openDialog":return eK(eK({},e0),{},{isFileDialogActive:!0});case"closeDialog":return eK(eK({},Y),{},{isFileDialogActive:!1});case"setDraggedFiles":return eK(eK({},Y),{},{isDragActive:et.isDragActive,isDragAccept:et.isDragAccept,isDragReject:et.isDragReject});case"setFiles":return eK(eK({},Y),{},{acceptedFiles:et.acceptedFiles,fileRejections:et.fileRejections});case"reset":return eK({},e0);default:return Y}}function e4(){}},27009:function(Y,et,en){"use strict";en.d(et,{DF:function(){return ez},Mj:function(){return eU},PQ:function(){return eW},Vq:function(){return eR},XT:function(){return eO},c_:function(){return eZ},dR:function(){return ej},dX:function(){return eP},fV:function(){return eH},gS:function(){return eV},jK:function(){return eT},np:function(){return eL},w0:function(){return eD},zO:function(){return eG},zo:function(){return eN}});var ei=en(97325);function eo(Y){return ec(Y)||eu(Y)||eg(Y)||ea()}function ea(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eu(Y){if("undefined"!=typeof Symbol&&null!=Y[Symbol.iterator]||null!=Y["@@iterator"])return Array.from(Y)}function ec(Y){if(Array.isArray(Y))return ey(Y)}function ed(Y,et){var en=Object.keys(Y);if(Object.getOwnPropertySymbols){var ei=Object.getOwnPropertySymbols(Y);et&&(ei=ei.filter(function(et){return Object.getOwnPropertyDescriptor(Y,et).enumerable})),en.push.apply(en,ei)}return en}function ef(Y){for(var et=1;et<arguments.length;et++){var en=null!=arguments[et]?arguments[et]:{};et%2?ed(Object(en),!0).forEach(function(et){eh(Y,et,en[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Y,Object.getOwnPropertyDescriptors(en)):ed(Object(en)).forEach(function(et){Object.defineProperty(Y,et,Object.getOwnPropertyDescriptor(en,et))})}return Y}function eh(Y,et,en){return et in Y?Object.defineProperty(Y,et,{value:en,enumerable:!0,configurable:!0,writable:!0}):Y[et]=en,Y}function ep(Y,et){return ek(Y)||eb(Y,et)||eg(Y,et)||em()}function em(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eg(Y,et){if(Y){if("string"==typeof Y)return ey(Y,et);var en=Object.prototype.toString.call(Y).slice(8,-1);if("Object"===en&&Y.constructor&&(en=Y.constructor.name),"Map"===en||"Set"===en)return Array.from(Y);if("Arguments"===en||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(en))return ey(Y,et)}}function ey(Y,et){(null==et||et>Y.length)&&(et=Y.length);for(var en=0,ei=Array(et);en<et;en++)ei[en]=Y[en];return ei}function eb(Y,et){var en,ei,eo=null==Y?null:"undefined"!=typeof Symbol&&Y[Symbol.iterator]||Y["@@iterator"];if(null!=eo){var ea=[],eu=!0,ec=!1;try{for(eo=eo.call(Y);!(eu=(en=eo.next()).done)&&(ea.push(en.value),!et||ea.length!==et);eu=!0);}catch(Y){ec=!0,ei=Y}finally{try{eu||null==eo.return||eo.return()}finally{if(ec)throw ei}}return ea}}function ek(Y){if(Array.isArray(Y))return Y}var ew="file-invalid-type",e_="file-too-large",eE="file-too-small",eC="too-many-files",eT={FileInvalidType:ew,FileTooLarge:e_,FileTooSmall:eE,TooManyFiles:eC},eS=function(Y){var et=Array.isArray(Y=Array.isArray(Y)&&1===Y.length?Y[0]:Y)?"one of ".concat(Y.join(", ")):Y;return{code:ew,message:"File type must be ".concat(et)}},eA=function(Y){return{code:e_,message:"File is larger than ".concat(Y," ").concat(1===Y?"byte":"bytes")}},eM=function(Y){return{code:eE,message:"File is smaller than ".concat(Y," ").concat(1===Y?"byte":"bytes")}},eP={code:eC,message:"Too many files"};function ej(Y,et){var en="application/x-moz-file"===Y.type||(0,ei.Z)(Y,et);return[en,en?null:eS(et)]}function eO(Y,et,en){if(eI(Y.size)){if(eI(et)&&eI(en)){if(Y.size>en)return[!1,eA(en)];if(Y.size<et)return[!1,eM(et)]}else if(eI(et)&&Y.size<et)return[!1,eM(et)];else if(eI(en)&&Y.size>en)return[!1,eA(en)]}return[!0,null]}function eI(Y){return null!=Y}function eN(Y){var et=Y.files,en=Y.accept,ei=Y.minSize,eo=Y.maxSize,ea=Y.multiple,eu=Y.maxFiles,ec=Y.validator;return(!!ea||!(et.length>1))&&(!ea||!(eu>=1)||!(et.length>eu))&&et.every(function(Y){var et=ep(ej(Y,en),1)[0],ea=ep(eO(Y,ei,eo),1)[0],eu=ec?ec(Y):null;return et&&ea&&!eu})}function eL(Y){return"function"==typeof Y.isPropagationStopped?Y.isPropagationStopped():void 0!==Y.cancelBubble&&Y.cancelBubble}function eR(Y){return Y.dataTransfer?Array.prototype.some.call(Y.dataTransfer.types,function(Y){return"Files"===Y||"application/x-moz-file"===Y}):!!Y.target&&!!Y.target.files}function eD(Y){Y.preventDefault()}function eF(Y){return -1!==Y.indexOf("MSIE")||-1!==Y.indexOf("Trident/")}function eB(Y){return -1!==Y.indexOf("Edge/")}function ez(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return eF(Y)||eB(Y)}function eU(){for(var Y=arguments.length,et=Array(Y),en=0;en<Y;en++)et[en]=arguments[en];return function(Y){for(var en=arguments.length,ei=Array(en>1?en-1:0),eo=1;eo<en;eo++)ei[eo-1]=arguments[eo];return et.some(function(et){return!eL(Y)&&et&&et.apply(void 0,[Y].concat(ei)),eL(Y)})}}function eH(){return"showOpenFilePicker"in window}function eG(Y){return eI(Y)?[{description:"Files",accept:Object.entries(Y).filter(function(Y){var et=ep(Y,2),en=et[0],ei=et[1],eo=!0;return eK(en)||(console.warn('Skipped "'.concat(en,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),eo=!1),Array.isArray(ei)&&ei.every(e$)||(console.warn('Skipped "'.concat(en,'" because an invalid file extension was provided.')),eo=!1),eo}).reduce(function(Y,et){var en=ep(et,2),ei=en[0],eo=en[1];return ef(ef({},Y),{},eh({},ei,eo))},{})}]:Y}function eV(Y){if(eI(Y))return Object.entries(Y).reduce(function(Y,et){var en=ep(et,2),ei=en[0],ea=en[1];return[].concat(eo(Y),[ei],eo(ea))},[]).filter(function(Y){return eK(Y)||e$(Y)}).join(",")}function eW(Y){return Y instanceof DOMException&&("AbortError"===Y.name||Y.code===Y.ABORT_ERR)}function eZ(Y){return Y instanceof DOMException&&("SecurityError"===Y.name||Y.code===Y.SECURITY_ERR)}function eK(Y){return"audio/*"===Y||"video/*"===Y||"image/*"===Y||"text/*"===Y||/\w+\/[-+.\w]+/g.test(Y)}function e$(Y){return/^.*\.[\w]+$/.test(Y)}},2827:function(Y,et,en){"use strict";en.d(et,{ZP:function(){return em},SI:function(){return ef}});var ei=en(39889),eo=en(70079),ea=en(38104);function eu(Y){var et=function(et,en){return eo.createElement(Y,(0,ea.pi)({},et,{forwardedRef:en}))},en=Y.displayName||Y.name;return et.displayName="withForwardedRef("+en+")",(0,eo.forwardRef)(et)}var ec=en(65237),ed=function(Y,et){var en=window.getComputedStyle(et),ei=en.borderBottomWidth,eo=en.borderTopWidth,ea=en.fontSize,eu=en.lineHeight,ec=en.paddingBottom,ed=en.paddingTop,ef="normal"===eu?1.2*parseFloat(ea):parseFloat(eu);return Math.max(0===Y?0:ef*Y+parseFloat(ei)+parseFloat(eo)+parseFloat(ec)+parseFloat(ed),et.scrollHeight+parseFloat(ei)+parseFloat(eo))},ef=function(Y,et){if(et){var en="hidden",ei=window.getComputedStyle(et).maxHeight;"none"!==ei&&parseFloat(ei)<et.scrollHeight&&(en=""),et.style.height="0",et.style.overflowY=en,et.style.height="".concat(ed(Y,et),"px")}},eh=function(Y){var et=(0,eo.useRef)(Y),en=(0,eo.useRef)(0);return(0,ec.D)(Y,et.current)||(et.current=Y,en.current+=1),(0,eo.useMemo)(function(){return et.current},[en.current])},ep="undefined"==typeof window?Function.prototype:eo.useLayoutEffect,em=eu(function(Y){var et=Y.forwardedRef,en=(0,ei._T)(Y,["forwardedRef"]),ea="function"==typeof et,eu=eh(en.style),ec=(0,eo.useRef)(),ed=ea||!et?ec:et,em=en.rows?parseInt(""+en.rows,10):0,eg=en.onChange,ey=en.onInput,eb=(0,ei._T)(en,["onChange","onInput"]);ep(function(){ef(em,ed.current)},[en.className,en.value,ed,em,eu]),ep(function(){if(window.ResizeObserver){var Y=new ResizeObserver(function(){ef(em,ed.current)});return Y.observe(ed.current),function(){Y.disconnect()}}},[ed,em]);var ek=(0,eo.useCallback)(function(Y){null==eg||eg(Y),null==ey||ey(Y),ef(em,ed.current)},[eg,ey,ed,em]),ew=(0,eo.useCallback)(function(Y){ed.current=Y,ea&&et(Y)},[et,ea,ed]);return eo.createElement("textarea",(0,ei.pi)({},eb,{onInput:ek,ref:ew,rows:em}))})},7137:function(Y,et,en){"use strict";en.d(et,{DAO:function(){return ed},H_v:function(){return ec},dv9:function(){return eo},iUH:function(){return eu},oV6:function(){return ea}});var ei=en(50913);function eo(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M339 314.9L175.4 32h161.2l163.6 282.9H339zm-137.5 23.6L120.9 480h310.5L512 338.5H201.5zM154.1 67.4L0 338.5 80.6 480 237 208.8 154.1 67.4z"}}]})(Y)}function ea(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 32h214.6v214.6H0V32zm233.4 0H448v214.6H233.4V32zM0 265.4h214.6V480H0V265.4zm233.4 0H448V480H233.4V265.4z"}}]})(Y)}function eu(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"}}]})(Y)}function ec(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}}]})(Y)}function ed(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"}}]})(Y)}},1454:function(Y,et,en){"use strict";en.d(et,{$IY:function(){return tu},$Rx:function(){return tI},A8q:function(){return tm},AlO:function(){return ez},Ao2:function(){return eh},BJv:function(){return eu},Bw1:function(){return td},C3L:function(){return eI},DKx:function(){return ey},E33:function(){return eV},Gpi:function(){return ej},Gx:function(){return ed},H33:function(){return eY},IC0:function(){return e3},IYd:function(){return eD},Imn:function(){return e4},K9M:function(){return e7},LFN:function(){return e$},LSm:function(){return e_},NOg:function(){return eG},Nte:function(){return eF},OH:function(){return tg},OvN:function(){return ta},PMT:function(){return tp},Px5:function(){return eX},Qxo:function(){return tc},RUS:function(){return tA},Re4:function(){return tM},Rgz:function(){return ep},RsK:function(){return eW},SnF:function(){return e0},TKU:function(){return eg},Tfp:function(){return eS},U0j:function(){return ea},UIZ:function(){return e5},UgA:function(){return eE},V7f:function(){return tC},We9:function(){return tS},Wpg:function(){return eb},XKb:function(){return eJ},YFh:function(){return eT},Ybf:function(){return tT},Yjd:function(){return tP},Zuc:function(){return em},_hL:function(){return eR},_rq:function(){return ew},aCJ:function(){return eZ},bTu:function(){return eC},bcx:function(){return eo},cDN:function(){return tw},cww:function(){return eN},dAq:function(){return e9},dyY:function(){return eO},ego:function(){return e6},fmn:function(){return tE},fzv:function(){return tO},ggF:function(){return ek},hr3:function(){return ec},iYc:function(){return tv},j4u:function(){return eP},jRj:function(){return th},jxP:function(){return tb},kXG:function(){return tk},lV_:function(){return tf},m6D:function(){return eK},nlg:function(){return eM},nrB:function(){return tt},oLd:function(){return t_},q5L:function(){return tN},rDJ:function(){return eH},rH8:function(){return eA},rzC:function(){return eU},tv1:function(){return ef},uWH:function(){return e8},vPQ:function(){return eB},wzc:function(){return eL},yG:function(){return eQ},zy7:function(){return tj}});var ei=en(50913);function eo(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"12",y1:"8",x2:"12",y2:"12"}},{tag:"line",attr:{x1:"12",y1:"16",x2:"12.01",y2:"16"}}]})(Y)}function ea(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"}},{tag:"line",attr:{x1:"12",y1:"8",x2:"12",y2:"12"}},{tag:"line",attr:{x1:"12",y1:"16",x2:"12.01",y2:"16"}}]})(Y)}function eu(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}},{tag:"line",attr:{x1:"12",y1:"9",x2:"12",y2:"13"}},{tag:"line",attr:{x1:"12",y1:"17",x2:"12.01",y2:"17"}}]})(Y)}function ec(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"17",y1:"7",x2:"7",y2:"17"}},{tag:"polyline",attr:{points:"17 17 7 17 7 7"}}]})(Y)}function ed(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"7",y1:"7",x2:"17",y2:"17"}},{tag:"polyline",attr:{points:"17 7 17 17 7 17"}}]})(Y)}function ef(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"}},{tag:"polyline",attr:{points:"19 12 12 19 5 12"}}]})(Y)}function eh(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"19",y1:"12",x2:"5",y2:"12"}},{tag:"polyline",attr:{points:"12 19 5 12 12 5"}}]})(Y)}function ep(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"}},{tag:"polyline",attr:{points:"12 5 19 12 12 19"}}]})(Y)}function em(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"17",y1:"17",x2:"7",y2:"7"}},{tag:"polyline",attr:{points:"7 17 7 7 17 7"}}]})(Y)}function eg(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"7",y1:"17",x2:"17",y2:"7"}},{tag:"polyline",attr:{points:"7 7 17 7 17 17"}}]})(Y)}function ey(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"20",x2:"12",y2:"10"}},{tag:"line",attr:{x1:"18",y1:"20",x2:"18",y2:"4"}},{tag:"line",attr:{x1:"6",y1:"20",x2:"6",y2:"16"}}]})(Y)}function eb(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"}},{tag:"polyline",attr:{points:"3.27 6.96 12 12.01 20.73 6.96"}},{tag:"line",attr:{x1:"12",y1:"22.08",x2:"12",y2:"12"}}]})(Y)}function ek(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"2",y:"7",width:"20",height:"14",rx:"2",ry:"2"}},{tag:"path",attr:{d:"M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"}}]})(Y)}function ew(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}},{tag:"polyline",attr:{points:"22 4 12 14.01 9 11.01"}}]})(Y)}function e_(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 11 12 14 22 4"}},{tag:"path",attr:{d:"M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"}}]})(Y)}function eE(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"}}]})(Y)}function eC(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"}}]})(Y)}function eT(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"15 18 9 12 15 6"}}]})(Y)}function eS(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"}}]})(Y)}function eA(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"}}]})(Y)}function eM(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"7 13 12 18 17 13"}},{tag:"polyline",attr:{points:"7 6 12 11 17 6"}}]})(Y)}function eP(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}},{tag:"rect",attr:{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"}}]})(Y)}function ej(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 8h1a4 4 0 0 1 0 8h-1"}},{tag:"path",attr:{d:"M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z"}},{tag:"line",attr:{x1:"6",y1:"1",x2:"6",y2:"4"}},{tag:"line",attr:{x1:"10",y1:"1",x2:"10",y2:"4"}},{tag:"line",attr:{x1:"14",y1:"1",x2:"14",y2:"4"}}]})(Y)}function eO(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"polygon",attr:{points:"16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76"}}]})(Y)}function eI(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"}}]})(Y)}function eN(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 14 4 9 9 4"}},{tag:"path",attr:{d:"M20 20v-7a4 4 0 0 0-4-4H4"}}]})(Y)}function eL(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"8 17 12 21 16 17"}},{tag:"line",attr:{x1:"12",y1:"12",x2:"12",y2:"21"}},{tag:"path",attr:{d:"M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29"}}]})(Y)}function eR(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}},{tag:"polyline",attr:{points:"7 10 12 15 17 10"}},{tag:"line",attr:{x1:"12",y1:"15",x2:"12",y2:"3"}}]})(Y)}function eD(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"}}]})(Y)}function eF(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 20h9"}},{tag:"path",attr:{d:"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"}}]})(Y)}function eB(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}},{tag:"path",attr:{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"}}]})(Y)}function ez(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}},{tag:"polyline",attr:{points:"15 3 21 3 21 9"}},{tag:"line",attr:{x1:"10",y1:"14",x2:"21",y2:"3"}}]})(Y)}function eU(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}},{tag:"line",attr:{x1:"1",y1:"1",x2:"23",y2:"23"}}]})(Y)}function eH(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}},{tag:"circle",attr:{cx:"12",cy:"12",r:"3"}}]})(Y)}function eG(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}},{tag:"polyline",attr:{points:"14 2 14 8 20 8"}},{tag:"line",attr:{x1:"16",y1:"13",x2:"8",y2:"13"}},{tag:"line",attr:{x1:"16",y1:"17",x2:"8",y2:"17"}},{tag:"polyline",attr:{points:"10 9 9 9 8 9"}}]})(Y)}function eV(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 12 20 22 4 22 4 12"}},{tag:"rect",attr:{x:"2",y:"7",width:"20",height:"5"}},{tag:"line",attr:{x1:"12",y1:"22",x2:"12",y2:"7"}},{tag:"path",attr:{d:"M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z"}},{tag:"path",attr:{d:"M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"}}]})(Y)}function eW(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"2",y1:"12",x2:"22",y2:"12"}},{tag:"path",attr:{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"}}]})(Y)}function eZ(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"7",height:"7"}},{tag:"rect",attr:{x:"14",y:"3",width:"7",height:"7"}},{tag:"rect",attr:{x:"14",y:"14",width:"7",height:"7"}},{tag:"rect",attr:{x:"3",y:"14",width:"7",height:"7"}}]})(Y)}function eK(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}},{tag:"polyline",attr:{points:"9 22 9 12 15 12 15 22"}}]})(Y)}function e$(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}},{tag:"circle",attr:{cx:"8.5",cy:"8.5",r:"1.5"}},{tag:"polyline",attr:{points:"21 15 16 10 5 21"}}]})(Y)}function eY(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"12",y1:"16",x2:"12",y2:"12"}},{tag:"line",attr:{x1:"12",y1:"8",x2:"12.01",y2:"8"}}]})(Y)}function eQ(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"12 2 2 7 12 12 22 7 12 2"}},{tag:"polyline",attr:{points:"2 17 12 22 22 17"}},{tag:"polyline",attr:{points:"2 12 12 17 22 12"}}]})(Y)}function eX(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"circle",attr:{cx:"12",cy:"12",r:"4"}},{tag:"line",attr:{x1:"4.93",y1:"4.93",x2:"9.17",y2:"9.17"}},{tag:"line",attr:{x1:"14.83",y1:"14.83",x2:"19.07",y2:"19.07"}},{tag:"line",attr:{x1:"14.83",y1:"9.17",x2:"19.07",y2:"4.93"}},{tag:"line",attr:{x1:"14.83",y1:"9.17",x2:"18.36",y2:"5.64"}},{tag:"line",attr:{x1:"4.93",y1:"19.07",x2:"9.17",y2:"14.83"}}]})(Y)}function eJ(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}},{tag:"path",attr:{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}}]})(Y)}function e0(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"8",y1:"6",x2:"21",y2:"6"}},{tag:"line",attr:{x1:"8",y1:"12",x2:"21",y2:"12"}},{tag:"line",attr:{x1:"8",y1:"18",x2:"21",y2:"18"}},{tag:"line",attr:{x1:"3",y1:"6",x2:"3.01",y2:"6"}},{tag:"line",attr:{x1:"3",y1:"12",x2:"3.01",y2:"12"}},{tag:"line",attr:{x1:"3",y1:"18",x2:"3.01",y2:"18"}}]})(Y)}function e9(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"2",x2:"12",y2:"6"}},{tag:"line",attr:{x1:"12",y1:"18",x2:"12",y2:"22"}},{tag:"line",attr:{x1:"4.93",y1:"4.93",x2:"7.76",y2:"7.76"}},{tag:"line",attr:{x1:"16.24",y1:"16.24",x2:"19.07",y2:"19.07"}},{tag:"line",attr:{x1:"2",y1:"12",x2:"6",y2:"12"}},{tag:"line",attr:{x1:"18",y1:"12",x2:"22",y2:"12"}},{tag:"line",attr:{x1:"4.93",y1:"19.07",x2:"7.76",y2:"16.24"}},{tag:"line",attr:{x1:"16.24",y1:"7.76",x2:"19.07",y2:"4.93"}}]})(Y)}function e5(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}},{tag:"path",attr:{d:"M7 11V7a5 5 0 0 1 10 0v4"}}]})(Y)}function e4(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}},{tag:"polyline",attr:{points:"22,6 12,13 2,6"}}]})(Y)}function e3(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"}}]})(Y)}function e6(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"}}]})(Y)}function e7(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"1"}},{tag:"circle",attr:{cx:"19",cy:"12",r:"1"}},{tag:"circle",attr:{cx:"5",cy:"12",r:"1"}}]})(Y)}function e8(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"5 9 2 12 5 15"}},{tag:"polyline",attr:{points:"9 5 12 2 15 5"}},{tag:"polyline",attr:{points:"15 19 12 22 9 19"}},{tag:"polyline",attr:{points:"19 9 22 12 19 15"}},{tag:"line",attr:{x1:"2",y1:"12",x2:"22",y2:"12"}},{tag:"line",attr:{x1:"12",y1:"2",x2:"12",y2:"22"}}]})(Y)}function tt(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 19l7-7 3 3-7 7-3-3z"}},{tag:"path",attr:{d:"M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z"}},{tag:"path",attr:{d:"M2 2l7.586 7.586"}},{tag:"circle",attr:{cx:"11",cy:"11",r:"2"}}]})(Y)}function ta(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"}},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"}}]})(Y)}function tu(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18.36 6.64a9 9 0 1 1-12.73 0"}},{tag:"line",attr:{x1:"12",y1:"2",x2:"12",y2:"12"}}]})(Y)}function tc(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"1 4 1 10 7 10"}},{tag:"polyline",attr:{points:"23 20 23 14 17 14"}},{tag:"path",attr:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}}]})(Y)}function td(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"23 4 23 10 17 10"}},{tag:"polyline",attr:{points:"1 20 1 14 7 14"}},{tag:"path",attr:{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"}}]})(Y)}function tf(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"11 19 2 12 11 5 11 19"}},{tag:"polygon",attr:{points:"22 19 13 12 22 5 22 19"}}]})(Y)}function th(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"}},{tag:"line",attr:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}}]})(Y)}function tp(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"18",cy:"5",r:"3"}},{tag:"circle",attr:{cx:"6",cy:"12",r:"3"}},{tag:"circle",attr:{cx:"18",cy:"19",r:"3"}},{tag:"line",attr:{x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}},{tag:"line",attr:{x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"}}]})(Y)}function tm(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"}},{tag:"polyline",attr:{points:"16 6 12 2 8 6"}},{tag:"line",attr:{x1:"12",y1:"2",x2:"12",y2:"15"}}]})(Y)}function tg(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M19.69 14a6.9 6.9 0 0 0 .31-2V5l-8-3-3.16 1.18"}},{tag:"path",attr:{d:"M4.73 4.73L4 5v7c0 6 8 10 8 10a20.29 20.29 0 0 0 5.62-4.38"}},{tag:"line",attr:{x1:"1",y1:"1",x2:"23",y2:"23"}}]})(Y)}function tv(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}},{tag:"line",attr:{x1:"9",y1:"3",x2:"9",y2:"21"}}]})(Y)}function tb(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}}]})(Y)}function tk(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"5"}},{tag:"line",attr:{x1:"12",y1:"1",x2:"12",y2:"3"}},{tag:"line",attr:{x1:"12",y1:"21",x2:"12",y2:"23"}},{tag:"line",attr:{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}},{tag:"line",attr:{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}},{tag:"line",attr:{x1:"1",y1:"12",x2:"3",y2:"12"}},{tag:"line",attr:{x1:"21",y1:"12",x2:"23",y2:"12"}},{tag:"line",attr:{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}},{tag:"line",attr:{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"}}]})(Y)}function tw(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"4 17 10 11 4 5"}},{tag:"line",attr:{x1:"12",y1:"19",x2:"20",y2:"19"}}]})(Y)}function t_(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"}}]})(Y)}function tE(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"}}]})(Y)}function tC(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"}}]})(Y)}function tT(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"}},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}},{tag:"line",attr:{x1:"10",y1:"11",x2:"10",y2:"17"}},{tag:"line",attr:{x1:"14",y1:"11",x2:"14",y2:"17"}}]})(Y)}function tS(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"}},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}}]})(Y)}function tA(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"4 7 4 4 20 4 20 7"}},{tag:"line",attr:{x1:"9",y1:"20",x2:"15",y2:"20"}},{tag:"line",attr:{x1:"12",y1:"4",x2:"12",y2:"20"}}]})(Y)}function tM(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"16 16 12 12 8 16"}},{tag:"line",attr:{x1:"12",y1:"12",x2:"12",y2:"21"}},{tag:"path",attr:{d:"M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"}},{tag:"polyline",attr:{points:"16 16 12 12 8 16"}}]})(Y)}function tP(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}},{tag:"polyline",attr:{points:"17 8 12 3 7 8"}},{tag:"line",attr:{x1:"12",y1:"3",x2:"12",y2:"15"}}]})(Y)}function tj(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"8.5",cy:"7",r:"4"}},{tag:"line",attr:{x1:"20",y1:"8",x2:"20",y2:"14"}},{tag:"line",attr:{x1:"23",y1:"11",x2:"17",y2:"11"}}]})(Y)}function tO(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"12",cy:"7",r:"4"}}]})(Y)}function tI(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"15",y1:"9",x2:"9",y2:"15"}},{tag:"line",attr:{x1:"9",y1:"9",x2:"15",y2:"15"}}]})(Y)}function tN(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"}},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"}}]})(Y)}},13002:function(Y,et,en){"use strict";en.d(et,{E6e:function(){return eT},Fhe:function(){return eA},Fxr:function(){return eE},GwR:function(){return ef},HBT:function(){return ec},JEI:function(){return eo},LVY:function(){return ea},N7T:function(){return ep},R27:function(){return eC},UUf:function(){return eg},UzH:function(){return eS},W79:function(){return ew},Wdx:function(){return em},Zuw:function(){return e_},goM:function(){return ek},h5O:function(){return eu},nBS:function(){return eb},nsz:function(){return eM},oT$:function(){return eh},qX6:function(){return ey},qa$:function(){return ed}});var ei=en(50913);function eo(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{d:"M6 10a2 2 0 11-4 0 2 2 0 014 0zM12 10a2 2 0 11-4 0 2 2 0 014 0zM16 12a2 2 0 100-4 2 2 0 000 4z"}}]})(Y)}function ea(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{d:"M8.445 14.832A1 1 0 0010 14v-2.798l5.445 3.63A1 1 0 0017 14V6a1 1 0 00-1.555-.832L10 8.798V6a1 1 0 00-1.555-.832l-6 4a1 1 0 000 1.664l6 4z"}}]})(Y)}function eu(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM6.293 6.707a1 1 0 010-1.414l3-3a1 1 0 011.414 0l3 3a1 1 0 01-1.414 1.414L11 5.414V13a1 1 0 11-2 0V5.414L7.707 6.707a1 1 0 01-1.414 0z",clipRule:"evenodd"}}]})(Y)}function ec(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"}}]})(Y)}function ed(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M17 8h2a2 2 0 012 2v6a2 2 0 01-2 2h-2v4l-4-4H9a1.994 1.994 0 01-1.414-.586m0 0L11 14h4a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2v4l.586-.586z"}}]})(Y)}function ef(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"}}]})(Y)}function eh(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"}}]})(Y)}function ep(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"}}]})(Y)}function em(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"}}]})(Y)}function eg(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14.828 14.828a4 4 0 01-5.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}}]})(Y)}function ey(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}}]})(Y)}function eb(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M17.657 18.657A8 8 0 016.343 7.343S7 9 9 10c0-2 .5-5 2.986-7C14 5 16.09 5.777 17.656 7.343A7.975 7.975 0 0120 13a7.975 7.975 0 01-2.343 5.657z"}},{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9.879 16.121A3 3 0 1012.015 11L11 14H9c0 .768.293 1.536.879 2.121z"}}]})(Y)}function ek(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}}]})(Y)}function ew(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"}}]})(Y)}function e_(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}}]})(Y)}function eE(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"}}]})(Y)}function eC(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M11 4a2 2 0 114 0v1a1 1 0 001 1h3a1 1 0 011 1v3a1 1 0 01-1 1h-1a2 2 0 100 4h1a1 1 0 011 1v3a1 1 0 01-1 1h-3a1 1 0 01-1-1v-1a2 2 0 10-4 0v1a1 1 0 01-1 1H7a1 1 0 01-1-1v-3a1 1 0 00-1-1H4a2 2 0 110-4h1a1 1 0 001-1V7a1 1 0 011-1h3a1 1 0 001-1V4z"}}]})(Y)}function eT(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 6l3 1m0 0l-3 9a5.002 5.002 0 006.001 0M6 7l3 9M6 7l6-2m6 2l3-1m-3 1l-3 9a5.002 5.002 0 006.001 0M18 7l3 9m-3-9l-6-2m0-2v2m0 16V5m0 16H9m3 0h3"}}]})(Y)}function eS(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"}}]})(Y)}function eA(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M11 5.882V19.24a1.76 1.76 0 01-3.417.592l-2.147-6.15M18 13a3 3 0 100-6M5.436 13.683A4.001 4.001 0 017 6h1.832c4.1 0 7.625-1.234 9.168-3v14c-1.543-1.766-5.067-3-9.168-3H7a3.988 3.988 0 01-1.564-.317z"}}]})(Y)}function eM(Y){return(0,ei.w_)({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"}}]})(Y)}},22584:function(Y,et,en){"use strict";en.d(et,{LYv:function(){return eu},bjh:function(){return ea},sUY:function(){return eo}});var ei=en(50913);function eo(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M370 378c28.89 23.52 46 46.07 46 86m-274-86c-28.89 23.52-46 46.06-46 86m288-256c28.89-23.52 32-56.07 32-96m-288 94c-28.89-23.52-32-54.06-32-94m368 176.13h-80m-256 0H48M256 192v256"}},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 448h0c-70.4 0-128-57.6-128-128v-96.07c0-65.07 57.6-96 128-96h0c70.4 0 128 25.6 128 96V320c0 70.4-57.6 128-128 128z"}},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M179.43 143.52a49.08 49.08 0 01-3.43-15.73A80 80 0 01255.79 48h.42A80 80 0 01336 127.79a41.91 41.91 0 01-3.12 14.3"}}]})(Y)}function ea(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"}}]})(Y)}function eu(Y){return(0,ei.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M208 512l-52.38-139.62L16 320l139.62-52.38L208 128l52.38 139.62L400 320l-139.62 52.38zM88 176l-23.57-64.43L0 88l64.43-23.57L88 0l23.57 64.43L176 88l-64.43 23.57zm312 80l-31.11-80.89L288 144l80.89-31.11L400 32l31.11 80.89L512 144l-80.89 31.11z"}}]})(Y)}},50913:function(Y,et,en){"use strict";en.d(et,{w_:function(){return ef}});var ei=en(70079),eo={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ea=ei.createContext&&ei.createContext(eo),eu=function(){return(eu=Object.assign||function(Y){for(var et,en=1,ei=arguments.length;en<ei;en++)for(var eo in et=arguments[en])Object.prototype.hasOwnProperty.call(et,eo)&&(Y[eo]=et[eo]);return Y}).apply(this,arguments)},ec=function(Y,et){var en={};for(var ei in Y)Object.prototype.hasOwnProperty.call(Y,ei)&&0>et.indexOf(ei)&&(en[ei]=Y[ei]);if(null!=Y&&"function"==typeof Object.getOwnPropertySymbols)for(var eo=0,ei=Object.getOwnPropertySymbols(Y);eo<ei.length;eo++)0>et.indexOf(ei[eo])&&Object.prototype.propertyIsEnumerable.call(Y,ei[eo])&&(en[ei[eo]]=Y[ei[eo]]);return en};function ed(Y){return Y&&Y.map(function(Y,et){return ei.createElement(Y.tag,eu({key:et},Y.attr),ed(Y.child))})}function ef(Y){return function(et){return ei.createElement(eh,eu({attr:eu({},Y.attr)},et),ed(Y.child))}}function eh(Y){var et=function(et){var en,eo=Y.attr,ea=Y.size,ed=Y.title,ef=ec(Y,["attr","size","title"]),eh=ea||et.size||"1em";return et.className&&(en=et.className),Y.className&&(en=(en?en+" ":"")+Y.className),ei.createElement("svg",eu({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},et.attr,eo,ef,{className:en,style:eu(eu({color:Y.color||et.color},et.style),Y.style),height:eh,width:eh,xmlns:"http://www.w3.org/2000/svg"}),ed&&ei.createElement("title",null,ed),Y.children)};return void 0!==ea?ei.createElement(ea.Consumer,null,function(Y){return et(Y)}):et(eo)}},94968:function(Y,et,en){"use strict";en.d(et,{Ji:function(){return em},yX:function(){return eg},vU:function(){return ep}});var ei,eo,ea=en(39889),eu=en(70079),ec=en(70671);!function(Y){Y.formatDate="FormattedDate",Y.formatTime="FormattedTime",Y.formatNumber="FormattedNumber",Y.formatList="FormattedList",Y.formatDisplayName="FormattedDisplayName"}(ei||(ei={})),function(Y){Y.formatDate="FormattedDateParts",Y.formatTime="FormattedTimeParts",Y.formatNumber="FormattedNumberParts",Y.formatList="FormattedListParts"}(eo||(eo={}));var ed=function(Y){var et=(0,ec.Z)(),en=Y.value,ei=Y.children,eo=(0,ea._T)(Y,["value","children"]);return ei(et.formatNumberToParts(en,eo))};function ef(Y){var et=function(et){var en=(0,ec.Z)(),ei=et.value,eo=et.children,eu=(0,ea._T)(et,["value","children"]),ed="string"==typeof ei?new Date(ei||0):ei;return eo("formatDate"===Y?en.formatDateToParts(ed,eu):en.formatTimeToParts(ed,eu))};return et.displayName=eo[Y],et}function eh(Y){var et=function(et){var en=(0,ec.Z)(),ei=et.value,eo=et.children,ed=(0,ea._T)(et,["value","children"]),ef=en[Y](ei,ed);if("function"==typeof eo)return eo(ef);var eh=en.textComponent||eu.Fragment;return eu.createElement(eh,null,ef)};return et.displayName=ei[Y],et}function ep(Y){return Y}ed.displayName="FormattedNumberParts",ed.displayName="FormattedNumberParts";var em=eh("formatDate");eh("formatTime"),eh("formatNumber");var eg=eh("formatList");eh("formatDisplayName"),ef("formatDate"),ef("formatTime")},64936:function(Y,et,en){"use strict";en.d(et,{_y:function(){return eu},zt:function(){return ea}});var ei=en(70079);en(26095);var eo="undefined"!=typeof window?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=ei.createContext(null)):ei.createContext(null);eo.Consumer;var ea=eo.Provider,eu=eo},32004:function(Y,et,en){"use strict";var ei=en(39889),eo=en(70079),ea=en(70671),eu=en(1809);function ec(Y,et){var en=Y.values,eo=(0,ei._T)(Y,["values"]),ea=et.values,ec=(0,ei._T)(et,["values"]);return(0,eu.wU)(ea,en)&&(0,eu.wU)(eo,ec)}function ed(Y){var et=(0,ea.Z)(),en=et.formatMessage,ei=et.textComponent,eu=void 0===ei?eo.Fragment:ei,ec=Y.id,ed=Y.description,ef=Y.defaultMessage,eh=Y.values,ep=Y.children,em=Y.tagName,eg=void 0===em?eu:em,ey=en({id:ec,description:ed,defaultMessage:ef},eh,{ignoreTag:Y.ignoreTag});return"function"==typeof ep?ep(Array.isArray(ey)?ey:[ey]):eg?eo.createElement(eg,null,eo.Children.toArray(ey)):eo.createElement(eo.Fragment,null,ey)}ed.displayName="FormattedMessage";var ef=eo.memo(ed,ec);ef.displayName="MemoizedFormattedMessage",et.Z=ef},70671:function(Y,et,en){"use strict";en.d(et,{Z:function(){return eu}});var ei=en(70079),eo=en(64936),ea=en(1809);function eu(){var Y=ei.useContext(eo._y);return(0,ea.lq)(Y),Y}},1809:function(Y,et,en){"use strict";en.d(et,{Z0:function(){return ed},dt:function(){return ef},lq:function(){return ec},wU:function(){return eh}});var ei=en(39889),eo=en(70079),ea=en(53936),eu=en(96733);function ec(Y){(0,ea.kG)(Y,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var ed=(0,ei.pi)((0,ei.pi)({},eu.Z0),{textComponent:eo.Fragment});function ef(Y){return function(et){return Y(eo.Children.toArray(et))}}function eh(Y,et){if(Y===et)return!0;if(!Y||!et)return!1;var en=Object.keys(Y),ei=Object.keys(et),eo=en.length;if(ei.length!==eo)return!1;for(var ea=0;ea<eo;ea++){var eu=en[ea];if(Y[eu]!==et[eu]||!Object.prototype.hasOwnProperty.call(et,eu))return!1}return!0}},93802:function(Y,et){"use strict";/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var en="function"==typeof Symbol&&Symbol.for,ei=en?Symbol.for("react.element"):60103,eo=en?Symbol.for("react.portal"):60106,ea=en?Symbol.for("react.fragment"):60107,eu=en?Symbol.for("react.strict_mode"):60108,ec=en?Symbol.for("react.profiler"):60114,ed=en?Symbol.for("react.provider"):60109,ef=en?Symbol.for("react.context"):60110,eh=en?Symbol.for("react.async_mode"):60111,ep=en?Symbol.for("react.concurrent_mode"):60111,em=en?Symbol.for("react.forward_ref"):60112,eg=en?Symbol.for("react.suspense"):60113,ey=en?Symbol.for("react.suspense_list"):60120,eb=en?Symbol.for("react.memo"):60115,ek=en?Symbol.for("react.lazy"):60116,ew=en?Symbol.for("react.block"):60121,e_=en?Symbol.for("react.fundamental"):60117,eE=en?Symbol.for("react.responder"):60118,eC=en?Symbol.for("react.scope"):60119;function eT(Y){if("object"==typeof Y&&null!==Y){var et=Y.$$typeof;switch(et){case ei:switch(Y=Y.type){case eh:case ep:case ea:case ec:case eu:case eg:return Y;default:switch(Y=Y&&Y.$$typeof){case ef:case em:case ek:case eb:case ed:return Y;default:return et}}case eo:return et}}}function eS(Y){return eT(Y)===ep}et.AsyncMode=eh,et.ConcurrentMode=ep,et.ContextConsumer=ef,et.ContextProvider=ed,et.Element=ei,et.ForwardRef=em,et.Fragment=ea,et.Lazy=ek,et.Memo=eb,et.Portal=eo,et.Profiler=ec,et.StrictMode=eu,et.Suspense=eg,et.isAsyncMode=function(Y){return eS(Y)||eT(Y)===eh},et.isConcurrentMode=eS,et.isContextConsumer=function(Y){return eT(Y)===ef},et.isContextProvider=function(Y){return eT(Y)===ed},et.isElement=function(Y){return"object"==typeof Y&&null!==Y&&Y.$$typeof===ei},et.isForwardRef=function(Y){return eT(Y)===em},et.isFragment=function(Y){return eT(Y)===ea},et.isLazy=function(Y){return eT(Y)===ek},et.isMemo=function(Y){return eT(Y)===eb},et.isPortal=function(Y){return eT(Y)===eo},et.isProfiler=function(Y){return eT(Y)===ec},et.isStrictMode=function(Y){return eT(Y)===eu},et.isSuspense=function(Y){return eT(Y)===eg},et.isValidElementType=function(Y){return"string"==typeof Y||"function"==typeof Y||Y===ea||Y===ep||Y===ec||Y===eu||Y===eg||Y===ey||"object"==typeof Y&&null!==Y&&(Y.$$typeof===ek||Y.$$typeof===eb||Y.$$typeof===ed||Y.$$typeof===ef||Y.$$typeof===em||Y.$$typeof===e_||Y.$$typeof===eE||Y.$$typeof===eC||Y.$$typeof===ew)},et.typeOf=eT},65566:function(Y,et,en){"use strict";Y.exports=en(93802)},92810:function(Y,et){"use strict";/**
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var en,ei=Symbol.for("react.element"),eo=Symbol.for("react.portal"),ea=Symbol.for("react.fragment"),eu=Symbol.for("react.strict_mode"),ec=Symbol.for("react.profiler"),ed=Symbol.for("react.provider"),ef=Symbol.for("react.context"),eh=Symbol.for("react.server_context"),ep=Symbol.for("react.forward_ref"),em=Symbol.for("react.suspense"),eg=Symbol.for("react.suspense_list"),ey=Symbol.for("react.memo"),eb=Symbol.for("react.lazy"),ek=Symbol.for("react.offscreen");function ew(Y){if("object"==typeof Y&&null!==Y){var et=Y.$$typeof;switch(et){case ei:switch(Y=Y.type){case ea:case ec:case eu:case em:case eg:return Y;default:switch(Y=Y&&Y.$$typeof){case eh:case ef:case ep:case eb:case ey:case ed:return Y;default:return et}}case eo:return et}}}en=Symbol.for("react.module.reference"),et.ContextConsumer=ef,et.ContextProvider=ed,et.Element=ei,et.ForwardRef=ep,et.Fragment=ea,et.Lazy=eb,et.Memo=ey,et.Portal=eo,et.Profiler=ec,et.StrictMode=eu,et.Suspense=em,et.SuspenseList=eg,et.isAsyncMode=function(){return!1},et.isConcurrentMode=function(){return!1},et.isContextConsumer=function(Y){return ew(Y)===ef},et.isContextProvider=function(Y){return ew(Y)===ed},et.isElement=function(Y){return"object"==typeof Y&&null!==Y&&Y.$$typeof===ei},et.isForwardRef=function(Y){return ew(Y)===ep},et.isFragment=function(Y){return ew(Y)===ea},et.isLazy=function(Y){return ew(Y)===eb},et.isMemo=function(Y){return ew(Y)===ey},et.isPortal=function(Y){return ew(Y)===eo},et.isProfiler=function(Y){return ew(Y)===ec},et.isStrictMode=function(Y){return ew(Y)===eu},et.isSuspense=function(Y){return ew(Y)===em},et.isSuspenseList=function(Y){return ew(Y)===eg},et.isValidElementType=function(Y){return"string"==typeof Y||"function"==typeof Y||Y===ea||Y===ec||Y===eu||Y===em||Y===eg||Y===ek||"object"==typeof Y&&null!==Y&&(Y.$$typeof===eb||Y.$$typeof===ey||Y.$$typeof===ed||Y.$$typeof===ef||Y.$$typeof===ep||Y.$$typeof===en||void 0!==Y.getModuleId)},et.typeOf=ew},72037:function(Y,et,en){"use strict";Y.exports=en(92810)},54239:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ta}});var ei,eo=en(38104),ea=en(70079),eu="right-scroll-bar-position",ec="width-before-scroll-bar",ed="with-scroll-bars-hidden",ef="--removed-body-scroll-bar-size";function eh(Y,et){return"function"==typeof Y?Y(et):Y&&(Y.current=et),Y}function ep(Y,et){var en=(0,ea.useState)(function(){return{value:Y,callback:et,facade:{get current(){return en.value},set current(value){var ei=en.value;ei!==value&&(en.value=value,en.callback(value,ei))}}}})[0];return en.callback=et,en.facade}function em(Y,et){return ep(et||null,function(et){return Y.forEach(function(Y){return eh(Y,et)})})}function eg(Y){return Y}function ey(Y,et){void 0===et&&(et=eg);var en=[],ei=!1;return{read:function(){if(ei)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return en.length?en[en.length-1]:Y},useMedium:function(Y){var eo=et(Y,ei);return en.push(eo),function(){en=en.filter(function(Y){return Y!==eo})}},assignSyncMedium:function(Y){for(ei=!0;en.length;){var et=en;en=[],et.forEach(Y)}en={push:function(et){return Y(et)},filter:function(){return en}}},assignMedium:function(Y){ei=!0;var et=[];if(en.length){var eo=en;en=[],eo.forEach(Y),et=en}var ea=function(){var en=et;et=[],en.forEach(Y)},eu=function(){return Promise.resolve().then(ea)};eu(),en={push:function(Y){et.push(Y),eu()},filter:function(Y){return et=et.filter(Y),en}}}}}var eb=function(Y){void 0===Y&&(Y={});var et=ey(null);return et.options=(0,eo.pi)({async:!0,ssr:!1},Y),et}(),ek=function(){},ew=ea.forwardRef(function(Y,et){var en=ea.useRef(null),ei=ea.useState({onScrollCapture:ek,onWheelCapture:ek,onTouchMoveCapture:ek}),eu=ei[0],ec=ei[1],ed=Y.forwardProps,ef=Y.children,eh=Y.className,ep=Y.removeScrollBar,eg=Y.enabled,ey=Y.shards,ew=Y.sideCar,e_=Y.noIsolation,eE=Y.inert,eC=Y.allowPinchZoom,eT=Y.as,eS=void 0===eT?"div":eT,eA=(0,eo._T)(Y,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),eM=ew,eP=em([en,et]),ej=(0,eo.pi)((0,eo.pi)({},eA),eu);return ea.createElement(ea.Fragment,null,eg&&ea.createElement(eM,{sideCar:eb,removeScrollBar:ep,shards:ey,noIsolation:e_,inert:eE,setCallbacks:ec,allowPinchZoom:!!eC,lockRef:en}),ed?ea.cloneElement(ea.Children.only(ef),(0,eo.pi)((0,eo.pi)({},ej),{ref:eP})):ea.createElement(eS,(0,eo.pi)({},ej,{className:eh,ref:eP}),ef))});ew.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ew.classNames={fullWidth:ec,zeroRight:eu};var e_=function(Y){var et=Y.sideCar,en=(0,eo._T)(Y,["sideCar"]);if(!et)throw Error("Sidecar: please provide `sideCar` property to import the right car");var ei=et.read();if(!ei)throw Error("Sidecar medium not found");return ea.createElement(ei,(0,eo.pi)({},en))};function eE(Y,et){return Y.useMedium(et),e_}e_.isSideCarExport=!0;var eC=function(){return ei||en.nc};function eT(){if(!document)return null;var Y=document.createElement("style");Y.type="text/css";var et=eC();return et&&Y.setAttribute("nonce",et),Y}function eS(Y,et){Y.styleSheet?Y.styleSheet.cssText=et:Y.appendChild(document.createTextNode(et))}function eA(Y){(document.head||document.getElementsByTagName("head")[0]).appendChild(Y)}var eM=function(){var Y=0,et=null;return{add:function(en){0==Y&&(et=eT())&&(eS(et,en),eA(et)),Y++},remove:function(){--Y||!et||(et.parentNode&&et.parentNode.removeChild(et),et=null)}}},eP=function(){var Y=eM();return function(et,en){ea.useEffect(function(){return Y.add(et),function(){Y.remove()}},[et&&en])}},ej=function(){var Y=eP();return function(et){return Y(et.styles,et.dynamic),null}},eO={left:0,top:0,right:0,gap:0},eI=function(Y){return parseInt(Y||"",10)||0},eN=function(Y){var et=window.getComputedStyle(document.body),en=et["padding"===Y?"paddingLeft":"marginLeft"],ei=et["padding"===Y?"paddingTop":"marginTop"],eo=et["padding"===Y?"paddingRight":"marginRight"];return[eI(en),eI(ei),eI(eo)]},eL=function(Y){if(void 0===Y&&(Y="margin"),"undefined"==typeof window)return eO;var et=eN(Y),en=document.documentElement.clientWidth,ei=window.innerWidth;return{left:et[0],top:et[1],right:et[2],gap:Math.max(0,ei-en+et[2]-et[0])}},eR=ej(),eD=function(Y,et,en,ei){var eo=Y.left,ea=Y.top,eh=Y.right,ep=Y.gap;return void 0===en&&(en="margin"),"\n .".concat(ed," {\n overflow: hidden ").concat(ei,";\n padding-right: ").concat(ep,"px ").concat(ei,";\n }\n body {\n overflow: hidden ").concat(ei,";\n overscroll-behavior: contain;\n ").concat([et&&"position: relative ".concat(ei,";"),"margin"===en&&"\n padding-left: ".concat(eo,"px;\n padding-top: ").concat(ea,"px;\n padding-right: ").concat(eh,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(ep,"px ").concat(ei,";\n "),"padding"===en&&"padding-right: ".concat(ep,"px ").concat(ei,";")].filter(Boolean).join(""),"\n }\n \n .").concat(eu," {\n right: ").concat(ep,"px ").concat(ei,";\n }\n \n .").concat(ec," {\n margin-right: ").concat(ep,"px ").concat(ei,";\n }\n \n .").concat(eu," .").concat(eu," {\n right: 0 ").concat(ei,";\n }\n \n .").concat(ec," .").concat(ec," {\n margin-right: 0 ").concat(ei,";\n }\n \n body {\n ").concat(ef,": ").concat(ep,"px;\n }\n")},eF=function(Y){var et=Y.noRelative,en=Y.noImportant,ei=Y.gapMode,eo=void 0===ei?"margin":ei,eu=ea.useMemo(function(){return eL(eo)},[eo]);return ea.createElement(eR,{styles:eD(eu,!et,eo,en?"":"!important")})},eB=!1;if("undefined"!=typeof window)try{var ez=Object.defineProperty({},"passive",{get:function(){return eB=!0,!0}});window.addEventListener("test",ez,ez),window.removeEventListener("test",ez,ez)}catch(Y){eB=!1}var eU=!!eB&&{passive:!1},eH=function(Y){return"TEXTAREA"===Y.tagName},eG=function(Y,et){var en=window.getComputedStyle(Y);return"hidden"!==en[et]&&!(en.overflowY===en.overflowX&&!eH(Y)&&"visible"===en[et])},eV=function(Y){return eG(Y,"overflowY")},eW=function(Y){return eG(Y,"overflowX")},eZ=function(Y,et){var en=et;do{if("undefined"!=typeof ShadowRoot&&en instanceof ShadowRoot&&(en=en.host),eY(Y,en)){var ei=eQ(Y,en);if(ei[1]>ei[2])return!0}en=en.parentNode}while(en&&en!==document.body);return!1},eK=function(Y){return[Y.scrollTop,Y.scrollHeight,Y.clientHeight]},e$=function(Y){return[Y.scrollLeft,Y.scrollWidth,Y.clientWidth]},eY=function(Y,et){return"v"===Y?eV(et):eW(et)},eQ=function(Y,et){return"v"===Y?eK(et):e$(et)},eX=function(Y,et){return"h"===Y&&"rtl"===et?-1:1},eJ=function(Y,et,en,ei,eo){var ea=eX(Y,window.getComputedStyle(et).direction),eu=ea*ei,ec=en.target,ed=et.contains(ec),ef=!1,eh=eu>0,ep=0,em=0;do{var eg=eQ(Y,ec),ey=eg[0],eb=eg[1]-eg[2]-ea*ey;(ey||eb)&&eY(Y,ec)&&(ep+=eb,em+=ey),ec=ec.parentNode}while(!ed&&ec!==document.body||ed&&(et.contains(ec)||et===ec));return eh&&(eo&&0===ep||!eo&&eu>ep)?ef=!0:!eh&&(eo&&0===em||!eo&&-eu>em)&&(ef=!0),ef},e0=function(Y){return"changedTouches"in Y?[Y.changedTouches[0].clientX,Y.changedTouches[0].clientY]:[0,0]},e9=function(Y){return[Y.deltaX,Y.deltaY]},e5=function(Y){return Y&&"current"in Y?Y.current:Y},e4=function(Y,et){return Y[0]===et[0]&&Y[1]===et[1]},e3=function(Y){return"\n .block-interactivity-".concat(Y," {pointer-events: none;}\n .allow-interactivity-").concat(Y," {pointer-events: all;}\n")},e6=0,e7=[],e8=eE(eb,function(Y){var et=ea.useRef([]),en=ea.useRef([0,0]),ei=ea.useRef(),eu=ea.useState(e6++)[0],ec=ea.useState(function(){return ej()})[0],ed=ea.useRef(Y);ea.useEffect(function(){ed.current=Y},[Y]),ea.useEffect(function(){if(Y.inert){document.body.classList.add("block-interactivity-".concat(eu));var et=(0,eo.ev)([Y.lockRef.current],(Y.shards||[]).map(e5),!0).filter(Boolean);return et.forEach(function(Y){return Y.classList.add("allow-interactivity-".concat(eu))}),function(){document.body.classList.remove("block-interactivity-".concat(eu)),et.forEach(function(Y){return Y.classList.remove("allow-interactivity-".concat(eu))})}}},[Y.inert,Y.lockRef.current,Y.shards]);var ef=ea.useCallback(function(Y,et){if("touches"in Y&&2===Y.touches.length)return!ed.current.allowPinchZoom;var eo,ea=e0(Y),eu=en.current,ec="deltaX"in Y?Y.deltaX:eu[0]-ea[0],ef="deltaY"in Y?Y.deltaY:eu[1]-ea[1],eh=Y.target,ep=Math.abs(ec)>Math.abs(ef)?"h":"v";if("touches"in Y&&"h"===ep&&"range"===eh.type)return!1;var em=eZ(ep,eh);if(!em)return!0;if(em?eo=ep:(eo="v"===ep?"h":"v",em=eZ(ep,eh)),!em)return!1;if(!ei.current&&"changedTouches"in Y&&(ec||ef)&&(ei.current=eo),!eo)return!0;var eg=ei.current||eo;return eJ(eg,et,Y,"h"===eg?ec:ef,!0)},[]),eh=ea.useCallback(function(Y){var en=Y;if(e7.length&&e7[e7.length-1]===ec){var ei="deltaY"in en?e9(en):e0(en),eo=et.current.filter(function(Y){return Y.name===en.type&&Y.target===en.target&&e4(Y.delta,ei)})[0];if(eo&&eo.should){en.cancelable&&en.preventDefault();return}if(!eo){var ea=(ed.current.shards||[]).map(e5).filter(Boolean).filter(function(Y){return Y.contains(en.target)});(ea.length>0?ef(en,ea[0]):!ed.current.noIsolation)&&en.cancelable&&en.preventDefault()}}},[]),ep=ea.useCallback(function(Y,en,ei,eo){var ea={name:Y,delta:en,target:ei,should:eo};et.current.push(ea),setTimeout(function(){et.current=et.current.filter(function(Y){return Y!==ea})},1)},[]),em=ea.useCallback(function(Y){en.current=e0(Y),ei.current=void 0},[]),eg=ea.useCallback(function(et){ep(et.type,e9(et),et.target,ef(et,Y.lockRef.current))},[]),ey=ea.useCallback(function(et){ep(et.type,e0(et),et.target,ef(et,Y.lockRef.current))},[]);ea.useEffect(function(){return e7.push(ec),Y.setCallbacks({onScrollCapture:eg,onWheelCapture:eg,onTouchMoveCapture:ey}),document.addEventListener("wheel",eh,eU),document.addEventListener("touchmove",eh,eU),document.addEventListener("touchstart",em,eU),function(){e7=e7.filter(function(Y){return Y!==ec}),document.removeEventListener("wheel",eh,eU),document.removeEventListener("touchmove",eh,eU),document.removeEventListener("touchstart",em,eU)}},[]);var eb=Y.removeScrollBar,ek=Y.inert;return ea.createElement(ea.Fragment,null,ek?ea.createElement(ec,{styles:e3(eu)}):null,eb?ea.createElement(eF,{gapMode:"margin"}):null)}),tt=ea.forwardRef(function(Y,et){return ea.createElement(ew,(0,eo.pi)({},Y,{ref:et,sideCar:e8}))});tt.classNames=ew.classNames;var ta=tt},40803:function(Y,et,en){"use strict";function ei(Y,et){try{var ei=en.g.document;if(void 0!==ei&&ei.createElement&&ei.head&&ei.head.appendChild){var eo=ei.querySelector('html meta[name="'.concat(encodeURI(Y),'"]'))||ei.createElement("meta");eo.setAttribute("name",Y),eo.setAttribute("content",et),ei.head.appendChild(eo)}}catch(Y){}}function eo(){ei("react-scroll-to-bottom:version","4.2.0")}en.r(et),en.d(et,{AutoHideFollowButton:function(){return eW},Composer:function(){return nf},FunctionContext:function(){return eS},Panel:function(){return ng},StateContext:function(){return eL},default:function(){return nO},useAnimating:function(){return nx},useAnimatingToEnd:function(){return nk},useAtBottom:function(){return nw},useAtEnd:function(){return n_},useAtStart:function(){return nE},useAtTop:function(){return nC},useMode:function(){return nT},useObserveScrollPosition:function(){return nS},useScrollTo:function(){return nA},useScrollToBottom:function(){return nM},useScrollToEnd:function(){return eM},useScrollToStart:function(){return nP},useScrollToTop:function(){return nj},useSticky:function(){return eF}});var ea=en(13928);function eu(Y){if(ea(Y))return Y}var ec=en(24505),ed=en(91234);function ef(Y,et){var en,ei,eo=null==Y?null:void 0!==ec&&ed(Y)||Y["@@iterator"];if(null!=eo){var ea=[],eu=!0,ef=!1;try{for(eo=eo.call(Y);!(eu=(en=eo.next()).done)&&(ea.push(en.value),!et||ea.length!==et);eu=!0);}catch(Y){ef=!0,ei=Y}finally{try{eu||null==eo.return||eo.return()}finally{if(ef)throw ei}}return ea}}var eh=en(70705),ep=en(37585);function em(Y,et){(null==et||et>Y.length)&&(et=Y.length);for(var en=0,ei=Array(et);en<et;en++)ei[en]=Y[en];return ei}function eg(Y,et){if(Y){if("string"==typeof Y)return em(Y,et);var en,ei=eh(en=Object.prototype.toString.call(Y)).call(en,8,-1);if("Object"===ei&&Y.constructor&&(ei=Y.constructor.name),"Map"===ei||"Set"===ei)return ep(Y);if("Arguments"===ei||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ei))return em(Y,et)}}function ey(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eb(Y,et){return eu(Y)||ef(Y,et)||eg(Y,et)||ey()}var ek=en(65443),ew=en.n(ek),e_=en(76400),eE=en.n(e_),eC=en(70079),eT=eC.createContext({scrollTo:function(){return 0},scrollToBottom:function(){return 0},scrollToEnd:function(){return 0},scrollToStart:function(){return 0},scrollToTop:function(){return 0}});eT.displayName="ScrollToBottomFunctionContext";var eS=eT;function eA(){return(0,eC.useContext)(eS)}function eM(){return eA().scrollToEnd}var eP=eC.createContext({atBottom:!0,atEnd:!0,atStart:!1,atTop:!0,mode:"bottom"});eP.displayName="ScrollToBottomState1Context";var ej=eP,eO=eC.createContext({animating:!1,animatingToEnd:!1,sticky:!0});eO.displayName="ScrollToBottomState2Context";var eI=eO,eN=eC.createContext({animating:!1,animatingToEnd:!1,atBottom:!0,atEnd:!0,atStart:!1,atTop:!0,mode:"bottom",sticky:!0});eN.displayName="ScrollToBottomStateContext";var eL=eN,eR=[eL,ej,eI];function eD(Y){return(0,eC.useContext)(eR[Y]||eR[0])}function eF(){return[eD(2).sticky]}var eB=eC.createContext({offsetHeight:0,scrollHeight:0,setTarget:function(){return 0},styleToClassName:function(){return""}});eB.displayName="ScrollToBottomInternalContext";var ez=eB;function eU(){return(0,eC.useContext)(ez)}function eH(){return eU().styleToClassName}var eG={backgroundColor:"rgba(0, 0, 0, .2)",borderRadius:10,borderWidth:0,bottom:5,cursor:"pointer",height:20,outline:0,position:"absolute",right:20,width:20,"&:hover":{backgroundColor:"rgba(0, 0, 0, .4)"},"&:active":{backgroundColor:"rgba(0, 0, 0, .6)"}},eV=function(Y){var et=Y.children,en=Y.className,ei=eb(eF(),1)[0],eo=eH()(eG),ea=eM();return!ei&&eC.createElement("button",{className:ew()(eo,(en||"")+""),onClick:ea,type:"button"},et)};eV.defaultProps={children:void 0,className:""},eV.propTypes={children:eE().any,className:eE().string};var eW=eV,eZ=en(17653);function eK(Y,et,en){return et in Y?eZ(Y,et,{value:en,enumerable:!0,configurable:!0,writable:!0}):Y[et]=en,Y}function e$(Y){if(ea(Y))return em(Y)}function eY(Y){if(void 0!==ec&&null!=ed(Y)||null!=Y["@@iterator"])return ep(Y)}function eQ(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eX(Y){return e$(Y)||eY(Y)||eg(Y)||eQ()}en(59103),en(88085);var eJ=en(81564),e0=en.n(eJ),e9=en(76155),e5=en.n(e9),e4=en(66918),e3=en.n(e4),e6=en(20588),e7=en.n(e6),e8=en(72799),tt=en.n(e8),ta=en(81715),tu=en.n(ta),tc=en(46102),td=en.n(tc),tf=en(86701),th=en.n(tf),tp=en(71618),tm=en.n(tp),tg=en(31090),tv=en.n(tg),tb=en(93297),tk=en.n(tb),tw=en(15396),t_=en.n(tw),tE=en(53485),tC=en.n(tE),tT=en(93865),tS=en(61404),tA=en(66347);function tM(Y,et){if(void 0===Y.inserted[et.name])return Y.insert("",et,Y.sheet,!0)}function tP(Y,et,en){var ei=[],eo=(0,tA.fp)(Y,ei,en);return ei.length<2?en:eo+et(ei)}var tj=function Y(et){for(var en="",ei=0;ei<et.length;ei++){var eo=et[ei];if(null!=eo){var ea=void 0;switch(typeof eo){case"boolean":break;case"object":if(Array.isArray(eo))ea=Y(eo);else for(var eu in ea="",eo)eo[eu]&&eu&&(ea&&(ea+=" "),ea+=eu);break;default:ea=eo}ea&&(en&&(en+=" "),en+=ea)}}return en},tO=function(Y){var et=(0,tT.Z)(Y);et.sheet.speedy=function(Y){this.isSpeedy=Y},et.compat=!0;var en=function(){for(var Y=arguments.length,en=Array(Y),ei=0;ei<Y;ei++)en[ei]=arguments[ei];var eo=(0,tS.O)(en,et.registered,void 0);return(0,tA.My)(et,eo,!1),et.key+"-"+eo.name},ei=function(){for(var Y=arguments.length,ei=Array(Y),eo=0;eo<Y;eo++)ei[eo]=arguments[eo];return tP(et.registered,en,tj(ei))};return{css:en,cx:ei,injectGlobal:function(){for(var Y=arguments.length,en=Array(Y),ei=0;ei<Y;ei++)en[ei]=arguments[ei];var eo=(0,tS.O)(en,et.registered);tM(et,eo)},keyframes:function(){for(var Y=arguments.length,en=Array(Y),ei=0;ei<Y;ei++)en[ei]=arguments[ei];var eo=(0,tS.O)(en,et.registered),ea="animation-"+eo.name;return tM(et,{name:eo.name,styles:"@keyframes "+ea+"{"+eo.styles+"}"}),ea},hydrate:function(Y){Y.forEach(function(Y){et.inserted[Y]=!0})},flush:function(){et.registered={},et.inserted={},et.sheet.flush()},sheet:et.sheet,cache:et,getRegisteredStyles:tA.fp.bind(null,et.registered),merge:tP.bind(null,et.registered,en)}};en(20542),en(97331),en(7842);var tI=en(64876),tN=en.n(tI);function tL(){return tN()().toString(26).substr(2,5).replace(/[0-9]/g,function(Y){return String.fromCharCode(Y.charCodeAt(0)+65)})}var tR=en(66922),tD=en.n(tR);function tF(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"white",en="background-color: ".concat(Y,"; border-radius: 4px; padding: 2px 4px;");return et&&(en+=" color: ".concat(et,";")),[en,""]}function tB(Y,et){for(var en,ei,eo=arguments.length,ea=Array(eo>2?eo-2:0),eu=2;eu<eo;eu++)ea[eu-2]=arguments[eu];return e7()(en=[e7()(ei="%c".concat(Y,"%c ")).call(ei,et)]).call(en,eX(tF("green","white")),ea)}function tU(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},en=et.force;return void 0!==en&&en?function(){for(var et=arguments.length,en=Array(et),ei=0;ei<et;ei++)en[ei]=arguments[ei];if(en.length){var eo=eb(en,1)[0];"function"==typeof eo&&(en=eo());var ea=tD()(en[0])?en:[en],eu=1===ea.length;tu()(ea).call(ea,function(et,en){var ei,eo,ea,ec,ed;eu?(ei=console).log.apply(ei,eX(tB.apply(void 0,e7()(eo=[Y]).call(eo,eX(et))))):en?(ea=console).log.apply(ea,eX(tD()(et)?et:[et])):(ec=console).groupCollapsed.apply(ec,eX(tB.apply(void 0,e7()(ed=[Y]).call(ed,eX(et)))))}),eu||console.groupEnd()}}:function(){return 0}}en(80936);var tH=en(25465),tG=en.n(tH);function tV(Y,et){if(!et)return Y;var en=0,ei=null;return function(){for(var eo=arguments.length,ea=Array(eo),eu=0;eu<eo;eu++)ea[eu]=arguments[eu];var ec=tt()();ec-en>et?(Y.apply(void 0,ea),en=ec):(clearTimeout(ei),ei=tG()(function(){Y.apply(void 0,ea),en=tt()()},Math.max(0,et-ec+en)))}}var tW=function(Y){var et=Y.debounce,en=Y.name,ei=Y.onEvent,eo=Y.target,ea=(0,eC.useRef)();ea.current=ei;var eu=(0,eC.useMemo)(function(){return tV(function(Y){var et=ea.current;et&&et(Y)},et)},[et,ea]),ec=(0,eC.useCallback)(function(Y){Y.timeStampLow=tt()(),eu(Y)},[eu]);return(0,eC.useLayoutEffect)(function(){return eo.addEventListener(en,ec,{passive:!0}),ec({target:eo,type:en}),function(){return eo.removeEventListener(en,ec)}},[en,ec,eo]),!1};tW.defaultProps={debounce:200};var tq=tW,tZ=en(44353),tK=en.n(tZ);function t$(Y,et){var en=tK()(et-Y),ei=Math.sqrt(Math.abs(et-Y)),eo=Y+ei*en;return en>0?Math.min(et,eo):Math.max(et,eo)}function tY(Y,et,en,ei){for(var eo=Y,ea=0;ea<ei;ea++)eo=en(eo,et);return eo}var tQ=function(Y){var et=Y.name,en=Y.onEnd,ei=Y.target,eo=Y.value,ea=(0,eC.useRef)(),eu=(0,eC.useCallback)(function(Y,et,eo,ec){var ed=arguments.length>4&&void 0!==arguments[4]?arguments[4]:tt()();("100%"===eo||"number"==typeof eo)&&(cancelAnimationFrame(ea.current),ea.current=requestAnimationFrame(function(){if(ei){var ea="100%"===eo?ei.scrollHeight-ei.offsetHeight:eo,ef=tY(et,ea,t$,(tt()()-ed)/5);1.5>Math.abs(ea-ef)&&(ef=ea),ei[Y]=ef,ea===ef?en&&en(!0):eu(Y,et,eo,ec+1,ed)}}))},[ea,en,ei]),ec=(0,eC.useCallback)(function(){cancelAnimationFrame(ea.current),en&&en(!1)},[en]);return(0,eC.useLayoutEffect)(function(){return(eu(et,ei[et],eo,1),ei)?(ei.addEventListener("pointerdown",ec,{passive:!0}),ei.addEventListener("wheel",ec,{passive:!0}),function(){ei.removeEventListener("pointerdown",ec),ei.removeEventListener("wheel",ec),cancelAnimationFrame(ea.current)}):function(){return cancelAnimationFrame(ea.current)}},[eu,ea,ec,et,ei,eo]),!1};tQ.propTypes={name:eE().string.isRequired,onEnd:eE().func,target:eE().any.isRequired,value:eE().oneOfType([eE().number,eE().oneOf(["100%"])]).isRequired};var tX=tQ;function tJ(Y){var et=eb((0,eC.useState)(Y),2),en=et[0],ei=et[1],eo=(0,eC.useRef)(),ea=(0,eC.useCallback)(function(Y){"function"==typeof Y?ea(function(et){return Y=Y(et),eo.current=Y,Y}):(eo.current=Y,ea(Y))},[eo]);return eo.current=en,[en,ei,eo]}function t9(Y,et){var en=td()(Y);if(th()){var ei=th()(Y);et&&(ei=tm()(ei).call(ei,function(et){return tv()(Y,et).enumerable})),en.push.apply(en,ei)}return en}function t5(Y){for(var et=1;et<arguments.length;et++){var en,ei,eo=null!=arguments[et]?arguments[et]:{};et%2?tu()(en=t9(Object(eo),!0)).call(en,function(et){eK(Y,et,eo[et])}):tk()?t_()(Y,tk()(eo)):tu()(ei=t9(Object(eo))).call(ei,function(et){tC()(Y,et,tv()(eo,et))})}return Y}var t4=function(){return 1/0},t3=17,t6="bottom",t7="top",t8=1,nt=34,nn={};function ni(Y,et){return Y(),e0()(Y,et)}function na(Y){var et=Y.mode,en=Y.target,ei=en.offsetHeight,eo=en.scrollHeight,ea=en.scrollTop,eu=eo-ea-ei<t8,ec=ea<t8,ed=et===t7?ec:eu,ef=et!==t7?ec:eu;return{atBottom:eu,atEnd:ed,atStart:ef,atTop:ec}}function nu(Y,et){return Y===(et===t7?0:"100%")}var nd=function(Y){var et=Y.checkInterval,en=Y.children,ei=Y.debounce,eo=Y.debug,ea=Y.initialScrollBehavior,eu=Y.mode,ec=Y.nonce,ed=Y.scroller,ef=(0,eC.useMemo)(function(){return tU("<ScrollToBottom>",{force:eo})},[eo]);eu=eu===t7?t7:t6;var eh=(0,eC.useRef)(0),ep=(0,eC.useRef)(ea),em=eb(tJ(eu===t7?0:"100%"),3),eg=em[0],ey=em[1],ek=em[2],ew=eb(tJ(null),3),e_=ew[0],eE=ew[1],eT=ew[2],eA=(0,eC.useRef)(0),eM=(0,eC.useRef)(0),eP=(0,eC.useRef)(0),eO=eb((0,eC.useState)(!0),2),eN=eO[0],eR=eO[1],eD=eb((0,eC.useState)(!0),2),eF=eD[0],eB=eD[1],eU=eb((0,eC.useState)(!0),2),eH=eU[0],eG=eU[1],eV=eb((0,eC.useState)(!1),2),eW=eV[0],eZ=eV[1],eK=eb(tJ(!0),3),e$=eK[0],eY=eK[1],eQ=eK[2],eJ=(0,eC.useRef)([]),e0=(0,eC.useCallback)(function(Y){var et=eT.current;return eJ.current.push(Y),et&&Y({scrollTop:et.scrollTop}),function(){var et=eJ.current,en=e5()(et).call(et,Y);~en&&e3()(et).call(et,en,1)}},[eJ,eT]),e9=(0,eC.useCallback)(function(){var Y=ek.current;ef(function(){var et;return e7()(et=["%cSpineTo%c: %conEnd%c is fired."]).call(et,eX(tF("magenta")),eX(tF("orange")),[{animateTo:Y}])}),eh.current=tt()(),nu(Y,eu)||eY(!1),ey(null)},[ek,ef,eh,eu,ey,eY]),e4=(0,eC.useCallback)(function(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},en=et.behavior,ei=eT.current;if("number"!=typeof Y&&"100%"!==Y)return console.warn('react-scroll-to-bottom: Arguments passed to scrollTo() must be either number or "100%".');ef(function(){var et;return[e7()(et=["%cscrollTo%c: Will scroll to %c".concat("number"==typeof Y?Y+"px":Y.replace(/%/g,"%%"),"%c")]).call(et,eX(tF("lime","")),eX(tF("purple"))),{behavior:en,nextAnimateTo:Y,target:ei}]}),"auto"===en?(e9(),ei&&(ei.scrollTop="100%"===Y?ei.scrollHeight-ei.offsetHeight:Y)):("smooth"!==en&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollTo". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.'),ey(Y)),nu(Y,eu)&&(ef(function(){var et;return[e7()(et=["%cscrollTo%c: Scrolling to end, will set sticky to %ctrue%c."]).call(et,eX(tF("lime","")),eX(tF("purple"))),[{mode:eu,nextAnimateTo:Y}]]}),eY(!0))},[ef,e9,eu,ey,eY,eT]),e6=(0,eC.useCallback)(function(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},et=Y.behavior;ef(function(){var Y;return e7()(Y=["%cscrollToBottom%c: Called"]).call(Y,eX(tF("yellow","")))}),"smooth"!==et&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollToBottom". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.'),e4("100%",{behavior:et||"smooth"})},[ef,e4]),e8=(0,eC.useCallback)(function(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},et=Y.behavior;ef(function(){var Y;return e7()(Y=["%cscrollToTop%c: Called"]).call(Y,eX(tF("yellow","")))}),"smooth"!==et&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollToTop". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.'),e4(0,{behavior:et||"smooth"})},[ef,e4]),ta=(0,eC.useCallback)(function(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},et=Y.behavior;ef(function(){var Y;return e7()(Y=["%cscrollToEnd%c: Called"]).call(Y,eX(tF("yellow","")))}),"smooth"!==et&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollToEnd". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.');var en={behavior:et||"smooth"};eu===t7?e8(en):e6(en)},[ef,eu,e6,e8]),tc=(0,eC.useCallback)(function(){var Y=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},et=Y.behavior;ef(function(){var Y;return e7()(Y=["%cscrollToStart%c: Called"]).call(Y,eX(tF("yellow","")))}),"smooth"!==et&&console.warn('react-scroll-to-bottom: Please set "behavior" when calling "scrollToStart". In future versions, the default behavior will be changed from smooth scrolling to discrete scrolling to align with HTML Standard.');var en={behavior:et||"smooth"};eu===t7?e6(en):e8(en)},[ef,eu,e6,e8]),td=(0,eC.useCallback)(function(){var Y=eT.current;if(Y){if("auto"===ep.current){ef(function(){var Y;return e7()(Y=["%ctarget changed%c: Initial scroll"]).call(Y,eX(tF("blue")))}),Y.scrollTop=eu===t7?0:Y.scrollHeight-Y.offsetHeight,ep.current=!1;return}var et,en=eA.current,ei=Y.offsetHeight,eo=Y.scrollHeight,ea=Y.scrollTop,ec=eu===t7?0:Math.max(0,eo-ei-ea),eh=Math.max(0,en-ea),em=ed({maxValue:ec,minValue:eh,offsetHeight:ei,scrollHeight:eo,scrollTop:ea}),eg=Math.max(0,Math.min(ec,em));et=eu===t7||eg!==ec?ea+eg:"100%",ef(function(){var Y,eu,ed;return[e7()(Y=[e7()(eu=e7()(ed="%cscrollToSticky%c: Will animate from %c".concat(en,"px%c to %c")).call(ed,"number"==typeof et?et+"px":et.replace(/%/g,"%%"),"%c (%c")).call(eu,("100%"===et?ec:et)+en,"px%c)")]).call(Y,eX(tF("orange")),eX(tF("purple")),eX(tF("purple")),eX(tF("purple"))),{animateFrom:en,maxValue:ec,minValue:eh,nextAnimateTo:et,nextValue:eg,offsetHeight:ei,rawNextValue:em,scrollHeight:eo,scrollTop:ea}]}),e4(et,{behavior:"smooth"})}},[eA,ef,eu,ed,e4,eT]),tf=(0,eC.useCallback)(function(Y){var et,en=Y.timeStampLow,ei=ek.current,eo=eT.current,ea=null!==ei;if(!(en<=eh.current)&&eo){var ec=na({mode:eu,target:eo}),ed=ec.atBottom,ep=ec.atEnd,em=ec.atStart,eg=ec.atTop;eR(ed),eB(ep),eZ(em),eG(eg);var ey=eo.offsetHeight,eb=eo.scrollHeight,ew=eM.current,e_=eP.current,eE=ey!==ew,eC=eb!==e_;if(eE&&(eM.current=ey),eC&&(eP.current=eb),eE||eC)eQ.current&&(ef(function(){var Y;return[e7()(Y=["%conScroll%c: Size changed while sticky, calling %cscrollToSticky()%c"]).call(Y,eX(tF("red")),eX(tF("orange")),[{offsetHeightChanged:eE,scrollHeightChanged:eC}]),{nextOffsetHeight:ey,prevOffsetHeight:ew,nextScrollHeight:eb,prevScrollHeight:e_}]}),td());else{var eS=ea&&nu(ei,eu)||ep;eQ.current!==eS&&(ef(function(){var Y,et,en,ec;return[e7()(Y=["%conScroll%c: %csetSticky%c(%c".concat(eS,"%c)")]).call(Y,eX(tF("red")),eX(tF("red")),eX(tF("purple"))),e7()(et=[e7()(en=e7()(ec="(animating = %c".concat(ea,"%c && isEnd = %c")).call(ec,nu(ei,eu),"%c) || atEnd = %c")).call(en,ep,"%c")]).call(et,eX(tF("purple")),eX(tF("purple")),eX(tF("purple")),[{animating:ea,animateTo:ei,atEnd:ep,mode:eu,offsetHeight:eo.offsetHeight,scrollHeight:eo.scrollHeight,sticky:eQ.current,nextSticky:eS}])]}),eY(eS))}var eA=eo.scrollTop;tu()(et=eJ.current).call(et,function(Y){return Y({scrollTop:eA})})}},[ek,ef,eh,eu,eM,eP,eJ,td,eR,eB,eZ,eG,eY,eQ,eT]);(0,eC.useEffect)(function(){if(e_){var Y=!1,en=ni(function(){var et=eT.current,en=null!==ek.current;eQ.current?na({mode:eu,target:et}).atEnd?Y=!1:Y?tt()()-Y>nt&&(en||(eA.current=et.scrollTop,ef(function(){var Y;return e7()(Y=["%cInterval check%c: Should sticky but not at end, calling %cscrollToSticky()%c to scroll"]).call(Y,eX(tF("navy")),eX(tF("orange")))}),td()),Y=!1):Y=tt()():et.scrollHeight<=et.offsetHeight&&!eQ.current&&(ef(function(){var Y;return[e7()(Y=["%cInterval check%c: Container is emptied, setting sticky back to %ctrue%c"]).call(Y,eX(tF("navy")),eX(tF("purple"))),[{offsetHeight:et.offsetHeight,scrollHeight:et.scrollHeight,sticky:eQ.current}]]}),eY(!0))},Math.max(t3,et)||t3);return function(){return clearInterval(en)}}},[ek,et,ef,eu,td,eY,eQ,e_,eT]);var th=(0,eC.useMemo)(function(){var Y=nn[ec]||(nn[ec]=tO({key:"react-scroll-to-bottom--css-"+tL(),nonce:ec}));return function(et){return Y.css(et)+""}},[ec]),tp=(0,eC.useMemo)(function(){return{observeScrollPosition:e0,setTarget:eE,styleToClassName:th}},[e0,eE,th]),tm=(0,eC.useMemo)(function(){return{atBottom:eN,atEnd:eF,atStart:eW,atTop:eH,mode:eu}},[eN,eF,eW,eH,eu]),tg=(0,eC.useMemo)(function(){var Y=null!==eg;return{animating:Y,animatingToEnd:Y&&nu(eg,eu),sticky:e$}},[eg,eu,e$]),tv=(0,eC.useMemo)(function(){return t5(t5({},tm),tg)},[tm,tg]),tb=(0,eC.useMemo)(function(){return{scrollTo:e4,scrollToBottom:e6,scrollToEnd:ta,scrollToStart:tc,scrollToTop:e8}},[e4,e6,ta,tc,e8]);return(0,eC.useEffect)(function(){if(e_){var Y=function(){eP.current=e_.scrollHeight};return e_.addEventListener("focus",Y,{capture:!0,passive:!0}),function(){return e_.removeEventListener("focus",Y)}}},[e_]),ef(function(){var Y;return[e7()(Y=["%cRender%c: Render"]).call(Y,eX(tF("cyan",""))),{animateTo:eg,animating:null!==eg,sticky:e$,target:e_}]}),eC.createElement(ez.Provider,{value:tp},eC.createElement(eS.Provider,{value:tb},eC.createElement(eL.Provider,{value:tv},eC.createElement(ej.Provider,{value:tm},eC.createElement(eI.Provider,{value:tg},en,e_&&eC.createElement(tq,{debounce:ei,name:"scroll",onEvent:tf,target:e_}),e_&&null!==eg&&eC.createElement(tX,{name:"scrollTop",onEnd:e9,target:e_,value:eg}))))))};nd.defaultProps={checkInterval:100,children:void 0,debounce:17,debug:void 0,initialScrollBehavior:"smooth",mode:void 0,nonce:void 0,scroller:t4},nd.propTypes={checkInterval:eE().number,children:eE().any,debounce:eE().number,debug:eE().bool,initialScrollBehavior:eE().oneOf(["auto","smooth"]),mode:eE().oneOf(["bottom","top"]),nonce:eE().string,scroller:eE().func};var nf=nd,nh={height:"100%",overflowY:"auto",width:"100%"},np=function(Y){var et=Y.children,en=Y.className,ei=(0,eC.useContext)(ez).setTarget,eo=eH()(nh);return eC.createElement("div",{className:ew()(eo,(en||"")+""),ref:ei},et)};np.defaultProps={children:void 0,className:void 0},np.propTypes={children:eE().any,className:eE().string};var ng=np,nv={position:"relative"},ny=function(Y){var et=Y.children,en=Y.className,ei=Y.followButtonClassName,eo=Y.scrollViewClassName,ea=eH()(nv);return eC.createElement("div",{className:ew()(ea,(en||"")+"")},eC.createElement(ng,{className:(eo||"")+""},et),eC.createElement(eW,{className:(ei||"")+""}))};ny.defaultProps={children:void 0,className:void 0,followButtonClassName:void 0,scrollViewClassName:void 0},ny.propTypes={children:eE().any,className:eE().string,followButtonClassName:eE().string,scrollViewClassName:eE().string};var nb=function(Y){var et=Y.checkInterval,en=Y.children,ei=Y.className,eo=Y.debounce,ea=Y.debug,eu=Y.followButtonClassName,ec=Y.initialScrollBehavior,ed=Y.mode,ef=Y.nonce,eh=Y.scroller,ep=Y.scrollViewClassName;return eC.createElement(nf,{checkInterval:et,debounce:eo,debug:ea,initialScrollBehavior:ec,mode:ed,nonce:ef,scroller:eh},eC.createElement(ny,{className:ei,followButtonClassName:eu,scrollViewClassName:ep},en))};function nx(){return[eD(2).animating]}function nk(){return[eD(2).animatingToEnd]}function nw(){return[eD(1).atBottom]}function n_(){return[eD(1).atEnd]}function nE(){return[eD(1).atStart]}function nC(){return[eD(1).atTop]}function nT(){return[eD(1).mode]}function nS(Y){var et,en=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Y&&"function"!=typeof Y?console.error('react-scroll-to-bottom: First argument passed to "useObserveScrollPosition" must be a function.'):tD()(en)||console.error('react-scroll-to-bottom: Second argument passed to "useObserveScrollPosition" must be an array if specified.');var ei=eU().observeScrollPosition;(0,eC.useEffect)(function(){return Y&&ei(Y)},e7()(et=[]).call(et,eX(en),[!Y,ei]))}function nA(){return eA().scrollTo}function nM(){return eA().scrollToBottom}function nP(){return eA().scrollToStart}function nj(){return eA().scrollToTop}nb.defaultProps={checkInterval:void 0,children:void 0,className:void 0,debounce:void 0,debug:void 0,followButtonClassName:void 0,initialScrollBehavior:"smooth",mode:void 0,nonce:void 0,scroller:void 0,scrollViewClassName:void 0},nb.propTypes={checkInterval:eE().number,children:eE().any,className:eE().string,debounce:eE().number,debug:eE().bool,followButtonClassName:eE().string,initialScrollBehavior:eE().oneOf(["auto","smooth"]),mode:eE().oneOf(["bottom","top"]),nonce:eE().string,scroller:eE().func,scrollViewClassName:eE().string};var nO=nb;eo()},95552:function(Y,et,en){var ei=en(82248),eo=en(63656),ea=en(21689),eu=en(68458),ec=en(130),ed=en(82690),ef=en(26804);ef.alea=ei,ef.xor128=eo,ef.xorwow=ea,ef.xorshift7=eu,ef.xor4096=ec,ef.tychei=ed,Y.exports=ef},82248:function(Y,et,en){var ei;!function(Y,eo,ea){function eu(Y){var et=this,en=ef();et.next=function(){var Y=2091639*et.s0+23283064365386963e-26*et.c;return et.s0=et.s1,et.s1=et.s2,et.s2=Y-(et.c=0|Y)},et.c=1,et.s0=en(" "),et.s1=en(" "),et.s2=en(" "),et.s0-=en(Y),et.s0<0&&(et.s0+=1),et.s1-=en(Y),et.s1<0&&(et.s1+=1),et.s2-=en(Y),et.s2<0&&(et.s2+=1),en=null}function ec(Y,et){return et.c=Y.c,et.s0=Y.s0,et.s1=Y.s1,et.s2=Y.s2,et}function ed(Y,et){var en=new eu(Y),ei=et&&et.state,eo=en.next;return eo.int32=function(){return 4294967296*en.next()|0},eo.double=function(){return eo()+(2097152*eo()|0)*11102230246251565e-32},eo.quick=eo,ei&&("object"==typeof ei&&ec(ei,en),eo.state=function(){return ec(en,{})}),eo}function ef(){var Y=4022871197;return function(et){et=String(et);for(var en=0;en<et.length;en++){var ei=.02519603282416938*(Y+=et.charCodeAt(en));Y=ei>>>0,ei-=Y,ei*=Y,Y=ei>>>0,ei-=Y,Y+=4294967296*ei}return(Y>>>0)*23283064365386963e-26}}eo&&eo.exports?eo.exports=ed:en.amdD&&en.amdO?void 0!==(ei=(function(){return ed}).call(et,en,et,eo))&&(eo.exports=ei):this.alea=ed}(0,Y=en.nmd(Y),en.amdD)},82690:function(Y,et,en){var ei;!function(Y,eo,ea){function eu(Y){var et=this,en="";et.next=function(){var Y=et.b,en=et.c,ei=et.d,eo=et.a;return Y=Y<<25^Y>>>7^en,en=en-ei|0,ei=ei<<24^ei>>>8^eo,eo=eo-Y|0,et.b=Y=Y<<20^Y>>>12^en,et.c=en=en-ei|0,et.d=ei<<16^en>>>16^eo,et.a=eo-Y|0},et.a=0,et.b=0,et.c=-1640531527,et.d=1367130551,Y===Math.floor(Y)?(et.a=Y/4294967296|0,et.b=0|Y):en+=Y;for(var ei=0;ei<en.length+20;ei++)et.b^=0|en.charCodeAt(ei),et.next()}function ec(Y,et){return et.a=Y.a,et.b=Y.b,et.c=Y.c,et.d=Y.d,et}function ed(Y,et){var en=new eu(Y),ei=et&&et.state,eo=function(){return(en.next()>>>0)/4294967296};return eo.double=function(){do var Y=((en.next()>>>11)+(en.next()>>>0)/4294967296)/2097152;while(0===Y);return Y},eo.int32=en.next,eo.quick=eo,ei&&("object"==typeof ei&&ec(ei,en),eo.state=function(){return ec(en,{})}),eo}eo&&eo.exports?eo.exports=ed:en.amdD&&en.amdO?void 0!==(ei=(function(){return ed}).call(et,en,et,eo))&&(eo.exports=ei):this.tychei=ed}(0,Y=en.nmd(Y),en.amdD)},63656:function(Y,et,en){var ei;!function(Y,eo,ea){function eu(Y){var et=this,en="";et.x=0,et.y=0,et.z=0,et.w=0,et.next=function(){var Y=et.x^et.x<<11;return et.x=et.y,et.y=et.z,et.z=et.w,et.w^=et.w>>>19^Y^Y>>>8},Y===(0|Y)?et.x=Y:en+=Y;for(var ei=0;ei<en.length+64;ei++)et.x^=0|en.charCodeAt(ei),et.next()}function ec(Y,et){return et.x=Y.x,et.y=Y.y,et.z=Y.z,et.w=Y.w,et}function ed(Y,et){var en=new eu(Y),ei=et&&et.state,eo=function(){return(en.next()>>>0)/4294967296};return eo.double=function(){do var Y=((en.next()>>>11)+(en.next()>>>0)/4294967296)/2097152;while(0===Y);return Y},eo.int32=en.next,eo.quick=eo,ei&&("object"==typeof ei&&ec(ei,en),eo.state=function(){return ec(en,{})}),eo}eo&&eo.exports?eo.exports=ed:en.amdD&&en.amdO?void 0!==(ei=(function(){return ed}).call(et,en,et,eo))&&(eo.exports=ei):this.xor128=ed}(0,Y=en.nmd(Y),en.amdD)},130:function(Y,et,en){var ei;!function(Y,eo,ea){function eu(Y){var et=this;et.next=function(){var Y,en,ei=et.w,eo=et.X,ea=et.i;return et.w=ei=ei+1640531527|0,en=eo[ea+34&127],Y=eo[ea=ea+1&127],en^=en<<13,Y^=Y<<17,en^=en>>>15,Y^=Y>>>12,en=eo[ea]=en^Y,et.i=ea,en+(ei^ei>>>16)|0},function(Y,et){var en,ei,eo,ea,eu,ec=[],ed=128;for(et===(0|et)?(ei=et,et=null):(et+="\x00",ei=0,ed=Math.max(ed,et.length)),eo=0,ea=-32;ea<ed;++ea)et&&(ei^=et.charCodeAt((ea+32)%et.length)),0===ea&&(eu=ei),ei^=ei<<10,ei^=ei>>>15,ei^=ei<<4,ei^=ei>>>13,ea>=0&&(eu=eu+1640531527|0,eo=0==(en=ec[127&ea]^=ei+eu)?eo+1:0);for(eo>=128&&(ec[127&(et&&et.length||0)]=-1),eo=127,ea=512;ea>0;--ea)ei=ec[eo+34&127],en=ec[eo=eo+1&127],ei^=ei<<13,en^=en<<17,ei^=ei>>>15,en^=en>>>12,ec[eo]=ei^en;Y.w=eu,Y.X=ec,Y.i=eo}(et,Y)}function ec(Y,et){return et.i=Y.i,et.w=Y.w,et.X=Y.X.slice(),et}function ed(Y,et){null==Y&&(Y=+new Date);var en=new eu(Y),ei=et&&et.state,eo=function(){return(en.next()>>>0)/4294967296};return eo.double=function(){do var Y=((en.next()>>>11)+(en.next()>>>0)/4294967296)/2097152;while(0===Y);return Y},eo.int32=en.next,eo.quick=eo,ei&&(ei.X&&ec(ei,en),eo.state=function(){return ec(en,{})}),eo}eo&&eo.exports?eo.exports=ed:en.amdD&&en.amdO?void 0!==(ei=(function(){return ed}).call(et,en,et,eo))&&(eo.exports=ei):this.xor4096=ed}(0,Y=en.nmd(Y),en.amdD)},68458:function(Y,et,en){var ei;!function(Y,eo,ea){function eu(Y){var et=this;et.next=function(){var Y,en,ei=et.x,eo=et.i;return Y=ei[eo],Y^=Y>>>7,en=Y^Y<<24,Y=ei[eo+1&7],en^=Y^Y>>>10,Y=ei[eo+3&7],en^=Y^Y>>>3,Y=ei[eo+4&7],en^=Y^Y<<7,Y=ei[eo+7&7],Y^=Y<<13,en^=Y^Y<<9,ei[eo]=en,et.i=eo+1&7,en},function(Y,et){var en,ei,eo=[];if(et===(0|et))ei=eo[0]=et;else for(en=0,et=""+et;en<et.length;++en)eo[7&en]=eo[7&en]<<15^et.charCodeAt(en)+eo[en+1&7]<<13;for(;eo.length<8;)eo.push(0);for(en=0;en<8&&0===eo[en];++en);for(ei=8==en?eo[7]=-1:eo[en],Y.x=eo,Y.i=0,en=256;en>0;--en)Y.next()}(et,Y)}function ec(Y,et){return et.x=Y.x.slice(),et.i=Y.i,et}function ed(Y,et){null==Y&&(Y=+new Date);var en=new eu(Y),ei=et&&et.state,eo=function(){return(en.next()>>>0)/4294967296};return eo.double=function(){do var Y=((en.next()>>>11)+(en.next()>>>0)/4294967296)/2097152;while(0===Y);return Y},eo.int32=en.next,eo.quick=eo,ei&&(ei.x&&ec(ei,en),eo.state=function(){return ec(en,{})}),eo}eo&&eo.exports?eo.exports=ed:en.amdD&&en.amdO?void 0!==(ei=(function(){return ed}).call(et,en,et,eo))&&(eo.exports=ei):this.xorshift7=ed}(0,Y=en.nmd(Y),en.amdD)},21689:function(Y,et,en){var ei;!function(Y,eo,ea){function eu(Y){var et=this,en="";et.next=function(){var Y=et.x^et.x>>>2;return et.x=et.y,et.y=et.z,et.z=et.w,et.w=et.v,(et.d=et.d+362437|0)+(et.v=et.v^et.v<<4^(Y^Y<<1))|0},et.x=0,et.y=0,et.z=0,et.w=0,et.v=0,Y===(0|Y)?et.x=Y:en+=Y;for(var ei=0;ei<en.length+64;ei++)et.x^=0|en.charCodeAt(ei),ei==en.length&&(et.d=et.x<<10^et.x>>>4),et.next()}function ec(Y,et){return et.x=Y.x,et.y=Y.y,et.z=Y.z,et.w=Y.w,et.v=Y.v,et.d=Y.d,et}function ed(Y,et){var en=new eu(Y),ei=et&&et.state,eo=function(){return(en.next()>>>0)/4294967296};return eo.double=function(){do var Y=((en.next()>>>11)+(en.next()>>>0)/4294967296)/2097152;while(0===Y);return Y},eo.int32=en.next,eo.quick=eo,ei&&("object"==typeof ei&&ec(ei,en),eo.state=function(){return ec(en,{})}),eo}eo&&eo.exports?eo.exports=ed:en.amdD&&en.amdO?void 0!==(ei=(function(){return ed}).call(et,en,et,eo))&&(eo.exports=ei):this.xorwow=ed}(0,Y=en.nmd(Y),en.amdD)},26804:function(Y,et,en){var ei;!function(eo,ea,eu){var ec,ed=256,ef=6,eh=52,ep="random",em=eu.pow(ed,ef),eg=eu.pow(2,eh),ey=2*eg,eb=ed-1;function ek(Y,et,en){var ei=[],eo=eC(eE((et=!0==et?{entropy:!0}:et||{}).entropy?[Y,eS(ea)]:null==Y?eT():Y,3),ei),ec=new ew(ei),eh=function(){for(var Y=ec.g(ef),et=em,en=0;Y<eg;)Y=(Y+en)*ed,et*=ed,en=ec.g(1);for(;Y>=ey;)Y/=2,et/=2,en>>>=1;return(Y+en)/et};return eh.int32=function(){return 0|ec.g(4)},eh.quick=function(){return ec.g(4)/4294967296},eh.double=eh,eC(eS(ec.S),ea),(et.pass||en||function(Y,et,en,ei){return(ei&&(ei.S&&e_(ei,ec),Y.state=function(){return e_(ec,{})}),en)?(eu[ep]=Y,et):Y})(eh,eo,"global"in et?et.global:this==eu,et.state)}function ew(Y){var et,en=Y.length,ei=this,eo=0,ea=ei.i=ei.j=0,eu=ei.S=[];for(en||(Y=[en++]);eo<ed;)eu[eo]=eo++;for(eo=0;eo<ed;eo++)eu[eo]=eu[ea=eb&ea+Y[eo%en]+(et=eu[eo])],eu[ea]=et;(ei.g=function(Y){for(var et,en=0,eo=ei.i,ea=ei.j,eu=ei.S;Y--;)et=eu[eo=eb&eo+1],en=en*ed+eu[eb&(eu[eo]=eu[ea=eb&ea+et])+(eu[ea]=et)];return ei.i=eo,ei.j=ea,en})(ed)}function e_(Y,et){return et.i=Y.i,et.j=Y.j,et.S=Y.S.slice(),et}function eE(Y,et){var en,ei=[],eo=typeof Y;if(et&&"object"==eo)for(en in Y)try{ei.push(eE(Y[en],et-1))}catch(Y){}return ei.length?ei:"string"==eo?Y:Y+"\x00"}function eC(Y,et){for(var en,ei=Y+"",eo=0;eo<ei.length;)et[eb&eo]=eb&(en^=19*et[eb&eo])+ei.charCodeAt(eo++);return eS(et)}function eT(){try{var Y;return ec&&(Y=ec.randomBytes)?Y=Y(ed):(Y=new Uint8Array(ed),(eo.crypto||eo.msCrypto).getRandomValues(Y)),eS(Y)}catch(Y){var et=eo.navigator,en=et&&et.plugins;return[+new Date,eo,en,eo.screen,eS(ea)]}}function eS(Y){return String.fromCharCode.apply(0,Y)}if(eC(eu.random(),ea),Y.exports){Y.exports=ek;try{ec=en(41402)}catch(Y){}}else void 0!==(ei=(function(){return ek}).call(et,en,et,Y))&&(Y.exports=ei)}("undefined"!=typeof self?self:this,[],Math)},62777:function(Y){"use strict";function et(Y){return"function"==typeof Y}var en=console.error.bind(console);function ei(Y,et,en){var ei=!!Y[et]&&Y.propertyIsEnumerable(et);Object.defineProperty(Y,et,{configurable:!0,enumerable:ei,writable:!0,value:en})}function eo(Y){Y&&Y.logger&&(et(Y.logger)?en=Y.logger:en("new logger isn't a function, not replacing"))}function ea(Y,eo,ea){if(!Y||!Y[eo]){en("no original function "+eo+" to wrap");return}if(!ea){en("no wrapper function"),en(Error().stack);return}if(!et(Y[eo])||!et(ea)){en("original object and wrapper must be functions");return}var eu=Y[eo],ec=ea(eu,eo);return ei(ec,"__original",eu),ei(ec,"__unwrap",function(){Y[eo]===ec&&ei(Y,eo,eu)}),ei(ec,"__wrapped",!0),ei(Y,eo,ec),ec}function eu(Y,et,ei){if(Y)Array.isArray(Y)||(Y=[Y]);else{en("must provide one or more modules to patch"),en(Error().stack);return}if(!(et&&Array.isArray(et))){en("must provide one or more functions to wrap on modules");return}Y.forEach(function(Y){et.forEach(function(et){ea(Y,et,ei)})})}function ec(Y,et){if(!Y||!Y[et]){en("no function to unwrap."),en(Error().stack);return}if(Y[et].__unwrap)return Y[et].__unwrap();en("no original to unwrap to -- has "+et+" already been unwrapped?")}function ed(Y,et){if(Y)Array.isArray(Y)||(Y=[Y]);else{en("must provide one or more modules to patch"),en(Error().stack);return}if(!(et&&Array.isArray(et))){en("must provide one or more functions to unwrap on modules");return}Y.forEach(function(Y){et.forEach(function(et){ec(Y,et)})})}eo.wrap=ea,eo.massWrap=eu,eo.unwrap=ec,eo.massUnwrap=ed,Y.exports=eo},50317:function(Y){!function(et){Y.exports=et()}(function(Y){"use strict";var et=function(Y,et){return Y+et&4294967295},en=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function ei(Y,et){var en=Y[0],ei=Y[1],eo=Y[2],ea=Y[3];en+=(ei&eo|~ei&ea)+et[0]-680876936|0,ea+=((en=(en<<7|en>>>25)+ei|0)&ei|~en&eo)+et[1]-389564586|0,eo+=((ea=(ea<<12|ea>>>20)+en|0)&en|~ea&ei)+et[2]+606105819|0,ei+=((eo=(eo<<17|eo>>>15)+ea|0)&ea|~eo&en)+et[3]-1044525330|0,en+=((ei=(ei<<22|ei>>>10)+eo|0)&eo|~ei&ea)+et[4]-176418897|0,ea+=((en=(en<<7|en>>>25)+ei|0)&ei|~en&eo)+et[5]+1200080426|0,eo+=((ea=(ea<<12|ea>>>20)+en|0)&en|~ea&ei)+et[6]-1473231341|0,ei+=((eo=(eo<<17|eo>>>15)+ea|0)&ea|~eo&en)+et[7]-45705983|0,en+=((ei=(ei<<22|ei>>>10)+eo|0)&eo|~ei&ea)+et[8]+1770035416|0,ea+=((en=(en<<7|en>>>25)+ei|0)&ei|~en&eo)+et[9]-1958414417|0,eo+=((ea=(ea<<12|ea>>>20)+en|0)&en|~ea&ei)+et[10]-42063|0,ei+=((eo=(eo<<17|eo>>>15)+ea|0)&ea|~eo&en)+et[11]-1990404162|0,en+=((ei=(ei<<22|ei>>>10)+eo|0)&eo|~ei&ea)+et[12]+1804603682|0,ea+=((en=(en<<7|en>>>25)+ei|0)&ei|~en&eo)+et[13]-40341101|0,eo+=((ea=(ea<<12|ea>>>20)+en|0)&en|~ea&ei)+et[14]-1502002290|0,ei+=((eo=(eo<<17|eo>>>15)+ea|0)&ea|~eo&en)+et[15]+1236535329|0,en+=((ei=(ei<<22|ei>>>10)+eo|0)&ea|eo&~ea)+et[1]-165796510|0,ea+=((en=(en<<5|en>>>27)+ei|0)&eo|ei&~eo)+et[6]-1069501632|0,eo+=((ea=(ea<<9|ea>>>23)+en|0)&ei|en&~ei)+et[11]+643717713|0,ei+=((eo=(eo<<14|eo>>>18)+ea|0)&en|ea&~en)+et[0]-373897302|0,en+=((ei=(ei<<20|ei>>>12)+eo|0)&ea|eo&~ea)+et[5]-701558691|0,ea+=((en=(en<<5|en>>>27)+ei|0)&eo|ei&~eo)+et[10]+38016083|0,eo+=((ea=(ea<<9|ea>>>23)+en|0)&ei|en&~ei)+et[15]-660478335|0,ei+=((eo=(eo<<14|eo>>>18)+ea|0)&en|ea&~en)+et[4]-405537848|0,en+=((ei=(ei<<20|ei>>>12)+eo|0)&ea|eo&~ea)+et[9]+568446438|0,ea+=((en=(en<<5|en>>>27)+ei|0)&eo|ei&~eo)+et[14]-1019803690|0,eo+=((ea=(ea<<9|ea>>>23)+en|0)&ei|en&~ei)+et[3]-187363961|0,ei+=((eo=(eo<<14|eo>>>18)+ea|0)&en|ea&~en)+et[8]+1163531501|0,en+=((ei=(ei<<20|ei>>>12)+eo|0)&ea|eo&~ea)+et[13]-1444681467|0,ea+=((en=(en<<5|en>>>27)+ei|0)&eo|ei&~eo)+et[2]-51403784|0,eo+=((ea=(ea<<9|ea>>>23)+en|0)&ei|en&~ei)+et[7]+1735328473|0,ei+=((eo=(eo<<14|eo>>>18)+ea|0)&en|ea&~en)+et[12]-1926607734|0,en+=((ei=(ei<<20|ei>>>12)+eo|0)^eo^ea)+et[5]-378558|0,ea+=((en=(en<<4|en>>>28)+ei|0)^ei^eo)+et[8]-2022574463|0,eo+=((ea=(ea<<11|ea>>>21)+en|0)^en^ei)+et[11]+1839030562|0,ei+=((eo=(eo<<16|eo>>>16)+ea|0)^ea^en)+et[14]-35309556|0,en+=((ei=(ei<<23|ei>>>9)+eo|0)^eo^ea)+et[1]-1530992060|0,ea+=((en=(en<<4|en>>>28)+ei|0)^ei^eo)+et[4]+1272893353|0,eo+=((ea=(ea<<11|ea>>>21)+en|0)^en^ei)+et[7]-155497632|0,ei+=((eo=(eo<<16|eo>>>16)+ea|0)^ea^en)+et[10]-1094730640|0,en+=((ei=(ei<<23|ei>>>9)+eo|0)^eo^ea)+et[13]+681279174|0,ea+=((en=(en<<4|en>>>28)+ei|0)^ei^eo)+et[0]-358537222|0,eo+=((ea=(ea<<11|ea>>>21)+en|0)^en^ei)+et[3]-722521979|0,ei+=((eo=(eo<<16|eo>>>16)+ea|0)^ea^en)+et[6]+76029189|0,en+=((ei=(ei<<23|ei>>>9)+eo|0)^eo^ea)+et[9]-640364487|0,ea+=((en=(en<<4|en>>>28)+ei|0)^ei^eo)+et[12]-421815835|0,eo+=((ea=(ea<<11|ea>>>21)+en|0)^en^ei)+et[15]+530742520|0,ei+=((eo=(eo<<16|eo>>>16)+ea|0)^ea^en)+et[2]-995338651|0,ei=(ei<<23|ei>>>9)+eo|0,en+=(eo^(ei|~ea))+et[0]-198630844|0,en=(en<<6|en>>>26)+ei|0,ea+=(ei^(en|~eo))+et[7]+1126891415|0,ea=(ea<<10|ea>>>22)+en|0,eo+=(en^(ea|~ei))+et[14]-1416354905|0,eo=(eo<<15|eo>>>17)+ea|0,ei+=(ea^(eo|~en))+et[5]-57434055|0,ei=(ei<<21|ei>>>11)+eo|0,en+=(eo^(ei|~ea))+et[12]+1700485571|0,en=(en<<6|en>>>26)+ei|0,ea+=(ei^(en|~eo))+et[3]-1894986606|0,ea=(ea<<10|ea>>>22)+en|0,eo+=(en^(ea|~ei))+et[10]-1051523|0,eo=(eo<<15|eo>>>17)+ea|0,ei+=(ea^(eo|~en))+et[1]-2054922799|0,ei=(ei<<21|ei>>>11)+eo|0,en+=(eo^(ei|~ea))+et[8]+1873313359|0,en=(en<<6|en>>>26)+ei|0,ea+=(ei^(en|~eo))+et[15]-30611744|0,ea=(ea<<10|ea>>>22)+en|0,eo+=(en^(ea|~ei))+et[6]-1560198380|0,eo=(eo<<15|eo>>>17)+ea|0,ei+=(ea^(eo|~en))+et[13]+1309151649|0,ei=(ei<<21|ei>>>11)+eo|0,en+=(eo^(ei|~ea))+et[4]-145523070|0,en=(en<<6|en>>>26)+ei|0,ea+=(ei^(en|~eo))+et[11]-1120210379|0,ea=(ea<<10|ea>>>22)+en|0,eo+=(en^(ea|~ei))+et[2]+718787259|0,eo=(eo<<15|eo>>>17)+ea|0,ei+=(ea^(eo|~en))+et[9]-343485551|0,ei=(ei<<21|ei>>>11)+eo|0,Y[0]=en+Y[0]|0,Y[1]=ei+Y[1]|0,Y[2]=eo+Y[2]|0,Y[3]=ea+Y[3]|0}function eo(Y){var et,en=[];for(et=0;et<64;et+=4)en[et>>2]=Y.charCodeAt(et)+(Y.charCodeAt(et+1)<<8)+(Y.charCodeAt(et+2)<<16)+(Y.charCodeAt(et+3)<<24);return en}function ea(Y){var et,en=[];for(et=0;et<64;et+=4)en[et>>2]=Y[et]+(Y[et+1]<<8)+(Y[et+2]<<16)+(Y[et+3]<<24);return en}function eu(Y){var et,en,ea,eu,ec,ed,ef=Y.length,eh=[1732584193,-271733879,-1732584194,271733878];for(et=64;et<=ef;et+=64)ei(eh,eo(Y.substring(et-64,et)));for(en=(Y=Y.substring(et-64)).length,ea=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],et=0;et<en;et+=1)ea[et>>2]|=Y.charCodeAt(et)<<(et%4<<3);if(ea[et>>2]|=128<<(et%4<<3),et>55)for(ei(eh,ea),et=0;et<16;et+=1)ea[et]=0;return ec=parseInt((eu=(eu=8*ef).toString(16).match(/(.*?)(.{0,8})$/))[2],16),ed=parseInt(eu[1],16)||0,ea[14]=ec,ea[15]=ed,ei(eh,ea),eh}function ec(Y){var et,en,eo,eu,ec,ed,ef=Y.length,eh=[1732584193,-271733879,-1732584194,271733878];for(et=64;et<=ef;et+=64)ei(eh,ea(Y.subarray(et-64,et)));for(en=(Y=et-64<ef?Y.subarray(et-64):new Uint8Array(0)).length,eo=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],et=0;et<en;et+=1)eo[et>>2]|=Y[et]<<(et%4<<3);if(eo[et>>2]|=128<<(et%4<<3),et>55)for(ei(eh,eo),et=0;et<16;et+=1)eo[et]=0;return ec=parseInt((eu=(eu=8*ef).toString(16).match(/(.*?)(.{0,8})$/))[2],16),ed=parseInt(eu[1],16)||0,eo[14]=ec,eo[15]=ed,ei(eh,eo),eh}function ed(Y){var et,ei="";for(et=0;et<4;et+=1)ei+=en[Y>>8*et+4&15]+en[Y>>8*et&15];return ei}function ef(Y){var et;for(et=0;et<Y.length;et+=1)Y[et]=ed(Y[et]);return Y.join("")}function eh(Y){return/[\u0080-\uFFFF]/.test(Y)&&(Y=unescape(encodeURIComponent(Y))),Y}function ep(Y,et){var en,ei=Y.length,eo=new ArrayBuffer(ei),ea=new Uint8Array(eo);for(en=0;en<ei;en+=1)ea[en]=Y.charCodeAt(en);return et?ea:eo}function em(Y){return String.fromCharCode.apply(null,new Uint8Array(Y))}function eg(Y,et,en){var ei=new Uint8Array(Y.byteLength+et.byteLength);return ei.set(new Uint8Array(Y)),ei.set(new Uint8Array(et),Y.byteLength),en?ei:ei.buffer}function ey(Y){var et,en=[],ei=Y.length;for(et=0;et<ei-1;et+=2)en.push(parseInt(Y.substr(et,2),16));return String.fromCharCode.apply(String,en)}function eb(){this.reset()}return"5d41402abc4b2a76b9719d911017c592"!==ef(eu("hello"))&&(et=function(Y,et){var en=(65535&Y)+(65535&et);return(Y>>16)+(et>>16)+(en>>16)<<16|65535&en}),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function et(Y,et){return(Y=0|Y||0)<0?Math.max(Y+et,0):Math.min(Y,et)}ArrayBuffer.prototype.slice=function(en,ei){var eo,ea,eu,ec,ed=this.byteLength,ef=et(en,ed),eh=ed;return(Y!==ei&&(eh=et(ei,ed)),ef>eh)?new ArrayBuffer(0):(eo=eh-ef,ea=new ArrayBuffer(eo),eu=new Uint8Array(ea),ec=new Uint8Array(this,ef,eo),eu.set(ec),ea)}}(),eb.prototype.append=function(Y){return this.appendBinary(eh(Y)),this},eb.prototype.appendBinary=function(Y){this._buff+=Y,this._length+=Y.length;var et,en=this._buff.length;for(et=64;et<=en;et+=64)ei(this._hash,eo(this._buff.substring(et-64,et)));return this._buff=this._buff.substring(et-64),this},eb.prototype.end=function(Y){var et,en,ei=this._buff,eo=ei.length,ea=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(et=0;et<eo;et+=1)ea[et>>2]|=ei.charCodeAt(et)<<(et%4<<3);return this._finish(ea,eo),en=ef(this._hash),Y&&(en=ey(en)),this.reset(),en},eb.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},eb.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},eb.prototype.setState=function(Y){return this._buff=Y.buff,this._length=Y.length,this._hash=Y.hash,this},eb.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},eb.prototype._finish=function(Y,et){var en,eo,ea,eu=et;if(Y[eu>>2]|=128<<(eu%4<<3),eu>55)for(ei(this._hash,Y),eu=0;eu<16;eu+=1)Y[eu]=0;eo=parseInt((en=(en=8*this._length).toString(16).match(/(.*?)(.{0,8})$/))[2],16),ea=parseInt(en[1],16)||0,Y[14]=eo,Y[15]=ea,ei(this._hash,Y)},eb.hash=function(Y,et){return eb.hashBinary(eh(Y),et)},eb.hashBinary=function(Y,et){var en=ef(eu(Y));return et?ey(en):en},eb.ArrayBuffer=function(){this.reset()},eb.ArrayBuffer.prototype.append=function(Y){var et,en=eg(this._buff.buffer,Y,!0),eo=en.length;for(this._length+=Y.byteLength,et=64;et<=eo;et+=64)ei(this._hash,ea(en.subarray(et-64,et)));return this._buff=new Uint8Array(et-64<eo?en.buffer.slice(et-64):0),this},eb.ArrayBuffer.prototype.end=function(Y){var et,en,ei=this._buff,eo=ei.length,ea=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(et=0;et<eo;et+=1)ea[et>>2]|=ei[et]<<(et%4<<3);return this._finish(ea,eo),en=ef(this._hash),Y&&(en=ey(en)),this.reset(),en},eb.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},eb.ArrayBuffer.prototype.getState=function(){var Y=eb.prototype.getState.call(this);return Y.buff=em(Y.buff),Y},eb.ArrayBuffer.prototype.setState=function(Y){return Y.buff=ep(Y.buff,!0),eb.prototype.setState.call(this,Y)},eb.ArrayBuffer.prototype.destroy=eb.prototype.destroy,eb.ArrayBuffer.prototype._finish=eb.prototype._finish,eb.ArrayBuffer.hash=function(Y,et){var en=ef(ec(new Uint8Array(Y)));return et?ey(en):en},eb})},6511:function(Y,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0});var en=function(){function Y(Y,et,en,ei,eo,ea,eu,ec,ed,ef){void 0===eo&&(eo=[]),void 0===ea&&(ea=""),void 0===eu&&(eu=null),void 0===ec&&(ec=null),void 0===ed&&(ed=null),void 0===ef&&(ef=null),this.onDefaultValueFallback=null,this.name=Y,this.value=JSON.parse(JSON.stringify(null!=et?et:{})),this.ruleID=null!=en?en:"",this.secondaryExposures=eo,this.allocatedExperimentName=ea,this.evaluationDetails=ei,this.onDefaultValueFallback=eu,this.groupName=ec,this.idType=ed,this.isExperimentActive=ef}return Y.prototype.get=function(Y,et,en){var ei,eo,ea=this.getValue(Y,et);if(null==ea)return et;var eu=Array.isArray(et)?"array":typeof et,ec=Array.isArray(ea)?"array":typeof ea;return en?en(ea)?ea:(null===(ei=this.onDefaultValueFallback)||void 0===ei||ei.call(this,this,Y,eu,ec),et):null==et||eu===ec?ea:(null===(eo=this.onDefaultValueFallback)||void 0===eo||eo.call(this,this,Y,eu,ec),et)},Y.prototype.getValue=function(Y,et){return null==Y?this.value:(null==et&&(et=null),null==this.value[Y])?et:this.value[Y]},Y.prototype.getRuleID=function(){return this.ruleID},Y.prototype.getGroupName=function(){return this.groupName},Y.prototype.getIDType=function(){return this.idType},Y.prototype.getName=function(){return this.name},Y.prototype.getEvaluationDetails=function(){return this.evaluationDetails},Y.prototype._getSecondaryExposures=function(){return this.secondaryExposures},Y.prototype._getAllocatedExperimentName=function(){return this.allocatedExperimentName},Y.prototype.getIsExperimentActive=function(){return this.isExperimentActive},Y}();et.default=en},20520:function(Y,et,en){"use strict";var ei=this&&this.__awaiter||function(Y,et,en,ei){function eo(Y){return Y instanceof en?Y:new en(function(et){et(Y)})}return new(en||(en=Promise))(function(en,ea){function eu(Y){try{ed(ei.next(Y))}catch(Y){ea(Y)}}function ec(Y){try{ed(ei.throw(Y))}catch(Y){ea(Y)}}function ed(Y){Y.done?en(Y.value):eo(Y.value).then(eu,ec)}ed((ei=ei.apply(Y,et||[])).next())})},eo=this&&this.__generator||function(Y,et){var en,ei,eo,ea,eu={label:0,sent:function(){if(1&eo[0])throw eo[1];return eo[1]},trys:[],ops:[]};return ea={next:ec(0),throw:ec(1),return:ec(2)},"function"==typeof Symbol&&(ea[Symbol.iterator]=function(){return this}),ea;function ec(Y){return function(et){return ed([Y,et])}}function ed(ea){if(en)throw TypeError("Generator is already executing.");for(;eu;)try{if(en=1,ei&&(eo=2&ea[0]?ei.return:ea[0]?ei.throw||((eo=ei.return)&&eo.call(ei),0):ei.next)&&!(eo=eo.call(ei,ea[1])).done)return eo;switch(ei=0,eo&&(ea=[2&ea[0],eo.value]),ea[0]){case 0:case 1:eo=ea;break;case 4:return eu.label++,{value:ea[1],done:!1};case 5:eu.label++,ei=ea[1],ea=[0];continue;case 7:ea=eu.ops.pop(),eu.trys.pop();continue;default:if(!(eo=(eo=eu.trys).length>0&&eo[eo.length-1])&&(6===ea[0]||2===ea[0])){eu=0;continue}if(3===ea[0]&&(!eo||ea[1]>eo[0]&&ea[1]<eo[3])){eu.label=ea[1];break}if(6===ea[0]&&eu.label<eo[1]){eu.label=eo[1],eo=ea;break}if(eo&&eu.label<eo[2]){eu.label=eo[2],eu.ops.push(ea);break}eo[2]&&eu.ops.pop(),eu.trys.pop();continue}ea=et.call(Y,eu)}catch(Y){ea=[6,Y],ei=0}finally{en=eo=0}if(5&ea[0])throw ea[1];return{value:ea[0]?ea[1]:void 0,done:!0}}},ea=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0}),et.ExceptionEndpoint=void 0;var eu=en(18092),ec=ea(en(52923)),ed=ea(en(70919));et.ExceptionEndpoint="https://statsigapi.net/v1/sdk_exception";var ef=30,eh=1e4,ep=function(){function Y(Y){this.sdkKey=Y,this.seen=new Set;var et=Math.floor(Math.random()*eh);this.setupDiagnostics(0===et?ef:0)}return Y.prototype.setStatsigMetadata=function(Y){this.statsigMetadata=Y},Y.prototype.swallow=function(Y,et,en){void 0===en&&(en={}),this.capture(Y,et,function(){},en)},Y.prototype.capture=function(Y,et,en,ei){var eo=this,ea=void 0===ei?{}:ei,eu=ea.getExtraData,ec=ea.configName,ed=null;try{ed=this.beginMarker(Y);var ef=et(),eh=!0;if(ef instanceof Promise)return ef.catch(function(et){return eh=!1,eo.onCaught(Y,et,en,eu)}).then(function(et){return eo.endMarker(Y,eh,ed),et});return this.endMarker(Y,!0,ed,ec),ef}catch(et){return this.endMarker(Y,!1,ed,ec),this.onCaught(Y,et,en,eu)}},Y.prototype.logError=function(Y,en,ea){var eu=this;(function(){return ei(eu,void 0,void 0,function(){var ei,eu,ec,ef,eh,ep,em,eg,ey;return eo(this,function(eo){switch(eo.label){case 0:if(eo.trys.push([0,4,,5]),"function"!=typeof ea)return[3,2];return[4,ea()];case 1:return eu=eo.sent(),[3,3];case 2:eu=null,eo.label=3;case 3:if(ei=eu,ef=(ec=(0,ed.default)(en)).name,eh=ec.trace,this.seen.has(ef))return[2];return this.seen.add(ef),em=JSON.stringify({tag:Y,exception:ef,info:eh,statsigMetadata:ep=null!==(ey=this.statsigMetadata)&&void 0!==ey?ey:{},extra:null!=ei?ei:{}}),[2,fetch(et.ExceptionEndpoint,{method:"POST",headers:{"STATSIG-API-KEY":this.sdkKey,"STATSIG-SDK-TYPE":String(ep.sdkType),"STATSIG-SDK-VERSION":String(ep.sdkVersion),"Content-Type":"application/json; charset=UTF-8"},body:em})];case 4:return eg=eo.sent(),[3,5];case 5:return[2]}})})})().catch(function(){})},Y.prototype.setupDiagnostics=function(Y){ec.default.setMaxMarkers("api_call",Y)},Y.prototype.beginMarker=function(Y){var et=ec.default.mark.api_call(Y);if(!et)return null;var en=Y+"_"+ec.default.getMarkerCount("api_call");return et.start({markerID:en},"api_call")?en:null},Y.prototype.endMarker=function(Y,et,en,ei){var eo=ec.default.mark.api_call(Y);en&&eo&&eo.end({markerID:en,success:et,configName:ei},"api_call")},Y.prototype.onCaught=function(Y,et,en,ei){if(et instanceof eu.StatsigUninitializedError||et instanceof eu.StatsigInvalidArgumentError)throw et;return console.error("[Statsig] An unexpected exception occurred.",et),this.logError(Y,et,ei),en()},Y}();et.default=ep},18092:function(Y,et){"use strict";var en=this&&this.__extends||function(){var Y=function(et,en){return(Y=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(Y,et){Y.__proto__=et}||function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])})(et,en)};return function(et,en){if("function"!=typeof en&&null!==en)throw TypeError("Class extends value "+String(en)+" is not a constructor or null");function ei(){this.constructor=et}Y(et,en),et.prototype=null===en?Object.create(en):(ei.prototype=en.prototype,new ei)}}();Object.defineProperty(et,"__esModule",{value:!0}),et.StatsigInvalidArgumentError=et.StatsigUninitializedError=void 0;var ei=function(Y){function et(en){var ei=Y.call(this,null!=en?en:"Call and wait for initialize() to finish first.")||this;return Object.setPrototypeOf(ei,et.prototype),ei}return en(et,Y),et}(Error);et.StatsigUninitializedError=ei;var eo=function(Y){function et(en){var ei=Y.call(this,en)||this;return Object.setPrototypeOf(ei,et.prototype),ei}return en(et,Y),et}(Error);et.StatsigInvalidArgumentError=eo},27635:function(Y,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0});var en=function(){function Y(Y,et,en,ei,eo,ea,eu,ec,ed,ef){void 0===eo&&(eo=null),void 0===ea&&(ea=[]),void 0===eu&&(eu=[]),void 0===ec&&(ec=""),void 0===ed&&(ed=[]),void 0===ef&&(ef=null),this.logParameterFunction=eo,this.name=Y,this.value=JSON.parse(JSON.stringify(null!=et?et:{})),this.ruleID=null!=en?en:"",this.evaluationDetails=ei,this.secondaryExposures=ea,this.undelegatedSecondaryExposures=eu,this.allocatedExperimentName=ec,this.explicitParameters=ed,this.groupName=ef}return Y._create=function(et,en,ei,eo,ea,eu,ec,ed,ef,eh){return void 0===ea&&(ea=null),void 0===eu&&(eu=[]),void 0===ec&&(ec=[]),void 0===ed&&(ed=""),void 0===ef&&(ef=[]),void 0===eh&&(eh=null),new Y(et,en,ei,eo,ea,eu,ec,ed,ef,eh)},Y.prototype.get=function(Y,et,en){var ei=this,eo=this.value[Y];if(null==eo)return et;var ea=function(){return ei.logLayerParameterExposure(Y),eo};return en?en(eo)?ea():et:null==et||typeof eo==typeof et&&Array.isArray(et)===Array.isArray(eo)?ea():et},Y.prototype.getValue=function(Y,et){void 0==et&&(et=null);var en=this.value[Y];return null!=en&&this.logLayerParameterExposure(Y),null!=en?en:et},Y.prototype.getRuleID=function(){return this.ruleID},Y.prototype.getGroupName=function(){return this.groupName},Y.prototype.getName=function(){return this.name},Y.prototype.getEvaluationDetails=function(){return this.evaluationDetails},Y.prototype._getSecondaryExposures=function(){return this.secondaryExposures},Y.prototype._getUndelegatedSecondaryExposures=function(){return this.undelegatedSecondaryExposures},Y.prototype._getAllocatedExperimentName=function(){return this.allocatedExperimentName},Y.prototype._getExplicitParameters=function(){return this.explicitParameters},Y.prototype._getEvaluationDetails=function(){return this.evaluationDetails},Y.prototype.logLayerParameterExposure=function(Y){var et;null===(et=this.logParameterFunction)||void 0===et||et.call(this,this,Y)},Y}();et.default=en},90172:function(Y,et){"use strict";var en=this&&this.__assign||function(){return(en=Object.assign||function(Y){for(var et,en=1,ei=arguments.length;en<ei;en++)for(var eo in et=arguments[en])Object.prototype.hasOwnProperty.call(et,eo)&&(Y[eo]=et[eo]);return Y}).apply(this,arguments)};Object.defineProperty(et,"__esModule",{value:!0});var ei=function(){function Y(Y){this.user=null,this.value=null,this.metadata=null,this.eventName=Y,this.statsigMetadata={},this.time=Date.now()}return Y.prototype.getName=function(){return this.eventName},Y.prototype.setValue=function(Y){this.value=Y},Y.prototype.setMetadata=function(Y){this.metadata=Y},Y.prototype.addStatsigMetadata=function(Y,et){this.statsigMetadata[Y]=et},Y.prototype.setUser=function(Y){this.user=en({},Y),delete this.user.privateAttributes},Y.prototype.setSecondaryExposures=function(Y){void 0===Y&&(Y=[]),this.secondaryExposures=Y},Y.prototype.toJsonObject=function(){var Y;return{eventName:this.eventName,user:this.user,value:this.value,metadata:this.metadata,time:this.time,statsigMetadata:this.statsigMetadata,secondaryExposures:null!==(Y=this.secondaryExposures)&&void 0!==Y?Y:void 0}},Y}();et.default=ei},41370:function(Y,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0}),et.version=void 0,et.version="4.39.3"},5129:function(Y,et,en){"use strict";var ei=this&&this.__assign||function(){return(ei=Object.assign||function(Y){for(var et,en=1,ei=arguments.length;en<ei;en++)for(var eo in et=arguments[en])Object.prototype.hasOwnProperty.call(et,eo)&&(Y[eo]=et[eo]);return Y}).apply(this,arguments)},eo=this&&this.__createBinding||(Object.create?function(Y,et,en,ei){void 0===ei&&(ei=en),Object.defineProperty(Y,ei,{enumerable:!0,get:function(){return et[en]}})}:function(Y,et,en,ei){void 0===ei&&(ei=en),Y[ei]=et[en]}),ea=this&&this.__setModuleDefault||(Object.create?function(Y,et){Object.defineProperty(Y,"default",{enumerable:!0,value:et})}:function(Y,et){Y.default=et}),eu=this&&this.__importStar||function(Y){if(Y&&Y.__esModule)return Y;var et={};if(null!=Y)for(var en in Y)"default"!==en&&Object.prototype.hasOwnProperty.call(Y,en)&&eo(et,Y,en);return ea(et,Y),et},ec=this&&this.__awaiter||function(Y,et,en,ei){function eo(Y){return Y instanceof en?Y:new en(function(et){et(Y)})}return new(en||(en=Promise))(function(en,ea){function eu(Y){try{ed(ei.next(Y))}catch(Y){ea(Y)}}function ec(Y){try{ed(ei.throw(Y))}catch(Y){ea(Y)}}function ed(Y){Y.done?en(Y.value):eo(Y.value).then(eu,ec)}ed((ei=ei.apply(Y,et||[])).next())})},ed=this&&this.__generator||function(Y,et){var en,ei,eo,ea,eu={label:0,sent:function(){if(1&eo[0])throw eo[1];return eo[1]},trys:[],ops:[]};return ea={next:ec(0),throw:ec(1),return:ec(2)},"function"==typeof Symbol&&(ea[Symbol.iterator]=function(){return this}),ea;function ec(Y){return function(et){return ed([Y,et])}}function ed(ea){if(en)throw TypeError("Generator is already executing.");for(;eu;)try{if(en=1,ei&&(eo=2&ea[0]?ei.return:ea[0]?ei.throw||((eo=ei.return)&&eo.call(ei),0):ei.next)&&!(eo=eo.call(ei,ea[1])).done)return eo;switch(ei=0,eo&&(ea=[2&ea[0],eo.value]),ea[0]){case 0:case 1:eo=ea;break;case 4:return eu.label++,{value:ea[1],done:!1};case 5:eu.label++,ei=ea[1],ea=[0];continue;case 7:ea=eu.ops.pop(),eu.trys.pop();continue;default:if(!(eo=(eo=eu.trys).length>0&&eo[eo.length-1])&&(6===ea[0]||2===ea[0])){eu=0;continue}if(3===ea[0]&&(!eo||ea[1]>eo[0]&&ea[1]<eo[3])){eu.label=ea[1];break}if(6===ea[0]&&eu.label<eo[1]){eu.label=eo[1],eo=ea;break}if(eo&&eu.label<eo[2]){eu.label=eo[2],eu.ops.push(ea);break}eo[2]&&eu.ops.pop(),eu.trys.pop();continue}ea=et.call(Y,eu)}catch(Y){ea=[6,Y],ei=0}finally{en=eo=0}if(5&ea[0])throw ea[1];return{value:ea[0]?ea[1]:void 0,done:!0}}},ef=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0});var eh=ef(en(6511)),ep=ef(en(20520)),em=en(18092),eg=ef(en(27635)),ey=ef(en(90172)),eb=ef(en(96039)),ek=ef(en(21887)),ew=ef(en(85763)),e_=ef(en(12900)),eE=eu(en(20532)),eC=en(98235),eT=ef(en(39252)),eS=ef(en(59873)),eA=ef(en(52923)),eM=ef(en(18357)),eP=en(47477),ej=ef(en(70919)),eO=64,eI=2048,eN=function(){function Y(et,en,ei){var eo=this;if(this.appState=null,this.currentAppState=null,this.onCacheLoadedForReact=null,this.initCalled=!1,this.pendingInitPromise=null,this.optionalLoggingSetup=!1,this.prefetchedUsersByCacheKey={},this.logLayerParameterExposureForLayer=function(Y,et,en){void 0===en&&(en=!1);var ei="",ea=Y._getUndelegatedSecondaryExposures(),eu=Y._getExplicitParameters().includes(et);eu&&(ei=Y._getAllocatedExperimentName(),ea=Y._getSecondaryExposures()),eo.logger.logLayerExposure(eo.getCurrentUser(),Y.getName(),Y.getRuleID(),ea,ei,et,eu,Y._getEvaluationDetails(),en)},(null==ei?void 0:ei.localMode)!==!0&&("string"!=typeof et||!et.startsWith("client-")))throw new em.StatsigInvalidArgumentError("Invalid key provided. You must use a Client SDK Key from the Statsig console to initialize the sdk");if(this.startTime=(0,eP.now)(),this.options=new e_.default(ei),this.logger=new ek.default(this),eA.default.initialize({options:this.options}),this.errorBoundary=new ep.default(et),this.ready=!1,this.sdkKey=et,this.consoleLogger=new eM.default(this.options.getLogLevel()),eS.default.disabled=this.options.getDisableLocalStorage(),this.identity=new eb.default(this.normalizeUser(null!=en?en:null),this.options.getOverrideStableID(),Y.reactNativeUUID),this.network=new ew.default(this),this.store=new eE.default(this,this.options.getInitializeValues()),this.errorBoundary.setStatsigMetadata(this.getStatsigMetadata()),null!=this.options.getInitializeValues()){var ea=this.options.getInitCompletionCallback();this.ready=!0,this.initCalled=!0,setTimeout(function(){return eo.delayedSetup()},20),this.handleOptionalLogging(),ea&&ea((0,eP.now)()-this.startTime,!0,null)}}return Y.prototype.getErrorBoundary=function(){return this.errorBoundary},Y.prototype.getNetwork=function(){return this.network},Y.prototype.getStore=function(){return this.store},Y.prototype.getLogger=function(){return this.logger},Y.prototype.getOptions=function(){return this.options},Y.prototype.getSDKKey=function(){var Y=this;return this.errorBoundary.capture("getSDKKey",function(){var et;return null!==(et=Y.sdkKey)&&void 0!==et?et:""},function(){return""})},Y.prototype.getCurrentUser=function(){var Y=this;return this.errorBoundary.capture("getCurrentUser",function(){return Y.identity.getUser()},function(){return null})},Y.prototype.getCurrentUserCacheKey=function(){var Y=this;return this.errorBoundary.capture("getCurrentUserCacheKey",function(){return(0,eC.getUserCacheKey)(Y.getStableID(),Y.getCurrentUser())},function(){return{v1:"",v2:""}})},Y.prototype.getCurrentUserUnitID=function(Y){var et=this;return this.errorBoundary.capture("getCurrentUserUnitID",function(){return et.getUnitID(et.getCurrentUser(),Y)},function(){return""})},Y.prototype.getCurrentUserID=function(){var Y=this;return this.errorBoundary.capture("getCurrentUserID",function(){return Y.getUnitID(Y.getCurrentUser(),"userid")},function(){return""})},Y.prototype.getUnitID=function(Y,et){var en,ei,eo;return Y?"userid"===et.toLowerCase()?null!==(ei=null===(en=Y.userID)||void 0===en?void 0:en.toString())&&void 0!==ei?ei:null:(Y.customIDs&&(null!==(eo=Y.customIDs[et])&&void 0!==eo||Y.customIDs[et.toLowerCase()]),null):null},Y.prototype.getStatsigMetadata=function(){var Y=this;return this.errorBoundary.capture("getStatsigMetadata",function(){return Y.identity.getStatsigMetadata()},function(){return{}})},Y.prototype.getSDKType=function(){var Y=this;return this.errorBoundary.capture("getSDKType",function(){return Y.identity.getSDKType()},function(){return""})},Y.prototype.getSDKVersion=function(){var Y=this;return this.errorBoundary.capture("getSDKVersion",function(){return Y.identity.getSDKVersion()},function(){return""})},Y.prototype.getConsoleLogger=function(){return this.consoleLogger},Y.prototype.delayedSetup=function(){var Y=this;this.errorBoundary.swallow("delayedSetup",function(){null!=Y.options.getInitializeValues()&&Y.fireAndForgetPrefechUsers(),Y.identity.saveStableID(),Y.logger.sendSavedRequests().catch(function(et){return Y.errorBoundary.logError("sendSavedRequests:delayedSetup",et)})})},Y.prototype.setInitializeValues=function(Y){var et=this;this.errorBoundary.capture("setInitializeValues",function(){et.store.bootstrap(Y);var en=null;et.ready||(et.ready=!0,et.initCalled=!0,en=et.options.getInitCompletionCallback()),et.handleOptionalLogging(),et.logger.sendSavedRequests().catch(function(Y){return et.errorBoundary.logError("sendSavedRequests:setInitializeValues",Y)}),en&&en((0,eP.now)()-et.startTime,!0,null)},function(){et.ready=!0,et.initCalled=!0;var Y=et.options.getInitCompletionCallback();Y&&Y((0,eP.now)()-et.startTime,!1,"Caught an exception during setInitializeValues")})},Y.prototype.initializeAsync=function(){return ec(this,void 0,void 0,function(){var Y=this;return ed(this,function(et){return[2,this.errorBoundary.capture("initializeAsync",function(){return ec(Y,void 0,void 0,function(){var Y,et,en=this;return ed(this,function(ei){switch(ei.label){case 0:if(null!=this.pendingInitPromise)return[2,this.pendingInitPromise];if(this.ready)return[2,Promise.resolve()];if(eA.default.mark.overall.start({}),this.initCalled=!0,!eT.default.asyncStorage)return[3,3];return[4,this.identity.initAsync()];case 1:return ei.sent(),[4,this.store.loadAsync()];case 2:ei.sent(),ei.label=3;case 3:if(null===(et=this.onCacheLoadedForReact)||void 0===et||et.call(this),this.appState&&this.appState.addEventListener&&"function"==typeof this.appState.addEventListener&&(this.currentAppState=this.appState.currentState,this.appState.addEventListener("change",this.handleAppStateChange.bind(this))),this.options.getLocalModeEnabled())return[2,Promise.resolve()];return Y=this.identity.getUser(),this.pendingInitPromise=this.fetchAndSaveValues(Y,this.options.getPrefetchUsers(),this.options.getInitTimeoutMs()).then(function(){return eA.default.mark.overall.end({success:!0}),{success:!0,message:null}}).catch(function(Y){en.errorBoundary.logError("initializeAsync:fetchAndSaveValues",Y);var et=(0,ej.default)(Y).message;return eA.default.mark.overall.end({success:!1,message:et}),{success:!1,message:null!=et?et:null}}).then(function(Y){var et=Y.success,ei=Y.message,eo=en.options.getInitCompletionCallback();eo&&eo((0,eP.now)()-en.startTime,et,ei)}).finally(function(){return ec(en,void 0,void 0,function(){return ed(this,function(et){return this.pendingInitPromise=null,this.ready=!0,this.delayedSetup(),this.logger.logDiagnostics(Y,"initialize"),[2]})})}),this.handleOptionalLogging(),[2,this.pendingInitPromise]}})})},function(){return Y.ready=!0,Y.initCalled=!0,Promise.resolve()})]})})},Y.prototype.prefetchUsers=function(Y){return ec(this,void 0,void 0,function(){var et=this;return ed(this,function(en){return[2,this.errorBoundary.capture("prefetchUsers",function(){if(Y&&0!=Y.length)return et.fetchAndSaveValues(null,Y,0)},function(){return Promise.resolve()})]})})},Y.prototype.getEvaluationDetails=function(){var Y=this;return this.errorBoundary.capture("getEvaluationDetails",function(){return Y.store.getGlobalEvaluationDetails()},function(){return{time:Date.now(),reason:eE.EvaluationReason.Error}})},Y.prototype.checkGate=function(Y,et){var en=this;return void 0===et&&(et=!1),this.errorBoundary.capture("checkGate",function(){var ei=en.checkGateImpl(Y,et);en.logGateExposureImpl(Y,ei);var eo=en.options.getGateEvaluationCallback();return eo&&eo(Y,ei.gate.value,{withExposureLoggingDisabled:!1}),!0===ei.gate.value},function(){return!1},{configName:Y})},Y.prototype.checkGateWithExposureLoggingDisabled=function(Y,et){var en=this;return void 0===et&&(et=!1),this.errorBoundary.capture("checkGateWithExposureLoggingDisabled",function(){var ei=en.checkGateImpl(Y,et),eo=en.options.getGateEvaluationCallback();return eo&&eo(Y,ei.gate.value,{withExposureLoggingDisabled:!0}),!0===ei.gate.value},function(){return!1})},Y.prototype.logGateExposure=function(Y){var et=this;this.errorBoundary.swallow("logGateExposure",function(){et.logGateExposureImpl(Y)})},Y.prototype.getConfig=function(Y,et){var en=this;return void 0===et&&(et=!1),this.errorBoundary.capture("getConfig",function(){var ei=en.getConfigImpl(Y,et);return en.logConfigExposureImpl(Y,ei),ei},function(){return en.getEmptyConfig(Y)},{configName:Y})},Y.prototype.getConfigWithExposureLoggingDisabled=function(Y,et){var en=this;return void 0===et&&(et=!1),this.errorBoundary.capture("getConfig",function(){return en.getConfigImpl(Y,et)},function(){return en.getEmptyConfig(Y)})},Y.prototype.logConfigExposure=function(Y){var et=this;this.errorBoundary.swallow("logConfigExposure",function(){et.logConfigExposureImpl(Y)})},Y.prototype.getExperiment=function(Y,et,en){var ei=this;return void 0===et&&(et=!1),void 0===en&&(en=!1),this.errorBoundary.capture("getExperiment",function(){var eo=ei.getExperimentImpl(Y,et,en);return ei.logExperimentExposureImpl(Y,et,eo),eo},function(){return ei.getEmptyConfig(Y)},{configName:Y})},Y.prototype.getExperimentWithExposureLoggingDisabled=function(Y,et,en){var ei=this;return void 0===et&&(et=!1),void 0===en&&(en=!1),this.errorBoundary.capture("getExperimentWithExposureLoggingDisabled",function(){return ei.getExperimentImpl(Y,et,en)},function(){return ei.getEmptyConfig(Y)})},Y.prototype.logExperimentExposure=function(Y,et){var en=this;this.errorBoundary.swallow("logExperimentExposure",function(){en.logExperimentExposureImpl(Y,et)})},Y.prototype.getLayer=function(Y,et){var en=this;return void 0===et&&(et=!1),this.errorBoundary.capture("getLayer",function(){return en.getLayerImpl(en.logLayerParameterExposureForLayer,Y,et)},function(){return eg.default._create(Y,{},"",en.getEvalutionDetailsForError())},{configName:Y})},Y.prototype.getLayerWithExposureLoggingDisabled=function(Y,et){var en=this;return void 0===et&&(et=!1),this.errorBoundary.capture("getLayerWithExposureLoggingDisabled",function(){return en.getLayerImpl(null,Y,et)},function(){return eg.default._create(Y,{},"",en.getEvalutionDetailsForError())})},Y.prototype.logLayerParameterExposure=function(Y,et,en){var ei=this;void 0===en&&(en=!1),this.errorBoundary.swallow("logLayerParameterExposure",function(){var eo=ei.getLayerImpl(null,Y,en);ei.logLayerParameterExposureForLayer(eo,et,!0)})},Y.prototype.logEvent=function(Y,et,en){var ei=this;void 0===et&&(et=null),void 0===en&&(en=null),this.errorBoundary.swallow("logEvent",function(){if(!ei.logger||!ei.sdkKey)throw new em.StatsigUninitializedError("Must initialize() before logging events.");if("string"!=typeof Y||0===Y.length){ei.consoleLogger.error("Event not logged. No valid eventName passed.");return}ei.shouldTrimParam(Y,eO)&&(ei.consoleLogger.info("eventName is too long, trimming to "+eO+" characters."),Y=Y.substring(0,eO)),"string"==typeof et&&ei.shouldTrimParam(et,eO)&&(ei.consoleLogger.info("value is too long, trimming to "+eO+"."),et=et.substring(0,eO)),ei.shouldTrimParam(en,eI)&&(ei.consoleLogger.info("metadata is too big. Dropping the metadata."),en={error:"not logged due to size too large"});var eo=new ey.default(Y);eo.setValue(et),eo.setMetadata(en),eo.setUser(ei.getCurrentUser()),ei.logger.log(eo)})},Y.prototype.updateUserWithValues=function(Y,et){var en,ei=this;return this.errorBoundary.capture("updateUserWithValues",function(){var eo=Date.now();if(!ei.initializeCalled())throw new em.StatsigUninitializedError("Call initialize() first.");return en=function(Y,et){var en=ei.options.getUpdateUserCompletionCallback();null==en||en(Date.now()-eo,Y,et)},ei.identity.updateUser(ei.normalizeUser(Y)),ei.store.bootstrap(et),en(!0,null),!0},function(){return null==en||en(!1,"Failed to update user. An unexpected error occured."),!1})},Y.prototype.updateUser=function(Y){return ec(this,void 0,void 0,function(){var et,en=this;return ed(this,function(ei){return[2,this.errorBoundary.capture("updateUser",function(){return ec(en,void 0,void 0,function(){var en,ei,eo,ea,eu,ec=this;return ed(this,function(ed){switch(ed.label){case 0:if(en=Date.now(),!this.initializeCalled())throw new em.StatsigUninitializedError("Call initialize() first.");if(et=function(Y,et){var ei=ec.options.getUpdateUserCompletionCallback();null==ei||ei(Date.now()-en,Y,et)},this.identity.updateUser(this.normalizeUser(Y)),ei=this.getCurrentUserCacheKey(),eo=!!this.prefetchedUsersByCacheKey[ei.v2],ea=this.store.updateUser(eo),eA.default.clearContext("api_call"),this.logger.resetDedupeKeys(),null!=ea&&(eo||this.isCacheValidForFetchMode(ea)))return et(!0,null),[2,Promise.resolve(!0)];if(!(null!=this.pendingInitPromise))return[3,2];return[4,this.pendingInitPromise];case 1:ed.sent(),ed.label=2;case 2:if(this.options.getLocalModeEnabled())return et(!0,null),[2,Promise.resolve(!0)];return eu=this.identity.getUser(),this.pendingInitPromise=this.fetchAndSaveValues(eu).finally(function(){ec.pendingInitPromise=null}),[2,this.pendingInitPromise.then(function(){return et(!0,null),Promise.resolve(!0)}).catch(function(Y){return et(!1,"Failed to update user: "+Y),Promise.resolve(!1)})]}})})},function(){return null==et||et(!1,"Failed to update user. An unexpected error occured."),Promise.resolve(!1)})]})})},Y.prototype.shutdown=function(){var Y=this;this.errorBoundary.swallow("shutdown",function(){Y.logger.shutdown(),Y.appState&&Y.appState.removeEventListener&&"function"==typeof Y.appState.removeEventListener&&Y.appState.removeEventListener("change",Y.handleAppStateChange.bind(Y)),eS.default.cleanup()})},Y.prototype.overrideGate=function(Y,et){var en=this;this.errorBoundary.swallow("overrideGate",function(){en.ensureStoreLoaded(),en.store.overrideGate(Y,et)})},Y.prototype.overrideConfig=function(Y,et){var en=this;this.errorBoundary.swallow("overrideConfig",function(){en.ensureStoreLoaded(),en.store.overrideConfig(Y,et)})},Y.prototype.overrideLayer=function(Y,et){var en=this;this.errorBoundary.swallow("overrideLayer",function(){en.ensureStoreLoaded(),en.store.overrideLayer(Y,et)})},Y.prototype.removeGateOverride=function(Y){var et=this;this.errorBoundary.swallow("removeGateOverride",function(){et.ensureStoreLoaded(),et.store.removeGateOverride(Y)})},Y.prototype.removeConfigOverride=function(Y){var et=this;this.errorBoundary.swallow("removeConfigOverride",function(){et.ensureStoreLoaded(),et.store.removeConfigOverride(Y)})},Y.prototype.removeLayerOverride=function(Y){var et=this;this.errorBoundary.swallow("removeLayerOverride",function(){et.ensureStoreLoaded(),et.store.removeLayerOverride(Y)})},Y.prototype.removeOverride=function(Y){var et=this;this.errorBoundary.swallow("removeOverride",function(){et.ensureStoreLoaded(),et.store.removeGateOverride(Y)})},Y.prototype.getOverrides=function(){var Y=this;return this.errorBoundary.capture("getOverrides",function(){return Y.ensureStoreLoaded(),Y.store.getAllOverrides().gates},function(){return{}})},Y.prototype.getAllOverrides=function(){var Y=this;return this.errorBoundary.capture("getAllOverrides",function(){return Y.ensureStoreLoaded(),Y.store.getAllOverrides()},function(){return{gates:{},configs:{},layers:{}}})},Y.prototype.getStableID=function(){var Y=this;return this.errorBoundary.capture("getStableID",function(){return Y.identity.getStatsigMetadata().stableID},function(){return""})},Y.prototype.initializeCalled=function(){return this.initCalled},Y.prototype.setSDKPackageInfo=function(Y){null!=Y&&(this.identity.setSDKPackageInfo(Y),this.errorBoundary.setStatsigMetadata(this.getStatsigMetadata()))},Y.setAsyncStorage=function(Y){null!=Y&&(eT.default.asyncStorage=Y)},Y.prototype.setOnCacheLoadedReactCallback=function(Y){this.onCacheLoadedForReact=null!=Y?Y:null},Y.setReactNativeUUID=function(et){null!=et&&(Y.reactNativeUUID=et)},Y.prototype.setAppState=function(Y){null!=Y&&(this.appState=Y)},Y.prototype.setNativeModules=function(Y){null!=Y&&this.identity.setNativeModules(Y)},Y.prototype.setPlatform=function(Y){null!=Y&&this.identity.setPlatform(Y)},Y.prototype.setRNDeviceInfo=function(Y){null!=Y&&this.identity.setRNDeviceInfo(Y)},Y.prototype.setExpoConstants=function(Y){null!=Y&&this.identity.setExpoConstants(Y)},Y.prototype.setExpoDevice=function(Y){null!=Y&&this.identity.setExpoDevice(Y)},Y.prototype.isCacheValidForFetchMode=function(Y){return"cache-or-network"===this.options.getFetchMode()&&Y>this.startTime},Y.prototype.handleOptionalLogging=function(){var Y=this,et=this.options.getDisableErrorLogging(),en=this.options.getDisableAutoMetricsLogging();if((!et||!en)&&!this.optionalLoggingSetup&&"undefined"!=typeof window&&window&&window.addEventListener){var ei=this.identity.getUser();if(et||window.addEventListener("error",function(et){var en,eo=et.error;if(null!=eo&&"object"==typeof eo)try{eo=JSON.stringify(eo)}catch(Y){eo="Failed to stringify Error"}Y.logger.logAppError(ei,null!==(en=et.message)&&void 0!==en?en:"",{filename:et.filename,lineno:et.lineno,colno:et.colno,error_obj:eo})}),!en){if("undefined"==typeof document||!document||"undefined"==typeof setTimeout||!setTimeout)return;var eo=function(){setTimeout(function(){Y.logger.logAppMetrics(ei)},1e3)};"complete"===document.readyState?eo():window.addEventListener("load",function(){return eo()})}this.optionalLoggingSetup=!0}},Y.prototype.handleAppStateChange=function(Y){var et,en=this;"active"===this.currentAppState&&Y.match(/inactive|background/)?this.logger.flush(!0):(null===(et=this.currentAppState)||void 0===et?void 0:et.match(/inactive|background/))&&"active"===Y&&this.logger.sendSavedRequests().catch(function(Y){return en.errorBoundary.logError("sendSavedRequests:handleAppStateChange",Y)}),this.currentAppState=Y},Y.prototype.shouldTrimParam=function(Y,et){return null!=Y&&("string"==typeof Y?Y.length>et:"object"==typeof Y?JSON.stringify(Y).length>et:"number"==typeof Y&&Y.toString().length>et)},Y.prototype.normalizePrefetchUsers=function(Y){var et=this;return null==Y?[]:Y.map(function(Y){return et.normalizeUser(Y)})},Y.prototype.normalizeUser=function(Y){var et={};try{et=JSON.parse(JSON.stringify(Y))}catch(Y){throw new em.StatsigInvalidArgumentError("User object must be convertable to JSON string.")}return et=this.trimUserObjIfNeeded(et),null!=this.options.getEnvironment()&&(et.statsigEnvironment=this.options.getEnvironment()),et},Y.prototype.trimUserObjIfNeeded=function(Y){var et,en;return null==Y?{}:(this.shouldTrimParam(null!==(et=Y.userID)&&void 0!==et?et:null,eO)&&(this.consoleLogger.info("User ID is too large, trimming to "+eO+"characters"),Y.userID=null===(en=Y.userID)||void 0===en?void 0:en.toString().substring(0,eO)),this.shouldTrimParam(Y,eI)&&(Y.custom={},this.shouldTrimParam(Y,eI)?(this.consoleLogger.info("User object is too large, only keeping the user ID."),Y={userID:Y.userID}):this.consoleLogger.info("User object is too large, dropping the custom property.")),Y)},Y.prototype.ensureStoreLoaded=function(){if(!this.store.isLoaded())throw new em.StatsigUninitializedError("Call and wait for initialize() to finish first.")},Y.prototype.getEvalutionDetailsForError=function(){return{time:Date.now(),reason:eE.EvaluationReason.Error}},Y.prototype.fetchAndSaveValues=function(Y,et,en){return void 0===et&&(et=[]),void 0===en&&(en=this.options.getInitTimeoutMs()),ec(this,void 0,void 0,function(){var eo,ea,eu,ef=this;return ed(this,function(eh){return et.length>5&&this.consoleLogger.info("Cannot prefetch more than 5 users."),eo=this.normalizePrefetchUsers(et).slice(0,5).reduce(function(Y,et){return Y[(0,eC.getUserCacheKey)(ef.getStableID(),et).v2]=et,Y},{}),ea=null,0===et.length&&(ea=this.store.getLastUpdateTime(Y)),eu=this.store.getPreviousDerivedFields(Y),[2,this.network.fetchValues(Y,ea,en,et.length>0?eo:void 0,eu).eventually(function(et){(null==et?void 0:et.has_updates)&&ef.store.saveWithoutUpdatingClientState(Y,et).catch(function(Y){return ef.errorBoundary.logError("fetchAndSaveValues:eventually",Y)})}).then(function(et){return ec(ef,void 0,void 0,function(){var en=this;return ed(this,function(ea){return[2,this.errorBoundary.swallow("fetchAndSaveValues",function(){return ec(en,void 0,void 0,function(){return ed(this,function(en){switch(en.label){case 0:if(eA.default.mark.intialize.process.start({}),!(null==et?void 0:et.has_updates))return[3,2];return[4,this.store.save(Y,et)];case 1:return en.sent(),[3,3];case 2:(null==et?void 0:et.is_no_content)&&this.store.setEvaluationReason(eE.EvaluationReason.NetworkNotModified),en.label=3;case 3:return this.prefetchedUsersByCacheKey=ei(ei({},this.prefetchedUsersByCacheKey),eo),eA.default.mark.intialize.process.end({success:!0}),[2]}})})})]})})})]})})},Y.prototype.checkGateImpl=function(Y,et){if(this.ensureStoreLoaded(),"string"!=typeof Y||0===Y.length)throw new em.StatsigInvalidArgumentError("Must pass a valid string as the gateName.");return this.store.checkGate(Y,et)},Y.prototype.logGateExposureImpl=function(Y,et){var en=!et,ei=null!=et?et:this.checkGateImpl(Y,!1),eo=ei.gate;this.logger.logGateExposure(this.getCurrentUser(),Y,eo.value,eo.rule_id,eo.secondary_exposures,ei.evaluationDetails,en)},Y.prototype.getConfigImpl=function(Y,et){if(this.ensureStoreLoaded(),"string"!=typeof Y||0===Y.length)throw new em.StatsigInvalidArgumentError("Must pass a valid string as the configName.");return this.store.getConfig(Y,et)},Y.prototype.logConfigExposureImpl=function(Y,et){var en=!et,ei=null!=et?et:this.getConfigImpl(Y,!1);this.logger.logConfigExposure(this.getCurrentUser(),Y,ei.getRuleID(),ei._getSecondaryExposures(),ei.getEvaluationDetails(),en)},Y.prototype.getExperimentImpl=function(Y,et,en){if(this.ensureStoreLoaded(),"string"!=typeof Y||0===Y.length)throw new em.StatsigInvalidArgumentError("Must pass a valid string as the experimentName.");return this.store.getExperiment(Y,et,en)},Y.prototype.logExperimentExposureImpl=function(Y,et,en){var ei=!en,eo=null!=en?en:this.getExperimentImpl(Y,et,!1);this.logger.logConfigExposure(this.getCurrentUser(),Y,eo.getRuleID(),eo._getSecondaryExposures(),eo.getEvaluationDetails(),ei)},Y.prototype.getLayerImpl=function(Y,et,en){if(this.ensureStoreLoaded(),"string"!=typeof et||0===et.length)throw new em.StatsigInvalidArgumentError("Must pass a valid string as the layerName.");return this.store.getLayer(Y,et,en)},Y.prototype.getEmptyConfig=function(Y){return new eh.default(Y,{},"",this.getEvalutionDetailsForError())},Y.prototype.fireAndForgetPrefechUsers=function(){this.prefetchUsers(this.options.getPrefetchUsers()).catch(function(){})},Y}();et.default=eN},96039:function(Y,et,en){"use strict";var ei=this&&this.__awaiter||function(Y,et,en,ei){function eo(Y){return Y instanceof en?Y:new en(function(et){et(Y)})}return new(en||(en=Promise))(function(en,ea){function eu(Y){try{ed(ei.next(Y))}catch(Y){ea(Y)}}function ec(Y){try{ed(ei.throw(Y))}catch(Y){ea(Y)}}function ed(Y){Y.done?en(Y.value):eo(Y.value).then(eu,ec)}ed((ei=ei.apply(Y,et||[])).next())})},eo=this&&this.__generator||function(Y,et){var en,ei,eo,ea,eu={label:0,sent:function(){if(1&eo[0])throw eo[1];return eo[1]},trys:[],ops:[]};return ea={next:ec(0),throw:ec(1),return:ec(2)},"function"==typeof Symbol&&(ea[Symbol.iterator]=function(){return this}),ea;function ec(Y){return function(et){return ed([Y,et])}}function ed(ea){if(en)throw TypeError("Generator is already executing.");for(;eu;)try{if(en=1,ei&&(eo=2&ea[0]?ei.return:ea[0]?ei.throw||((eo=ei.return)&&eo.call(ei),0):ei.next)&&!(eo=eo.call(ei,ea[1])).done)return eo;switch(ei=0,eo&&(ea=[2&ea[0],eo.value]),ea[0]){case 0:case 1:eo=ea;break;case 4:return eu.label++,{value:ea[1],done:!1};case 5:eu.label++,ei=ea[1],ea=[0];continue;case 7:ea=eu.ops.pop(),eu.trys.pop();continue;default:if(!(eo=(eo=eu.trys).length>0&&eo[eo.length-1])&&(6===ea[0]||2===ea[0])){eu=0;continue}if(3===ea[0]&&(!eo||ea[1]>eo[0]&&ea[1]<eo[3])){eu.label=ea[1];break}if(6===ea[0]&&eu.label<eo[1]){eu.label=eo[1],eo=ea;break}if(eo&&eu.label<eo[2]){eu.label=eo[2],eu.ops.push(ea);break}eo[2]&&eu.ops.pop(),eu.trys.pop();continue}ea=et.call(Y,eu)}catch(Y){ea=[6,Y],ei=0}finally{en=eo=0}if(5&ea[0])throw ea[1];return{value:ea[0]?ea[1]:void 0,done:!0}}},ea=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0});var eu=en(68093),ec=en(36395),ed=ea(en(39252)),ef=ea(en(59873)),eh=en(41370),ep=function(){function Y(Y,et,en){this.platform=null,this.nativeModules=null,this.sdkType="js-client",this.reactNativeUUID=en,this.user=Y,this.sdkVersion=eh.version,this.statsigMetadata={sdkType:this.sdkType,sdkVersion:this.sdkVersion};var ei,eo=et;ed.default.asyncStorage||(eo=null!==(ei=null!=eo?eo:ef.default.getItem(ec.STATSIG_STABLE_ID_KEY))&&void 0!==ei?ei:this.getUUID()),eo&&(this.statsigMetadata.stableID=eo)}return Y.prototype.saveStableID=function(){null!=this.statsigMetadata.stableID&&ef.default.setItem(ec.STATSIG_STABLE_ID_KEY,this.statsigMetadata.stableID)},Y.prototype.initAsync=function(){return ei(this,void 0,void 0,function(){var Y;return eo(this,function(et){switch(et.label){case 0:if(Y=this.statsigMetadata.stableID)return[3,2];return[4,ed.default.getItemAsync(ec.STATSIG_STABLE_ID_KEY)];case 1:Y=null!=(Y=et.sent())?Y:this.getUUID(),et.label=2;case 2:return ed.default.setItemAsync(ec.STATSIG_STABLE_ID_KEY,Y).catch(function(){}),this.statsigMetadata.stableID=Y,[2,this]}})})},Y.prototype.getSDKType=function(){return this.sdkType},Y.prototype.getSDKVersion=function(){return this.sdkVersion},Y.prototype.getStatsigMetadata=function(){return this.statsigMetadata.sdkType=this.sdkType,this.statsigMetadata.sdkVersion=this.sdkVersion,this.statsigMetadata},Y.prototype.getUser=function(){return this.user},Y.prototype.updateUser=function(Y){this.user=Y},Y.prototype.setSDKPackageInfo=function(Y){this.sdkType=Y.sdkType,this.sdkVersion=Y.sdkVersion},Y.prototype.setPlatform=function(Y){this.platform=Y,this.updateMetadataFromNativeModules()},Y.prototype.setNativeModules=function(Y){this.nativeModules=Y,this.updateMetadataFromNativeModules()},Y.prototype.updateMetadataFromNativeModules=function(){var Y,et,en,ei,eo,ea,eu;null!=this.platform&&null!=this.nativeModules&&((null===(Y=this.platform.OS)||void 0===Y?void 0:Y.toLocaleLowerCase())==="android"?this.statsigMetadata.locale=null===(et=this.nativeModules.I18nManager)||void 0===et?void 0:et.localeIdentifier:(null===(en=this.platform.OS)||void 0===en?void 0:en.toLocaleLowerCase())==="ios"&&(this.statsigMetadata.locale=(null===(eo=null===(ei=this.nativeModules.SettingsManager)||void 0===ei?void 0:ei.settings)||void 0===eo?void 0:eo.AppleLocale)||(null===(eu=null===(ea=this.nativeModules.SettingsManager)||void 0===ea?void 0:ea.settings)||void 0===eu?void 0:eu.AppleLanguages[0])))},Y.prototype.getUUID=function(){var Y,et;return null!==(et=null===(Y=this.reactNativeUUID)||void 0===Y?void 0:Y.v4())&&void 0!==et?et:(0,eu.v4)()},Y.prototype.setRNDeviceInfo=function(Y){var et,en,ei,eo,ea;this.statsigMetadata.appVersion=null!==(et=Y.getVersion())&&void 0!==et?et:"",this.statsigMetadata.systemVersion=null!==(en=Y.getSystemVersion())&&void 0!==en?en:"",this.statsigMetadata.systemName=null!==(ei=Y.getSystemName())&&void 0!==ei?ei:"",this.statsigMetadata.deviceModelName=null!==(eo=Y.getModel())&&void 0!==eo?eo:"",this.statsigMetadata.deviceModel=null!==(ea=Y.getDeviceId())&&void 0!==ea?ea:""},Y.prototype.setExpoConstants=function(Y){var et,en;this.statsigMetadata.appVersion=null!==(en=null!==(et=Y.nativeAppVersion)&&void 0!==et?et:Y.nativeBuildVersion)&&void 0!==en?en:""},Y.prototype.setExpoDevice=function(Y){var et,en,ei,eo;this.statsigMetadata.systemVersion=null!==(et=Y.osVersion)&&void 0!==et?et:"",this.statsigMetadata.systemName=null!==(en=Y.osName)&&void 0!==en?en:"",this.statsigMetadata.deviceModelName=null!==(ei=Y.modelName)&&void 0!==ei?ei:"",this.statsigMetadata.deviceModel=null!==(eo=Y.modelId)&&void 0!==eo?eo:""},Y}();et.default=ep},21887:function(Y,et,en){"use strict";var ei=this&&this.__awaiter||function(Y,et,en,ei){function eo(Y){return Y instanceof en?Y:new en(function(et){et(Y)})}return new(en||(en=Promise))(function(en,ea){function eu(Y){try{ed(ei.next(Y))}catch(Y){ea(Y)}}function ec(Y){try{ed(ei.throw(Y))}catch(Y){ea(Y)}}function ed(Y){Y.done?en(Y.value):eo(Y.value).then(eu,ec)}ed((ei=ei.apply(Y,et||[])).next())})},eo=this&&this.__generator||function(Y,et){var en,ei,eo,ea,eu={label:0,sent:function(){if(1&eo[0])throw eo[1];return eo[1]},trys:[],ops:[]};return ea={next:ec(0),throw:ec(1),return:ec(2)},"function"==typeof Symbol&&(ea[Symbol.iterator]=function(){return this}),ea;function ec(Y){return function(et){return ed([Y,et])}}function ed(ea){if(en)throw TypeError("Generator is already executing.");for(;eu;)try{if(en=1,ei&&(eo=2&ea[0]?ei.return:ea[0]?ei.throw||((eo=ei.return)&&eo.call(ei),0):ei.next)&&!(eo=eo.call(ei,ea[1])).done)return eo;switch(ei=0,eo&&(ea=[2&ea[0],eo.value]),ea[0]){case 0:case 1:eo=ea;break;case 4:return eu.label++,{value:ea[1],done:!1};case 5:eu.label++,ei=ea[1],ea=[0];continue;case 7:ea=eu.ops.pop(),eu.trys.pop();continue;default:if(!(eo=(eo=eu.trys).length>0&&eo[eo.length-1])&&(6===ea[0]||2===ea[0])){eu=0;continue}if(3===ea[0]&&(!eo||ea[1]>eo[0]&&ea[1]<eo[3])){eu.label=ea[1];break}if(6===ea[0]&&eu.label<eo[1]){eu.label=eo[1],eo=ea;break}if(eo&&eu.label<eo[2]){eu.label=eo[2],eu.ops.push(ea);break}eo[2]&&eu.ops.pop(),eu.trys.pop();continue}ea=et.call(Y,eu)}catch(Y){ea=[6,Y],ei=0}finally{en=eo=0}if(5&ea[0])throw ea[1];return{value:ea[0]?ea[1]:void 0,done:!0}}},ea=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0});var eu=ea(en(90172)),ec=en(85763),ed=en(36395),ef=ea(en(52923)),eh=ea(en(39252)),ep=ea(en(59873)),em="statsig::",eg=em+"config_exposure",ey=em+"layer_exposure",eb=em+"gate_exposure",ek=em+"log_event_failed",ew=em+"app_error",e_=em+"app_metrics::page_load_time",eE=em+"app_metrics::dom_interactive_time",eC=em+"diagnostics",eT=em+"default_value_type_mismatch",eS=432e6,eA=100,eM=1e3,eP=1024e3,ej=10,eO=function(){function Y(Y){this.failedLogEventCount=0,this.sdkInternal=Y,this.queue=[],this.flushInterval=null,this.loggedErrors=new Set,this.failedLogEvents=[],this.exposureDedupeKeys={},this.failedLogEventCount=0,this.init()}return Y.prototype.init=function(){var Y=this;"undefined"!=typeof window&&"function"==typeof window.addEventListener&&(window.addEventListener("blur",function(){return Y.flush(!0)}),window.addEventListener("beforeunload",function(){return Y.flush(!0)}),window.addEventListener("load",function(){setTimeout(function(){return Y.flush()},100),setTimeout(function(){return Y.flush()},1e3)})),"undefined"!=typeof document&&"function"==typeof document.addEventListener&&document.addEventListener("visibilitychange",function(){Y.flush("visible"!==document.visibilityState)}),!this.sdkInternal.getOptions().getIgnoreWindowUndefined()&&("undefined"==typeof window||null==window)||this.sdkInternal.getOptions().getLocalModeEnabled()||(this.flushInterval=setInterval(function(){Y.flush()},this.sdkInternal.getOptions().getLoggingIntervalMillis()),setTimeout(function(){return Y.flush()},100),setTimeout(function(){return Y.flush()},1e3))},Y.prototype.log=function(Y){try{if(!this.sdkInternal.getOptions().getDisableCurrentPageLogging()&&"undefined"!=typeof window&&null!=window&&"object"==typeof window.location&&"string"==typeof window.location.href){var et=window.location.href.split(/[?#]/);(null==et?void 0:et.length)>0&&Y.addStatsigMetadata("currentPage",et[0])}}catch(Y){}this.queue.push(Y.toJsonObject()),this.queue.length>=this.sdkInternal.getOptions().getLoggingBufferMaxSize()&&this.flush()},Y.prototype.resetDedupeKeys=function(){this.exposureDedupeKeys={}},Y.prototype.shouldLogExposure=function(Y){var et=this.exposureDedupeKeys[Y],en=Date.now();return null==et?(this.exposureDedupeKeys[Y]=en,!0):!(et>=en-6e5)&&(this.exposureDedupeKeys[Y]=en,!0)},Y.prototype.logGateExposure=function(Y,et,en,ei,eo,ea,ec){var ed=et+String(en)+ei+ea.reason;if(this.shouldLogExposure(ed)){var ef={gate:et,gateValue:String(en),ruleID:ei,reason:ea.reason,time:ea.time};ec&&(ef.isManualExposure="true");var eh=new eu.default(eb);eh.setUser(Y),eh.setMetadata(ef),eh.setSecondaryExposures(eo),this.log(eh)}},Y.prototype.logConfigExposure=function(Y,et,en,ei,eo,ea){var ec=et+en+eo.reason;if(this.shouldLogExposure(ec)){var ed={config:et,ruleID:en,reason:eo.reason,time:eo.time};ea&&(ed.isManualExposure="true");var ef=new eu.default(eg);ef.setUser(Y),ef.setMetadata(ed),ef.setSecondaryExposures(ei),this.log(ef)}},Y.prototype.logLayerExposure=function(Y,et,en,ei,eo,ea,ec,ed,ef){var eh=[et,en,eo,ea,String(ec),ed.reason].join("|");if(this.shouldLogExposure(eh)){var ep={config:et,ruleID:en,allocatedExperiment:eo,parameterName:ea,isExplicitParameter:String(ec),reason:ed.reason,time:ed.time};ef&&(ep.isManualExposure="true");var em=new eu.default(ey);em.setUser(Y),em.setMetadata(ep),em.setSecondaryExposures(ei),this.log(em)}},Y.prototype.logConfigDefaultValueFallback=function(Y,et,en){var ei=new eu.default(eT);ei.setUser(Y),ei.setValue(et),ei.setMetadata(en),this.log(ei),this.loggedErrors.add(et),this.sdkInternal.getConsoleLogger().error(et)},Y.prototype.logAppError=function(Y,et,en){var ei=et.substring(0,128);if(!this.loggedErrors.has(ei)&&!(this.loggedErrors.size>ej)){var eo=new eu.default(ew);eo.setUser(Y),eo.setValue(ei),eo.setMetadata(en),this.log(eo),this.loggedErrors.add(ei)}},Y.prototype.logDiagnostics=function(Y,et){if(!ef.default.disabled){var en=ef.default.getMarkers(et);ef.default.clearContext(et);var ei=this.makeDiagnosticsEvent(Y,{markers:en,context:et});this.log(ei)}},Y.prototype.logAppMetrics=function(Y){if("function"==typeof(null===(et=null==window?void 0:window.performance)||void 0===et?void 0:et.getEntriesByType)){var et,en=window.performance.getEntriesByType("navigation");if(en&&!(en.length<1)){var ei=en[0],eo={statsig_dimensions:{url:ei.name}},ea=new eu.default(e_);if(ea.setUser(Y),ea.setValue(ei.duration),ea.setMetadata(eo),this.log(ea),ei instanceof PerformanceNavigationTiming){var ec=new eu.default(eE);ec.setUser(Y),ec.setValue(ei.domInteractive-ei.startTime),ec.setMetadata(eo),this.log(ec)}}}},Y.prototype.shutdown=function(){this.flushInterval&&(clearInterval(this.flushInterval),this.flushInterval=null),this.flush(!0)},Y.prototype.flush=function(Y){var et=this;if(void 0===Y&&(Y=!1),this.addErrorBoundaryDiagnostics(),0!==this.queue.length){var en=this.queue;if(this.queue=[],Y&&!this.sdkInternal.getNetwork().supportsKeepalive()&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.sendBeacon)!=null){this.sdkInternal.getNetwork().sendLogBeacon({events:en,statsigMetadata:this.sdkInternal.getStatsigMetadata()})||(this.queue=en.concat(this.queue),this.queue.length>0&&(this.addFailedRequest({events:this.queue,statsigMetadata:this.sdkInternal.getStatsigMetadata(),time:Date.now()}),this.queue=[]),this.saveFailedRequests());return}this.sdkInternal.getNetwork().postToEndpoint(ec.StatsigEndpoint.Rgstr,{events:en,statsigMetadata:this.sdkInternal.getStatsigMetadata()},{retryOptions:{retryLimit:3,backoff:1e3},useKeepalive:Y}).then(function(Y){if(!Y.ok)throw Y}).catch(function(Y){"function"==typeof Y.text?Y.text().then(function(ea){et.sdkInternal.getErrorBoundary().logError(ek,Y,function(){return ei(et,void 0,void 0,function(){return eo(this,function(Y){return[2,{eventCount:en.length,error:ea}]})})})}):et.sdkInternal.getErrorBoundary().logError(ek,Y,function(){return ei(et,void 0,void 0,function(){return eo(this,function(et){return[2,{eventCount:en.length,error:Y.message}]})})}),et.newFailedRequest(ek,en)}).finally(function(){return ei(et,void 0,void 0,function(){return eo(this,function(et){return Y&&(this.queue.length>0&&(this.addFailedRequest({events:this.queue,statsigMetadata:this.sdkInternal.getStatsigMetadata(),time:Date.now()}),this.queue=[]),this.saveFailedRequests()),[2]})})})}},Y.prototype.saveFailedRequests=function(){var Y=this;if(this.failedLogEvents.length>0){var et=JSON.stringify(this.failedLogEvents);if(et.length>eP){this.clearLocalStorageRequests();return}if(eh.default.asyncStorage){eh.default.setItemAsync(ed.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY,et).catch(function(et){return Y.sdkInternal.getErrorBoundary().logError("saveFailedRequests",et)});return}ep.default.setItem(ed.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY,et)}},Y.prototype.sendSavedRequests=function(){return ei(this,void 0,void 0,function(){var Y,et,en,ei,ea,eu,ef,em,eg=this;return eo(this,function(eo){switch(eo.label){case 0:if(et=!1,!eh.default.asyncStorage)return[3,2];return[4,eh.default.getItemAsync(ed.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY)];case 1:return Y=eo.sent(),[3,3];case 2:Y=ep.default.getItem(ed.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY),eo.label=3;case 3:if(null==Y)return this.clearLocalStorageRequests(),[2];Y.length>eP&&(et=!0),en=[];try{for(eu=0,en=JSON.parse(Y),ei=function(Y){null!=Y&&Y.events&&Array.isArray(Y.events)&&ea.sdkInternal.getNetwork().postToEndpoint(ec.StatsigEndpoint.Rgstr,Y).then(function(Y){if(!Y.ok)throw Error(Y.status+"")}).catch(function(){et||eg.addFailedRequest(Y)})},ea=this,ef=en;eu<ef.length;eu++)em=ef[eu],ei(em)}catch(Y){this.sdkInternal.getErrorBoundary().logError("sendSavedRequests",Y)}finally{this.clearLocalStorageRequests()}return[2]}})})},Y.prototype.addFailedRequest=function(Y){if(!(Y.time<Date.now()-eS)&&!(this.failedLogEvents.length>eA)){var et=Y.events.length;this.failedLogEventCount+et>eM||(this.failedLogEvents.push(Y),this.failedLogEventCount+=et)}},Y.prototype.clearLocalStorageRequests=function(){var Y=this;eh.default.asyncStorage?eh.default.removeItemAsync(ed.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY).catch(function(et){return Y.sdkInternal.getErrorBoundary().logError("clearLocalStorageRequests",et)}):ep.default.removeItem(ed.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY)},Y.prototype.newFailedRequest=function(Y,et){this.loggedErrors.has(Y)||(this.loggedErrors.add(Y),this.failedLogEvents.push({events:et,statsigMetadata:this.sdkInternal.getStatsigMetadata(),time:Date.now()}),this.saveFailedRequests())},Y.prototype.makeDiagnosticsEvent=function(Y,et){var en=new eu.default(eC);return en.setUser(Y),en.setMetadata(et),en},Y.prototype.addErrorBoundaryDiagnostics=function(){if(0!==ef.default.getMarkerCount("api_call")){var Y=this.makeDiagnosticsEvent(this.sdkInternal.getCurrentUser(),{context:"api_call",markers:ef.default.getMarkers("api_call")});this.queue.push(Y),ef.default.clearContext("api_call")}},Y}();et.default=eO},85763:function(Y,et,en){"use strict";var ei,eo=this&&this.__awaiter||function(Y,et,en,ei){function eo(Y){return Y instanceof en?Y:new en(function(et){et(Y)})}return new(en||(en=Promise))(function(en,ea){function eu(Y){try{ed(ei.next(Y))}catch(Y){ea(Y)}}function ec(Y){try{ed(ei.throw(Y))}catch(Y){ea(Y)}}function ed(Y){Y.done?en(Y.value):eo(Y.value).then(eu,ec)}ed((ei=ei.apply(Y,et||[])).next())})},ea=this&&this.__generator||function(Y,et){var en,ei,eo,ea,eu={label:0,sent:function(){if(1&eo[0])throw eo[1];return eo[1]},trys:[],ops:[]};return ea={next:ec(0),throw:ec(1),return:ec(2)},"function"==typeof Symbol&&(ea[Symbol.iterator]=function(){return this}),ea;function ec(Y){return function(et){return ed([Y,et])}}function ed(ea){if(en)throw TypeError("Generator is already executing.");for(;eu;)try{if(en=1,ei&&(eo=2&ea[0]?ei.return:ea[0]?ei.throw||((eo=ei.return)&&eo.call(ei),0):ei.next)&&!(eo=eo.call(ei,ea[1])).done)return eo;switch(ei=0,eo&&(ea=[2&ea[0],eo.value]),ea[0]){case 0:case 1:eo=ea;break;case 4:return eu.label++,{value:ea[1],done:!1};case 5:eu.label++,ei=ea[1],ea=[0];continue;case 7:ea=eu.ops.pop(),eu.trys.pop();continue;default:if(!(eo=(eo=eu.trys).length>0&&eo[eo.length-1])&&(6===ea[0]||2===ea[0])){eu=0;continue}if(3===ea[0]&&(!eo||ea[1]>eo[0]&&ea[1]<eo[3])){eu.label=ea[1];break}if(6===ea[0]&&eu.label<eo[1]){eu.label=eo[1],eo=ea;break}if(eo&&eu.label<eo[2]){eu.label=eo[2],eu.ops.push(ea);break}eo[2]&&eu.ops.pop(),eu.trys.pop();continue}ea=et.call(Y,eu)}catch(Y){ea=[6,Y],ei=0}finally{en=eo=0}if(5&ea[0])throw ea[1];return{value:ea[0]?ea[1]:void 0,done:!0}}},eu=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0}),et.StatsigEndpoint=void 0;var ec=eu(en(51546)),ed=eu(en(52923));!function(Y){Y.Initialize="initialize",Y.Rgstr="rgstr",Y.LogEventBeacon="log_event_beacon"}(ei=et.StatsigEndpoint||(et.StatsigEndpoint={}));var ef=204,eh=function(){function Y(Y){this.retryCodes={408:!0,500:!0,502:!0,503:!0,504:!0,522:!0,524:!0,599:!0},this.canUseKeepalive=!1,this.sdkInternal=Y,this.leakyBucket={},this.init()}return Y.prototype.init=function(){if(!this.sdkInternal.getOptions().getDisableNetworkKeepalive())try{this.canUseKeepalive="keepalive"in new Request("")}catch(Y){this.canUseKeepalive=!1}},Y.prototype.fetchValues=function(Y,et,en,eo,ea){var eu={user:Y,prefetchUsers:eo,statsigMetadata:this.sdkInternal.getStatsigMetadata(),sinceTime:null!=et?et:void 0,acceptsDeltas:!0,hash:"djb2",previousDerivedFields:ea};return this.postWithTimeout(ei.Initialize,eu,{timeout:en,retries:3,diagnostics:ed.default.mark.intialize.networkRequest})},Y.prototype.postWithTimeout=function(Y,et,en){var ei,eu=this,ec=null!=en?en:{},ed=ec.timeout,ef=void 0===ed?0:ed,eh=ec.retries,ep=void 0===eh?0:eh,em=ec.backoff,eg=void 0===em?1e3:em,ey=ec.diagnostics,eb=void 0===ey?null:ey,ek=!1,ew=null,e_=null,eE=[],eC=function(Y){return function(et){return ek&&e_?et(e_):eE.push(et),Y}};0!=ef&&(ew=new Promise(function(Y,et){setTimeout(function(){ek=!0,et(Error("The initialization timeout of "+ef+"ms has been hit before the network request has completed."))},ef)}));var eT=this.postToEndpoint(Y,et,{retryOptions:{retryLimit:ep,backoff:eg},diagnostics:eb}).then(function(en){if(!(ei=en).ok)return Promise.reject(Error("Request to "+Y+" failed with status "+ei.status));if("object"!=typeof ei.data){var ec=Error("Request to "+Y+" received invalid response type. Expected 'object' but got '"+typeof ei.data+"'");return eu.sdkInternal.getErrorBoundary().logError("postWithTimeoutInvalidRes",ec,function(){return eo(eu,void 0,void 0,function(){return ea(this,function(en){return[2,this.getErrorData(Y,et,ep,eg,ei)]})})}),Promise.reject(ec)}var ed=ei.data;return eu.sdkInternal.getErrorBoundary().capture("postWithTimeout",function(){return eo(eu,void 0,void 0,function(){return ea(this,function(Y){return e_=ed,ek&&(eE.forEach(function(Y){return Y(ed)}),eE=[]),[2,Promise.resolve(ed)]})})},function(){return Promise.resolve({})},{getExtraData:function(){return eo(eu,void 0,void 0,function(){return ea(this,function(en){return[2,this.getErrorData(Y,et,ep,eg,ei)]})})}})}).catch(function(Y){return Promise.reject(Y)}),eS=ew?Promise.race([eT,ew]):eT;return eS.eventually=eC(eS),eS},Y.prototype.sendLogBeacon=function(Y){if(this.sdkInternal.getOptions().getLocalModeEnabled())return!0;var et=new URL(this.sdkInternal.getOptions().getEventLoggingApi()+ei.LogEventBeacon);et.searchParams.append("k",this.sdkInternal.getSDKKey()),Y.clientTime=Date.now()+"";var en=null;try{en=JSON.stringify(Y)}catch(Y){return!1}return navigator.sendBeacon(et.toString(),en)},Y.prototype.postToEndpoint=function(Y,et,en){var eu;return eo(this,void 0,void 0,function(){var ed,eh,ep,em,eg,ey,eb,ek,ew,e_,eE,eC,eT,eS,eA,eM,eP,ej,eO,eI=this;return ea(this,function(eN){if(ep=void 0!==(eh=(ed=null!=en?en:{}).useKeepalive)&&eh,eg=void 0===(em=ed.diagnostics)?null:em,ek=void 0===(eb=(ey=null!==(eu=null==en?void 0:en.retryOptions)&&void 0!==eu?eu:{}).retryLimit)?0:eb,e_=void 0===(ew=ey.attempt)?1:ew,eC=void 0===(eE=ey.backoff)?1e3:eE,this.sdkInternal.getOptions().getLocalModeEnabled())return[2,Promise.reject("no network requests in localMode")];if("function"!=typeof fetch)return[2,Promise.reject("fetch is not defined")];if("undefined"==typeof window&&!this.sdkInternal.getOptions().getIgnoreWindowUndefined())return[2,Promise.reject("window is not defined")];if(eT=([ei.Initialize].includes(Y)?this.sdkInternal.getOptions().getApi():this.sdkInternal.getOptions().getEventLoggingApi())+Y,null!=(eS=this.leakyBucket[eT])&&eS>=30)return[2,Promise.reject(Error("Request failed because you are making the same request too frequently."))];if(null==eS?this.leakyBucket[eT]=1:this.leakyBucket[eT]=eS+1,eA=Y===ei.Initialize&&ec.default.encodeInitializeCall&&"undefined"!=typeof window&&"function"==typeof(null==window?void 0:window.btoa),eM=JSON.stringify(et),eA)try{eM=window.btoa(eM).split("").reverse().join("")}catch(Y){eA=!1}return eP={method:"POST",body:eM,headers:{"Content-type":"application/json; charset=UTF-8","STATSIG-API-KEY":this.sdkInternal.getSDKKey(),"STATSIG-CLIENT-TIME":Date.now()+"","STATSIG-SDK-TYPE":this.sdkInternal.getSDKType(),"STATSIG-SDK-VERSION":this.sdkInternal.getSDKVersion(),"STATSIG-ENCODED":eA?"1":"0"}},this.canUseKeepalive&&ep&&(eP.keepalive=!0),null==eg||eg.start({attempt:e_}),eO=!0,[2,fetch(eT,eP).then(function(Y){return eo(eI,void 0,void 0,function(){var et,en,ei;return ea(this,function(eo){switch(eo.label){case 0:if(!(ej=Y).ok)return[3,4];if(et=ej,ej.status!==ef)return[3,1];return et.data={has_updates:!1,is_no_content:!0},[3,3];case 1:return[4,ej.text()];case 2:en=eo.sent(),et.data=JSON.parse(en),eo.label=3;case 3:return null==eg||eg.end(this.getDiagnosticsData(ej,e_)),[2,Promise.resolve(et)];case 4:return this.retryCodes[ej.status]||(eO=!1),[4,ej.text()];case 5:return ei=eo.sent(),[2,Promise.reject(Error(ej.status+": "+ei))]}})})}).catch(function(en){return(null==eg||eg.end(eI.getDiagnosticsData(ej,e_,en)),e_<ek&&eO)?new Promise(function(en,ei){setTimeout(function(){eI.leakyBucket[eT]=Math.max(eI.leakyBucket[eT]-1,0),eI.postToEndpoint(Y,et,{retryOptions:{retryLimit:ek,attempt:e_+1,backoff:2*eC},useKeepalive:ep,diagnostics:eg}).then(en).catch(ei)},eC)}):Promise.reject(en)}).finally(function(){eI.leakyBucket[eT]=Math.max(eI.leakyBucket[eT]-1,0)})]})})},Y.prototype.supportsKeepalive=function(){return this.canUseKeepalive},Y.prototype.getDiagnosticsData=function(Y,et,en){var ei,eo;return{success:(null==Y?void 0:Y.ok)===!0,statusCode:null==Y?void 0:Y.status,sdkRegion:null===(ei=null==Y?void 0:Y.headers)||void 0===ei?void 0:ei.get("x-statsig-region"),isDelta:(null===(eo=null==Y?void 0:Y.data)||void 0===eo?void 0:eo.is_delta)===!0,attempt:et,error:ed.default.formatNetworkError(en)}},Y.prototype.getErrorData=function(Y,et,en,ei,eu){var ec;return eo(this,void 0,void 0,function(){var eo;return ea(this,function(ea){try{return eo={},(null!==(ec=eu.headers)&&void 0!==ec?ec:[]).forEach(function(Y,et){eo[et]=Y}),[2,{responseInfo:{headers:eo,status:eu.status,statusText:eu.statusText,type:eu.type,url:eu.url,redirected:eu.redirected,bodySnippet:eu.data?JSON.stringify(eu.data).slice(0,500):null},requestInfo:{endpointName:Y,bodySnippet:JSON.stringify(et).slice(0,500),retries:en,backoff:ei}}]}catch(Y){return[2,{statusText:"statsig::failed to extract extra data"}]}return[2]})})},Y}();et.default=eh},51546:function(Y,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0});var en=function(){function Y(){}return Y.encodeInitializeCall=!0,Y}();et.default=en},12900:function(Y,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0}),et.LogLevel=et.INIT_TIMEOUT_DEFAULT_MS=void 0;var en,ei="https://featuregates.org/v1/",eo="https://events.statsigapi.net/v1/";et.INIT_TIMEOUT_DEFAULT_MS=3e3,function(Y){Y[Y.NONE=0]="NONE",Y[Y.INFO=1]="INFO",Y[Y.DEBUG=2]="DEBUG"}(en=et.LogLevel||(et.LogLevel={}));var ea=function(){function Y(Y){null==Y&&(Y={});var ea,eu,ec,ed,ef,eh,ep,em,eg,ey,eb,ek,ew,e_,eE,eC,eT,eS,eA,eM,eP,ej,eO=null!==(ea=Y.api)&&void 0!==ea?ea:ei;this.api=eO.endsWith("/")?eO:eO+"/",this.disableCurrentPageLogging=null!==(eu=Y.disableCurrentPageLogging)&&void 0!==eu&&eu,this.environment=null!==(ec=Y.environment)&&void 0!==ec?ec:null,this.loggingIntervalMillis=this.normalizeNumberInput(Y.loggingIntervalMillis,{default:1e4,min:1e3,max:6e4}),this.loggingBufferMaxSize=this.normalizeNumberInput(Y.loggingBufferMaxSize,{default:100,min:2,max:500}),this.disableNetworkKeepalive=null!==(ed=Y.disableNetworkKeepalive)&&void 0!==ed&&ed,this.overrideStableID=null!==(ef=Y.overrideStableID)&&void 0!==ef?ef:null,this.localMode=null!==(eh=Y.localMode)&&void 0!==eh&&eh,this.initTimeoutMs=Y.initTimeoutMs&&Y.initTimeoutMs>=0?Y.initTimeoutMs:et.INIT_TIMEOUT_DEFAULT_MS,this.disableErrorLogging=null!==(ep=Y.disableErrorLogging)&&void 0!==ep&&ep,this.disableAutoMetricsLogging=null!==(em=Y.disableAutoMetricsLogging)&&void 0!==em&&em,this.initializeValues=null!==(eg=Y.initializeValues)&&void 0!==eg?eg:null;var eI=null!==(eb=null!==(ey=Y.eventLoggingApi)&&void 0!==ey?ey:Y.api)&&void 0!==eb?eb:eo;this.eventLoggingApi=eI.endsWith("/")?eI:eI+"/",this.prefetchUsers=null!==(ek=Y.prefetchUsers)&&void 0!==ek?ek:[],this.disableLocalStorage=null!==(ew=Y.disableLocalStorage)&&void 0!==ew&&ew,this.initCompletionCallback=null!==(e_=Y.initCompletionCallback)&&void 0!==e_?e_:null,this.updateCompletionCallback=null!==(eE=Y.updateUserCompletionCallback)&&void 0!==eE?eE:null,this.disableDiagnosticsLogging=null!==(eC=Y.disableDiagnosticsLogging)&&void 0!==eC&&eC,this.logLevel=null!==(eT=null==Y?void 0:Y.logLevel)&&void 0!==eT?eT:en.NONE,this.ignoreWindowUndefined=null!==(eS=null==Y?void 0:Y.ignoreWindowUndefined)&&void 0!==eS&&eS,this.fetchMode=null!==(eA=Y.fetchMode)&&void 0!==eA?eA:"network-only",this.disableLocalOverrides=null!==(eM=null==Y?void 0:Y.disableLocalOverrides)&&void 0!==eM&&eM,this.gateEvaluationCallback=null!==(eP=null==Y?void 0:Y.gateEvaluationCallback)&&void 0!==eP?eP:null,this.userPersistentStorage=null!==(ej=null==Y?void 0:Y.userPersistentStorage)&&void 0!==ej?ej:null}return Y.prototype.getApi=function(){return this.api},Y.prototype.getEnvironment=function(){return this.environment},Y.prototype.getDisableCurrentPageLogging=function(){return this.disableCurrentPageLogging},Y.prototype.getLoggingIntervalMillis=function(){return this.loggingIntervalMillis},Y.prototype.getLoggingBufferMaxSize=function(){return this.loggingBufferMaxSize},Y.prototype.getDisableNetworkKeepalive=function(){return this.disableNetworkKeepalive},Y.prototype.getOverrideStableID=function(){return this.overrideStableID},Y.prototype.getLocalModeEnabled=function(){return this.localMode},Y.prototype.getInitTimeoutMs=function(){return this.initTimeoutMs},Y.prototype.getDisableErrorLogging=function(){return this.disableErrorLogging},Y.prototype.getDisableAutoMetricsLogging=function(){return this.disableAutoMetricsLogging},Y.prototype.getInitializeValues=function(){return this.initializeValues},Y.prototype.getEventLoggingApi=function(){return this.eventLoggingApi},Y.prototype.getPrefetchUsers=function(){return this.prefetchUsers},Y.prototype.getDisableLocalStorage=function(){return this.disableLocalStorage},Y.prototype.getInitCompletionCallback=function(){return this.initCompletionCallback},Y.prototype.getUpdateUserCompletionCallback=function(){return this.updateCompletionCallback},Y.prototype.getDisableDiagnosticsLogging=function(){return this.disableDiagnosticsLogging},Y.prototype.getLogLevel=function(){return this.logLevel},Y.prototype.getIgnoreWindowUndefined=function(){return this.ignoreWindowUndefined},Y.prototype.getFetchMode=function(){return this.fetchMode},Y.prototype.getDisableLocalOverrides=function(){return this.disableLocalOverrides},Y.prototype.getGateEvaluationCallback=function(){return this.gateEvaluationCallback},Y.prototype.getUserPersistentStorage=function(){return this.userPersistentStorage},Y.prototype.normalizeNumberInput=function(Y,et){return null==Y?et.default:Math.max(Math.min(Y,et.max),et.min)},Y}();et.default=ea},20532:function(Y,et,en){"use strict";var ei,eo=this&&this.__assign||function(){return(eo=Object.assign||function(Y){for(var et,en=1,ei=arguments.length;en<ei;en++)for(var eo in et=arguments[en])Object.prototype.hasOwnProperty.call(et,eo)&&(Y[eo]=et[eo]);return Y}).apply(this,arguments)},ea=this&&this.__awaiter||function(Y,et,en,ei){function eo(Y){return Y instanceof en?Y:new en(function(et){et(Y)})}return new(en||(en=Promise))(function(en,ea){function eu(Y){try{ed(ei.next(Y))}catch(Y){ea(Y)}}function ec(Y){try{ed(ei.throw(Y))}catch(Y){ea(Y)}}function ed(Y){Y.done?en(Y.value):eo(Y.value).then(eu,ec)}ed((ei=ei.apply(Y,et||[])).next())})},eu=this&&this.__generator||function(Y,et){var en,ei,eo,ea,eu={label:0,sent:function(){if(1&eo[0])throw eo[1];return eo[1]},trys:[],ops:[]};return ea={next:ec(0),throw:ec(1),return:ec(2)},"function"==typeof Symbol&&(ea[Symbol.iterator]=function(){return this}),ea;function ec(Y){return function(et){return ed([Y,et])}}function ed(ea){if(en)throw TypeError("Generator is already executing.");for(;eu;)try{if(en=1,ei&&(eo=2&ea[0]?ei.return:ea[0]?ei.throw||((eo=ei.return)&&eo.call(ei),0):ei.next)&&!(eo=eo.call(ei,ea[1])).done)return eo;switch(ei=0,eo&&(ea=[2&ea[0],eo.value]),ea[0]){case 0:case 1:eo=ea;break;case 4:return eu.label++,{value:ea[1],done:!1};case 5:eu.label++,ei=ea[1],ea=[0];continue;case 7:ea=eu.ops.pop(),eu.trys.pop();continue;default:if(!(eo=(eo=eu.trys).length>0&&eo[eo.length-1])&&(6===ea[0]||2===ea[0])){eu=0;continue}if(3===ea[0]&&(!eo||ea[1]>eo[0]&&ea[1]<eo[3])){eu.label=ea[1];break}if(6===ea[0]&&eu.label<eo[1]){eu.label=eo[1],eo=ea;break}if(eo&&eu.label<eo[2]){eu.label=eo[2],eu.ops.push(ea);break}eo[2]&&eu.ops.pop(),eu.trys.pop();continue}ea=et.call(Y,eu)}catch(Y){ea=[6,Y],ei=0}finally{en=eo=0}if(5&ea[0])throw ea[1];return{value:ea[0]?ea[1]:void 0,done:!0}}},ec=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0}),et.EvaluationReason=void 0;var ed=ec(en(6511)),ef=ec(en(27635)),eh=ec(en(96157)),ep=en(36395),em=en(98235),eg=ec(en(39252)),ey=ec(en(59873));!function(Y){Y.Network="Network",Y.Bootstrap="Bootstrap",Y.InvalidBootstrap="InvalidBootstrap",Y.Cache="Cache",Y.Prefetch="Prefetch",Y.Sticky="Sticky",Y.LocalOverride="LocalOverride",Y.Unrecognized="Unrecognized",Y.Uninitialized="Uninitialized",Y.Error="Error",Y.NetworkNotModified="NetworkNotModified"}(ei=et.EvaluationReason||(et.EvaluationReason={}));var eb=10,ek=function(){function Y(Y,et){this.overrides={gates:{},configs:{},layers:{}},this.sdkInternal=Y,this.userCacheKey=this.sdkInternal.getCurrentUserCacheKey(),this.values={},this.userValues={feature_gates:{},dynamic_configs:{},sticky_experiments:{},layer_configs:{},has_updates:!1,time:0,evaluation_time:0,derived_fields:{}},this.stickyDeviceExperiments={},this.loaded=!1,this.reason=ei.Uninitialized,this.userPersistentStorageAdapter=this.sdkInternal.getOptions().getUserPersistentStorage(),this.userPersistentStorageData={experiments:{}},et?this.bootstrap(et):this.load()}return Y.prototype.load=function(){this.loadFromLocalStorage(),this.partialLoadFromPersistentStorageAdapter()},Y.prototype.loadAsync=function(){return ea(this,void 0,void 0,function(){return eu(this,function(Y){switch(Y.label){case 0:return[4,this.loadFromAsyncStorage()];case 1:return Y.sent(),this.partialLoadFromPersistentStorageAdapter(),[2]}})})},Y.prototype.updateUser=function(Y){this.userCacheKey=this.sdkInternal.getCurrentUserCacheKey();var et=this.setUserValueFromCache(Y);return this.partialLoadFromPersistentStorageAdapter(),et},Y.prototype.loadFromAsyncStorage=function(){return ea(this,void 0,void 0,function(){var Y,et;return eu(this,function(en){switch(en.label){case 0:return Y=this.parseCachedValues,[4,eg.default.getItemAsync(ep.INTERNAL_STORE_KEY)];case 1:return et=[en.sent()],[4,eg.default.getItemAsync(ep.STICKY_DEVICE_EXPERIMENTS_KEY)];case 2:return Y.apply(this,et.concat([en.sent()])),this.userCacheKey=this.sdkInternal.getCurrentUserCacheKey(),this.loaded=!0,[2]}})})},Y.prototype.bootstrap=function(Y){var et,en,eo,ea=this.sdkInternal.getCurrentUserCacheKey(),eu=this.sdkInternal.getCurrentUser(),ec=eh.default.isValid(eu,Y)?ei.Bootstrap:ei.InvalidBootstrap;this.loaded=!0;try{var ed=Y;this.userValues.feature_gates=null!==(et=ed.feature_gates)&&void 0!==et?et:{},this.userValues.dynamic_configs=null!==(en=ed.dynamic_configs)&&void 0!==en?en:{},this.userValues.layer_configs=null!==(eo=ed.layer_configs)&&void 0!==eo?eo:{},this.userValues.evaluation_time=Date.now(),this.userValues.time=Date.now(),this.userValues.hash_used=ed.hash_used,this.values[ea.v2]=this.userValues,this.reason=ec,this.loadOverrides()}catch(Y){return}},Y.prototype.loadFromLocalStorage=function(){eg.default.asyncStorage||(this.parseCachedValues(ey.default.getItem(ep.INTERNAL_STORE_KEY),ey.default.getItem(ep.STICKY_DEVICE_EXPERIMENTS_KEY)),this.loaded=!0)},Y.prototype.partialLoadFromPersistentStorageAdapter=function(){if(this.userPersistentStorageAdapter){var Y=this.sdkInternal.getCurrentUserID();if(Y){try{this.userPersistentStorageData=JSON.parse(this.userPersistentStorageAdapter.load(Y))}catch(Y){console.warn("Failed to load from user persistent storage.",Y)}this.userValues.sticky_experiments=this.userPersistentStorageData.experiments}}},Y.prototype.saveStickyExperimentsToPersistentStorageAdapter=function(){if(this.userPersistentStorageAdapter){var Y=this.sdkInternal.getCurrentUserID();if(Y){var et=eo(eo({},this.userPersistentStorageData),{experiments:this.userValues.sticky_experiments});try{this.userPersistentStorageAdapter.save(Y,JSON.stringify(et))}catch(Y){console.warn("Failed to save user experiment values to persistent storage.",Y)}}}},Y.prototype.isLoaded=function(){return this.loaded},Y.prototype.getLastUpdateTime=function(Y){var et=(0,em.djb2HashForObject)(Y);return this.userValues.user_hash==et?this.userValues.time:null},Y.prototype.getPreviousDerivedFields=function(Y){var et=(0,em.djb2HashForObject)(Y);if(this.userValues.user_hash==et)return this.userValues.derived_fields},Y.prototype.parseCachedValues=function(Y,et){try{this.values=Y?JSON.parse(Y):this.values,this.setUserValueFromCache()}catch(Y){this.removeFromStorage(ep.INTERNAL_STORE_KEY)}try{var en=et?JSON.parse(et):null;en&&(this.stickyDeviceExperiments=en)}catch(Y){this.removeFromStorage(ep.STICKY_DEVICE_EXPERIMENTS_KEY)}this.loadOverrides()},Y.prototype.getUserValues=function(Y){var et;return null!==(et=this.values[Y.v2])&&void 0!==et?et:this.values[Y.v1]},Y.prototype.setUserValueFromCache=function(Y){void 0===Y&&(Y=!1);var et,en=this.getUserValues(this.userCacheKey);return null==en?(this.resetUserValues(),this.reason=ei.Uninitialized,null):(this.userValues=en,this.reason=Y?ei.Prefetch:ei.Cache,null!==(et=en.evaluation_time)&&void 0!==et?et:0)},Y.prototype.removeFromStorage=function(Y){var et=this;eg.default.removeItemAsync(Y).catch(function(Y){return et.sdkInternal.getErrorBoundary().logError("removeFromStorage",Y)}),ey.default.removeItem(Y)},Y.prototype.loadOverrides=function(){if(!this.sdkInternal.getOptions().getDisableLocalOverrides()){var Y=ey.default.getItem(ep.OVERRIDES_STORE_KEY);if(null!=Y)try{this.overrides=JSON.parse(Y)}catch(Y){ey.default.removeItem(ep.OVERRIDES_STORE_KEY)}}},Y.prototype.setEvaluationReason=function(Y){this.reason=Y},Y.prototype.save=function(Y,et){return ea(this,void 0,void 0,function(){var en,eo,ea,ec;return eu(this,function(eu){switch(eu.label){case 0:if(en=(0,em.getUserCacheKey)(this.getStableID(),Y),(eo=et).is_delta)return[2,this.saveInitDeltas(Y,et)];return this.mergeInitializeResponseIntoUserMap(eo,this.values,en,Y,function(Y){return Y}),(ea=this.getUserValues(en))&&en&&en.v2===this.userCacheKey.v2&&(this.userValues=ea,this.reason=ei.Network),ec=this,[4,this.writeValuesToStorage(this.values)];case 1:return ec.values=eu.sent(),[2]}})})},Y.prototype.saveWithoutUpdatingClientState=function(Y,et){return ea(this,void 0,void 0,function(){var en,ei,eo;return eu(this,function(ea){switch(ea.label){case 0:return en=(0,em.getUserCacheKey)(this.getStableID(),Y),ei=et,eo=JSON.parse(JSON.stringify(this.values)),this.mergeInitializeResponseIntoUserMap(ei,eo,en,Y,function(Y){return Y}),[4,this.writeValuesToStorage(eo)];case 1:return ea.sent(),[2]}})})},Y.prototype.saveInitDeltas=function(Y,et){var en;return ea(this,void 0,void 0,function(){var eo,ea,ec,ed,ef=this;return eu(this,function(eu){switch(eu.label){case 0:return eo=(0,em.getUserCacheKey)(this.getStableID(),Y),ea=et,this.mergeInitializeResponseIntoUserMap(ea,this.values,eo,Y,function(Y,et){var en,ei=null!==(en=ef.values[et])&&void 0!==en?en:ef.getDefaultUserCacheValues();return ef.mergeUserCacheValues(ei,Y)}),Object.keys(null!==(en=ea.prefetched_user_values)&&void 0!==en?en:{}).forEach(function(Y){var et=ef.values[Y];et&&ew(ea,et)}),(ec=this.getUserValues(eo))&&eo.v2===this.userCacheKey.v2&&(ew(ea,ec),this.userValues=ec,this.reason=ei.Network),ed=this,[4,this.writeValuesToStorage(this.values)];case 1:return ed.values=eu.sent(),[2]}})})},Y.prototype.getStableID=function(){return this.sdkInternal.getStableID()},Y.prototype.mergeInitializeResponseIntoUserMap=function(Y,et,en,ei,eo){if(Y.prefetched_user_values)for(var ea=Object.keys(Y.prefetched_user_values),eu=0,ec=ea;eu<ec.length;eu++){var ed=ec[eu],ef=Y.prefetched_user_values[ed];et[ed]=eo(this.convertAPIDataToCacheValues(ef,ed),ed)}if(en){var eh=this.convertAPIDataToCacheValues(Y,en.v2);if(Y.has_updates&&Y.time){var ep=(0,em.djb2HashForObject)(ei);eh.user_hash=ep}et[en.v2]=eo(eh,en.v2)}},Y.prototype.getDefaultUserCacheValues=function(){return{feature_gates:{},layer_configs:{},dynamic_configs:{},sticky_experiments:{},time:0,evaluation_time:0,derived_fields:{}}},Y.prototype.mergeUserCacheValues=function(Y,et){return{feature_gates:eo(eo({},Y.feature_gates),et.feature_gates),layer_configs:eo(eo({},Y.layer_configs),et.layer_configs),dynamic_configs:eo(eo({},Y.dynamic_configs),et.dynamic_configs),sticky_experiments:Y.sticky_experiments,time:et.time,evaluation_time:et.evaluation_time,derived_fields:et.derived_fields}},Y.prototype.writeValuesToStorage=function(Y){return ea(this,void 0,void 0,function(){return eu(this,function(et){switch(et.label){case 0:if(Y[this.userCacheKey.v2]&&delete Y[this.userCacheKey.v1],Y=Object.fromEntries(Object.entries(Y).sort(function(Y,et){var en,ei,eo=Y[1],ea=et[1];return null==eo?1:null==ea?-1:(null!==(en=null==ea?void 0:ea.evaluation_time)&&void 0!==en?en:null==ea?void 0:ea.time)-(null!==(ei=null==eo?void 0:eo.evaluation_time)&&void 0!==ei?ei:null==eo?void 0:eo.time)}).slice(0,eb)),!eg.default.asyncStorage)return[3,2];return[4,eg.default.setItemAsync(ep.INTERNAL_STORE_KEY,JSON.stringify(Y))];case 1:return et.sent(),[3,3];case 2:ey.default.setItem(ep.INTERNAL_STORE_KEY,JSON.stringify(Y)),et.label=3;case 3:return[2,Y]}})})},Y.prototype.checkGate=function(Y,et){void 0===et&&(et=!1);var en,eo,ea=this.getHashedSpecName(Y),eu={name:Y,value:!1,rule_id:"",secondary_exposures:[]};if(et||null==this.overrides.gates[Y]){var ec=null===(en=this.userValues)||void 0===en?void 0:en.feature_gates[ea];ec&&(eu=ec),eo=this.getEvaluationDetails(null!=ec)}else eu={name:Y,value:this.overrides.gates[Y],rule_id:"override",secondary_exposures:[]},eo=this.getEvaluationDetails(!1,ei.LocalOverride);return{evaluationDetails:eo,gate:eu}},Y.prototype.getConfig=function(Y,et){void 0===et&&(et=!1);var en,eo,ea,eu,ec=this.getHashedSpecName(Y);if(et||null==this.overrides.configs[Y]){if((null===(en=this.userValues)||void 0===en?void 0:en.dynamic_configs[ec])!=null){var ef=null===(eo=this.userValues)||void 0===eo?void 0:eo.dynamic_configs[ec];eu=this.getEvaluationDetails(!0),ea=this.createDynamicConfig(Y,ef,eu)}else eu=this.getEvaluationDetails(!1),ea=new ed.default(Y,{},"",eu)}else eu=this.getEvaluationDetails(!1,ei.LocalOverride),ea=new ed.default(Y,this.overrides.configs[Y],"override",eu,[],"",this.makeOnConfigDefaultValueFallback(this.sdkInternal.getCurrentUser()));return ea},Y.prototype.getExperiment=function(Y,et,en){if(void 0===et&&(et=!1),void 0===en&&(en=!1),en||null==this.overrides.configs[Y]){var eo,ea,eu=this.getLatestValue(Y,"dynamic_configs");ea=this.getEvaluationDetails(null!=eu);var ec=this.getPossiblyStickyValue(Y,eu,et,!1,ea);eo=this.createDynamicConfig(Y,ec,ea)}else ea=this.getEvaluationDetails(!1,ei.LocalOverride),eo=new ed.default(Y,this.overrides.configs[Y],"override",ea);return eo},Y.prototype.getLayer=function(Y,et,en){if(null!=this.overrides.layers[et]){var eo,ea,eu,ec,ed=this.getEvaluationDetails(!1,ei.LocalOverride);return ef.default._create(et,null!==(eo=this.overrides.layers[et])&&void 0!==eo?eo:{},"override",ed,Y)}var eh=this.getLatestValue(et,"layer_configs"),ep=this.getEvaluationDetails(null!=eh),em=this.getPossiblyStickyValue(et,eh,en,!0,ep);return ef.default._create(et,null!==(ea=null==em?void 0:em.value)&&void 0!==ea?ea:{},null!==(eu=null==em?void 0:em.rule_id)&&void 0!==eu?eu:"",ep,Y,null==em?void 0:em.secondary_exposures,null==em?void 0:em.undelegated_secondary_exposures,null!==(ec=null==em?void 0:em.allocated_experiment_name)&&void 0!==ec?ec:"",null==em?void 0:em.explicit_parameters,null==em?void 0:em.group_name)},Y.prototype.overrideConfig=function(Y,et){try{JSON.stringify(et)}catch(Y){console.warn("Failed to stringify given config override. Dropping",Y);return}this.overrides.configs[Y]=et,this.saveOverrides()},Y.prototype.overrideLayer=function(Y,et){try{JSON.stringify(et)}catch(Y){console.warn("Failed to stringify given layer override. Dropping",Y);return}this.overrides.layers[Y]=et,this.saveOverrides()},Y.prototype.overrideGate=function(Y,et){this.overrides.gates[Y]=et,this.saveOverrides()},Y.prototype.removeGateOverride=function(Y){null==Y?this.overrides.gates={}:delete this.overrides.gates[Y],this.saveOverrides()},Y.prototype.removeConfigOverride=function(Y){null==Y?this.overrides.configs={}:delete this.overrides.configs[Y],this.saveOverrides()},Y.prototype.removeLayerOverride=function(Y){null==Y?this.overrides.layers={}:delete this.overrides.layers[Y],this.saveOverrides()},Y.prototype.getAllOverrides=function(){return this.overrides},Y.prototype.saveOverrides=function(){try{ey.default.setItem(ep.OVERRIDES_STORE_KEY,JSON.stringify(this.overrides))}catch(Y){console.warn("Failed to persist gate/config overrides")}},Y.prototype.getLatestValue=function(Y,et){var en,ei,eo,ea,eu,ec=this.getHashedSpecName(Y);return null!==(eo=null===(ei=null===(en=this.userValues)||void 0===en?void 0:en[et])||void 0===ei?void 0:ei[ec])&&void 0!==eo?eo:null===(eu=null===(ea=this.userValues)||void 0===ea?void 0:ea[et])||void 0===eu?void 0:eu[Y]},Y.prototype.getPossiblyStickyValue=function(Y,et,en,eo,ea){var eu,ec=this.getHashedSpecName(Y);if(!en)return this.removeStickyValue(ec),et;var ed=this.getStickyValue(ec);if(!ed)return this.attemptToSaveStickyValue(ec,et),et;var ef=null;return(null==(ef=eo?this.getLatestValue(null!==(eu=null==ed?void 0:ed.allocated_experiment_name)&&void 0!==eu?eu:"","dynamic_configs"):et)?void 0:ef.is_experiment_active)==!0?(ea.reason=ei.Sticky,ed):((null==et?void 0:et.is_experiment_active)==!0?this.attemptToSaveStickyValue(ec,et):this.removeStickyValue(ec),et)},Y.prototype.createDynamicConfig=function(Y,et,en){var ei,eo,ea;return new ed.default(Y,null!==(ei=null==et?void 0:et.value)&&void 0!==ei?ei:{},null!==(eo=null==et?void 0:et.rule_id)&&void 0!==eo?eo:"",en,null==et?void 0:et.secondary_exposures,null!==(ea=null==et?void 0:et.allocated_experiment_name)&&void 0!==ea?ea:"",this.makeOnConfigDefaultValueFallback(this.sdkInternal.getCurrentUser()),null==et?void 0:et.group_name,null==et?void 0:et.id_type,null==et?void 0:et.is_experiment_active)},Y.prototype.getStickyValue=function(Y){var et,en;return null!==(en=null===(et=this.userValues)||void 0===et?void 0:et.sticky_experiments[Y])&&void 0!==en?en:this.stickyDeviceExperiments[Y]},Y.prototype.attemptToSaveStickyValue=function(Y,et){var en;et&&et.is_user_in_experiment&&et.is_experiment_active&&(!0===et.is_device_based?this.stickyDeviceExperiments[Y]=et:(null===(en=this.userValues)||void 0===en?void 0:en.sticky_experiments)&&(this.userValues.sticky_experiments[Y]=et),this.saveStickyValuesToStorage())},Y.prototype.removeStickyValue=function(Y){var et,en,ei,eo;(0!==Object.keys(null!==(en=null===(et=this.userValues)||void 0===et?void 0:et.sticky_experiments)&&void 0!==en?en:{}).length||0!==Object.keys(null!==(ei=this.stickyDeviceExperiments)&&void 0!==ei?ei:{}).length)&&(null===(eo=this.userValues)||void 0===eo||delete eo.sticky_experiments[Y],delete this.stickyDeviceExperiments[Y],this.saveStickyValuesToStorage())},Y.prototype.saveStickyValuesToStorage=function(){this.userPersistentStorageAdapter?this.saveStickyExperimentsToPersistentStorageAdapter():(this.values[this.userCacheKey.v2]=this.userValues,this.setItemToStorage(ep.INTERNAL_STORE_KEY,JSON.stringify(this.values)),this.setItemToStorage(ep.STICKY_DEVICE_EXPERIMENTS_KEY,JSON.stringify(this.stickyDeviceExperiments)))},Y.prototype.getGlobalEvaluationDetails=function(){var Y,et;return{reason:null!==(Y=this.reason)&&void 0!==Y?Y:ei.Uninitialized,time:null!==(et=this.userValues.evaluation_time)&&void 0!==et?et:0}},Y.prototype.getEvaluationDetails=function(Y,et){var en;return Y?{reason:this.reason,time:null!==(en=this.userValues.evaluation_time)&&void 0!==en?en:Date.now()}:{reason:null!=et?et:this.reason==ei.Uninitialized?ei.Uninitialized:ei.Unrecognized,time:Date.now()}},Y.prototype.resetUserValues=function(){this.userValues={feature_gates:{},dynamic_configs:{},sticky_experiments:{},layer_configs:{},time:0,evaluation_time:0,derived_fields:{}}},Y.prototype.getHashedSpecName=function(Y){switch(this.userValues.hash_used){case"djb2":return(0,em.djb2Hash)(Y);case"none":return Y;default:return(0,em.sha256Hash)(Y)}},Y.prototype.convertAPIDataToCacheValues=function(Y,et){var en,ei;return{feature_gates:Y.feature_gates,layer_configs:Y.layer_configs,dynamic_configs:Y.dynamic_configs,sticky_experiments:null!==(ei=null===(en=this.values[et])||void 0===en?void 0:en.sticky_experiments)&&void 0!==ei?ei:{},time:null==Y.time||isNaN(Y.time)?0:Y.time,evaluation_time:Date.now(),hash_used:Y.hash_used,derived_fields:Y.derived_fields}},Y.prototype.setItemToStorage=function(Y,et){var en=this;eg.default.asyncStorage?eg.default.setItemAsync(Y,et).catch(function(Y){en.sdkInternal.getErrorBoundary().logError("setItemToStorage",Y)}):ey.default.setItem(Y,et)},Y.prototype.makeOnConfigDefaultValueFallback=function(Y){var et=this;return function(en,ei,eo,ea){et.isLoaded()&&et.sdkInternal.getLogger().logConfigDefaultValueFallback(Y,"Parameter "+ei+" is a value of type "+ea+".\n Returning requested defaultValue type "+eo,{name:en.getName(),ruleID:en.getRuleID(),parameter:ei,defaultValueType:eo,valueType:ea})}},Y}();function ew(Y,et){var en,ei,eo;(null!==(en=Y.deleted_configs)&&void 0!==en?en:[]).forEach(function(Y){delete et.dynamic_configs[Y]}),(null!==(ei=Y.deleted_gates)&&void 0!==ei?ei:[]).forEach(function(Y){delete et.feature_gates[Y]}),(null!==(eo=Y.deleted_layers)&&void 0!==eo?eo:[]).forEach(function(Y){delete et.layer_configs[Y]})}et.default=ek},48953:function(Y,et,en){"use strict";var ei=this&&this.__awaiter||function(Y,et,en,ei){function eo(Y){return Y instanceof en?Y:new en(function(et){et(Y)})}return new(en||(en=Promise))(function(en,ea){function eu(Y){try{ed(ei.next(Y))}catch(Y){ea(Y)}}function ec(Y){try{ed(ei.throw(Y))}catch(Y){ea(Y)}}function ed(Y){Y.done?en(Y.value):eo(Y.value).then(eu,ec)}ed((ei=ei.apply(Y,et||[])).next())})},eo=this&&this.__generator||function(Y,et){var en,ei,eo,ea,eu={label:0,sent:function(){if(1&eo[0])throw eo[1];return eo[1]},trys:[],ops:[]};return ea={next:ec(0),throw:ec(1),return:ec(2)},"function"==typeof Symbol&&(ea[Symbol.iterator]=function(){return this}),ea;function ec(Y){return function(et){return ed([Y,et])}}function ed(ea){if(en)throw TypeError("Generator is already executing.");for(;eu;)try{if(en=1,ei&&(eo=2&ea[0]?ei.return:ea[0]?ei.throw||((eo=ei.return)&&eo.call(ei),0):ei.next)&&!(eo=eo.call(ei,ea[1])).done)return eo;switch(ei=0,eo&&(ea=[2&ea[0],eo.value]),ea[0]){case 0:case 1:eo=ea;break;case 4:return eu.label++,{value:ea[1],done:!1};case 5:eu.label++,ei=ea[1],ea=[0];continue;case 7:ea=eu.ops.pop(),eu.trys.pop();continue;default:if(!(eo=(eo=eu.trys).length>0&&eo[eo.length-1])&&(6===ea[0]||2===ea[0])){eu=0;continue}if(3===ea[0]&&(!eo||ea[1]>eo[0]&&ea[1]<eo[3])){eu.label=ea[1];break}if(6===ea[0]&&eu.label<eo[1]){eu.label=eo[1],eo=ea;break}if(eo&&eu.label<eo[2]){eu.label=eo[2],eu.ops.push(ea);break}eo[2]&&eu.ops.pop(),eu.trys.pop();continue}ea=et.call(Y,eu)}catch(Y){ea=[6,Y],ei=0}finally{en=eo=0}if(5&ea[0])throw ea[1];return{value:ea[0]?ea[1]:void 0,done:!0}}},ea=this&&this.__importDefault||function(Y){return Y&&Y.__esModule?Y:{default:Y}};Object.defineProperty(et,"__esModule",{value:!0}),et.StatsigAsyncStorage=et.EvaluationReason=et.StatsigClient=et.Layer=et.DynamicConfig=void 0;var eu=en(18092),ec=ea(en(5129)),ed=ea(en(51546)),ef=en(20532),eh=ea(en(23015)),ep=ea(en(51522)),em=ea(en(26867)),eg=en(6511);Object.defineProperty(et,"DynamicConfig",{enumerable:!0,get:function(){return ea(eg).default}});var ey=en(27635);Object.defineProperty(et,"Layer",{enumerable:!0,get:function(){return ea(ey).default}});var eb=en(5129);Object.defineProperty(et,"StatsigClient",{enumerable:!0,get:function(){return ea(eb).default}});var ek=en(20532);Object.defineProperty(et,"EvaluationReason",{enumerable:!0,get:function(){return ek.EvaluationReason}});var ew=en(39252);Object.defineProperty(et,"StatsigAsyncStorage",{enumerable:!0,get:function(){return ea(ew).default}}),(0,eh.default)(),(0,ep.default)(),(0,em.default)();var e_=function(){function Y(){}return Object.defineProperty(Y,"encodeIntializeCall",{get:function(){return ed.default.encodeInitializeCall},set:function(Y){ed.default.encodeInitializeCall=Y},enumerable:!1,configurable:!0}),Y.initialize=function(et,en,ea){var eu;return ei(this,void 0,void 0,function(){var ei;return eo(this,function(eo){return ei=null!==(eu=Y.instance)&&void 0!==eu?eu:new ec.default(et,en,ea),Y.instance||(Y.instance=ei),[2,ei.initializeAsync()]})})},Y.prefetchUsers=function(et){return ei(this,void 0,void 0,function(){return eo(this,function(en){switch(en.label){case 0:return[4,Y.getClientX().prefetchUsers(et)];case 1:return[2,en.sent()]}})})},Y.setInitializeValues=function(et){Y.getClientX().setInitializeValues(et)},Y.checkGate=function(et,en){return void 0===en&&(en=!1),Y.getClientX().checkGate(et,en)},Y.checkGateWithExposureLoggingDisabled=function(et,en){return void 0===en&&(en=!1),Y.getClientX().checkGateWithExposureLoggingDisabled(et,en)},Y.manuallyLogGateExposure=function(et){Y.getClientX().logGateExposure(et)},Y.getConfig=function(et,en){return void 0===en&&(en=!1),Y.getClientX().getConfig(et,en)},Y.getConfigWithExposureLoggingDisabled=function(et,en){return void 0===en&&(en=!1),Y.getClientX().getConfigWithExposureLoggingDisabled(et,en)},Y.manuallyLogConfigExposure=function(et){Y.getClientX().logConfigExposure(et)},Y.getExperiment=function(et,en,ei){return void 0===en&&(en=!1),void 0===ei&&(ei=!1),Y.getClientX().getExperiment(et,en,ei)},Y.getExperimentWithExposureLoggingDisabled=function(et,en,ei){return void 0===en&&(en=!1),void 0===ei&&(ei=!1),Y.getClientX().getExperimentWithExposureLoggingDisabled(et,en,ei)},Y.manuallyLogExperimentExposure=function(et,en){void 0===en&&(en=!1),Y.getClientX().logExperimentExposure(et,en)},Y.getLayer=function(et,en){return void 0===en&&(en=!1),Y.getClientX().getLayer(et,en)},Y.getLayerWithExposureLoggingDisabled=function(et,en){return void 0===en&&(en=!1),Y.getClientX().getLayerWithExposureLoggingDisabled(et,en)},Y.manuallyLogLayerParameterExposure=function(et,en,ei){void 0===ei&&(ei=!1),Y.getClientX().logLayerParameterExposure(et,en,ei)},Y.logEvent=function(et,en,ei){return void 0===en&&(en=null),void 0===ei&&(ei=null),Y.getClientX().logEvent(et,en,ei)},Y.updateUser=function(et){return Y.getClientX().updateUser(et)},Y.updateUserWithValues=function(et,en){return Y.getClientX().updateUserWithValues(et,en)},Y.shutdown=function(){Y.getClientX().shutdown(),Y.instance=null},Y.overrideGate=function(et,en){Y.getClientX().overrideGate(et,en)},Y.overrideConfig=function(et,en){Y.getClientX().overrideConfig(et,en)},Y.overrideLayer=function(et,en){Y.getClientX().overrideLayer(et,en)},Y.removeGateOverride=function(et){Y.getClientX().removeGateOverride(et)},Y.removeConfigOverride=function(et){Y.getClientX().removeConfigOverride(et)},Y.removeLayerOverride=function(et){Y.getClientX().removeLayerOverride(et)},Y.getAllOverrides=function(){return Y.getClientX().getAllOverrides()},Y.getStableID=function(){return Y.getClientX().getStableID()},Y.getEvaluationDetails=function(){var et,en;return null!==(en=null===(et=Y.instance)||void 0===et?void 0:et.getEvaluationDetails())&&void 0!==en?en:{reason:ef.EvaluationReason.Uninitialized,time:0}},Y.removeOverride=function(et){Y.getClientX().removeOverride(et)},Y.getOverrides=function(){return Y.getClientX().getOverrides()},Y.initializeCalled=function(){return null!=Y.instance&&Y.instance.initializeCalled()},Y.getClientX=function(){if(!Y.instance)throw new eu.StatsigUninitializedError;return Y.instance},Y.instance=null,Y}();et.default=e_},74267:function(Y,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0}),et.Base64=void 0,et.Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_encodeBinary:function(Y){for(var et,en,ei,eo,ea,eu,ec,ed="",ef=0;ef<Y.length;)et=Y.charCodeAt(ef++),en=Y.charCodeAt(ef++),ei=Y.charCodeAt(ef++),eo=et>>2,ea=(3&et)<<4|en>>4,eu=(15&en)<<2|ei>>6,ec=63&ei,isNaN(en)?eu=ec=64:isNaN(ei)&&(ec=64),ed=ed+this._keyStr.charAt(eo)+this._keyStr.charAt(ea)+this._keyStr.charAt(eu)+this._keyStr.charAt(ec);return ed},encodeArrayBuffer:function(Y){for(var en="",ei=new Uint8Array(Y),eo=ei.byteLength,ea=0;ea<eo;ea++)en+=String.fromCharCode(ei[ea]);return et.Base64._encodeBinary(en)}}},96157:function(Y,et){"use strict";var en=this&&this.__assign||function(){return(en=Object.assign||function(Y){for(var et,en=1,ei=arguments.length;en<ei;en++)for(var eo in et=arguments[en])Object.prototype.hasOwnProperty.call(et,eo)&&(Y[eo]=et[eo]);return Y}).apply(this,arguments)};Object.defineProperty(et,"__esModule",{value:!0});var ei=function(){function Y(){}return Y.isValid=function(et,en){try{var ei=en.evaluated_keys;if(!ei||"object"!=typeof ei)return!0;var eo=this.copyObject(ei),ea=null==et?null:this.copyObject(et);return Y.validate(eo,ea)&&Y.validate(ea,eo)}catch(Y){}return!0},Y.validate=function(Y,et){if(null==Y)return null==et;if(null==et)return!1;for(var en=0,ei=Object.entries(Y);en<ei.length;en++){var eo=ei[en],ea=eo[0],eu=eo[1];if("stableID"!==ea){if(typeof eu!=typeof et[ea])return!1;if("string"==typeof eu){if(eu!==et[ea])return!1}else if("object"==typeof eu)return this.validate(eu,et[ea]);else return!1}}return!0},Y.copyObject=function(Y){if(null==Y)return null;var et={};if((null==Y?void 0:Y.userID)&&(et.userID=null==Y?void 0:Y.userID),null==Y?void 0:Y.customIDs){var ei=en({},Y.customIDs);delete ei.stableID,0!==Object.keys(ei).length&&(et.customIDs=ei)}return et},Y}();et.default=ei},18357:function(Y,et,en){"use strict";Object.defineProperty(et,"__esModule",{value:!0});var ei=en(12900),eo=function(){function Y(Y){this.logLevel=Y}return Y.prototype.info=function(Y){this.logLevel!==ei.LogLevel.NONE&&console.log(Y)},Y.prototype.error=function(Y){this.logLevel===ei.LogLevel.DEBUG&&console.error(Y)},Y}();et.default=eo},36395:function(Y,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0}),et.STORAGE_PREFIX=et.LOCAL_STORAGE_KEYS=et.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY=et.STATSIG_STABLE_ID_KEY=et.INTERNAL_STORE_KEY=et.STICKY_DEVICE_EXPERIMENTS_KEY=et.OVERRIDES_STORE_KEY=void 0,et.OVERRIDES_STORE_KEY="STATSIG_LOCAL_STORAGE_INTERNAL_STORE_OVERRIDES_V3",et.STICKY_DEVICE_EXPERIMENTS_KEY="STATSIG_LOCAL_STORAGE_STICKY_DEVICE_EXPERIMENTS",et.INTERNAL_STORE_KEY="STATSIG_LOCAL_STORAGE_INTERNAL_STORE_V4",et.STATSIG_STABLE_ID_KEY="STATSIG_LOCAL_STORAGE_STABLE_ID",et.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY="STATSIG_LOCAL_STORAGE_LOGGING_REQUEST",et.LOCAL_STORAGE_KEYS={STATSIG_LOCAL_STORAGE_STABLE_ID:!0,STATSIG_LOCAL_STORAGE_INTERNAL_STORE_V4:!0,STATSIG_LOCAL_STORAGE_STICKY_DEVICE_EXPERIMENTS:!0,STATSIG_LOCAL_STORAGE_INTERNAL_STORE_OVERRIDES_V3:!0,STATSIG_LOCAL_STORAGE_LOGGING_REQUEST:!0},et.STORAGE_PREFIX="STATSIG_LOCAL_STORAGE"},52923:function(Y,et,en){"use strict";var ei=this&&this.__assign||function(){return(ei=Object.assign||function(Y){for(var et,en=1,ei=arguments.length;en<ei;en++)for(var eo in et=arguments[en])Object.prototype.hasOwnProperty.call(et,eo)&&(Y[eo]=et[eo]);return Y}).apply(this,arguments)};Object.defineProperty(et,"__esModule",{value:!0}),et.DiagnosticsImpl=void 0;var eo=en(47477),ea=function(){function Y(Y){var et,en,ei,eo=this;this.mark={overall:this.selectAction("overall"),intialize:this.selectStep("initialize"),bootstrap:this.selectStep("bootstrap"),api_call:function(Y){switch(Y){case"getConfig":return eo.selectAction("get_config");case"getExperiment":return eo.selectAction("get_experiment");case"checkGate":return eo.selectAction("check_gate");case"getLayer":return eo.selectAction("get_layer")}return null}},this.context="initialize",this.defaultMaxMarkers=30,this.maxMarkers={initialize:this.defaultMaxMarkers,config_sync:this.defaultMaxMarkers,event_logging:this.defaultMaxMarkers,api_call:this.defaultMaxMarkers},this.markers=null!==(et=Y.markers)&&void 0!==et?et:{initialize:[],config_sync:[],event_logging:[],api_call:[]},this.disabled=null!==(ei=null===(en=Y.options)||void 0===en?void 0:en.getDisableDiagnosticsLogging())&&void 0!==ei&&ei}return Y.prototype.setContext=function(Y){this.context=Y},Y.prototype.selectAction=function(Y,et){var en=this;return{start:function(ea,eu){return en.addMarker(ei({key:Y,step:et,action:"start",timestamp:(0,eo.now)({withPrecision:!0})},null!=ea?ea:{}),eu)},end:function(ea,eu){return en.addMarker(ei({key:Y,step:et,action:"end",timestamp:(0,eo.now)({withPrecision:!0})},null!=ea?ea:{}),eu)}}},Y.prototype.selectStep=function(Y){return{process:this.selectAction(Y,"process"),networkRequest:this.selectAction(Y,"network_request")}},Y.prototype.addMarker=function(Y,et){if(this.disabled)return!1;var en,ei=null!=et?et:this.context;return(void 0===this.maxMarkers[ei]||!(this.markers[ei].length>=(null!==(en=this.maxMarkers[ei])&&void 0!==en?en:this.defaultMaxMarkers)))&&(this.markers[ei].push(Y),!0)},Y.prototype.getMarkers=function(Y){return this.markers[Y]},Y.prototype.setMaxMarkers=function(Y,et){this.maxMarkers[Y]=et},Y.prototype.getMarkerCount=function(Y){return this.markers[Y].length},Y.prototype.clearContext=function(Y){this.markers[Y]=[]},Y}();et.DiagnosticsImpl=ea;var eu=function(){function Y(){}return Y.initialize=function(Y){this.instance=new ea(Y),this.mark=this.instance.mark,this.disabled=this.instance.disabled,this.getMarkers=this.instance.getMarkers.bind(this.instance),this.getMarkerCount=this.instance.getMarkerCount.bind(this.instance),this.setMaxMarkers=this.instance.setMaxMarkers.bind(this.instance),this.setContext=this.instance.setContext.bind(this.instance),this.clearContext=this.instance.clearContext.bind(this.instance)},Y.formatNetworkError=function(Y){if(Y&&"object"==typeof Y)return{code:this.safeGetField(Y,"code"),name:this.safeGetField(Y,"name"),message:this.safeGetField(Y,"message")}},Y.safeGetField=function(Y,et){if(et in Y)return Y[et]},Y}();et.default=eu},98235:function(Y,et,en){"use strict";Object.defineProperty(et,"__esModule",{value:!0}),et.getUserCacheKey=et.getSortedObject=et.djb2HashForObject=et.sha256Hash=et.djb2Hash=et.memoizedUserCacheKeyHash=et.fasthash=void 0;var ei=en(74267),eo=en(38526),ea={};function eu(Y){for(var et=0,en=0;en<Y.length;en++)et=(et<<5)-et+Y.charCodeAt(en),et&=et;return et}function ec(Y){var et=ea[Y];if(et)return et;var en=String(eu(Y));return ea[Y]=en,en}function ed(Y){return String(eu(Y)>>>0)}function ef(Y){var et=ea[Y];if(et)return et;var en=(0,eo.sha256create)().update(Y).arrayBuffer(),eu=ei.Base64.encodeArrayBuffer(en);return ea[Y]=eu,eu}function eh(Y){return ed(JSON.stringify(ep(Y)))}function ep(Y){if(null==Y)return null;var et=Object.keys(Y).sort(),en={};return et.forEach(function(et){var ei=Y[et];ei instanceof Object&&(ei=ep(ei)),en[et]=ei}),en}function em(Y,et){var en,ei=["userID:"+String(null!==(en=null==et?void 0:et.userID)&&void 0!==en?en:"")],eo=null==et?void 0:et.customIDs;if(null!=eo)for(var ea=0,eu=Object.entries(eo);ea<eu.length;ea++){var ed=eu[ea],ef=ed[0],eh=ed[1];ei.push(ef+":"+eh)}var ep=ec(ei.join(";"));return ei.splice(1,0,"stableID:"+Y),{v1:ec(ei.join(";")),v2:ep}}et.fasthash=eu,et.memoizedUserCacheKeyHash=ec,et.djb2Hash=ed,et.sha256Hash=ef,et.djb2HashForObject=eh,et.getSortedObject=ep,et.getUserCacheKey=em},23015:function(Y,et){"use strict";function en(){Object.entries||(Object.entries=function(Y){for(var et=Object.keys(Y),en=et.length,ei=Array(en);en--;)ei[en]=[et[en],Y[et[en]]];return ei})}Object.defineProperty(et,"__esModule",{value:!0}),et.default=en},51522:function(Y,et){"use strict";function en(){Object.fromEntries||(Object.fromEntries=function(Y){for(var et={},en=0,ei=Y;en<ei.length;en++){var eo=ei[en];if(Object(eo)!==eo)throw TypeError("iterable for fromEntries should yield objects");Object.defineProperty(et,eo[0],{configurable:!0,enumerable:!0,writable:!0,value:eo[1]})}return et})}Object.defineProperty(et,"__esModule",{value:!0}),et.default=en},26867:function(Y,et){"use strict";function en(){Promise.prototype.finally=Promise.prototype.finally||({finally:function(Y){var et=function(et){return Promise.resolve(Y()).then(et)};return this.then(function(Y){return et(function(){return Y})},function(Y){return et(function(){return Promise.reject(Y)})})}}).finally}Object.defineProperty(et,"__esModule",{value:!0}),et.default=en},39252:function(Y,et){"use strict";Object.defineProperty(et,"__esModule",{value:!0});var en=function(){function Y(){}return Y.getItemAsync=function(et){var en;return Y.asyncStorage?null!==(en=Y.asyncStorage.getItem(et))&&void 0!==en?en:null:Promise.resolve(null)},Y.setItemAsync=function(et,en){return Y.asyncStorage?Y.asyncStorage.setItem(et,en):Promise.resolve()},Y.removeItemAsync=function(et){return Y.asyncStorage?Y.asyncStorage.removeItem(et):Promise.resolve()},Y}();et.default=en},59873:function(Y,et,en){"use strict";Object.defineProperty(et,"__esModule",{value:!0});var ei=en(36395),eo=function(){function Y(){}return Y.getItem=function(Y){var et;try{if(this.isStorageAccessible())return window.localStorage.getItem(Y)}catch(Y){}return null!==(et=this.fallbackSessionCache[Y])&&void 0!==et?et:null},Y.setItem=function(Y,et){try{if(this.isStorageAccessible()){window.localStorage.setItem(Y,et);return}}catch(Y){}this.fallbackSessionCache[Y]=et},Y.removeItem=function(Y){try{if(this.isStorageAccessible()){window.localStorage.removeItem(Y);return}}catch(Y){}delete this.fallbackSessionCache[Y]},Y.cleanup=function(){try{if(this.isStorageAccessible(!0))for(var Y in window.localStorage)"string"!=typeof window.localStorage[Y]||null==Y||!this.disabled&&Y in ei.LOCAL_STORAGE_KEYS||!this.disabled&&Y.substring(0,ei.STORAGE_PREFIX.length)!==ei.STORAGE_PREFIX||window.localStorage.removeItem(Y)}catch(Y){}},Y.isStorageAccessible=function(Y){void 0===Y&&(Y=!1),null==this.canAccessStorageAccessible&&(this.canAccessStorageAccessible="undefined"!=typeof Storage&&"undefined"!=typeof window&&null!=window&&null!=window.localStorage);var et=this.canAccessStorageAccessible;return Y?et:!this.disabled&&et},Y.disabled=!1,Y.fallbackSessionCache={},Y.canAccessStorageAccessible=null,Y}();et.default=eo},47477:function(Y,et){"use strict";function en(Y){return(void 0===Y&&(Y={withPrecision:!1}),"undefined"!=typeof performance&&performance)?Y.withPrecision?performance.now():0|performance.now():Date.now()}function ei(Y){return en()-Y}Object.defineProperty(et,"__esModule",{value:!0}),et.difference=et.now=void 0,et.now=en,et.difference=ei},38526:function(module,exports,__webpack_require__){"use strict";var __WEBPACK_AMD_DEFINE_RESULT__,process=__webpack_require__(44675);!/**
* [js-sha256]{@link https://github.com/emn178/js-sha256}
*
* @version 0.9.0
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2014-2017
* @license MIT
*/function(){var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=__webpack_require__.g:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD=__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];(root.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(Y){return"[object Array]"===Object.prototype.toString.call(Y)}),ARRAY_BUFFER&&(root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(Y){return"object"==typeof Y&&Y.buffer&&Y.buffer.constructor===ArrayBuffer});var createOutputMethod=function(Y,et){return function(en){return new Sha256(et,!0).update(en)[Y]()}},createMethod=function(Y){var et=createOutputMethod("hex",Y);NODE_JS&&(et=nodeWrap(et,Y)),et.create=function(){return new Sha256(Y)},et.update=function(Y){return et.create().update(Y)};for(var en=0;en<OUTPUT_TYPES.length;++en){var ei=OUTPUT_TYPES[en];et[ei]=createOutputMethod(ei,Y)}return et},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(Y){if("string"==typeof Y)return crypto.createHash(algorithm).update(Y,"utf8").digest("hex");if(null==Y)throw Error(ERROR);return Y.constructor===ArrayBuffer&&(Y=new Uint8Array(Y)),Array.isArray(Y)||ArrayBuffer.isView(Y)||Y.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(Y)).digest("hex"):method(Y)};return nodeMethod},createHmacOutputMethod=function(Y,et){return function(en,ei){return new HmacSha256(en,et,!0).update(ei)[Y]()}},createHmacMethod=function(Y){var et=createHmacOutputMethod("hex",Y);et.create=function(et){return new HmacSha256(et,Y)},et.update=function(Y,en){return et.create(Y).update(en)};for(var en=0;en<OUTPUT_TYPES.length;++en){var ei=OUTPUT_TYPES[en];et[ei]=createHmacOutputMethod(ei,Y)}return et};function Sha256(Y,et){et?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Y?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=Y}function HmacSha256(Y,et,en){var ei,eo=typeof Y;if("string"===eo){var ea,eu=[],ec=Y.length,ed=0;for(ei=0;ei<ec;++ei)(ea=Y.charCodeAt(ei))<128?eu[ed++]=ea:ea<2048?(eu[ed++]=192|ea>>6,eu[ed++]=128|63&ea):ea<55296||ea>=57344?(eu[ed++]=224|ea>>12,eu[ed++]=128|ea>>6&63,eu[ed++]=128|63&ea):(ea=65536+((1023&ea)<<10|1023&Y.charCodeAt(++ei)),eu[ed++]=240|ea>>18,eu[ed++]=128|ea>>12&63,eu[ed++]=128|ea>>6&63,eu[ed++]=128|63&ea);Y=eu}else if("object"===eo){if(null===Y)throw Error(ERROR);if(ARRAY_BUFFER&&Y.constructor===ArrayBuffer)Y=new Uint8Array(Y);else if(!Array.isArray(Y)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(Y)))throw Error(ERROR)}else throw Error(ERROR);Y.length>64&&(Y=new Sha256(et,!0).update(Y).array());var ef=[],eh=[];for(ei=0;ei<64;++ei){var ep=Y[ei]||0;ef[ei]=92^ep,eh[ei]=54^ep}Sha256.call(this,et,en),this.update(eh),this.oKeyPad=ef,this.inner=!0,this.sharedMemory=en}Sha256.prototype.update=function(Y){if(!this.finalized){var et,en=typeof Y;if("string"!==en){if("object"===en){if(null===Y)throw Error(ERROR);if(ARRAY_BUFFER&&Y.constructor===ArrayBuffer)Y=new Uint8Array(Y);else if(!Array.isArray(Y)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(Y)))throw Error(ERROR)}else throw Error(ERROR);et=!0}for(var ei,eo,ea=0,eu=Y.length,ec=this.blocks;ea<eu;){if(this.hashed&&(this.hashed=!1,ec[0]=this.block,ec[16]=ec[1]=ec[2]=ec[3]=ec[4]=ec[5]=ec[6]=ec[7]=ec[8]=ec[9]=ec[10]=ec[11]=ec[12]=ec[13]=ec[14]=ec[15]=0),et)for(eo=this.start;ea<eu&&eo<64;++ea)ec[eo>>2]|=Y[ea]<<SHIFT[3&eo++];else for(eo=this.start;ea<eu&&eo<64;++ea)(ei=Y.charCodeAt(ea))<128?ec[eo>>2]|=ei<<SHIFT[3&eo++]:ei<2048?(ec[eo>>2]|=(192|ei>>6)<<SHIFT[3&eo++],ec[eo>>2]|=(128|63&ei)<<SHIFT[3&eo++]):ei<55296||ei>=57344?(ec[eo>>2]|=(224|ei>>12)<<SHIFT[3&eo++],ec[eo>>2]|=(128|ei>>6&63)<<SHIFT[3&eo++],ec[eo>>2]|=(128|63&ei)<<SHIFT[3&eo++]):(ei=65536+((1023&ei)<<10|1023&Y.charCodeAt(++ea)),ec[eo>>2]|=(240|ei>>18)<<SHIFT[3&eo++],ec[eo>>2]|=(128|ei>>12&63)<<SHIFT[3&eo++],ec[eo>>2]|=(128|ei>>6&63)<<SHIFT[3&eo++],ec[eo>>2]|=(128|63&ei)<<SHIFT[3&eo++]);this.lastByteIndex=eo,this.bytes+=eo-this.start,eo>=64?(this.block=ec[16],this.start=eo-64,this.hash(),this.hashed=!0):this.start=eo}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Y=this.blocks,et=this.lastByteIndex;Y[16]=this.block,Y[et>>2]|=EXTRA[3&et],this.block=Y[16],et>=56&&(this.hashed||this.hash(),Y[0]=this.block,Y[16]=Y[1]=Y[2]=Y[3]=Y[4]=Y[5]=Y[6]=Y[7]=Y[8]=Y[9]=Y[10]=Y[11]=Y[12]=Y[13]=Y[14]=Y[15]=0),Y[14]=this.hBytes<<3|this.bytes>>>29,Y[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var Y,et,en,ei,eo,ea,eu,ec,ed,ef,eh,ep=this.h0,em=this.h1,eg=this.h2,ey=this.h3,eb=this.h4,ek=this.h5,ew=this.h6,e_=this.h7,eE=this.blocks;for(Y=16;Y<64;++Y)et=((eo=eE[Y-15])>>>7|eo<<25)^(eo>>>18|eo<<14)^eo>>>3,en=((eo=eE[Y-2])>>>17|eo<<15)^(eo>>>19|eo<<13)^eo>>>10,eE[Y]=eE[Y-16]+et+eE[Y-7]+en<<0;for(Y=0,eh=em&eg;Y<64;Y+=4)this.first?(this.is224?(ec=300032,e_=(eo=eE[0]-1413257819)-150054599<<0,ey=eo+24177077<<0):(ec=704751109,e_=(eo=eE[0]-210244248)-1521486534<<0,ey=eo+143694565<<0),this.first=!1):(et=(ep>>>2|ep<<30)^(ep>>>13|ep<<19)^(ep>>>22|ep<<10),en=(eb>>>6|eb<<26)^(eb>>>11|eb<<21)^(eb>>>25|eb<<7),ei=(ec=ep&em)^ep&eg^eh,eo=e_+en+(eu=eb&ek^~eb&ew)+K[Y]+eE[Y],ea=et+ei,e_=ey+eo<<0,ey=eo+ea<<0),et=(ey>>>2|ey<<30)^(ey>>>13|ey<<19)^(ey>>>22|ey<<10),en=(e_>>>6|e_<<26)^(e_>>>11|e_<<21)^(e_>>>25|e_<<7),ei=(ed=ey&ep)^ey&em^ec,eo=ew+en+(eu=e_&eb^~e_&ek)+K[Y+1]+eE[Y+1],ea=et+ei,ew=eg+eo<<0,et=((eg=eo+ea<<0)>>>2|eg<<30)^(eg>>>13|eg<<19)^(eg>>>22|eg<<10),en=(ew>>>6|ew<<26)^(ew>>>11|ew<<21)^(ew>>>25|ew<<7),ei=(ef=eg&ey)^eg&ep^ed,eo=ek+en+(eu=ew&e_^~ew&eb)+K[Y+2]+eE[Y+2],ea=et+ei,ek=em+eo<<0,et=((em=eo+ea<<0)>>>2|em<<30)^(em>>>13|em<<19)^(em>>>22|em<<10),en=(ek>>>6|ek<<26)^(ek>>>11|ek<<21)^(ek>>>25|ek<<7),ei=(eh=em&eg)^em&ey^ef,eo=eb+en+(eu=ek&ew^~ek&e_)+K[Y+3]+eE[Y+3],ea=et+ei,eb=ep+eo<<0,ep=eo+ea<<0;this.h0=this.h0+ep<<0,this.h1=this.h1+em<<0,this.h2=this.h2+eg<<0,this.h3=this.h3+ey<<0,this.h4=this.h4+eb<<0,this.h5=this.h5+ek<<0,this.h6=this.h6+ew<<0,this.h7=this.h7+e_<<0},Sha256.prototype.hex=function(){this.finalize();var Y=this.h0,et=this.h1,en=this.h2,ei=this.h3,eo=this.h4,ea=this.h5,eu=this.h6,ec=this.h7,ed=HEX_CHARS[Y>>28&15]+HEX_CHARS[Y>>24&15]+HEX_CHARS[Y>>20&15]+HEX_CHARS[Y>>16&15]+HEX_CHARS[Y>>12&15]+HEX_CHARS[Y>>8&15]+HEX_CHARS[Y>>4&15]+HEX_CHARS[15&Y]+HEX_CHARS[et>>28&15]+HEX_CHARS[et>>24&15]+HEX_CHARS[et>>20&15]+HEX_CHARS[et>>16&15]+HEX_CHARS[et>>12&15]+HEX_CHARS[et>>8&15]+HEX_CHARS[et>>4&15]+HEX_CHARS[15&et]+HEX_CHARS[en>>28&15]+HEX_CHARS[en>>24&15]+HEX_CHARS[en>>20&15]+HEX_CHARS[en>>16&15]+HEX_CHARS[en>>12&15]+HEX_CHARS[en>>8&15]+HEX_CHARS[en>>4&15]+HEX_CHARS[15&en]+HEX_CHARS[ei>>28&15]+HEX_CHARS[ei>>24&15]+HEX_CHARS[ei>>20&15]+HEX_CHARS[ei>>16&15]+HEX_CHARS[ei>>12&15]+HEX_CHARS[ei>>8&15]+HEX_CHARS[ei>>4&15]+HEX_CHARS[15&ei]+HEX_CHARS[eo>>28&15]+HEX_CHARS[eo>>24&15]+HEX_CHARS[eo>>20&15]+HEX_CHARS[eo>>16&15]+HEX_CHARS[eo>>12&15]+HEX_CHARS[eo>>8&15]+HEX_CHARS[eo>>4&15]+HEX_CHARS[15&eo]+HEX_CHARS[ea>>28&15]+HEX_CHARS[ea>>24&15]+HEX_CHARS[ea>>20&15]+HEX_CHARS[ea>>16&15]+HEX_CHARS[ea>>12&15]+HEX_CHARS[ea>>8&15]+HEX_CHARS[ea>>4&15]+HEX_CHARS[15&ea]+HEX_CHARS[eu>>28&15]+HEX_CHARS[eu>>24&15]+HEX_CHARS[eu>>20&15]+HEX_CHARS[eu>>16&15]+HEX_CHARS[eu>>12&15]+HEX_CHARS[eu>>8&15]+HEX_CHARS[eu>>4&15]+HEX_CHARS[15&eu];return this.is224||(ed+=HEX_CHARS[ec>>28&15]+HEX_CHARS[ec>>24&15]+HEX_CHARS[ec>>20&15]+HEX_CHARS[ec>>16&15]+HEX_CHARS[ec>>12&15]+HEX_CHARS[ec>>8&15]+HEX_CHARS[ec>>4&15]+HEX_CHARS[15&ec]),ed},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var Y=this.h0,et=this.h1,en=this.h2,ei=this.h3,eo=this.h4,ea=this.h5,eu=this.h6,ec=this.h7,ed=[Y>>24&255,Y>>16&255,Y>>8&255,255&Y,et>>24&255,et>>16&255,et>>8&255,255&et,en>>24&255,en>>16&255,en>>8&255,255&en,ei>>24&255,ei>>16&255,ei>>8&255,255&ei,eo>>24&255,eo>>16&255,eo>>8&255,255&eo,ea>>24&255,ea>>16&255,ea>>8&255,255&ea,eu>>24&255,eu>>16&255,eu>>8&255,255&eu];return this.is224||ed.push(ec>>24&255,ec>>16&255,ec>>8&255,255&ec),ed},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var Y=new ArrayBuffer(this.is224?28:32),et=new DataView(Y);return et.setUint32(0,this.h0),et.setUint32(4,this.h1),et.setUint32(8,this.h2),et.setUint32(12,this.h3),et.setUint32(16,this.h4),et.setUint32(20,this.h5),et.setUint32(24,this.h6),this.is224||et.setUint32(28,this.h7),Y},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var Y=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(Y),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256create=exports.create,exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&void 0!==(__WEBPACK_AMD_DEFINE_RESULT__=(function(){return exports}).call(exports,__webpack_require__,exports,module))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}()},70919:function(Y,et){"use strict";function en(Y){var et=null!=Y?Y:Error("[Statsig] Error was empty"),en=et instanceof Error;return{name:en?et.name:"No Name",message:en?et.message:void 0,trace:en?et.stack:ei(et)}}function ei(Y){try{return JSON.stringify(Y)}catch(Y){return"[Statsig] Failed to get string for error."}}Object.defineProperty(et,"__esModule",{value:!0}),et.default=en},78791:function(Y,et,en){var ei=en(29058);function eo(Y,et){var en,eo,ea,eu=null;if(!Y||"string"!=typeof Y)return eu;for(var ec=ei(Y),ed="function"==typeof et,ef=0,eh=ec.length;ef<eh;ef++)eo=(en=ec[ef]).property,ea=en.value,ed?et(eo,ea,en):ea&&(eu||(eu={}),eu[eo]=ea);return eu}Y.exports=eo},21389:function(Y,et,en){"use strict";en.d(et,{Z:function(){return e3}});var ei=en(70079);function eo(){return(eo=Object.assign?Object.assign.bind():function(Y){for(var et=1;et<arguments.length;et++){var en=arguments[et];for(var ei in en)Object.prototype.hasOwnProperty.call(en,ei)&&(Y[ei]=en[ei])}return Y}).apply(this,arguments)}function ea(Y){if(Y<1)return{get:function(){},set:function(){}};var et=0,en=new Map,ei=new Map;function eo(eo,ea){en.set(eo,ea),++et>Y&&(et=0,ei=en,en=new Map)}return{get:function(Y){var et=en.get(Y);return void 0!==et?et:void 0!==(et=ei.get(Y))?(eo(Y,et),et):void 0},set:function(Y,et){en.has(Y)?en.set(Y,et):eo(Y,et)}}}var eu="-";function ec(Y){var et=ep(Y);return{getClassGroupId:function(Y){var en=Y.split(eu);return""===en[0]&&1!==en.length&&en.shift(),ed(en,et)||eh(Y)},getConflictingClassGroupIds:function(et){return Y.conflictingClassGroups[et]||[]}}}function ed(Y,et){if(0===Y.length)return et.classGroupId;var en,ei=Y[0],eo=et.nextPart.get(ei),ea=eo?ed(Y.slice(1),eo):void 0;if(ea)return ea;if(0!==et.validators.length){var ec=Y.join(eu);return null==(en=et.validators.find(function(Y){return(0,Y.validator)(ec)}))?void 0:en.classGroupId}}var ef=/^\[(.+)\]$/;function eh(Y){if(ef.test(Y)){var et=ef.exec(Y)[1],en=null==et?void 0:et.substring(0,et.indexOf(":"));if(en)return"arbitrary.."+en}}function ep(Y){var et=Y.theme,en=Y.prefix,ei={nextPart:new Map,validators:[]};return eb(Object.entries(Y.classGroups),en).forEach(function(Y){var en=Y[0];em(Y[1],ei,en,et)}),ei}function em(Y,et,en,ei){Y.forEach(function(Y){if("string"==typeof Y){(""===Y?et:eg(et,Y)).classGroupId=en;return}if("function"==typeof Y){if(ey(Y)){em(Y(ei),et,en,ei);return}et.validators.push({validator:Y,classGroupId:en});return}Object.entries(Y).forEach(function(Y){var eo=Y[0];em(Y[1],eg(et,eo),en,ei)})})}function eg(Y,et){var en=Y;return et.split(eu).forEach(function(Y){en.nextPart.has(Y)||en.nextPart.set(Y,{nextPart:new Map,validators:[]}),en=en.nextPart.get(Y)}),en}function ey(Y){return Y.isThemeGetter}function eb(Y,et){return et?Y.map(function(Y){return[Y[0],Y[1].map(function(Y){return"string"==typeof Y?et+Y:"object"==typeof Y?Object.fromEntries(Object.entries(Y).map(function(Y){return[et+Y[0],Y[1]]})):Y})]}):Y}var ek="!";function ew(Y){var et=Y.separator||":";return function(Y){for(var en=0,ei=[],eo=0,ea=0;ea<Y.length;ea++){var eu=Y[ea];0===en&&eu===et[0]&&(1===et.length||Y.slice(ea,ea+et.length)===et)&&(ei.push(Y.slice(eo,ea)),eo=ea+et.length),"["===eu?en++:"]"===eu&&en--}var ec=0===ei.length?Y:Y.substring(eo),ed=ec.startsWith(ek),ef=ed?ec.substring(1):ec;return{modifiers:ei,hasImportantModifier:ed,baseClassName:ef}}}function e_(Y){if(Y.length<=1)return Y;var et=[],en=[];return Y.forEach(function(Y){"["===Y[0]?(et.push.apply(et,en.sort().concat([Y])),en=[]):en.push(Y)}),et.push.apply(et,en.sort()),et}function eE(Y){return eo({cache:ea(Y.cacheSize),splitModifiers:ew(Y)},ec(Y))}var eC=/\s+/;function eT(Y,et){var en=et.splitModifiers,ei=et.getClassGroupId,eo=et.getConflictingClassGroupIds,ea=new Set;return Y.trim().split(eC).map(function(Y){var et=en(Y),eo=et.modifiers,ea=et.hasImportantModifier,eu=ei(et.baseClassName);if(!eu)return{isTailwindClass:!1,originalClassName:Y};var ec=e_(eo).join(":");return{isTailwindClass:!0,modifierId:ea?ec+ek:ec,classGroupId:eu,originalClassName:Y}}).reverse().filter(function(Y){if(!Y.isTailwindClass)return!0;var et=Y.modifierId,en=Y.classGroupId,ei=et+en;return!ea.has(ei)&&(ea.add(ei),eo(en).forEach(function(Y){return ea.add(et+Y)}),!0)}).reverse().map(function(Y){return Y.originalClassName}).join(" ")}function eS(){for(var Y,et,en=0,ei="";en<arguments.length;)(Y=arguments[en++])&&(et=eA(Y))&&(ei&&(ei+=" "),ei+=et);return ei}function eA(Y){if("string"==typeof Y)return Y;for(var et,en="",ei=0;ei<Y.length;ei++)Y[ei]&&(et=eA(Y[ei]))&&(en&&(en+=" "),en+=et);return en}function eM(){for(var Y,et,en,ei=arguments.length,eo=Array(ei),ea=0;ea<ei;ea++)eo[ea]=arguments[ea];var eu=ec;function ec(ei){var ea=eo[0];return et=(Y=eE(eo.slice(1).reduce(function(Y,et){return et(Y)},ea()))).cache.get,en=Y.cache.set,eu=ed,ed(ei)}function ed(ei){var eo=et(ei);if(eo)return eo;var ea=eT(ei,Y);return en(ei,ea),ea}return function(){return eu(eS.apply(null,arguments))}}function eP(Y){var et=function(et){return et[Y]||[]};return et.isThemeGetter=!0,et}var ej=/^\[(.+)\]$/,eO=/^\d+\/\d+$/,eI=new Set(["px","full","screen"]),eN=/^(\d+)?(xs|sm|md|lg|xl)$/,eL=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/,eR=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function eD(Y){return!Number.isNaN(Number(Y))||eI.has(Y)||eO.test(Y)||eF(Y)}function eF(Y){var et,en=null==(et=ej.exec(Y))?void 0:et[1];return!!en&&(en.startsWith("length:")||eL.test(en))}function eB(Y){var et,en=null==(et=ej.exec(Y))?void 0:et[1];return!!en&&en.startsWith("size:")}function ez(Y){var et,en=null==(et=ej.exec(Y))?void 0:et[1];return!!en&&en.startsWith("position:")}function eU(Y){var et,en=null==(et=ej.exec(Y))?void 0:et[1];return!!en&&(en.startsWith("url(")||en.startsWith("url:"))}function eH(Y){var et,en=null==(et=ej.exec(Y))?void 0:et[1];return!!en&&(!Number.isNaN(Number(en))||en.startsWith("number:"))}function eG(Y){var et,en=null==(et=ej.exec(Y))?void 0:et[1];return en?Number.isInteger(Number(en)):Number.isInteger(Number(Y))}function eV(Y){return ej.test(Y)}function eW(){return!0}function eZ(Y){return eN.test(Y)}function eK(Y){var et,en=null==(et=ej.exec(Y))?void 0:et[1];return!!en&&eR.test(en)}var e$=eM(function(){var Y=eP("colors"),et=eP("spacing"),en=eP("blur"),ei=eP("brightness"),eo=eP("borderColor"),ea=eP("borderRadius"),eu=eP("borderSpacing"),ec=eP("borderWidth"),ed=eP("contrast"),ef=eP("grayscale"),eh=eP("hueRotate"),ep=eP("invert"),em=eP("gap"),eg=eP("gradientColorStops"),ey=eP("inset"),eb=eP("margin"),ek=eP("opacity"),ew=eP("padding"),e_=eP("saturate"),eE=eP("scale"),eC=eP("sepia"),eT=eP("skew"),eS=eP("space"),eA=eP("translate"),eM=function(){return["auto","contain","none"]},ej=function(){return["auto","hidden","clip","visible","scroll"]},eO=function(){return["auto",et]},eI=function(){return["",eD]},eN=function(){return["auto",eG]},eL=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},eR=function(){return["solid","dashed","dotted","double","none"]},e$=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},eY=function(){return["start","end","center","between","around","evenly"]},eQ=function(){return["","0",eV]},eX=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]};return{cacheSize:500,theme:{colors:[eW],spacing:[eD],blur:["none","",eZ,eF],brightness:[eG],borderColor:[Y],borderRadius:["none","","full",eZ,eF],borderSpacing:[et],borderWidth:eI(),contrast:[eG],grayscale:eQ(),hueRotate:[eG],invert:eQ(),gap:[et],gradientColorStops:[Y],inset:eO(),margin:eO(),opacity:[eG],padding:[et],saturate:[eG],scale:[eG],sepia:eQ(),skew:[eG,eV],space:[et],translate:[et]},classGroups:{aspect:[{aspect:["auto","square","video",eV]}],container:["container"],columns:[{columns:[eZ]}],"break-after":[{"break-after":eX()}],"break-before":[{"break-before":eX()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(eL(),[eV])}],overflow:[{overflow:ej()}],"overflow-x":[{"overflow-x":ej()}],"overflow-y":[{"overflow-y":ej()}],overscroll:[{overscroll:eM()}],"overscroll-x":[{"overscroll-x":eM()}],"overscroll-y":[{"overscroll-y":eM()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[ey]}],"inset-x":[{"inset-x":[ey]}],"inset-y":[{"inset-y":[ey]}],top:[{top:[ey]}],right:[{right:[ey]}],bottom:[{bottom:[ey]}],left:[{left:[ey]}],visibility:["visible","invisible","collapse"],z:[{z:[eG]}],basis:[{basis:[et]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",eV]}],grow:[{grow:eQ()}],shrink:[{shrink:eQ()}],order:[{order:["first","last","none",eG]}],"grid-cols":[{"grid-cols":[eW]}],"col-start-end":[{col:["auto",{span:[eG]}]}],"col-start":[{"col-start":eN()}],"col-end":[{"col-end":eN()}],"grid-rows":[{"grid-rows":[eW]}],"row-start-end":[{row:["auto",{span:[eG]}]}],"row-start":[{"row-start":eN()}],"row-end":[{"row-end":eN()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",eV]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",eV]}],gap:[{gap:[em]}],"gap-x":[{"gap-x":[em]}],"gap-y":[{"gap-y":[em]}],"justify-content":[{justify:eY()}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:[].concat(eY(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(eY(),["baseline","stretch"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[ew]}],px:[{px:[ew]}],py:[{py:[ew]}],pt:[{pt:[ew]}],pr:[{pr:[ew]}],pb:[{pb:[ew]}],pl:[{pl:[ew]}],m:[{m:[eb]}],mx:[{mx:[eb]}],my:[{my:[eb]}],mt:[{mt:[eb]}],mr:[{mr:[eb]}],mb:[{mb:[eb]}],ml:[{ml:[eb]}],"space-x":[{"space-x":[eS]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[eS]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",et]}],"min-w":[{"min-w":["min","max","fit",eD]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[eZ]},eZ,eF]}],h:[{h:[et,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",eD]}],"max-h":[{"max-h":[et,"min","max","fit"]}],"font-size":[{text:["base",eZ,eF]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",eH]}],"font-family":[{font:[eW]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",eF]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",eD]}],"list-style-type":[{list:["none","disc","decimal",eV]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[Y]}],"placeholder-opacity":[{"placeholder-opacity":[ek]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[Y]}],"text-opacity":[{"text-opacity":[ek]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(eR(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",eD]}],"underline-offset":[{"underline-offset":["auto",eD]}],"text-decoration-color":[{decoration:[Y]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[et]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",eF]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap"]}],break:[{break:["normal","words","all","keep"]}],content:[{content:["none",eV]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[ek]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(eL(),[ez])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",eB]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},eU]}],"bg-color":[{bg:[Y]}],"gradient-from":[{from:[eg]}],"gradient-via":[{via:[eg]}],"gradient-to":[{to:[eg]}],rounded:[{rounded:[ea]}],"rounded-t":[{"rounded-t":[ea]}],"rounded-r":[{"rounded-r":[ea]}],"rounded-b":[{"rounded-b":[ea]}],"rounded-l":[{"rounded-l":[ea]}],"rounded-tl":[{"rounded-tl":[ea]}],"rounded-tr":[{"rounded-tr":[ea]}],"rounded-br":[{"rounded-br":[ea]}],"rounded-bl":[{"rounded-bl":[ea]}],"border-w":[{border:[ec]}],"border-w-x":[{"border-x":[ec]}],"border-w-y":[{"border-y":[ec]}],"border-w-t":[{"border-t":[ec]}],"border-w-r":[{"border-r":[ec]}],"border-w-b":[{"border-b":[ec]}],"border-w-l":[{"border-l":[ec]}],"border-opacity":[{"border-opacity":[ek]}],"border-style":[{border:[].concat(eR(),["hidden"])}],"divide-x":[{"divide-x":[ec]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[ec]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[ek]}],"divide-style":[{divide:eR()}],"border-color":[{border:[eo]}],"border-color-x":[{"border-x":[eo]}],"border-color-y":[{"border-y":[eo]}],"border-color-t":[{"border-t":[eo]}],"border-color-r":[{"border-r":[eo]}],"border-color-b":[{"border-b":[eo]}],"border-color-l":[{"border-l":[eo]}],"divide-color":[{divide:[eo]}],"outline-style":[{outline:[""].concat(eR())}],"outline-offset":[{"outline-offset":[eD]}],"outline-w":[{outline:[eD]}],"outline-color":[{outline:[Y]}],"ring-w":[{ring:eI()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[Y]}],"ring-opacity":[{"ring-opacity":[ek]}],"ring-offset-w":[{"ring-offset":[eD]}],"ring-offset-color":[{"ring-offset":[Y]}],shadow:[{shadow:["","inner","none",eZ,eK]}],"shadow-color":[{shadow:[eW]}],opacity:[{opacity:[ek]}],"mix-blend":[{"mix-blend":e$()}],"bg-blend":[{"bg-blend":e$()}],filter:[{filter:["","none"]}],blur:[{blur:[en]}],brightness:[{brightness:[ei]}],contrast:[{contrast:[ed]}],"drop-shadow":[{"drop-shadow":["","none",eZ,eV]}],grayscale:[{grayscale:[ef]}],"hue-rotate":[{"hue-rotate":[eh]}],invert:[{invert:[ep]}],saturate:[{saturate:[e_]}],sepia:[{sepia:[eC]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[en]}],"backdrop-brightness":[{"backdrop-brightness":[ei]}],"backdrop-contrast":[{"backdrop-contrast":[ed]}],"backdrop-grayscale":[{"backdrop-grayscale":[ef]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[eh]}],"backdrop-invert":[{"backdrop-invert":[ep]}],"backdrop-opacity":[{"backdrop-opacity":[ek]}],"backdrop-saturate":[{"backdrop-saturate":[e_]}],"backdrop-sepia":[{"backdrop-sepia":[eC]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[eu]}],"border-spacing-x":[{"border-spacing-x":[eu]}],"border-spacing-y":[{"border-spacing-y":[eu]}],"table-layout":[{table:["auto","fixed"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",eV]}],duration:[{duration:[eG]}],ease:[{ease:["linear","in","out","in-out",eV]}],delay:[{delay:[eG]}],animate:[{animate:["none","spin","ping","pulse","bounce",eV]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[eE]}],"scale-x":[{"scale-x":[eE]}],"scale-y":[{"scale-y":[eE]}],rotate:[{rotate:[eG,eV]}],"translate-x":[{"translate-x":[eA]}],"translate-y":[{"translate-y":[eA]}],"skew-x":[{"skew-x":[eT]}],"skew-y":[{"skew-y":[eT]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",eV]}],accent:[{accent:["auto",Y]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",eV]}],"caret-color":[{caret:[Y]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[et]}],"scroll-mx":[{"scroll-mx":[et]}],"scroll-my":[{"scroll-my":[et]}],"scroll-mt":[{"scroll-mt":[et]}],"scroll-mr":[{"scroll-mr":[et]}],"scroll-mb":[{"scroll-mb":[et]}],"scroll-ml":[{"scroll-ml":[et]}],"scroll-p":[{"scroll-p":[et]}],"scroll-px":[{"scroll-px":[et]}],"scroll-py":[{"scroll-py":[et]}],"scroll-pt":[{"scroll-pt":[et]}],"scroll-pr":[{"scroll-pr":[et]}],"scroll-pb":[{"scroll-pb":[et]}],"scroll-pl":[{"scroll-pl":[et]}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",eV]}],fill:[{fill:[Y,"none"]}],"stroke-w":[{stroke:[eD,eH]}],stroke:[{stroke:[Y,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],"col-start-end":["col-start","col-end"],"row-start-end":["row-start","row-end"],gap:["gap-x","gap-y"],p:["px","py","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-t","rounded-r","rounded-b","rounded-l","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]}}}),eY=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],eQ=Symbol("isTwElement?"),eX=(Y,et)=>Y.reduce((Y,en,ei)=>Y.concat(en||[],et[ei]||[]),[]),eJ=(Y,et="")=>{let en=Y.join(" ").trim().replace(/\n/g," ").replace(/\s{2,}/g," ").split(" ").filter(Y=>","!==Y),ei=et?et.split(" "):[];return e$(...en.concat(ei).filter(Y=>" "!==Y))},e0=([Y])=>"$"!==Y.charAt(0),e9=Y=>!0===Y[eQ],e5=Y=>(et,...en)=>{let eo=(ea=[])=>{let eu=ei.forwardRef((eo,eu)=>{let{$as:ec=Y,style:ed={},...ef}=eo,eh=e9(Y)?Y:ec,ep=ea?ea.reduce((Y,et)=>Object.assign(Y,"function"==typeof et?et(eo):et),{}):{},em=e9(eh)?ef:Object.fromEntries(Object.entries(ef).filter(e0));return ei.createElement(eh,{...em,style:{...ep,...ed},ref:eu,className:eJ(eX(et,en.map(Y=>Y({...ef,$as:ec}))),ef.className),...e9(Y)?{$as:ec}:{}})});return eu[eQ]=!0,"string"!=typeof Y?eu.displayName=Y.displayName||Y.name||"tw.Component":eu.displayName="tw."+Y,eu.withStyle=Y=>eo(ea.concat(Y)),eu};return eo()},e4=eY.reduce((Y,et)=>({...Y,[et]:e5(et)}),{}),e3=Object.assign(e5,e4)},39889:function(Y,et,en){"use strict";en.d(et,{ZT:function(){return eo},_T:function(){return eu},ev:function(){return ec},pi:function(){return ea}});var ei=function(Y,et){return(ei=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(Y,et){Y.__proto__=et}||function(Y,et){for(var en in et)Object.prototype.hasOwnProperty.call(et,en)&&(Y[en]=et[en])})(Y,et)};function eo(Y,et){if("function"!=typeof et&&null!==et)throw TypeError("Class extends value "+String(et)+" is not a constructor or null");function en(){this.constructor=Y}ei(Y,et),Y.prototype=null===et?Object.create(et):(en.prototype=et.prototype,new en)}var ea=function(){return(ea=Object.assign||function(Y){for(var et,en=1,ei=arguments.length;en<ei;en++)for(var eo in et=arguments[en])Object.prototype.hasOwnProperty.call(et,eo)&&(Y[eo]=et[eo]);return Y}).apply(this,arguments)};function eu(Y,et){var en={};for(var ei in Y)Object.prototype.hasOwnProperty.call(Y,ei)&&0>et.indexOf(ei)&&(en[ei]=Y[ei]);if(null!=Y&&"function"==typeof Object.getOwnPropertySymbols)for(var eo=0,ei=Object.getOwnPropertySymbols(Y);eo<ei.length;eo++)0>et.indexOf(ei[eo])&&Object.prototype.propertyIsEnumerable.call(Y,ei[eo])&&(en[ei[eo]]=Y[ei[eo]]);return en}function ec(Y,et,en){if(en||2==arguments.length)for(var ei,eo=0,ea=et.length;eo<ea;eo++)!ei&&eo in et||(ei||(ei=Array.prototype.slice.call(et,0,eo)),ei[eo]=et[eo]);return Y.concat(ei||Array.prototype.slice.call(et))}},10538:function(Y,et,en){"use strict";/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ei=en(70079);function eo(Y,et){return Y===et&&(0!==Y||1/Y==1/et)||Y!=Y&&et!=et}var ea="function"==typeof Object.is?Object.is:eo,eu=ei.useState,ec=ei.useEffect,ed=ei.useLayoutEffect,ef=ei.useDebugValue;function eh(Y,et){var en=et(),ei=eu({inst:{value:en,getSnapshot:et}}),eo=ei[0].inst,ea=ei[1];return ed(function(){eo.value=en,eo.getSnapshot=et,ep(eo)&&ea({inst:eo})},[Y,en,et]),ec(function(){return ep(eo)&&ea({inst:eo}),Y(function(){ep(eo)&&ea({inst:eo})})},[Y]),ef(en),en}function ep(Y){var et=Y.getSnapshot;Y=Y.value;try{var en=et();return!ea(Y,en)}catch(Y){return!0}}function em(Y,et){return et()}var eg="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?em:eh;et.useSyncExternalStore=void 0!==ei.useSyncExternalStore?ei.useSyncExternalStore:eg},97838:function(Y,et,en){"use strict";/**
* @license React
* use-sync-external-store-shim/with-selector.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ei=en(70079),eo=en(31178);function ea(Y,et){return Y===et&&(0!==Y||1/Y==1/et)||Y!=Y&&et!=et}var eu="function"==typeof Object.is?Object.is:ea,ec=eo.useSyncExternalStore,ed=ei.useRef,ef=ei.useEffect,eh=ei.useMemo,ep=ei.useDebugValue;et.useSyncExternalStoreWithSelector=function(Y,et,en,ei,eo){var ea=ed(null);if(null===ea.current){var em={hasValue:!1,value:null};ea.current=em}else em=ea.current;ea=eh(function(){function Y(Y){if(!ed){if(ed=!0,ea=Y,Y=ei(Y),void 0!==eo&&em.hasValue){var et=em.value;if(eo(et,Y))return ec=et}return ec=Y}if(et=ec,eu(ea,Y))return et;var en=ei(Y);return void 0!==eo&&eo(et,en)?et:(ea=Y,ec=en)}var ea,ec,ed=!1,ef=void 0===en?null:en;return[function(){return Y(et())},null===ef?void 0:function(){return Y(ef())}]},[et,en,ei,eo]);var eg=ec(Y,ea[0],ea[1]);return ef(function(){em.hasValue=!0,em.value=eg},[eg]),ep(eg),eg}},31178:function(Y,et,en){"use strict";Y.exports=en(10538)},92280:function(Y,et,en){"use strict";Y.exports=en(97838)},2439:function(Y){Y.exports=function(Y){return Y&&"object"==typeof Y&&"function"==typeof Y.copy&&"function"==typeof Y.fill&&"function"==typeof Y.readUInt8}},42406:function(Y,et,en){"use strict";var ei=en(7974),eo=en(50434),ea=en(3615),eu=en(36466);function ec(Y){return Y.call.bind(Y)}var ed="undefined"!=typeof BigInt,ef="undefined"!=typeof Symbol,eh=ec(Object.prototype.toString),ep=ec(Number.prototype.valueOf),em=ec(String.prototype.valueOf),eg=ec(Boolean.prototype.valueOf);if(ed)var ey=ec(BigInt.prototype.valueOf);if(ef)var eb=ec(Symbol.prototype.valueOf);function ek(Y,et){if("object"!=typeof Y)return!1;try{return et(Y),!0}catch(Y){return!1}}function ew(Y){return"undefined"!=typeof Promise&&Y instanceof Promise||null!==Y&&"object"==typeof Y&&"function"==typeof Y.then&&"function"==typeof Y.catch}function e_(Y){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(Y):eu(Y)||eZ(Y)}function eE(Y){return"Uint8Array"===ea(Y)}function eC(Y){return"Uint8ClampedArray"===ea(Y)}function eT(Y){return"Uint16Array"===ea(Y)}function eS(Y){return"Uint32Array"===ea(Y)}function eA(Y){return"Int8Array"===ea(Y)}function eM(Y){return"Int16Array"===ea(Y)}function eP(Y){return"Int32Array"===ea(Y)}function ej(Y){return"Float32Array"===ea(Y)}function eO(Y){return"Float64Array"===ea(Y)}function eI(Y){return"BigInt64Array"===ea(Y)}function eN(Y){return"BigUint64Array"===ea(Y)}function eL(Y){return"[object Map]"===eh(Y)}function eR(Y){return"undefined"!=typeof Map&&(eL.working?eL(Y):Y instanceof Map)}function eD(Y){return"[object Set]"===eh(Y)}function eF(Y){return"undefined"!=typeof Set&&(eD.working?eD(Y):Y instanceof Set)}function eB(Y){return"[object WeakMap]"===eh(Y)}function ez(Y){return"undefined"!=typeof WeakMap&&(eB.working?eB(Y):Y instanceof WeakMap)}function eU(Y){return"[object WeakSet]"===eh(Y)}function eH(Y){return eU(Y)}function eG(Y){return"[object ArrayBuffer]"===eh(Y)}function eV(Y){return"undefined"!=typeof ArrayBuffer&&(eG.working?eG(Y):Y instanceof ArrayBuffer)}function eW(Y){return"[object DataView]"===eh(Y)}function eZ(Y){return"undefined"!=typeof DataView&&(eW.working?eW(Y):Y instanceof DataView)}et.isArgumentsObject=ei,et.isGeneratorFunction=eo,et.isTypedArray=eu,et.isPromise=ew,et.isArrayBufferView=e_,et.isUint8Array=eE,et.isUint8ClampedArray=eC,et.isUint16Array=eT,et.isUint32Array=eS,et.isInt8Array=eA,et.isInt16Array=eM,et.isInt32Array=eP,et.isFloat32Array=ej,et.isFloat64Array=eO,et.isBigInt64Array=eI,et.isBigUint64Array=eN,eL.working="undefined"!=typeof Map&&eL(new Map),et.isMap=eR,eD.working="undefined"!=typeof Set&&eD(new Set),et.isSet=eF,eB.working="undefined"!=typeof WeakMap&&eB(new WeakMap),et.isWeakMap=ez,eU.working="undefined"!=typeof WeakSet&&eU(new WeakSet),et.isWeakSet=eH,eG.working="undefined"!=typeof ArrayBuffer&&eG(new ArrayBuffer),et.isArrayBuffer=eV,eW.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&eW(new DataView(new ArrayBuffer(1),0,1)),et.isDataView=eZ;var eK="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function e$(Y){return"[object SharedArrayBuffer]"===eh(Y)}function eY(Y){return void 0!==eK&&(void 0===e$.working&&(e$.working=e$(new eK)),e$.working?e$(Y):Y instanceof eK)}function eQ(Y){return"[object AsyncFunction]"===eh(Y)}function eX(Y){return"[object Map Iterator]"===eh(Y)}function eJ(Y){return"[object Set Iterator]"===eh(Y)}function e0(Y){return"[object Generator]"===eh(Y)}function e9(Y){return"[object WebAssembly.Module]"===eh(Y)}function e5(Y){return ek(Y,ep)}function e4(Y){return ek(Y,em)}function e3(Y){return ek(Y,eg)}function e6(Y){return ed&&ek(Y,ey)}function e7(Y){return ef&&ek(Y,eb)}function e8(Y){return e5(Y)||e4(Y)||e3(Y)||e6(Y)||e7(Y)}function tt(Y){return"undefined"!=typeof Uint8Array&&(eV(Y)||eY(Y))}et.isSharedArrayBuffer=eY,et.isAsyncFunction=eQ,et.isMapIterator=eX,et.isSetIterator=eJ,et.isGeneratorObject=e0,et.isWebAssemblyCompiledModule=e9,et.isNumberObject=e5,et.isStringObject=e4,et.isBooleanObject=e3,et.isBigIntObject=e6,et.isSymbolObject=e7,et.isBoxedPrimitive=e8,et.isAnyArrayBuffer=tt,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Y){Object.defineProperty(et,Y,{enumerable:!1,value:function(){throw Error(Y+" is not supported in userland")}})})},35210:function(Y,et,en){var ei=en(44675),eo=Object.getOwnPropertyDescriptors||function(Y){for(var et=Object.keys(Y),en={},ei=0;ei<et.length;ei++)en[et[ei]]=Object.getOwnPropertyDescriptor(Y,et[ei]);return en},ea=/%[sdj%]/g;et.format=function(Y){if(!eM(Y)){for(var et=[],en=0;en<arguments.length;en++)et.push(ef(arguments[en]));return et.join(" ")}for(var en=1,ei=arguments,eo=ei.length,eu=String(Y).replace(ea,function(Y){if("%%"===Y)return"%";if(en>=eo)return Y;switch(Y){case"%s":return String(ei[en++]);case"%d":return Number(ei[en++]);case"%j":try{return JSON.stringify(ei[en++])}catch(Y){return"[Circular]"}default:return Y}}),ec=ei[en];en<eo;ec=ei[++en])eT(ec)||!eI(ec)?eu+=" "+ec:eu+=" "+ef(ec);return eu},et.deprecate=function(Y,en){if(void 0!==ei&&!0===ei.noDeprecation)return Y;if(void 0===ei)return function(){return et.deprecate(Y,en).apply(this,arguments)};var eo=!1;return function(){if(!eo){if(ei.throwDeprecation)throw Error(en);ei.traceDeprecation?console.trace(en):console.error(en),eo=!0}return Y.apply(this,arguments)}};var eu={},ec=/^$/;if(ei.env.NODE_DEBUG){var ed=ei.env.NODE_DEBUG;ec=RegExp("^"+(ed=ed.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function ef(Y,en){var ei={seen:[],stylize:ep};return arguments.length>=3&&(ei.depth=arguments[2]),arguments.length>=4&&(ei.colors=arguments[3]),eC(en)?ei.showHidden=en:en&&et._extend(ei,en),ej(ei.showHidden)&&(ei.showHidden=!1),ej(ei.depth)&&(ei.depth=2),ej(ei.colors)&&(ei.colors=!1),ej(ei.customInspect)&&(ei.customInspect=!0),ei.colors&&(ei.stylize=eh),eg(ei,Y,ei.depth)}function eh(Y,et){var en=ef.styles[et];return en?"\x1b["+ef.colors[en][0]+"m"+Y+"\x1b["+ef.colors[en][1]+"m":Y}function ep(Y,et){return Y}function em(Y){var et={};return Y.forEach(function(Y,en){et[Y]=!0}),et}function eg(Y,en,ei){if(Y.customInspect&&en&&eR(en.inspect)&&en.inspect!==et.inspect&&!(en.constructor&&en.constructor.prototype===en)){var eo,ea=en.inspect(ei,Y);return eM(ea)||(ea=eg(Y,ea,ei)),ea}var eu=ey(Y,en);if(eu)return eu;var ec=Object.keys(en),ed=em(ec);if(Y.showHidden&&(ec=Object.getOwnPropertyNames(en)),eL(en)&&(ec.indexOf("message")>=0||ec.indexOf("description")>=0))return eb(en);if(0===ec.length){if(eR(en)){var ef=en.name?": "+en.name:"";return Y.stylize("[Function"+ef+"]","special")}if(eO(en))return Y.stylize(RegExp.prototype.toString.call(en),"regexp");if(eN(en))return Y.stylize(Date.prototype.toString.call(en),"date");if(eL(en))return eb(en)}var eh="",ep=!1,eC=["{","}"];return(eE(en)&&(ep=!0,eC=["[","]"]),eR(en)&&(eh=" [Function"+(en.name?": "+en.name:"")+"]"),eO(en)&&(eh=" "+RegExp.prototype.toString.call(en)),eN(en)&&(eh=" "+Date.prototype.toUTCString.call(en)),eL(en)&&(eh=" "+eb(en)),0!==ec.length||ep&&0!=en.length)?ei<0?eO(en)?Y.stylize(RegExp.prototype.toString.call(en),"regexp"):Y.stylize("[Object]","special"):(Y.seen.push(en),eo=ep?ek(Y,en,ei,ed,ec):ec.map(function(et){return ew(Y,en,ei,ed,et,ep)}),Y.seen.pop(),e_(eo,eh,eC)):eC[0]+eh+eC[1]}function ey(Y,et){if(ej(et))return Y.stylize("undefined","undefined");if(eM(et)){var en="'"+JSON.stringify(et).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Y.stylize(en,"string")}return eA(et)?Y.stylize(""+et,"number"):eC(et)?Y.stylize(""+et,"boolean"):eT(et)?Y.stylize("null","null"):void 0}function eb(Y){return"["+Error.prototype.toString.call(Y)+"]"}function ek(Y,et,en,ei,eo){for(var ea=[],eu=0,ec=et.length;eu<ec;++eu)eH(et,String(eu))?ea.push(ew(Y,et,en,ei,String(eu),!0)):ea.push("");return eo.forEach(function(eo){eo.match(/^\d+$/)||ea.push(ew(Y,et,en,ei,eo,!0))}),ea}function ew(Y,et,en,ei,eo,ea){var eu,ec,ed;if((ed=Object.getOwnPropertyDescriptor(et,eo)||{value:et[eo]}).get?ec=ed.set?Y.stylize("[Getter/Setter]","special"):Y.stylize("[Getter]","special"):ed.set&&(ec=Y.stylize("[Setter]","special")),eH(ei,eo)||(eu="["+eo+"]"),!ec&&(0>Y.seen.indexOf(ed.value)?(ec=eT(en)?eg(Y,ed.value,null):eg(Y,ed.value,en-1)).indexOf("\n")>-1&&(ec=ea?ec.split("\n").map(function(Y){return" "+Y}).join("\n").slice(2):"\n"+ec.split("\n").map(function(Y){return" "+Y}).join("\n")):ec=Y.stylize("[Circular]","special")),ej(eu)){if(ea&&eo.match(/^\d+$/))return ec;(eu=JSON.stringify(""+eo)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(eu=eu.slice(1,-1),eu=Y.stylize(eu,"name")):(eu=eu.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),eu=Y.stylize(eu,"string"))}return eu+": "+ec}function e_(Y,et,en){var ei=0;return Y.reduce(function(Y,et){return ei++,et.indexOf("\n")>=0&&ei++,Y+et.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?en[0]+(""===et?"":et+"\n ")+" "+Y.join(",\n ")+" "+en[1]:en[0]+et+" "+Y.join(", ")+" "+en[1]}function eE(Y){return Array.isArray(Y)}function eC(Y){return"boolean"==typeof Y}function eT(Y){return null===Y}function eS(Y){return null==Y}function eA(Y){return"number"==typeof Y}function eM(Y){return"string"==typeof Y}function eP(Y){return"symbol"==typeof Y}function ej(Y){return void 0===Y}function eO(Y){return eI(Y)&&"[object RegExp]"===eF(Y)}function eI(Y){return"object"==typeof Y&&null!==Y}function eN(Y){return eI(Y)&&"[object Date]"===eF(Y)}function eL(Y){return eI(Y)&&("[object Error]"===eF(Y)||Y instanceof Error)}function eR(Y){return"function"==typeof Y}function eD(Y){return null===Y||"boolean"==typeof Y||"number"==typeof Y||"string"==typeof Y||"symbol"==typeof Y||void 0===Y}function eF(Y){return Object.prototype.toString.call(Y)}function eB(Y){return Y<10?"0"+Y.toString(10):Y.toString(10)}et.debuglog=function(Y){if(!eu[Y=Y.toUpperCase()]){if(ec.test(Y)){var en=ei.pid;eu[Y]=function(){var ei=et.format.apply(et,arguments);console.error("%s %d: %s",Y,en,ei)}}else eu[Y]=function(){}}return eu[Y]},et.inspect=ef,ef.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ef.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},et.types=en(42406),et.isArray=eE,et.isBoolean=eC,et.isNull=eT,et.isNullOrUndefined=eS,et.isNumber=eA,et.isString=eM,et.isSymbol=eP,et.isUndefined=ej,et.isRegExp=eO,et.types.isRegExp=eO,et.isObject=eI,et.isDate=eN,et.types.isDate=eN,et.isError=eL,et.types.isNativeError=eL,et.isFunction=eR,et.isPrimitive=eD,et.isBuffer=en(2439);var ez=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function eU(){var Y=new Date,et=[eB(Y.getHours()),eB(Y.getMinutes()),eB(Y.getSeconds())].join(":");return[Y.getDate(),ez[Y.getMonth()],et].join(" ")}function eH(Y,et){return Object.prototype.hasOwnProperty.call(Y,et)}et.log=function(){console.log("%s - %s",eU(),et.format.apply(et,arguments))},et.inherits=en(89118),et._extend=function(Y,et){if(!et||!eI(et))return Y;for(var en=Object.keys(et),ei=en.length;ei--;)Y[en[ei]]=et[en[ei]];return Y};var eG="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function eV(Y,et){if(!Y){var en=Error("Promise was rejected with a falsy value");en.reason=Y,Y=en}return et(Y)}function eW(Y){if("function"!=typeof Y)throw TypeError('The "original" argument must be of type Function');function et(){for(var et=[],en=0;en<arguments.length;en++)et.push(arguments[en]);var eo=et.pop();if("function"!=typeof eo)throw TypeError("The last argument must be of type Function");var ea=this,eu=function(){return eo.apply(ea,arguments)};Y.apply(this,et).then(function(Y){ei.nextTick(eu.bind(null,null,Y))},function(Y){ei.nextTick(eV.bind(null,Y,eu))})}return Object.setPrototypeOf(et,Object.getPrototypeOf(Y)),Object.defineProperties(et,eo(Y)),et}et.promisify=function(Y){if("function"!=typeof Y)throw TypeError('The "original" argument must be of type Function');if(eG&&Y[eG]){var et=Y[eG];if("function"!=typeof et)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(et,eG,{value:et,enumerable:!1,writable:!1,configurable:!0}),et}function et(){for(var et,en,ei=new Promise(function(Y,ei){et=Y,en=ei}),eo=[],ea=0;ea<arguments.length;ea++)eo.push(arguments[ea]);eo.push(function(Y,ei){Y?en(Y):et(ei)});try{Y.apply(this,eo)}catch(Y){en(Y)}return ei}return Object.setPrototypeOf(et,Object.getPrototypeOf(Y)),eG&&Object.defineProperty(et,eG,{value:et,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(et,eo(Y))},et.promisify.custom=eG,et.callbackify=eW},68093:function(Y,et,en){"use strict";en.r(et),en.d(et,{NIL:function(){return eH},parse:function(){return ek},stringify:function(){return em},v1:function(){return eb},v3:function(){return eD},v4:function(){return eF},v5:function(){return eU},validate:function(){return ef},version:function(){return eG}});var ei,eo,ea,eu=new Uint8Array(16);function ec(){if(!ei&&!(ei="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ei(eu)}for(var ed=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,ef=function(Y){return"string"==typeof Y&&ed.test(Y)},eh=[],ep=0;ep<256;++ep)eh.push((ep+256).toString(16).substr(1));var em=function(Y){var et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,en=(eh[Y[et+0]]+eh[Y[et+1]]+eh[Y[et+2]]+eh[Y[et+3]]+"-"+eh[Y[et+4]]+eh[Y[et+5]]+"-"+eh[Y[et+6]]+eh[Y[et+7]]+"-"+eh[Y[et+8]]+eh[Y[et+9]]+"-"+eh[Y[et+10]]+eh[Y[et+11]]+eh[Y[et+12]]+eh[Y[et+13]]+eh[Y[et+14]]+eh[Y[et+15]]).toLowerCase();if(!ef(en))throw TypeError("Stringified UUID is invalid");return en},eg=0,ey=0,eb=function(Y,et,en){var ei=et&&en||0,eu=et||Array(16),ed=(Y=Y||{}).node||eo,ef=void 0!==Y.clockseq?Y.clockseq:ea;if(null==ed||null==ef){var eh=Y.random||(Y.rng||ec)();null==ed&&(ed=eo=[1|eh[0],eh[1],eh[2],eh[3],eh[4],eh[5]]),null==ef&&(ef=ea=(eh[6]<<8|eh[7])&16383)}var ep=void 0!==Y.msecs?Y.msecs:Date.now(),eb=void 0!==Y.nsecs?Y.nsecs:ey+1,ek=ep-eg+(eb-ey)/1e4;if(ek<0&&void 0===Y.clockseq&&(ef=ef+1&16383),(ek<0||ep>eg)&&void 0===Y.nsecs&&(eb=0),eb>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");eg=ep,ey=eb,ea=ef;var ew=((268435455&(ep+=122192928e5))*1e4+eb)%4294967296;eu[ei++]=ew>>>24&255,eu[ei++]=ew>>>16&255,eu[ei++]=ew>>>8&255,eu[ei++]=255&ew;var e_=ep/4294967296*1e4&268435455;eu[ei++]=e_>>>8&255,eu[ei++]=255&e_,eu[ei++]=e_>>>24&15|16,eu[ei++]=e_>>>16&255,eu[ei++]=ef>>>8|128,eu[ei++]=255&ef;for(var eE=0;eE<6;++eE)eu[ei+eE]=ed[eE];return et||em(eu)},ek=function(Y){if(!ef(Y))throw TypeError("Invalid UUID");var et,en=new Uint8Array(16);return en[0]=(et=parseInt(Y.slice(0,8),16))>>>24,en[1]=et>>>16&255,en[2]=et>>>8&255,en[3]=255&et,en[4]=(et=parseInt(Y.slice(9,13),16))>>>8,en[5]=255&et,en[6]=(et=parseInt(Y.slice(14,18),16))>>>8,en[7]=255&et,en[8]=(et=parseInt(Y.slice(19,23),16))>>>8,en[9]=255&et,en[10]=(et=parseInt(Y.slice(24,36),16))/1099511627776&255,en[11]=et/4294967296&255,en[12]=et>>>24&255,en[13]=et>>>16&255,en[14]=et>>>8&255,en[15]=255&et,en};function ew(Y){Y=unescape(encodeURIComponent(Y));for(var et=[],en=0;en<Y.length;++en)et.push(Y.charCodeAt(en));return et}var e_="6ba7b810-9dad-11d1-80b4-00c04fd430c8",eE="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function eC(Y,et,en){function ei(Y,ei,eo,ea){if("string"==typeof Y&&(Y=ew(Y)),"string"==typeof ei&&(ei=ek(ei)),16!==ei.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var eu=new Uint8Array(16+Y.length);if(eu.set(ei),eu.set(Y,ei.length),(eu=en(eu))[6]=15&eu[6]|et,eu[8]=63&eu[8]|128,eo){ea=ea||0;for(var ec=0;ec<16;++ec)eo[ea+ec]=eu[ec];return eo}return em(eu)}try{ei.name=Y}catch(Y){}return ei.DNS=e_,ei.URL=eE,ei}function eT(Y){for(var et=[],en=32*Y.length,ei="0123456789abcdef",eo=0;eo<en;eo+=8){var ea=Y[eo>>5]>>>eo%32&255,eu=parseInt(ei.charAt(ea>>>4&15)+ei.charAt(15&ea),16);et.push(eu)}return et}function eS(Y){return(Y+64>>>9<<4)+14+1}function eA(Y,et){Y[et>>5]|=128<<et%32,Y[eS(et)-1]=et;for(var en=1732584193,ei=-271733879,eo=-1732584194,ea=271733878,eu=0;eu<Y.length;eu+=16){var ec=en,ed=ei,ef=eo,eh=ea;en=eI(en,ei,eo,ea,Y[eu],7,-680876936),ea=eI(ea,en,ei,eo,Y[eu+1],12,-389564586),eo=eI(eo,ea,en,ei,Y[eu+2],17,606105819),ei=eI(ei,eo,ea,en,Y[eu+3],22,-1044525330),en=eI(en,ei,eo,ea,Y[eu+4],7,-176418897),ea=eI(ea,en,ei,eo,Y[eu+5],12,1200080426),eo=eI(eo,ea,en,ei,Y[eu+6],17,-1473231341),ei=eI(ei,eo,ea,en,Y[eu+7],22,-45705983),en=eI(en,ei,eo,ea,Y[eu+8],7,1770035416),ea=eI(ea,en,ei,eo,Y[eu+9],12,-1958414417),eo=eI(eo,ea,en,ei,Y[eu+10],17,-42063),ei=eI(ei,eo,ea,en,Y[eu+11],22,-1990404162),en=eI(en,ei,eo,ea,Y[eu+12],7,1804603682),ea=eI(ea,en,ei,eo,Y[eu+13],12,-40341101),eo=eI(eo,ea,en,ei,Y[eu+14],17,-1502002290),ei=eI(ei,eo,ea,en,Y[eu+15],22,1236535329),en=eN(en,ei,eo,ea,Y[eu+1],5,-165796510),ea=eN(ea,en,ei,eo,Y[eu+6],9,-1069501632),eo=eN(eo,ea,en,ei,Y[eu+11],14,643717713),ei=eN(ei,eo,ea,en,Y[eu],20,-373897302),en=eN(en,ei,eo,ea,Y[eu+5],5,-701558691),ea=eN(ea,en,ei,eo,Y[eu+10],9,38016083),eo=eN(eo,ea,en,ei,Y[eu+15],14,-660478335),ei=eN(ei,eo,ea,en,Y[eu+4],20,-405537848),en=eN(en,ei,eo,ea,Y[eu+9],5,568446438),ea=eN(ea,en,ei,eo,Y[eu+14],9,-1019803690),eo=eN(eo,ea,en,ei,Y[eu+3],14,-187363961),ei=eN(ei,eo,ea,en,Y[eu+8],20,1163531501),en=eN(en,ei,eo,ea,Y[eu+13],5,-1444681467),ea=eN(ea,en,ei,eo,Y[eu+2],9,-51403784),eo=eN(eo,ea,en,ei,Y[eu+7],14,1735328473),ei=eN(ei,eo,ea,en,Y[eu+12],20,-1926607734),en=eL(en,ei,eo,ea,Y[eu+5],4,-378558),ea=eL(ea,en,ei,eo,Y[eu+8],11,-2022574463),eo=eL(eo,ea,en,ei,Y[eu+11],16,1839030562),ei=eL(ei,eo,ea,en,Y[eu+14],23,-35309556),en=eL(en,ei,eo,ea,Y[eu+1],4,-1530992060),ea=eL(ea,en,ei,eo,Y[eu+4],11,1272893353),eo=eL(eo,ea,en,ei,Y[eu+7],16,-155497632),ei=eL(ei,eo,ea,en,Y[eu+10],23,-1094730640),en=eL(en,ei,eo,ea,Y[eu+13],4,681279174),ea=eL(ea,en,ei,eo,Y[eu],11,-358537222),eo=eL(eo,ea,en,ei,Y[eu+3],16,-722521979),ei=eL(ei,eo,ea,en,Y[eu+6],23,76029189),en=eL(en,ei,eo,ea,Y[eu+9],4,-640364487),ea=eL(ea,en,ei,eo,Y[eu+12],11,-421815835),eo=eL(eo,ea,en,ei,Y[eu+15],16,530742520),ei=eL(ei,eo,ea,en,Y[eu+2],23,-995338651),en=eR(en,ei,eo,ea,Y[eu],6,-198630844),ea=eR(ea,en,ei,eo,Y[eu+7],10,1126891415),eo=eR(eo,ea,en,ei,Y[eu+14],15,-1416354905),ei=eR(ei,eo,ea,en,Y[eu+5],21,-57434055),en=eR(en,ei,eo,ea,Y[eu+12],6,1700485571),ea=eR(ea,en,ei,eo,Y[eu+3],10,-1894986606),eo=eR(eo,ea,en,ei,Y[eu+10],15,-1051523),ei=eR(ei,eo,ea,en,Y[eu+1],21,-2054922799),en=eR(en,ei,eo,ea,Y[eu+8],6,1873313359),ea=eR(ea,en,ei,eo,Y[eu+15],10,-30611744),eo=eR(eo,ea,en,ei,Y[eu+6],15,-1560198380),ei=eR(ei,eo,ea,en,Y[eu+13],21,1309151649),en=eR(en,ei,eo,ea,Y[eu+4],6,-145523070),ea=eR(ea,en,ei,eo,Y[eu+11],10,-1120210379),eo=eR(eo,ea,en,ei,Y[eu+2],15,718787259),ei=eR(ei,eo,ea,en,Y[eu+9],21,-343485551),en=eP(en,ec),ei=eP(ei,ed),eo=eP(eo,ef),ea=eP(ea,eh)}return[en,ei,eo,ea]}function eM(Y){if(0===Y.length)return[];for(var et=8*Y.length,en=new Uint32Array(eS(et)),ei=0;ei<et;ei+=8)en[ei>>5]|=(255&Y[ei/8])<<ei%32;return en}function eP(Y,et){var en=(65535&Y)+(65535&et);return(Y>>16)+(et>>16)+(en>>16)<<16|65535&en}function ej(Y,et){return Y<<et|Y>>>32-et}function eO(Y,et,en,ei,eo,ea){return eP(ej(eP(eP(et,Y),eP(ei,ea)),eo),en)}function eI(Y,et,en,ei,eo,ea,eu){return eO(et&en|~et&ei,Y,et,eo,ea,eu)}function eN(Y,et,en,ei,eo,ea,eu){return eO(et&ei|en&~ei,Y,et,eo,ea,eu)}function eL(Y,et,en,ei,eo,ea,eu){return eO(et^en^ei,Y,et,eo,ea,eu)}function eR(Y,et,en,ei,eo,ea,eu){return eO(en^(et|~ei),Y,et,eo,ea,eu)}var eD=eC("v3",48,function(Y){if("string"==typeof Y){var et=unescape(encodeURIComponent(Y));Y=new Uint8Array(et.length);for(var en=0;en<et.length;++en)Y[en]=et.charCodeAt(en)}return eT(eA(eM(Y),8*Y.length))}),eF=function(Y,et,en){var ei=(Y=Y||{}).random||(Y.rng||ec)();if(ei[6]=15&ei[6]|64,ei[8]=63&ei[8]|128,et){en=en||0;for(var eo=0;eo<16;++eo)et[en+eo]=ei[eo];return et}return em(ei)};function eB(Y,et,en,ei){switch(Y){case 0:return et&en^~et&ei;case 1:case 3:return et^en^ei;case 2:return et&en^et&ei^en&ei}}function ez(Y,et){return Y<<et|Y>>>32-et}var eU=eC("v5",80,function(Y){var et=[1518500249,1859775393,2400959708,3395469782],en=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof Y){var ei=unescape(encodeURIComponent(Y));Y=[];for(var eo=0;eo<ei.length;++eo)Y.push(ei.charCodeAt(eo))}else Array.isArray(Y)||(Y=Array.prototype.slice.call(Y));Y.push(128);for(var ea=Math.ceil((Y.length/4+2)/16),eu=Array(ea),ec=0;ec<ea;++ec){for(var ed=new Uint32Array(16),ef=0;ef<16;++ef)ed[ef]=Y[64*ec+4*ef]<<24|Y[64*ec+4*ef+1]<<16|Y[64*ec+4*ef+2]<<8|Y[64*ec+4*ef+3];eu[ec]=ed}eu[ea-1][14]=(Y.length-1)*8/4294967296,eu[ea-1][14]=Math.floor(eu[ea-1][14]),eu[ea-1][15]=(Y.length-1)*8&4294967295;for(var eh=0;eh<ea;++eh){for(var ep=new Uint32Array(80),em=0;em<16;++em)ep[em]=eu[eh][em];for(var eg=16;eg<80;++eg)ep[eg]=ez(ep[eg-3]^ep[eg-8]^ep[eg-14]^ep[eg-16],1);for(var ey=en[0],eb=en[1],ek=en[2],ew=en[3],e_=en[4],eE=0;eE<80;++eE){var eC=Math.floor(eE/20),eT=ez(ey,5)+eB(eC,eb,ek,ew)+e_+et[eC]+ep[eE]>>>0;e_=ew,ew=ek,ek=ez(eb,30)>>>0,eb=ey,ey=eT}en[0]=en[0]+ey>>>0,en[1]=en[1]+eb>>>0,en[2]=en[2]+ek>>>0,en[3]=en[3]+ew>>>0,en[4]=en[4]+e_>>>0}return[en[0]>>24&255,en[0]>>16&255,en[0]>>8&255,255&en[0],en[1]>>24&255,en[1]>>16&255,en[1]>>8&255,255&en[1],en[2]>>24&255,en[2]>>16&255,en[2]>>8&255,255&en[2],en[3]>>24&255,en[3]>>16&255,en[3]>>8&255,255&en[3],en[4]>>24&255,en[4]>>16&255,en[4]>>8&255,255&en[4]]}),eH="00000000-0000-0000-0000-000000000000",eG=function(Y){if(!ef(Y))throw TypeError("Invalid UUID");return parseInt(Y.substr(14,1),16)}},8844:function(Y,et,en){"use strict";let ei;en.d(et,{Z:function(){return eh}});let eo="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var ea={randomUUID:eo};let eu=new Uint8Array(16);function ec(){if(!ei&&!(ei="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ei(eu)}let ed=[];for(let Y=0;Y<256;++Y)ed.push((Y+256).toString(16).slice(1));function ef(Y,et=0){return(ed[Y[et+0]]+ed[Y[et+1]]+ed[Y[et+2]]+ed[Y[et+3]]+"-"+ed[Y[et+4]]+ed[Y[et+5]]+"-"+ed[Y[et+6]]+ed[Y[et+7]]+"-"+ed[Y[et+8]]+ed[Y[et+9]]+"-"+ed[Y[et+10]]+ed[Y[et+11]]+ed[Y[et+12]]+ed[Y[et+13]]+ed[Y[et+14]]+ed[Y[et+15]]).toLowerCase()}var eh=function(Y,et,en){if(ea.randomUUID&&!et&&!Y)return ea.randomUUID();Y=Y||{};let ei=Y.random||(Y.rng||ec)();if(ei[6]=15&ei[6]|64,ei[8]=63&ei[8]|128,et){en=en||0;for(let Y=0;Y<16;++Y)et[en+Y]=ei[Y];return et}return ef(ei)}},3615:function(Y,et,en){"use strict";var ei=en(6862),eo=en(14897),ea=en(57372),eu=en(49662),ec=ea("Object.prototype.toString"),ed=en(3825)(),ef="undefined"==typeof globalThis?en.g:globalThis,eh=eo(),ep=ea("String.prototype.slice"),em={},eg=Object.getPrototypeOf;ed&&eu&&eg&&ei(eh,function(Y){if("function"==typeof ef[Y]){var et=new ef[Y];if(Symbol.toStringTag in et){var en=eg(et),ei=eu(en,Symbol.toStringTag);ei||(ei=eu(eg(en),Symbol.toStringTag)),em[Y]=ei.get}}});var ey=function(Y){var et=!1;return ei(em,function(en,ei){if(!et)try{var eo=en.call(Y);eo===ei&&(et=eo)}catch(Y){}}),et},eb=en(36466);Y.exports=function(Y){return!!eb(Y)&&(ed&&Symbol.toStringTag in Y?ey(Y):ep(ec(Y),8,-1))}},56855:function(Y,et,en){var ei=en(40101).FilterCSS,eo=en(40101).getDefaultWhiteList,ea=en(12665);function eu(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var ec=new ei;function ed(Y,et,en){}function ef(Y,et,en){}function eh(Y,et,en){}function ep(Y,et,en){}function em(Y){return Y.replace(ey,"&lt;").replace(eb,"&gt;")}function eg(Y,et,en,ei){if(en=eN(en),"href"===et||"src"===et){if("#"===(en=ea.trim(en)))return"#";if(!("http://"===en.substr(0,7)||"https://"===en.substr(0,8)||"mailto:"===en.substr(0,7)||"tel:"===en.substr(0,4)||"data:image/"===en.substr(0,11)||"ftp://"===en.substr(0,6)||"./"===en.substr(0,2)||"../"===en.substr(0,3)||"#"===en[0]||"/"===en[0]))return""}else if("background"===et){if(eT.lastIndex=0,eT.test(en))return""}else if("style"===et){if(eS.lastIndex=0,eS.test(en)||(eA.lastIndex=0,eA.test(en)&&(eT.lastIndex=0,eT.test(en))))return"";!1!==ei&&(en=(ei=ei||ec).process(en))}return en=eL(en)}var ey=/</g,eb=/>/g,ek=/"/g,ew=/&quot;/g,e_=/&#([a-zA-Z0-9]*);?/gim,eE=/&colon;?/gim,eC=/&newline;?/gim,eT=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,eS=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,eA=/u\s*r\s*l\s*\(.*/gi;function eM(Y){return Y.replace(ek,"&quot;")}function eP(Y){return Y.replace(ew,'"')}function ej(Y){return Y.replace(e_,function(Y,et){return"x"===et[0]||"X"===et[0]?String.fromCharCode(parseInt(et.substr(1),16)):String.fromCharCode(parseInt(et,10))})}function eO(Y){return Y.replace(eE,":").replace(eC," ")}function eI(Y){for(var et="",en=0,ei=Y.length;en<ei;en++)et+=32>Y.charCodeAt(en)?" ":Y.charAt(en);return ea.trim(et)}function eN(Y){return Y=eI(Y=eO(Y=ej(Y=eP(Y))))}function eL(Y){return Y=em(Y=eM(Y))}function eR(){return""}function eD(Y,et){"function"!=typeof et&&(et=function(){});var en=!Array.isArray(Y);function ei(et){return!!en||-1!==ea.indexOf(Y,et)}var eo=[],eu=!1;return{onIgnoreTag:function(Y,en,ea){if(!ei(Y))return et(Y,en,ea);if(!ea.isClosing)return eu||(eu=ea.position),"[removed]";var ec="[/removed]",ed=ea.position+ec.length;return eo.push([!1!==eu?eu:ea.position,ed]),eu=!1,ec},remove:function(Y){var et="",en=0;return ea.forEach(eo,function(ei){et+=Y.slice(en,ei[0]),en=ei[1]}),et+=Y.slice(en)}}}function eF(Y){for(var et="",en=0;en<Y.length;){var ei=Y.indexOf("<!--",en);if(-1===ei){et+=Y.slice(en);break}et+=Y.slice(en,ei);var eo=Y.indexOf("-->",ei);if(-1===eo)break;en=eo+3}return et}function eB(Y){var et=Y.split("");return(et=et.filter(function(Y){var et=Y.charCodeAt(0);return 127!==et&&(!(et<=31)||10===et||13===et)})).join("")}et.whiteList=eu(),et.getDefaultWhiteList=eu,et.onTag=ed,et.onIgnoreTag=ef,et.onTagAttr=eh,et.onIgnoreTagAttr=ep,et.safeAttrValue=eg,et.escapeHtml=em,et.escapeQuote=eM,et.unescapeQuote=eP,et.escapeHtmlEntities=ej,et.escapeDangerHtml5Entities=eO,et.clearNonPrintableCharacter=eI,et.friendlyAttrValue=eN,et.escapeAttrValue=eL,et.onIgnoreTagStripAll=eR,et.StripTagBody=eD,et.stripCommentTag=eF,et.stripBlankChar=eB,et.cssFilter=ec,et.getDefaultCSSWhiteList=eo},138:function(Y,et,en){var ei=en(56855),eo=en(43310),ea=en(91611);function eu(Y,et){return new ea(et).process(Y)}(et=Y.exports=eu).filterXSS=eu,et.FilterXSS=ea,function(){for(var Y in ei)et[Y]=ei[Y];for(var en in eo)et[en]=eo[en]}(),"undefined"!=typeof window&&(window.filterXSS=Y.exports),function(){return"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope}()&&(self.filterXSS=Y.exports)},43310:function(Y,et,en){var ei=en(12665);function eo(Y){var et,en=ei.spaceIndex(Y);return et=-1===en?Y.slice(1,-1):Y.slice(1,en+1),"/"===(et=ei.trim(et).toLowerCase()).slice(0,1)&&(et=et.slice(1)),"/"===et.slice(-1)&&(et=et.slice(0,-1)),et}function ea(Y){return"</"===Y.slice(0,2)}function eu(Y,et,en){"use strict";var ei="",eu=0,ec=!1,ed=!1,ef=0,eh=Y.length,ep="",em="";t:for(ef=0;ef<eh;ef++){var eg=Y.charAt(ef);if(!1===ec){if("<"===eg){ec=ef;continue}}else if(!1===ed){if("<"===eg){ei+=en(Y.slice(eu,ef)),ec=ef,eu=ef;continue}if(">"===eg||ef===eh-1){ei+=en(Y.slice(eu,ec)),ep=eo(em=Y.slice(ec,ef+1)),ei+=et(ec,ei.length,ep,em,ea(em)),eu=ef+1,ec=!1;continue}if('"'===eg||"'"===eg)for(var ey=1,eb=Y.charAt(ef-ey);""===eb.trim()||"="===eb;){if("="===eb){ed=eg;continue t}eb=Y.charAt(ef-++ey)}}else if(eg===ed){ed=!1;continue}}return eu<eh&&(ei+=en(Y.substr(eu))),ei}var ec=/[^a-zA-Z0-9\\_:.-]/gim;function ed(Y,et){"use strict";var en=0,eo=0,ea=[],eu=!1,ed=Y.length;function em(Y,en){if(!((Y=(Y=ei.trim(Y)).replace(ec,"").toLowerCase()).length<1)){var eo=et(Y,en||"");eo&&ea.push(eo)}}for(var ey=0;ey<ed;ey++){var eb,ek,ew=Y.charAt(ey);if(!1===eu&&"="===ew){eu=Y.slice(en,ey),en=ey+1,eo='"'===Y.charAt(en)||"'"===Y.charAt(en)?en:eh(Y,ey+1);continue}if(!1!==eu&&ey===eo){if(-1===(ek=Y.indexOf(ew,ey+1)))break;em(eu,eb=ei.trim(Y.slice(eo+1,ek))),eu=!1,en=(ey=ek)+1;continue}if(/\s|\n|\t/.test(ew)){if(Y=Y.replace(/\s|\n|\t/g," "),!1===eu){if(-1===(ek=ef(Y,ey))){em(eb=ei.trim(Y.slice(en,ey))),eu=!1,en=ey+1;continue}ey=ek-1;continue}if(-1!==(ek=ep(Y,ey-1)))continue;em(eu,eb=eg(eb=ei.trim(Y.slice(en,ey)))),eu=!1,en=ey+1;continue}}return en<Y.length&&(!1===eu?em(Y.slice(en)):em(eu,eg(ei.trim(Y.slice(en))))),ei.trim(ea.join(" "))}function ef(Y,et){for(;et<Y.length;et++){var en=Y[et];if(" "!==en){if("="===en)return et;return -1}}}function eh(Y,et){for(;et<Y.length;et++){var en=Y[et];if(" "!==en){if("'"===en||'"'===en)return et;return -1}}}function ep(Y,et){for(;et>0;et--){var en=Y[et];if(" "!==en){if("="===en)return et;return -1}}}function em(Y){return'"'===Y[0]&&'"'===Y[Y.length-1]||"'"===Y[0]&&"'"===Y[Y.length-1]}function eg(Y){return em(Y)?Y.substr(1,Y.length-2):Y}et.parseTag=eu,et.parseAttr=ed},12665:function(Y){Y.exports={indexOf:function(Y,et){var en,ei;if(Array.prototype.indexOf)return Y.indexOf(et);for(en=0,ei=Y.length;en<ei;en++)if(Y[en]===et)return en;return -1},forEach:function(Y,et,en){var ei,eo;if(Array.prototype.forEach)return Y.forEach(et,en);for(ei=0,eo=Y.length;ei<eo;ei++)et.call(en,Y[ei],ei,Y)},trim:function(Y){return String.prototype.trim?Y.trim():Y.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(Y){var et=/\s|\n|\t/.exec(Y);return et?et.index:-1}}},91611:function(Y,et,en){var ei=en(40101).FilterCSS,eo=en(56855),ea=en(43310),eu=ea.parseTag,ec=ea.parseAttr,ed=en(12665);function ef(Y){return null==Y}function eh(Y){var et=ed.spaceIndex(Y);if(-1===et)return{html:"",closing:"/"===Y[Y.length-2]};var en="/"===(Y=ed.trim(Y.slice(et+1,-1)))[Y.length-1];return en&&(Y=ed.trim(Y.slice(0,-1))),{html:Y,closing:en}}function ep(Y){var et={};for(var en in Y)et[en]=Y[en];return et}function em(Y){var et={};for(var en in Y)Array.isArray(Y[en])?et[en.toLowerCase()]=Y[en].map(function(Y){return Y.toLowerCase()}):et[en.toLowerCase()]=Y[en];return et}function eg(Y){(Y=ep(Y||{})).stripIgnoreTag&&(Y.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),Y.onIgnoreTag=eo.onIgnoreTagStripAll),Y.whiteList||Y.allowList?Y.whiteList=em(Y.whiteList||Y.allowList):Y.whiteList=eo.whiteList,Y.onTag=Y.onTag||eo.onTag,Y.onTagAttr=Y.onTagAttr||eo.onTagAttr,Y.onIgnoreTag=Y.onIgnoreTag||eo.onIgnoreTag,Y.onIgnoreTagAttr=Y.onIgnoreTagAttr||eo.onIgnoreTagAttr,Y.safeAttrValue=Y.safeAttrValue||eo.safeAttrValue,Y.escapeHtml=Y.escapeHtml||eo.escapeHtml,this.options=Y,!1===Y.css?this.cssFilter=!1:(Y.css=Y.css||{},this.cssFilter=new ei(Y.css))}eg.prototype.process=function(Y){if(!(Y=(Y=Y||"").toString()))return"";var et=this,en=et.options,ei=en.whiteList,ea=en.onTag,ep=en.onIgnoreTag,em=en.onTagAttr,eg=en.onIgnoreTagAttr,ey=en.safeAttrValue,eb=en.escapeHtml,ek=et.cssFilter;en.stripBlankChar&&(Y=eo.stripBlankChar(Y)),en.allowCommentTag||(Y=eo.stripCommentTag(Y));var ew=!1;en.stripIgnoreTagBody&&(ep=(ew=eo.StripTagBody(en.stripIgnoreTagBody,ep)).onIgnoreTag);var e_=eu(Y,function(Y,et,en,eo,eu){var ew={sourcePosition:Y,position:et,isClosing:eu,isWhite:Object.prototype.hasOwnProperty.call(ei,en)},e_=ea(en,eo,ew);if(!ef(e_))return e_;if(ew.isWhite){if(ew.isClosing)return"</"+en+">";var eE=eh(eo),eC=ei[en],eT=ec(eE.html,function(Y,et){var ei=-1!==ed.indexOf(eC,Y),eo=em(en,Y,et,ei);return ef(eo)?ei?(et=ey(en,Y,et,ek))?Y+'="'+et+'"':Y:ef(eo=eg(en,Y,et,ei))?void 0:eo:eo});return eo="<"+en,eT&&(eo+=" "+eT),eE.closing&&(eo+=" /"),eo+=">"}return ef(e_=ep(en,eo,ew))?eb(eo):e_},eb);return ew&&(e_=ew.remove(e_)),e_},Y.exports=eg},68494:function(Y,et,en){var ei={"./_parts/base-en.json":[59087,9087],"./_parts/human-corrected/de-DE.json":[72292,2292],"./_parts/human-corrected/es-ES.json":[67791,7791],"./_parts/human-corrected/fr-FR.json":[11597,1597],"./_parts/human-corrected/it-IT.json":[13060,3060],"./_parts/human-corrected/ja-JP.json":[46550,6550],"./_parts/human-corrected/pl-PL.json":[27745,7745],"./_parts/human-corrected/pt-BR.json":[81776,1776],"./_parts/human-corrected/ru-RU.json":[44505,4505],"./_parts/human-corrected/zh-Hans.json":[70660,660],"./_parts/human-corrected/zh-TW.json":[7994,7994],"./_parts/human-verified/de-DE.json":[70132,132],"./_parts/human-verified/es-ES.json":[76291,6291],"./_parts/human-verified/fr-FR.json":[52212,2212],"./_parts/human-verified/it-IT.json":[27659,7659],"./_parts/human-verified/ja-JP.json":[7795,7795],"./_parts/human-verified/ko-KR.json":[55632,5632],"./_parts/human-verified/pl-PL.json":[73432,3432],"./_parts/human-verified/pt-BR.json":[92143,2143],"./_parts/human-verified/pt-PT.json":[84685,4685],"./_parts/human-verified/ru-RU.json":[63332,3332],"./_parts/human-verified/te-IN.json":[85883,5883],"./_parts/human-verified/zh-Hans.json":[84616,4616],"./_parts/human-verified/zh-TW.json":[62161,2161],"./_parts/model-generated/de-DE.json":[14806,4806],"./_parts/model-generated/es-ES.json":[54615,4615],"./_parts/model-generated/fr-FR.json":[65952,5952],"./_parts/model-generated/it-IT.json":[64700,4700],"./_parts/model-generated/ja-JP.json":[9271,9271],"./_parts/model-generated/ko-KR.json":[63705,3705],"./_parts/model-generated/pl-PL.json":[86522,6522],"./_parts/model-generated/pt-BR.json":[93466,3466],"./_parts/model-generated/pt-PT.json":[77947,7947],"./_parts/model-generated/ru-RU.json":[38226,8226],"./_parts/model-generated/te-IN.json":[4042,4042],"./_parts/model-generated/zh-Hans.json":[91777,1777],"./_parts/model-generated/zh-TW.json":[67994,1141],"./de-DE.json":[6952,6952],"./dev.json":[6026,4347],"./es-ES.json":[18400,8400],"./fr-FR.json":[718,718],"./it-IT.json":[29826,9826],"./ja-JP.json":[75187,5187],"./ko-KR.json":[40676,676],"./pl-PL.json":[87198,7198],"./pt-BR.json":[96951,6951],"./pt-PT.json":[61948,1948],"./ru-RU.json":[25288,5288],"./te-IN.json":[9120,9120],"./zh-Hans.json":[22178,2178],"./zh-TW.json":[36875,6875]};function eo(Y){if(!en.o(ei,Y))return Promise.resolve().then(function(){var et=Error("Cannot find module '"+Y+"'");throw et.code="MODULE_NOT_FOUND",et});var et=ei[Y],eo=et[0];return en.e(et[1]).then(function(){return en.t(eo,19)})}eo.keys=function(){return Object.keys(ei)},eo.id=68494,Y.exports=eo},26709:function(){},41402:function(){},66922:function(Y,et,en){Y.exports=en(52417)},72799:function(Y,et,en){Y.exports=en(64516)},20588:function(Y,et,en){Y.exports=en(61206)},71618:function(Y,et,en){Y.exports=en(51564)},81715:function(Y,et,en){Y.exports=en(56238)},76155:function(Y,et,en){Y.exports=en(72517)},66918:function(Y,et,en){Y.exports=en(94851)},44353:function(Y,et,en){Y.exports=en(22406)},15396:function(Y,et,en){Y.exports=en(52258)},53485:function(Y,et,en){Y.exports=en(74263)},31090:function(Y,et,en){Y.exports=en(82219)},93297:function(Y,et,en){Y.exports=en(57471)},86701:function(Y,et,en){Y.exports=en(43179)},46102:function(Y,et,en){Y.exports=en(62377)},81564:function(Y,et,en){Y.exports=en(32710)},25465:function(Y,et,en){Y.exports=en(32745)},37585:function(Y,et,en){Y.exports=en(53047)},13928:function(Y,et,en){Y.exports=en(42721)},91234:function(Y,et,en){Y.exports=en(7857)},70705:function(Y,et,en){Y.exports=en(39013)},17653:function(Y,et,en){Y.exports=en(84450)},24505:function(Y,et,en){Y.exports=en(39154)},16487:function(Y){function et(Y,et){(null==et||et>Y.length)&&(et=Y.length);for(var en=0,ei=Array(et);en<et;en++)ei[en]=Y[en];return ei}Y.exports=et,Y.exports.__esModule=!0,Y.exports.default=Y.exports},69605:function(Y){function et(Y){if(Array.isArray(Y))return Y}Y.exports=et,Y.exports.__esModule=!0,Y.exports.default=Y.exports},44114:function(Y){function et(Y){if(void 0===Y)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return Y}Y.exports=et,Y.exports.__esModule=!0,Y.exports.default=Y.exports},7392:function(Y){function et(Y,et,en,ei,eo,ea,eu){try{var ec=Y[ea](eu),ed=ec.value}catch(Y){en(Y);return}ec.done?et(ed):Promise.resolve(ed).then(ei,eo)}function en(Y){return function(){var en=this,ei=arguments;return new Promise(function(eo,ea){var eu=Y.apply(en,ei);function ec(Y){et(eu,eo,ea,ec,ed,"next",Y)}function ed(Y){et(eu,eo,ea,ec,ed,"throw",Y)}ec(void 0)})}}Y.exports=en,Y.exports.__esModule=!0,Y.exports.default=Y.exports},57934:function(Y){function et(Y,et){if(!(Y instanceof et))throw TypeError("Cannot call a class as a function")}Y.exports=et,Y.exports.__esModule=!0,Y.exports.default=Y.exports},61318:function(Y,et,en){var ei=en(37745),eo=en(8228);function ea(et,en,eu){return eo()?(Y.exports=ea=Reflect.construct.bind(),Y.exports.__esModule=!0,Y.exports.default=Y.exports):(Y.exports=ea=function(Y,et,en){var eo=[null];eo.push.apply(eo,et);var ea=new(Function.bind.apply(Y,eo));return en&&ei(ea,en.prototype),ea},Y.exports.__esModule=!0,Y.exports.default=Y.exports),ea.apply(null,arguments)}Y.exports=ea,Y.exports.__esModule=!0,Y.exports.default=Y.exports},41176:function(Y,et,en){var ei=en(80652);function eo(Y,et){for(var en=0;en<et.length;en++){var eo=et[en];eo.enumerable=eo.enumerable||!1,eo.configurable=!0,"value"in eo&&(eo.writable=!0),Object.defineProperty(Y,ei(eo.key),eo)}}function ea(Y,et,en){return et&&eo(Y.prototype,et),en&&eo(Y,en),Object.defineProperty(Y,"prototype",{writable:!1}),Y}Y.exports=ea,Y.exports.__esModule=!0,Y.exports.default=Y.exports},79862:function(Y,et,en){var ei=en(80652);function eo(Y,et,en){return(et=ei(et))in Y?Object.defineProperty(Y,et,{value:en,enumerable:!0,configurable:!0,writable:!0}):Y[et]=en,Y}Y.exports=eo,Y.exports.__esModule=!0,Y.exports.default=Y.exports},72904:function(Y){function et(en){return Y.exports=et=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(Y){return Y.__proto__||Object.getPrototypeOf(Y)},Y.exports.__esModule=!0,Y.exports.default=Y.exports,et(en)}Y.exports=et,Y.exports.__esModule=!0,Y.exports.default=Y.exports},65523:function(Y,et,en){var ei=en(37745);function eo(Y,et){if("function"!=typeof et&&null!==et)throw TypeError("Super expression must either be null or a function");Y.prototype=Object.create(et&&et.prototype,{constructor:{value:Y,writable:!0,configurable:!0}}),Object.defineProperty(Y,"prototype",{writable:!1}),et&&ei(Y,et)}Y.exports=eo,Y.exports.__esModule=!0,Y.exports.default=Y.exports},94146:function(Y){function et(Y){return Y&&Y.__esModule?Y:{default:Y}}Y.exports=et,Y.exports.__esModule=!0,Y.exports.default=Y.exports},87606:function(Y){function et(Y){try{return -1!==Function.toString.call(Y).indexOf("[native code]")}catch(et){return"function"==typeof Y}}Y.exports=et,Y.exports.__esModule=!0,Y.exports.default=Y.exports},8228:function(Y){function et(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(Y){return!1}}Y.exports=et,Y.exports.__esModule=!0,Y.exports.default=Y.exports},40201:function(Y){function et(Y,et){var en=null==Y?null:"undefined"!=typeof Symbol&&Y[Symbol.iterator]||Y["@@iterator"];if(null!=en){var ei,eo,ea,eu,ec=[],ed=!0,ef=!1;try{if(ea=(en=en.call(Y)).next,0===et){if(Object(en)!==en)return;ed=!1}else for(;!(ed=(ei=ea.call(en)).done)&&(ec.push(ei.value),ec.length!==et);ed=!0);}catch(Y){ef=!0,eo=Y}finally{try{if(!ed&&null!=en.return&&(eu=en.return(),Object(eu)!==eu))return}finally{if(ef)throw eo}}return ec}}Y.exports=et,Y.exports.__esModule=!0,Y.exports.default=Y.exports},92725:function(Y){function et(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}Y.exports=et,Y.exports.__esModule=!0,Y.exports.default=Y.exports},75745:function(Y,et,en){var ei=en(26851).default,eo=en(44114);function ea(Y,et){if(et&&("object"===ei(et)||"function"==typeof et))return et;if(void 0!==et)throw TypeError("Derived constructors may only return object or undefined");return eo(Y)}Y.exports=ea,Y.exports.__esModule=!0,Y.exports.default=Y.exports},90393:function(Y,et,en){var ei=en(26851).default;function eo(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Y.exports=eo=function(){return en},Y.exports.__esModule=!0,Y.exports.default=Y.exports;var et,en={},ea=Object.prototype,eu=ea.hasOwnProperty,ec=Object.defineProperty||function(Y,et,en){Y[et]=en.value},ed="function"==typeof Symbol?Symbol:{},ef=ed.iterator||"@@iterator",eh=ed.asyncIterator||"@@asyncIterator",ep=ed.toStringTag||"@@toStringTag";function em(Y,et,en){return Object.defineProperty(Y,et,{value:en,enumerable:!0,configurable:!0,writable:!0}),Y[et]}try{em({},"")}catch(Y){em=function(Y,et,en){return Y[et]=en}}function eg(Y,et,en,ei){var eo=Object.create((et&&et.prototype instanceof eC?et:eC).prototype);return ec(eo,"_invoke",{value:eN(Y,en,new eF(ei||[]))}),eo}function ey(Y,et,en){try{return{type:"normal",arg:Y.call(et,en)}}catch(Y){return{type:"throw",arg:Y}}}en.wrap=eg;var eb="suspendedStart",ek="suspendedYield",ew="executing",e_="completed",eE={};function eC(){}function eT(){}function eS(){}var eA={};em(eA,ef,function(){return this});var eM=Object.getPrototypeOf,eP=eM&&eM(eM(eB([])));eP&&eP!==ea&&eu.call(eP,ef)&&(eA=eP);var ej=eS.prototype=eC.prototype=Object.create(eA);function eO(Y){["next","throw","return"].forEach(function(et){em(Y,et,function(Y){return this._invoke(et,Y)})})}function eI(Y,et){var en;function eo(en,ea,ec,ed){var ef=ey(Y[en],Y,ea);if("throw"!==ef.type){var eh=ef.arg,ep=eh.value;return ep&&"object"==ei(ep)&&eu.call(ep,"__await")?et.resolve(ep.__await).then(function(Y){eo("next",Y,ec,ed)},function(Y){eo("throw",Y,ec,ed)}):et.resolve(ep).then(function(Y){eh.value=Y,ec(eh)},function(Y){return eo("throw",Y,ec,ed)})}ed(ef.arg)}ec(this,"_invoke",{value:function(Y,ei){function ea(){return new et(function(et,en){eo(Y,ei,et,en)})}return en=en?en.then(ea,ea):ea()}})}function eN(Y,en,ei){var eo=eb;return function(ea,eu){if(eo===ew)throw Error("Generator is already running");if(eo===e_){if("throw"===ea)throw eu;return{value:et,done:!0}}for(ei.method=ea,ei.arg=eu;;){var ec=ei.delegate;if(ec){var ed=eL(ec,ei);if(ed){if(ed===eE)continue;return ed}}if("next"===ei.method)ei.sent=ei._sent=ei.arg;else if("throw"===ei.method){if(eo===eb)throw eo=e_,ei.arg;ei.dispatchException(ei.arg)}else"return"===ei.method&&ei.abrupt("return",ei.arg);eo=ew;var ef=ey(Y,en,ei);if("normal"===ef.type){if(eo=ei.done?e_:ek,ef.arg===eE)continue;return{value:ef.arg,done:ei.done}}"throw"===ef.type&&(eo=e_,ei.method="throw",ei.arg=ef.arg)}}}function eL(Y,en){var ei=en.method,eo=Y.iterator[ei];if(eo===et)return en.delegate=null,"throw"===ei&&Y.iterator.return&&(en.method="return",en.arg=et,eL(Y,en),"throw"===en.method)||"return"!==ei&&(en.method="throw",en.arg=TypeError("The iterator does not provide a '"+ei+"' method")),eE;var ea=ey(eo,Y.iterator,en.arg);if("throw"===ea.type)return en.method="throw",en.arg=ea.arg,en.delegate=null,eE;var eu=ea.arg;return eu?eu.done?(en[Y.resultName]=eu.value,en.next=Y.nextLoc,"return"!==en.method&&(en.method="next",en.arg=et),en.delegate=null,eE):eu:(en.method="throw",en.arg=TypeError("iterator result is not an object"),en.delegate=null,eE)}function eR(Y){var et={tryLoc:Y[0]};1 in Y&&(et.catchLoc=Y[1]),2 in Y&&(et.finallyLoc=Y[2],et.afterLoc=Y[3]),this.tryEntries.push(et)}function eD(Y){var et=Y.completion||{};et.type="normal",delete et.arg,Y.completion=et}function eF(Y){this.tryEntries=[{tryLoc:"root"}],Y.forEach(eR,this),this.reset(!0)}function eB(Y){if(Y||""===Y){var en=Y[ef];if(en)return en.call(Y);if("function"==typeof Y.next)return Y;if(!isNaN(Y.length)){var eo=-1,ea=function en(){for(;++eo<Y.length;)if(eu.call(Y,eo))return en.value=Y[eo],en.done=!1,en;return en.value=et,en.done=!0,en};return ea.next=ea}}throw TypeError(ei(Y)+" is not iterable")}return eT.prototype=eS,ec(ej,"constructor",{value:eS,configurable:!0}),ec(eS,"constructor",{value:eT,configurable:!0}),eT.displayName=em(eS,ep,"GeneratorFunction"),en.isGeneratorFunction=function(Y){var et="function"==typeof Y&&Y.constructor;return!!et&&(et===eT||"GeneratorFunction"===(et.displayName||et.name))},en.mark=function(Y){return Object.setPrototypeOf?Object.setPrototypeOf(Y,eS):(Y.__proto__=eS,em(Y,ep,"GeneratorFunction")),Y.prototype=Object.create(ej),Y},en.awrap=function(Y){return{__await:Y}},eO(eI.prototype),em(eI.prototype,eh,function(){return this}),en.AsyncIterator=eI,en.async=function(Y,et,ei,eo,ea){void 0===ea&&(ea=Promise);var eu=new eI(eg(Y,et,ei,eo),ea);return en.isGeneratorFunction(et)?eu:eu.next().then(function(Y){return Y.done?Y.value:eu.next()})},eO(ej),em(ej,ep,"Generator"),em(ej,ef,function(){return this}),em(ej,"toString",function(){return"[object Generator]"}),en.keys=function(Y){var et=Object(Y),en=[];for(var ei in et)en.push(ei);return en.reverse(),function Y(){for(;en.length;){var ei=en.pop();if(ei in et)return Y.value=ei,Y.done=!1,Y}return Y.done=!0,Y}},en.values=eB,eF.prototype={constructor:eF,reset:function(Y){if(this.prev=0,this.next=0,this.sent=this._sent=et,this.done=!1,this.delegate=null,this.method="next",this.arg=et,this.tryEntries.forEach(eD),!Y)for(var en in this)"t"===en.charAt(0)&&eu.call(this,en)&&!isNaN(+en.slice(1))&&(this[en]=et)},stop:function(){this.done=!0;var Y=this.tryEntries[0].completion;if("throw"===Y.type)throw Y.arg;return this.rval},dispatchException:function(Y){if(this.done)throw Y;var en=this;function ei(ei,eo){return ec.type="throw",ec.arg=Y,en.next=ei,eo&&(en.method="next",en.arg=et),!!eo}for(var eo=this.tryEntries.length-1;eo>=0;--eo){var ea=this.tryEntries[eo],ec=ea.completion;if("root"===ea.tryLoc)return ei("end");if(ea.tryLoc<=this.prev){var ed=eu.call(ea,"catchLoc"),ef=eu.call(ea,"finallyLoc");if(ed&&ef){if(this.prev<ea.catchLoc)return ei(ea.catchLoc,!0);if(this.prev<ea.finallyLoc)return ei(ea.finallyLoc)}else if(ed){if(this.prev<ea.catchLoc)return ei(ea.catchLoc,!0)}else{if(!ef)throw Error("try statement without catch or finally");if(this.prev<ea.finallyLoc)return ei(ea.finallyLoc)}}}},abrupt:function(Y,et){for(var en=this.tryEntries.length-1;en>=0;--en){var ei=this.tryEntries[en];if(ei.tryLoc<=this.prev&&eu.call(ei,"finallyLoc")&&this.prev<ei.finallyLoc){var eo=ei;break}}eo&&("break"===Y||"continue"===Y)&&eo.tryLoc<=et&&et<=eo.finallyLoc&&(eo=null);var ea=eo?eo.completion:{};return ea.type=Y,ea.arg=et,eo?(this.method="next",this.next=eo.finallyLoc,eE):this.complete(ea)},complete:function(Y,et){if("throw"===Y.type)throw Y.arg;return"break"===Y.type||"continue"===Y.type?this.next=Y.arg:"return"===Y.type?(this.rval=this.arg=Y.arg,this.method="return",this.next="end"):"normal"===Y.type&&et&&(this.next=et),eE},finish:function(Y){for(var et=this.tryEntries.length-1;et>=0;--et){var en=this.tryEntries[et];if(en.finallyLoc===Y)return this.complete(en.completion,en.afterLoc),eD(en),eE}},catch:function(Y){for(var et=this.tryEntries.length-1;et>=0;--et){var en=this.tryEntries[et];if(en.tryLoc===Y){var ei=en.completion;if("throw"===ei.type){var eo=ei.arg;eD(en)}return eo}}throw Error("illegal catch attempt")},delegateYield:function(Y,en,ei){return this.delegate={iterator:eB(Y),resultName:en,nextLoc:ei},"next"===this.method&&(this.arg=et),eE}},en}Y.exports=eo,Y.exports.__esModule=!0,Y.exports.default=Y.exports},37745:function(Y){function et(en,ei){return Y.exports=et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Y,et){return Y.__proto__=et,Y},Y.exports.__esModule=!0,Y.exports.default=Y.exports,et(en,ei)}Y.exports=et,Y.exports.__esModule=!0,Y.exports.default=Y.exports},70125:function(Y,et,en){var ei=en(69605),eo=en(40201),ea=en(91229),eu=en(92725);function ec(Y,et){return ei(Y)||eo(Y,et)||ea(Y,et)||eu()}Y.exports=ec,Y.exports.__esModule=!0,Y.exports.default=Y.exports},42523:function(Y,et,en){var ei=en(26851).default;function eo(Y,et){if("object"!==ei(Y)||null===Y)return Y;var en=Y[Symbol.toPrimitive];if(void 0!==en){var eo=en.call(Y,et||"default");if("object"!==ei(eo))return eo;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===et?String:Number)(Y)}Y.exports=eo,Y.exports.__esModule=!0,Y.exports.default=Y.exports},80652:function(Y,et,en){var ei=en(26851).default,eo=en(42523);function ea(Y){var et=eo(Y,"string");return"symbol"===ei(et)?et:String(et)}Y.exports=ea,Y.exports.__esModule=!0,Y.exports.default=Y.exports},26851:function(Y){function et(en){return Y.exports=et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Y){return typeof Y}:function(Y){return Y&&"function"==typeof Symbol&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},Y.exports.__esModule=!0,Y.exports.default=Y.exports,et(en)}Y.exports=et,Y.exports.__esModule=!0,Y.exports.default=Y.exports},91229:function(Y,et,en){var ei=en(16487);function eo(Y,et){if(Y){if("string"==typeof Y)return ei(Y,et);var en=Object.prototype.toString.call(Y).slice(8,-1);if("Object"===en&&Y.constructor&&(en=Y.constructor.name),"Map"===en||"Set"===en)return Array.from(Y);if("Arguments"===en||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(en))return ei(Y,et)}}Y.exports=eo,Y.exports.__esModule=!0,Y.exports.default=Y.exports},19108:function(Y,et,en){var ei=en(72904),eo=en(37745),ea=en(87606),eu=en(61318);function ec(et){var en="function"==typeof Map?new Map:void 0;return Y.exports=ec=function(Y){if(null===Y||!ea(Y))return Y;if("function"!=typeof Y)throw TypeError("Super expression must either be null or a function");if(void 0!==en){if(en.has(Y))return en.get(Y);en.set(Y,et)}function et(){return eu(Y,arguments,ei(this).constructor)}return et.prototype=Object.create(Y.prototype,{constructor:{value:et,enumerable:!1,writable:!0,configurable:!0}}),eo(et,Y)},Y.exports.__esModule=!0,Y.exports.default=Y.exports,ec(et)}Y.exports=ec,Y.exports.__esModule=!0,Y.exports.default=Y.exports},55756:function(Y,et,en){var ei=en(90393)();Y.exports=ei;try{regeneratorRuntime=ei}catch(Y){"object"==typeof globalThis?globalThis.regeneratorRuntime=ei:Function("r","regeneratorRuntime = r")(ei)}},14897:function(Y,et,en){"use strict";var ei=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],eo="undefined"==typeof globalThis?en.g:globalThis;Y.exports=function(){for(var Y=[],et=0;et<ei.length;et++)"function"==typeof eo[ei[et]]&&(Y[Y.length]=ei[et]);return Y}},76966:function(Y){var et={exports:{}};function en(Y){return Y instanceof Map?Y.clear=Y.delete=Y.set=function(){throw Error("map is read-only")}:Y instanceof Set&&(Y.add=Y.clear=Y.delete=function(){throw Error("set is read-only")}),Object.freeze(Y),Object.getOwnPropertyNames(Y).forEach(function(et){var ei=Y[et];"object"!=typeof ei||Object.isFrozen(ei)||en(ei)}),Y}et.exports=en,et.exports.default=en;class ei{constructor(Y){void 0===Y.data&&(Y.data={}),this.data=Y.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function eo(Y){return Y.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function ea(Y,...et){let en=Object.create(null);for(let et in Y)en[et]=Y[et];return et.forEach(function(Y){for(let et in Y)en[et]=Y[et]}),en}let eu="</span>",ec=Y=>!!Y.scope||Y.sublanguage&&Y.language,ed=(Y,{prefix:et})=>{if(Y.includes(".")){let en=Y.split(".");return[`${et}${en.shift()}`,...en.map((Y,et)=>`${Y}${"_".repeat(et+1)}`)].join(" ")}return`${et}${Y}`};class ef{constructor(Y,et){this.buffer="",this.classPrefix=et.classPrefix,Y.walk(this)}addText(Y){this.buffer+=eo(Y)}openNode(Y){if(!ec(Y))return;let et="";et=Y.sublanguage?`language-${Y.language}`:ed(Y.scope,{prefix:this.classPrefix}),this.span(et)}closeNode(Y){ec(Y)&&(this.buffer+=eu)}value(){return this.buffer}span(Y){this.buffer+=`<span class="${Y}">`}}let eh=(Y={})=>{let et={children:[]};return Object.assign(et,Y),et};class ep{constructor(){this.rootNode=eh(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Y){this.top.children.push(Y)}openNode(Y){let et=eh({scope:Y});this.add(et),this.stack.push(et)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Y){return this.constructor._walk(Y,this.rootNode)}static _walk(Y,et){return"string"==typeof et?Y.addText(et):et.children&&(Y.openNode(et),et.children.forEach(et=>this._walk(Y,et)),Y.closeNode(et)),Y}static _collapse(Y){"string"!=typeof Y&&Y.children&&(Y.children.every(Y=>"string"==typeof Y)?Y.children=[Y.children.join("")]:Y.children.forEach(Y=>{ep._collapse(Y)}))}}class em extends ep{constructor(Y){super(),this.options=Y}addKeyword(Y,et){""!==Y&&(this.openNode(et),this.addText(Y),this.closeNode())}addText(Y){""!==Y&&this.add(Y)}addSublanguage(Y,et){let en=Y.root;en.sublanguage=!0,en.language=et,this.add(en)}toHTML(){let Y=new ef(this,this.options);return Y.value()}finalize(){return!0}}function eg(Y){return Y?"string"==typeof Y?Y:Y.source:null}function ey(Y){return ew("(?=",Y,")")}function eb(Y){return ew("(?:",Y,")*")}function ek(Y){return ew("(?:",Y,")?")}function ew(...Y){let et=Y.map(Y=>eg(Y)).join("");return et}function e_(Y){let et=Y[Y.length-1];return"object"==typeof et&&et.constructor===Object?(Y.splice(Y.length-1,1),et):{}}function eE(...Y){let et=e_(Y),en="("+(et.capture?"":"?:")+Y.map(Y=>eg(Y)).join("|")+")";return en}function eC(Y){return RegExp(Y.toString()+"|").exec("").length-1}function eT(Y,et){let en=Y&&Y.exec(et);return en&&0===en.index}let eS=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function eA(Y,{joinWith:et}){let en=0;return Y.map(Y=>{en+=1;let et=en,ei=eg(Y),eo="";for(;ei.length>0;){let Y=eS.exec(ei);if(!Y){eo+=ei;break}eo+=ei.substring(0,Y.index),ei=ei.substring(Y.index+Y[0].length),"\\"===Y[0][0]&&Y[1]?eo+="\\"+String(Number(Y[1])+et):(eo+=Y[0],"("===Y[0]&&en++)}return eo}).map(Y=>`(${Y})`).join(et)}let eM=/\b\B/,eP="[a-zA-Z]\\w*",ej="[a-zA-Z_]\\w*",eO="\\b\\d+(\\.\\d+)?",eI="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",eN="\\b(0b[01]+)",eL="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",eR=(Y={})=>{let et=/^#![ ]*\//;return Y.binary&&(Y.begin=ew(et,/.*\b/,Y.binary,/\b.*/)),ea({scope:"meta",begin:et,end:/$/,relevance:0,"on:begin":(Y,et)=>{0!==Y.index&&et.ignoreMatch()}},Y)},eD={begin:"\\\\[\\s\\S]",relevance:0},eF={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[eD]},eB={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[eD]},ez={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},eU=function(Y,et,en={}){let ei=ea({scope:"comment",begin:Y,end:et,contains:[]},en);ei.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let eo=eE("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return ei.contains.push({begin:ew(/[ ]+/,"(",eo,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),ei},eH=eU("//","$"),eG=eU("/\\*","\\*/"),eV=eU("#","$"),eW={scope:"number",begin:eO,relevance:0},eZ={scope:"number",begin:eI,relevance:0},eK={scope:"number",begin:eN,relevance:0},e$={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[eD,{begin:/\[/,end:/\]/,relevance:0,contains:[eD]}]}]},eY={scope:"title",begin:eP,relevance:0},eQ={scope:"title",begin:ej,relevance:0},eX={begin:"\\.\\s*"+ej,relevance:0},eJ=function(Y){return Object.assign(Y,{"on:begin":(Y,et)=>{et.data._beginMatch=Y[1]},"on:end":(Y,et)=>{et.data._beginMatch!==Y[1]&&et.ignoreMatch()}})};var e0=Object.freeze({__proto__:null,MATCH_NOTHING_RE:eM,IDENT_RE:eP,UNDERSCORE_IDENT_RE:ej,NUMBER_RE:eO,C_NUMBER_RE:eI,BINARY_NUMBER_RE:eN,RE_STARTERS_RE:eL,SHEBANG:eR,BACKSLASH_ESCAPE:eD,APOS_STRING_MODE:eF,QUOTE_STRING_MODE:eB,PHRASAL_WORDS_MODE:ez,COMMENT:eU,C_LINE_COMMENT_MODE:eH,C_BLOCK_COMMENT_MODE:eG,HASH_COMMENT_MODE:eV,NUMBER_MODE:eW,C_NUMBER_MODE:eZ,BINARY_NUMBER_MODE:eK,REGEXP_MODE:e$,TITLE_MODE:eY,UNDERSCORE_TITLE_MODE:eQ,METHOD_GUARD:eX,END_SAME_AS_BEGIN:eJ});function e9(Y,et){let en=Y.input[Y.index-1];"."===en&&et.ignoreMatch()}function e5(Y,et){void 0!==Y.className&&(Y.scope=Y.className,delete Y.className)}function e4(Y,et){et&&Y.beginKeywords&&(Y.begin="\\b("+Y.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Y.__beforeBegin=e9,Y.keywords=Y.keywords||Y.beginKeywords,delete Y.beginKeywords,void 0===Y.relevance&&(Y.relevance=0))}function e3(Y,et){Array.isArray(Y.illegal)&&(Y.illegal=eE(...Y.illegal))}function e6(Y,et){if(Y.match){if(Y.begin||Y.end)throw Error("begin & end are not supported with match");Y.begin=Y.match,delete Y.match}}function e7(Y,et){void 0===Y.relevance&&(Y.relevance=1)}let e8=(Y,et)=>{if(!Y.beforeMatch)return;if(Y.starts)throw Error("beforeMatch cannot be used with starts");let en=Object.assign({},Y);Object.keys(Y).forEach(et=>{delete Y[et]}),Y.keywords=en.keywords,Y.begin=ew(en.beforeMatch,ey(en.begin)),Y.starts={relevance:0,contains:[Object.assign(en,{endsParent:!0})]},Y.relevance=0,delete en.beforeMatch},tt=["of","and","for","in","not","or","if","then","parent","list","value"],ta="keyword";function tu(Y,et,en=ta){let ei=Object.create(null);return"string"==typeof Y?eo(en,Y.split(" ")):Array.isArray(Y)?eo(en,Y):Object.keys(Y).forEach(function(en){Object.assign(ei,tu(Y[en],et,en))}),ei;function eo(Y,en){et&&(en=en.map(Y=>Y.toLowerCase())),en.forEach(function(et){let en=et.split("|");ei[en[0]]=[Y,tc(en[0],en[1])]})}}function tc(Y,et){return et?Number(et):td(Y)?0:1}function td(Y){return tt.includes(Y.toLowerCase())}let tf={},th=Y=>{console.error(Y)},tp=(Y,...et)=>{console.log(`WARN: ${Y}`,...et)},tm=(Y,et)=>{tf[`${Y}/${et}`]||(console.log(`Deprecated as of ${Y}. ${et}`),tf[`${Y}/${et}`]=!0)},tg=Error();function tv(Y,et,{key:en}){let ei=0,eo=Y[en],ea={},eu={};for(let Y=1;Y<=et.length;Y++)eu[Y+ei]=eo[Y],ea[Y+ei]=!0,ei+=eC(et[Y-1]);Y[en]=eu,Y[en]._emit=ea,Y[en]._multi=!0}function tb(Y){if(Array.isArray(Y.begin)){if(Y.skip||Y.excludeBegin||Y.returnBegin)throw th("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),tg;if("object"!=typeof Y.beginScope||null===Y.beginScope)throw th("beginScope must be object"),tg;tv(Y,Y.begin,{key:"beginScope"}),Y.begin=eA(Y.begin,{joinWith:""})}}function tk(Y){if(Array.isArray(Y.end)){if(Y.skip||Y.excludeEnd||Y.returnEnd)throw th("skip, excludeEnd, returnEnd not compatible with endScope: {}"),tg;if("object"!=typeof Y.endScope||null===Y.endScope)throw th("endScope must be object"),tg;tv(Y,Y.end,{key:"endScope"}),Y.end=eA(Y.end,{joinWith:""})}}function tw(Y){Y.scope&&"object"==typeof Y.scope&&null!==Y.scope&&(Y.beginScope=Y.scope,delete Y.scope)}function t_(Y){tw(Y),"string"==typeof Y.beginScope&&(Y.beginScope={_wrap:Y.beginScope}),"string"==typeof Y.endScope&&(Y.endScope={_wrap:Y.endScope}),tb(Y),tk(Y)}function tE(Y){function et(et,en){return RegExp(eg(et),"m"+(Y.case_insensitive?"i":"")+(Y.unicodeRegex?"u":"")+(en?"g":""))}class en{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Y,et){et.position=this.position++,this.matchIndexes[this.matchAt]=et,this.regexes.push([et,Y]),this.matchAt+=eC(Y)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);let Y=this.regexes.map(Y=>Y[1]);this.matcherRe=et(eA(Y,{joinWith:"|"}),!0),this.lastIndex=0}exec(Y){this.matcherRe.lastIndex=this.lastIndex;let et=this.matcherRe.exec(Y);if(!et)return null;let en=et.findIndex((Y,et)=>et>0&&void 0!==Y),ei=this.matchIndexes[en];return et.splice(0,en),Object.assign(et,ei)}}class ei{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Y){if(this.multiRegexes[Y])return this.multiRegexes[Y];let et=new en;return this.rules.slice(Y).forEach(([Y,en])=>et.addRule(Y,en)),et.compile(),this.multiRegexes[Y]=et,et}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(Y,et){this.rules.push([Y,et]),"begin"===et.type&&this.count++}exec(Y){let et=this.getMatcher(this.regexIndex);et.lastIndex=this.lastIndex;let en=et.exec(Y);if(this.resumingScanAtSamePosition()){if(en&&en.index===this.lastIndex);else{let et=this.getMatcher(0);et.lastIndex=this.lastIndex+1,en=et.exec(Y)}}return en&&(this.regexIndex+=en.position+1,this.regexIndex===this.count&&this.considerAll()),en}}function eo(Y){let et=new ei;return Y.contains.forEach(Y=>et.addRule(Y.begin,{rule:Y,type:"begin"})),Y.terminatorEnd&&et.addRule(Y.terminatorEnd,{type:"end"}),Y.illegal&&et.addRule(Y.illegal,{type:"illegal"}),et}function eu(en,ei){let ea=en;if(en.isCompiled)return ea;[e5,e6,t_,e8].forEach(Y=>Y(en,ei)),Y.compilerExtensions.forEach(Y=>Y(en,ei)),en.__beforeBegin=null,[e4,e3,e7].forEach(Y=>Y(en,ei)),en.isCompiled=!0;let ec=null;return"object"==typeof en.keywords&&en.keywords.$pattern&&(en.keywords=Object.assign({},en.keywords),ec=en.keywords.$pattern,delete en.keywords.$pattern),ec=ec||/\w+/,en.keywords&&(en.keywords=tu(en.keywords,Y.case_insensitive)),ea.keywordPatternRe=et(ec,!0),ei&&(en.begin||(en.begin=/\B|\b/),ea.beginRe=et(ea.begin),en.end||en.endsWithParent||(en.end=/\B|\b/),en.end&&(ea.endRe=et(ea.end)),ea.terminatorEnd=eg(ea.end)||"",en.endsWithParent&&ei.terminatorEnd&&(ea.terminatorEnd+=(en.end?"|":"")+ei.terminatorEnd)),en.illegal&&(ea.illegalRe=et(en.illegal)),en.contains||(en.contains=[]),en.contains=[].concat(...en.contains.map(function(Y){return tT("self"===Y?en:Y)})),en.contains.forEach(function(Y){eu(Y,ea)}),en.starts&&eu(en.starts,ei),ea.matcher=eo(ea),ea}if(Y.compilerExtensions||(Y.compilerExtensions=[]),Y.contains&&Y.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Y.classNameAliases=ea(Y.classNameAliases||{}),eu(Y)}function tC(Y){return!!Y&&(Y.endsWithParent||tC(Y.starts))}function tT(Y){return(Y.variants&&!Y.cachedVariants&&(Y.cachedVariants=Y.variants.map(function(et){return ea(Y,{variants:null},et)})),Y.cachedVariants)?Y.cachedVariants:tC(Y)?ea(Y,{starts:Y.starts?ea(Y.starts):null}):Object.isFrozen(Y)?ea(Y):Y}var tS="11.7.0";class tA extends Error{constructor(Y,et){super(Y),this.name="HTMLInjectionError",this.html=et}}let tM=eo,tP=ea,tj=Symbol("nomatch"),tO=7,tI=function(Y){let en=Object.create(null),eo=Object.create(null),ea=[],eu=!0,ec="Could not find the language '{}', did you forget to load/include a language module?",ed={disableAutodetect:!0,name:"Plain text",contains:[]},ef={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:em};function eh(Y){return ef.noHighlightRe.test(Y)}function ep(Y){let et=Y.className+" ";et+=Y.parentNode?Y.parentNode.className:"";let en=ef.languageDetectRe.exec(et);if(en){let et=eB(en[1]);return et||(tp(ec.replace("{}",en[1])),tp("Falling back to no-highlight mode for this block.",Y)),et?en[1]:"no-highlight"}return et.split(/\s+/).find(Y=>eh(Y)||eB(Y))}function eg(Y,et,en){let ei="",eo="";"object"==typeof et?(ei=Y,en=et.ignoreIllegals,eo=et.language):(tm("10.7.0","highlight(lang, code, ...args) has been deprecated."),tm("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),eo=Y,ei=et),void 0===en&&(en=!0);let ea={code:ei,language:eo};eG("before:highlight",ea);let eu=ea.result?ea.result:e_(ea.language,ea.code,en);return eu.code=ea.code,eG("after:highlight",eu),eu}function e_(Y,et,eo,ea){let ed=Object.create(null);function eh(Y,et){return Y.keywords[et]}function ep(){if(!eN.keywords){eR.addText(eD);return}let Y=0;eN.keywordPatternRe.lastIndex=0;let et=eN.keywordPatternRe.exec(eD),en="";for(;et;){en+=eD.substring(Y,et.index);let ei=ej.case_insensitive?et[0].toLowerCase():et[0],eo=eh(eN,ei);if(eo){let[Y,ea]=eo;if(eR.addText(en),en="",ed[ei]=(ed[ei]||0)+1,ed[ei]<=tO&&(eF+=ea),Y.startsWith("_"))en+=et[0];else{let en=ej.classNameAliases[Y]||Y;eR.addKeyword(et[0],en)}}else en+=et[0];Y=eN.keywordPatternRe.lastIndex,et=eN.keywordPatternRe.exec(eD)}en+=eD.substring(Y),eR.addText(en)}function em(){if(""===eD)return;let Y=null;if("string"==typeof eN.subLanguage){if(!en[eN.subLanguage]){eR.addText(eD);return}Y=e_(eN.subLanguage,eD,!0,eL[eN.subLanguage]),eL[eN.subLanguage]=Y._top}else Y=eS(eD,eN.subLanguage.length?eN.subLanguage:null);eN.relevance>0&&(eF+=Y.relevance),eR.addSublanguage(Y._emitter,Y.language)}function eg(){null!=eN.subLanguage?em():ep(),eD=""}function ey(Y,et){let en=1,ei=et.length-1;for(;en<=ei;){if(!Y._emit[en]){en++;continue}let ei=ej.classNameAliases[Y[en]]||Y[en],eo=et[en];ei?eR.addKeyword(eo,ei):(eD=eo,ep(),eD=""),en++}}function eb(Y,et){return Y.scope&&"string"==typeof Y.scope&&eR.openNode(ej.classNameAliases[Y.scope]||Y.scope),Y.beginScope&&(Y.beginScope._wrap?(eR.addKeyword(eD,ej.classNameAliases[Y.beginScope._wrap]||Y.beginScope._wrap),eD=""):Y.beginScope._multi&&(ey(Y.beginScope,et),eD="")),eN=Object.create(Y,{parent:{value:eN}})}function ek(Y,et,en){let eo=eT(Y.endRe,en);if(eo){if(Y["on:end"]){let en=new ei(Y);Y["on:end"](et,en),en.isMatchIgnored&&(eo=!1)}if(eo){for(;Y.endsParent&&Y.parent;)Y=Y.parent;return Y}}if(Y.endsWithParent)return ek(Y.parent,et,en)}function ew(Y){return 0===eN.matcher.regexIndex?(eD+=Y[0],1):(eH=!0,0)}function eE(Y){let et=Y[0],en=Y.rule,eo=new ei(en),ea=[en.__beforeBegin,en["on:begin"]];for(let en of ea)if(en&&(en(Y,eo),eo.isMatchIgnored))return ew(et);return en.skip?eD+=et:(en.excludeBegin&&(eD+=et),eg(),en.returnBegin||en.excludeBegin||(eD=et)),eb(en,Y),en.returnBegin?0:et.length}function eC(Y){let en=Y[0],ei=et.substring(Y.index),eo=ek(eN,Y,ei);if(!eo)return tj;let ea=eN;eN.endScope&&eN.endScope._wrap?(eg(),eR.addKeyword(en,eN.endScope._wrap)):eN.endScope&&eN.endScope._multi?(eg(),ey(eN.endScope,Y)):ea.skip?eD+=en:(ea.returnEnd||ea.excludeEnd||(eD+=en),eg(),ea.excludeEnd&&(eD=en));do eN.scope&&eR.closeNode(),eN.skip||eN.subLanguage||(eF+=eN.relevance),eN=eN.parent;while(eN!==eo.parent);return eo.starts&&eb(eo.starts,Y),ea.returnEnd?0:en.length}function eA(){let Y=[];for(let et=eN;et!==ej;et=et.parent)et.scope&&Y.unshift(et.scope);Y.forEach(Y=>eR.openNode(Y))}let eM={};function eP(en,ei){let ea=ei&&ei[0];if(eD+=en,null==ea)return eg(),0;if("begin"===eM.type&&"end"===ei.type&&eM.index===ei.index&&""===ea){if(eD+=et.slice(ei.index,ei.index+1),!eu){let et=Error(`0 width match regex (${Y})`);throw et.languageName=Y,et.badRule=eM.rule,et}return 1}if(eM=ei,"begin"===ei.type)return eE(ei);if("illegal"!==ei.type||eo){if("end"===ei.type){let Y=eC(ei);if(Y!==tj)return Y}}else{let Y=Error('Illegal lexeme "'+ea+'" for mode "'+(eN.scope||"<unnamed>")+'"');throw Y.mode=eN,Y}if("illegal"===ei.type&&""===ea)return 1;if(eU>1e5&&eU>3*ei.index){let Y=Error("potential infinite loop, way more iterations than matches");throw Y}return eD+=ea,ea.length}let ej=eB(Y);if(!ej)throw th(ec.replace("{}",Y)),Error('Unknown language: "'+Y+'"');let eO=tE(ej),eI="",eN=ea||eO,eL={},eR=new ef.__emitter(ef);eA();let eD="",eF=0,ez=0,eU=0,eH=!1;try{for(eN.matcher.considerAll();;){eU++,eH?eH=!1:eN.matcher.considerAll(),eN.matcher.lastIndex=ez;let Y=eN.matcher.exec(et);if(!Y)break;let en=et.substring(ez,Y.index),ei=eP(en,Y);ez=Y.index+ei}return eP(et.substring(ez)),eR.closeAllNodes(),eR.finalize(),eI=eR.toHTML(),{language:Y,value:eI,relevance:eF,illegal:!1,_emitter:eR,_top:eN}}catch(en){if(en.message&&en.message.includes("Illegal"))return{language:Y,value:tM(et),illegal:!0,relevance:0,_illegalBy:{message:en.message,index:ez,context:et.slice(ez-100,ez+100),mode:en.mode,resultSoFar:eI},_emitter:eR};if(eu)return{language:Y,value:tM(et),illegal:!1,relevance:0,errorRaised:en,_emitter:eR,_top:eN};throw en}}function eC(Y){let et={value:tM(Y),illegal:!1,relevance:0,_top:ed,_emitter:new ef.__emitter(ef)};return et._emitter.addText(Y),et}function eS(Y,et){et=et||ef.languages||Object.keys(en);let ei=eC(Y),eo=et.filter(eB).filter(eU).map(et=>e_(et,Y,!1));eo.unshift(ei);let ea=eo.sort((Y,et)=>{if(Y.relevance!==et.relevance)return et.relevance-Y.relevance;if(Y.language&&et.language){if(eB(Y.language).supersetOf===et.language)return 1;if(eB(et.language).supersetOf===Y.language)return -1}return 0}),[eu,ec]=ea,ed=eu;return ed.secondBest=ec,ed}function eA(Y,et,en){let ei=et&&eo[et]||en;Y.classList.add("hljs"),Y.classList.add(`language-${ei}`)}function eM(Y){let et=null,en=ep(Y);if(eh(en))return;if(eG("before:highlightElement",{el:Y,language:en}),Y.children.length>0&&(ef.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(Y)),ef.throwUnescapedHTML)){let et=new tA("One of your code blocks includes unescaped HTML.",Y.innerHTML);throw et}et=Y;let ei=et.textContent,eo=en?eg(ei,{language:en,ignoreIllegals:!0}):eS(ei);Y.innerHTML=eo.value,eA(Y,en,eo.language),Y.result={language:eo.language,re:eo.relevance,relevance:eo.relevance},eo.secondBest&&(Y.secondBest={language:eo.secondBest.language,relevance:eo.secondBest.relevance}),eG("after:highlightElement",{el:Y,result:eo,text:ei})}function eP(Y){ef=tP(ef,Y)}let ej=()=>{eN(),tm("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function eO(){eN(),tm("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let eI=!1;function eN(){if("loading"===document.readyState){eI=!0;return}let Y=document.querySelectorAll(ef.cssSelector);Y.forEach(eM)}function eL(){eI&&eN()}function eR(et,ei){let eo=null;try{eo=ei(Y)}catch(Y){if(th("Language definition for '{}' could not be registered.".replace("{}",et)),eu)th(Y);else throw Y;eo=ed}eo.name||(eo.name=et),en[et]=eo,eo.rawDefinition=ei.bind(null,Y),eo.aliases&&ez(eo.aliases,{languageName:et})}function eD(Y){for(let et of(delete en[Y],Object.keys(eo)))eo[et]===Y&&delete eo[et]}function eF(){return Object.keys(en)}function eB(Y){return en[Y=(Y||"").toLowerCase()]||en[eo[Y]]}function ez(Y,{languageName:et}){"string"==typeof Y&&(Y=[Y]),Y.forEach(Y=>{eo[Y.toLowerCase()]=et})}function eU(Y){let et=eB(Y);return et&&!et.disableAutodetect}function eH(Y){Y["before:highlightBlock"]&&!Y["before:highlightElement"]&&(Y["before:highlightElement"]=et=>{Y["before:highlightBlock"](Object.assign({block:et.el},et))}),Y["after:highlightBlock"]&&!Y["after:highlightElement"]&&(Y["after:highlightElement"]=et=>{Y["after:highlightBlock"](Object.assign({block:et.el},et))})}function eG(Y,et){let en=Y;ea.forEach(function(Y){Y[en]&&Y[en](et)})}for(let en in"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",eL,!1),Object.assign(Y,{highlight:eg,highlightAuto:eS,highlightAll:eN,highlightElement:eM,highlightBlock:function(Y){return tm("10.7.0","highlightBlock will be removed entirely in v12.0"),tm("10.7.0","Please use highlightElement now."),eM(Y)},configure:eP,initHighlighting:ej,initHighlightingOnLoad:eO,registerLanguage:eR,unregisterLanguage:eD,listLanguages:eF,getLanguage:eB,registerAliases:ez,autoDetection:eU,inherit:tP,addPlugin:function(Y){eH(Y),ea.push(Y)}}),Y.debugMode=function(){eu=!1},Y.safeMode=function(){eu=!0},Y.versionString=tS,Y.regex={concat:ew,lookahead:ey,either:eE,optional:ek,anyNumberOfTimes:eb},e0)"object"==typeof e0[en]&&et.exports(e0[en]);return Object.assign(Y,e0),Y};var tN=tI({});Y.exports=tN,tN.HighlightJS=tN,tN.default=tN},45675:function(Y,et,en){"use strict";function ei(){return(ei=Object.assign?Object.assign.bind():function(Y){for(var et=1;et<arguments.length;et++){var en=arguments[et];for(var ei in en)Object.prototype.hasOwnProperty.call(en,ei)&&(Y[ei]=en[ei])}return Y}).apply(this,arguments)}en.d(et,{Z:function(){return ei}})},92897:function(Y,et,en){"use strict";function ei(Y,et){if(null==Y)return{};var en,ei,eo={},ea=Object.keys(Y);for(ei=0;ei<ea.length;ei++)en=ea[ei],et.indexOf(en)>=0||(eo[en]=Y[en]);return eo}en.d(et,{Z:function(){return ei}})},26890:function(Y,et,en){"use strict";function ei(Y,et){return(ei=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Y,et){return Y.__proto__=et,Y})(Y,et)}en.d(et,{Z:function(){return ei}})},3262:function(Y,et,en){"use strict";function ei(){return(ei=Object.assign?Object.assign.bind():function(Y){for(var et=1;et<arguments.length;et++){var en=arguments[et];for(var ei in en)Object.prototype.hasOwnProperty.call(en,ei)&&(Y[ei]=en[ei])}return Y}).apply(this,arguments)}en.d(et,{Z:function(){return ei}})},5527:function(Y,et,en){"use strict";function ei(){return(ei=Object.assign?Object.assign.bind():function(Y){for(var et=1;et<arguments.length;et++){var en=arguments[et];for(var ei in en)Object.prototype.hasOwnProperty.call(en,ei)&&(Y[ei]=en[ei])}return Y}).apply(this,arguments)}en.d(et,{Z:function(){return ei}})},84256:function(Y,et,en){"use strict";function ei(Y){return Y.split("-")[1]}function eo(Y){return"y"===Y?"height":"width"}function ea(Y){return Y.split("-")[0]}function eu(Y){return["top","bottom"].includes(ea(Y))?"x":"y"}function ec(Y,et,en){let ec,{reference:ed,floating:ef}=Y,eh=ed.x+ed.width/2-ef.width/2,ep=ed.y+ed.height/2-ef.height/2,em=eu(et),eg=eo(em),ey=ed[eg]/2-ef[eg]/2,eb="x"===em;switch(ea(et)){case"top":ec={x:eh,y:ed.y-ef.height};break;case"bottom":ec={x:eh,y:ed.y+ed.height};break;case"right":ec={x:ed.x+ed.width,y:ep};break;case"left":ec={x:ed.x-ef.width,y:ep};break;default:ec={x:ed.x,y:ed.y}}switch(ei(et)){case"start":ec[em]-=ey*(en&&eb?-1:1);break;case"end":ec[em]+=ey*(en&&eb?-1:1)}return ec}en.d(et,{Cp:function(){return eP},JB:function(){return eh},RR:function(){return eS},cv:function(){return ej},dp:function(){return eL},dr:function(){return eN},oo:function(){return ed},uY:function(){return eI},x7:function(){return eb}});let ed=async(Y,et,en)=>{let{placement:ei="bottom",strategy:eo="absolute",middleware:ea=[],platform:eu}=en,ed=ea.filter(Boolean),ef=await (null==eu.isRTL?void 0:eu.isRTL(et)),eh=await eu.getElementRects({reference:Y,floating:et,strategy:eo}),{x:ep,y:em}=ec(eh,ei,ef),eg=ei,ey={},eb=0;for(let en=0;en<ed.length;en++){let{name:ea,fn:ek}=ed[en],{x:ew,y:e_,data:eE,reset:eC}=await ek({x:ep,y:em,initialPlacement:ei,placement:eg,strategy:eo,middlewareData:ey,rects:eh,platform:eu,elements:{reference:Y,floating:et}});ep=null!=ew?ew:ep,em=null!=e_?e_:em,ey={...ey,[ea]:{...ey[ea],...eE}},eC&&eb<=50&&(eb++,"object"==typeof eC&&(eC.placement&&(eg=eC.placement),eC.rects&&(eh=!0===eC.rects?await eu.getElementRects({reference:Y,floating:et,strategy:eo}):eC.rects),{x:ep,y:em}=ec(eh,eg,ef)),en=-1)}return{x:ep,y:em,placement:eg,strategy:eo,middlewareData:ey}};function ef(Y){return"number"!=typeof Y?function(Y){return{top:0,right:0,bottom:0,left:0,...Y}}(Y):{top:Y,right:Y,bottom:Y,left:Y}}function eh(Y){return{...Y,top:Y.y,left:Y.x,right:Y.x+Y.width,bottom:Y.y+Y.height}}async function ep(Y,et){var en;void 0===et&&(et={});let{x:ei,y:eo,platform:ea,rects:eu,elements:ec,strategy:ed}=Y,{boundary:ep="clippingAncestors",rootBoundary:em="viewport",elementContext:eg="floating",altBoundary:ey=!1,padding:eb=0}=et,ek=ef(eb),ew=ec[ey?"floating"===eg?"reference":"floating":eg],e_=eh(await ea.getClippingRect({element:null==(en=await (null==ea.isElement?void 0:ea.isElement(ew)))||en?ew:ew.contextElement||await (null==ea.getDocumentElement?void 0:ea.getDocumentElement(ec.floating)),boundary:ep,rootBoundary:em,strategy:ed})),eE="floating"===eg?{...eu.floating,x:ei,y:eo}:eu.reference,eC=await (null==ea.getOffsetParent?void 0:ea.getOffsetParent(ec.floating)),eT=await (null==ea.isElement?void 0:ea.isElement(eC))&&await (null==ea.getScale?void 0:ea.getScale(eC))||{x:1,y:1},eS=eh(ea.convertOffsetParentRelativeRectToViewportRelativeRect?await ea.convertOffsetParentRelativeRectToViewportRelativeRect({rect:eE,offsetParent:eC,strategy:ed}):eE);return{top:(e_.top-eS.top+ek.top)/eT.y,bottom:(eS.bottom-e_.bottom+ek.bottom)/eT.y,left:(e_.left-eS.left+ek.left)/eT.x,right:(eS.right-e_.right+ek.right)/eT.x}}let em=Math.min,eg=Math.max;function ey(Y,et,en){return eg(Y,em(et,en))}let eb=Y=>({name:"arrow",options:Y,async fn(et){let{element:en,padding:ea=0}=Y||{},{x:ec,y:ed,placement:eh,rects:ep,platform:em,elements:eg}=et;if(null==en)return{};let eb=ef(ea),ek={x:ec,y:ed},ew=eu(eh),e_=eo(ew),eE=await em.getDimensions(en),eC="y"===ew,eT=eC?"top":"left",eS=eC?"bottom":"right",eA=eC?"clientHeight":"clientWidth",eM=ep.reference[e_]+ep.reference[ew]-ek[ew]-ep.floating[e_],eP=ek[ew]-ep.reference[ew],ej=await (null==em.getOffsetParent?void 0:em.getOffsetParent(en)),eO=ej?ej[eA]:0;eO&&await (null==em.isElement?void 0:em.isElement(ej))||(eO=eg.floating[eA]||ep.floating[e_]);let eI=eM/2-eP/2,eN=eb[eT],eL=eO-eE[e_]-eb[eS],eR=eO/2-eE[e_]/2+eI,eD=ey(eN,eR,eL),eF=null!=ei(eh)&&eR!=eD&&ep.reference[e_]/2-(eR<eN?eb[eT]:eb[eS])-eE[e_]/2<0;return{[ew]:ek[ew]-(eF?eR<eN?eN-eR:eL-eR:0),data:{[ew]:eD,centerOffset:eR-eD}}}}),ek=["top","right","bottom","left"],ew=(ek.reduce((Y,et)=>Y.concat(et,et+"-start",et+"-end"),[]),{left:"right",right:"left",bottom:"top",top:"bottom"});function e_(Y){return Y.replace(/left|right|bottom|top/g,Y=>ew[Y])}function eE(Y,et,en){void 0===en&&(en=!1);let ea=ei(Y),ec=eu(Y),ed=eo(ec),ef="x"===ec?ea===(en?"end":"start")?"right":"left":"start"===ea?"bottom":"top";return et.reference[ed]>et.floating[ed]&&(ef=e_(ef)),{main:ef,cross:e_(ef)}}let eC={start:"end",end:"start"};function eT(Y){return Y.replace(/start|end/g,Y=>eC[Y])}let eS=function(Y){return void 0===Y&&(Y={}),{name:"flip",options:Y,async fn(et){var en,eo,eu,ec;let{placement:ed,middlewareData:ef,rects:eh,initialPlacement:em,platform:eg,elements:ey}=et,{mainAxis:eb=!0,crossAxis:ek=!0,fallbackPlacements:ew,fallbackStrategy:eC="bestFit",fallbackAxisSideDirection:eS="none",flipAlignment:eA=!0,...eM}=Y,eP=ea(ed),ej=ea(em)===em,eO=await (null==eg.isRTL?void 0:eg.isRTL(ey.floating)),eI=ew||(ej||!eA?[e_(em)]:function(Y){let et=e_(Y);return[eT(Y),et,eT(et)]}(em));ew||"none"===eS||eI.push(...function(Y,et,en,eo){let eu=ei(Y),ec=function(Y,et,en){let ei=["left","right"],eo=["right","left"],ea=["top","bottom"],eu=["bottom","top"];switch(Y){case"top":case"bottom":return en?et?eo:ei:et?ei:eo;case"left":case"right":return et?ea:eu;default:return[]}}(ea(Y),"start"===en,eo);return eu&&(ec=ec.map(Y=>Y+"-"+eu),et&&(ec=ec.concat(ec.map(eT)))),ec}(em,eA,eS,eO));let eN=[em,...eI],eL=await ep(et,eM),eR=[],eD=(null==(en=ef.flip)?void 0:en.overflows)||[];if(eb&&eR.push(eL[eP]),ek){let{main:Y,cross:et}=eE(ed,eh,eO);eR.push(eL[Y],eL[et])}if(eD=[...eD,{placement:ed,overflows:eR}],!eR.every(Y=>Y<=0)){let Y=((null==(eo=ef.flip)?void 0:eo.index)||0)+1,et=eN[Y];if(et)return{data:{index:Y,overflows:eD},reset:{placement:et}};let en=null==(eu=eD.filter(Y=>Y.overflows[0]<=0).sort((Y,et)=>Y.overflows[1]-et.overflows[1])[0])?void 0:eu.placement;if(!en)switch(eC){case"bestFit":{let Y=null==(ec=eD.map(Y=>[Y.placement,Y.overflows.filter(Y=>Y>0).reduce((Y,et)=>Y+et,0)]).sort((Y,et)=>Y[1]-et[1])[0])?void 0:ec[0];Y&&(en=Y);break}case"initialPlacement":en=em}if(ed!==en)return{reset:{placement:en}}}return{}}}};function eA(Y,et){return{top:Y.top-et.height,right:Y.right-et.width,bottom:Y.bottom-et.height,left:Y.left-et.width}}function eM(Y){return ek.some(et=>Y[et]>=0)}let eP=function(Y){return void 0===Y&&(Y={}),{name:"hide",options:Y,async fn(et){let{strategy:en="referenceHidden",...ei}=Y,{rects:eo}=et;switch(en){case"referenceHidden":{let Y=eA(await ep(et,{...ei,elementContext:"reference"}),eo.reference);return{data:{referenceHiddenOffsets:Y,referenceHidden:eM(Y)}}}case"escaped":{let Y=eA(await ep(et,{...ei,altBoundary:!0}),eo.floating);return{data:{escapedOffsets:Y,escaped:eM(Y)}}}default:return{}}}}},ej=function(Y){return void 0===Y&&(Y=0),{name:"offset",options:Y,async fn(et){let{x:en,y:eo}=et,ec=await async function(Y,et){let{placement:en,platform:eo,elements:ec}=Y,ed=await (null==eo.isRTL?void 0:eo.isRTL(ec.floating)),ef=ea(en),eh=ei(en),ep="x"===eu(en),em=["left","top"].includes(ef)?-1:1,eg=ed&&ep?-1:1,ey="function"==typeof et?et(Y):et,{mainAxis:eb,crossAxis:ek,alignmentAxis:ew}="number"==typeof ey?{mainAxis:ey,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...ey};return eh&&"number"==typeof ew&&(ek="end"===eh?-1*ew:ew),ep?{x:ek*eg,y:eb*em}:{x:eb*em,y:ek*eg}}(et,Y);return{x:en+ec.x,y:eo+ec.y,data:ec}}}};function eO(Y){return"x"===Y?"y":"x"}let eI=function(Y){return void 0===Y&&(Y={}),{name:"shift",options:Y,async fn(et){let{x:en,y:ei,placement:eo}=et,{mainAxis:ec=!0,crossAxis:ed=!1,limiter:ef={fn:Y=>{let{x:et,y:en}=Y;return{x:et,y:en}}},...eh}=Y,em={x:en,y:ei},eg=await ep(et,eh),eb=eu(ea(eo)),ek=eO(eb),ew=em[eb],e_=em[ek];if(ec){let Y="y"===eb?"bottom":"right";ew=ey(ew+eg["y"===eb?"top":"left"],ew,ew-eg[Y])}if(ed){let Y="y"===ek?"bottom":"right";e_=ey(e_+eg["y"===ek?"top":"left"],e_,e_-eg[Y])}let eE=ef.fn({...et,[eb]:ew,[ek]:e_});return{...eE,data:{x:eE.x-en,y:eE.y-ei}}}}},eN=function(Y){return void 0===Y&&(Y={}),{options:Y,fn(et){let{x:en,y:ei,placement:eo,rects:ec,middlewareData:ed}=et,{offset:ef=0,mainAxis:eh=!0,crossAxis:ep=!0}=Y,em={x:en,y:ei},eg=eu(eo),ey=eO(eg),eb=em[eg],ek=em[ey],ew="function"==typeof ef?ef(et):ef,e_="number"==typeof ew?{mainAxis:ew,crossAxis:0}:{mainAxis:0,crossAxis:0,...ew};if(eh){let Y="y"===eg?"height":"width",et=ec.reference[eg]-ec.floating[Y]+e_.mainAxis,en=ec.reference[eg]+ec.reference[Y]-e_.mainAxis;eb<et?eb=et:eb>en&&(eb=en)}if(ep){var eE,eC;let Y="y"===eg?"width":"height",et=["top","left"].includes(ea(eo)),en=ec.reference[ey]-ec.floating[Y]+(et&&(null==(eE=ed.offset)?void 0:eE[ey])||0)+(et?0:e_.crossAxis),ei=ec.reference[ey]+ec.reference[Y]+(et?0:(null==(eC=ed.offset)?void 0:eC[ey])||0)-(et?e_.crossAxis:0);ek<en?ek=en:ek>ei&&(ek=ei)}return{[eg]:eb,[ey]:ek}}}},eL=function(Y){return void 0===Y&&(Y={}),{name:"size",options:Y,async fn(et){let en,eo;let{placement:ec,rects:ed,platform:ef,elements:eh}=et,{apply:ey=()=>{},...eb}=Y,ek=await ep(et,eb),ew=ea(ec),e_=ei(ec),eE="x"===eu(ec),{width:eC,height:eT}=ed.floating;"top"===ew||"bottom"===ew?(en=ew,eo=e_===(await (null==ef.isRTL?void 0:ef.isRTL(eh.floating))?"start":"end")?"left":"right"):(eo=ew,en="end"===e_?"top":"bottom");let eS=eT-ek[en],eA=eC-ek[eo],eM=!et.middlewareData.shift,eP=eS,ej=eA;if(eE){let Y=eC-ek.left-ek.right;ej=e_||eM?em(eA,Y):Y}else{let Y=eT-ek.top-ek.bottom;eP=e_||eM?em(eS,Y):Y}if(eM&&!e_){let Y=eg(ek.left,0),et=eg(ek.right,0),en=eg(ek.top,0),ei=eg(ek.bottom,0);eE?ej=eC-2*(0!==Y||0!==et?Y+et:eg(ek.left,ek.right)):eP=eT-2*(0!==en||0!==ei?en+ei:eg(ek.top,ek.bottom))}await ey({...et,availableWidth:ej,availableHeight:eP});let eO=await ef.getDimensions(eh.floating);return eC!==eO.width||eT!==eO.height?{reset:{rects:!0}}:{}}}}},88905:function(Y,et,en){"use strict";en.d(et,{Me:function(){return eG},oo:function(){return eV}});var ei=en(84256);function eo(Y){var et;return(null==(et=Y.ownerDocument)?void 0:et.defaultView)||window}function ea(Y){return eo(Y).getComputedStyle(Y)}function eu(Y){return Y instanceof eo(Y).Node}function ec(Y){return eu(Y)?(Y.nodeName||"").toLowerCase():""}function ed(Y){return Y instanceof eo(Y).HTMLElement}function ef(Y){return Y instanceof eo(Y).Element}function eh(Y){return"undefined"!=typeof ShadowRoot&&(Y instanceof eo(Y).ShadowRoot||Y instanceof ShadowRoot)}function ep(Y){let{overflow:et,overflowX:en,overflowY:ei,display:eo}=ea(Y);return/auto|scroll|overlay|hidden|clip/.test(et+ei+en)&&!["inline","contents"].includes(eo)}function em(Y){return["table","td","th"].includes(ec(Y))}function eg(Y){let et=ey(),en=ea(Y);return"none"!==en.transform||"none"!==en.perspective||!et&&!!en.backdropFilter&&"none"!==en.backdropFilter||!et&&!!en.filter&&"none"!==en.filter||["transform","perspective","filter"].some(Y=>(en.willChange||"").includes(Y))||["paint","layout","strict","content"].some(Y=>(en.contain||"").includes(Y))}function ey(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function eb(Y){return["html","body","#document"].includes(ec(Y))}let ek=Math.min,ew=Math.max,e_=Math.round;function eE(Y){let et=ea(Y),en=parseFloat(et.width)||0,ei=parseFloat(et.height)||0,eo=ed(Y),eu=eo?Y.offsetWidth:en,ec=eo?Y.offsetHeight:ei,ef=e_(en)!==eu||e_(ei)!==ec;return ef&&(en=eu,ei=ec),{width:en,height:ei,fallback:ef}}function eC(Y){return ef(Y)?Y:Y.contextElement}let eT={x:1,y:1};function eS(Y){let et=eC(Y);if(!ed(et))return eT;let en=et.getBoundingClientRect(),{width:ei,height:eo,fallback:ea}=eE(et),eu=(ea?e_(en.width):en.width)/ei,ec=(ea?e_(en.height):en.height)/eo;return eu&&Number.isFinite(eu)||(eu=1),ec&&Number.isFinite(ec)||(ec=1),{x:eu,y:ec}}let eA={x:0,y:0};function eM(Y,et,en){var ei,ea;if(void 0===et&&(et=!0),!ey())return eA;let eu=Y?eo(Y):window;return!en||et&&en!==eu?eA:{x:(null==(ei=eu.visualViewport)?void 0:ei.offsetLeft)||0,y:(null==(ea=eu.visualViewport)?void 0:ea.offsetTop)||0}}function eP(Y,et,en,ea){void 0===et&&(et=!1),void 0===en&&(en=!1);let eu=Y.getBoundingClientRect(),ec=eC(Y),ed=eT;et&&(ea?ef(ea)&&(ed=eS(ea)):ed=eS(Y));let eh=eM(ec,en,ea),ep=(eu.left+eh.x)/ed.x,em=(eu.top+eh.y)/ed.y,eg=eu.width/ed.x,ey=eu.height/ed.y;if(ec){let Y=eo(ec),et=ea&&ef(ea)?eo(ea):ea,en=Y.frameElement;for(;en&&ea&&et!==Y;){let Y=eS(en),et=en.getBoundingClientRect(),ei=getComputedStyle(en);et.x+=(en.clientLeft+parseFloat(ei.paddingLeft))*Y.x,et.y+=(en.clientTop+parseFloat(ei.paddingTop))*Y.y,ep*=Y.x,em*=Y.y,eg*=Y.x,ey*=Y.y,ep+=et.x,em+=et.y,en=eo(en).frameElement}}return(0,ei.JB)({width:eg,height:ey,x:ep,y:em})}function ej(Y){return((eu(Y)?Y.ownerDocument:Y.document)||window.document).documentElement}function eO(Y){return ef(Y)?{scrollLeft:Y.scrollLeft,scrollTop:Y.scrollTop}:{scrollLeft:Y.pageXOffset,scrollTop:Y.pageYOffset}}function eI(Y){return eP(ej(Y)).left+eO(Y).scrollLeft}function eN(Y){if("html"===ec(Y))return Y;let et=Y.assignedSlot||Y.parentNode||eh(Y)&&Y.host||ej(Y);return eh(et)?et.host:et}function eL(Y){let et=eN(Y);return eb(et)?et.ownerDocument.body:ed(et)&&ep(et)?et:eL(et)}function eR(Y,et){var en;void 0===et&&(et=[]);let ei=eL(Y),ea=ei===(null==(en=Y.ownerDocument)?void 0:en.body),eu=eo(ei);return ea?et.concat(eu,eu.visualViewport||[],ep(ei)?ei:[]):et.concat(ei,eR(ei))}function eD(Y,et,en){let eu;if("viewport"===et)eu=function(Y,et){let en=eo(Y),ei=ej(Y),ea=en.visualViewport,eu=ei.clientWidth,ec=ei.clientHeight,ed=0,ef=0;if(ea){eu=ea.width,ec=ea.height;let Y=ey();(!Y||Y&&"fixed"===et)&&(ed=ea.offsetLeft,ef=ea.offsetTop)}return{width:eu,height:ec,x:ed,y:ef}}(Y,en);else if("document"===et)eu=function(Y){let et=ej(Y),en=eO(Y),ei=Y.ownerDocument.body,eo=ew(et.scrollWidth,et.clientWidth,ei.scrollWidth,ei.clientWidth),eu=ew(et.scrollHeight,et.clientHeight,ei.scrollHeight,ei.clientHeight),ec=-en.scrollLeft+eI(Y),ed=-en.scrollTop;return"rtl"===ea(ei).direction&&(ec+=ew(et.clientWidth,ei.clientWidth)-eo),{width:eo,height:eu,x:ec,y:ed}}(ej(Y));else if(ef(et))eu=function(Y,et){let en=eP(Y,!0,"fixed"===et),ei=en.top+Y.clientTop,eo=en.left+Y.clientLeft,ea=ed(Y)?eS(Y):{x:1,y:1};return{width:Y.clientWidth*ea.x,height:Y.clientHeight*ea.y,x:eo*ea.x,y:ei*ea.y}}(et,en);else{let en=eM(Y);eu={...et,x:et.x-en.x,y:et.y-en.y}}return(0,ei.JB)(eu)}function eF(Y,et){let en=eN(Y);return!(en===et||!ef(en)||eb(en))&&("fixed"===ea(en).position||eF(en,et))}function eB(Y,et){return ed(Y)&&"fixed"!==ea(Y).position?et?et(Y):Y.offsetParent:null}function ez(Y,et){let en=eo(Y);if(!ed(Y))return en;let ei=eB(Y,et);for(;ei&&em(ei)&&"static"===ea(ei).position;)ei=eB(ei,et);return ei&&("html"===ec(ei)||"body"===ec(ei)&&"static"===ea(ei).position&&!eg(ei))?en:ei||function(Y){let et=eN(Y);for(;ed(et)&&!eb(et);){if(eg(et))return et;et=eN(et)}return null}(Y)||en}function eU(Y,et,en){let ei=ed(et),eo=ej(et),ea="fixed"===en,eu=eP(Y,!0,ea,et),ef={scrollLeft:0,scrollTop:0},eh={x:0,y:0};if(ei||!ei&&!ea){if(("body"!==ec(et)||ep(eo))&&(ef=eO(et)),ed(et)){let Y=eP(et,!0,ea,et);eh.x=Y.x+et.clientLeft,eh.y=Y.y+et.clientTop}else eo&&(eh.x=eI(eo))}return{x:eu.left+ef.scrollLeft-eh.x,y:eu.top+ef.scrollTop-eh.y,width:eu.width,height:eu.height}}let eH={getClippingRect:function(Y){let{element:et,boundary:en,rootBoundary:ei,strategy:eo}=Y,eu="clippingAncestors"===en?function(Y,et){let en=et.get(Y);if(en)return en;let ei=eR(Y).filter(Y=>ef(Y)&&"body"!==ec(Y)),eo=null,eu="fixed"===ea(Y).position,ed=eu?eN(Y):Y;for(;ef(ed)&&!eb(ed);){let et=ea(ed),en=eg(ed);en||"fixed"!==et.position||(eo=null),(eu?!en&&!eo:!en&&"static"===et.position&&eo&&["absolute","fixed"].includes(eo.position)||ep(ed)&&!en&&eF(Y,ed))?ei=ei.filter(Y=>Y!==ed):eo=et,ed=eN(ed)}return et.set(Y,ei),ei}(et,this._c):[].concat(en),ed=[...eu,ei],eh=ed[0],em=ed.reduce((Y,en)=>{let ei=eD(et,en,eo);return Y.top=ew(ei.top,Y.top),Y.right=ek(ei.right,Y.right),Y.bottom=ek(ei.bottom,Y.bottom),Y.left=ew(ei.left,Y.left),Y},eD(et,eh,eo));return{width:em.right-em.left,height:em.bottom-em.top,x:em.left,y:em.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(Y){let{rect:et,offsetParent:en,strategy:ei}=Y,eo=ed(en),ea=ej(en);if(en===ea)return et;let eu={scrollLeft:0,scrollTop:0},ef={x:1,y:1},eh={x:0,y:0};if((eo||!eo&&"fixed"!==ei)&&(("body"!==ec(en)||ep(ea))&&(eu=eO(en)),ed(en))){let Y=eP(en);ef=eS(en),eh.x=Y.x+en.clientLeft,eh.y=Y.y+en.clientTop}return{width:et.width*ef.x,height:et.height*ef.y,x:et.x*ef.x-eu.scrollLeft*ef.x+eh.x,y:et.y*ef.y-eu.scrollTop*ef.y+eh.y}},isElement:ef,getDimensions:function(Y){return eE(Y)},getOffsetParent:ez,getDocumentElement:ej,getScale:eS,async getElementRects(Y){let{reference:et,floating:en,strategy:ei}=Y,eo=this.getOffsetParent||ez,ea=this.getDimensions;return{reference:eU(et,await eo(en),ei),floating:{x:0,y:0,...await ea(en)}}},getClientRects:Y=>Array.from(Y.getClientRects()),isRTL:Y=>"rtl"===ea(Y).direction};function eG(Y,et,en,ei){void 0===ei&&(ei={});let{ancestorScroll:eo=!0,ancestorResize:ea=!0,elementResize:eu=!0,animationFrame:ec=!1}=ei,ed=eo||ea?[...ef(Y)?eR(Y):Y.contextElement?eR(Y.contextElement):[],...eR(et)]:[];ed.forEach(Y=>{let et=!ef(Y)&&Y.toString().includes("V");eo&&(!ec||et)&&Y.addEventListener("scroll",en,{passive:!0}),ea&&Y.addEventListener("resize",en)});let eh,ep=null;eu&&(ep=new ResizeObserver(()=>{en()}),ef(Y)&&!ec&&ep.observe(Y),ef(Y)||!Y.contextElement||ec||ep.observe(Y.contextElement),ep.observe(et));let em=ec?eP(Y):null;return ec&&function et(){let ei=eP(Y);em&&(ei.x!==em.x||ei.y!==em.y||ei.width!==em.width||ei.height!==em.height)&&en(),em=ei,eh=requestAnimationFrame(et)}(),en(),()=>{var Y;ed.forEach(Y=>{eo&&Y.removeEventListener("scroll",en),ea&&Y.removeEventListener("resize",en)}),null==(Y=ep)||Y.disconnect(),ep=null,ec&&cancelAnimationFrame(eh)}}let eV=(Y,et,en)=>{let eo=new Map,ea={platform:eH,...en},eu={...ea.platform,_c:eo};return(0,ei.oo)(Y,et,{...ea,platform:eu})}},72555:function(Y,et,en){"use strict";en.d(et,{V:function(){return tO}});var ei,eo,ea,eu,ec=en(70079),ed=en(78983),ef=en(4911),eh=en(14699),ep=en(86499),em=en(28595),eg=en(58194),ey=en(28203),eb=en(98992),ek=en(29787),ew=en(17575),e_=en(70794),eE=en(26577),eC=en(46789),eT=en(48442),eS=en(84575);function eA(Y,et){let en=(0,ec.useRef)([]),ei=(0,ew.z)(Y);(0,ec.useEffect)(()=>{let Y=[...en.current];for(let[eo,ea]of et.entries())if(en.current[eo]!==ea){let eo=ei(et,Y);return en.current=et,eo}},[ei,...et])}let eM="div";var eP=((ei=eP||{})[ei.None=1]="None",ei[ei.InitialFocus=2]="InitialFocus",ei[ei.TabLock=4]="TabLock",ei[ei.FocusLock=8]="FocusLock",ei[ei.RestoreFocus=16]="RestoreFocus",ei[ei.All=30]="All",ei);let ej=Object.assign((0,ef.yV)(function(Y,et){let en=(0,ec.useRef)(null),ei=(0,eh.T)(en,et),{initialFocus:eo,containers:ea,features:eu=30,...ep}=Y;(0,ey.H)()||(eu=1);let em=(0,eC.i)(en);eO({ownerDocument:em},!!(16&eu));let eg=eI({ownerDocument:em,container:en,initialFocus:eo},!!(2&eu));eN({ownerDocument:em,container:en,containers:ea,previousActiveElement:eg},!!(8&eu));let eE=(0,e_.l)(),eT=(0,ew.z)(()=>{let Y=en.current;Y&&(0,ed.E)(eE.current,{[e_.N.Forwards]:()=>(0,ek.jA)(Y,ek.TO.First),[e_.N.Backwards]:()=>(0,ek.jA)(Y,ek.TO.Last)})}),eS={ref:ei};return ec.createElement(ec.Fragment,null,!!(4&eu)&&ec.createElement(eb._,{as:"button",type:"button",onFocus:eT,features:eb.A.Focusable}),(0,ef.sY)({ourProps:eS,theirProps:ep,defaultTag:eM,name:"FocusTrap"}),!!(4&eu)&&ec.createElement(eb._,{as:"button",type:"button",onFocus:eT,features:eb.A.Focusable}))}),{features:eP});function eO({ownerDocument:Y},et){let en=(0,ec.useRef)(null);(0,eT.O)(null==Y?void 0:Y.defaultView,"focusout",Y=>{!et||en.current||(en.current=Y.target)},!0),eA(()=>{et||((null==Y?void 0:Y.activeElement)===(null==Y?void 0:Y.body)&&(0,ek.C5)(en.current),en.current=null)},[et]);let ei=(0,ec.useRef)(!1);(0,ec.useEffect)(()=>(ei.current=!1,()=>{ei.current=!0,(0,eS.Y)(()=>{ei.current&&((0,ek.C5)(en.current),en.current=null)})}),[])}function eI({ownerDocument:Y,container:et,initialFocus:en},ei){let eo=(0,ec.useRef)(null),ea=(0,eE.t)();return eA(()=>{if(!ei)return;let eu=et.current;eu&&(0,eS.Y)(()=>{if(!ea.current)return;let et=null==Y?void 0:Y.activeElement;if(null!=en&&en.current){if((null==en?void 0:en.current)===et){eo.current=et;return}}else if(eu.contains(et)){eo.current=et;return}null!=en&&en.current?(0,ek.C5)(en.current):(0,ek.jA)(eu,ek.TO.First)===ek.fE.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),eo.current=null==Y?void 0:Y.activeElement})},[ei]),eo}function eN({ownerDocument:Y,container:et,containers:en,previousActiveElement:ei},eo){let ea=(0,eE.t)();(0,eT.O)(null==Y?void 0:Y.defaultView,"focus",Y=>{if(!eo||!ea.current)return;let eu=new Set(null==en?void 0:en.current);eu.add(et);let ec=ei.current;if(!ec)return;let ed=Y.target;ed&&ed instanceof HTMLElement?eL(eu,ed)?(ei.current=ed,(0,ek.C5)(ed)):(Y.preventDefault(),Y.stopPropagation(),(0,ek.C5)(ec)):(0,ek.C5)(ei.current)},!0)}function eL(Y,et){var en;for(let ei of Y)if(null!=(en=ei.current)&&en.contains(et))return!0;return!1}var eR=en(52327),eD=en(98044);let eF=new Set,eB=new Map;function ez(Y){Y.setAttribute("aria-hidden","true"),Y.inert=!0}function eU(Y){let et=eB.get(Y);et&&(null===et["aria-hidden"]?Y.removeAttribute("aria-hidden"):Y.setAttribute("aria-hidden",et["aria-hidden"]),Y.inert=et.inert)}function eH(Y,et=!0){(0,eD.e)(()=>{if(!et||!Y.current)return;let en=Y.current,ei=(0,eR.r)(en);if(ei){for(let Y of(eF.add(en),eB.keys()))Y.contains(en)&&(eU(Y),eB.delete(Y));return ei.querySelectorAll("body > *").forEach(Y=>{if(Y instanceof HTMLElement){for(let et of eF)if(Y.contains(et))return;1===eF.size&&(eB.set(Y,{"aria-hidden":Y.getAttribute("aria-hidden"),inert:Y.inert}),ez(Y))}}),()=>{if(eF.delete(en),eF.size>0)ei.querySelectorAll("body > *").forEach(Y=>{if(Y instanceof HTMLElement&&!eB.has(Y)){for(let et of eF)if(Y.contains(et))return;eB.set(Y,{"aria-hidden":Y.getAttribute("aria-hidden"),inert:Y.inert}),ez(Y)}});else for(let Y of eB.keys())eU(Y),eB.delete(Y)}}},[et])}var eG=en(99581);let eV=(0,ec.createContext)(!1);function eW(){return(0,ec.useContext)(eV)}function eZ(Y){return ec.createElement(eV.Provider,{value:Y.force},Y.children)}var eK=en(34926);function e$(Y){let et=eW(),en=(0,ec.useContext)(eJ),ei=(0,eC.i)(Y),[eo,ea]=(0,ec.useState)(()=>{if(!et&&null!==en||eK.s)return null;let Y=null==ei?void 0:ei.getElementById("headlessui-portal-root");if(Y)return Y;if(null===ei)return null;let eo=ei.createElement("div");return eo.setAttribute("id","headlessui-portal-root"),ei.body.appendChild(eo)});return(0,ec.useEffect)(()=>{null!==eo&&(null!=ei&&ei.body.contains(eo)||null==ei||ei.body.appendChild(eo))},[eo,ei]),(0,ec.useEffect)(()=>{et||null!==en&&ea(en.current)},[en,ea,et]),eo}let eY=ec.Fragment,eQ=(0,ef.yV)(function(Y,et){let en=Y,ei=(0,ec.useRef)(null),eo=(0,eh.T)((0,eh.h)(Y=>{ei.current=Y}),et),ea=(0,eC.i)(ei),eu=e$(ei),[ed]=(0,ec.useState)(()=>{var Y;return eK.s?null:null!=(Y=null==ea?void 0:ea.createElement("div"))?Y:null}),ep=(0,ey.H)(),em=(0,ec.useRef)(!1);return(0,eD.e)(()=>{if(em.current=!1,!(!eu||!ed))return eu.contains(ed)||(ed.setAttribute("data-headlessui-portal",""),eu.appendChild(ed)),()=>{em.current=!0,(0,eS.Y)(()=>{var Y;em.current&&eu&&ed&&(eu.removeChild(ed),eu.childNodes.length<=0&&(null==(Y=eu.parentElement)||Y.removeChild(eu)))})}},[eu,ed]),ep&&eu&&ed?(0,eG.createPortal)((0,ef.sY)({ourProps:{ref:eo},theirProps:en,defaultTag:eY,name:"Portal"}),ed):null}),eX=ec.Fragment,eJ=(0,ec.createContext)(null),e0=Object.assign(eQ,{Group:(0,ef.yV)(function(Y,et){let{target:en,...ei}=Y,eo={ref:(0,eh.T)(et)};return ec.createElement(eJ.Provider,{value:en},(0,ef.sY)({ourProps:eo,theirProps:ei,defaultTag:eX,name:"Popover.Group"}))})}),e9=(0,ec.createContext)(null);function e5(){let Y=(0,ec.useContext)(e9);if(null===Y){let Y=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(Y,e5),Y}return Y}function e4(){let[Y,et]=(0,ec.useState)([]);return[Y.length>0?Y.join(" "):void 0,(0,ec.useMemo)(()=>function(Y){let en=(0,ew.z)(Y=>(et(et=>[...et,Y]),()=>et(et=>{let en=et.slice(),ei=en.indexOf(Y);return -1!==ei&&en.splice(ei,1),en}))),ei=(0,ec.useMemo)(()=>({register:en,slot:Y.slot,name:Y.name,props:Y.props}),[en,Y.slot,Y.name,Y.props]);return ec.createElement(e9.Provider,{value:ei},Y.children)},[et])]}let e3="p",e6=(0,ef.yV)(function(Y,et){let en=e5(),ei=`headlessui-description-${(0,eg.M)()}`,eo=(0,eh.T)(et);(0,eD.e)(()=>en.register(ei),[ei,en.register]);let ea=Y,eu={ref:eo,...en.props,id:ei};return(0,ef.sY)({ourProps:eu,theirProps:ea,slot:en.slot||{},defaultTag:e3,name:en.name||"Description"})});var e7=en(37068);let e8=(0,ec.createContext)(()=>{});e8.displayName="StackContext";var tt=((eo=tt||{})[eo.Add=0]="Add",eo[eo.Remove=1]="Remove",eo);function ta(){return(0,ec.useContext)(e8)}function tu({children:Y,onUpdate:et,type:en,element:ei,enabled:eo}){let ea=ta(),eu=(0,ew.z)((...Y)=>{null==et||et(...Y),ea(...Y)});return(0,eD.e)(()=>{let Y=void 0===eo||!0===eo;return Y&&eu(0,en,ei),()=>{Y&&eu(1,en,ei)}},[eu,en,ei,eo]),ec.createElement(e8.Provider,{value:eu},Y)}var tc=en(53315),td=en(32552);function tf(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}var th=((ea=th||{})[ea.Open=0]="Open",ea[ea.Closed=1]="Closed",ea),tp=((eu=tp||{})[eu.SetTitleId=0]="SetTitleId",eu);let tm={0:(Y,et)=>Y.titleId===et.id?Y:{...Y,titleId:et.id}},tg=(0,ec.createContext)(null);function tv(Y){let et=(0,ec.useContext)(tg);if(null===et){let et=Error(`<${Y} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(et,tv),et}return et}function tb(Y,et){(0,ec.useEffect)(()=>{var en;if(!et||!Y)return;let ei=(0,td.k)();function eo(Y,et,en){let eo=Y.style.getPropertyValue(et);return Object.assign(Y.style,{[et]:en}),ei.add(()=>{Object.assign(Y.style,{[et]:eo})})}let ea=Y.documentElement,eu=(null!=(en=Y.defaultView)?en:window).innerWidth-ea.clientWidth;if(eo(ea,"overflow","hidden"),eu>0){let Y=eu-(ea.clientWidth-ea.offsetWidth);eo(ea,"paddingRight",`${Y}px`)}if(tf()){let Y=window.pageYOffset;eo(ea,"position","fixed"),eo(ea,"marginTop",`-${Y}px`),eo(ea,"width","100%"),ei.add(()=>window.scrollTo(0,Y))}return ei.dispose},[Y,et])}function tk(Y,et){return(0,ed.E)(et.type,tm,Y,et)}tg.displayName="DialogContext";let tw="div",t_=ef.AN.RenderStrategy|ef.AN.Static,tE=(0,ef.yV)(function(Y,et){let{open:en,onClose:ei,initialFocus:eo,__demoMode:ea=!1,...eu}=Y,[em,ek]=(0,ec.useState)(0),e_=(0,e7.oJ)();void 0===en&&null!==e_&&(en=(0,ed.E)(e_,{[e7.ZM.Open]:!0,[e7.ZM.Closed]:!1}));let eE=(0,ec.useRef)(new Set),eS=(0,ec.useRef)(null),eA=(0,eh.T)(eS,et),eM=(0,ec.useRef)(null),eP=(0,eC.i)(eS),eO=Y.hasOwnProperty("open")||null!==e_,eI=Y.hasOwnProperty("onClose");if(!eO&&!eI)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!eO)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!eI)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof en)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${en}`);if("function"!=typeof ei)throw Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${ei}`);let eN=en?0:1,[eL,eR]=(0,ec.useReducer)(tk,{titleId:null,descriptionId:null,panelRef:(0,ec.createRef)()}),eD=(0,ew.z)(()=>ei(!1)),eF=(0,ew.z)(Y=>eR({type:0,id:Y})),eB=!!(0,ey.H)()&&!ea&&0===eN,ez=em>1,eU=null!==(0,ec.useContext)(tg),eG=ez?"parent":"leaf";eH(eS,!!ez&&eB),(0,tc.O)(()=>{var Y,et;return[...Array.from(null!=(Y=null==eP?void 0:eP.querySelectorAll("body > *, [data-headlessui-portal]"))?Y:[]).filter(Y=>!(!(Y instanceof HTMLElement)||Y.contains(eM.current)||eL.panelRef.current&&Y.contains(eL.panelRef.current))),null!=(et=eL.panelRef.current)?et:eS.current]},eD,eB&&!ez),(0,eT.O)(null==eP?void 0:eP.defaultView,"keydown",Y=>{Y.defaultPrevented||Y.key===ep.R.Escape&&0===eN&&(ez||(Y.preventDefault(),Y.stopPropagation(),eD()))}),tb(eP,0===eN&&!eU),(0,ec.useEffect)(()=>{if(0!==eN||!eS.current)return;let Y=new IntersectionObserver(Y=>{for(let et of Y)0===et.boundingClientRect.x&&0===et.boundingClientRect.y&&0===et.boundingClientRect.width&&0===et.boundingClientRect.height&&eD()});return Y.observe(eS.current),()=>Y.disconnect()},[eN,eS,eD]);let[eV,eW]=e4(),eK=`headlessui-dialog-${(0,eg.M)()}`,e$=(0,ec.useMemo)(()=>[{dialogState:eN,close:eD,setTitleId:eF},eL],[eN,eL,eD,eF]),eY=(0,ec.useMemo)(()=>({open:0===eN}),[eN]),eQ={ref:eA,id:eK,role:"dialog","aria-modal":0===eN||void 0,"aria-labelledby":eL.titleId,"aria-describedby":eV};return ec.createElement(tu,{type:"Dialog",enabled:0===eN,element:eS,onUpdate:(0,ew.z)((Y,et,en)=>{"Dialog"===et&&(0,ed.E)(Y,{[tt.Add](){eE.current.add(en),ek(Y=>Y+1)},[tt.Remove](){eE.current.add(en),ek(Y=>Y-1)}})})},ec.createElement(eZ,{force:!0},ec.createElement(e0,null,ec.createElement(tg.Provider,{value:e$},ec.createElement(e0.Group,{target:eS},ec.createElement(eZ,{force:!1},ec.createElement(eW,{slot:eY,name:"Dialog.Description"},ec.createElement(ej,{initialFocus:eo,containers:eE,features:eB?(0,ed.E)(eG,{parent:ej.features.RestoreFocus,leaf:ej.features.All&~ej.features.FocusLock}):ej.features.None},(0,ef.sY)({ourProps:eQ,theirProps:eu,slot:eY,defaultTag:tw,features:t_,visible:0===eN,name:"Dialog"})))))))),ec.createElement(eb._,{features:eb.A.Hidden,ref:eM}))}),tC="div",tT=(0,ef.yV)(function(Y,et){let[{dialogState:en,close:ei}]=tv("Dialog.Overlay"),eo=(0,eh.T)(et),ea=`headlessui-dialog-overlay-${(0,eg.M)()}`,eu=(0,ew.z)(Y=>{if(Y.target===Y.currentTarget){if((0,em.P)(Y.currentTarget))return Y.preventDefault();Y.preventDefault(),Y.stopPropagation(),ei()}}),ed=(0,ec.useMemo)(()=>({open:0===en}),[en]);return(0,ef.sY)({ourProps:{ref:eo,id:ea,"aria-hidden":!0,onClick:eu},theirProps:Y,slot:ed,defaultTag:tC,name:"Dialog.Overlay"})}),tS="div",tA=(0,ef.yV)(function(Y,et){let[{dialogState:en},ei]=tv("Dialog.Backdrop"),eo=(0,eh.T)(et),ea=`headlessui-dialog-backdrop-${(0,eg.M)()}`;(0,ec.useEffect)(()=>{if(null===ei.panelRef.current)throw Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[ei.panelRef]);let eu=(0,ec.useMemo)(()=>({open:0===en}),[en]);return ec.createElement(eZ,{force:!0},ec.createElement(e0,null,(0,ef.sY)({ourProps:{ref:eo,id:ea,"aria-hidden":!0},theirProps:Y,slot:eu,defaultTag:tS,name:"Dialog.Backdrop"})))}),tM="div",tP=(0,ef.yV)(function(Y,et){let[{dialogState:en},ei]=tv("Dialog.Panel"),eo=(0,eh.T)(et,ei.panelRef),ea=`headlessui-dialog-panel-${(0,eg.M)()}`,eu=(0,ec.useMemo)(()=>({open:0===en}),[en]),ed=(0,ew.z)(Y=>{Y.stopPropagation()});return(0,ef.sY)({ourProps:{ref:eo,id:ea,onClick:ed},theirProps:Y,slot:eu,defaultTag:tM,name:"Dialog.Panel"})}),tj="h2",tO=Object.assign(tE,{Backdrop:tA,Panel:tP,Overlay:tT,Title:(0,ef.yV)(function(Y,et){let[{dialogState:en,setTitleId:ei}]=tv("Dialog.Title"),eo=`headlessui-dialog-title-${(0,eg.M)()}`,ea=(0,eh.T)(et);(0,ec.useEffect)(()=>(ei(eo),()=>ei(null)),[eo,ei]);let eu=(0,ec.useMemo)(()=>({open:0===en}),[en]);return(0,ef.sY)({ourProps:{ref:ea,id:eo},theirProps:Y,slot:eu,defaultTag:tj,name:"Dialog.Title"})}),Description:e6})},86499:function(Y,et,en){"use strict";en.d(et,{R:function(){return eo}});var ei,eo=((ei=eo||{}).Space=" ",ei.Enter="Enter",ei.Escape="Escape",ei.Backspace="Backspace",ei.Delete="Delete",ei.ArrowLeft="ArrowLeft",ei.ArrowUp="ArrowUp",ei.ArrowRight="ArrowRight",ei.ArrowDown="ArrowDown",ei.Home="Home",ei.End="End",ei.PageUp="PageUp",ei.PageDown="PageDown",ei.Tab="Tab",ei)},98359:function(Y,et,en){"use strict";en.d(et,{u:function(){return eZ}});var ei,eo,ea=en(70079),eu=en(4911),ec=en(37068),ed=en(78983),ef=en(26577),eh=en(98044),ep=en(81303),em=en(28203),eg=en(14699);function ey(Y){let et={called:!1};return(...en)=>{if(!et.called)return et.called=!0,Y(...en)}}var eb=en(32552);function ek(Y,...et){Y&&et.length>0&&Y.classList.add(...et)}function ew(Y,...et){Y&&et.length>0&&Y.classList.remove(...et)}var e_=((ei=e_||{}).Ended="ended",ei.Cancelled="cancelled",ei);function eE(Y,et){let en=(0,eb.k)();if(!Y)return en.dispose;let{transitionDuration:ei,transitionDelay:eo}=getComputedStyle(Y),[ea,eu]=[ei,eo].map(Y=>{let[et=0]=Y.split(",").filter(Boolean).map(Y=>Y.includes("ms")?parseFloat(Y):1e3*parseFloat(Y)).sort((Y,et)=>et-Y);return et});if(ea+eu!==0){let ei=[];ei.push(en.addEventListener(Y,"transitionrun",eo=>{eo.target===eo.currentTarget&&(ei.splice(0).forEach(Y=>Y()),ei.push(en.addEventListener(Y,"transitionend",Y=>{Y.target===Y.currentTarget&&(et("ended"),ei.splice(0).forEach(Y=>Y()))}),en.addEventListener(Y,"transitioncancel",Y=>{Y.target===Y.currentTarget&&(et("cancelled"),ei.splice(0).forEach(Y=>Y()))})))}))}else et("ended");return en.add(()=>et("cancelled")),en.dispose}function eC(Y,et,en,ei){let eo=en?"enter":"leave",ea=(0,eb.k)(),eu=void 0!==ei?ey(ei):()=>{};"enter"===eo&&(Y.removeAttribute("hidden"),Y.style.display="");let ec=(0,ed.E)(eo,{enter:()=>et.enter,leave:()=>et.leave}),ef=(0,ed.E)(eo,{enter:()=>et.enterTo,leave:()=>et.leaveTo}),eh=(0,ed.E)(eo,{enter:()=>et.enterFrom,leave:()=>et.leaveFrom});return ew(Y,...et.enter,...et.enterTo,...et.enterFrom,...et.leave,...et.leaveFrom,...et.leaveTo,...et.entered),ek(Y,...ec,...eh),ea.nextFrame(()=>{ew(Y,...eh),ek(Y,...ef),eE(Y,en=>("ended"===en&&(ew(Y,...ec),ek(Y,...et.entered)),eu(en)))}),ea.dispose}var eT=en(61296);function eS({container:Y,direction:et,classes:en,onStart:ei,onStop:eo}){let ea=(0,ef.t)(),eu=(0,eT.G)(),ec=(0,ep.E)(et);(0,eh.e)(()=>{let et=(0,eb.k)();eu.add(et.dispose);let ef=Y.current;if(ef&&"idle"!==ec.current&&ea.current)return et.dispose(),ei.current(ec.current),et.add(eC(ef,en.current,"enter"===ec.current,Y=>{et.dispose(),(0,ed.E)(Y,{[e_.Ended](){eo.current(ec.current)},[e_.Cancelled]:()=>{}})})),et.dispose},[et])}var eA=en(17575);function eM(Y=""){return Y.split(" ").filter(Y=>Y.trim().length>1)}let eP=(0,ea.createContext)(null);eP.displayName="TransitionContext";var ej=((eo=ej||{}).Visible="visible",eo.Hidden="hidden",eo);function eO(){let Y=(0,ea.useContext)(eP);if(null===Y)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return Y}function eI(){let Y=(0,ea.useContext)(eN);if(null===Y)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return Y}let eN=(0,ea.createContext)(null);function eL(Y){return"children"in Y?eL(Y.children):Y.current.filter(({el:Y})=>null!==Y.current).filter(({state:Y})=>"visible"===Y).length>0}function eR(Y,et){let en=(0,ep.E)(Y),ei=(0,ea.useRef)([]),eo=(0,ef.t)(),ec=(0,eT.G)(),eh=(0,eA.z)((Y,et=eu.l4.Hidden)=>{let ea=ei.current.findIndex(({el:et})=>et===Y);-1!==ea&&((0,ed.E)(et,{[eu.l4.Unmount](){ei.current.splice(ea,1)},[eu.l4.Hidden](){ei.current[ea].state="hidden"}}),ec.microTask(()=>{var Y;!eL(ei)&&eo.current&&(null==(Y=en.current)||Y.call(en))}))}),em=(0,eA.z)(Y=>{let et=ei.current.find(({el:et})=>et===Y);return et?"visible"!==et.state&&(et.state="visible"):ei.current.push({el:Y,state:"visible"}),()=>eh(Y,eu.l4.Unmount)}),eg=(0,ea.useRef)([]),ey=(0,ea.useRef)(Promise.resolve()),eb=(0,ea.useRef)({enter:[],leave:[],idle:[]}),ek=(0,eA.z)((Y,en,ei)=>{eg.current.splice(0),et&&(et.chains.current[en]=et.chains.current[en].filter(([et])=>et!==Y)),null==et||et.chains.current[en].push([Y,new Promise(Y=>{eg.current.push(Y)})]),null==et||et.chains.current[en].push([Y,new Promise(Y=>{Promise.all(eb.current[en].map(([Y,et])=>et)).then(()=>Y())})]),"enter"===en?ey.current=ey.current.then(()=>null==et?void 0:et.wait.current).then(()=>ei(en)):ei(en)}),ew=(0,eA.z)((Y,et,en)=>{Promise.all(eb.current[et].splice(0).map(([Y,et])=>et)).then(()=>{var Y;null==(Y=eg.current.shift())||Y()}).then(()=>en(et))});return(0,ea.useMemo)(()=>({children:ei,register:em,unregister:eh,onStart:ek,onStop:ew,wait:ey,chains:eb}),[em,eh,ei,ek,ew,eb,ey])}function eD(){}eN.displayName="NestingContext";let eF=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function eB(Y){var et;let en={};for(let ei of eF)en[ei]=null!=(et=Y[ei])?et:eD;return en}function ez(Y){let et=(0,ea.useRef)(eB(Y));return(0,ea.useEffect)(()=>{et.current=eB(Y)},[Y]),et}let eU="div",eH=eu.AN.RenderStrategy,eG=(0,eu.yV)(function(Y,et){let{beforeEnter:en,afterEnter:ei,beforeLeave:eo,afterLeave:ef,enter:eh,enterFrom:ey,enterTo:eb,entered:ek,leave:ew,leaveFrom:e_,leaveTo:eE,...eC}=Y,eT=(0,ea.useRef)(null),eP=(0,eg.T)(eT,et),ej=eC.unmount?eu.l4.Unmount:eu.l4.Hidden,{show:eD,appear:eF,initial:eB}=eO(),[eG,eV]=(0,ea.useState)(eD?"visible":"hidden"),eW=eI(),{register:eZ,unregister:eK}=eW,e$=(0,ea.useRef)(null);(0,ea.useEffect)(()=>eZ(eT),[eZ,eT]),(0,ea.useEffect)(()=>{if(ej===eu.l4.Hidden&&eT.current){if(eD&&"visible"!==eG){eV("visible");return}return(0,ed.E)(eG,{hidden:()=>eK(eT),visible:()=>eZ(eT)})}},[eG,eT,eZ,eK,eD,ej]);let eY=(0,ep.E)({enter:eM(eh),enterFrom:eM(ey),enterTo:eM(eb),entered:eM(ek),leave:eM(ew),leaveFrom:eM(e_),leaveTo:eM(eE)}),eQ=ez({beforeEnter:en,afterEnter:ei,beforeLeave:eo,afterLeave:ef}),eX=(0,em.H)();(0,ea.useEffect)(()=>{if(eX&&"visible"===eG&&null===eT.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[eT,eG,eX]);let eJ=eB&&!eF,e0=!eX||eJ||e$.current===eD?"idle":eD?"enter":"leave",e9=(0,eA.z)(Y=>(0,ed.E)(Y,{enter:()=>eQ.current.beforeEnter(),leave:()=>eQ.current.beforeLeave(),idle:()=>{}})),e5=(0,eA.z)(Y=>(0,ed.E)(Y,{enter:()=>eQ.current.afterEnter(),leave:()=>eQ.current.afterLeave(),idle:()=>{}})),e4=eR(()=>{eV("hidden"),eK(eT)},eW);eS({container:eT,classes:eY,direction:e0,onStart:(0,ep.E)(Y=>{e4.onStart(eT,Y,e9)}),onStop:(0,ep.E)(Y=>{e4.onStop(eT,Y,e5),"leave"!==Y||eL(e4)||(eV("hidden"),eK(eT))})}),(0,ea.useEffect)(()=>{eJ&&(ej===eu.l4.Hidden?e$.current=null:e$.current=eD)},[eD,eJ,eG]);let e3=eC,e6={ref:eP};return ea.createElement(eN.Provider,{value:e4},ea.createElement(ec.up,{value:(0,ed.E)(eG,{visible:ec.ZM.Open,hidden:ec.ZM.Closed})},(0,eu.sY)({ourProps:e6,theirProps:e3,defaultTag:eU,features:eH,visible:"visible"===eG,name:"Transition.Child"})))}),eV=(0,eu.yV)(function(Y,et){let{show:en,appear:ei=!1,unmount:eo,...ef}=Y,ep=(0,ea.useRef)(null),ey=(0,eg.T)(ep,et);(0,em.H)();let eb=(0,ec.oJ)();if(void 0===en&&null!==eb&&(en=(0,ed.E)(eb,{[ec.ZM.Open]:!0,[ec.ZM.Closed]:!1})),![!0,!1].includes(en))throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[ek,ew]=(0,ea.useState)(en?"visible":"hidden"),e_=eR(()=>{ew("hidden")}),[eE,eC]=(0,ea.useState)(!0),eT=(0,ea.useRef)([en]);(0,eh.e)(()=>{!1!==eE&&eT.current[eT.current.length-1]!==en&&(eT.current.push(en),eC(!1))},[eT,en]);let eS=(0,ea.useMemo)(()=>({show:en,appear:ei,initial:eE}),[en,ei,eE]);(0,ea.useEffect)(()=>{if(en)ew("visible");else if(eL(e_)){let Y=ep.current;if(!Y)return;let et=Y.getBoundingClientRect();0===et.x&&0===et.y&&0===et.width&&0===et.height&&ew("hidden")}else ew("hidden")},[en,e_]);let eA={unmount:eo};return ea.createElement(eN.Provider,{value:e_},ea.createElement(eP.Provider,{value:eS},(0,eu.sY)({ourProps:{...eA,as:ea.Fragment,children:ea.createElement(eG,{ref:ey,...eA,...ef})},theirProps:{},defaultTag:ea.Fragment,features:eH,visible:"visible"===ek,name:"Transition"})))}),eW=(0,eu.yV)(function(Y,et){let en=null!==(0,ea.useContext)(eP),ei=null!==(0,ec.oJ)();return ea.createElement(ea.Fragment,null,!en&&ei?ea.createElement(eV,{ref:et,...Y}):ea.createElement(eG,{ref:et,...Y}))}),eZ=Object.assign(eV,{Child:eW,Root:eV})},61296:function(Y,et,en){"use strict";en.d(et,{G:function(){return ea}});var ei=en(70079),eo=en(32552);function ea(){let[Y]=(0,ei.useState)(eo.k);return(0,ei.useEffect)(()=>()=>Y.dispose(),[Y]),Y}},48442:function(Y,et,en){"use strict";en.d(et,{O:function(){return ea}});var ei=en(70079),eo=en(81303);function ea(Y,et,en,ea){let eu=(0,eo.E)(en);(0,ei.useEffect)(()=>{function en(Y){eu.current(Y)}return(Y=null!=Y?Y:window).addEventListener(et,en,ea),()=>Y.removeEventListener(et,en,ea)},[Y,et,ea])}},17575:function(Y,et,en){"use strict";en.d(et,{z:function(){return ea}});var ei=en(70079),eo=en(81303);let ea=function(Y){let et=(0,eo.E)(Y);return ei.useCallback((...Y)=>et.current(...Y),[et])}},58194:function(Y,et,en){"use strict";en.d(et,{M:function(){return ef}});var ei,eo=en(70079),ea=en(98044),eu=en(28203);let ec=0;function ed(){return++ec}let ef=null!=(ei=eo.useId)?ei:function(){let Y=(0,eu.H)(),[et,en]=eo.useState(Y?ed:null);return(0,ea.e)(()=>{null===et&&en(ed())},[et]),null!=et?""+et:void 0}},26577:function(Y,et,en){"use strict";en.d(et,{t:function(){return ea}});var ei=en(70079),eo=en(98044);function ea(){let Y=(0,ei.useRef)(!1);return(0,eo.e)(()=>(Y.current=!0,()=>{Y.current=!1}),[]),Y}},98044:function(Y,et,en){"use strict";en.d(et,{e:function(){return eo}});var ei=en(70079);let eo=en(34926).s?ei.useEffect:ei.useLayoutEffect},81303:function(Y,et,en){"use strict";en.d(et,{E:function(){return ea}});var ei=en(70079),eo=en(98044);function ea(Y){let et=(0,ei.useRef)(Y);return(0,eo.e)(()=>{et.current=Y},[Y]),et}},53315:function(Y,et,en){"use strict";en.d(et,{O:function(){return ec}});var ei=en(70079),eo=en(29787),ea=en(81303);function eu(Y,et,en){let eo=(0,ea.E)(et);(0,ei.useEffect)(()=>{function et(Y){eo.current(Y)}return document.addEventListener(Y,et,en),()=>document.removeEventListener(Y,et,en)},[Y,en])}function ec(Y,et,en=!0){let ea=(0,ei.useRef)(!1);function ec(en,ei){if(!ea.current||en.defaultPrevented)return;let eu=function Y(et){return"function"==typeof et?Y(et()):Array.isArray(et)||et instanceof Set?et:[et]}(Y),ec=ei(en);if(null!==ec&&ec.ownerDocument.documentElement.contains(ec)){for(let Y of eu){if(null===Y)continue;let et=Y instanceof HTMLElement?Y:Y.current;if(null!=et&&et.contains(ec))return}return(0,eo.sP)(ec,eo.tJ.Loose)||-1===ec.tabIndex||en.preventDefault(),et(en,ec)}}(0,ei.useEffect)(()=>{requestAnimationFrame(()=>{ea.current=en})},[en]);let ed=(0,ei.useRef)(null);eu("mousedown",Y=>{ea.current&&(ed.current=Y.target)},!0),eu("click",Y=>{ed.current&&(ec(Y,()=>ed.current),ed.current=null)},!0),eu("blur",Y=>ec(Y,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},46789:function(Y,et,en){"use strict";en.d(et,{i:function(){return ea}});var ei=en(70079),eo=en(52327);function ea(...Y){return(0,ei.useMemo)(()=>(0,eo.r)(...Y),[...Y])}},28203:function(Y,et,en){"use strict";en.d(et,{H:function(){return ea}});var ei=en(70079);let eo={serverHandoffComplete:!1};function ea(){let[Y,et]=(0,ei.useState)(eo.serverHandoffComplete);return(0,ei.useEffect)(()=>{!0!==Y&&et(!0)},[Y]),(0,ei.useEffect)(()=>{!1===eo.serverHandoffComplete&&(eo.serverHandoffComplete=!0)},[]),Y}},14699:function(Y,et,en){"use strict";en.d(et,{T:function(){return ec},h:function(){return eu}});var ei=en(70079),eo=en(17575);let ea=Symbol();function eu(Y,et=!0){return Object.assign(Y,{[ea]:et})}function ec(...Y){let et=(0,ei.useRef)(Y);(0,ei.useEffect)(()=>{et.current=Y},[Y]);let en=(0,eo.z)(Y=>{for(let en of et.current)null!=en&&("function"==typeof en?en(Y):en.current=Y)});return Y.every(Y=>null==Y||(null==Y?void 0:Y[ea]))?void 0:en}},70794:function(Y,et,en){"use strict";en.d(et,{N:function(){return ec},l:function(){return ed}});var ei,eo=en(70079),ea=en(81303);function eu(Y,et,en){let ei=(0,ea.E)(et);(0,eo.useEffect)(()=>{function et(Y){ei.current(Y)}return window.addEventListener(Y,et,en),()=>window.removeEventListener(Y,et,en)},[Y,en])}var ec=((ei=ec||{})[ei.Forwards=0]="Forwards",ei[ei.Backwards=1]="Backwards",ei);function ed(){let Y=(0,eo.useRef)(0);return eu("keydown",et=>{"Tab"===et.key&&(Y.current=et.shiftKey?1:0)},!0),Y}},98992:function(Y,et,en){"use strict";en.d(et,{A:function(){return eu},_:function(){return ec}});var ei,eo=en(4911);let ea="div";var eu=((ei=eu||{})[ei.None=1]="None",ei[ei.Focusable=2]="Focusable",ei[ei.Hidden=4]="Hidden",ei);let ec=(0,eo.yV)(function(Y,et){let{features:en=1,...ei}=Y,eu={ref:et,"aria-hidden":(2&en)==2||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&en)==4&&(2&en)!=2&&{display:"none"}}};return(0,eo.sY)({ourProps:eu,theirProps:ei,slot:{},defaultTag:ea,name:"Hidden"})})},37068:function(Y,et,en){"use strict";en.d(et,{ZM:function(){return eu},oJ:function(){return ec},up:function(){return ed}});var ei,eo=en(70079);let ea=(0,eo.createContext)(null);ea.displayName="OpenClosedContext";var eu=((ei=eu||{})[ei.Open=0]="Open",ei[ei.Closed=1]="Closed",ei);function ec(){return(0,eo.useContext)(ea)}function ed({value:Y,children:et}){return eo.createElement(ea.Provider,{value:Y},et)}},28595:function(Y,et,en){"use strict";function ei(Y){let et=Y.parentElement,en=null;for(;et&&!(et instanceof HTMLFieldSetElement);)et instanceof HTMLLegendElement&&(en=et),et=et.parentElement;let ei=(null==et?void 0:et.getAttribute("disabled"))==="";return!(ei&&eo(en))&&ei}function eo(Y){if(!Y)return!1;let et=Y.previousElementSibling;for(;null!==et;){if(et instanceof HTMLLegendElement)return!1;et=et.previousElementSibling}return!0}en.d(et,{P:function(){return ei}})},32552:function(Y,et,en){"use strict";en.d(et,{k:function(){return eo}});var ei=en(84575);function eo(){let Y=[],et=[],en={enqueue(Y){et.push(Y)},addEventListener:(Y,et,ei,eo)=>(Y.addEventListener(et,ei,eo),en.add(()=>Y.removeEventListener(et,ei,eo))),requestAnimationFrame(...Y){let et=requestAnimationFrame(...Y);return en.add(()=>cancelAnimationFrame(et))},nextFrame:(...Y)=>en.requestAnimationFrame(()=>en.requestAnimationFrame(...Y)),setTimeout(...Y){let et=setTimeout(...Y);return en.add(()=>clearTimeout(et))},microTask(...Y){let et={current:!0};return(0,ei.Y)(()=>{et.current&&Y[0]()}),en.add(()=>{et.current=!1})},add:et=>(Y.push(et),()=>{let en=Y.indexOf(et);if(en>=0){let[et]=Y.splice(en,1);et()}}),dispose(){for(let et of Y.splice(0))et()},async workQueue(){for(let Y of et.splice(0))await Y()}};return en}},29787:function(Y,et,en){"use strict";en.d(et,{C5:function(){return e_},EO:function(){return eS},GO:function(){return ey},TO:function(){return ep},fE:function(){return em},jA:function(){return eA},sP:function(){return ek},tJ:function(){return eb},wI:function(){return ew},z2:function(){return eT}});var ei,eo,ea,eu,ec=en(32552),ed=en(78983),ef=en(52327);let eh=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(Y=>`${Y}:not([tabindex='-1'])`).join(",");var ep=((ei=ep||{})[ei.First=1]="First",ei[ei.Previous=2]="Previous",ei[ei.Next=4]="Next",ei[ei.Last=8]="Last",ei[ei.WrapAround=16]="WrapAround",ei[ei.NoScroll=32]="NoScroll",ei),em=((eo=em||{})[eo.Error=0]="Error",eo[eo.Overflow=1]="Overflow",eo[eo.Success=2]="Success",eo[eo.Underflow=3]="Underflow",eo),eg=((ea=eg||{})[ea.Previous=-1]="Previous",ea[ea.Next=1]="Next",ea);function ey(Y=document.body){return null==Y?[]:Array.from(Y.querySelectorAll(eh))}var eb=((eu=eb||{})[eu.Strict=0]="Strict",eu[eu.Loose=1]="Loose",eu);function ek(Y,et=0){var en;return Y!==(null==(en=(0,ef.r)(Y))?void 0:en.body)&&(0,ed.E)(et,{0:()=>Y.matches(eh),1(){let et=Y;for(;null!==et;){if(et.matches(eh))return!0;et=et.parentElement}return!1}})}function ew(Y){let et=(0,ef.r)(Y);(0,ec.k)().nextFrame(()=>{et&&!ek(et.activeElement,0)&&e_(Y)})}function e_(Y){null==Y||Y.focus({preventScroll:!0})}let eE="textarea,input";function eC(Y){var et,en;return null!=(en=null==(et=null==Y?void 0:Y.matches)?void 0:et.call(Y,eE))&&en}function eT(Y,et=Y=>Y){return Y.slice().sort((Y,en)=>{let ei=et(Y),eo=et(en);if(null===ei||null===eo)return 0;let ea=ei.compareDocumentPosition(eo);return ea&Node.DOCUMENT_POSITION_FOLLOWING?-1:ea&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function eS(Y,et){return eA(ey(),et,!0,Y)}function eA(Y,et,en=!0,ei=null){let eo=Array.isArray(Y)?Y.length>0?Y[0].ownerDocument:document:Y.ownerDocument,ea=Array.isArray(Y)?en?eT(Y):Y:ey(Y);ei=null!=ei?ei:eo.activeElement;let eu=(()=>{if(5&et)return 1;if(10&et)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),ec=(()=>{if(1&et)return 0;if(2&et)return Math.max(0,ea.indexOf(ei))-1;if(4&et)return Math.max(0,ea.indexOf(ei))+1;if(8&et)return ea.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),ed=32&et?{preventScroll:!0}:{},ef=0,eh=ea.length,ep;do{if(ef>=eh||ef+eh<=0)return 0;let Y=ec+ef;if(16&et)Y=(Y+eh)%eh;else{if(Y<0)return 3;if(Y>=eh)return 1}null==(ep=ea[Y])||ep.focus(ed),ef+=eu}while(ep!==eo.activeElement);return 6&et&&eC(ep)&&ep.select(),ep.hasAttribute("tabindex")||ep.setAttribute("tabindex","0"),2}},78983:function(Y,et,en){"use strict";function ei(Y,et,...en){if(Y in et){let ei=et[Y];return"function"==typeof ei?ei(...en):ei}let eo=Error(`Tried to handle "${Y}" but there is no handler defined. Only defined handlers are: ${Object.keys(et).map(Y=>`"${Y}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(eo,ei),eo}en.d(et,{E:function(){return ei}})},84575:function(Y,et,en){"use strict";function ei(Y){"function"==typeof queueMicrotask?queueMicrotask(Y):Promise.resolve().then(Y).catch(Y=>setTimeout(()=>{throw Y}))}en.d(et,{Y:function(){return ei}})},52327:function(Y,et,en){"use strict";en.d(et,{r:function(){return eo}});var ei=en(34926);function eo(Y){return ei.s?null:Y instanceof Node?Y.ownerDocument:null!=Y&&Y.hasOwnProperty("current")&&Y.current instanceof Node?Y.current.ownerDocument:document}},4911:function(Y,et,en){"use strict";en.d(et,{AN:function(){return ec},l4:function(){return ed},oA:function(){return ey},sY:function(){return ef},yV:function(){return eg}});var ei,eo,ea=en(70079),eu=en(78983),ec=((ei=ec||{})[ei.None=0]="None",ei[ei.RenderStrategy=1]="RenderStrategy",ei[ei.Static=2]="Static",ei),ed=((eo=ed||{})[eo.Unmount=0]="Unmount",eo[eo.Hidden=1]="Hidden",eo);function ef({ourProps:Y,theirProps:et,slot:en,defaultTag:ei,features:eo,visible:ea=!0,name:ec}){let ed=em(et,Y);if(ea)return eh(ed,en,ei,ec);let ef=null!=eo?eo:0;if(2&ef){let{static:Y=!1,...et}=ed;if(Y)return eh(et,en,ei,ec)}if(1&ef){let{unmount:Y=!0,...et}=ed;return(0,eu.E)(Y?0:1,{0:()=>null,1:()=>eh({...et,hidden:!0,style:{display:"none"}},en,ei,ec)})}return eh(ed,en,ei,ec)}function eh(Y,et={},en,ei){let{as:eo=en,children:eu,refName:ec="ref",...ed}=eb(Y,["unmount","static"]),ef=void 0!==Y.ref?{[ec]:Y.ref}:{},eh="function"==typeof eu?eu(et):eu;ed.className&&"function"==typeof ed.className&&(ed.className=ed.className(et));let eg={};if(et){let Y=!1,en=[];for(let[ei,eo]of Object.entries(et))"boolean"==typeof eo&&(Y=!0),!0===eo&&en.push(ei);Y&&(eg["data-headlessui-state"]=en.join(" "))}if(eo===ea.Fragment&&Object.keys(ey(ed)).length>0){if(!(0,ea.isValidElement)(eh)||Array.isArray(eh)&&eh.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${ei} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(ed).map(Y=>` - ${Y}`).join(`
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(Y=>` - ${Y}`).join(`
`)].join(`
`));return(0,ea.cloneElement)(eh,Object.assign({},em(eh.props,ey(eb(ed,["ref"]))),eg,ef,ep(eh.ref,ef.ref)))}return(0,ea.createElement)(eo,Object.assign({},eb(ed,["ref"]),eo!==ea.Fragment&&ef,eo!==ea.Fragment&&eg),eh)}function ep(...Y){return{ref:Y.every(Y=>null==Y)?void 0:et=>{for(let en of Y)null!=en&&("function"==typeof en?en(et):en.current=et)}}}function em(...Y){var et;if(0===Y.length)return{};if(1===Y.length)return Y[0];let en={},ei={};for(let eo of Y)for(let Y in eo)Y.startsWith("on")&&"function"==typeof eo[Y]?(null!=(et=ei[Y])||(ei[Y]=[]),ei[Y].push(eo[Y])):en[Y]=eo[Y];if(en.disabled||en["aria-disabled"])return Object.assign(en,Object.fromEntries(Object.keys(ei).map(Y=>[Y,void 0])));for(let Y in ei)Object.assign(en,{[Y](et,...en){for(let eo of ei[Y]){if((et instanceof Event||(null==et?void 0:et.nativeEvent)instanceof Event)&&et.defaultPrevented)return;eo(et,...en)}}});return en}function eg(Y){var et;return Object.assign((0,ea.forwardRef)(Y),{displayName:null!=(et=Y.displayName)?et:Y.name})}function ey(Y){let et=Object.assign({},Y);for(let Y in et)void 0===et[Y]&&delete et[Y];return et}function eb(Y,et=[]){let en=Object.assign({},Y);for(let Y of et)Y in en&&delete en[Y];return en}},34926:function(Y,et,en){"use strict";en.d(et,{s:function(){return ei}});let ei="undefined"==typeof window||"undefined"==typeof document},77311:function(Y,et,en){"use strict";var ei=en(70079);function eo({title:Y,titleId:et,...en},eo){return ei.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:eo,"aria-labelledby":et},en),Y?ei.createElement("title",{id:et},Y):null,ei.createElement("path",{fillRule:"evenodd",d:"M12 1.5a5.25 5.25 0 00-5.25 5.25v3a3 3 0 00-3 3v6.75a3 3 0 003 3h10.5a3 3 0 003-3v-6.75a3 3 0 00-3-3v-3c0-2.9-2.35-5.25-5.25-5.25zm3.75 8.25v-3a3.75 3.75 0 10-7.5 0v3h7.5z",clipRule:"evenodd"}))}let ea=ei.forwardRef(eo);et.Z=ea},33591:function(Y,et,en){"use strict";en.d(et,{v4:function(){return eu}});for(var ei,eo=256,ea=[];eo--;)ea[eo]=(eo+256).toString(16).substring(1);function eu(){var Y,et=0,en="";if(!ei||eo+16>256){for(ei=Array(et=256);et--;)ei[et]=256*Math.random()|0;et=eo=0}for(;et<16;et++)Y=ei[eo+et],6==et?en+=ea[15&Y|64]:8==et?en+=ea[63&Y|128]:en+=ea[Y],1&et&&et>1&&et<11&&(en+="-");return eo++,en}},10132:function(Y,et,en){"use strict";function ei(Y,et,{checkForDefaultPrevented:en=!0}={}){return function(ei){if(null==Y||Y(ei),!1===en||!ei.defaultPrevented)return null==et?void 0:et(ei)}}en.d(et,{M:function(){return ei}})},89340:function(Y,et,en){"use strict";en.d(et,{B:function(){return ec}});var ei=en(70079),eo=en(53559),ea=en(68469),eu=en(26739);function ec(Y){let et=Y+"CollectionProvider",[en,ec]=(0,eo.b)(et),[ed,ef]=en(et,{collectionRef:{current:null},itemMap:new Map}),eh=Y=>{let{scope:et,children:en}=Y,eo=ei.useRef(null),ea=ei.useRef(new Map).current;return ei.createElement(ed,{scope:et,itemMap:ea,collectionRef:eo},en)},ep=Y+"CollectionSlot",em=ei.forwardRef((Y,et)=>{let{scope:en,children:eo}=Y,ec=ef(ep,en),ed=(0,ea.e)(et,ec.collectionRef);return ei.createElement(eu.g7,{ref:ed},eo)}),eg=Y+"CollectionItemSlot",ey="data-radix-collection-item",eb=ei.forwardRef((Y,et)=>{let{scope:en,children:eo,...ec}=Y,ed=ei.useRef(null),eh=(0,ea.e)(et,ed),ep=ef(eg,en);return ei.useEffect(()=>(ep.itemMap.set(ed,{ref:ed,...ec}),()=>void ep.itemMap.delete(ed))),ei.createElement(eu.g7,{[ey]:"",ref:eh},eo)});return[{Provider:eh,Slot:em,ItemSlot:eb},function(et){let en=ef(Y+"CollectionConsumer",et),eo=ei.useCallback(()=>{let Y=en.collectionRef.current;if(!Y)return[];let et=Array.from(Y.querySelectorAll(`[${ey}]`)),ei=Array.from(en.itemMap.values()),eo=ei.sort((Y,en)=>et.indexOf(Y.ref.current)-et.indexOf(en.ref.current));return eo},[en.collectionRef,en.itemMap]);return eo},ec]}},68469:function(Y,et,en){"use strict";en.d(et,{F:function(){return ea},e:function(){return eu}});var ei=en(70079);function eo(Y,et){"function"==typeof Y?Y(et):null!=Y&&(Y.current=et)}function ea(...Y){return et=>Y.forEach(Y=>eo(Y,et))}function eu(...Y){return(0,ei.useCallback)(ea(...Y),Y)}},53559:function(Y,et,en){"use strict";en.d(et,{b:function(){return ea},k:function(){return eo}});var ei=en(70079);function eo(Y,et){let en=(0,ei.createContext)(et);function eo(Y){let{children:et,...eo}=Y,ea=(0,ei.useMemo)(()=>eo,Object.values(eo));return(0,ei.createElement)(en.Provider,{value:ea},et)}function ea(eo){let ea=(0,ei.useContext)(en);if(ea)return ea;if(void 0!==et)return et;throw Error(`\`${eo}\` must be used within \`${Y}\``)}return eo.displayName=Y+"Provider",[eo,ea]}function ea(Y,et=[]){let en=[];function eo(et,eo){let ea=(0,ei.createContext)(eo),eu=en.length;function ec(et){let{scope:en,children:eo,...ec}=et,ed=(null==en?void 0:en[Y][eu])||ea,ef=(0,ei.useMemo)(()=>ec,Object.values(ec));return(0,ei.createElement)(ed.Provider,{value:ef},eo)}function ed(en,ec){let ed=(null==ec?void 0:ec[Y][eu])||ea,ef=(0,ei.useContext)(ed);if(ef)return ef;if(void 0!==eo)return eo;throw Error(`\`${en}\` must be used within \`${et}\``)}return en=[...en,eo],ec.displayName=et+"Provider",[ec,ed]}let ea=()=>{let et=en.map(Y=>(0,ei.createContext)(Y));return function(en){let eo=(null==en?void 0:en[Y])||et;return(0,ei.useMemo)(()=>({[`__scope${Y}`]:{...en,[Y]:eo}}),[en,eo])}};return ea.scopeName=Y,[eo,eu(ea,...et)]}function eu(...Y){let et=Y[0];if(1===Y.length)return et;let en=()=>{let en=Y.map(Y=>({useScope:Y(),scopeName:Y.scopeName}));return function(Y){let eo=en.reduce((et,{useScope:en,scopeName:ei})=>{let eo=en(Y),ea=eo[`__scope${ei}`];return{...et,...ea}},{});return(0,ei.useMemo)(()=>({[`__scope${et.scopeName}`]:eo}),[eo])}};return en.scopeName=et.scopeName,en}},74400:function(Y,et,en){"use strict";en.d(et,{gm:function(){return ea}});var ei=en(70079);let eo=(0,ei.createContext)(void 0);function ea(Y){let et=(0,ei.useContext)(eo);return Y||et||"ltr"}},98057:function(Y,et,en){"use strict";let ei;en.d(et,{I0:function(){return eS},XB:function(){return eb},fC:function(){return eT}});var eo=en(5527),ea=en(70079),eu=en(10132),ec=en(8859),ed=en(68469),ef=en(51629),eh=en(30075);let ep="dismissableLayer.update",em="dismissableLayer.pointerDownOutside",eg="dismissableLayer.focusOutside",ey=(0,ea.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),eb=(0,ea.forwardRef)((Y,et)=>{var en;let{disableOutsidePointerEvents:ef=!1,onEscapeKeyDown:em,onPointerDownOutside:eg,onFocusOutside:eb,onInteractOutside:ek,onDismiss:eC,...eT}=Y,eS=(0,ea.useContext)(ey),[eA,eM]=(0,ea.useState)(null),eP=null!==(en=null==eA?void 0:eA.ownerDocument)&&void 0!==en?en:null==globalThis?void 0:globalThis.document,[,ej]=(0,ea.useState)({}),eO=(0,ed.e)(et,Y=>eM(Y)),eI=Array.from(eS.layers),[eN]=[...eS.layersWithOutsidePointerEventsDisabled].slice(-1),eL=eI.indexOf(eN),eR=eA?eI.indexOf(eA):-1,eD=eS.layersWithOutsidePointerEventsDisabled.size>0,eF=eR>=eL,eB=ew(Y=>{let et=Y.target,en=[...eS.branches].some(Y=>Y.contains(et));!eF||en||(null==eg||eg(Y),null==ek||ek(Y),Y.defaultPrevented||null==eC||eC())},eP),ez=e_(Y=>{let et=Y.target,en=[...eS.branches].some(Y=>Y.contains(et));en||(null==eb||eb(Y),null==ek||ek(Y),Y.defaultPrevented||null==eC||eC())},eP);return(0,eh.e)(Y=>{let et=eR===eS.layers.size-1;et&&(null==em||em(Y),!Y.defaultPrevented&&eC&&(Y.preventDefault(),eC()))},eP),(0,ea.useEffect)(()=>{if(eA)return ef&&(0===eS.layersWithOutsidePointerEventsDisabled.size&&(ei=eP.body.style.pointerEvents,eP.body.style.pointerEvents="none"),eS.layersWithOutsidePointerEventsDisabled.add(eA)),eS.layers.add(eA),eE(),()=>{ef&&1===eS.layersWithOutsidePointerEventsDisabled.size&&(eP.body.style.pointerEvents=ei)}},[eA,eP,ef,eS]),(0,ea.useEffect)(()=>()=>{eA&&(eS.layers.delete(eA),eS.layersWithOutsidePointerEventsDisabled.delete(eA),eE())},[eA,eS]),(0,ea.useEffect)(()=>{let Y=()=>ej({});return document.addEventListener(ep,Y),()=>document.removeEventListener(ep,Y)},[]),(0,ea.createElement)(ec.WV.div,(0,eo.Z)({},eT,{ref:eO,style:{pointerEvents:eD?eF?"auto":"none":void 0,...Y.style},onFocusCapture:(0,eu.M)(Y.onFocusCapture,ez.onFocusCapture),onBlurCapture:(0,eu.M)(Y.onBlurCapture,ez.onBlurCapture),onPointerDownCapture:(0,eu.M)(Y.onPointerDownCapture,eB.onPointerDownCapture)}))}),ek=(0,ea.forwardRef)((Y,et)=>{let en=(0,ea.useContext)(ey),ei=(0,ea.useRef)(null),eu=(0,ed.e)(et,ei);return(0,ea.useEffect)(()=>{let Y=ei.current;if(Y)return en.branches.add(Y),()=>{en.branches.delete(Y)}},[en.branches]),(0,ea.createElement)(ec.WV.div,(0,eo.Z)({},Y,{ref:eu}))});function ew(Y,et=null==globalThis?void 0:globalThis.document){let en=(0,ef.W)(Y),ei=(0,ea.useRef)(!1),eo=(0,ea.useRef)(()=>{});return(0,ea.useEffect)(()=>{let Y=Y=>{if(Y.target&&!ei.current){let ei={originalEvent:Y};function ea(){eC(em,en,ei,{discrete:!0})}"touch"===Y.pointerType?(et.removeEventListener("click",eo.current),eo.current=ea,et.addEventListener("click",eo.current,{once:!0})):ea()}ei.current=!1},ea=window.setTimeout(()=>{et.addEventListener("pointerdown",Y)},0);return()=>{window.clearTimeout(ea),et.removeEventListener("pointerdown",Y),et.removeEventListener("click",eo.current)}},[et,en]),{onPointerDownCapture:()=>ei.current=!0}}function e_(Y,et=null==globalThis?void 0:globalThis.document){let en=(0,ef.W)(Y),ei=(0,ea.useRef)(!1);return(0,ea.useEffect)(()=>{let Y=Y=>{if(Y.target&&!ei.current){let et={originalEvent:Y};eC(eg,en,et,{discrete:!1})}};return et.addEventListener("focusin",Y),()=>et.removeEventListener("focusin",Y)},[et,en]),{onFocusCapture:()=>ei.current=!0,onBlurCapture:()=>ei.current=!1}}function eE(){let Y=new CustomEvent(ep);document.dispatchEvent(Y)}function eC(Y,et,en,{discrete:ei}){let eo=en.originalEvent.target,ea=new CustomEvent(Y,{bubbles:!1,cancelable:!0,detail:en});et&&eo.addEventListener(Y,et,{once:!0}),ei?(0,ec.jH)(eo,ea):eo.dispatchEvent(ea)}let eT=eb,eS=ek},83544:function(Y,et,en){"use strict";en.d(et,{EW:function(){return ea}});var ei=en(70079);let eo=0;function ea(){(0,ei.useEffect)(()=>{var Y,et;let en=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(Y=en[0])&&void 0!==Y?Y:eu()),document.body.insertAdjacentElement("beforeend",null!==(et=en[1])&&void 0!==et?et:eu()),eo++,()=>{1===eo&&document.querySelectorAll("[data-radix-focus-guard]").forEach(Y=>Y.remove()),eo--}},[])}function eu(){let Y=document.createElement("span");return Y.setAttribute("data-radix-focus-guard",""),Y.tabIndex=0,Y.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",Y}},70494:function(Y,et,en){"use strict";en.d(et,{M:function(){return ed}});var ei,eo=en(70079),ea=en(90671);let eu=(ei||(ei=en.t(eo,2)))["useId".toString()]||(()=>void 0),ec=0;function ed(Y){let[et,en]=eo.useState(eu());return(0,ea.b)(()=>{Y||en(Y=>null!=Y?Y:String(ec++))},[Y]),Y||(et?`radix-${et}`:"")}},32768:function(Y,et,en){"use strict";en.d(et,{h:function(){return ec}});var ei=en(5527),eo=en(70079),ea=en(99581),eu=en(8859);let ec=(0,eo.forwardRef)((Y,et)=>{var en;let{container:ec=null==globalThis?void 0:null===(en=globalThis.document)||void 0===en?void 0:en.body,...ed}=Y;return ec?ea.createPortal((0,eo.createElement)(eu.WV.div,(0,ei.Z)({},ed,{ref:et})),ec):null})},40051:function(Y,et,en){"use strict";en.d(et,{z:function(){return ed}});var ei=en(70079),eo=en(99581),ea=en(68469),eu=en(90671);function ec(Y,et){return(0,ei.useReducer)((Y,en)=>{let ei=et[Y][en];return null!=ei?ei:Y},Y)}let ed=Y=>{let{present:et,children:en}=Y,eo=ef(et),eu="function"==typeof en?en({present:eo.isPresent}):ei.Children.only(en),ec=(0,ea.e)(eo.ref,eu.ref),ed="function"==typeof en;return ed||eo.isPresent?(0,ei.cloneElement)(eu,{ref:ec}):null};function ef(Y){let[et,en]=(0,ei.useState)(),ea=(0,ei.useRef)({}),ed=(0,ei.useRef)(Y),ef=(0,ei.useRef)("none"),ep=Y?"mounted":"unmounted",[em,eg]=ec(ep,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,ei.useEffect)(()=>{let Y=eh(ea.current);ef.current="mounted"===em?Y:"none"},[em]),(0,eu.b)(()=>{let et=ea.current,en=ed.current,ei=en!==Y;if(ei){let ei=ef.current,eo=eh(et);if(Y)eg("MOUNT");else if("none"===eo||(null==et?void 0:et.display)==="none")eg("UNMOUNT");else{let Y=ei!==eo;en&&Y?eg("ANIMATION_OUT"):eg("UNMOUNT")}ed.current=Y}},[Y,eg]),(0,eu.b)(()=>{if(et){let Y=Y=>{let en=eh(ea.current),ei=en.includes(Y.animationName);Y.target===et&&ei&&(0,eo.flushSync)(()=>eg("ANIMATION_END"))},en=Y=>{Y.target===et&&(ef.current=eh(ea.current))};return et.addEventListener("animationstart",en),et.addEventListener("animationcancel",Y),et.addEventListener("animationend",Y),()=>{et.removeEventListener("animationstart",en),et.removeEventListener("animationcancel",Y),et.removeEventListener("animationend",Y)}}eg("ANIMATION_END")},[et,eg]),{isPresent:["mounted","unmountSuspended"].includes(em),ref:(0,ei.useCallback)(Y=>{Y&&(ea.current=getComputedStyle(Y)),en(Y)},[])}}function eh(Y){return(null==Y?void 0:Y.animationName)||"none"}ed.displayName="Presence"},8859:function(Y,et,en){"use strict";en.d(et,{WV:function(){return ed},jH:function(){return ef}});var ei=en(5527),eo=en(70079),ea=en(99581),eu=en(26739);let ec=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ed=ec.reduce((Y,et)=>{let en=(0,eo.forwardRef)((Y,en)=>{let{asChild:ea,...ec}=Y,ed=ea?eu.g7:et;return(0,eo.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,eo.createElement)(ed,(0,ei.Z)({},ec,{ref:en}))});return en.displayName=`Primitive.${et}`,{...Y,[et]:en}},{});function ef(Y,et){Y&&(0,ea.flushSync)(()=>Y.dispatchEvent(et))}},35427:function(Y,et,en){"use strict";en.d(et,{z$:function(){return tp},ck:function(){return th},fC:function(){return tf}});var ei=en(3262),eo=en(70079),ea=en(10132),eu=en(68469),ec=en(53559),ed=en(8859),ef=en(5527),eh=en(89340),ep=en(70494),em=en(51629),eg=en(21381),ey=en(74400);let eb="rovingFocusGroup.onEntryFocus",ek={bubbles:!1,cancelable:!0},ew="RovingFocusGroup",[e_,eE,eC]=(0,eh.B)(ew),[eT,eS]=(0,ec.b)(ew,[eC]),[eA,eM]=eT(ew),eP=(0,eo.forwardRef)((Y,et)=>(0,eo.createElement)(e_.Provider,{scope:Y.__scopeRovingFocusGroup},(0,eo.createElement)(e_.Slot,{scope:Y.__scopeRovingFocusGroup},(0,eo.createElement)(ej,(0,ef.Z)({},Y,{ref:et}))))),ej=(0,eo.forwardRef)((Y,et)=>{let{__scopeRovingFocusGroup:en,orientation:ei,loop:ec=!1,dir:eh,currentTabStopId:ep,defaultCurrentTabStopId:ew,onCurrentTabStopIdChange:e_,onEntryFocus:eC,...eT}=Y,eS=(0,eo.useRef)(null),eM=(0,eu.e)(et,eS),eP=(0,ey.gm)(eh),[ej=null,eO]=(0,eg.T)({prop:ep,defaultProp:ew,onChange:e_}),[eI,eN]=(0,eo.useState)(!1),eL=(0,em.W)(eC),eR=eE(en),eF=(0,eo.useRef)(!1),[eB,ez]=(0,eo.useState)(0);return(0,eo.useEffect)(()=>{let Y=eS.current;if(Y)return Y.addEventListener(eb,eL),()=>Y.removeEventListener(eb,eL)},[eL]),(0,eo.createElement)(eA,{scope:en,orientation:ei,dir:eP,loop:ec,currentTabStopId:ej,onItemFocus:(0,eo.useCallback)(Y=>eO(Y),[eO]),onItemShiftTab:(0,eo.useCallback)(()=>eN(!0),[]),onFocusableItemAdd:(0,eo.useCallback)(()=>ez(Y=>Y+1),[]),onFocusableItemRemove:(0,eo.useCallback)(()=>ez(Y=>Y-1),[])},(0,eo.createElement)(ed.WV.div,(0,ef.Z)({tabIndex:eI||0===eB?-1:0,"data-orientation":ei},eT,{ref:eM,style:{outline:"none",...Y.style},onMouseDown:(0,ea.M)(Y.onMouseDown,()=>{eF.current=!0}),onFocus:(0,ea.M)(Y.onFocus,Y=>{let et=!eF.current;if(Y.target===Y.currentTarget&&et&&!eI){let et=new CustomEvent(eb,ek);if(Y.currentTarget.dispatchEvent(et),!et.defaultPrevented){let Y=eR().filter(Y=>Y.focusable),et=Y.find(Y=>Y.active),en=Y.find(Y=>Y.id===ej),ei=[et,en,...Y].filter(Boolean),eo=ei.map(Y=>Y.ref.current);eD(eo)}}eF.current=!1}),onBlur:(0,ea.M)(Y.onBlur,()=>eN(!1))})))}),eO="RovingFocusGroupItem",eI=(0,eo.forwardRef)((Y,et)=>{let{__scopeRovingFocusGroup:en,focusable:ei=!0,active:eu=!1,tabStopId:ec,...eh}=Y,em=(0,ep.M)(),eg=ec||em,ey=eM(eO,en),eb=ey.currentTabStopId===eg,ek=eE(en),{onFocusableItemAdd:ew,onFocusableItemRemove:eC}=ey;return(0,eo.useEffect)(()=>{if(ei)return ew(),()=>eC()},[ei,ew,eC]),(0,eo.createElement)(e_.ItemSlot,{scope:en,id:eg,focusable:ei,active:eu},(0,eo.createElement)(ed.WV.span,(0,ef.Z)({tabIndex:eb?0:-1,"data-orientation":ey.orientation},eh,{ref:et,onMouseDown:(0,ea.M)(Y.onMouseDown,Y=>{ei?ey.onItemFocus(eg):Y.preventDefault()}),onFocus:(0,ea.M)(Y.onFocus,()=>ey.onItemFocus(eg)),onKeyDown:(0,ea.M)(Y.onKeyDown,Y=>{if("Tab"===Y.key&&Y.shiftKey){ey.onItemShiftTab();return}if(Y.target!==Y.currentTarget)return;let et=eR(Y,ey.orientation,ey.dir);if(void 0!==et){Y.preventDefault();let en=ek().filter(Y=>Y.focusable),ei=en.map(Y=>Y.ref.current);if("last"===et)ei.reverse();else if("prev"===et||"next"===et){"prev"===et&&ei.reverse();let en=ei.indexOf(Y.currentTarget);ei=ey.loop?eF(ei,en+1):ei.slice(en+1)}setTimeout(()=>eD(ei))}})})))}),eN={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function eL(Y,et){return"rtl"!==et?Y:"ArrowLeft"===Y?"ArrowRight":"ArrowRight"===Y?"ArrowLeft":Y}function eR(Y,et,en){let ei=eL(Y.key,en);if(!("vertical"===et&&["ArrowLeft","ArrowRight"].includes(ei))&&!("horizontal"===et&&["ArrowUp","ArrowDown"].includes(ei)))return eN[ei]}function eD(Y){let et=document.activeElement;for(let en of Y)if(en===et||(en.focus(),document.activeElement!==et))return}function eF(Y,et){return Y.map((en,ei)=>Y[(et+ei)%Y.length])}let eB=eP,ez=eI;var eU=en(86648),eH=en(80136),eG=en(40051);let eV="Radio",[eW,eZ]=(0,ec.b)(eV),[eK,e$]=eW(eV),eY=(0,eo.forwardRef)((Y,et)=>{let{__scopeRadio:en,name:ec,checked:ef=!1,required:eh,disabled:ep,value:em="on",onCheck:eg,...ey}=Y,[eb,ek]=(0,eo.useState)(null),ew=(0,eu.e)(et,Y=>ek(Y)),e_=(0,eo.useRef)(!1),eE=!eb||!!eb.closest("form");return(0,eo.createElement)(eK,{scope:en,checked:ef,disabled:ep},(0,eo.createElement)(ed.WV.button,(0,ei.Z)({type:"button",role:"radio","aria-checked":ef,"data-state":e0(ef),"data-disabled":ep?"":void 0,disabled:ep,value:em},ey,{ref:ew,onClick:(0,ea.M)(Y.onClick,Y=>{ef||null==eg||eg(),eE&&(e_.current=Y.isPropagationStopped(),e_.current||Y.stopPropagation())})})),eE&&(0,eo.createElement)(eJ,{control:eb,bubbles:!e_.current,name:ec,value:em,checked:ef,required:eh,disabled:ep,style:{transform:"translateX(-100%)"}}))}),eQ="RadioIndicator",eX=(0,eo.forwardRef)((Y,et)=>{let{__scopeRadio:en,forceMount:ea,...eu}=Y,ec=e$(eQ,en);return(0,eo.createElement)(eG.z,{present:ea||ec.checked},(0,eo.createElement)(ed.WV.span,(0,ei.Z)({"data-state":e0(ec.checked),"data-disabled":ec.disabled?"":void 0},eu,{ref:et})))}),eJ=Y=>{let{control:et,checked:en,bubbles:ea=!0,...eu}=Y,ec=(0,eo.useRef)(null),ed=(0,eH.D)(en),ef=(0,eU.t)(et);return(0,eo.useEffect)(()=>{let Y=ec.current,et=window.HTMLInputElement.prototype,ei=Object.getOwnPropertyDescriptor(et,"checked"),eo=ei.set;if(ed!==en&&eo){let et=new Event("click",{bubbles:ea});eo.call(Y,en),Y.dispatchEvent(et)}},[ed,en,ea]),(0,eo.createElement)("input",(0,ei.Z)({type:"radio","aria-hidden":!0,defaultChecked:en},eu,{tabIndex:-1,ref:ec,style:{...Y.style,...ef,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function e0(Y){return Y?"checked":"unchecked"}let e9=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],e5="RadioGroup",[e4,e3]=(0,ec.b)(e5,[eS,eZ]),e6=eS(),e7=eZ(),[e8,tt]=e4(e5),ta=(0,eo.forwardRef)((Y,et)=>{let{__scopeRadioGroup:en,name:ea,defaultValue:eu,value:ec,required:ef=!1,disabled:eh=!1,orientation:ep,dir:em,loop:eb=!0,onValueChange:ek,...ew}=Y,e_=e6(en),eE=(0,ey.gm)(em),[eC,eT]=(0,eg.T)({prop:ec,defaultProp:eu,onChange:ek});return(0,eo.createElement)(e8,{scope:en,name:ea,required:ef,disabled:eh,value:eC,onValueChange:eT},(0,eo.createElement)(eB,(0,ei.Z)({asChild:!0},e_,{orientation:ep,dir:eE,loop:eb}),(0,eo.createElement)(ed.WV.div,(0,ei.Z)({role:"radiogroup","aria-required":ef,"aria-orientation":ep,"data-disabled":eh?"":void 0,dir:eE},ew,{ref:et}))))}),tu="RadioGroupItem",tc=(0,eo.forwardRef)((Y,et)=>{let{__scopeRadioGroup:en,disabled:ec,...ed}=Y,ef=tt(tu,en),eh=ef.disabled||ec,ep=e6(en),em=e7(en),eg=(0,eo.useRef)(null),ey=(0,eu.e)(et,eg),eb=ef.value===ed.value,ek=(0,eo.useRef)(!1);return(0,eo.useEffect)(()=>{let Y=Y=>{e9.includes(Y.key)&&(ek.current=!0)},et=()=>ek.current=!1;return document.addEventListener("keydown",Y),document.addEventListener("keyup",et),()=>{document.removeEventListener("keydown",Y),document.removeEventListener("keyup",et)}},[]),(0,eo.createElement)(ez,(0,ei.Z)({asChild:!0},ep,{focusable:!eh,active:eb}),(0,eo.createElement)(eY,(0,ei.Z)({disabled:eh,required:ef.required,checked:eb},em,ed,{name:ef.name,ref:ey,onCheck:()=>ef.onValueChange(ed.value),onKeyDown:(0,ea.M)(Y=>{"Enter"===Y.key&&Y.preventDefault()}),onFocus:(0,ea.M)(ed.onFocus,()=>{var Y;ek.current&&(null===(Y=eg.current)||void 0===Y||Y.click())})})))}),td=(0,eo.forwardRef)((Y,et)=>{let{__scopeRadioGroup:en,...ea}=Y,eu=e7(en);return(0,eo.createElement)(eX,(0,ei.Z)({},eu,ea,{ref:et}))}),tf=ta,th=tc,tp=td},26739:function(Y,et,en){"use strict";en.d(et,{A4:function(){return ed},g7:function(){return eu}});var ei=en(5527),eo=en(70079),ea=en(68469);let eu=(0,eo.forwardRef)((Y,et)=>{let{children:en,...ea}=Y,eu=eo.Children.toArray(en),ed=eu.find(ef);if(ed){let Y=ed.props.children,en=eu.map(et=>et!==ed?et:eo.Children.count(Y)>1?eo.Children.only(null):(0,eo.isValidElement)(Y)?Y.props.children:null);return(0,eo.createElement)(ec,(0,ei.Z)({},ea,{ref:et}),(0,eo.isValidElement)(Y)?(0,eo.cloneElement)(Y,void 0,en):null)}return(0,eo.createElement)(ec,(0,ei.Z)({},ea,{ref:et}),en)});eu.displayName="Slot";let ec=(0,eo.forwardRef)((Y,et)=>{let{children:en,...ei}=Y;return(0,eo.isValidElement)(en)?(0,eo.cloneElement)(en,{...eh(ei,en.props),ref:et?(0,ea.F)(et,en.ref):en.ref}):eo.Children.count(en)>1?eo.Children.only(null):null});ec.displayName="SlotClone";let ed=({children:Y})=>(0,eo.createElement)(eo.Fragment,null,Y);function ef(Y){return(0,eo.isValidElement)(Y)&&Y.type===ed}function eh(Y,et){let en={...et};for(let ei in et){let eo=Y[ei],ea=et[ei],eu=/^on[A-Z]/.test(ei);eu?eo&&ea?en[ei]=(...Y)=>{ea(...Y),eo(...Y)}:eo&&(en[ei]=eo):"style"===ei?en[ei]={...eo,...ea}:"className"===ei&&(en[ei]=[eo,ea].filter(Boolean).join(" "))}return{...Y,...en}}},51629:function(Y,et,en){"use strict";en.d(et,{W:function(){return eo}});var ei=en(70079);function eo(Y){let et=(0,ei.useRef)(Y);return(0,ei.useEffect)(()=>{et.current=Y}),(0,ei.useMemo)(()=>(...Y)=>{var en;return null===(en=et.current)||void 0===en?void 0:en.call(et,...Y)},[])}},21381:function(Y,et,en){"use strict";en.d(et,{T:function(){return ea}});var ei=en(70079),eo=en(51629);function ea({prop:Y,defaultProp:et,onChange:en=()=>{}}){let[ea,ec]=eu({defaultProp:et,onChange:en}),ed=void 0!==Y,ef=ed?Y:ea,eh=(0,eo.W)(en),ep=(0,ei.useCallback)(et=>{if(ed){let en=et,ei="function"==typeof et?en(Y):et;ei!==Y&&eh(ei)}else ec(et)},[ed,Y,ec,eh]);return[ef,ep]}function eu({defaultProp:Y,onChange:et}){let en=(0,ei.useState)(Y),[ea]=en,eu=(0,ei.useRef)(ea),ec=(0,eo.W)(et);return(0,ei.useEffect)(()=>{eu.current!==ea&&(ec(ea),eu.current=ea)},[ea,eu,ec]),en}},30075:function(Y,et,en){"use strict";en.d(et,{e:function(){return ea}});var ei=en(70079),eo=en(51629);function ea(Y,et=null==globalThis?void 0:globalThis.document){let en=(0,eo.W)(Y);(0,ei.useEffect)(()=>{let Y=Y=>{"Escape"===Y.key&&en(Y)};return et.addEventListener("keydown",Y),()=>et.removeEventListener("keydown",Y)},[en,et])}},90671:function(Y,et,en){"use strict";en.d(et,{b:function(){return eo}});var ei=en(70079);let eo=(null==globalThis?void 0:globalThis.document)?ei.useLayoutEffect:()=>{}},80136:function(Y,et,en){"use strict";en.d(et,{D:function(){return eo}});var ei=en(70079);function eo(Y){let et=(0,ei.useRef)({value:Y,previous:Y});return(0,ei.useMemo)(()=>(et.current.value!==Y&&(et.current.previous=et.current.value,et.current.value=Y),et.current.previous),[Y])}},86648:function(Y,et,en){"use strict";en.d(et,{t:function(){return ea}});var ei=en(70079),eo=en(90671);function ea(Y){let[et,en]=(0,ei.useState)(void 0);return(0,eo.b)(()=>{if(Y){en({width:Y.offsetWidth,height:Y.offsetHeight});let et=new ResizeObserver(et=>{let ei,eo;if(!Array.isArray(et)||!et.length)return;let ea=et[0];if("borderBoxSize"in ea){let Y=ea.borderBoxSize,et=Array.isArray(Y)?Y[0]:Y;ei=et.inlineSize,eo=et.blockSize}else ei=Y.offsetWidth,eo=Y.offsetHeight;en({width:ei,height:eo})});return et.observe(Y,{box:"border-box"}),()=>et.unobserve(Y)}en(void 0)},[Y]),et}},32148:function(Y,et,en){"use strict";en.d(et,{T:function(){return eu},f:function(){return ec}});var ei=en(45675),eo=en(70079),ea=en(8859);let eu=(0,eo.forwardRef)((Y,et)=>(0,eo.createElement)(ea.WV.span,(0,ei.Z)({},Y,{ref:et,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...Y.style}}))),ec=eu},39730:function(Y,et,en){"use strict";function ei(Y,et,en){if(!et.has(Y))throw TypeError("attempted to "+en+" private field on non-instance");return et.get(Y)}en.d(et,{J:function(){return ei}})},53596:function(Y,et,en){"use strict";function ei(Y,et){return et.get?et.get.call(Y):et.value}en.d(et,{_:function(){return ea}});var eo=en(39730);function ea(Y,et){var en=(0,eo.J)(Y,et,"get");return ei(Y,en)}},66816:function(Y,et,en){"use strict";function ei(Y,et){if(et.has(Y))throw TypeError("Cannot initialize the same private elements twice on an object")}function eo(Y,et,en){ei(Y,et),et.set(Y,en)}en.d(et,{_:function(){return eo}})},49406:function(Y,et,en){"use strict";function ei(Y,et,en){if(et.set)et.set.call(Y,en);else{if(!et.writable)throw TypeError("attempted to set read only private field");et.value=en}}en.d(et,{_:function(){return ea}});var eo=en(39730);function ea(Y,et,en){var ea=(0,eo.J)(Y,et,"set");return ei(Y,ea,en),en}},4337:function(Y,et,en){"use strict";function ei(Y,et){return et||(et=Y.slice(0)),Object.freeze(Object.defineProperties(Y,{raw:{value:Object.freeze(et)}}))}en.d(et,{_:function(){return ei}})},30692:function(Y,et,en){"use strict";en.d(et,{j:function(){return ea}});var ei=en(74349),eo=en(52134),ea=new class extends ei.l{#P;#j;#O;constructor(){super(),this.#O=Y=>{if(!eo.sk&&window.addEventListener){let et=()=>Y();return window.addEventListener("visibilitychange",et,!1),()=>{window.removeEventListener("visibilitychange",et)}}}}onSubscribe(){this.#j||this.setEventListener(this.#O)}onUnsubscribe(){this.hasListeners()||(this.#j?.(),this.#j=void 0)}setEventListener(Y){this.#O=Y,this.#j?.(),this.#j=Y(Y=>{"boolean"==typeof Y?this.setFocused(Y):this.onFocus()})}setFocused(Y){let et=this.#P!==Y;et&&(this.#P=Y,this.onFocus())}onFocus(){this.listeners.forEach(Y=>{Y()})}isFocused(){return"boolean"==typeof this.#P?this.#P:globalThis.document?.visibilityState!=="hidden"}}},23418:function(Y,et,en){"use strict";en.d(et,{Gm:function(){return eo},Qy:function(){return ec},ZF:function(){return ed}});var ei=en(52134);function eo(Y){return{onFetch:(et,en)=>{let eo=async()=>{let en;let eo=et.options,ec=et.fetchOptions?.meta?.fetchMore?.direction,ed=et.state.data?.pages||[],ef=et.state.data?.pageParams||[],eh={pages:[],pageParams:[]},ep=!1,em=Y=>{Object.defineProperty(Y,"signal",{enumerable:!0,get:()=>(et.signal.aborted?ep=!0:et.signal.addEventListener("abort",()=>{ep=!0}),et.signal)})},eg=et.options.queryFn||(()=>Promise.reject(Error(`Missing queryFn: '${et.options.queryHash}'`))),ey=async(Y,en,eo)=>{if(ep)return Promise.reject();if(null==en&&Y.pages.length)return Promise.resolve(Y);let ea={queryKey:et.queryKey,pageParam:en,direction:eo?"backward":"forward",meta:et.options.meta};em(ea);let eu=await eg(ea),{maxPages:ec}=et.options,ed=eo?ei.Ht:ei.VX;return{pages:ed(Y.pages,eu,ec),pageParams:ed(Y.pageParams,en,ec)}};if(ec&&ed.length){let Y="backward"===ec,et=Y?eu:ea,ei={pages:ed,pageParams:ef},eh=et(eo,ei);en=await ey(ei,eh,Y)}else{en=await ey(eh,ef[0]??eo.initialPageParam);let et=Y??ed.length;for(let Y=1;Y<et;Y++){let Y=ea(eo,en);en=await ey(en,Y)}}return en};et.options.persister?et.fetchFn=()=>et.options.persister?.(eo,{queryKey:et.queryKey,meta:et.options.meta,signal:et.signal},en):et.fetchFn=eo}}}function ea(Y,{pages:et,pageParams:en}){let ei=et.length-1;return Y.getNextPageParam(et[ei],et,en[ei],en)}function eu(Y,{pages:et,pageParams:en}){return Y.getPreviousPageParam?.(et[0],et,en[0],en)}function ec(Y,et){return!!et&&null!=ea(Y,et)}function ed(Y,et){return!!et&&!!Y.getPreviousPageParam&&null!=eu(Y,et)}},28049:function(Y,et,en){"use strict";en.d(et,{R:function(){return ec},m:function(){return eu}});var ei=en(39743),eo=en(49948),ea=en(69548),eu=class extends eo.F{constructor(Y){super(),this.mutationId=Y.mutationId,this.#f=Y.defaultOptions,this.#E=Y.mutationCache,this.#r=[],this.state=Y.state||ec(),this.setOptions(Y.options),this.scheduleGc()}#r;#f;#E;#y;setOptions(Y){this.options={...this.#f,...Y},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(Y){this.#r.includes(Y)||(this.#r.push(Y),this.clearGcTimeout(),this.#E.notify({type:"observerAdded",mutation:this,observer:Y}))}removeObserver(Y){this.#r=this.#r.filter(et=>et!==Y),this.scheduleGc(),this.#E.notify({type:"observerRemoved",mutation:this,observer:Y})}optionalRemove(){this.#r.length||("pending"===this.state.status?this.scheduleGc():this.#E.remove(this))}continue(){return this.#y?.continue()??this.execute(this.state.variables)}async execute(Y){let et=()=>(this.#y=(0,ea.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(Y):Promise.reject(Error("No mutationFn found")),onFail:(Y,et)=>{this.#b({type:"failed",failureCount:Y,error:et})},onPause:()=>{this.#b({type:"pause"})},onContinue:()=>{this.#b({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.#y.promise),en="pending"===this.state.status;try{if(!en){this.#b({type:"pending",variables:Y}),await this.#E.config.onMutate?.(Y,this);let et=await this.options.onMutate?.(Y);et!==this.state.context&&this.#b({type:"pending",context:et,variables:Y})}let ei=await et();return await this.#E.config.onSuccess?.(ei,Y,this.state.context,this),await this.options.onSuccess?.(ei,Y,this.state.context),await this.#E.config.onSettled?.(ei,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(ei,null,Y,this.state.context),this.#b({type:"success",data:ei}),ei}catch(et){try{throw await this.#E.config.onError?.(et,Y,this.state.context,this),await this.options.onError?.(et,Y,this.state.context),await this.#E.config.onSettled?.(void 0,et,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,et,Y,this.state.context),et}finally{this.#b({type:"error",error:et})}}}#b(Y){let et=et=>{switch(Y.type){case"failed":return{...et,failureCount:Y.failureCount,failureReason:Y.error};case"pause":return{...et,isPaused:!0};case"continue":return{...et,isPaused:!1};case"pending":return{...et,context:Y.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,ea.Kw)(this.options.networkMode),status:"pending",variables:Y.variables,submittedAt:Date.now()};case"success":return{...et,data:Y.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...et,data:void 0,error:Y.error,failureCount:et.failureCount+1,failureReason:Y.error,isPaused:!1,status:"error"}}};this.state=et(this.state),ei.V.batch(()=>{this.#r.forEach(et=>{et.onMutationUpdate(Y)}),this.#E.notify({mutation:this,type:"updated",action:Y})})}};function ec(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},39743:function(Y,et,en){"use strict";en.d(et,{V:function(){return eo}});var ei=en(52134),eo=function(){let Y=[],et=0,en=Y=>{Y()},eo=Y=>{Y()},ea=Y=>{let en;et++;try{en=Y()}finally{--et||ed()}return en},eu=eo=>{et?Y.push(eo):(0,ei.A4)(()=>{en(eo)})},ec=Y=>(...et)=>{eu(()=>{Y(...et)})},ed=()=>{let et=Y;Y=[],et.length&&(0,ei.A4)(()=>{eo(()=>{et.forEach(Y=>{en(Y)})})})},ef=Y=>{en=Y},eh=Y=>{eo=Y};return{batch:ea,batchCalls:ec,schedule:eu,setNotifyFunction:ef,setBatchNotifyFunction:eh}}()},51288:function(Y,et,en){"use strict";en.d(et,{N:function(){return ea}});var ei=en(74349),eo=en(52134),ea=new class extends ei.l{#I=!0;#j;#O;constructor(){super(),this.#O=Y=>{if(!eo.sk&&window.addEventListener){let et=()=>Y(!0),en=()=>Y(!1);return window.addEventListener("online",et,!1),window.addEventListener("offline",en,!1),()=>{window.removeEventListener("online",et),window.removeEventListener("offline",en)}}}}onSubscribe(){this.#j||this.setEventListener(this.#O)}onUnsubscribe(){this.hasListeners()||(this.#j?.(),this.#j=void 0)}setEventListener(Y){this.#O=Y,this.#j?.(),this.#j=Y(this.setOnline.bind(this))}setOnline(Y){let et=this.#I!==Y;et&&(this.#I=Y,this.listeners.forEach(et=>{et(Y)}))}isOnline(){return this.#I}}},60083:function(Y,et,en){"use strict";en.d(et,{z:function(){return ed}});var ei=en(52134),eo=en(39743),ea=en(30692),eu=en(74349),ec=en(69548),ed=class extends eu.l{constructor(Y,et){super(),this.#N=void 0,this.#L=void 0,this.#R=void 0,this.#D=new Set,this.#e=Y,this.options=et,this.#F=null,this.bindMethods(),this.setOptions(et)}#e;#N;#L;#R;#B;#z;#F;#U;#H;#G;#V;#W;#q;#D;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#N.addObserver(this),eh(this.#N,this.options)&&this.#Z(),this.#K())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ep(this.#N,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ep(this.#N,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#$(),this.#Y(),this.#N.removeObserver(this)}setOptions(Y,et){let en=this.options,eo=this.#N;if(this.options=this.#e.defaultQueryOptions(Y),(0,ei.VS)(en,this.options)||this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#N,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=en.queryKey),this.#Q();let ea=this.hasListeners();ea&&em(this.#N,eo,this.options,en)&&this.#Z(),this.updateResult(et),ea&&(this.#N!==eo||this.options.enabled!==en.enabled||this.options.staleTime!==en.staleTime)&&this.#X();let eu=this.#J();ea&&(this.#N!==eo||this.options.enabled!==en.enabled||eu!==this.#q)&&this.#ee(eu)}getOptimisticResult(Y){let et=this.#e.getQueryCache().build(this.#e,Y),en=this.createResult(et,Y);return ey(this,en)&&(this.#R=en,this.#z=this.options,this.#B=this.#N.state),en}getCurrentResult(){return this.#R}trackResult(Y){let et={};return Object.keys(Y).forEach(en=>{Object.defineProperty(et,en,{configurable:!1,enumerable:!0,get:()=>(this.#D.add(en),Y[en])})}),et}getCurrentQuery(){return this.#N}refetch({...Y}={}){return this.fetch({...Y})}fetchOptimistic(Y){let et=this.#e.defaultQueryOptions(Y),en=this.#e.getQueryCache().build(this.#e,et);return en.isFetchingOptimistic=!0,en.fetch().then(()=>this.createResult(en,et))}fetch(Y){return this.#Z({...Y,cancelRefetch:Y.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#R))}#Z(Y){this.#Q();let et=this.#N.fetch(this.options,Y);return Y?.throwOnError||(et=et.catch(ei.ZT)),et}#X(){if(this.#$(),ei.sk||this.#R.isStale||!(0,ei.PN)(this.options.staleTime))return;let Y=(0,ei.Kp)(this.#R.dataUpdatedAt,this.options.staleTime),et=Y+1;this.#V=setTimeout(()=>{this.#R.isStale||this.updateResult()},et)}#J(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#N):this.options.refetchInterval)??!1}#ee(Y){this.#Y(),this.#q=Y,!ei.sk&&!1!==this.options.enabled&&(0,ei.PN)(this.#q)&&0!==this.#q&&(this.#W=setInterval(()=>{(this.options.refetchIntervalInBackground||ea.j.isFocused())&&this.#Z()},this.#q))}#K(){this.#X(),this.#ee(this.#J())}#$(){this.#V&&(clearTimeout(this.#V),this.#V=void 0)}#Y(){this.#W&&(clearInterval(this.#W),this.#W=void 0)}createResult(Y,et){let en;let eo=this.#N,ea=this.options,eu=this.#R,ed=this.#B,ef=this.#z,ep=Y!==eo,ey=ep?Y.state:this.#L,{state:eb}=Y,{error:ek,errorUpdatedAt:ew,fetchStatus:e_,status:eE}=eb,eC=!1;if(et._optimisticResults){let en=this.hasListeners(),ei=!en&&eh(Y,et),eu=en&&em(Y,eo,et,ea);(ei||eu)&&(e_=(0,ec.Kw)(Y.options.networkMode)?"fetching":"paused",eb.dataUpdatedAt||(eE="pending")),"isRestoring"===et._optimisticResults&&(e_="idle")}if(et.select&&void 0!==eb.data){if(eu&&eb.data===ed?.data&&et.select===this.#U)en=this.#H;else try{this.#U=et.select,en=et.select(eb.data),en=(0,ei.oE)(eu?.data,en,et),this.#H=en,this.#F=null}catch(Y){this.#F=Y}}else en=eb.data;if(void 0!==et.placeholderData&&void 0===en&&"pending"===eE){let Y;if(eu?.isPlaceholderData&&et.placeholderData===ef?.placeholderData)Y=eu.data;else if(Y="function"==typeof et.placeholderData?et.placeholderData(this.#G?.state.data,this.#G):et.placeholderData,et.select&&void 0!==Y)try{Y=et.select(Y),this.#F=null}catch(Y){this.#F=Y}void 0!==Y&&(eE="success",en=(0,ei.oE)(eu?.data,Y,et),eC=!0)}this.#F&&(ek=this.#F,en=this.#H,ew=Date.now(),eE="error");let eT="fetching"===e_,eS="pending"===eE,eA="error"===eE,eM=eS&&eT,eP={status:eE,fetchStatus:e_,isPending:eS,isSuccess:"success"===eE,isError:eA,isInitialLoading:eM,isLoading:eM,data:en,dataUpdatedAt:eb.dataUpdatedAt,error:ek,errorUpdatedAt:ew,failureCount:eb.fetchFailureCount,failureReason:eb.fetchFailureReason,errorUpdateCount:eb.errorUpdateCount,isFetched:eb.dataUpdateCount>0||eb.errorUpdateCount>0,isFetchedAfterMount:eb.dataUpdateCount>ey.dataUpdateCount||eb.errorUpdateCount>ey.errorUpdateCount,isFetching:eT,isRefetching:eT&&!eS,isLoadingError:eA&&0===eb.dataUpdatedAt,isPaused:"paused"===e_,isPlaceholderData:eC,isRefetchError:eA&&0!==eb.dataUpdatedAt,isStale:eg(Y,et),refetch:this.refetch};return eP}updateResult(Y){let et=this.#R,en=this.createResult(this.#N,this.options);if(this.#B=this.#N.state,this.#z=this.options,(0,ei.VS)(en,et))return;void 0!==this.#B.data&&(this.#G=this.#N),this.#R=en;let eo={},ea=()=>{if(!et)return!0;let{notifyOnChangeProps:Y}=this.options,en="function"==typeof Y?Y():Y;if("all"===en||!en&&!this.#D.size)return!0;let ei=new Set(en??this.#D);return this.options.throwOnError&&ei.add("error"),Object.keys(this.#R).some(Y=>{let en=Y,eo=this.#R[en]!==et[en];return eo&&ei.has(en)})};Y?.listeners!==!1&&ea()&&(eo.listeners=!0),this.#c({...eo,...Y})}#Q(){let Y=this.#e.getQueryCache().build(this.#e,this.options);if(Y===this.#N)return;let et=this.#N;this.#N=Y,this.#L=Y.state,this.hasListeners()&&(et?.removeObserver(this),Y.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#K()}#c(Y){eo.V.batch(()=>{Y.listeners&&this.listeners.forEach(Y=>{Y(this.#R)}),this.#e.getQueryCache().notify({query:this.#N,type:"observerResultsUpdated"})})}};function ef(Y,et){return!1!==et.enabled&&!Y.state.dataUpdatedAt&&!("error"===Y.state.status&&!1===et.retryOnMount)}function eh(Y,et){return ef(Y,et)||Y.state.dataUpdatedAt>0&&ep(Y,et,et.refetchOnMount)}function ep(Y,et,en){if(!1!==et.enabled){let ei="function"==typeof en?en(Y):en;return"always"===ei||!1!==ei&&eg(Y,et)}return!1}function em(Y,et,en,ei){return!1!==en.enabled&&(Y!==et||!1===ei.enabled)&&(!en.suspense||"error"!==Y.state.status)&&eg(Y,en)}function eg(Y,et){return Y.isStaleByTime(et.staleTime)}function ey(Y,et){return!(0,ei.VS)(Y.getCurrentResult(),et)}},49948:function(Y,et,en){"use strict";en.d(et,{F:function(){return eo}});var ei=en(52134),eo=class{#et;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,ei.PN)(this.gcTime)&&(this.#et=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(Y){this.gcTime=Math.max(this.gcTime||0,Y??(ei.sk?1/0:3e5))}clearGcTimeout(){this.#et&&(clearTimeout(this.#et),this.#et=void 0)}}},69548:function(Y,et,en){"use strict";en.d(et,{DV:function(){return ef},Kw:function(){return ec},Mz:function(){return eh}});var ei=en(30692),eo=en(51288),ea=en(52134);function eu(Y){return Math.min(1e3*2**Y,3e4)}function ec(Y){return(Y??"online")!=="online"||eo.N.isOnline()}var ed=class{constructor(Y){this.revert=Y?.revert,this.silent=Y?.silent}};function ef(Y){return Y instanceof ed}function eh(Y){let et,en,ef,eh=!1,ep=0,em=!1,eg=new Promise((Y,et)=>{en=Y,ef=et}),ey=et=>{em||(eE(new ed(et)),Y.abort?.())},eb=()=>{eh=!0},ek=()=>{eh=!1},ew=()=>!ei.j.isFocused()||"always"!==Y.networkMode&&!eo.N.isOnline(),e_=ei=>{em||(em=!0,Y.onSuccess?.(ei),et?.(),en(ei))},eE=en=>{em||(em=!0,Y.onError?.(en),et?.(),ef(en))},eC=()=>new Promise(en=>{et=Y=>{let et=em||!ew();return et&&en(Y),et},Y.onPause?.()}).then(()=>{et=void 0,em||Y.onContinue?.()}),eT=()=>{let et;if(!em){try{et=Y.fn()}catch(Y){et=Promise.reject(Y)}Promise.resolve(et).then(e_).catch(et=>{if(em)return;let en=Y.retry??(ea.sk?0:3),ei=Y.retryDelay??eu,eo="function"==typeof ei?ei(ep,et):ei,ec=!0===en||"number"==typeof en&&ep<en||"function"==typeof en&&en(ep,et);if(eh||!ec){eE(et);return}ep++,Y.onFail?.(ep,et),(0,ea._v)(eo).then(()=>{if(ew())return eC()}).then(()=>{eh?eE(et):eT()})})}};return ec(Y.networkMode)?eT():eC().then(eT),{promise:eg,cancel:ey,continue:()=>{let Y=et?.();return Y?eg:Promise.resolve()},cancelRetry:eb,continueRetry:ek}}},74349:function(Y,et,en){"use strict";en.d(et,{l:function(){return ei}});var ei=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(Y){return this.listeners.add(Y),this.onSubscribe(),()=>{this.listeners.delete(Y),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},52134:function(Y,et,en){"use strict";en.d(et,{A4:function(){return eE},Ht:function(){return eA},Kp:function(){return ec},PN:function(){return eu},Q$:function(){return eg},Rm:function(){return eh},SE:function(){return ea},VS:function(){return ey},VX:function(){return eS},Wk:function(){return eT},X7:function(){return ef},Ym:function(){return ep},ZT:function(){return eo},_v:function(){return e_},_x:function(){return ed},oE:function(){return eC},sk:function(){return ei},to:function(){return em}});var ei="undefined"==typeof window||"Deno"in window;function eo(){}function ea(Y,et){return"function"==typeof Y?Y(et):Y}function eu(Y){return"number"==typeof Y&&Y>=0&&Y!==1/0}function ec(Y,et){return Math.max(Y+(et||0)-Date.now(),0)}function ed(Y,et){let{type:en="all",exact:ei,fetchStatus:eo,predicate:ea,queryKey:eu,stale:ec}=Y;if(eu){if(ei){if(et.queryHash!==eh(eu,et.options))return!1}else if(!em(et.queryKey,eu))return!1}if("all"!==en){let Y=et.isActive();if("active"===en&&!Y||"inactive"===en&&Y)return!1}return("boolean"!=typeof ec||et.isStale()===ec)&&(void 0===eo||eo===et.state.fetchStatus)&&(!ea||!!ea(et))}function ef(Y,et){let{exact:en,status:ei,predicate:eo,mutationKey:ea}=Y;if(ea){if(!et.options.mutationKey)return!1;if(en){if(ep(et.options.mutationKey)!==ep(ea))return!1}else if(!em(et.options.mutationKey,ea))return!1}return(!ei||et.state.status===ei)&&(!eo||!!eo(et))}function eh(Y,et){let en=et?.queryKeyHashFn||ep;return en(Y)}function ep(Y){return JSON.stringify(Y,(Y,et)=>ek(et)?Object.keys(et).sort().reduce((Y,en)=>(Y[en]=et[en],Y),{}):et)}function em(Y,et){return Y===et||typeof Y==typeof et&&!!Y&&!!et&&"object"==typeof Y&&"object"==typeof et&&!Object.keys(et).some(en=>!em(Y[en],et[en]))}function eg(Y,et){if(Y===et)return Y;let en=eb(Y)&&eb(et);if(en||ek(Y)&&ek(et)){let ei=en?Y.length:Object.keys(Y).length,eo=en?et:Object.keys(et),ea=eo.length,eu=en?[]:{},ec=0;for(let ei=0;ei<ea;ei++){let ea=en?ei:eo[ei];eu[ea]=eg(Y[ea],et[ea]),eu[ea]===Y[ea]&&ec++}return ei===ea&&ec===ei?Y:eu}return et}function ey(Y,et){if(Y&&!et||et&&!Y)return!1;for(let en in Y)if(Y[en]!==et[en])return!1;return!0}function eb(Y){return Array.isArray(Y)&&Y.length===Object.keys(Y).length}function ek(Y){if(!ew(Y))return!1;let et=Y.constructor;if(void 0===et)return!0;let en=et.prototype;return!!(ew(en)&&en.hasOwnProperty("isPrototypeOf"))}function ew(Y){return"[object Object]"===Object.prototype.toString.call(Y)}function e_(Y){return new Promise(et=>{setTimeout(et,Y)})}function eE(Y){e_(0).then(Y)}function eC(Y,et,en){return"function"==typeof en.structuralSharing?en.structuralSharing(Y,et):!1!==en.structuralSharing?eg(Y,et):et}function eT(Y){return Y}function eS(Y,et,en=0){let ei=[...Y,et];return en&&ei.length>en?ei.slice(1):ei}function eA(Y,et,en=0){let ei=[et,...Y];return en&&ei.length>en?ei.slice(0,-1):ei}},82473:function(Y,et,en){"use strict";en.d(et,{NL:function(){return ea},aH:function(){return eu}});var ei=en(70079),eo=ei.createContext(void 0),ea=Y=>{let et=ei.useContext(eo);if(Y)return Y;if(!et)throw Error("No QueryClient set, use QueryClientProvider to set one");return et},eu=({client:Y,children:et})=>(ei.useEffect(()=>(Y.mount(),()=>{Y.unmount()}),[Y]),ei.createElement(eo.Provider,{value:Y},et))},24262:function(Y,et,en){"use strict";en.d(et,{_:function(){return eu}});var ei=en(70079);function eo(){let Y=!1;return{clearReset:()=>{Y=!1},reset:()=>{Y=!0},isReset:()=>Y}}var ea=ei.createContext(eo()),eu=()=>ei.useContext(ea)},23217:function(Y,et,en){"use strict";en.d(et,{JN:function(){return eu},KJ:function(){return ec},pf:function(){return ea}});var ei=en(70079),eo=en(73390),ea=(Y,et)=>{(Y.suspense||Y.throwOnError)&&!et.isReset()&&(Y.retryOnMount=!1)},eu=Y=>{ei.useEffect(()=>{Y.clearReset()},[Y])},ec=({result:Y,errorResetBoundary:et,throwOnError:en,query:ei})=>Y.isError&&!et.isReset()&&!Y.isFetching&&(0,eo.L)(en,[Y.error,ei])},76747:function(Y,et,en){"use strict";en.d(et,{S:function(){return ea}});var ei=en(70079),eo=ei.createContext(!1),ea=()=>ei.useContext(eo);eo.Provider},91006:function(Y,et,en){"use strict";function ei(Y){return Y}en.d(et,{C:function(){return ei}})},57248:function(Y,et,en){"use strict";en.d(et,{Fb:function(){return ei},SB:function(){return ea},Z$:function(){return eo},j8:function(){return eu}});var ei=Y=>{Y.suspense&&"number"!=typeof Y.staleTime&&(Y.staleTime=1e3)},eo=(Y,et)=>Y.isLoading&&Y.isFetching&&!et,ea=(Y,et,en)=>Y?.suspense&&eo(et,en),eu=(Y,et,en)=>et.fetchOptimistic(Y).catch(()=>{en.clearReset()})},68700:function(Y,et,en){"use strict";en.d(et,{r:function(){return eh}});var ei=en(70079),eo=en(39743),ea=en(24262),eu=en(82473),ec=en(76747),ed=en(23217),ef=en(57248);function eh(Y,et,en){let eh=(0,eu.NL)(en),ep=(0,ec.S)(),em=(0,ea._)(),eg=eh.defaultQueryOptions(Y);eg._optimisticResults=ep?"isRestoring":"optimistic",(0,ef.Fb)(eg),(0,ed.pf)(eg,em),(0,ed.JN)(em);let[ey]=ei.useState(()=>new et(eh,eg)),eb=ey.getOptimisticResult(eg);if(ei.useSyncExternalStore(ei.useCallback(Y=>{let et=ep?()=>void 0:ey.subscribe(eo.V.batchCalls(Y));return ey.updateResult(),et},[ey,ep]),()=>ey.getCurrentResult(),()=>ey.getCurrentResult()),ei.useEffect(()=>{ey.setOptions(eg,{listeners:!1})},[eg,ey]),(0,ef.SB)(eg,eb,ep))throw(0,ef.j8)(eg,ey,em);if((0,ed.KJ)({result:eb,errorResetBoundary:em,throwOnError:eg.throwOnError,query:ey.getCurrentQuery()}))throw eb.error;return eg.notifyOnChangeProps?eb:ey.trackResult(eb)}},82685:function(Y,et,en){"use strict";en.d(et,{N:function(){return ec}});var ei=en(60083),eo=en(23418),ea=class extends ei.z{constructor(Y,et){super(Y,et)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(Y,et){super.setOptions({...Y,behavior:(0,eo.Gm)()},et)}getOptimisticResult(Y){return Y.behavior=(0,eo.Gm)(),super.getOptimisticResult(Y)}fetchNextPage(Y){return this.fetch({...Y,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(Y){return this.fetch({...Y,meta:{fetchMore:{direction:"backward"}}})}createResult(Y,et){let{state:en}=Y,ei=super.createResult(Y,et),{isFetching:ea,isRefetching:eu}=ei,ec=ea&&en.fetchMeta?.fetchMore?.direction==="forward",ed=ea&&en.fetchMeta?.fetchMore?.direction==="backward";return{...ei,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,eo.Qy)(et,en.data),hasPreviousPage:(0,eo.ZF)(et,en.data),isFetchingNextPage:ec,isFetchingPreviousPage:ed,isRefetching:eu&&!ec&&!ed}}},eu=en(68700);function ec(Y,et){return(0,eu.r)(Y,ea,et)}},25494:function(Y,et,en){"use strict";en.d(et,{D:function(){return ep}});var ei=en(70079),eo=en(28049),ea=en(39743),eu=en(74349),ec=en(52134),ed=class extends eu.l{constructor(Y,et){super(),this.#R=void 0,this.#e=Y,this.setOptions(et),this.bindMethods(),this.#en()}#e;#R;#er;#ei;bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(Y){let et=this.options;this.options=this.#e.defaultMutationOptions(Y),(0,ec.VS)(et,this.options)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#er,observer:this}),this.#er?.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#er?.removeObserver(this)}onMutationUpdate(Y){this.#en(),this.#c(Y)}getCurrentResult(){return this.#R}reset(){this.#er=void 0,this.#en(),this.#c()}mutate(Y,et){return this.#ei=et,this.#er?.removeObserver(this),this.#er=this.#e.getMutationCache().build(this.#e,this.options),this.#er.addObserver(this),this.#er.execute(Y)}#en(){let Y=this.#er?.state??(0,eo.R)();this.#R={...Y,isPending:"pending"===Y.status,isSuccess:"success"===Y.status,isError:"error"===Y.status,isIdle:"idle"===Y.status,mutate:this.mutate,reset:this.reset}}#c(Y){ea.V.batch(()=>{this.#ei&&this.hasListeners()&&(Y?.type==="success"?(this.#ei.onSuccess?.(Y.data,this.#R.variables,this.#R.context),this.#ei.onSettled?.(Y.data,null,this.#R.variables,this.#R.context)):Y?.type==="error"&&(this.#ei.onError?.(Y.error,this.#R.variables,this.#R.context),this.#ei.onSettled?.(void 0,Y.error,this.#R.variables,this.#R.context))),this.listeners.forEach(Y=>{Y(this.#R)})})}},ef=en(82473),eh=en(73390);function ep(Y,et){let en=(0,ef.NL)(et),[eo]=ei.useState(()=>new ed(en,Y));ei.useEffect(()=>{eo.setOptions(Y)},[eo,Y]);let eu=ei.useSyncExternalStore(ei.useCallback(Y=>eo.subscribe(ea.V.batchCalls(Y)),[eo]),()=>eo.getCurrentResult(),()=>eo.getCurrentResult()),ec=ei.useCallback((Y,et)=>{eo.mutate(Y,et).catch(em)},[eo]);if(eu.error&&(0,eh.L)(eo.options.throwOnError,[eu.error]))throw eu.error;return{...eu,mutate:ec,mutateAsync:eu.mutate}}function em(){}},61236:function(Y,et,en){"use strict";en.d(et,{a:function(){return ea}});var ei=en(60083),eo=en(68700);function ea(Y,et){return(0,eo.r)(Y,ei.z,et)}},73390:function(Y,et,en){"use strict";function ei(Y,et){return"function"==typeof Y?Y(...et):!!Y}en.d(et,{L:function(){return ei}})},60696:function(Y,et,en){"use strict";function ei(Y,et,en){et.split&&(et=et.split("."));for(var ei,eo,ea=0,eu=et.length,ec=Y;ea<eu&&"__proto__"!==(eo=et[ea++])&&"constructor"!==eo&&"prototype"!==eo;)ec=ec[eo]=ea===eu?en:typeof(ei=ec[eo])==typeof et?ei:0*et[ea]!=0||~(""+et[ea]).indexOf(".")?{}:[]}en.d(et,{N:function(){return ei}})},99419:function(Y,et,en){"use strict";en.d(et,{S:function(){return eC}});var ei=en(30309),eo=en(43419),ea=en(83813),eu=en(32025);let ec=.001,ed=.01,ef=10,eh=.05,ep=1;function em({duration:Y=800,bounce:et=.25,velocity:en=0,mass:eo=1}){let em,eg;(0,ea.K)(Y<=(0,ei.w)(ef),"Spring duration must be 10 seconds or less");let ek=1-et;ek=(0,eu.u)(eh,ep,ek),Y=(0,eu.u)(ed,ef,(0,ei.X)(Y)),ek<1?(em=et=>{let ei=et*ek,eo=ei*Y,ea=ei-en,eu=eb(et,ek),ed=Math.exp(-eo);return ec-ea/eu*ed},eg=et=>{let ei=et*ek,eo=ei*Y,ea=eo*en+en,eu=Math.pow(ek,2)*Math.pow(et,2)*Y,ed=Math.exp(-eo),ef=eb(Math.pow(et,2),ek),eh=-em(et)+ec>0?-1:1;return eh*((ea-eu)*ed)/ef}):(em=et=>{let ei=Math.exp(-et*Y),eo=(et-en)*Y+1;return-ec+ei*eo},eg=et=>{let ei=Math.exp(-et*Y),eo=(en-et)*(Y*Y);return ei*eo});let ew=5/Y,e_=ey(em,eg,ew);if(Y=(0,ei.w)(Y),isNaN(e_))return{stiffness:100,damping:10,duration:Y};{let et=Math.pow(e_,2)*eo;return{stiffness:et,damping:2*ek*Math.sqrt(eo*et),duration:Y}}}let eg=12;function ey(Y,et,en){let ei=en;for(let en=1;en<eg;en++)ei-=Y(ei)/et(ei);return ei}function eb(Y,et){return Y*Math.sqrt(1-et*et)}let ek=["duration","bounce"],ew=["stiffness","damping","mass"];function e_(Y,et){return et.some(et=>void 0!==Y[et])}function eE(Y){let et={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...Y};if(!e_(Y,ew)&&e_(Y,ek)){let en=em(Y);(et={...et,...en,velocity:0,mass:1}).isResolvedFromDuration=!0}return et}function eC({keyframes:Y,restDelta:et,restSpeed:en,...ea}){let eu;let ec=Y[0],ed=Y[Y.length-1],ef={done:!1,value:ec},{stiffness:eh,damping:ep,mass:em,velocity:eg,duration:ey,isResolvedFromDuration:ek}=eE(ea),ew=eg?-(0,ei.X)(eg):0,e_=ep/(2*Math.sqrt(eh*em)),eC=ed-ec,eT=(0,ei.X)(Math.sqrt(eh/em)),eS=5>Math.abs(eC);if(en||(en=eS?.01:2),et||(et=eS?.005:.5),e_<1){let Y=eb(eT,e_);eu=et=>{let en=Math.exp(-e_*eT*et);return ed-en*((ew+e_*eT*eC)/Y*Math.sin(Y*et)+eC*Math.cos(Y*et))}}else if(1===e_)eu=Y=>ed-Math.exp(-eT*Y)*(eC+(ew+eT*eC)*Y);else{let Y=eT*Math.sqrt(e_*e_-1);eu=et=>{let en=Math.exp(-e_*eT*et),ei=Math.min(Y*et,300);return ed-en*((ew+e_*eT*eC)*Math.sinh(ei)+Y*eC*Math.cosh(ei))/Y}}return{calculatedDuration:ek&&ey||null,next:Y=>{let ei=eu(Y);if(ek)ef.done=Y>=ey;else{let ea=ew;0!==Y&&(ea=e_<1?(0,eo.P)(eu,Y,ei):0);let ec=Math.abs(ea)<=en,eh=Math.abs(ed-ei)<=et;ef.done=ec&&eh}return ef.value=ef.done?ed:ei,ef}}}},40185:function(Y,et,en){"use strict";en.d(et,{E:function(){return ei},i:function(){return eo}});let ei=2e4;function eo(Y){let et=0,en=50,eo=Y.next(et);for(;!eo.done&&et<ei;)et+=en,eo=Y.next(et);return et>=ei?1/0:et}},43419:function(Y,et,en){"use strict";en.d(et,{P:function(){return ea}});var ei=en(6899);let eo=5;function ea(Y,et,en){let ea=Math.max(et-eo,0);return(0,ei.R)(en-Y(ea),et-ea)}},77359:function(Y,et,en){"use strict";en.d(et,{v:function(){return tm}});var ei=en(83813),eo=en(30309);let ea={current:!1};var eu=en(3831);let ec=Y=>Array.isArray(Y)&&"number"==typeof Y[0];function ed(Y){return!!(!Y||"string"==typeof Y&&eh[Y]||ec(Y)||Array.isArray(Y)&&Y.every(ed))}let ef=([Y,et,en,ei])=>`cubic-bezier(${Y}, ${et}, ${en}, ${ei})`,eh={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ef([0,.65,.55,1]),circOut:ef([.55,0,1,.45]),backIn:ef([.31,.01,.66,-.59]),backOut:ef([.33,1.53,.69,.99])};function ep(Y){if(Y)return ec(Y)?ef(Y):Array.isArray(Y)?Y.map(ep):eh[Y]}function em(Y,et,en,{delay:ei=0,duration:eo,repeat:ea=0,repeatType:eu="loop",ease:ec,times:ed}={}){let ef={[et]:en};ed&&(ef.offset=ed);let eh=ep(ec);return Array.isArray(eh)&&(ef.easing=eh),Y.animate(ef,{delay:ei,duration:eo,easing:Array.isArray(eh)?"linear":eh,fill:"both",iterations:ea+1,direction:"reverse"===eu?"alternate":"normal"})}let eg={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},ey={},eb={};for(let Y in eg)eb[Y]=()=>(void 0===ey[Y]&&(ey[Y]=eg[Y]()),ey[Y]);function ek(Y,{repeat:et,repeatType:en="loop"}){let ei=et&&"loop"!==en&&et%2==1?0:Y.length-1;return Y[ei]}var ew=en(55068);let e_=(0,ew._)(.42,0,1,1),eE=(0,ew._)(0,0,.58,1),eC=(0,ew._)(.42,0,.58,1);var eT=en(87292),eS=en(51734),eA=en(9651),eM=en(61135),eP=en(78445);let ej=(0,ew._)(.33,1.53,.69,.99),eO=(0,eP.M)(ej),eI=(0,eM.o)(eO),eN=Y=>(Y*=2)<1?.5*eO(Y):.5*(2-Math.pow(2,-10*(Y-1))),eL={linear:eS.Z,easeIn:e_,easeInOut:eC,easeOut:eE,circIn:eA.Z7,circInOut:eA.X7,circOut:eA.Bn,backIn:eO,backInOut:eI,backOut:ej,anticipate:eN},eR=Y=>{if(Array.isArray(Y)){(0,ei.k)(4===Y.length,"Cubic bezier arrays must contain four numerical values.");let[et,en,eo,ea]=Y;return(0,ew._)(et,en,eo,ea)}return"string"==typeof Y?((0,ei.k)(void 0!==eL[Y],`Invalid easing type '${Y}'`),eL[Y]):Y};var eD=en(71790),eF=en(61293);function eB(Y,et){return Y.map(Y=>Y*et)}function ez(Y,et){return Y.map(()=>et||eC).splice(0,Y.length-1)}function eU({duration:Y=300,keyframes:et,times:en,ease:ei="easeInOut"}){let eo=(0,eT.N)(ei)?ei.map(eR):eR(ei),ea={done:!1,value:et[0]},eu=eB(en&&en.length===et.length?en:(0,eF.Y)(et),Y),ec=(0,eD.s)(eu,et,{ease:Array.isArray(eo)?eo:ez(et,eo)});return{calculatedDuration:Y,next:et=>(ea.value=ec(et),ea.done=et>=Y,ea)}}var eH=en(99419),eG=en(43419);function eV({keyframes:Y,velocity:et=0,power:en=.8,timeConstant:ei=325,bounceDamping:eo=10,bounceStiffness:ea=500,modifyTarget:eu,min:ec,max:ed,restDelta:ef=.5,restSpeed:eh}){let ep,em;let eg=Y[0],ey={done:!1,value:eg},eb=Y=>void 0!==ec&&Y<ec||void 0!==ed&&Y>ed,ek=Y=>void 0===ec?ed:void 0===ed?ec:Math.abs(ec-Y)<Math.abs(ed-Y)?ec:ed,ew=en*et,e_=eg+ew,eE=void 0===eu?e_:eu(e_);eE!==e_&&(ew=eE-eg);let eC=Y=>-ew*Math.exp(-Y/ei),eT=Y=>eE+eC(Y),eS=Y=>{let et=eC(Y),en=eT(Y);ey.done=Math.abs(et)<=ef,ey.value=ey.done?eE:en},eA=Y=>{eb(ey.value)&&(ep=Y,em=(0,eH.S)({keyframes:[ey.value,ek(ey.value)],velocity:(0,eG.P)(eT,Y,ey.value),damping:eo,stiffness:ea,restDelta:ef,restSpeed:eh}))};return eA(0),{calculatedDuration:null,next:Y=>{let et=!1;return(em||void 0!==ep||(et=!0,eS(Y),eA(Y)),void 0!==ep&&Y>ep)?em.next(Y-ep):(et||eS(Y),ey)}}}var eW=en(87699);let eZ=Y=>{let et=({timestamp:et})=>Y(et);return{start:()=>eu.Wi.update(et,!0),stop:()=>(0,eu.Pn)(et),now:()=>eW.w.isProcessing?eW.w.timestamp:performance.now()}};var eK=en(32025),e$=en(40185);let eY={decay:eV,inertia:eV,tween:eU,keyframes:eU,spring:eH.S};function eQ({autoplay:Y=!0,delay:et=0,driver:en=eZ,keyframes:ei,type:ea="keyframes",repeat:eu=0,repeatDelay:ec=0,repeatType:ed="loop",onPlay:ef,onStop:eh,onComplete:ep,onUpdate:em,...eg}){let ey,eb,ek,ew,e_,eE=1,eC=!1,eT=()=>{ey&&ey(),eb=new Promise(Y=>{ey=Y})};eT();let eS=eY[ea]||eU;eS!==eU&&"number"!=typeof ei[0]&&(ew=(0,eD.s)([0,100],ei,{clamp:!1}),ei=[0,100]);let eA=eS({...eg,keyframes:ei});"mirror"===ed&&(e_=eS({...eg,keyframes:[...ei].reverse(),velocity:-(eg.velocity||0)}));let eM="idle",eP=null,ej=null,eO=null;null===eA.calculatedDuration&&eu&&(eA.calculatedDuration=(0,e$.i)(eA));let{calculatedDuration:eI}=eA,eN=1/0,eL=1/0;null!==eI&&(eL=(eN=eI+ec)*(eu+1)-ec);let eR=0,eF=Y=>{if(null===ej)return;eE>0&&(ej=Math.min(ej,Y)),eR=null!==eP?eP:(Y-ej)*eE;let en=eR-et,eo=en<0;eR=Math.max(en,0),"finished"===eM&&null===eP&&(eR=eL);let ea=eR,ef=eA;if(eu){let Y=eR/eN,et=Math.floor(Y),en=Y%1;!en&&Y>=1&&(en=1),1===en&&et--,et=Math.min(et,eu+1);let ei=!!(et%2);ei&&("reverse"===ed?(en=1-en,ec&&(en-=ec/eN)):"mirror"===ed&&(ef=e_));let eo=(0,eK.u)(0,1,en);eR>eL&&(eo="reverse"===ed&&ei?1:0),ea=eo*eN}let eh=eo?{done:!1,value:ei[0]}:ef.next(ea);ew&&(eh.value=ew(eh.value));let{done:ep}=eh;eo||null===eI||(ep=eR>=eL);let eg=null===eP&&("finished"===eM||"running"===eM&&ep||eE<0&&eR<=0);return em&&em(eh.value),eg&&eH(),eh},eB=()=>{ek&&ek.stop(),ek=void 0},ez=()=>{eM="idle",eB(),eT(),ej=eO=null},eH=()=>{eM="finished",ep&&ep(),eB(),eT()},eG=()=>{if(eC)return;ek||(ek=en(eF));let Y=ek.now();ef&&ef(),null!==eP?ej=Y-eP:ej&&"finished"!==eM||(ej=Y),eO=ej,eP=null,eM="running",ek.start()};Y&&eG();let eV={then:(Y,et)=>eb.then(Y,et),get time(){return(0,eo.X)(eR)},set time(newTime){eR=newTime=(0,eo.w)(newTime),null===eP&&ek&&0!==eE?ej=ek.now()-newTime/eE:eP=newTime},get duration(){let Y=null===eA.calculatedDuration?(0,e$.i)(eA):eA.calculatedDuration;return(0,eo.X)(Y)},get speed(){return eE},set speed(newSpeed){if(newSpeed===eE||!ek)return;eE=newSpeed,eV.time=(0,eo.X)(eR)},get state(){return eM},play:eG,pause:()=>{eM="paused",eP=eR},stop:()=>{eC=!0,"idle"!==eM&&(eM="idle",eh&&eh(),ez())},cancel:()=>{null!==eO&&eF(eO),ez()},complete:()=>{eM="finished"},sample:Y=>(ej=0,eF(Y))};return eV}let eX=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),eJ=10,e0=2e4,e9=(Y,et)=>"spring"===et.type||"backgroundColor"===Y||!ed(et.ease);function e5(Y,et,{onUpdate:en,onComplete:ei,...ea}){let ec,ed;let ef=eb.waapi()&&eX.has(et)&&!ea.repeatDelay&&"mirror"!==ea.repeatType&&0!==ea.damping&&"inertia"!==ea.type;if(!ef)return!1;let eh=!1,ep=()=>{ed=new Promise(Y=>{ec=Y})};ep();let{keyframes:eg,duration:ey=300,ease:ew,times:e_}=ea;if(e9(et,ea)){let Y=eQ({...ea,repeat:0,delay:0}),et={done:!1,value:eg[0]},en=[],ei=0;for(;!et.done&&ei<e0;)en.push((et=Y.sample(ei)).value),ei+=eJ;e_=void 0,eg=en,ey=ei-eJ,ew="linear"}let eE=em(Y.owner.current,et,eg,{...ea,duration:ey,ease:ew,times:e_}),eC=()=>eE.cancel(),eT=()=>{eu.Wi.update(eC),ec(),ep()};return eE.onfinish=()=>{Y.set(ek(eg,ea)),ei&&ei(),eT()},{then:(Y,et)=>ed.then(Y,et),get time(){return(0,eo.X)(eE.currentTime||0)},set time(newTime){eE.currentTime=(0,eo.w)(newTime)},get speed(){return eE.playbackRate},set speed(newSpeed){eE.playbackRate=newSpeed},get duration(){return(0,eo.X)(ey)},play:()=>{eh||(eE.play(),(0,eu.Pn)(eC))},pause:()=>eE.pause(),stop:()=>{if(eh=!0,"idle"===eE.playState)return;let{currentTime:et}=eE;if(et){let en=eQ({...ea,autoplay:!1});Y.setWithVelocity(en.sample(et-eJ).value,en.sample(et).value,eJ)}eT()},complete:()=>eE.finish(),cancel:eT}}function e4({keyframes:Y,delay:et,onUpdate:en,onComplete:ei}){let eo=()=>(en&&en(Y[Y.length-1]),ei&&ei(),{time:0,speed:1,duration:0,play:eS.Z,pause:eS.Z,stop:eS.Z,then:Y=>(Y(),Promise.resolve()),cancel:eS.Z,complete:eS.Z});return et?eQ({keyframes:[0,1],duration:0,delay:et,onComplete:eo}):eo()}var e3=en(71863);let e6={type:"spring",stiffness:500,damping:25,restSpeed:10},e7=Y=>({type:"spring",stiffness:550,damping:0===Y?2*Math.sqrt(550):30,restSpeed:10}),e8={type:"keyframes",duration:.8},tt={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ta=(Y,{keyframes:et})=>et.length>2?e8:e3.G.has(Y)?Y.startsWith("scale")?e7(et[1]):e6:tt;var tu=en(58459);let tc=(Y,et)=>"zIndex"!==Y&&!!("number"==typeof et||Array.isArray(et)||"string"==typeof et&&tu.P.test(et)&&!et.startsWith("url("));var td=en(70181),tf=en(99185);function th(Y,[...et]){for(let en=0;en<et.length;en++)null===et[en]&&(et[en]=0===en?Y:et[en-1]);return et}function tp(Y,et,en,ei){let eo=tc(et,en),ea=void 0!==ei.from?ei.from:Y.get();return("none"===ea&&eo&&"string"==typeof en?ea=(0,td.T)(et,en):(0,tf.Fr)(ea)&&"string"==typeof en?ea=(0,tf.GZ)(en):!Array.isArray(en)&&(0,tf.Fr)(en)&&"string"==typeof ea&&(en=(0,tf.GZ)(ea)),Array.isArray(en))?th(ea,en):[ea,en]}let tm=(Y,et,en,eu={})=>ec=>{let ed=(0,tf.ev)(eu,Y)||{},ef=ed.delay||eu.delay||0,{elapsed:eh=0}=eu;eh-=(0,eo.w)(ef);let ep=tp(et,Y,en,ed),em=ep[0],eg=ep[ep.length-1],ey=tc(Y,em),eb=tc(Y,eg);(0,ei.K)(ey===eb,`You are trying to animate ${Y} from "${em}" to "${eg}". ${em} is not an animatable value - to enable this animation set ${em} to a value animatable to ${eg} via the \`style\` property.`);let ek={keyframes:ep,velocity:et.getVelocity(),ease:"easeOut",...ed,delay:-eh,onUpdate:Y=>{et.set(Y),ed.onUpdate&&ed.onUpdate(Y)},onComplete:()=>{ec(),ed.onComplete&&ed.onComplete()}};if((0,tf.rw)(ed)||(ek={...ek,...ta(Y,ek)}),ek.duration&&(ek.duration=(0,eo.w)(ek.duration)),ek.repeatDelay&&(ek.repeatDelay=(0,eo.w)(ek.repeatDelay)),!ey||!eb||ea.current||!1===ed.type)return e4(ek);if(et.owner&&et.owner.current instanceof HTMLElement&&!et.owner.getProps().onUpdate){let en=e5(et,Y,ek);if(en)return en}return eQ(ek)}},64685:function(Y,et,en){"use strict";en.d(et,{D:function(){return eu}});var ei=en(77359),eo=en(41835),ea=en(79237);function eu(Y,et,en){let eu=(0,ea.i)(Y)?Y:(0,eo.B)(Y);return eu.start((0,ei.v)("",eu,et,en)),eu.animation}},61005:function(Y,et,en){"use strict";en.d(et,{w:function(){return em}});var ei=en(3831),eo=en(71863),ea=en(80359);let eu="framerAppearId",ec="data-"+(0,ea.D)(eu);var ed=en(77359),ef=en(23991),eh=en(88052);function ep({protectedKeys:Y,needsAnimating:et},en){let ei=Y.hasOwnProperty(en)&&!0!==et[en];return et[en]=!1,ei}function em(Y,et,{delay:en=0,transitionOverride:ea,type:eu}={}){let{transition:em=Y.getDefaultTransition(),transitionEnd:eg,...ey}=Y.makeTargetAnimatable(et),eb=Y.getValue("willChange");ea&&(em=ea);let ek=[],ew=eu&&Y.animationState&&Y.animationState.getState()[eu];for(let et in ey){let ea=Y.getValue(et),eu=ey[et];if(!ea||void 0===eu||ew&&ep(ew,et))continue;let eh={delay:en,elapsed:0,...em};if(window.HandoffAppearAnimations&&!ea.hasAnimated){let en=Y.getProps()[ec];en&&(eh.elapsed=window.HandoffAppearAnimations(en,et,ea,ei.Wi))}ea.start((0,ed.v)(et,ea,eu,Y.shouldReduceMotion&&eo.G.has(et)?{type:!1}:eh));let eg=ea.animation;(0,ef.L)(eb)&&(eb.add(et),eg.then(()=>eb.remove(et))),ek.push(eg)}return eg&&Promise.all(ek).then(()=>{eg&&(0,eh.CD)(Y,eg)}),ek}},26763:function(Y,et,en){"use strict";function ei(Y){return"object"==typeof Y&&"function"==typeof Y.start}en.d(et,{H:function(){return ei}})},91136:function(Y,et,en){"use strict";en.d(et,{C:function(){return ei}});let ei=Y=>Array.isArray(Y)},99185:function(Y,et,en){"use strict";en.d(et,{Fr:function(){return ea},GZ:function(){return eu},ev:function(){return ec},rw:function(){return eo}});var ei=en(70181);function eo({when:Y,delay:et,delayChildren:en,staggerChildren:ei,staggerDirection:eo,repeat:ea,repeatType:eu,repeatDelay:ec,from:ed,elapsed:ef,...eh}){return!!Object.keys(eh).length}function ea(Y){return 0===Y||"string"==typeof Y&&0===parseFloat(Y)&&-1===Y.indexOf(" ")}function eu(Y){return"number"==typeof Y?0:(0,ei.T)("",Y)}function ec(Y,et){return Y[et]||Y.default||Y}},70737:function(Y,et,en){"use strict";en.d(et,{M:function(){return eC}});var ei=en(70079),eo=en(3831),ea=en(48783);function eu(){let Y=(0,ei.useRef)(!1);return(0,ea.L)(()=>(Y.current=!0,()=>{Y.current=!1}),[]),Y}function ec(){let Y=eu(),[et,en]=(0,ei.useState)(0),ea=(0,ei.useCallback)(()=>{Y.current&&en(et+1)},[et]),ec=(0,ei.useCallback)(()=>eo.Wi.postRender(ea),[ea]);return[ec,et]}var ed=en(54561),ef=en(35375);class eh extends ei.Component{getSnapshotBeforeUpdate(Y){let et=this.props.childRef.current;if(et&&Y.isPresent&&!this.props.isPresent){let Y=this.props.sizeRef.current;Y.height=et.offsetHeight||0,Y.width=et.offsetWidth||0,Y.top=et.offsetTop,Y.left=et.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function ep({children:Y,isPresent:et}){let en=(0,ei.useId)(),eo=(0,ei.useRef)(null),ea=(0,ei.useRef)({width:0,height:0,top:0,left:0});return(0,ei.useInsertionEffect)(()=>{let{width:Y,height:ei,top:eu,left:ec}=ea.current;if(et||!eo.current||!Y||!ei)return;eo.current.dataset.motionPopId=en;let ed=document.createElement("style");return document.head.appendChild(ed),ed.sheet&&ed.sheet.insertRule(`
[data-motion-pop-id="${en}"] {
position: absolute !important;
width: ${Y}px !important;
height: ${ei}px !important;
top: ${eu}px !important;
left: ${ec}px !important;
}
`),()=>{document.head.removeChild(ed)}},[et]),ei.createElement(eh,{isPresent:et,childRef:eo,sizeRef:ea},ei.cloneElement(Y,{ref:eo}))}let em=({children:Y,initial:et,isPresent:en,onExitComplete:eo,custom:ea,presenceAffectsLayout:eu,mode:ec})=>{let eh=(0,ef.h)(eg),em=(0,ei.useId)(),ey=(0,ei.useMemo)(()=>({id:em,initial:et,isPresent:en,custom:ea,onExitComplete:Y=>{for(let et of(eh.set(Y,!0),eh.values()))if(!et)return;eo&&eo()},register:Y=>(eh.set(Y,!1),()=>eh.delete(Y))}),eu?void 0:[en]);return(0,ei.useMemo)(()=>{eh.forEach((Y,et)=>eh.set(et,!1))},[en]),ei.useEffect(()=>{en||eh.size||!eo||eo()},[en]),"popLayout"===ec&&(Y=ei.createElement(ep,{isPresent:en},Y)),ei.createElement(ed.O.Provider,{value:ey},Y)};function eg(){return new Map}var ey=en(73107);function eb(Y){return(0,ei.useEffect)(()=>()=>Y(),[])}var ek=en(83813);let ew=Y=>Y.key||"";function e_(Y,et){Y.forEach(Y=>{let en=ew(Y);et.set(en,Y)})}function eE(Y){let et=[];return ei.Children.forEach(Y,Y=>{(0,ei.isValidElement)(Y)&&et.push(Y)}),et}let eC=({children:Y,custom:et,initial:en=!0,onExitComplete:eo,exitBeforeEnter:ed,presenceAffectsLayout:ef=!0,mode:eh="sync"})=>{(0,ek.k)(!ed,"Replace exitBeforeEnter with mode='wait'");let[ep]=ec(),eg=(0,ei.useContext)(ey.p).forceRender;eg&&(ep=eg);let eC=eu(),eT=eE(Y),eS=eT,eA=new Set,eM=(0,ei.useRef)(eS),eP=(0,ei.useRef)(new Map).current,ej=(0,ei.useRef)(!0);if((0,ea.L)(()=>{ej.current=!1,e_(eT,eP),eM.current=eS}),eb(()=>{ej.current=!0,eP.clear(),eA.clear()}),ej.current)return ei.createElement(ei.Fragment,null,eS.map(Y=>ei.createElement(em,{key:ew(Y),isPresent:!0,initial:!!en&&void 0,presenceAffectsLayout:ef,mode:eh},Y)));eS=[...eS];let eO=eM.current.map(ew),eI=eT.map(ew),eN=eO.length;for(let Y=0;Y<eN;Y++){let et=eO[Y];-1===eI.indexOf(et)&&eA.add(et)}return"wait"===eh&&eA.size&&(eS=[]),eA.forEach(Y=>{if(-1!==eI.indexOf(Y))return;let en=eP.get(Y);if(!en)return;let ea=eO.indexOf(Y),eu=()=>{eP.delete(Y),eA.delete(Y);let et=eM.current.findIndex(et=>et.key===Y);if(eM.current.splice(et,1),!eA.size){if(eM.current=eT,!1===eC.current)return;ep(),eo&&eo()}};eS.splice(ea,0,ei.createElement(em,{key:ew(en),isPresent:!1,onExitComplete:eu,custom:et,presenceAffectsLayout:ef,mode:eh},en))}),eS=eS.map(Y=>{let et=Y.key;return eA.has(et)?Y:ei.createElement(em,{key:ew(Y),isPresent:!0,presenceAffectsLayout:ef,mode:eh},Y)}),ei.createElement(ei.Fragment,null,eA.size?eS:eS.map(Y=>(0,ei.cloneElement)(Y)))}},73107:function(Y,et,en){"use strict";en.d(et,{p:function(){return eo}});var ei=en(70079);let eo=(0,ei.createContext)({})},52847:function(Y,et,en){"use strict";en.d(et,{_:function(){return eo}});var ei=en(70079);let eo=(0,ei.createContext)({transformPagePoint:Y=>Y,isStatic:!1,reducedMotion:"never"})},54561:function(Y,et,en){"use strict";en.d(et,{O:function(){return eo}});var ei=en(70079);let eo=(0,ei.createContext)(null)},9651:function(Y,et,en){"use strict";en.d(et,{Bn:function(){return eu},X7:function(){return ec},Z7:function(){return ea}});var ei=en(61135),eo=en(78445);let ea=Y=>1-Math.sin(Math.acos(Y)),eu=(0,eo.M)(ea),ec=(0,ei.o)(eu)},55068:function(Y,et,en){"use strict";en.d(et,{_:function(){return ed}});var ei=en(51734);let eo=(Y,et,en)=>(((1-3*en+3*et)*Y+(3*en-6*et))*Y+3*et)*Y,ea=1e-7,eu=12;function ec(Y,et,en,ei,ec){let ed,ef;let eh=0;do(ed=eo(ef=et+(en-et)/2,ei,ec)-Y)>0?en=ef:et=ef;while(Math.abs(ed)>ea&&++eh<eu);return ef}function ed(Y,et,en,ea){if(Y===et&&en===ea)return ei.Z;let eu=et=>ec(et,0,1,Y,en);return Y=>0===Y||1===Y?Y:eo(eu(Y),et,ea)}},61135:function(Y,et,en){"use strict";en.d(et,{o:function(){return ei}});let ei=Y=>et=>et<=.5?Y(2*et)/2:(2-Y(2*(1-et)))/2},78445:function(Y,et,en){"use strict";en.d(et,{M:function(){return ei}});let ei=Y=>et=>1-Y(1-et)},87292:function(Y,et,en){"use strict";en.d(et,{N:function(){return ei}});let ei=Y=>Array.isArray(Y)&&"number"!=typeof Y[0]},87699:function(Y,et,en){"use strict";en.d(et,{w:function(){return ei}});let ei={delta:0,timestamp:0,isProcessing:!1}},3831:function(Y,et,en){"use strict";function ei(Y){let et=[],en=[],ei=0,eo=!1,ea=!1,eu=new WeakSet,ec={schedule:(Y,ea=!1,ec=!1)=>{let ed=ec&&eo,ef=ed?et:en;return ea&&eu.add(Y),-1===ef.indexOf(Y)&&(ef.push(Y),ed&&eo&&(ei=et.length)),Y},cancel:Y=>{let et=en.indexOf(Y);-1!==et&&en.splice(et,1),eu.delete(Y)},process:ed=>{if(eo){ea=!0;return}if(eo=!0,[et,en]=[en,et],en.length=0,ei=et.length)for(let en=0;en<ei;en++){let ei=et[en];ei(ed),eu.has(ei)&&(ec.schedule(ei),Y())}eo=!1,ea&&(ea=!1,ec.process(ed))}};return ec}en.d(et,{Pn:function(){return ey},Wi:function(){return eg},S6:function(){return ef}});var eo=en(87699);let ea=40,eu=!0,ec=!1,ed=["read","update","preRender","render","postRender"],ef=ed.reduce((Y,et)=>(Y[et]=ei(()=>ec=!0),Y),{}),eh=Y=>ef[Y].process(eo.w),ep=Y=>{ec=!1,eo.w.delta=eu?1e3/60:Math.max(Math.min(Y-eo.w.timestamp,ea),1),eo.w.timestamp=Y,eo.w.isProcessing=!0,ed.forEach(eh),eo.w.isProcessing=!1,ec&&(eu=!1,requestAnimationFrame(ep))},em=()=>{ec=!0,eu=!0,eo.w.isProcessing||requestAnimationFrame(ep)},eg=ed.reduce((Y,et)=>{let en=ef[et];return Y[et]=(Y,et=!1,ei=!1)=>(ec||em(),en.schedule(Y,et,ei)),Y},{});function ey(Y){ed.forEach(et=>ef[et].cancel(Y))}},32934:function(Y,et,en){"use strict";en.d(et,{A:function(){return eo}});let ei={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},eo={};for(let Y in ei)eo[Y]={isEnabled:et=>ei[Y].some(Y=>!!et[Y])}},55287:function(Y,et,en){"use strict";en.d(et,{j:function(){return ea}});var ei=en(89175),eo=en(71863);function ea(Y,{layout:et,layoutId:en}){return eo.G.has(Y)||Y.startsWith("origin")||(et||void 0!==en)&&(!!ei.P[Y]||"opacity"===Y)}},74472:function(Y,et,en){"use strict";function ei({top:Y,left:et,right:en,bottom:ei}){return{x:{min:et,max:en},y:{min:Y,max:ei}}}function eo({x:Y,y:et}){return{top:et.min,right:Y.max,bottom:et.max,left:Y.min}}function ea(Y,et){if(!et)return Y;let en=et({x:Y.left,y:Y.top}),ei=et({x:Y.right,y:Y.bottom});return{top:en.y,left:en.x,bottom:ei.y,right:ei.x}}en.d(et,{d7:function(){return ea},i8:function(){return ei},z2:function(){return eo}})},33156:function(Y,et,en){"use strict";en.d(et,{D2:function(){return eb},YY:function(){return ef},am:function(){return ep},o2:function(){return ed},q2:function(){return ea}});var ei=en(31914),eo=en(65062);function ea(Y,et,en){let ei=Y-en,eo=et*ei;return en+eo}function eu(Y,et,en,ei,eo){return void 0!==eo&&(Y=ea(Y,eo,ei)),ea(Y,en,ei)+et}function ec(Y,et=0,en=1,ei,eo){Y.min=eu(Y.min,et,en,ei,eo),Y.max=eu(Y.max,et,en,ei,eo)}function ed(Y,{x:et,y:en}){ec(Y.x,et.translate,et.scale,et.originPoint),ec(Y.y,en.translate,en.scale,en.originPoint)}function ef(Y,et,en,ei=!1){let ea,eu;let ec=en.length;if(ec){et.x=et.y=1;for(let ef=0;ef<ec;ef++){eu=(ea=en[ef]).projectionDelta;let ec=ea.instance;(!ec||!ec.style||"contents"!==ec.style.display)&&(ei&&ea.options.layoutScroll&&ea.scroll&&ea!==ea.root&&eb(Y,{x:-ea.scroll.offset.x,y:-ea.scroll.offset.y}),eu&&(et.x*=eu.x.scale,et.y*=eu.y.scale,ed(Y,eu)),ei&&(0,eo.ud)(ea.latestValues)&&eb(Y,ea.latestValues))}et.x=eh(et.x),et.y=eh(et.y)}}function eh(Y){return Number.isInteger(Y)?Y:Y>1.0000000000001||Y<.999999999999?Y:1}function ep(Y,et){Y.min=Y.min+et,Y.max=Y.max+et}function em(Y,et,[en,eo,ea]){let eu=void 0!==et[ea]?et[ea]:.5,ed=(0,ei.C)(Y.min,Y.max,eu);ec(Y,et[en],et[eo],ed,et.scale)}let eg=["x","scaleX","originX"],ey=["y","scaleY","originY"];function eb(Y,et){em(Y.x,et,eg),em(Y.y,et,ey)}},6266:function(Y,et,en){"use strict";en.d(et,{dO:function(){return eu},wc:function(){return eo}});let ei=()=>({translate:0,scale:1,origin:0,originPoint:0}),eo=()=>({x:ei(),y:ei()}),ea=()=>({min:0,max:0}),eu=()=>({x:ea(),y:ea()})},89175:function(Y,et,en){"use strict";en.d(et,{B:function(){return eo},P:function(){return ei}});let ei={};function eo(Y){Object.assign(ei,Y)}},65062:function(Y,et,en){"use strict";function ei(Y){return void 0===Y||1===Y}function eo({scale:Y,scaleX:et,scaleY:en}){return!ei(Y)||!ei(et)||!ei(en)}function ea(Y){return eo(Y)||eu(Y)||Y.z||Y.rotate||Y.rotateX||Y.rotateY}function eu(Y){return ec(Y.x)||ec(Y.y)}function ec(Y){return Y&&"0%"!==Y}en.d(et,{D_:function(){return eu},Lj:function(){return eo},ud:function(){return ea}})},76077:function(Y,et,en){"use strict";en.d(et,{J:function(){return ea},z:function(){return eu}});var ei=en(74472),eo=en(33156);function ea(Y,et){return(0,ei.i8)((0,ei.d7)(Y.getBoundingClientRect(),et))}function eu(Y,et,en){let ei=ea(Y,en),{scroll:eu}=et;return eu&&((0,eo.am)(ei.x,eu.offset.x),(0,eo.am)(ei.y,eu.offset.y)),ei}},91385:function(Y,et,en){"use strict";en.d(et,{J:function(){return e6}});var ei=en(88052),eo=en(83813),ea=en(29858);let eu=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ec(Y){let et=eu.exec(Y);if(!et)return[,];let[,en,ei]=et;return[en,ei]}let ed=4;function ef(Y,et,en=1){(0,eo.k)(en<=ed,`Max CSS variable fallback depth detected in property "${Y}". This may indicate a circular fallback dependency.`);let[ei,eu]=ec(Y);if(!ei)return;let eh=window.getComputedStyle(et).getPropertyValue(ei);return eh?eh.trim():(0,ea.tm)(eu)?ef(eu,et,en+1):eu}function eh(Y,{...et},en){let ei=Y.current;if(!(ei instanceof Element))return{target:et,transitionEnd:en};for(let eo in en&&(en={...en}),Y.values.forEach(Y=>{let et=Y.get();if(!(0,ea.tm)(et))return;let en=ef(et,ei);en&&Y.set(en)}),et){let Y=et[eo];if(!(0,ea.tm)(Y))continue;let eu=ef(Y,ei);eu&&(et[eo]=eu,en||(en={}),void 0===en[eo]&&(en[eo]=Y))}return{target:et,transitionEnd:en}}var ep=en(91136),em=en(71863),eg=en(71707),ey=en(36780),eb=en(97932),ek=en(81957);let ew=new Set(["width","height","top","left","right","bottom","x","y"]),e_=Y=>ew.has(Y),eE=Y=>Object.keys(Y).some(e_),eC=Y=>Y===eb.Rx||Y===ek.px,eT=(Y,et)=>parseFloat(Y.split(", ")[et]),eS=(Y,et)=>(en,{transform:ei})=>{if("none"===ei||!ei)return 0;let eo=ei.match(/^matrix3d\((.+)\)$/);if(eo)return eT(eo[1],et);{let et=ei.match(/^matrix\((.+)\)$/);return et?eT(et[1],Y):0}},eA=new Set(["x","y","z"]),eM=em._.filter(Y=>!eA.has(Y));function eP(Y){let et=[];return eM.forEach(en=>{let ei=Y.getValue(en);void 0!==ei&&(et.push([en,ei.get()]),ei.set(en.startsWith("scale")?1:0))}),et.length&&Y.render(),et}let ej={width:({x:Y},{paddingLeft:et="0",paddingRight:en="0"})=>Y.max-Y.min-parseFloat(et)-parseFloat(en),height:({y:Y},{paddingTop:et="0",paddingBottom:en="0"})=>Y.max-Y.min-parseFloat(et)-parseFloat(en),top:(Y,{top:et})=>parseFloat(et),left:(Y,{left:et})=>parseFloat(et),bottom:({y:Y},{top:et})=>parseFloat(et)+(Y.max-Y.min),right:({x:Y},{left:et})=>parseFloat(et)+(Y.max-Y.min),x:eS(4,13),y:eS(5,14)},eO=(Y,et,en)=>{let ei=et.measureViewportBox(),eo=et.current,ea=getComputedStyle(eo),{display:eu}=ea,ec={};"none"===eu&&et.setStaticValue("display",Y.display||"block"),en.forEach(Y=>{ec[Y]=ej[Y](ei,ea)}),et.render();let ed=et.measureViewportBox();return en.forEach(en=>{let ei=et.getValue(en);ei&&ei.jump(ec[en]),Y[en]=ej[en](ed,ea)}),Y},eI=(Y,et,en={},ei={})=>{et={...et},ei={...ei};let ea=Object.keys(et).filter(e_),eu=[],ec=!1,ed=[];if(ea.forEach(ea=>{let ef;let eh=Y.getValue(ea);if(!Y.hasValue(ea))return;let em=en[ea],ey=(0,eg.C)(em),eb=et[ea];if((0,ep.C)(eb)){let Y=eb.length,et=null===eb[0]?1:0;em=eb[et],ey=(0,eg.C)(em);for(let en=et;en<Y&&null!==eb[en];en++)ef?(0,eo.k)((0,eg.C)(eb[en])===ef,"All keyframes must be of the same type"):(ef=(0,eg.C)(eb[en]),(0,eo.k)(ef===ey||eC(ey)&&eC(ef),"Keyframes must be of the same dimension as the current value"))}else ef=(0,eg.C)(eb);if(ey!==ef){if(eC(ey)&&eC(ef)){let Y=eh.get();"string"==typeof Y&&eh.set(parseFloat(Y)),"string"==typeof eb?et[ea]=parseFloat(eb):Array.isArray(eb)&&ef===ek.px&&(et[ea]=eb.map(parseFloat))}else(null==ey?void 0:ey.transform)&&(null==ef?void 0:ef.transform)&&(0===em||0===eb)?0===em?eh.set(ef.transform(em)):et[ea]=ey.transform(eb):(ec||(eu=eP(Y),ec=!0),ed.push(ea),ei[ea]=void 0!==ei[ea]?ei[ea]:et[ea],eh.jump(eb))}}),!ed.length)return{target:et,transitionEnd:ei};{let en=ed.indexOf("height")>=0?window.pageYOffset:null,eo=eO(et,Y,ed);return eu.length&&eu.forEach(([et,en])=>{Y.getValue(et).set(en)}),Y.render(),ey.j&&null!==en&&window.scrollTo({top:en}),{target:eo,transitionEnd:ei}}};function eN(Y,et,en,ei){return eE(et)?eI(Y,et,en,ei):{target:et,transitionEnd:ei}}let eL=(Y,et,en,ei)=>{let eo=eh(Y,et,ei);return et=eo.target,ei=eo.transitionEnd,eN(Y,et,en,ei)};var eR=en(3831),eD=en(6266),eF=en(64056);let eB={current:null},ez={current:!1};function eU(){if(ez.current=!0,ey.j){if(window.matchMedia){let Y=window.matchMedia("(prefers-reduced-motion)"),et=()=>eB.current=Y.matches;Y.addListener(et),et()}else eB.current=!1}}var eH=en(31563),eG=en(41835),eV=en(23991),eW=en(79237),eZ=en(98261),eK=en(18094);function e$(Y,et,en){let{willChange:ei}=et;for(let eo in et){let ea=et[eo],eu=en[eo];if((0,eW.i)(ea))Y.addValue(eo,ea),(0,eV.L)(ei)&&ei.add(eo);else if((0,eW.i)(eu))Y.addValue(eo,(0,eG.B)(ea,{owner:Y})),(0,eV.L)(ei)&&ei.remove(eo);else if(eu!==ea){if(Y.hasValue(eo)){let et=Y.getValue(eo);et.hasAnimated||et.set(ea)}else{let et=Y.getStaticValue(eo);Y.addValue(eo,(0,eG.B)(void 0!==et?et:ea,{owner:Y}))}}}for(let ei in en)void 0===et[ei]&&Y.removeValue(ei);return et}var eY=en(30959),eQ=en(32934),eX=en(68988),eJ=en(30124);let e0=Object.keys(eQ.A),e9=e0.length,e5=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],e4=eX.V.length;class e3{constructor({parent:Y,props:et,presenceContext:en,reducedMotionConfig:ei,visualState:eo},ea={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>eR.Wi.render(this.render,!1,!0);let{latestValues:eu,renderState:ec}=eo;this.latestValues=eu,this.baseTarget={...eu},this.initialValues=et.initial?{...eu}:{},this.renderState=ec,this.parent=Y,this.props=et,this.presenceContext=en,this.depth=Y?Y.depth+1:0,this.reducedMotionConfig=ei,this.options=ea,this.isControllingVariants=(0,eZ.G)(et),this.isVariantNode=(0,eZ.M)(et),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(Y&&Y.current);let{willChange:ed,...ef}=this.scrapeMotionValuesFromProps(et,{});for(let Y in ef){let et=ef[Y];void 0!==eu[Y]&&(0,eW.i)(et)&&(et.set(eu[Y],!1),(0,eV.L)(ed)&&ed.add(Y))}}scrapeMotionValuesFromProps(Y,et){return{}}mount(Y){this.current=Y,eJ.R.set(Y,this),this.projection&&this.projection.mount(Y),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((Y,et)=>this.bindToMotionValue(et,Y)),ez.current||eU(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||eB.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let Y in eJ.R.delete(this.current),this.projection&&this.projection.unmount(),(0,eR.Pn)(this.notifyUpdate),(0,eR.Pn)(this.render),this.valueSubscriptions.forEach(Y=>Y()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[Y].clear();for(let Y in this.features)this.features[Y].unmount();this.current=null}bindToMotionValue(Y,et){let en=em.G.has(Y),ei=et.on("change",et=>{this.latestValues[Y]=et,this.props.onUpdate&&eR.Wi.update(this.notifyUpdate,!1,!0),en&&this.projection&&(this.projection.isTransformDirty=!0)}),eo=et.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(Y,()=>{ei(),eo()})}sortNodePosition(Y){return this.current&&this.sortInstanceNodePosition&&this.type===Y.type?this.sortInstanceNodePosition(this.current,Y.current):0}loadFeatures({children:Y,...et},en,ei,eo,ea){let eu,ec;for(let Y=0;Y<e9;Y++){let en=e0[Y],{isEnabled:ei,Feature:eo,ProjectionNode:ea,MeasureLayout:ed}=eQ.A[en];ea&&(eu=ea),ei(et)&&(!this.features[en]&&eo&&(this.features[en]=new eo(this)),ed&&(ec=ed))}if(!this.projection&&eu){this.projection=new eu(eo,this.latestValues,this.parent&&this.parent.projection);let{layoutId:Y,layout:en,drag:ei,dragConstraints:ec,layoutScroll:ed,layoutRoot:ef}=et;this.projection.setOptions({layoutId:Y,layout:en,alwaysMeasureLayout:!!ei||ec&&(0,eF.I)(ec),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof en?en:"both",initialPromotionConfig:ea,layoutScroll:ed,layoutRoot:ef})}return ec}updateFeatures(){for(let Y in this.features){let et=this.features[Y];et.isMounted?et.update(this.props,this.prevProps):(et.mount(),et.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,eD.dO)()}getStaticValue(Y){return this.latestValues[Y]}setStaticValue(Y,et){this.latestValues[Y]=et}makeTargetAnimatable(Y,et=!0){return this.makeTargetAnimatableFromInstance(Y,this.props,et)}update(Y,et){(Y.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=Y,this.prevPresenceContext=this.presenceContext,this.presenceContext=et;for(let et=0;et<e5.length;et++){let en=e5[et];this.propEventSubscriptions[en]&&(this.propEventSubscriptions[en](),delete this.propEventSubscriptions[en]);let ei=Y["on"+en];ei&&(this.propEventSubscriptions[en]=this.on(en,ei))}this.prevMotionValues=e$(this,this.scrapeMotionValuesFromProps(Y,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(Y){return this.props.variants?this.props.variants[Y]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(Y=!1){if(Y)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let Y=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(Y.initial=this.props.initial),Y}let et={};for(let Y=0;Y<e4;Y++){let en=eX.V[Y],ei=this.props[en];((0,eK.$)(ei)||!1===ei)&&(et[en]=ei)}return et}addVariantChild(Y){let et=this.getClosestVariantNode();if(et)return et.variantChildren&&et.variantChildren.add(Y),()=>et.variantChildren.delete(Y)}addValue(Y,et){et!==this.values.get(Y)&&(this.removeValue(Y),this.bindToMotionValue(Y,et)),this.values.set(Y,et),this.latestValues[Y]=et.get()}removeValue(Y){this.values.delete(Y);let et=this.valueSubscriptions.get(Y);et&&(et(),this.valueSubscriptions.delete(Y)),delete this.latestValues[Y],this.removeValueFromRenderState(Y,this.renderState)}hasValue(Y){return this.values.has(Y)}getValue(Y,et){if(this.props.values&&this.props.values[Y])return this.props.values[Y];let en=this.values.get(Y);return void 0===en&&void 0!==et&&(en=(0,eG.B)(et,{owner:this}),this.addValue(Y,en)),en}readValue(Y){return void 0===this.latestValues[Y]&&this.current?this.readValueFromInstance(this.current,Y,this.options):this.latestValues[Y]}setBaseTarget(Y,et){this.baseTarget[Y]=et}getBaseTarget(Y){var et;let{initial:en}=this.props,ei="string"==typeof en||"object"==typeof en?null===(et=(0,eY.o)(this.props,en))||void 0===et?void 0:et[Y]:void 0;if(en&&void 0!==ei)return ei;let eo=this.getBaseTargetFromProps(this.props,Y);return void 0===eo||(0,eW.i)(eo)?void 0!==this.initialValues[Y]&&void 0===ei?void 0:this.baseTarget[Y]:eo}on(Y,et){return this.events[Y]||(this.events[Y]=new eH.L),this.events[Y].add(et)}notify(Y,...et){this.events[Y]&&this.events[Y].notify(...et)}}class e6 extends e3{sortInstanceNodePosition(Y,et){return 2&Y.compareDocumentPosition(et)?1:-1}getBaseTargetFromProps(Y,et){return Y.style?Y.style[et]:void 0}removeValueFromRenderState(Y,{vars:et,style:en}){delete et[Y],delete en[Y]}makeTargetAnimatableFromInstance({transition:Y,transitionEnd:et,...en},{transformValues:eo},ea){let eu=(0,ei.P$)(en,Y||{},this);if(eo&&(et&&(et=eo(et)),en&&(en=eo(en)),eu&&(eu=eo(eu))),ea){(0,ei.GJ)(this,en,eu);let Y=eL(this,en,eu,et);et=Y.transitionEnd,en=Y.target}return{transition:Y,transitionEnd:et,...en}}}},97296:function(Y,et,en){"use strict";en.d(et,{E:function(){return iM}});var ei=en(70079),eo=en(52847);let ea=(0,ei.createContext)({});var eu=en(54561),ec=en(48783);let ed=(0,ei.createContext)({strict:!1});function ef(Y,et,en,ef){let{visualElement:eh}=(0,ei.useContext)(ea),ep=(0,ei.useContext)(ed),em=(0,ei.useContext)(eu.O),eg=(0,ei.useContext)(eo._).reducedMotion,ey=(0,ei.useRef)();ef=ef||ep.renderer,!ey.current&&ef&&(ey.current=ef(Y,{visualState:et,parent:eh,props:en,presenceContext:em,blockInitialAnimation:!!em&&!1===em.initial,reducedMotionConfig:eg}));let eb=ey.current;(0,ei.useInsertionEffect)(()=>{eb&&eb.update(en,em)}),(0,ec.L)(()=>{eb&&eb.render()}),(0,ei.useEffect)(()=>{eb&&eb.updateFeatures()});let ek=window.HandoffAppearAnimations?ec.L:ei.useEffect;return ek(()=>{eb&&eb.animationState&&eb.animationState.animateChanges()}),eb}var eh=en(64056);function ep(Y,et,en){return(0,ei.useCallback)(ei=>{ei&&Y.mount&&Y.mount(ei),et&&(ei?et.mount(ei):et.unmount()),en&&("function"==typeof en?en(ei):(0,eh.I)(en)&&(en.current=ei))},[et])}var em=en(18094),eg=en(98261);function ey(Y,et){if((0,eg.G)(Y)){let{initial:et,animate:en}=Y;return{initial:!1===et||(0,em.$)(et)?et:void 0,animate:(0,em.$)(en)?en:void 0}}return!1!==Y.inherit?et:{}}function eb(Y){let{initial:et,animate:en}=ey(Y,(0,ei.useContext)(ea));return(0,ei.useMemo)(()=>({initial:et,animate:en}),[ek(et),ek(en)])}function ek(Y){return Array.isArray(Y)?Y.join(" "):Y}var ew=en(32934);function e_(Y){for(let et in Y)ew.A[et]={...ew.A[et],...Y[et]}}var eE=en(36780),eC=en(35375);let eT={hasAnimatedSinceResize:!0,hasEverUpdated:!1},eS=1;function eA(){return(0,eC.h)(()=>{if(eT.hasEverUpdated)return eS++})}var eM=en(73107);let eP=(0,ei.createContext)({}),ej=Symbol.for("motionComponentSymbol");function eO({preloadedFeatures:Y,createVisualElement:et,useRender:en,useVisualState:eu,Component:ec}){function eh(eh,em){let eg;let ey={...(0,ei.useContext)(eo._),...eh,layoutId:eI(eh)},{isStatic:ek}=ey,ew=eb(eh),e_=ek?void 0:eA(),eC=eu(eh,ek);if(!ek&&eE.j){ew.visualElement=ef(ec,eC,ey,et);let en=(0,ei.useContext)(eP),eo=(0,ei.useContext)(ed).strict;ew.visualElement&&(eg=ew.visualElement.loadFeatures(ey,eo,Y,e_,en))}return ei.createElement(ea.Provider,{value:ew},eg&&ew.visualElement?ei.createElement(eg,{visualElement:ew.visualElement,...ey}):null,en(ec,eh,e_,ep(eC,ew.visualElement,em),eC,ek,ew.visualElement))}Y&&e_(Y);let em=(0,ei.forwardRef)(eh);return em[ej]=ec,em}function eI({layoutId:Y}){let et=(0,ei.useContext)(eM.p).id;return et&&void 0!==Y?et+"-"+Y:Y}function eN(Y){function et(et,en={}){return eO(Y(et,en))}if("undefined"==typeof Proxy)return et;let en=new Map;return new Proxy(et,{get:(Y,ei)=>(en.has(ei)||en.set(ei,et(ei)),en.get(ei))})}let eL=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function eR(Y){if("string"!=typeof Y||Y.includes("-"));else if(eL.indexOf(Y)>-1||/[A-Z]/.test(Y))return!0;return!1}var eD=en(55287),eF=en(79237),eB=en(66428);let ez=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eU(Y,et,en){for(let ei in et)(0,eF.i)(et[ei])||(0,eD.j)(ei,en)||(Y[ei]=et[ei])}function eH({transformTemplate:Y},et,en){return(0,ei.useMemo)(()=>{let ei=ez();return(0,eB.r)(ei,et,{enableHardwareAcceleration:!en},Y),Object.assign({},ei.vars,ei.style)},[et])}function eG(Y,et,en){let ei=Y.style||{},eo={};return eU(eo,ei,Y),Object.assign(eo,eH(Y,et,en)),Y.transformValues?Y.transformValues(eo):eo}function eV(Y,et,en){let ei={},eo=eG(Y,et,en);return Y.drag&&!1!==Y.dragListener&&(ei.draggable=!1,eo.userSelect=eo.WebkitUserSelect=eo.WebkitTouchCallout="none",eo.touchAction=!0===Y.drag?"none":`pan-${"x"===Y.drag?"y":"x"}`),void 0===Y.tabIndex&&(Y.onTap||Y.onTapStart||Y.whileTap)&&(ei.tabIndex=0),ei.style=eo,ei}let eW=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function eZ(Y){return Y.startsWith("while")||Y.startsWith("drag")&&"draggable"!==Y||Y.startsWith("layout")||Y.startsWith("onTap")||Y.startsWith("onPan")||eW.has(Y)}let eK=Y=>!eZ(Y);function e$(Y){Y&&(eK=et=>et.startsWith("on")?!eZ(et):Y(et))}try{e$(require("@emotion/is-prop-valid").default)}catch(Y){}function eY(Y,et,en){let ei={};for(let eo in Y)("values"!==eo||"object"!=typeof Y.values)&&(eK(eo)||!0===en&&eZ(eo)||!et&&!eZ(eo)||Y.draggable&&eo.startsWith("onDrag"))&&(ei[eo]=Y[eo]);return ei}var eQ=en(55263);let eX=()=>({...ez(),attrs:{}});var eJ=en(58734);function e0(Y,et,en,eo){let ea=(0,ei.useMemo)(()=>{let en=eX();return(0,eQ.i)(en,et,{enableHardwareAcceleration:!1},(0,eJ.a)(eo),Y.transformTemplate),{...en.attrs,style:{...en.style}}},[et]);if(Y.style){let et={};eU(et,Y.style,Y),ea.style={...et,...ea.style}}return ea}function e9(Y=!1){let et=(et,en,eo,ea,{latestValues:eu},ec)=>{let ed=eR(et)?e0:eV,ef=ed(en,eu,ec,et),eh=eY(en,"string"==typeof et,Y),ep={...eh,...ef,ref:ea},{children:em}=en,eg=(0,ei.useMemo)(()=>(0,eF.i)(em)?em.get():em,[em]);return eo&&(ep["data-projection-id"]=eo),(0,ei.createElement)(et,{...ep,children:eg})};return et}var e5=en(35027),e4=en(37116),e3=en(26763),e6=en(30959),e7=en(45201);function e8(Y){let et=(0,eF.i)(Y)?Y.get():Y;return(0,e7.p)(et)?et.toValue():et}function tt({scrapeMotionValuesFromProps:Y,createRenderState:et,onMount:en},ei,eo,ea){let eu={latestValues:tu(ei,eo,ea,Y),renderState:et()};return en&&(eu.mount=Y=>en(ei,Y,eu)),eu}let ta=Y=>(et,en)=>{let eo=(0,ei.useContext)(ea),ec=(0,ei.useContext)(eu.O),ed=()=>tt(Y,et,eo,ec);return en?ed():(0,eC.h)(ed)};function tu(Y,et,en,ei){let eo={},ea=ei(Y,{});for(let Y in ea)eo[Y]=e8(ea[Y]);let{initial:eu,animate:ec}=Y,ed=(0,eg.G)(Y),ef=(0,eg.M)(Y);et&&ef&&!ed&&!1!==Y.inherit&&(void 0===eu&&(eu=et.initial),void 0===ec&&(ec=et.animate));let eh=!!en&&!1===en.initial;eh=eh||!1===eu;let ep=eh?ec:eu;if(ep&&"boolean"!=typeof ep&&!(0,e3.H)(ep)){let et=Array.isArray(ep)?ep:[ep];et.forEach(et=>{let en=(0,e6.o)(Y,et);if(!en)return;let{transitionEnd:ei,transition:ea,...eu}=en;for(let Y in eu){let et=eu[Y];if(Array.isArray(et)){let Y=eh?et.length-1:0;et=et[Y]}null!==et&&(eo[Y]=et)}for(let Y in ei)eo[Y]=ei[Y]})}return eo}let tc={useVisualState:ta({scrapeMotionValuesFromProps:e4.U,createRenderState:eX,onMount:(Y,et,{renderState:en,latestValues:ei})=>{try{en.dimensions="function"==typeof et.getBBox?et.getBBox():et.getBoundingClientRect()}catch(Y){en.dimensions={x:0,y:0,width:0,height:0}}(0,eQ.i)(en,ei,{enableHardwareAcceleration:!1},(0,eJ.a)(et.tagName),Y.transformTemplate),(0,e5.K)(et,en)}})};var td=en(89716);let tf={useVisualState:ta({scrapeMotionValuesFromProps:td.U,createRenderState:ez})};function th(Y,{forwardMotionProps:et=!1},en,ei){let eo=eR(Y)?tc:tf;return{...eo,preloadedFeatures:en,useRender:e9(et),createVisualElement:ei,Component:Y}}function tp(Y,et,en,ei={passive:!0}){return Y.addEventListener(et,en,ei),()=>Y.removeEventListener(et,en)}let tm=Y=>"mouse"===Y.pointerType?"number"!=typeof Y.button||Y.button<=0:!1!==Y.isPrimary;function tg(Y,et="page"){return{point:{x:Y[et+"X"],y:Y[et+"Y"]}}}let tv=Y=>et=>tm(et)&&Y(et,tg(et));function tb(Y,et,en,ei){return tp(Y,et,tv(en),ei)}var tk=en(9323);function tw(Y){let et=null;return()=>{let en=()=>{et=null};return null===et&&(et=Y,en)}}let t_=tw("dragHorizontal"),tE=tw("dragVertical");function tC(Y){let et=!1;if("y"===Y)et=tE();else if("x"===Y)et=t_();else{let Y=t_(),en=tE();Y&&en?et=()=>{Y(),en()}:(Y&&Y(),en&&en())}return et}function tT(){let Y=tC(!0);return!Y||(Y(),!1)}class tS{constructor(Y){this.isMounted=!1,this.node=Y}update(){}}var tA=en(3831);function tM(Y,et){let en="pointer"+(et?"enter":"leave"),ei="onHover"+(et?"Start":"End"),eo=(en,eo)=>{if("touch"===en.type||tT())return;let ea=Y.getProps();Y.animationState&&ea.whileHover&&Y.animationState.setActive("whileHover",et),ea[ei]&&tA.Wi.update(()=>ea[ei](en,eo))};return tb(Y.current,en,eo,{passive:!Y.getProps()[ei]})}class tP extends tS{mount(){this.unmount=(0,tk.z)(tM(this.node,!0),tM(this.node,!1))}unmount(){}}class tj extends tS{constructor(){super(...arguments),this.isActive=!1}onFocus(){let Y=!1;try{Y=this.node.current.matches(":focus-visible")}catch(et){Y=!0}Y&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,tk.z)(tp(this.node.current,"focus",()=>this.onFocus()),tp(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let tO=(Y,et)=>!!et&&(Y===et||tO(Y,et.parentElement));var tI=en(51734);function tN(Y,et){if(!et)return;let en=new PointerEvent("pointer"+Y);et(en,tg(en))}class tL extends tS{constructor(){super(...arguments),this.removeStartListeners=tI.Z,this.removeEndListeners=tI.Z,this.removeAccessibleListeners=tI.Z,this.startPointerPress=(Y,et)=>{if(this.removeEndListeners(),this.isPressing)return;let en=this.node.getProps(),ei=(Y,et)=>{if(!this.checkPressEnd())return;let{onTap:en,onTapCancel:ei}=this.node.getProps();tA.Wi.update(()=>{tO(this.node.current,Y.target)?en&&en(Y,et):ei&&ei(Y,et)})},eo=tb(window,"pointerup",ei,{passive:!(en.onTap||en.onPointerUp)}),ea=tb(window,"pointercancel",(Y,et)=>this.cancelPress(Y,et),{passive:!(en.onTapCancel||en.onPointerCancel)});this.removeEndListeners=(0,tk.z)(eo,ea),this.startPress(Y,et)},this.startAccessiblePress=()=>{let Y=Y=>{if("Enter"!==Y.key||this.isPressing)return;let et=Y=>{"Enter"===Y.key&&this.checkPressEnd()&&tN("up",(Y,et)=>{let{onTap:en}=this.node.getProps();en&&tA.Wi.update(()=>en(Y,et))})};this.removeEndListeners(),this.removeEndListeners=tp(this.node.current,"keyup",et),tN("down",(Y,et)=>{this.startPress(Y,et)})},et=tp(this.node.current,"keydown",Y),en=()=>{this.isPressing&&tN("cancel",(Y,et)=>this.cancelPress(Y,et))},ei=tp(this.node.current,"blur",en);this.removeAccessibleListeners=(0,tk.z)(et,ei)}}startPress(Y,et){this.isPressing=!0;let{onTapStart:en,whileTap:ei}=this.node.getProps();ei&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),en&&tA.Wi.update(()=>en(Y,et))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;let Y=this.node.getProps();return Y.whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!tT()}cancelPress(Y,et){if(!this.checkPressEnd())return;let{onTapCancel:en}=this.node.getProps();en&&tA.Wi.update(()=>en(Y,et))}mount(){let Y=this.node.getProps(),et=tb(this.node.current,"pointerdown",this.startPointerPress,{passive:!(Y.onTapStart||Y.onPointerStart)}),en=tp(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,tk.z)(et,en)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let tR=new WeakMap,tD=new WeakMap,tF=Y=>{let et=tR.get(Y.target);et&&et(Y)},tB=Y=>{Y.forEach(tF)};function tU({root:Y,...et}){let en=Y||document;tD.has(en)||tD.set(en,{});let ei=tD.get(en),eo=JSON.stringify(et);return ei[eo]||(ei[eo]=new IntersectionObserver(tB,{root:Y,...et})),ei[eo]}function tH(Y,et,en){let ei=tU(et);return tR.set(Y,en),ei.observe(Y),()=>{tR.delete(Y),ei.unobserve(Y)}}let tG={some:0,all:1};class tV extends tS{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:Y={}}=this.node.getProps(),{root:et,margin:en,amount:ei="some",once:eo}=Y,ea={root:et?et.current:void 0,rootMargin:en,threshold:"number"==typeof ei?ei:tG[ei]},eu=Y=>{let{isIntersecting:et}=Y;if(this.isInView===et||(this.isInView=et,eo&&!et&&this.hasEnteredView))return;et&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",et);let{onViewportEnter:en,onViewportLeave:ei}=this.node.getProps(),ea=et?en:ei;ea&&ea(Y)};return tH(this.node.current,ea,eu)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:Y,prevProps:et}=this.node,en=["amount","margin","root"].some(tW(Y,et));en&&this.startObserver()}unmount(){}}function tW({viewport:Y={}},{viewport:et={}}={}){return en=>Y[en]!==et[en]}let tq={inView:{Feature:tV},tap:{Feature:tL},focus:{Feature:tj},hover:{Feature:tP}};var tZ=en(91136);function tK(Y,et){if(!Array.isArray(et))return!1;let en=et.length;if(en!==Y.length)return!1;for(let ei=0;ei<en;ei++)if(et[ei]!==Y[ei])return!1;return!0}var t$=en(71981),tY=en(68988),tQ=en(61005);function tX(Y,et,en={}){let ei=(0,t$.x)(Y,et,en.custom),{transition:eo=Y.getDefaultTransition()||{}}=ei||{};en.transitionOverride&&(eo=en.transitionOverride);let ea=ei?()=>Promise.all((0,tQ.w)(Y,ei,en)):()=>Promise.resolve(),eu=Y.variantChildren&&Y.variantChildren.size?(ei=0)=>{let{delayChildren:ea=0,staggerChildren:eu,staggerDirection:ec}=eo;return tJ(Y,et,ea+ei,eu,ec,en)}:()=>Promise.resolve(),{when:ec}=eo;if(!ec)return Promise.all([ea(),eu(en.delay)]);{let[Y,et]="beforeChildren"===ec?[ea,eu]:[eu,ea];return Y().then(()=>et())}}function tJ(Y,et,en=0,ei=0,eo=1,ea){let eu=[],ec=(Y.variantChildren.size-1)*ei,ed=1===eo?(Y=0)=>Y*ei:(Y=0)=>ec-Y*ei;return Array.from(Y.variantChildren).sort(t9).forEach((Y,ei)=>{Y.notify("AnimationStart",et),eu.push(tX(Y,et,{...ea,delay:en+ed(ei)}).then(()=>Y.notify("AnimationComplete",et)))}),Promise.all(eu)}function t9(Y,et){return Y.sortNodePosition(et)}function t5(Y,et,en={}){let ei;if(Y.notify("AnimationStart",et),Array.isArray(et)){let eo=et.map(et=>tX(Y,et,en));ei=Promise.all(eo)}else if("string"==typeof et)ei=tX(Y,et,en);else{let eo="function"==typeof et?(0,t$.x)(Y,et,en.custom):et;ei=Promise.all((0,tQ.w)(Y,eo,en))}return ei.then(()=>Y.notify("AnimationComplete",et))}let t4=[...tY.e].reverse(),t3=tY.e.length;function t6(Y){return et=>Promise.all(et.map(({animation:et,options:en})=>t5(Y,et,en)))}function t7(Y){let et=t6(Y),en=nn(),ei=!0,eo=(et,en)=>{let ei=(0,t$.x)(Y,en);if(ei){let{transition:Y,transitionEnd:en,...eo}=ei;et={...et,...eo,...en}}return et};function ea(ea,eu){let ec=Y.getProps(),ed=Y.getVariantContext(!0)||{},ef=[],eh=new Set,ep={},eg=1/0;for(let et=0;et<t3;et++){let ey=t4[et],eb=en[ey],ek=void 0!==ec[ey]?ec[ey]:ed[ey],ew=(0,em.$)(ek),e_=ey===eu?eb.isActive:null;!1===e_&&(eg=et);let eE=ek===ed[ey]&&ek!==ec[ey]&&ew;if(eE&&ei&&Y.manuallyAnimateOnMount&&(eE=!1),eb.protectedKeys={...ep},!eb.isActive&&null===e_||!ek&&!eb.prevProp||(0,e3.H)(ek)||"boolean"==typeof ek)continue;let eC=t8(eb.prevProp,ek),eT=eC||ey===eu&&eb.isActive&&!eE&&ew||et>eg&&ew,eS=Array.isArray(ek)?ek:[ek],eA=eS.reduce(eo,{});!1===e_&&(eA={});let{prevResolvedValues:eM={}}=eb,eP={...eM,...eA},ej=Y=>{eT=!0,eh.delete(Y),eb.needsAnimating[Y]=!0};for(let Y in eP){let et=eA[Y],en=eM[Y];ep.hasOwnProperty(Y)||(et!==en?(0,tZ.C)(et)&&(0,tZ.C)(en)?!tK(et,en)||eC?ej(Y):eb.protectedKeys[Y]=!0:void 0!==et?ej(Y):eh.add(Y):void 0!==et&&eh.has(Y)?ej(Y):eb.protectedKeys[Y]=!0)}eb.prevProp=ek,eb.prevResolvedValues=eA,eb.isActive&&(ep={...ep,...eA}),ei&&Y.blockInitialAnimation&&(eT=!1),eT&&!eE&&ef.push(...eS.map(Y=>({animation:Y,options:{type:ey,...ea}})))}if(eh.size){let et={};eh.forEach(en=>{let ei=Y.getBaseTarget(en);void 0!==ei&&(et[en]=ei)}),ef.push({animation:et})}let ey=!!ef.length;return ei&&!1===ec.initial&&!Y.manuallyAnimateOnMount&&(ey=!1),ei=!1,ey?et(ef):Promise.resolve()}return{animateChanges:ea,setActive:function(et,ei,eo){var eu;if(en[et].isActive===ei)return Promise.resolve();null===(eu=Y.variantChildren)||void 0===eu||eu.forEach(Y=>{var en;return null===(en=Y.animationState)||void 0===en?void 0:en.setActive(et,ei)}),en[et].isActive=ei;let ec=ea(eo,et);for(let Y in en)en[Y].protectedKeys={};return ec},setAnimateFunction:function(en){et=en(Y)},getState:()=>en}}function t8(Y,et){return"string"==typeof et?et!==Y:!!Array.isArray(et)&&!tK(et,Y)}function nt(Y=!1){return{isActive:Y,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nn(){return{animate:nt(!0),whileInView:nt(),whileHover:nt(),whileTap:nt(),whileDrag:nt(),whileFocus:nt(),exit:nt()}}class ni extends tS{constructor(Y){super(Y),Y.animationState||(Y.animationState=t7(Y))}updateAnimationControlsSubscription(){let{animate:Y}=this.node.getProps();this.unmount(),(0,e3.H)(Y)&&(this.unmount=Y.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:Y}=this.node.getProps(),{animate:et}=this.node.prevProps||{};Y!==et&&this.updateAnimationControlsSubscription()}unmount(){}}let na=0;class nu extends tS{constructor(){super(...arguments),this.id=na++}update(){if(!this.node.presenceContext)return;let{isPresent:Y,onExitComplete:et,custom:en}=this.node.presenceContext,{isPresent:ei}=this.node.prevPresenceContext||{};if(!this.node.animationState||Y===ei)return;let eo=this.node.animationState.setActive("exit",!Y,{custom:null!=en?en:this.node.getProps().custom});et&&!Y&&eo.then(()=>et(this.id))}mount(){let{register:Y}=this.node.presenceContext||{};Y&&(this.unmount=Y(this.id))}unmount(){}}let nd={animation:{Feature:ni},exit:{Feature:nu}};var nf=en(83813),nh=en(30309);let np=(Y,et)=>Math.abs(Y-et);function ng(Y,et){let en=np(Y.x,et.x),ei=np(Y.y,et.y);return Math.sqrt(en**2+ei**2)}var nv=en(87699);class ny{constructor(Y,et,{transformPagePoint:en}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let Y=nk(this.lastMoveEventInfo,this.history),et=null!==this.startEvent,en=ng(Y.offset,{x:0,y:0})>=3;if(!et&&!en)return;let{point:ei}=Y,{timestamp:eo}=nv.w;this.history.push({...ei,timestamp:eo});let{onStart:ea,onMove:eu}=this.handlers;et||(ea&&ea(this.lastMoveEvent,Y),this.startEvent=this.lastMoveEvent),eu&&eu(this.lastMoveEvent,Y)},this.handlePointerMove=(Y,et)=>{this.lastMoveEvent=Y,this.lastMoveEventInfo=nb(et,this.transformPagePoint),tA.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(Y,et)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:en,onSessionEnd:ei}=this.handlers,eo=nk("pointercancel"===Y.type?this.lastMoveEventInfo:nb(et,this.transformPagePoint),this.history);this.startEvent&&en&&en(Y,eo),ei&&ei(Y,eo)},!tm(Y))return;this.handlers=et,this.transformPagePoint=en;let ei=tg(Y),eo=nb(ei,this.transformPagePoint),{point:ea}=eo,{timestamp:eu}=nv.w;this.history=[{...ea,timestamp:eu}];let{onSessionStart:ec}=et;ec&&ec(Y,nk(eo,this.history)),this.removeListeners=(0,tk.z)(tb(window,"pointermove",this.handlePointerMove),tb(window,"pointerup",this.handlePointerUp),tb(window,"pointercancel",this.handlePointerUp))}updateHandlers(Y){this.handlers=Y}end(){this.removeListeners&&this.removeListeners(),(0,tA.Pn)(this.updatePoint)}}function nb(Y,et){return et?{point:et(Y.point)}:Y}function nx(Y,et){return{x:Y.x-et.x,y:Y.y-et.y}}function nk({point:Y},et){return{point:Y,delta:nx(Y,n_(et)),offset:nx(Y,nw(et)),velocity:nE(et,.1)}}function nw(Y){return Y[0]}function n_(Y){return Y[Y.length-1]}function nE(Y,et){if(Y.length<2)return{x:0,y:0};let en=Y.length-1,ei=null,eo=n_(Y);for(;en>=0&&(ei=Y[en],!(eo.timestamp-ei.timestamp>(0,nh.w)(et)));)en--;if(!ei)return{x:0,y:0};let ea=(0,nh.X)(eo.timestamp-ei.timestamp);if(0===ea)return{x:0,y:0};let eu={x:(eo.x-ei.x)/ea,y:(eo.y-ei.y)/ea};return eu.x===1/0&&(eu.x=0),eu.y===1/0&&(eu.y=0),eu}var nC=en(93427),nT=en(31914);function nS(Y){return Y.max-Y.min}function nA(Y,et=0,en=.01){return Math.abs(Y-et)<=en}function nM(Y,et,en,ei=.5){Y.origin=ei,Y.originPoint=(0,nT.C)(et.min,et.max,Y.origin),Y.scale=nS(en)/nS(et),(nA(Y.scale,1,1e-4)||isNaN(Y.scale))&&(Y.scale=1),Y.translate=(0,nT.C)(en.min,en.max,Y.origin)-Y.originPoint,(nA(Y.translate)||isNaN(Y.translate))&&(Y.translate=0)}function nP(Y,et,en,ei){nM(Y.x,et.x,en.x,ei?ei.originX:void 0),nM(Y.y,et.y,en.y,ei?ei.originY:void 0)}function nj(Y,et,en){Y.min=en.min+et.min,Y.max=Y.min+nS(et)}function nO(Y,et,en){nj(Y.x,et.x,en.x),nj(Y.y,et.y,en.y)}function nI(Y,et,en){Y.min=et.min-en.min,Y.max=Y.min+nS(et)}function nN(Y,et,en){nI(Y.x,et.x,en.x),nI(Y.y,et.y,en.y)}var nL=en(32025);function nR(Y,{min:et,max:en},ei){return void 0!==et&&Y<et?Y=ei?(0,nT.C)(et,Y,ei.min):Math.max(Y,et):void 0!==en&&Y>en&&(Y=ei?(0,nT.C)(en,Y,ei.max):Math.min(Y,en)),Y}function nD(Y,et,en){return{min:void 0!==et?Y.min+et:void 0,max:void 0!==en?Y.max+en-(Y.max-Y.min):void 0}}function nF(Y,{top:et,left:en,bottom:ei,right:eo}){return{x:nD(Y.x,en,eo),y:nD(Y.y,et,ei)}}function nB(Y,et){let en=et.min-Y.min,ei=et.max-Y.max;return et.max-et.min<Y.max-Y.min&&([en,ei]=[ei,en]),{min:en,max:ei}}function nz(Y,et){return{x:nB(Y.x,et.x),y:nB(Y.y,et.y)}}function nU(Y,et){let en=.5,ei=nS(Y),eo=nS(et);return eo>ei?en=(0,nC.Y)(et.min,et.max-ei,Y.min):ei>eo&&(en=(0,nC.Y)(Y.min,Y.max-eo,et.min)),(0,nL.u)(0,1,en)}function nH(Y,et){let en={};return void 0!==et.min&&(en.min=et.min-Y.min),void 0!==et.max&&(en.max=et.max-Y.min),en}let nG=.35;function nV(Y=nG){return!1===Y?Y=0:!0===Y&&(Y=nG),{x:nW(Y,"left","right"),y:nW(Y,"top","bottom")}}function nW(Y,et,en){return{min:nq(Y,et),max:nq(Y,en)}}function nq(Y,et){return"number"==typeof Y?Y:Y[et]||0}var nZ=en(6266);function nK(Y){return[Y("x"),Y("y")]}var n$=en(76077),nY=en(74472),nQ=en(81957),nX=en(77359);let nJ=new WeakMap;class n0{constructor(Y){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,nZ.dO)(),this.visualElement=Y}start(Y,{snapToCursor:et=!1}={}){let{presenceContext:en}=this.visualElement;if(en&&!1===en.isPresent)return;let ei=Y=>{this.stopAnimation(),et&&this.snapToCursor(tg(Y,"page").point)},eo=(Y,et)=>{let{drag:en,dragPropagation:ei,onDragStart:eo}=this.getProps();if(en&&!ei&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=tC(en),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nK(Y=>{let et=this.getAxisMotionValue(Y).get()||0;if(nQ.aQ.test(et)){let{projection:en}=this.visualElement;if(en&&en.layout){let ei=en.layout.layoutBox[Y];if(ei){let Y=nS(ei);et=Y*(parseFloat(et)/100)}}}this.originPoint[Y]=et}),eo&&tA.Wi.update(()=>eo(Y,et),!1,!0);let{animationState:ea}=this.visualElement;ea&&ea.setActive("whileDrag",!0)},ea=(Y,et)=>{let{dragPropagation:en,dragDirectionLock:ei,onDirectionLock:eo,onDrag:ea}=this.getProps();if(!en&&!this.openGlobalLock)return;let{offset:eu}=et;if(ei&&null===this.currentDirection){this.currentDirection=n5(eu),null!==this.currentDirection&&eo&&eo(this.currentDirection);return}this.updateAxis("x",et.point,eu),this.updateAxis("y",et.point,eu),this.visualElement.render(),ea&&ea(Y,et)},eu=(Y,et)=>this.stop(Y,et);this.panSession=new ny(Y,{onSessionStart:ei,onStart:eo,onMove:ea,onSessionEnd:eu},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(Y,et){let en=this.isDragging;if(this.cancel(),!en)return;let{velocity:ei}=et;this.startAnimation(ei);let{onDragEnd:eo}=this.getProps();eo&&tA.Wi.update(()=>eo(Y,et))}cancel(){this.isDragging=!1;let{projection:Y,animationState:et}=this.visualElement;Y&&(Y.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:en}=this.getProps();!en&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),et&&et.setActive("whileDrag",!1)}updateAxis(Y,et,en){let{drag:ei}=this.getProps();if(!en||!n9(Y,ei,this.currentDirection))return;let eo=this.getAxisMotionValue(Y),ea=this.originPoint[Y]+en[Y];this.constraints&&this.constraints[Y]&&(ea=nR(ea,this.constraints[Y],this.elastic[Y])),eo.set(ea)}resolveConstraints(){let{dragConstraints:Y,dragElastic:et}=this.getProps(),{layout:en}=this.visualElement.projection||{},ei=this.constraints;Y&&(0,eh.I)(Y)?this.constraints||(this.constraints=this.resolveRefConstraints()):Y&&en?this.constraints=nF(en.layoutBox,Y):this.constraints=!1,this.elastic=nV(et),ei!==this.constraints&&en&&this.constraints&&!this.hasMutatedConstraints&&nK(Y=>{this.getAxisMotionValue(Y)&&(this.constraints[Y]=nH(en.layoutBox[Y],this.constraints[Y]))})}resolveRefConstraints(){let{dragConstraints:Y,onMeasureDragConstraints:et}=this.getProps();if(!Y||!(0,eh.I)(Y))return!1;let en=Y.current;(0,nf.k)(null!==en,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:ei}=this.visualElement;if(!ei||!ei.layout)return!1;let eo=(0,n$.z)(en,ei.root,this.visualElement.getTransformPagePoint()),ea=nz(ei.layout.layoutBox,eo);if(et){let Y=et((0,nY.z2)(ea));this.hasMutatedConstraints=!!Y,Y&&(ea=(0,nY.i8)(Y))}return ea}startAnimation(Y){let{drag:et,dragMomentum:en,dragElastic:ei,dragTransition:eo,dragSnapToOrigin:ea,onDragTransitionEnd:eu}=this.getProps(),ec=this.constraints||{},ed=nK(eu=>{if(!n9(eu,et,this.currentDirection))return;let ed=ec&&ec[eu]||{};ea&&(ed={min:0,max:0});let ef=ei?200:1e6,eh=ei?40:1e7,ep={type:"inertia",velocity:en?Y[eu]:0,bounceStiffness:ef,bounceDamping:eh,timeConstant:750,restDelta:1,restSpeed:10,...eo,...ed};return this.startAxisValueAnimation(eu,ep)});return Promise.all(ed).then(eu)}startAxisValueAnimation(Y,et){let en=this.getAxisMotionValue(Y);return en.start((0,nX.v)(Y,en,0,et))}stopAnimation(){nK(Y=>this.getAxisMotionValue(Y).stop())}getAxisMotionValue(Y){let et="_drag"+Y.toUpperCase(),en=this.visualElement.getProps(),ei=en[et];return ei||this.visualElement.getValue(Y,(en.initial?en.initial[Y]:void 0)||0)}snapToCursor(Y){nK(et=>{let{drag:en}=this.getProps();if(!n9(et,en,this.currentDirection))return;let{projection:ei}=this.visualElement,eo=this.getAxisMotionValue(et);if(ei&&ei.layout){let{min:en,max:ea}=ei.layout.layoutBox[et];eo.set(Y[et]-(0,nT.C)(en,ea,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:Y,dragConstraints:et}=this.getProps(),{projection:en}=this.visualElement;if(!(0,eh.I)(et)||!en||!this.constraints)return;this.stopAnimation();let ei={x:0,y:0};nK(Y=>{let et=this.getAxisMotionValue(Y);if(et){let en=et.get();ei[Y]=nU({min:en,max:en},this.constraints[Y])}});let{transformTemplate:eo}=this.visualElement.getProps();this.visualElement.current.style.transform=eo?eo({},""):"none",en.root&&en.root.updateScroll(),en.updateLayout(),this.resolveConstraints(),nK(et=>{if(!n9(et,Y,null))return;let en=this.getAxisMotionValue(et),{min:eo,max:ea}=this.constraints[et];en.set((0,nT.C)(eo,ea,ei[et]))})}addListeners(){if(!this.visualElement.current)return;nJ.set(this.visualElement,this);let Y=this.visualElement.current,et=tb(Y,"pointerdown",Y=>{let{drag:et,dragListener:en=!0}=this.getProps();et&&en&&this.start(Y)}),en=()=>{let{dragConstraints:Y}=this.getProps();(0,eh.I)(Y)&&(this.constraints=this.resolveRefConstraints())},{projection:ei}=this.visualElement,eo=ei.addEventListener("measure",en);ei&&!ei.layout&&(ei.root&&ei.root.updateScroll(),ei.updateLayout()),en();let ea=tp(window,"resize",()=>this.scalePositionWithinConstraints()),eu=ei.addEventListener("didUpdate",({delta:Y,hasLayoutChanged:et})=>{this.isDragging&&et&&(nK(et=>{let en=this.getAxisMotionValue(et);en&&(this.originPoint[et]+=Y[et].translate,en.set(en.get()+Y[et].translate))}),this.visualElement.render())});return()=>{ea(),et(),eo(),eu&&eu()}}getProps(){let Y=this.visualElement.getProps(),{drag:et=!1,dragDirectionLock:en=!1,dragPropagation:ei=!1,dragConstraints:eo=!1,dragElastic:ea=nG,dragMomentum:eu=!0}=Y;return{...Y,drag:et,dragDirectionLock:en,dragPropagation:ei,dragConstraints:eo,dragElastic:ea,dragMomentum:eu}}}function n9(Y,et,en){return(!0===et||et===Y)&&(null===en||en===Y)}function n5(Y,et=10){let en=null;return Math.abs(Y.y)>et?en="y":Math.abs(Y.x)>et&&(en="x"),en}class n4 extends tS{constructor(Y){super(Y),this.removeGroupControls=tI.Z,this.removeListeners=tI.Z,this.controls=new n0(Y)}mount(){let{dragControls:Y}=this.node.getProps();Y&&(this.removeGroupControls=Y.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tI.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let n3=Y=>(et,en)=>{Y&&tA.Wi.update(()=>Y(et,en))};class n6 extends tS{constructor(){super(...arguments),this.removePointerDownListener=tI.Z}onPointerDown(Y){this.session=new ny(Y,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:Y,onPanStart:et,onPan:en,onPanEnd:ei}=this.node.getProps();return{onSessionStart:n3(Y),onStart:n3(et),onMove:en,onEnd:(Y,et)=>{delete this.session,ei&&tA.Wi.update(()=>ei(Y,et))}}}mount(){this.removePointerDownListener=tb(this.node.current,"pointerdown",Y=>this.onPointerDown(Y))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function n7(){let Y=(0,ei.useContext)(eu.O);if(null===Y)return[!0,null];let{isPresent:et,onExitComplete:en,register:eo}=Y,ea=(0,ei.useId)();(0,ei.useEffect)(()=>eo(ea),[]);let ec=()=>en&&en(ea);return!et&&en?[!1,ec]:[!0]}function n8(Y,et){return et.max===et.min?0:Y/(et.max-et.min)*100}let rn={correct:(Y,et)=>{if(!et.target)return Y;if("string"==typeof Y){if(!nQ.px.test(Y))return Y;Y=parseFloat(Y)}let en=n8(Y,et.target.x),ei=n8(Y,et.target.y);return`${en}% ${ei}%`}};var rr=en(58459);let ri={correct:(Y,{treeScale:et,projectionDelta:en})=>{let ei=Y,eo=rr.P.parse(Y);if(eo.length>5)return ei;let ea=rr.P.createTransformer(Y),eu="number"!=typeof eo[0]?1:0,ec=en.x.scale*et.x,ed=en.y.scale*et.y;eo[0+eu]/=ec,eo[1+eu]/=ed;let ef=(0,nT.C)(ec,ed,.5);return"number"==typeof eo[2+eu]&&(eo[2+eu]/=ef),"number"==typeof eo[3+eu]&&(eo[3+eu]/=ef),ea(eo)}};var ro=en(89175);class ra extends ei.Component{componentDidMount(){let{visualElement:Y,layoutGroup:et,switchLayoutGroup:en,layoutId:ei}=this.props,{projection:eo}=Y;(0,ro.B)(rl),eo&&(et.group&&et.group.add(eo),en&&en.register&&ei&&en.register(eo),eo.root.didUpdate(),eo.addEventListener("animationComplete",()=>{this.safeToRemove()}),eo.setOptions({...eo.options,onExitComplete:()=>this.safeToRemove()})),eT.hasEverUpdated=!0}getSnapshotBeforeUpdate(Y){let{layoutDependency:et,visualElement:en,drag:ei,isPresent:eo}=this.props,ea=en.projection;return ea&&(ea.isPresent=eo,ei||Y.layoutDependency!==et||void 0===et?ea.willUpdate():this.safeToRemove(),Y.isPresent===eo||(eo?ea.promote():ea.relegate()||tA.Wi.postRender(()=>{let Y=ea.getStack();Y&&Y.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:Y}=this.props.visualElement;Y&&(Y.root.didUpdate(),!Y.currentAnimation&&Y.isLead()&&this.safeToRemove())}componentWillUnmount(){let{visualElement:Y,layoutGroup:et,switchLayoutGroup:en}=this.props,{projection:ei}=Y;ei&&(ei.scheduleCheckAfterUnmount(),et&&et.group&&et.group.remove(ei),en&&en.deregister&&en.deregister(ei))}safeToRemove(){let{safeToRemove:Y}=this.props;Y&&Y()}render(){return null}}function rs(Y){let[et,en]=n7(),eo=(0,ei.useContext)(eM.p);return ei.createElement(ra,{...Y,layoutGroup:eo,switchLayoutGroup:(0,ei.useContext)(eP),isPresent:et,safeToRemove:en})}let rl={borderRadius:{...rn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rn,borderTopRightRadius:rn,borderBottomLeftRadius:rn,borderBottomRightRadius:rn,boxShadow:ri};var ru=en(31563),rc=en(9651);let rh=["TopLeft","TopRight","BottomLeft","BottomRight"],rp=rh.length,rm=Y=>"string"==typeof Y?parseFloat(Y):Y,rg=Y=>"number"==typeof Y||nQ.px.test(Y);function rv(Y,et,en,ei,eo,ea){eo?(Y.opacity=(0,nT.C)(0,void 0!==en.opacity?en.opacity:1,rb(ei)),Y.opacityExit=(0,nT.C)(void 0!==et.opacity?et.opacity:1,0,rk(ei))):ea&&(Y.opacity=(0,nT.C)(void 0!==et.opacity?et.opacity:1,void 0!==en.opacity?en.opacity:1,ei));for(let eo=0;eo<rp;eo++){let ea=`border${rh[eo]}Radius`,eu=ry(et,ea),ec=ry(en,ea);if(void 0===eu&&void 0===ec)continue;eu||(eu=0),ec||(ec=0);let ed=0===eu||0===ec||rg(eu)===rg(ec);ed?(Y[ea]=Math.max((0,nT.C)(rm(eu),rm(ec),ei),0),(nQ.aQ.test(ec)||nQ.aQ.test(eu))&&(Y[ea]+="%")):Y[ea]=ec}(et.rotate||en.rotate)&&(Y.rotate=(0,nT.C)(et.rotate||0,en.rotate||0,ei))}function ry(Y,et){return void 0!==Y[et]?Y[et]:Y.borderRadius}let rb=r_(0,.5,rc.Bn),rk=r_(.5,.95,tI.Z);function r_(Y,et,en){return ei=>ei<Y?0:ei>et?1:en((0,nC.Y)(Y,et,ei))}function rE(Y,et){Y.min=et.min,Y.max=et.max}function rC(Y,et){rE(Y.x,et.x),rE(Y.y,et.y)}var rT=en(33156);function rS(Y,et,en,ei,eo){return Y-=et,Y=(0,rT.q2)(Y,1/en,ei),void 0!==eo&&(Y=(0,rT.q2)(Y,1/eo,ei)),Y}function rA(Y,et=0,en=1,ei=.5,eo,ea=Y,eu=Y){if(nQ.aQ.test(et)){et=parseFloat(et);let Y=(0,nT.C)(eu.min,eu.max,et/100);et=Y-eu.min}if("number"!=typeof et)return;let ec=(0,nT.C)(ea.min,ea.max,ei);Y===ea&&(ec-=et),Y.min=rS(Y.min,et,en,ec,eo),Y.max=rS(Y.max,et,en,ec,eo)}function rM(Y,et,[en,ei,eo],ea,eu){rA(Y,et[en],et[ei],et[eo],et.scale,ea,eu)}let rP=["x","scaleX","originX"],rj=["y","scaleY","originY"];function rO(Y,et,en,ei){rM(Y.x,et,rP,en?en.x:void 0,ei?ei.x:void 0),rM(Y.y,et,rj,en?en.y:void 0,ei?ei.y:void 0)}var rI=en(99185);function rN(Y){return 0===Y.translate&&1===Y.scale}function rL(Y){return rN(Y.x)&&rN(Y.y)}function rR(Y,et){return Y.x.min===et.x.min&&Y.x.max===et.x.max&&Y.y.min===et.y.min&&Y.y.max===et.y.max}function rD(Y){return nS(Y.x)/nS(Y.y)}var rF=en(45286);class rB{constructor(){this.members=[]}add(Y){(0,rF.y4)(this.members,Y),Y.scheduleRender()}remove(Y){if((0,rF.cl)(this.members,Y),Y===this.prevLead&&(this.prevLead=void 0),Y===this.lead){let Y=this.members[this.members.length-1];Y&&this.promote(Y)}}relegate(Y){let et;let en=this.members.findIndex(et=>Y===et);if(0===en)return!1;for(let Y=en;Y>=0;Y--){let en=this.members[Y];if(!1!==en.isPresent){et=en;break}}return!!et&&(this.promote(et),!0)}promote(Y,et){let en=this.lead;if(Y!==en&&(this.prevLead=en,this.lead=Y,Y.show(),en)){en.instance&&en.scheduleRender(),Y.scheduleRender(),Y.resumeFrom=en,et&&(Y.resumeFrom.preserveOpacity=!0),en.snapshot&&(Y.snapshot=en.snapshot,Y.snapshot.latestValues=en.animationValues||en.latestValues),Y.root&&Y.root.isUpdating&&(Y.isLayoutDirty=!0);let{crossfade:ei}=Y.options;!1===ei&&en.hide()}}exitAnimationComplete(){this.members.forEach(Y=>{let{options:et,resumingFrom:en}=Y;et.onExitComplete&&et.onExitComplete(),en&&en.options.onExitComplete&&en.options.onExitComplete()})}scheduleRender(){this.members.forEach(Y=>{Y.instance&&Y.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function rz(Y,et,en){let ei="",eo=Y.x.translate/et.x,ea=Y.y.translate/et.y;if((eo||ea)&&(ei=`translate3d(${eo}px, ${ea}px, 0) `),(1!==et.x||1!==et.y)&&(ei+=`scale(${1/et.x}, ${1/et.y}) `),en){let{rotate:Y,rotateX:et,rotateY:eo}=en;Y&&(ei+=`rotate(${Y}deg) `),et&&(ei+=`rotateX(${et}deg) `),eo&&(ei+=`rotateY(${eo}deg) `)}let eu=Y.x.scale*et.x,ec=Y.y.scale*et.y;return(1!==eu||1!==ec)&&(ei+=`scale(${eu}, ${ec})`),ei||"none"}var rU=en(65062);let rH=(Y,et)=>Y.depth-et.depth;class rG{constructor(){this.children=[],this.isDirty=!1}add(Y){(0,rF.y4)(this.children,Y),this.isDirty=!0}remove(Y){(0,rF.cl)(this.children,Y),this.isDirty=!0}forEach(Y){this.isDirty&&this.children.sort(rH),this.isDirty=!1,this.children.forEach(Y)}}function rV(Y,et){let en=performance.now(),ei=({timestamp:eo})=>{let ea=eo-en;ea>=et&&((0,tA.Pn)(ei),Y(ea-et))};return tA.Wi.read(ei,!0),()=>(0,tA.Pn)(ei)}function rW(Y){window.MotionDebug&&window.MotionDebug.record(Y)}var rq=en(19003),rZ=en(64685);let rK=["","X","Y","Z"],r$=1e3,rY=0,rQ={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function rX({attachResizeListener:Y,defaultParent:et,measureScroll:en,checkIsScrollRoot:ei,resetTransform:eo}){return class{constructor(Y,en={},ei=null==et?void 0:et()){this.id=rY++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{rQ.totalNodes=rQ.resolvedTargetDeltas=rQ.recalculatedProjection=0,this.nodes.forEach(r1),this.nodes.forEach(r6),this.nodes.forEach(r7),this.nodes.forEach(r2),rW(rQ)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=Y,this.latestValues=en,this.root=ei?ei.root||ei:this,this.path=ei?[...ei.path,ei]:[],this.parent=ei,this.depth=ei?ei.depth+1:0,Y&&this.root.registerPotentialNode(Y,this);for(let Y=0;Y<this.path.length;Y++)this.path[Y].shouldResetTransform=!0;this.root===this&&(this.nodes=new rG)}addEventListener(Y,et){return this.eventHandlers.has(Y)||this.eventHandlers.set(Y,new ru.L),this.eventHandlers.get(Y).add(et)}notifyListeners(Y,...et){let en=this.eventHandlers.get(Y);en&&en.notify(...et)}hasListeners(Y){return this.eventHandlers.has(Y)}registerPotentialNode(Y,et){this.potentialNodes.set(Y,et)}mount(et,en=!1){if(this.instance)return;this.isSVG=(0,rq.v)(et),this.instance=et;let{layoutId:ei,layout:eo,visualElement:ea}=this.options;if(ea&&!ea.current&&ea.mount(et),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),en&&(eo||ei)&&(this.isLayoutDirty=!0),Y){let en;let ei=()=>this.root.updateBlockedByResize=!1;Y(et,()=>{this.root.updateBlockedByResize=!0,en&&en(),en=rV(ei,250),eT.hasAnimatedSinceResize&&(eT.hasAnimatedSinceResize=!1,this.nodes.forEach(r3))})}ei&&this.root.registerSharedNode(ei,this),!1!==this.options.animate&&ea&&(ei||eo)&&this.addEventListener("didUpdate",({delta:Y,hasLayoutChanged:et,hasRelativeTargetChanged:en,layout:ei})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let eo=this.options.transition||ea.getDefaultTransition()||iu,{onLayoutAnimationStart:eu,onLayoutAnimationComplete:ec}=ea.getProps(),ed=!this.targetLayout||!rR(this.targetLayout,ei)||en,ef=!et&&en;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||ef||et&&(ed||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(Y,ef);let et={...(0,rI.ev)(eo,"layout"),onPlay:eu,onComplete:ec};(ea.shouldReduceMotion||this.options.layoutRoot)&&(et.delay=0,et.type=!1),this.startAnimation(et)}else et||0!==this.animationProgress||r3(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=ei})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let Y=this.getStack();Y&&Y.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,tA.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(r8),this.animationId++)}getTransformTemplate(){let{visualElement:Y}=this.options;return Y&&Y.getProps().transformTemplate}willUpdate(Y=!0){if(this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let Y=0;Y<this.path.length;Y++){let et=this.path[Y];et.shouldResetTransform=!0,et.updateScroll("snapshot"),et.options.layoutRoot&&et.willUpdate(!1)}let{layoutId:et,layout:en}=this.options;if(void 0===et&&!en)return;let ei=this.getTransformTemplate();this.prevTransformTemplateValue=ei?ei(this.latestValues,""):void 0,this.updateSnapshot(),Y&&this.notifyListeners("willUpdate")}didUpdate(){let Y=this.isUpdateBlocked();if(Y){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r5);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(ih),this.potentialNodes.clear()),this.nodes.forEach(r4),this.nodes.forEach(rJ),this.nodes.forEach(r0),this.clearAllSnapshots(),tA.S6.update.process(nv.w),tA.S6.preRender.process(nv.w),tA.S6.render.process(nv.w))}clearAllSnapshots(){this.nodes.forEach(r9),this.sharedNodes.forEach(ir)}scheduleUpdateProjection(){tA.Wi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){tA.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let Y=0;Y<this.path.length;Y++){let et=this.path[Y];et.updateScroll()}let Y=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,nZ.dO)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:et}=this.options;et&&et.notify("LayoutMeasure",this.layout.layoutBox,Y?Y.layoutBox:void 0)}updateScroll(Y="measure"){let et=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===Y&&(et=!1),et&&(this.scroll={animationId:this.root.animationId,phase:Y,isRoot:ei(this.instance),offset:en(this.instance)})}resetTransform(){if(!eo)return;let Y=this.isLayoutDirty||this.shouldResetTransform,et=this.projectionDelta&&!rL(this.projectionDelta),en=this.getTransformTemplate(),ei=en?en(this.latestValues,""):void 0,ea=ei!==this.prevTransformTemplateValue;Y&&(et||(0,rU.ud)(this.latestValues)||ea)&&(eo(this.instance,ei),this.shouldResetTransform=!1,this.scheduleRender())}measure(Y=!0){let et=this.measurePageBox(),en=this.removeElementScroll(et);return Y&&(en=this.removeTransform(en)),ig(en),{animationId:this.root.animationId,measuredBox:et,layoutBox:en,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:Y}=this.options;if(!Y)return(0,nZ.dO)();let et=Y.measureViewportBox(),{scroll:en}=this.root;return en&&((0,rT.am)(et.x,en.offset.x),(0,rT.am)(et.y,en.offset.y)),et}removeElementScroll(Y){let et=(0,nZ.dO)();rC(et,Y);for(let en=0;en<this.path.length;en++){let ei=this.path[en],{scroll:eo,options:ea}=ei;if(ei!==this.root&&eo&&ea.layoutScroll){if(eo.isRoot){rC(et,Y);let{scroll:en}=this.root;en&&((0,rT.am)(et.x,-en.offset.x),(0,rT.am)(et.y,-en.offset.y))}(0,rT.am)(et.x,eo.offset.x),(0,rT.am)(et.y,eo.offset.y)}}return et}applyTransform(Y,et=!1){let en=(0,nZ.dO)();rC(en,Y);for(let Y=0;Y<this.path.length;Y++){let ei=this.path[Y];!et&&ei.options.layoutScroll&&ei.scroll&&ei!==ei.root&&(0,rT.D2)(en,{x:-ei.scroll.offset.x,y:-ei.scroll.offset.y}),(0,rU.ud)(ei.latestValues)&&(0,rT.D2)(en,ei.latestValues)}return(0,rU.ud)(this.latestValues)&&(0,rT.D2)(en,this.latestValues),en}removeTransform(Y){let et=(0,nZ.dO)();rC(et,Y);for(let Y=0;Y<this.path.length;Y++){let en=this.path[Y];if(!en.instance||!(0,rU.ud)(en.latestValues))continue;(0,rU.Lj)(en.latestValues)&&en.updateSnapshot();let ei=(0,nZ.dO)(),eo=en.measurePageBox();rC(ei,eo),rO(et,en.latestValues,en.snapshot?en.snapshot.layoutBox:void 0,ei)}return(0,rU.ud)(this.latestValues)&&rO(et,this.latestValues),et}setTargetDelta(Y){this.targetDelta=Y,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(Y){this.options={...this.options,...Y,crossfade:void 0===Y.crossfade||Y.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==nv.w.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(Y=!1){var et;let en=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=en.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=en.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=en.isSharedProjectionDirty);let ei=!!this.resumingFrom||this!==en,eo=!(Y||ei&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(et=this.parent)||void 0===et?void 0:et.isProjectionDirty)||this.attemptToResolveRelativeTarget);if(eo)return;let{layout:ea,layoutId:eu}=this.options;if(this.layout&&(ea||eu)){if(this.resolvedRelativeTargetAt=nv.w.timestamp,!this.targetDelta&&!this.relativeTarget){let Y=this.getClosestProjectingParent();Y&&Y.layout?(this.relativeParent=Y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,nZ.dO)(),this.relativeTargetOrigin=(0,nZ.dO)(),nN(this.relativeTargetOrigin,this.layout.layoutBox,Y.layout.layoutBox),rC(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,nZ.dO)(),this.targetWithTransforms=(0,nZ.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),nO(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rC(this.target,this.layout.layoutBox),(0,rT.o2)(this.target,this.targetDelta)):rC(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let Y=this.getClosestProjectingParent();Y&&!!Y.resumingFrom==!!this.resumingFrom&&!Y.options.layoutScroll&&Y.target?(this.relativeParent=Y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,nZ.dO)(),this.relativeTargetOrigin=(0,nZ.dO)(),nN(this.relativeTargetOrigin,this.target,Y.target),rC(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rQ.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,rU.Lj)(this.parent.latestValues)||(0,rU.D_)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var Y;let et=this.getLead(),en=!!this.resumingFrom||this!==et,ei=!0;if((this.isProjectionDirty||(null===(Y=this.parent)||void 0===Y?void 0:Y.isProjectionDirty))&&(ei=!1),en&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(ei=!1),this.resolvedRelativeTargetAt===nv.w.timestamp&&(ei=!1),ei)return;let{layout:eo,layoutId:ea}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(eo||ea))return;rC(this.layoutCorrected,this.layout.layoutBox),(0,rT.YY)(this.layoutCorrected,this.treeScale,this.path,en);let{target:eu}=et;if(!eu)return;this.projectionDelta||(this.projectionDelta=(0,nZ.wc)(),this.projectionDeltaWithTransform=(0,nZ.wc)());let ec=this.treeScale.x,ed=this.treeScale.y,ef=this.projectionTransform;nP(this.projectionDelta,this.layoutCorrected,eu,this.latestValues),this.projectionTransform=rz(this.projectionDelta,this.treeScale),(this.projectionTransform!==ef||this.treeScale.x!==ec||this.treeScale.y!==ed)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",eu)),rQ.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(Y=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),Y){let Y=this.getStack();Y&&Y.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(Y,et=!1){let en;let ei=this.snapshot,eo=ei?ei.latestValues:{},ea={...this.latestValues},eu=(0,nZ.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!et;let ec=(0,nZ.dO)(),ed=ei?ei.source:void 0,ef=this.layout?this.layout.source:void 0,eh=ed!==ef,ep=this.getStack(),em=!ep||ep.members.length<=1,eg=!!(eh&&!em&&!0===this.options.crossfade&&!this.path.some(il));this.animationProgress=0,this.mixTargetDelta=et=>{let ei=et/1e3;ii(eu.x,Y.x,ei),ii(eu.y,Y.y,ei),this.setTargetDelta(eu),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(nN(ec,this.layout.layoutBox,this.relativeParent.layout.layoutBox),ia(this.relativeTarget,this.relativeTargetOrigin,ec,ei),en&&rR(this.relativeTarget,en)&&(this.isProjectionDirty=!1),en||(en=(0,nZ.dO)()),rC(en,this.relativeTarget)),eh&&(this.animationValues=ea,rv(ea,eo,this.latestValues,ei,eg,em)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=ei},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(Y){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,tA.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tA.Wi.update(()=>{eT.hasAnimatedSinceResize=!0,this.currentAnimation=(0,rZ.D)(0,r$,{...Y,onUpdate:et=>{this.mixTargetDelta(et),Y.onUpdate&&Y.onUpdate(et)},onComplete:()=>{Y.onComplete&&Y.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let Y=this.getStack();Y&&Y.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(r$),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let Y=this.getLead(),{targetWithTransforms:et,target:en,layout:ei,latestValues:eo}=Y;if(et&&en&&ei){if(this!==Y&&this.layout&&ei&&iy(this.options.animationType,this.layout.layoutBox,ei.layoutBox)){en=this.target||(0,nZ.dO)();let et=nS(this.layout.layoutBox.x);en.x.min=Y.target.x.min,en.x.max=en.x.min+et;let ei=nS(this.layout.layoutBox.y);en.y.min=Y.target.y.min,en.y.max=en.y.min+ei}rC(et,en),(0,rT.D2)(et,eo),nP(this.projectionDeltaWithTransform,this.layoutCorrected,et,eo)}}registerSharedNode(Y,et){this.sharedNodes.has(Y)||this.sharedNodes.set(Y,new rB);let en=this.sharedNodes.get(Y);en.add(et);let ei=et.options.initialPromotionConfig;et.promote({transition:ei?ei.transition:void 0,preserveFollowOpacity:ei&&ei.shouldPreserveFollowOpacity?ei.shouldPreserveFollowOpacity(et):void 0})}isLead(){let Y=this.getStack();return!Y||Y.lead===this}getLead(){var Y;let{layoutId:et}=this.options;return et&&(null===(Y=this.getStack())||void 0===Y?void 0:Y.lead)||this}getPrevLead(){var Y;let{layoutId:et}=this.options;return et?null===(Y=this.getStack())||void 0===Y?void 0:Y.prevLead:void 0}getStack(){let{layoutId:Y}=this.options;if(Y)return this.root.sharedNodes.get(Y)}promote({needsReset:Y,transition:et,preserveFollowOpacity:en}={}){let ei=this.getStack();ei&&ei.promote(this,en),Y&&(this.projectionDelta=void 0,this.needsReset=!0),et&&this.setOptions({transition:et})}relegate(){let Y=this.getStack();return!!Y&&Y.relegate(this)}resetRotation(){let{visualElement:Y}=this.options;if(!Y)return;let et=!1,{latestValues:en}=Y;if((en.rotate||en.rotateX||en.rotateY||en.rotateZ)&&(et=!0),!et)return;let ei={};for(let et=0;et<rK.length;et++){let eo="rotate"+rK[et];en[eo]&&(ei[eo]=en[eo],Y.setStaticValue(eo,0))}for(let et in Y.render(),ei)Y.setStaticValue(et,ei[et]);Y.scheduleRender()}getProjectionStyles(Y={}){var et,en;let ei={};if(!this.instance||this.isSVG)return ei;if(!this.isVisible)return{visibility:"hidden"};ei.visibility="";let eo=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,ei.opacity="",ei.pointerEvents=e8(Y.pointerEvents)||"",ei.transform=eo?eo(this.latestValues,""):"none",ei;let ea=this.getLead();if(!this.projectionDelta||!this.layout||!ea.target){let et={};return this.options.layoutId&&(et.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,et.pointerEvents=e8(Y.pointerEvents)||""),this.hasProjected&&!(0,rU.ud)(this.latestValues)&&(et.transform=eo?eo({},""):"none",this.hasProjected=!1),et}let eu=ea.animationValues||ea.latestValues;this.applyTransformsToTarget(),ei.transform=rz(this.projectionDeltaWithTransform,this.treeScale,eu),eo&&(ei.transform=eo(eu,ei.transform));let{x:ec,y:ed}=this.projectionDelta;for(let Y in ei.transformOrigin=`${100*ec.origin}% ${100*ed.origin}% 0`,ea.animationValues?ei.opacity=ea===this?null!==(en=null!==(et=eu.opacity)&&void 0!==et?et:this.latestValues.opacity)&&void 0!==en?en:1:this.preserveOpacity?this.latestValues.opacity:eu.opacityExit:ei.opacity=ea===this?void 0!==eu.opacity?eu.opacity:"":void 0!==eu.opacityExit?eu.opacityExit:0,ro.P){if(void 0===eu[Y])continue;let{correct:et,applyTo:en}=ro.P[Y],eo="none"===ei.transform?eu[Y]:et(eu[Y],ea);if(en){let Y=en.length;for(let et=0;et<Y;et++)ei[en[et]]=eo}else ei[Y]=eo}return this.options.layoutId&&(ei.pointerEvents=ea===this?e8(Y.pointerEvents)||"":"none"),ei}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(Y=>{var et;return null===(et=Y.currentAnimation)||void 0===et?void 0:et.stop()}),this.root.nodes.forEach(r5),this.root.sharedNodes.clear()}}}function rJ(Y){Y.updateLayout()}function r0(Y){var et;let en=(null===(et=Y.resumeFrom)||void 0===et?void 0:et.snapshot)||Y.snapshot;if(Y.isLead()&&Y.layout&&en&&Y.hasListeners("didUpdate")){let{layoutBox:et,measuredBox:ei}=Y.layout,{animationType:eo}=Y.options,ea=en.source!==Y.layout.source;"size"===eo?nK(Y=>{let ei=ea?en.measuredBox[Y]:en.layoutBox[Y],eo=nS(ei);ei.min=et[Y].min,ei.max=ei.min+eo}):iy(eo,en.layoutBox,et)&&nK(ei=>{let eo=ea?en.measuredBox[ei]:en.layoutBox[ei],eu=nS(et[ei]);eo.max=eo.min+eu,Y.relativeTarget&&!Y.currentAnimation&&(Y.isProjectionDirty=!0,Y.relativeTarget[ei].max=Y.relativeTarget[ei].min+eu)});let eu=(0,nZ.wc)();nP(eu,et,en.layoutBox);let ec=(0,nZ.wc)();ea?nP(ec,Y.applyTransform(ei,!0),en.measuredBox):nP(ec,et,en.layoutBox);let ed=!rL(eu),ef=!1;if(!Y.resumeFrom){let ei=Y.getClosestProjectingParent();if(ei&&!ei.resumeFrom){let{snapshot:eo,layout:ea}=ei;if(eo&&ea){let eu=(0,nZ.dO)();nN(eu,en.layoutBox,eo.layoutBox);let ec=(0,nZ.dO)();nN(ec,et,ea.layoutBox),rR(eu,ec)||(ef=!0),ei.options.layoutRoot&&(Y.relativeTarget=ec,Y.relativeTargetOrigin=eu,Y.relativeParent=ei)}}}Y.notifyListeners("didUpdate",{layout:et,snapshot:en,delta:ec,layoutDelta:eu,hasLayoutChanged:ed,hasRelativeTargetChanged:ef})}else if(Y.isLead()){let{onExitComplete:et}=Y.options;et&&et()}Y.options.transition=void 0}function r1(Y){rQ.totalNodes++,Y.parent&&(Y.isProjecting()||(Y.isProjectionDirty=Y.parent.isProjectionDirty),Y.isSharedProjectionDirty||(Y.isSharedProjectionDirty=!!(Y.isProjectionDirty||Y.parent.isProjectionDirty||Y.parent.isSharedProjectionDirty)),Y.isTransformDirty||(Y.isTransformDirty=Y.parent.isTransformDirty))}function r2(Y){Y.isProjectionDirty=Y.isSharedProjectionDirty=Y.isTransformDirty=!1}function r9(Y){Y.clearSnapshot()}function r5(Y){Y.clearMeasurements()}function r4(Y){let{visualElement:et}=Y.options;et&&et.getProps().onBeforeLayoutMeasure&&et.notify("BeforeLayoutMeasure"),Y.resetTransform()}function r3(Y){Y.finishAnimation(),Y.targetDelta=Y.relativeTarget=Y.target=void 0}function r6(Y){Y.resolveTargetDelta()}function r7(Y){Y.calcProjection()}function r8(Y){Y.resetRotation()}function ir(Y){Y.removeLeadSnapshot()}function ii(Y,et,en){Y.translate=(0,nT.C)(et.translate,0,en),Y.scale=(0,nT.C)(et.scale,1,en),Y.origin=et.origin,Y.originPoint=et.originPoint}function io(Y,et,en,ei){Y.min=(0,nT.C)(et.min,en.min,ei),Y.max=(0,nT.C)(et.max,en.max,ei)}function ia(Y,et,en,ei){io(Y.x,et.x,en.x,ei),io(Y.y,et.y,en.y,ei)}function il(Y){return Y.animationValues&&void 0!==Y.animationValues.opacityExit}let iu={duration:.45,ease:[.4,0,.1,1]};function ih(Y,et){let en=Y.root;for(let et=Y.path.length-1;et>=0;et--)if(Y.path[et].instance){en=Y.path[et];break}let ei=en&&en!==Y.root?en.instance:document,eo=ei.querySelector(`[data-projection-id="${et}"]`);eo&&Y.mount(eo,!0)}function im(Y){Y.min=Math.round(Y.min),Y.max=Math.round(Y.max)}function ig(Y){im(Y.x),im(Y.y)}function iy(Y,et,en){return"position"===Y||"preserve-aspect"===Y&&!nA(rD(et),rD(en),.2)}let ib=rX({attachResizeListener:(Y,et)=>tp(Y,"resize",et),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ix={current:void 0},iw=rX({measureScroll:Y=>({x:Y.scrollLeft,y:Y.scrollTop}),defaultParent:()=>{if(!ix.current){let Y=new ib(0,{});Y.mount(window),Y.setOptions({layoutScroll:!0}),ix.current=Y}return ix.current},resetTransform:(Y,et)=>{Y.style.transform=void 0!==et?et:"none"},checkIsScrollRoot:Y=>"fixed"===window.getComputedStyle(Y).position}),i_={pan:{Feature:n6},drag:{Feature:n4,ProjectionNode:iw,MeasureLayout:rs}};var iE=en(92380),iC=en(7561);let iT=(Y,et)=>eR(Y)?new iC.e(et,{enableHardwareAcceleration:!1}):new iE.W(et,{enableHardwareAcceleration:!0}),iS={layout:{ProjectionNode:iw,MeasureLayout:rs}},iA={...nd,...tq,...i_,...iS},iM=eN((Y,et)=>th(Y,et,iA,iT))},80359:function(Y,et,en){"use strict";en.d(et,{D:function(){return ei}});let ei=Y=>Y.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},29858:function(Y,et,en){"use strict";en.d(et,{Xp:function(){return eu},f9:function(){return eo},tm:function(){return ea}});let ei=Y=>et=>"string"==typeof et&&et.startsWith(Y),eo=ei("--"),ea=ei("var(--"),eu=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},19003:function(Y,et,en){"use strict";function ei(Y){return Y instanceof SVGElement&&"svg"!==Y.tagName}en.d(et,{v:function(){return ei}})},70181:function(Y,et,en){"use strict";en.d(et,{T:function(){return eu}});var ei=en(58459),eo=en(73580),ea=en(24240);function eu(Y,et){let en=(0,ea.A)(Y);return en!==eo.h&&(en=ei.P),en.getAnimatableNone?en.getAnimatableNone(et):void 0}},24240:function(Y,et,en){"use strict";en.d(et,{A:function(){return ec}});var ei=en(72202),eo=en(73580),ea=en(46233);let eu={...ea.j,color:ei.$,backgroundColor:ei.$,outlineColor:ei.$,fill:ei.$,stroke:ei.$,borderColor:ei.$,borderTopColor:ei.$,borderRightColor:ei.$,borderBottomColor:ei.$,borderLeftColor:ei.$,filter:eo.h,WebkitFilter:eo.h},ec=Y=>eu[Y]},71707:function(Y,et,en){"use strict";en.d(et,{$:function(){return ec},C:function(){return ed}});var ei=en(97932),eo=en(81957),ea=en(88959);let eu={test:Y=>"auto"===Y,parse:Y=>Y},ec=[ei.Rx,eo.px,eo.aQ,eo.RW,eo.vw,eo.vh,eu],ed=Y=>ec.find((0,ea.l)(Y))},46233:function(Y,et,en){"use strict";en.d(et,{j:function(){return eu}});var ei=en(97932),eo=en(81957);let ea={...ei.Rx,transform:Math.round},eu={borderWidth:eo.px,borderTopWidth:eo.px,borderRightWidth:eo.px,borderBottomWidth:eo.px,borderLeftWidth:eo.px,borderRadius:eo.px,radius:eo.px,borderTopLeftRadius:eo.px,borderTopRightRadius:eo.px,borderBottomRightRadius:eo.px,borderBottomLeftRadius:eo.px,width:eo.px,maxWidth:eo.px,height:eo.px,maxHeight:eo.px,size:eo.px,top:eo.px,right:eo.px,bottom:eo.px,left:eo.px,padding:eo.px,paddingTop:eo.px,paddingRight:eo.px,paddingBottom:eo.px,paddingLeft:eo.px,margin:eo.px,marginTop:eo.px,marginRight:eo.px,marginBottom:eo.px,marginLeft:eo.px,rotate:eo.RW,rotateX:eo.RW,rotateY:eo.RW,rotateZ:eo.RW,scale:ei.bA,scaleX:ei.bA,scaleY:ei.bA,scaleZ:ei.bA,skew:eo.RW,skewX:eo.RW,skewY:eo.RW,distance:eo.px,translateX:eo.px,translateY:eo.px,translateZ:eo.px,x:eo.px,y:eo.px,z:eo.px,perspective:eo.px,transformPerspective:eo.px,opacity:ei.Fq,originX:eo.$C,originY:eo.$C,originZ:eo.px,zIndex:ea,fillOpacity:ei.Fq,strokeOpacity:ei.Fq,numOctaves:ea}},88959:function(Y,et,en){"use strict";en.d(et,{l:function(){return ei}});let ei=Y=>et=>et.test(Y)},92380:function(Y,et,en){"use strict";en.d(et,{W:function(){return eg}});var ei=en(66428),eo=en(29858),ea=en(71863),eu=en(89716),ec=en(1155),ed=en(24240),ef=en(76077),eh=en(91385),ep=en(79237);function em(Y){return window.getComputedStyle(Y)}class eg extends eh.J{readValueFromInstance(Y,et){if(ea.G.has(et)){let Y=(0,ed.A)(et);return Y&&Y.default||0}{let en=em(Y),ei=((0,eo.f9)(et)?en.getPropertyValue(et):en[et])||0;return"string"==typeof ei?ei.trim():ei}}measureInstanceViewportBox(Y,{transformPagePoint:et}){return(0,ef.J)(Y,et)}build(Y,et,en,eo){(0,ei.r)(Y,et,en,eo.transformTemplate)}scrapeMotionValuesFromProps(Y,et){return(0,eu.U)(Y,et)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:Y}=this.props;(0,ep.i)(Y)&&(this.childSubscription=Y.on("change",Y=>{this.current&&(this.current.textContent=`${Y}`)}))}renderInstance(Y,et,en,ei){(0,ec.N)(Y,et,en,ei)}}},66428:function(Y,et,en){"use strict";en.d(et,{r:function(){return eh}});var ei=en(71863);let eo={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ea=ei._.length;function eu(Y,{enableHardwareAcceleration:et=!0,allowTransformNone:en=!0},eu,ec){let ed="";for(let et=0;et<ea;et++){let en=ei._[et];if(void 0!==Y[en]){let et=eo[en]||en;ed+=`${et}(${Y[en]}) `}}return et&&!Y.z&&(ed+="translateZ(0)"),ed=ed.trim(),ec?ed=ec(Y,eu?"":ed):en&&eu&&(ed="none"),ed}var ec=en(29858);let ed=(Y,et)=>et&&"number"==typeof Y?et.transform(Y):Y;var ef=en(46233);function eh(Y,et,en,eo){let{style:ea,vars:eh,transform:ep,transformOrigin:em}=Y,eg=!1,ey=!1,eb=!0;for(let Y in et){let en=et[Y];if((0,ec.f9)(Y)){eh[Y]=en;continue}let eo=ef.j[Y],eu=ed(en,eo);if(ei.G.has(Y)){if(eg=!0,ep[Y]=eu,!eb)continue;en!==(eo.default||0)&&(eb=!1)}else Y.startsWith("origin")?(ey=!0,em[Y]=eu):ea[Y]=eu}if(!et.transform&&(eg||eo?ea.transform=eu(Y.transform,en,eb,eo):ea.transform&&(ea.transform="none")),ey){let{originX:Y="50%",originY:et="50%",originZ:en=0}=em;ea.transformOrigin=`${Y} ${et} ${en}`}}},1155:function(Y,et,en){"use strict";function ei(Y,{style:et,vars:en},ei,eo){for(let ea in Object.assign(Y.style,et,eo&&eo.getProjectionStyles(ei)),en)Y.style.setProperty(ea,en[ea])}en.d(et,{N:function(){return ei}})},89716:function(Y,et,en){"use strict";en.d(et,{U:function(){return ea}});var ei=en(55287),eo=en(79237);function ea(Y,et){let{style:en}=Y,ea={};for(let eu in en)((0,eo.i)(en[eu])||et.style&&(0,eo.i)(et.style[eu])||(0,ei.j)(eu,Y))&&(ea[eu]=en[eu]);return ea}},71863:function(Y,et,en){"use strict";en.d(et,{G:function(){return eo},_:function(){return ei}});let ei=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],eo=new Set(ei)},30124:function(Y,et,en){"use strict";en.d(et,{R:function(){return ei}});let ei=new WeakMap},7561:function(Y,et,en){"use strict";en.d(et,{e:function(){return eg}});var ei=en(37116),eo=en(91385),ea=en(55263),eu=en(80359),ec=en(29262),ed=en(71863),ef=en(35027),eh=en(24240),ep=en(6266),em=en(58734);class eg extends eo.J{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(Y,et){return Y[et]}readValueFromInstance(Y,et){if(ed.G.has(et)){let Y=(0,eh.A)(et);return Y&&Y.default||0}return et=ec.s.has(et)?et:(0,eu.D)(et),Y.getAttribute(et)}measureInstanceViewportBox(){return(0,ep.dO)()}scrapeMotionValuesFromProps(Y,et){return(0,ei.U)(Y,et)}build(Y,et,en,ei){(0,ea.i)(Y,et,en,this.isSVGTag,ei.transformTemplate)}renderInstance(Y,et,en,ei){(0,ef.K)(Y,et,en,ei)}mount(Y){this.isSVGTag=(0,em.a)(Y.tagName),super.mount(Y)}}},55263:function(Y,et,en){"use strict";en.d(et,{i:function(){return eh}});var ei=en(66428),eo=en(81957);function ea(Y,et,en){return"string"==typeof Y?Y:eo.px.transform(et+en*Y)}function eu(Y,et,en){let ei=ea(et,Y.x,Y.width),eo=ea(en,Y.y,Y.height);return`${ei} ${eo}`}let ec={offset:"stroke-dashoffset",array:"stroke-dasharray"},ed={offset:"strokeDashoffset",array:"strokeDasharray"};function ef(Y,et,en=1,ei=0,ea=!0){Y.pathLength=1;let eu=ea?ec:ed;Y[eu.offset]=eo.px.transform(-ei);let ef=eo.px.transform(et),eh=eo.px.transform(en);Y[eu.array]=`${ef} ${eh}`}function eh(Y,{attrX:et,attrY:en,attrScale:eo,originX:ea,originY:ec,pathLength:ed,pathSpacing:eh=1,pathOffset:ep=0,...em},eg,ey,eb){if((0,ei.r)(Y,em,eg,eb),ey){Y.style.viewBox&&(Y.attrs.viewBox=Y.style.viewBox);return}Y.attrs=Y.style,Y.style={};let{attrs:ek,style:ew,dimensions:e_}=Y;ek.transform&&(e_&&(ew.transform=ek.transform),delete ek.transform),e_&&(void 0!==ea||void 0!==ec||ew.transform)&&(ew.transformOrigin=eu(e_,void 0!==ea?ea:.5,void 0!==ec?ec:.5)),void 0!==et&&(ek.x=et),void 0!==en&&(ek.y=en),void 0!==eo&&(ek.scale=eo),void 0!==ed&&ef(ek,ed,eh,ep,!1)}},29262:function(Y,et,en){"use strict";en.d(et,{s:function(){return ei}});let ei=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},58734:function(Y,et,en){"use strict";en.d(et,{a:function(){return ei}});let ei=Y=>"string"==typeof Y&&"svg"===Y.toLowerCase()},35027:function(Y,et,en){"use strict";en.d(et,{K:function(){return eu}});var ei=en(80359),eo=en(1155),ea=en(29262);function eu(Y,et,en,eu){for(let en in(0,eo.N)(Y,et,void 0,eu),et.attrs)Y.setAttribute(ea.s.has(en)?en:(0,ei.D)(en),et.attrs[en])}},37116:function(Y,et,en){"use strict";en.d(et,{U:function(){return eu}});var ei=en(79237),eo=en(89716),ea=en(71863);function eu(Y,et){let en=(0,eo.U)(Y,et);for(let eo in Y)if((0,ei.i)(Y[eo])||(0,ei.i)(et[eo])){let et=-1!==ea._.indexOf(eo)?"attr"+eo.charAt(0).toUpperCase()+eo.substring(1):eo;en[et]=Y[eo]}return en}},98261:function(Y,et,en){"use strict";en.d(et,{G:function(){return eu},M:function(){return ec}});var ei=en(26763),eo=en(18094),ea=en(68988);function eu(Y){return(0,ei.H)(Y.animate)||ea.V.some(et=>(0,eo.$)(Y[et]))}function ec(Y){return!!(eu(Y)||Y.variants)}},18094:function(Y,et,en){"use strict";function ei(Y){return"string"==typeof Y||Array.isArray(Y)}en.d(et,{$:function(){return ei}})},71981:function(Y,et,en){"use strict";en.d(et,{x:function(){return eu}});var ei=en(30959);function eo(Y){let et={};return Y.values.forEach((Y,en)=>et[en]=Y.get()),et}function ea(Y){let et={};return Y.values.forEach((Y,en)=>et[en]=Y.getVelocity()),et}function eu(Y,et,en){let eu=Y.getProps();return(0,ei.o)(eu,et,void 0!==en?en:eu.custom,eo(Y),ea(Y))}},30959:function(Y,et,en){"use strict";function ei(Y,et,en,ei={},eo={}){return"function"==typeof et&&(et=et(void 0!==en?en:Y.custom,ei,eo)),"string"==typeof et&&(et=Y.variants&&Y.variants[et]),"function"==typeof et&&(et=et(void 0!==en?en:Y.custom,ei,eo)),et}en.d(et,{o:function(){return ei}})},88052:function(Y,et,en){"use strict";en.d(et,{GJ:function(){return ew},P$:function(){return eE},CD:function(){return ek}});let ei=Y=>/^\-?\d*\.?\d+$/.test(Y),eo=Y=>/^0[^.\s]+$/.test(Y);var ea=en(45201),eu=en(41835),ec=en(58459),ed=en(70181),ef=en(72202),eh=en(71707),ep=en(88959);let em=[...eh.$,ef.$,ec.P],eg=Y=>em.find((0,ep.l)(Y));var ey=en(71981);function eb(Y,et,en){Y.hasValue(et)?Y.getValue(et).set(en):Y.addValue(et,(0,eu.B)(en))}function ek(Y,et){let en=(0,ey.x)(Y,et),{transitionEnd:ei={},transition:eo={},...eu}=en?Y.makeTargetAnimatable(en,!1):{};for(let et in eu={...eu,...ei}){let en=(0,ea.Y)(eu[et]);eb(Y,et,en)}}function ew(Y,et,en){var ea,ef;let eh=Object.keys(et).filter(et=>!Y.hasValue(et)),ep=eh.length;if(ep)for(let em=0;em<ep;em++){let ep=eh[em],ey=et[ep],eb=null;Array.isArray(ey)&&(eb=ey[0]),null===eb&&(eb=null!==(ef=null!==(ea=en[ep])&&void 0!==ea?ea:Y.readValue(ep))&&void 0!==ef?ef:et[ep]),null!=eb&&("string"==typeof eb&&(ei(eb)||eo(eb))?eb=parseFloat(eb):!eg(eb)&&ec.P.test(ey)&&(eb=(0,ed.T)(ep,ey)),Y.addValue(ep,(0,eu.B)(eb,{owner:Y})),void 0===en[ep]&&(en[ep]=eb),null!==eb&&Y.setBaseTarget(ep,eb))}}function e_(Y,et){if(!et)return;let en=et[Y]||et.default||et;return en.from}function eE(Y,et,en){let ei={};for(let eo in Y){let Y=e_(eo,et);if(void 0!==Y)ei[eo]=Y;else{let Y=en.getValue(eo);Y&&(ei[eo]=Y.get())}}return ei}},68988:function(Y,et,en){"use strict";en.d(et,{V:function(){return eo},e:function(){return ei}});let ei=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eo=["initial",...ei]},45286:function(Y,et,en){"use strict";function ei(Y,et){-1===Y.indexOf(et)&&Y.push(et)}function eo(Y,et){let en=Y.indexOf(et);en>-1&&Y.splice(en,1)}en.d(et,{cl:function(){return eo},y4:function(){return ei}})},32025:function(Y,et,en){"use strict";en.d(et,{u:function(){return ei}});let ei=(Y,et,en)=>Math.min(Math.max(en,Y),et)},83813:function(Y,et,en){"use strict";en.d(et,{K:function(){return eo},k:function(){return ea}});var ei=en(51734);let eo=ei.Z,ea=ei.Z},71790:function(Y,et,en){"use strict";en.d(et,{s:function(){return eN}});var ei=en(83813),eo=en(72202),ea=en(32025),eu=en(31914);function ec(Y,et,en){return(en<0&&(en+=1),en>1&&(en-=1),en<1/6)?Y+(et-Y)*6*en:en<.5?et:en<2/3?Y+(et-Y)*(2/3-en)*6:Y}function ed({hue:Y,saturation:et,lightness:en,alpha:ei}){Y/=360,en/=100;let eo=0,ea=0,eu=0;if(et/=100){let ei=en<.5?en*(1+et):en+et-en*et,ed=2*en-ei;eo=ec(ed,ei,Y+1/3),ea=ec(ed,ei,Y),eu=ec(ed,ei,Y-1/3)}else eo=ea=eu=en;return{red:Math.round(255*eo),green:Math.round(255*ea),blue:Math.round(255*eu),alpha:ei}}var ef=en(51907),eh=en(53354),ep=en(30225);let em=(Y,et,en)=>{let ei=Y*Y;return Math.sqrt(Math.max(0,en*(et*et-ei)+ei))},eg=[ef.$,eh.m,ep.J],ey=Y=>eg.find(et=>et.test(Y));function eb(Y){let et=ey(Y);(0,ei.k)(!!et,`'${Y}' is not an animatable color. Use the equivalent color code instead.`);let en=et.parse(Y);return et===ep.J&&(en=ed(en)),en}let ek=(Y,et)=>{let en=eb(Y),ei=eb(et),eo={...en};return Y=>(eo.red=em(en.red,ei.red,Y),eo.green=em(en.green,ei.green,Y),eo.blue=em(en.blue,ei.blue,Y),eo.alpha=(0,eu.C)(en.alpha,ei.alpha,Y),eh.m.transform(eo))};var ew=en(9323),e_=en(58459);let eE=(Y,et)=>en=>`${en>0?et:Y}`;function eC(Y,et){return"number"==typeof Y?en=>(0,eu.C)(Y,et,en):eo.$.test(Y)?ek(Y,et):Y.startsWith("var(")?eE(Y,et):eA(Y,et)}let eT=(Y,et)=>{let en=[...Y],ei=en.length,eo=Y.map((Y,en)=>eC(Y,et[en]));return Y=>{for(let et=0;et<ei;et++)en[et]=eo[et](Y);return en}},eS=(Y,et)=>{let en={...Y,...et},ei={};for(let eo in en)void 0!==Y[eo]&&void 0!==et[eo]&&(ei[eo]=eC(Y[eo],et[eo]));return Y=>{for(let et in ei)en[et]=ei[et](Y);return en}},eA=(Y,et)=>{let en=e_.P.createTransformer(et),eo=(0,e_.V)(Y),ea=(0,e_.V)(et),eu=eo.numVars===ea.numVars&&eo.numColors===ea.numColors&&eo.numNumbers>=ea.numNumbers;return eu?(0,ew.z)(eT(eo.values,ea.values),en):((0,ei.K)(!0,`Complex values '${Y}' and '${et}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),eE(Y,et))};var eM=en(93427),eP=en(51734);let ej=(Y,et)=>en=>(0,eu.C)(Y,et,en);function eO(Y){if("number"==typeof Y);else if("string"==typeof Y)return eo.$.test(Y)?ek:eA;else if(Array.isArray(Y))return eT;else if("object"==typeof Y)return eS;return ej}function eI(Y,et,en){let ei=[],eo=en||eO(Y[0]),ea=Y.length-1;for(let en=0;en<ea;en++){let ea=eo(Y[en],Y[en+1]);if(et){let Y=Array.isArray(et)?et[en]||eP.Z:et;ea=(0,ew.z)(Y,ea)}ei.push(ea)}return ei}function eN(Y,et,{clamp:en=!0,ease:eo,mixer:eu}={}){let ec=Y.length;if((0,ei.k)(ec===et.length,"Both input and output ranges must be the same length"),1===ec)return()=>et[0];Y[0]>Y[ec-1]&&(Y=[...Y].reverse(),et=[...et].reverse());let ed=eI(et,eo,eu),ef=ed.length,eh=et=>{let en=0;if(ef>1)for(;en<Y.length-2&&!(et<Y[en+1]);en++);let ei=(0,eM.Y)(Y[en],Y[en+1],et);return ed[en](ei)};return en?et=>eh((0,ea.u)(Y[0],Y[ec-1],et)):eh}},36780:function(Y,et,en){"use strict";en.d(et,{j:function(){return ei}});let ei="undefined"!=typeof document},64056:function(Y,et,en){"use strict";function ei(Y){return"object"==typeof Y&&Object.prototype.hasOwnProperty.call(Y,"current")}en.d(et,{I:function(){return ei}})},31914:function(Y,et,en){"use strict";en.d(et,{C:function(){return ei}});let ei=(Y,et,en)=>-en*Y+en*et+Y},51734:function(Y,et,en){"use strict";en.d(et,{Z:function(){return ei}});let ei=Y=>Y},61293:function(Y,et,en){"use strict";en.d(et,{Y:function(){return eo}});var ei=en(76695);function eo(Y){let et=[0];return(0,ei.c)(et,Y.length-1),et}},76695:function(Y,et,en){"use strict";en.d(et,{c:function(){return ea}});var ei=en(31914),eo=en(93427);function ea(Y,et){let en=Y[Y.length-1];for(let ea=1;ea<=et;ea++){let eu=(0,eo.Y)(0,et,ea);Y.push((0,ei.C)(en,1,eu))}}},9323:function(Y,et,en){"use strict";en.d(et,{z:function(){return eo}});let ei=(Y,et)=>en=>et(Y(en)),eo=(...Y)=>Y.reduce(ei)},93427:function(Y,et,en){"use strict";en.d(et,{Y:function(){return ei}});let ei=(Y,et,en)=>{let ei=et-Y;return 0===ei?1:(en-Y)/ei}},45201:function(Y,et,en){"use strict";en.d(et,{Y:function(){return ea},p:function(){return eo}});var ei=en(91136);let eo=Y=>!!(Y&&"object"==typeof Y&&Y.mix&&Y.toValue),ea=Y=>(0,ei.C)(Y)?Y[Y.length-1]||0:Y},31563:function(Y,et,en){"use strict";en.d(et,{L:function(){return eo}});var ei=en(45286);class eo{constructor(){this.subscriptions=[]}add(Y){return(0,ei.y4)(this.subscriptions,Y),()=>(0,ei.cl)(this.subscriptions,Y)}notify(Y,et,en){let ei=this.subscriptions.length;if(ei){if(1===ei)this.subscriptions[0](Y,et,en);else for(let eo=0;eo<ei;eo++){let ei=this.subscriptions[eo];ei&&ei(Y,et,en)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},30309:function(Y,et,en){"use strict";en.d(et,{X:function(){return eo},w:function(){return ei}});let ei=Y=>1e3*Y,eo=Y=>Y/1e3},35375:function(Y,et,en){"use strict";en.d(et,{h:function(){return eo}});var ei=en(70079);function eo(Y){let et=(0,ei.useRef)(null);return null===et.current&&(et.current=Y()),et.current}},48783:function(Y,et,en){"use strict";en.d(et,{L:function(){return ea}});var ei=en(70079),eo=en(36780);let ea=eo.j?ei.useLayoutEffect:ei.useEffect},77421:function(Y,et,en){"use strict";en.d(et,{W:function(){return eo}});var ei=en(70079);function eo(Y,et,en){(0,ei.useInsertionEffect)(()=>Y.on(et,en),[Y,et,en])}},6899:function(Y,et,en){"use strict";function ei(Y,et){return et?Y*(1e3/et):0}en.d(et,{R:function(){return ei}})},41835:function(Y,et,en){"use strict";en.d(et,{B:function(){return ef}});var ei=en(87699),eo=en(3831),ea=en(31563),eu=en(6899);let ec=Y=>!isNaN(parseFloat(Y));class ed{constructor(Y,et={}){this.version="10.12.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(Y,et=!0)=>{this.prev=this.current,this.current=Y;let{delta:en,timestamp:ea}=ei.w;this.lastUpdated!==ea&&(this.timeDelta=en,this.lastUpdated=ea,eo.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),et&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>eo.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:Y})=>{Y!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=Y,this.canTrackVelocity=ec(this.current),this.owner=et.owner}onChange(Y){return this.on("change",Y)}on(Y,et){this.events[Y]||(this.events[Y]=new ea.L);let en=this.events[Y].add(et);return"change"===Y?()=>{en(),eo.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:en}clearListeners(){for(let Y in this.events)this.events[Y].clear()}attach(Y,et){this.passiveEffect=Y,this.stopPassiveEffect=et}set(Y,et=!0){et&&this.passiveEffect?this.passiveEffect(Y,this.updateAndNotify):this.updateAndNotify(Y,et)}setWithVelocity(Y,et,en){this.set(et),this.prev=Y,this.timeDelta=en}jump(Y){this.updateAndNotify(Y),this.prev=Y,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,eu.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(Y){return this.stop(),new Promise(et=>{this.hasAnimated=!0,this.animation=Y(et),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ef(Y,et){return new ed(Y,et)}},51907:function(Y,et,en){"use strict";en.d(et,{$:function(){return eu}});var ei=en(53354),eo=en(91402);function ea(Y){let et="",en="",ei="",eo="";return Y.length>5?(et=Y.substring(1,3),en=Y.substring(3,5),ei=Y.substring(5,7),eo=Y.substring(7,9)):(et=Y.substring(1,2),en=Y.substring(2,3),ei=Y.substring(3,4),eo=Y.substring(4,5),et+=et,en+=en,ei+=ei,eo+=eo),{red:parseInt(et,16),green:parseInt(en,16),blue:parseInt(ei,16),alpha:eo?parseInt(eo,16)/255:1}}let eu={test:(0,eo.i)("#"),parse:ea,transform:ei.m.transform}},30225:function(Y,et,en){"use strict";en.d(et,{J:function(){return ec}});var ei=en(97932),eo=en(81957),ea=en(66853),eu=en(91402);let ec={test:(0,eu.i)("hsl","hue"),parse:(0,eu.d)("hue","saturation","lightness"),transform:({hue:Y,saturation:et,lightness:en,alpha:eu=1})=>"hsla("+Math.round(Y)+", "+eo.aQ.transform((0,ea.Nw)(et))+", "+eo.aQ.transform((0,ea.Nw)(en))+", "+(0,ea.Nw)(ei.Fq.transform(eu))+")"}},72202:function(Y,et,en){"use strict";en.d(et,{$:function(){return ec}});var ei=en(66853),eo=en(51907),ea=en(30225),eu=en(53354);let ec={test:Y=>eu.m.test(Y)||eo.$.test(Y)||ea.J.test(Y),parse:Y=>eu.m.test(Y)?eu.m.parse(Y):ea.J.test(Y)?ea.J.parse(Y):eo.$.parse(Y),transform:Y=>(0,ei.HD)(Y)?Y:Y.hasOwnProperty("red")?eu.m.transform(Y):ea.J.transform(Y)}},53354:function(Y,et,en){"use strict";en.d(et,{m:function(){return ef}});var ei=en(32025),eo=en(97932),ea=en(66853),eu=en(91402);let ec=Y=>(0,ei.u)(0,255,Y),ed={...eo.Rx,transform:Y=>Math.round(ec(Y))},ef={test:(0,eu.i)("rgb","red"),parse:(0,eu.d)("red","green","blue"),transform:({red:Y,green:et,blue:en,alpha:ei=1})=>"rgba("+ed.transform(Y)+", "+ed.transform(et)+", "+ed.transform(en)+", "+(0,ea.Nw)(eo.Fq.transform(ei))+")"}},91402:function(Y,et,en){"use strict";en.d(et,{d:function(){return ea},i:function(){return eo}});var ei=en(66853);let eo=(Y,et)=>en=>!!((0,ei.HD)(en)&&ei.mj.test(en)&&en.startsWith(Y)||et&&Object.prototype.hasOwnProperty.call(en,et)),ea=(Y,et,en)=>eo=>{if(!(0,ei.HD)(eo))return eo;let[ea,eu,ec,ed]=eo.match(ei.KP);return{[Y]:parseFloat(ea),[et]:parseFloat(eu),[en]:parseFloat(ec),alpha:void 0!==ed?parseFloat(ed):1}}},73580:function(Y,et,en){"use strict";en.d(et,{h:function(){return ed}});var ei=en(58459),eo=en(66853);let ea=new Set(["brightness","contrast","saturate","opacity"]);function eu(Y){let[et,en]=Y.slice(0,-1).split("(");if("drop-shadow"===et)return Y;let[ei]=en.match(eo.KP)||[];if(!ei)return Y;let eu=en.replace(ei,""),ec=ea.has(et)?1:0;return ei!==en&&(ec*=100),et+"("+ec+eu+")"}let ec=/([a-z-]*)\(.*?\)/g,ed={...ei.P,getAnimatableNone:Y=>{let et=Y.match(ec);return et?et.map(eu).join(" "):Y}}},58459:function(Y,et,en){"use strict";en.d(et,{P:function(){return e_},V:function(){return eg}});var ei=en(29858),eo=en(51734),ea=en(72202),eu=en(97932),ec=en(66853);function ed(Y){var et,en;return isNaN(Y)&&(0,ec.HD)(Y)&&((null===(et=Y.match(ec.KP))||void 0===et?void 0:et.length)||0)+((null===(en=Y.match(ec.dA))||void 0===en?void 0:en.length)||0)>0}let ef={regex:ei.Xp,countKey:"Vars",token:"${v}",parse:eo.Z},eh={regex:ec.dA,countKey:"Colors",token:"${c}",parse:ea.$.parse},ep={regex:ec.KP,countKey:"Numbers",token:"${n}",parse:eu.Rx.parse};function em(Y,{regex:et,countKey:en,token:ei,parse:eo}){let ea=Y.tokenised.match(et);ea&&(Y["num"+en]=ea.length,Y.tokenised=Y.tokenised.replace(et,ei),Y.values.push(...ea.map(eo)))}function eg(Y){let et=Y.toString(),en={value:et,tokenised:et,values:[],numVars:0,numColors:0,numNumbers:0};return en.value.includes("var(--")&&em(en,ef),em(en,eh),em(en,ep),en}function ey(Y){return eg(Y).values}function eb(Y){let{values:et,numColors:en,numVars:ei,tokenised:eo}=eg(Y),eu=et.length;return Y=>{let et=eo;for(let eo=0;eo<eu;eo++)et=eo<ei?et.replace(ef.token,Y[eo]):eo<ei+en?et.replace(eh.token,ea.$.transform(Y[eo])):et.replace(ep.token,(0,ec.Nw)(Y[eo]));return et}}let ek=Y=>"number"==typeof Y?0:Y;function ew(Y){let et=ey(Y),en=eb(Y);return en(et.map(ek))}let e_={test:ed,parse:ey,createTransformer:eb,getAnimatableNone:ew}},97932:function(Y,et,en){"use strict";en.d(et,{Fq:function(){return ea},Rx:function(){return eo},bA:function(){return eu}});var ei=en(32025);let eo={test:Y=>"number"==typeof Y,parse:parseFloat,transform:Y=>Y},ea={...eo,transform:Y=>(0,ei.u)(0,1,Y)},eu={...eo,default:1}},81957:function(Y,et,en){"use strict";en.d(et,{$C:function(){return eh},RW:function(){return ea},aQ:function(){return eu},px:function(){return ec},vh:function(){return ed},vw:function(){return ef}});var ei=en(66853);let eo=Y=>({test:et=>(0,ei.HD)(et)&&et.endsWith(Y)&&1===et.split(" ").length,parse:parseFloat,transform:et=>`${et}${Y}`}),ea=eo("deg"),eu=eo("%"),ec=eo("px"),ed=eo("vh"),ef=eo("vw"),eh={...eu,parse:Y=>eu.parse(Y)/100,transform:Y=>eu.transform(100*Y)}},66853:function(Y,et,en){"use strict";en.d(et,{HD:function(){return ec},KP:function(){return eo},Nw:function(){return ei},dA:function(){return ea},mj:function(){return eu}});let ei=Y=>Math.round(1e5*Y)/1e5,eo=/(-)?([\d]*\.?[\d])+/g,ea=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,eu=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ec(Y){return"string"==typeof Y}},19587:function(Y,et,en){"use strict";en.d(et,{N:function(){return eu}});var ei=en(33554),eo=en(3831),ea=en(48783);function eu(Y,et){let en=(0,ei.c)(et()),eu=()=>en.set(et());return eu(),(0,ea.L)(()=>{let et=()=>eo.Wi.update(eu,!1,!0),en=Y.map(Y=>Y.on("change",et));return()=>{en.forEach(Y=>Y()),(0,eo.Pn)(eu)}}),en}},62853:function(Y,et,en){"use strict";en.d(et,{Y:function(){return ea}});var ei=en(19587),eo=en(79237);function ea(Y,...et){let en=Y.length;function eu(){let ei="";for(let ea=0;ea<en;ea++){ei+=Y[ea];let en=et[ea];en&&(ei+=(0,eo.i)(en)?en.get():en)}return ei}return(0,ei.N)(et.filter(eo.i),eu)}},33554:function(Y,et,en){"use strict";en.d(et,{c:function(){return ec}});var ei=en(70079),eo=en(41835),ea=en(52847),eu=en(35375);function ec(Y){let et=(0,eu.h)(()=>(0,eo.B)(Y)),{isStatic:en}=(0,ei.useContext)(ea._);if(en){let[,en]=(0,ei.useState)(Y);(0,ei.useEffect)(()=>et.on("change",en),[])}return et}},59837:function(Y,et,en){"use strict";en.d(et,{H:function(){return ef}});var ei=en(71790);let eo=Y=>"object"==typeof Y&&Y.mix,ea=Y=>eo(Y)?Y.mix:void 0;function eu(...Y){let et=!Array.isArray(Y[0]),en=et?0:-1,eo=Y[0+en],ec=Y[1+en],ed=Y[2+en],ef=Y[3+en],eh=(0,ei.s)(ec,ed,{mixer:ea(ed[0]),...ef});return et?eh(eo):eh}var ec=en(19587),ed=en(35375);function ef(Y,et,en,ei){let eo="function"==typeof et?et:eu(et,en,ei);return Array.isArray(Y)?eh(Y,eo):eh([Y],([Y])=>eo(Y))}function eh(Y,et){let en=(0,ed.h)(()=>[]);return(0,ec.N)(Y,()=>{en.length=0;let ei=Y.length;for(let et=0;et<ei;et++)en[et]=Y[et].get();return et(en)})}},23991:function(Y,et,en){"use strict";en.d(et,{L:function(){return eo}});var ei=en(79237);function eo(Y){return!!((0,ei.i)(Y)&&Y.add)}},79237:function(Y,et,en){"use strict";en.d(et,{i:function(){return ei}});let ei=Y=>!!(Y&&Y.getVelocity)},87981:function(Y,et,en){"use strict";en.d(et,{Uy:function(){return e5}});var ei,eo=Symbol.for("immer-nothing"),ea=Symbol.for("immer-draftable"),eu=Symbol.for("immer-state");function ec(Y,...et){throw Error(`[Immer] minified error nr: ${Y}. Full error at: https://bit.ly/3cXEKWf`)}var ed=Object.getPrototypeOf;function ef(Y){return!!Y&&!!Y[eu]}function eh(Y){return!!Y&&(em(Y)||Array.isArray(Y)||!!Y[ea]||!!Y.constructor?.[ea]||e_(Y)||eE(Y))}var ep=Object.prototype.constructor.toString();function em(Y){if(!Y||"object"!=typeof Y)return!1;let et=ed(Y);if(null===et)return!0;let en=Object.hasOwnProperty.call(et,"constructor")&&et.constructor;return en===Object||"function"==typeof en&&Function.toString.call(en)===ep}function eg(Y,et){0===ey(Y)?Object.entries(Y).forEach(([en,ei])=>{et(en,ei,Y)}):Y.forEach((en,ei)=>et(ei,en,Y))}function ey(Y){let et=Y[eu];return et?et.type_:Array.isArray(Y)?1:e_(Y)?2:eE(Y)?3:0}function eb(Y,et){return 2===ey(Y)?Y.has(et):Object.prototype.hasOwnProperty.call(Y,et)}function ek(Y,et,en){let ei=ey(Y);2===ei?Y.set(et,en):3===ei?Y.add(en):Y[et]=en}function ew(Y,et){return Y===et?0!==Y||1/Y==1/et:Y!=Y&&et!=et}function e_(Y){return Y instanceof Map}function eE(Y){return Y instanceof Set}function eC(Y){return Y.copy_||Y.base_}function eT(Y,et){if(e_(Y))return new Map(Y);if(eE(Y))return new Set(Y);if(Array.isArray(Y))return Array.prototype.slice.call(Y);if(!et&&em(Y)){if(!ed(Y)){let et=Object.create(null);return Object.assign(et,Y)}return{...Y}}let en=Object.getOwnPropertyDescriptors(Y);delete en[eu];let ei=Reflect.ownKeys(en);for(let et=0;et<ei.length;et++){let eo=ei[et],ea=en[eo];!1===ea.writable&&(ea.writable=!0,ea.configurable=!0),(ea.get||ea.set)&&(en[eo]={configurable:!0,writable:!0,enumerable:ea.enumerable,value:Y[eo]})}return Object.create(ed(Y),en)}function eS(Y,et=!1){return eM(Y)||ef(Y)||!eh(Y)||(ey(Y)>1&&(Y.set=Y.add=Y.clear=Y.delete=eA),Object.freeze(Y),et&&eg(Y,(Y,et)=>eS(et,!0),!0)),Y}function eA(){ec(2)}function eM(Y){return Object.isFrozen(Y)}var eP={};function ej(Y){let et=eP[Y];return et||ec(0,Y),et}function eO(){return ei}function eI(Y,et){return{drafts_:[],parent_:Y,immer_:et,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function eN(Y,et){et&&(ej("Patches"),Y.patches_=[],Y.inversePatches_=[],Y.patchListener_=et)}function eL(Y){eR(Y),Y.drafts_.forEach(eF),Y.drafts_=null}function eR(Y){Y===ei&&(ei=Y.parent_)}function eD(Y){return ei=eI(ei,Y)}function eF(Y){let et=Y[eu];0===et.type_||1===et.type_?et.revoke_():et.revoked_=!0}function eB(Y,et){et.unfinalizedDrafts_=et.drafts_.length;let en=et.drafts_[0],ei=void 0!==Y&&Y!==en;return ei?(en[eu].modified_&&(eL(et),ec(4)),eh(Y)&&(Y=ez(et,Y),et.parent_||eH(et,Y)),et.patches_&&ej("Patches").generateReplacementPatches_(en[eu].base_,Y,et.patches_,et.inversePatches_)):Y=ez(et,en,[]),eL(et),et.patches_&&et.patchListener_(et.patches_,et.inversePatches_),Y!==eo?Y:void 0}function ez(Y,et,en){if(eM(et))return et;let ei=et[eu];if(!ei)return eg(et,(eo,ea)=>eU(Y,ei,et,eo,ea,en),!0),et;if(ei.scope_!==Y)return et;if(!ei.modified_)return eH(Y,ei.base_,!0),ei.base_;if(!ei.finalized_){ei.finalized_=!0,ei.scope_.unfinalizedDrafts_--;let et=ei.copy_,eo=et,ea=!1;3===ei.type_&&(eo=new Set(et),et.clear(),ea=!0),eg(eo,(eo,eu)=>eU(Y,ei,et,eo,eu,en,ea)),eH(Y,et,!1),en&&Y.patches_&&ej("Patches").generatePatches_(ei,en,Y.patches_,Y.inversePatches_)}return ei.copy_}function eU(Y,et,en,ei,eo,ea,eu){if(ef(eo)){let eu=ea&&et&&3!==et.type_&&!eb(et.assigned_,ei)?ea.concat(ei):void 0,ec=ez(Y,eo,eu);if(ek(en,ei,ec),!ef(ec))return;Y.canAutoFreeze_=!1}else eu&&en.add(eo);if(eh(eo)&&!eM(eo)){if(!Y.immer_.autoFreeze_&&Y.unfinalizedDrafts_<1)return;ez(Y,eo),et&&et.scope_.parent_||eH(Y,eo)}}function eH(Y,et,en=!1){!Y.parent_&&Y.immer_.autoFreeze_&&Y.canAutoFreeze_&&eS(et,en)}function eG(Y,et){let en=Array.isArray(Y),ei={type_:en?1:0,scope_:et?et.scope_:eO(),modified_:!1,finalized_:!1,assigned_:{},parent_:et,base_:Y,draft_:null,copy_:null,revoke_:null,isManual_:!1},eo=ei,ea=eV;en&&(eo=[ei],ea=eW);let{revoke:eu,proxy:ec}=Proxy.revocable(eo,ea);return ei.draft_=ec,ei.revoke_=eu,ec}var eV={get(Y,et){if(et===eu)return Y;let en=eC(Y);if(!eb(en,et))return eK(Y,en,et);let ei=en[et];return Y.finalized_||!eh(ei)?ei:ei===eZ(Y.base_,et)?(eQ(Y),Y.copy_[et]=eX(ei,Y)):ei},has:(Y,et)=>et in eC(Y),ownKeys:Y=>Reflect.ownKeys(eC(Y)),set(Y,et,en){let ei=e$(eC(Y),et);if(ei?.set)return ei.set.call(Y.draft_,en),!0;if(!Y.modified_){let ei=eZ(eC(Y),et),eo=ei?.[eu];if(eo&&eo.base_===en)return Y.copy_[et]=en,Y.assigned_[et]=!1,!0;if(ew(en,ei)&&(void 0!==en||eb(Y.base_,et)))return!0;eQ(Y),eY(Y)}return!!(Y.copy_[et]===en&&(void 0!==en||et in Y.copy_)||Number.isNaN(en)&&Number.isNaN(Y.copy_[et]))||(Y.copy_[et]=en,Y.assigned_[et]=!0,!0)},deleteProperty:(Y,et)=>(void 0!==eZ(Y.base_,et)||et in Y.base_?(Y.assigned_[et]=!1,eQ(Y),eY(Y)):delete Y.assigned_[et],Y.copy_&&delete Y.copy_[et],!0),getOwnPropertyDescriptor(Y,et){let en=eC(Y),ei=Reflect.getOwnPropertyDescriptor(en,et);return ei?{writable:!0,configurable:1!==Y.type_||"length"!==et,enumerable:ei.enumerable,value:en[et]}:ei},defineProperty(){ec(11)},getPrototypeOf:Y=>ed(Y.base_),setPrototypeOf(){ec(12)}},eW={};function eZ(Y,et){let en=Y[eu],ei=en?eC(en):Y;return ei[et]}function eK(Y,et,en){let ei=e$(et,en);return ei?"value"in ei?ei.value:ei.get?.call(Y.draft_):void 0}function e$(Y,et){if(!(et in Y))return;let en=ed(Y);for(;en;){let Y=Object.getOwnPropertyDescriptor(en,et);if(Y)return Y;en=ed(en)}}function eY(Y){!Y.modified_&&(Y.modified_=!0,Y.parent_&&eY(Y.parent_))}function eQ(Y){Y.copy_||(Y.copy_=eT(Y.base_,Y.scope_.immer_.useStrictShallowCopy_))}function eX(Y,et){let en=e_(Y)?ej("MapSet").proxyMap_(Y,et):eE(Y)?ej("MapSet").proxySet_(Y,et):eG(Y,et),ei=et?et.scope_:eO();return ei.drafts_.push(en),en}function eJ(Y){return ef(Y)||ec(10,Y),e0(Y)}function e0(Y){let et;if(!eh(Y)||eM(Y))return Y;let en=Y[eu];if(en){if(!en.modified_)return en.base_;en.finalized_=!0,et=eT(Y,en.scope_.immer_.useStrictShallowCopy_)}else et=eT(Y,!0);return eg(et,(Y,en)=>{ek(et,Y,e0(en))}),en&&(en.finalized_=!1),et}eg(eV,(Y,et)=>{eW[Y]=function(){return arguments[0]=arguments[0][0],et.apply(this,arguments)}}),eW.deleteProperty=function(Y,et){return eW.set.call(this,Y,et,void 0)},eW.set=function(Y,et,en){return eV.set.call(this,Y[0],et,en,Y[0])};var e9=new class{constructor(Y){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(Y,et,en)=>{let ei;if("function"==typeof Y&&"function"!=typeof et){let en=et;et=Y;let ei=this;return function(Y=en,...eo){return ei.produce(Y,Y=>et.call(this,Y,...eo))}}if("function"!=typeof et&&ec(6),void 0!==en&&"function"!=typeof en&&ec(7),eh(Y)){let eo=eD(this),ea=eX(Y,void 0),eu=!0;try{ei=et(ea),eu=!1}finally{eu?eL(eo):eR(eo)}return eN(eo,en),eB(ei,eo)}if(Y&&"object"==typeof Y)ec(1,Y);else{if(void 0===(ei=et(Y))&&(ei=Y),ei===eo&&(ei=void 0),this.autoFreeze_&&eS(ei,!0),en){let et=[],eo=[];ej("Patches").generateReplacementPatches_(Y,ei,et,eo),en(et,eo)}return ei}},this.produceWithPatches=(Y,et)=>{let en,ei;if("function"==typeof Y)return(et,...en)=>this.produceWithPatches(et,et=>Y(et,...en));let eo=this.produce(Y,et,(Y,et)=>{en=Y,ei=et});return[eo,en,ei]},"boolean"==typeof Y?.autoFreeze&&this.setAutoFreeze(Y.autoFreeze),"boolean"==typeof Y?.useStrictShallowCopy&&this.setUseStrictShallowCopy(Y.useStrictShallowCopy)}createDraft(Y){eh(Y)||ec(8),ef(Y)&&(Y=eJ(Y));let et=eD(this),en=eX(Y,void 0);return en[eu].isManual_=!0,eR(et),en}finishDraft(Y,et){let en=Y&&Y[eu];en&&en.isManual_||ec(9);let{scope_:ei}=en;return eN(ei,et),eB(void 0,ei)}setAutoFreeze(Y){this.autoFreeze_=Y}setUseStrictShallowCopy(Y){this.useStrictShallowCopy_=Y}applyPatches(Y,et){let en;for(en=et.length-1;en>=0;en--){let ei=et[en];if(0===ei.path.length&&"replace"===ei.op){Y=ei.value;break}}en>-1&&(et=et.slice(en+1));let ei=ej("Patches").applyPatches_;return ef(Y)?ei(Y,et):this.produce(Y,Y=>ei(Y,et))}},e5=e9.produce;e9.produceWithPatches.bind(e9),e9.setAutoFreeze.bind(e9),e9.setUseStrictShallowCopy.bind(e9),e9.applyPatches.bind(e9),e9.createDraft.bind(e9),e9.finishDraft.bind(e9)},1703:function(Y,et,en){"use strict";let ei;en.d(et,{ZP:function(){return ix}});var eo={};en.r(eo),en.d(eo,{BOM:function(){return rZ},DOCUMENT:function(){return rK},FLOW_END:function(){return r$},SCALAR:function(){return rY},createScalarToken:function(){return rN},isCollection:function(){return rQ},isScalar:function(){return rX},prettyToken:function(){return rJ},resolveAsScalar:function(){return rI},setScalarValue:function(){return rL},stringify:function(){return rB},tokenType:function(){return r0},visit:function(){return rW}});var ea={};en.r(ea),en.d(ea,{Alias:function(){return eK},CST:function(){return eo},Composer:function(){return rO},Document:function(){return nZ},Lexer:function(){return r6},LineCounter:function(){return r7},Pair:function(){return tL},Parser:function(){return iu},Scalar:function(){return eQ},Schema:function(){return nW},YAMLError:function(){return n$},YAMLMap:function(){return tH},YAMLParseError:function(){return nY},YAMLSeq:function(){return tV},YAMLWarning:function(){return nQ},isAlias:function(){return eg},isCollection:function(){return eE},isDocument:function(){return ey},isMap:function(){return eb},isNode:function(){return eC},isPair:function(){return ek},isScalar:function(){return ew},isSeq:function(){return e_},parse:function(){return iy},parseAllDocuments:function(){return im},parseDocument:function(){return ig},stringify:function(){return ib},visit:function(){return eP},visitAsync:function(){return eO}});let eu=Symbol.for("yaml.alias"),ec=Symbol.for("yaml.document"),ed=Symbol.for("yaml.map"),ef=Symbol.for("yaml.pair"),eh=Symbol.for("yaml.scalar"),ep=Symbol.for("yaml.seq"),em=Symbol.for("yaml.node.type"),eg=Y=>!!Y&&"object"==typeof Y&&Y[em]===eu,ey=Y=>!!Y&&"object"==typeof Y&&Y[em]===ec,eb=Y=>!!Y&&"object"==typeof Y&&Y[em]===ed,ek=Y=>!!Y&&"object"==typeof Y&&Y[em]===ef,ew=Y=>!!Y&&"object"==typeof Y&&Y[em]===eh,e_=Y=>!!Y&&"object"==typeof Y&&Y[em]===ep;function eE(Y){if(Y&&"object"==typeof Y)switch(Y[em]){case ed:case ep:return!0}return!1}function eC(Y){if(Y&&"object"==typeof Y)switch(Y[em]){case eu:case ed:case eh:case ep:return!0}return!1}let eT=Y=>(ew(Y)||eE(Y))&&!!Y.anchor,eS=Symbol("break visit"),eA=Symbol("skip children"),eM=Symbol("remove node");function eP(Y,et){let en=eN(et);if(ey(Y)){let et=ej(null,Y.contents,en,Object.freeze([Y]));et===eM&&(Y.contents=null)}else ej(null,Y,en,Object.freeze([]))}function ej(Y,et,en,ei){let eo=eL(Y,et,en,ei);if(eC(eo)||ek(eo))return eR(Y,ei,eo),ej(Y,eo,en,ei);if("symbol"!=typeof eo){if(eE(et)){ei=Object.freeze(ei.concat(et));for(let Y=0;Y<et.items.length;++Y){let eo=ej(Y,et.items[Y],en,ei);if("number"==typeof eo)Y=eo-1;else{if(eo===eS)return eS;eo===eM&&(et.items.splice(Y,1),Y-=1)}}}else if(ek(et)){ei=Object.freeze(ei.concat(et));let Y=ej("key",et.key,en,ei);if(Y===eS)return eS;Y===eM&&(et.key=null);let eo=ej("value",et.value,en,ei);if(eo===eS)return eS;eo===eM&&(et.value=null)}}return eo}async function eO(Y,et){let en=eN(et);if(ey(Y)){let et=await eI(null,Y.contents,en,Object.freeze([Y]));et===eM&&(Y.contents=null)}else await eI(null,Y,en,Object.freeze([]))}async function eI(Y,et,en,ei){let eo=await eL(Y,et,en,ei);if(eC(eo)||ek(eo))return eR(Y,ei,eo),eI(Y,eo,en,ei);if("symbol"!=typeof eo){if(eE(et)){ei=Object.freeze(ei.concat(et));for(let Y=0;Y<et.items.length;++Y){let eo=await eI(Y,et.items[Y],en,ei);if("number"==typeof eo)Y=eo-1;else{if(eo===eS)return eS;eo===eM&&(et.items.splice(Y,1),Y-=1)}}}else if(ek(et)){ei=Object.freeze(ei.concat(et));let Y=await eI("key",et.key,en,ei);if(Y===eS)return eS;Y===eM&&(et.key=null);let eo=await eI("value",et.value,en,ei);if(eo===eS)return eS;eo===eM&&(et.value=null)}}return eo}function eN(Y){return"object"==typeof Y&&(Y.Collection||Y.Node||Y.Value)?Object.assign({Alias:Y.Node,Map:Y.Node,Scalar:Y.Node,Seq:Y.Node},Y.Value&&{Map:Y.Value,Scalar:Y.Value,Seq:Y.Value},Y.Collection&&{Map:Y.Collection,Seq:Y.Collection},Y):Y}function eL(Y,et,en,ei){return"function"==typeof en?en(Y,et,ei):eb(et)?en.Map?.(Y,et,ei):e_(et)?en.Seq?.(Y,et,ei):ek(et)?en.Pair?.(Y,et,ei):ew(et)?en.Scalar?.(Y,et,ei):eg(et)?en.Alias?.(Y,et,ei):void 0}function eR(Y,et,en){let ei=et[et.length-1];if(eE(ei))ei.items[Y]=en;else if(ek(ei))"key"===Y?ei.key=en:ei.value=en;else if(ey(ei))ei.contents=en;else{let Y=eg(ei)?"alias":"scalar";throw Error(`Cannot replace node with ${Y} parent`)}}eP.BREAK=eS,eP.SKIP=eA,eP.REMOVE=eM,eO.BREAK=eS,eO.SKIP=eA,eO.REMOVE=eM;let eD={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},eF=Y=>Y.replace(/[!,[\]{}]/g,Y=>eD[Y]);class eB{constructor(Y,et){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},eB.defaultYaml,Y),this.tags=Object.assign({},eB.defaultTags,et)}clone(){let Y=new eB(this.yaml,this.tags);return Y.docStart=this.docStart,Y}atDocument(){let Y=new eB(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:eB.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},eB.defaultTags)}return Y}add(Y,et){this.atNextDocument&&(this.yaml={explicit:eB.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},eB.defaultTags),this.atNextDocument=!1);let en=Y.trim().split(/[ \t]+/),ei=en.shift();switch(ei){case"%TAG":{if(2!==en.length&&(et(0,"%TAG directive should contain exactly two parts"),en.length<2))return!1;let[Y,ei]=en;return this.tags[Y]=ei,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==en.length)return et(0,"%YAML directive should contain exactly one part"),!1;let[Y]=en;if("1.1"===Y||"1.2"===Y)return this.yaml.version=Y,!0;{let en=/^\d+\.\d+$/.test(Y);return et(6,`Unsupported YAML version ${Y}`,en),!1}}default:return et(0,`Unknown directive ${ei}`,!0),!1}}tagName(Y,et){if("!"===Y)return"!";if("!"!==Y[0])return et(`Not a valid tag: ${Y}`),null;if("<"===Y[1]){let en=Y.slice(2,-1);return"!"===en||"!!"===en?(et(`Verbatim tags aren't resolved, so ${Y} is invalid.`),null):(">"!==Y[Y.length-1]&&et("Verbatim tags must end with a >"),en)}let[,en,ei]=Y.match(/^(.*!)([^!]*)$/);ei||et(`The ${Y} tag has no suffix`);let eo=this.tags[en];return eo?eo+decodeURIComponent(ei):"!"===en?Y:(et(`Could not resolve tag: ${Y}`),null)}tagString(Y){for(let[et,en]of Object.entries(this.tags))if(Y.startsWith(en))return et+eF(Y.substring(en.length));return"!"===Y[0]?Y:`!<${Y}>`}toString(Y){let et;let en=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],ei=Object.entries(this.tags);if(Y&&ei.length>0&&eC(Y.contents)){let en={};eP(Y.contents,(Y,et)=>{eC(et)&&et.tag&&(en[et.tag]=!0)}),et=Object.keys(en)}else et=[];for(let[eo,ea]of ei)("!!"!==eo||"tag:yaml.org,2002:"!==ea)&&(!Y||et.some(Y=>Y.startsWith(ea)))&&en.push(`%TAG ${eo} ${ea}`);return en.join("\n")}}function ez(Y){if(/[\x00-\x19\s,[\]{}]/.test(Y)){let et=JSON.stringify(Y),en=`Anchor must not contain whitespace or control characters: ${et}`;throw Error(en)}return!0}function eU(Y){let et=new Set;return eP(Y,{Value(Y,en){en.anchor&&et.add(en.anchor)}}),et}function eH(Y,et){for(let en=1;;++en){let ei=`${Y}${en}`;if(!et.has(ei))return ei}}function eG(Y,et){let en=[],ei=new Map,eo=null;return{onAnchor:ei=>{en.push(ei),eo||(eo=eU(Y));let ea=eH(et,eo);return eo.add(ea),ea},setAnchors:()=>{for(let Y of en){let et=ei.get(Y);if("object"==typeof et&&et.anchor&&(ew(et.node)||eE(et.node)))et.node.anchor=et.anchor;else{let et=Error("Failed to resolve repeated object (this should not happen)");throw et.source=Y,et}}},sourceObjects:ei}}function eV(Y,et,en,ei){if(ei&&"object"==typeof ei){if(Array.isArray(ei))for(let et=0,en=ei.length;et<en;++et){let en=ei[et],eo=eV(Y,ei,String(et),en);void 0===eo?delete ei[et]:eo!==en&&(ei[et]=eo)}else if(ei instanceof Map)for(let et of Array.from(ei.keys())){let en=ei.get(et),eo=eV(Y,ei,et,en);void 0===eo?ei.delete(et):eo!==en&&ei.set(et,eo)}else if(ei instanceof Set)for(let et of Array.from(ei)){let en=eV(Y,ei,et,et);void 0===en?ei.delete(et):en!==et&&(ei.delete(et),ei.add(en))}else for(let[et,en]of Object.entries(ei)){let eo=eV(Y,ei,et,en);void 0===eo?delete ei[et]:eo!==en&&(ei[et]=eo)}}return Y.call(et,en,ei)}function eW(Y,et,en){if(Array.isArray(Y))return Y.map((Y,et)=>eW(Y,String(et),en));if(Y&&"function"==typeof Y.toJSON){if(!en||!eT(Y))return Y.toJSON(et,en);let ei={aliasCount:0,count:1,res:void 0};en.anchors.set(Y,ei),en.onCreate=Y=>{ei.res=Y,delete en.onCreate};let eo=Y.toJSON(et,en);return en.onCreate&&en.onCreate(eo),eo}return"bigint"!=typeof Y||en?.keep?Y:Number(Y)}eB.defaultYaml={explicit:!1,version:"1.2"},eB.defaultTags={"!!":"tag:yaml.org,2002:"};class eZ{constructor(Y){Object.defineProperty(this,em,{value:Y})}clone(){let Y=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(Y.range=this.range.slice()),Y}toJS(Y,{mapAsMap:et,maxAliasCount:en,onAnchor:ei,reviver:eo}={}){if(!ey(Y))throw TypeError("A document argument is required");let ea={anchors:new Map,doc:Y,keep:!0,mapAsMap:!0===et,mapKeyWarned:!1,maxAliasCount:"number"==typeof en?en:100},eu=eW(this,"",ea);if("function"==typeof ei)for(let{count:Y,res:et}of ea.anchors.values())ei(et,Y);return"function"==typeof eo?eV(eo,{"":eu},"",eu):eu}}class eK extends eZ{constructor(Y){super(eu),this.source=Y,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(Y){let et;return eP(Y,{Node:(Y,en)=>{if(en===this)return eP.BREAK;en.anchor===this.source&&(et=en)}}),et}toJSON(Y,et){if(!et)return{source:this.source};let{anchors:en,doc:ei,maxAliasCount:eo}=et,ea=this.resolve(ei);if(!ea){let Y=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(Y)}let eu=en.get(ea);if(eu||(eW(ea,null,et),eu=en.get(ea)),!eu||void 0===eu.res){let Y="This should not happen: Alias anchor was not resolved?";throw ReferenceError(Y)}if(eo>=0&&(eu.count+=1,0===eu.aliasCount&&(eu.aliasCount=e$(ei,ea,en)),eu.count*eu.aliasCount>eo)){let Y="Excessive alias count indicates a resource exhaustion attack";throw ReferenceError(Y)}return eu.res}toString(Y,et,en){let ei=`*${this.source}`;if(Y){if(ez(this.source),Y.options.verifyAliasOrder&&!Y.anchors.has(this.source)){let Y=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw Error(Y)}if(Y.implicitKey)return`${ei} `}return ei}}function e$(Y,et,en){if(eg(et)){let ei=et.resolve(Y),eo=en&&ei&&en.get(ei);return eo?eo.count*eo.aliasCount:0}if(eE(et)){let ei=0;for(let eo of et.items){let et=e$(Y,eo,en);et>ei&&(ei=et)}return ei}if(ek(et)){let ei=e$(Y,et.key,en),eo=e$(Y,et.value,en);return Math.max(ei,eo)}return 1}let eY=Y=>!Y||"function"!=typeof Y&&"object"!=typeof Y;class eQ extends eZ{constructor(Y){super(eh),this.value=Y}toJSON(Y,et){return et?.keep?this.value:eW(this.value,Y,et)}toString(){return String(this.value)}}eQ.BLOCK_FOLDED="BLOCK_FOLDED",eQ.BLOCK_LITERAL="BLOCK_LITERAL",eQ.PLAIN="PLAIN",eQ.QUOTE_DOUBLE="QUOTE_DOUBLE",eQ.QUOTE_SINGLE="QUOTE_SINGLE";let eX="tag:yaml.org,2002:";function eJ(Y,et,en){if(et){let Y=en.filter(Y=>Y.tag===et),ei=Y.find(Y=>!Y.format)??Y[0];if(!ei)throw Error(`Tag ${et} not found`);return ei}return en.find(et=>et.identify?.(Y)&&!et.format)}function e0(Y,et,en){let ei;if(ey(Y)&&(Y=Y.contents),eC(Y))return Y;if(ek(Y)){let et=en.schema[ed].createNode?.(en.schema,null,en);return et.items.push(Y),et}(Y instanceof String||Y instanceof Number||Y instanceof Boolean||"undefined"!=typeof BigInt&&Y instanceof BigInt)&&(Y=Y.valueOf());let{aliasDuplicateObjects:eo,onAnchor:ea,onTagObj:eu,schema:ec,sourceObjects:ef}=en;if(eo&&Y&&"object"==typeof Y){if(ei=ef.get(Y))return ei.anchor||(ei.anchor=ea(Y)),new eK(ei.anchor);ei={anchor:null,node:null},ef.set(Y,ei)}et?.startsWith("!!")&&(et=eX+et.slice(2));let eh=eJ(Y,et,ec.tags);if(!eh){if(Y&&"function"==typeof Y.toJSON&&(Y=Y.toJSON()),!Y||"object"!=typeof Y){let et=new eQ(Y);return ei&&(ei.node=et),et}eh=Y instanceof Map?ec[ed]:Symbol.iterator in Object(Y)?ec[ep]:ec[ed]}eu&&(eu(eh),delete en.onTagObj);let em=eh?.createNode?eh.createNode(en.schema,Y,en):"function"==typeof eh?.nodeClass?.from?eh.nodeClass.from(en.schema,Y,en):new eQ(Y);return et?em.tag=et:eh.default||(em.tag=eh.tag),ei&&(ei.node=em),em}function e9(Y,et,en){let ei=en;for(let Y=et.length-1;Y>=0;--Y){let en=et[Y];if("number"==typeof en&&Number.isInteger(en)&&en>=0){let Y=[];Y[en]=ei,ei=Y}else ei=new Map([[en,ei]])}return e0(ei,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:Y,sourceObjects:new Map})}let e5=Y=>null==Y||"object"==typeof Y&&!!Y[Symbol.iterator]().next().done;class e4 extends eZ{constructor(Y,et){super(Y),Object.defineProperty(this,"schema",{value:et,configurable:!0,enumerable:!1,writable:!0})}clone(Y){let et=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return Y&&(et.schema=Y),et.items=et.items.map(et=>eC(et)||ek(et)?et.clone(Y):et),this.range&&(et.range=this.range.slice()),et}addIn(Y,et){if(e5(Y))this.add(et);else{let[en,...ei]=Y,eo=this.get(en,!0);if(eE(eo))eo.addIn(ei,et);else if(void 0===eo&&this.schema)this.set(en,e9(this.schema,ei,et));else throw Error(`Expected YAML collection at ${en}. Remaining path: ${ei}`)}}deleteIn(Y){let[et,...en]=Y;if(0===en.length)return this.delete(et);let ei=this.get(et,!0);if(eE(ei))return ei.deleteIn(en);throw Error(`Expected YAML collection at ${et}. Remaining path: ${en}`)}getIn(Y,et){let[en,...ei]=Y,eo=this.get(en,!0);return 0===ei.length?!et&&ew(eo)?eo.value:eo:eE(eo)?eo.getIn(ei,et):void 0}hasAllNullValues(Y){return this.items.every(et=>{if(!ek(et))return!1;let en=et.value;return null==en||Y&&ew(en)&&null==en.value&&!en.commentBefore&&!en.comment&&!en.tag})}hasIn(Y){let[et,...en]=Y;if(0===en.length)return this.has(et);let ei=this.get(et,!0);return!!eE(ei)&&ei.hasIn(en)}setIn(Y,et){let[en,...ei]=Y;if(0===ei.length)this.set(en,et);else{let Y=this.get(en,!0);if(eE(Y))Y.setIn(ei,et);else if(void 0===Y&&this.schema)this.set(en,e9(this.schema,ei,et));else throw Error(`Expected YAML collection at ${en}. Remaining path: ${ei}`)}}}e4.maxFlowStringSingleLineLength=60;let e3=Y=>Y.replace(/^(?!$)(?: $)?/gm,"#");function e6(Y,et){return/^\n+$/.test(Y)?Y.substring(1):et?Y.replace(/^(?! *$)/gm,et):Y}let e7=(Y,et,en)=>Y.endsWith("\n")?e6(en,et):en.includes("\n")?"\n"+e6(en,et):(Y.endsWith(" ")?"":" ")+en,e8="flow",tt="block",ta="quoted";function tu(Y,et,en="flow",{indentAtStart:ei,lineWidth:eo=80,minContentWidth:ea=20,onFold:eu,onOverflow:ec}={}){let ed,ef,eh;if(!eo||eo<0)return Y;let ep=Math.max(1+ea,1+eo-et.length);if(Y.length<=ep)return Y;let em=[],eg={},ey=eo-et.length;"number"==typeof ei&&(ei>eo-Math.max(2,ea)?em.push(0):ey=eo-ei);let eb=!1,ek=-1,ew=-1,e_=-1;for(en===tt&&-1!==(ek=tc(Y,ek))&&(ey=ek+ep);eh=Y[ek+=1];){if(en===ta&&"\\"===eh){switch(ew=ek,Y[ek+1]){case"x":ek+=3;break;case"u":ek+=5;break;case"U":ek+=9;break;default:ek+=1}e_=ek}if("\n"===eh)en===tt&&(ek=tc(Y,ek)),ey=ek+ep,ed=void 0;else{if(" "===eh&&ef&&" "!==ef&&"\n"!==ef&&" "!==ef){let et=Y[ek+1];et&&" "!==et&&"\n"!==et&&" "!==et&&(ed=ek)}if(ek>=ey){if(ed)em.push(ed),ey=ed+ep,ed=void 0;else if(en===ta){for(;" "===ef||" "===ef;)ef=eh,eh=Y[ek+=1],eb=!0;let et=ek>e_+1?ek-2:ew-1;if(eg[et])return Y;em.push(et),eg[et]=!0,ey=et+ep,ed=void 0}else eb=!0}}ef=eh}if(eb&&ec&&ec(),0===em.length)return Y;eu&&eu();let eE=Y.slice(0,em[0]);for(let ei=0;ei<em.length;++ei){let eo=em[ei],ea=em[ei+1]||Y.length;0===eo?eE=`
${et}${Y.slice(0,ea)}`:(en===ta&&eg[eo]&&(eE+=`${Y[eo]}\\`),eE+=`
${et}${Y.slice(eo+1,ea)}`)}return eE}function tc(Y,et){let en=Y[et+1];for(;" "===en||" "===en;){do en=Y[et+=1];while(en&&"\n"!==en);en=Y[et+1]}return et}let td=(Y,et)=>({indentAtStart:et?Y.indent.length:Y.indentAtStart,lineWidth:Y.options.lineWidth,minContentWidth:Y.options.minContentWidth}),tf=Y=>/^(%|---|\.\.\.)/m.test(Y);function th(Y,et,en){if(!et||et<0)return!1;let ei=et-en,eo=Y.length;if(eo<=ei)return!1;for(let et=0,en=0;et<eo;++et)if("\n"===Y[et]){if(et-en>ei)return!0;if(eo-(en=et+1)<=ei)return!1}return!0}function tp(Y,et){let en=JSON.stringify(Y);if(et.options.doubleQuotedAsJSON)return en;let{implicitKey:ei}=et,eo=et.options.doubleQuotedMinMultiLineLength,ea=et.indent||(tf(Y)?" ":""),eu="",ec=0;for(let Y=0,et=en[Y];et;et=en[++Y])if(" "===et&&"\\"===en[Y+1]&&"n"===en[Y+2]&&(eu+=en.slice(ec,Y)+"\\ ",Y+=1,ec=Y,et="\\"),"\\"===et)switch(en[Y+1]){case"u":{eu+=en.slice(ec,Y);let et=en.substr(Y+2,4);switch(et){case"0000":eu+="\\0";break;case"0007":eu+="\\a";break;case"000b":eu+="\\v";break;case"001b":eu+="\\e";break;case"0085":eu+="\\N";break;case"00a0":eu+="\\_";break;case"2028":eu+="\\L";break;case"2029":eu+="\\P";break;default:"00"===et.substr(0,2)?eu+="\\x"+et.substr(2):eu+=en.substr(Y,6)}Y+=5,ec=Y+1}break;case"n":if(ei||'"'===en[Y+2]||en.length<eo)Y+=1;else{for(eu+=en.slice(ec,Y)+"\n\n";"\\"===en[Y+2]&&"n"===en[Y+3]&&'"'!==en[Y+4];)eu+="\n",Y+=2;eu+=ea," "===en[Y+2]&&(eu+="\\"),Y+=1,ec=Y+1}break;default:Y+=1}return eu=ec?eu+en.slice(ec):en,ei?eu:tu(eu,ea,ta,td(et,!1))}function tm(Y,et){if(!1===et.options.singleQuote||et.implicitKey&&Y.includes("\n")||/[ \t]\n|\n[ \t]/.test(Y))return tp(Y,et);let en=et.indent||(tf(Y)?" ":""),ei="'"+Y.replace(/'/g,"''").replace(/\n+/g,`$&
${en}`)+"'";return et.implicitKey?ei:tu(ei,en,e8,td(et,!1))}function tg(Y,et){let en;let{singleQuote:ei}=et.options;if(!1===ei)en=tp;else{let et=Y.includes('"'),eo=Y.includes("'");en=et&&!eo?tm:eo&&!et?tp:ei?tm:tp}return en(Y,et)}try{ei=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{ei=/\n+(?!\n|$)/g}function tv({comment:Y,type:et,value:en},eo,ea,eu){let ec,ed,ef;let{blockQuote:eh,commentString:ep,lineWidth:em}=eo.options;if(!eh||/\n[\t ]+$/.test(en)||/^\s*$/.test(en))return tg(en,eo);let eg=eo.indent||(eo.forceBlockIndent||tf(en)?" ":""),ey="literal"===eh||"folded"!==eh&&et!==eQ.BLOCK_FOLDED&&(et===eQ.BLOCK_LITERAL||!th(en,em,eg.length));if(!en)return ey?"|\n":">\n";for(ed=en.length;ed>0;--ed){let Y=en[ed-1];if("\n"!==Y&&" "!==Y&&" "!==Y)break}let eb=en.substring(ed),ek=eb.indexOf("\n");-1===ek?ec="-":en===eb||ek!==eb.length-1?(ec="+",eu&&eu()):ec="",eb&&(en=en.slice(0,-eb.length),"\n"===eb[eb.length-1]&&(eb=eb.slice(0,-1)),eb=eb.replace(ei,`$&${eg}`));let ew=!1,e_=-1;for(ef=0;ef<en.length;++ef){let Y=en[ef];if(" "===Y)ew=!0;else if("\n"===Y)e_=ef;else break}let eE=en.substring(0,e_<ef?e_+1:ef);eE&&(en=en.substring(eE.length),eE=eE.replace(/\n+/g,`$&${eg}`));let eC=eg?"2":"1",eT=(ey?"|":">")+(ew?eC:"")+ec;if(Y&&(eT+=" "+ep(Y.replace(/ ?[\r\n]+/g," ")),ea&&ea()),ey)return`${eT}
${eg}${eE}${en=en.replace(/\n+/g,`$&${eg}`)}${eb}`;en=en.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${eg}`);let eS=tu(`${eE}${en}${eb}`,eg,tt,td(eo,!0));return`${eT}
${eg}${eS}`}function tb(Y,et,en,ei){let{type:eo,value:ea}=Y,{actualString:eu,implicitKey:ec,indent:ed,indentStep:ef,inFlow:eh}=et;if(ec&&ea.includes("\n")||eh&&/[[\]{},]/.test(ea))return tg(ea,et);if(!ea||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(ea))return ec||eh||!ea.includes("\n")?tg(ea,et):tv(Y,et,en,ei);if(!ec&&!eh&&eo!==eQ.PLAIN&&ea.includes("\n"))return tv(Y,et,en,ei);if(tf(ea)){if(""===ed)return et.forceBlockIndent=!0,tv(Y,et,en,ei);if(ec&&ed===ef)return tg(ea,et)}let ep=ea.replace(/\n+/g,`$&
${ed}`);if(eu){let Y=Y=>Y.default&&"tag:yaml.org,2002:str"!==Y.tag&&Y.test?.test(ep),{compat:en,tags:ei}=et.doc.schema;if(ei.some(Y)||en?.some(Y))return tg(ea,et)}return ec?ep:tu(ep,ed,e8,td(et,!1))}function tk(Y,et,en,ei){let{implicitKey:eo,inFlow:ea}=et,eu="string"==typeof Y.value?Y:Object.assign({},Y,{value:String(Y.value)}),{type:ec}=Y;ec!==eQ.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(eu.value)&&(ec=eQ.QUOTE_DOUBLE);let ed=Y=>{switch(Y){case eQ.BLOCK_FOLDED:case eQ.BLOCK_LITERAL:return eo||ea?tg(eu.value,et):tv(eu,et,en,ei);case eQ.QUOTE_DOUBLE:return tp(eu.value,et);case eQ.QUOTE_SINGLE:return tm(eu.value,et);case eQ.PLAIN:return tb(eu,et,en,ei);default:return null}},ef=ed(ec);if(null===ef){let{defaultKeyType:Y,defaultStringType:en}=et.options,ei=eo&&Y||en;if(null===(ef=ed(ei)))throw Error(`Unsupported default string type ${ei}`)}return ef}function tw(Y,et){let en;let ei=Object.assign({blockQuote:!0,commentString:e3,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},Y.schema.toStringOptions,et);switch(ei.collectionStyle){case"block":en=!1;break;case"flow":en=!0;break;default:en=null}return{anchors:new Set,doc:Y,flowCollectionPadding:ei.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof ei.indent?" ".repeat(ei.indent):" ",inFlow:en,options:ei}}function t_(Y,et){let en,ei;if(et.tag){let en=Y.filter(Y=>Y.tag===et.tag);if(en.length>0)return en.find(Y=>Y.format===et.format)??en[0]}if(ew(et)){en=et.value;let eo=Y.filter(Y=>Y.identify?.(en));ei=eo.find(Y=>Y.format===et.format)??eo.find(Y=>!Y.format)}else en=et,ei=Y.find(Y=>Y.nodeClass&&en instanceof Y.nodeClass);if(!ei){let Y=en?.constructor?.name??typeof en;throw Error(`Tag not resolved for ${Y} value`)}return ei}function tE(Y,et,{anchors:en,doc:ei}){if(!ei.directives)return"";let eo=[],ea=(ew(Y)||eE(Y))&&Y.anchor;ea&&ez(ea)&&(en.add(ea),eo.push(`&${ea}`));let eu=Y.tag?Y.tag:et.default?null:et.tag;return eu&&eo.push(ei.directives.tagString(eu)),eo.join(" ")}function tC(Y,et,en,ei){let eo;if(ek(Y))return Y.toString(et,en,ei);if(eg(Y)){if(et.doc.directives)return Y.toString(et);if(et.resolvedAliases?.has(Y))throw TypeError("Cannot stringify circular structure without alias nodes");et.resolvedAliases?et.resolvedAliases.add(Y):et.resolvedAliases=new Set([Y]),Y=Y.resolve(et.doc)}let ea=eC(Y)?Y:et.doc.createNode(Y,{onTagObj:Y=>eo=Y});eo||(eo=t_(et.doc.schema.tags,ea));let eu=tE(ea,eo,et);eu.length>0&&(et.indentAtStart=(et.indentAtStart??0)+eu.length+1);let ec="function"==typeof eo.stringify?eo.stringify(ea,et,en,ei):ew(ea)?tk(ea,et,en,ei):ea.toString(et,en,ei);return eu?ew(ea)||"{"===ec[0]||"["===ec[0]?`${eu} ${ec}`:`${eu}
${et.indent}${ec}`:ec}function tT({key:Y,value:et},en,ei,eo){let ea,eu,ec;let{allNullValues:ed,doc:ef,indent:eh,indentStep:ep,options:{commentString:em,indentSeq:eg,simpleKeys:ey}}=en,eb=eC(Y)&&Y.comment||null;if(ey){if(eb)throw Error("With simple keys, key nodes cannot have comments");if(eE(Y)){let Y="With simple keys, collection cannot be used as a key value";throw Error(Y)}}let ek=!ey&&(!Y||eb&&null==et&&!en.inFlow||eE(Y)||(ew(Y)?Y.type===eQ.BLOCK_FOLDED||Y.type===eQ.BLOCK_LITERAL:"object"==typeof Y));en=Object.assign({},en,{allNullValues:!1,implicitKey:!ek&&(ey||!ed),indent:eh+ep});let eT=!1,eS=!1,eA=tC(Y,en,()=>eT=!0,()=>eS=!0);if(!ek&&!en.inFlow&&eA.length>1024){if(ey)throw Error("With simple keys, single line scalar must not span more than 1024 characters");ek=!0}if(en.inFlow){if(ed||null==et)return eT&&ei&&ei(),""===eA?"?":ek?`? ${eA}`:eA}else if(ed&&!ey||null==et&&ek)return eA=`? ${eA}`,eb&&!eT?eA+=e7(eA,en.indent,em(eb)):eS&&eo&&eo(),eA;eT&&(eb=null),ek?(eb&&(eA+=e7(eA,en.indent,em(eb))),eA=`? ${eA}
${eh}:`):(eA=`${eA}:`,eb&&(eA+=e7(eA,en.indent,em(eb)))),eC(et)?(ea=!!et.spaceBefore,eu=et.commentBefore,ec=et.comment):(ea=!1,eu=null,ec=null,et&&"object"==typeof et&&(et=ef.createNode(et))),en.implicitKey=!1,!ek&&!eb&&ew(et)&&(en.indentAtStart=eA.length+1),eS=!1,!(!eg&&ep.length>=2&&!en.inFlow&&!ek&&e_(et))||et.flow||et.tag||et.anchor||(en.indent=en.indent.substring(2));let eM=!1,eP=tC(et,en,()=>eM=!0,()=>eS=!0),ej=" ";if(eb||ea||eu){if(ej=ea?"\n":"",eu){let Y=em(eu);ej+=`
${e6(Y,en.indent)}`}""!==eP||en.inFlow?ej+=`
${en.indent}`:"\n"===ej&&(ej="\n\n")}else if(!ek&&eE(et)){let Y=eP[0],ei=eP.indexOf("\n"),eo=-1!==ei,ea=en.inFlow??et.flow??0===et.items.length;if(eo||!ea){let et=!1;if(eo&&("&"===Y||"!"===Y)){let en=eP.indexOf(" ");"&"===Y&&-1!==en&&en<ei&&"!"===eP[en+1]&&(en=eP.indexOf(" ",en+1)),(-1===en||ei<en)&&(et=!0)}et||(ej=`
${en.indent}`)}}else(""===eP||"\n"===eP[0])&&(ej="");return eA+=ej+eP,en.inFlow?eM&&ei&&ei():ec&&!eM?eA+=e7(eA,en.indent,em(ec)):eS&&eo&&eo(),eA}var tS=en(44675);function tA(Y,et){("debug"===Y||"warn"===Y)&&(void 0!==tS&&tS.emitWarning?tS.emitWarning(et):console.warn(et))}let tM="<<";function tP(Y,et,{key:en,value:ei}){if(Y?.doc.schema.merge&&tj(en)){if(e_(ei=eg(ei)?ei.resolve(Y.doc):ei))for(let en of ei.items)tO(Y,et,en);else if(Array.isArray(ei))for(let en of ei)tO(Y,et,en);else tO(Y,et,ei)}else{let eo=eW(en,"",Y);if(et instanceof Map)et.set(eo,eW(ei,eo,Y));else if(et instanceof Set)et.add(eo);else{let ea=tI(en,eo,Y),eu=eW(ei,ea,Y);ea in et?Object.defineProperty(et,ea,{value:eu,writable:!0,enumerable:!0,configurable:!0}):et[ea]=eu}}return et}let tj=Y=>Y===tM||ew(Y)&&Y.value===tM&&(!Y.type||Y.type===eQ.PLAIN);function tO(Y,et,en){let ei=Y&&eg(en)?en.resolve(Y.doc):en;if(!eb(ei))throw Error("Merge sources must be maps or map aliases");let eo=ei.toJSON(null,Y,Map);for(let[Y,en]of eo)et instanceof Map?et.has(Y)||et.set(Y,en):et instanceof Set?et.add(Y):Object.prototype.hasOwnProperty.call(et,Y)||Object.defineProperty(et,Y,{value:en,writable:!0,enumerable:!0,configurable:!0});return et}function tI(Y,et,en){if(null===et)return"";if("object"!=typeof et)return String(et);if(eC(Y)&&en?.doc){let et=tw(en.doc,{});for(let Y of(et.anchors=new Set,en.anchors.keys()))et.anchors.add(Y.anchor);et.inFlow=!0,et.inStringifyKey=!0;let ei=Y.toString(et);if(!en.mapKeyWarned){let Y=JSON.stringify(ei);Y.length>40&&(Y=Y.substring(0,36)+'..."'),tA(en.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${Y}. Set mapAsMap: true to use object keys.`),en.mapKeyWarned=!0}return ei}return JSON.stringify(et)}function tN(Y,et,en){let ei=e0(Y,void 0,en),eo=e0(et,void 0,en);return new tL(ei,eo)}class tL{constructor(Y,et=null){Object.defineProperty(this,em,{value:ef}),this.key=Y,this.value=et}clone(Y){let{key:et,value:en}=this;return eC(et)&&(et=et.clone(Y)),eC(en)&&(en=en.clone(Y)),new tL(et,en)}toJSON(Y,et){let en=et?.mapAsMap?new Map:{};return tP(et,en,this)}toString(Y,et,en){return Y?.doc?tT(this,Y,et,en):JSON.stringify(this)}}function tR(Y,et,en){let ei=et.inFlow??Y.flow,eo=ei?tF:tD;return eo(Y,et,en)}function tD({comment:Y,items:et},en,{blockItemPrefix:ei,flowChars:eo,itemIndent:ea,onChompKeep:eu,onComment:ec}){let ed;let{indent:ef,options:{commentString:eh}}=en,ep=Object.assign({},en,{indent:ea,type:null}),em=!1,eg=[];for(let Y=0;Y<et.length;++Y){let eo=et[Y],eu=null;if(eC(eo))!em&&eo.spaceBefore&&eg.push(""),tB(en,eg,eo.commentBefore,em),eo.comment&&(eu=eo.comment);else if(ek(eo)){let Y=eC(eo.key)?eo.key:null;Y&&(!em&&Y.spaceBefore&&eg.push(""),tB(en,eg,Y.commentBefore,em))}em=!1;let ec=tC(eo,ep,()=>eu=null,()=>em=!0);eu&&(ec+=e7(ec,ea,eh(eu))),em&&eu&&(em=!1),eg.push(ei+ec)}if(0===eg.length)ed=eo.start+eo.end;else{ed=eg[0];for(let Y=1;Y<eg.length;++Y){let et=eg[Y];ed+=et?`
${ef}${et}`:"\n"}}return Y?(ed+="\n"+e6(eh(Y),ef),ec&&ec()):em&&eu&&eu(),ed}function tF({comment:Y,items:et},en,{flowChars:ei,itemIndent:eo,onComment:ea}){let eu;let{indent:ec,indentStep:ed,flowCollectionPadding:ef,options:{commentString:eh}}=en;eo+=ed;let ep=Object.assign({},en,{indent:eo,inFlow:!0,type:null}),em=!1,eg=0,ey=[];for(let Y=0;Y<et.length;++Y){let ei=et[Y],ea=null;if(eC(ei))ei.spaceBefore&&ey.push(""),tB(en,ey,ei.commentBefore,!1),ei.comment&&(ea=ei.comment);else if(ek(ei)){let Y=eC(ei.key)?ei.key:null;Y&&(Y.spaceBefore&&ey.push(""),tB(en,ey,Y.commentBefore,!1),Y.comment&&(em=!0));let et=eC(ei.value)?ei.value:null;et?(et.comment&&(ea=et.comment),et.commentBefore&&(em=!0)):null==ei.value&&Y?.comment&&(ea=Y.comment)}ea&&(em=!0);let eu=tC(ei,ep,()=>ea=null);Y<et.length-1&&(eu+=","),ea&&(eu+=e7(eu,eo,eh(ea))),!em&&(ey.length>eg||eu.includes("\n"))&&(em=!0),ey.push(eu),eg=ey.length}let{start:eb,end:ew}=ei;if(0===ey.length)eu=eb+ew;else{if(!em){let Y=ey.reduce((Y,et)=>Y+et.length+2,2);em=Y>e4.maxFlowStringSingleLineLength}if(em){for(let Y of(eu=eb,ey))eu+=Y?`
${ed}${ec}${Y}`:"\n";eu+=`
${ec}${ew}`}else eu=`${eb}${ef}${ey.join(" ")}${ef}${ew}`}return Y&&(eu+=e7(eu,ec,eh(Y)),ea&&ea()),eu}function tB({indent:Y,options:{commentString:et}},en,ei,eo){if(ei&&eo&&(ei=ei.replace(/^\n+/,"")),ei){let eo=e6(et(ei),Y);en.push(eo.trimStart())}}function tU(Y,et){let en=ew(et)?et.value:et;for(let ei of Y)if(ek(ei)&&(ei.key===et||ei.key===en||ew(ei.key)&&ei.key.value===en))return ei}class tH extends e4{static get tagName(){return"tag:yaml.org,2002:map"}constructor(Y){super(ed,Y),this.items=[]}static from(Y,et,en){let{keepUndefined:ei,replacer:eo}=en,ea=new this(Y),eu=(Y,eu)=>{if("function"==typeof eo)eu=eo.call(et,Y,eu);else if(Array.isArray(eo)&&!eo.includes(Y))return;(void 0!==eu||ei)&&ea.items.push(tN(Y,eu,en))};if(et instanceof Map)for(let[Y,en]of et)eu(Y,en);else if(et&&"object"==typeof et)for(let Y of Object.keys(et))eu(Y,et[Y]);return"function"==typeof Y.sortMapEntries&&ea.items.sort(Y.sortMapEntries),ea}add(Y,et){let en;en=ek(Y)?Y:Y&&"object"==typeof Y&&"key"in Y?new tL(Y.key,Y.value):new tL(Y,Y?.value);let ei=tU(this.items,en.key),eo=this.schema?.sortMapEntries;if(ei){if(!et)throw Error(`Key ${en.key} already set`);ew(ei.value)&&eY(en.value)?ei.value.value=en.value:ei.value=en.value}else if(eo){let Y=this.items.findIndex(Y=>0>eo(en,Y));-1===Y?this.items.push(en):this.items.splice(Y,0,en)}else this.items.push(en)}delete(Y){let et=tU(this.items,Y);if(!et)return!1;let en=this.items.splice(this.items.indexOf(et),1);return en.length>0}get(Y,et){let en=tU(this.items,Y),ei=en?.value;return(!et&&ew(ei)?ei.value:ei)??void 0}has(Y){return!!tU(this.items,Y)}set(Y,et){this.add(new tL(Y,et),!0)}toJSON(Y,et,en){let ei=en?new en:et?.mapAsMap?new Map:{};for(let Y of(et?.onCreate&&et.onCreate(ei),this.items))tP(et,ei,Y);return ei}toString(Y,et,en){if(!Y)return JSON.stringify(this);for(let Y of this.items)if(!ek(Y))throw Error(`Map items must all be pairs; found ${JSON.stringify(Y)} instead`);return!Y.allNullValues&&this.hasAllNullValues(!1)&&(Y=Object.assign({},Y,{allNullValues:!0})),tR(this,Y,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:Y.indent||"",onChompKeep:en,onComment:et})}}let tG={collection:"map",default:!0,nodeClass:tH,tag:"tag:yaml.org,2002:map",resolve:(Y,et)=>(eb(Y)||et("Expected a mapping for this tag"),Y),createNode:(Y,et,en)=>tH.from(Y,et,en)};class tV extends e4{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(Y){super(ep,Y),this.items=[]}add(Y){this.items.push(Y)}delete(Y){let et=tW(Y);if("number"!=typeof et)return!1;let en=this.items.splice(et,1);return en.length>0}get(Y,et){let en=tW(Y);if("number"!=typeof en)return;let ei=this.items[en];return!et&&ew(ei)?ei.value:ei}has(Y){let et=tW(Y);return"number"==typeof et&&et<this.items.length}set(Y,et){let en=tW(Y);if("number"!=typeof en)throw Error(`Expected a valid index, not ${Y}.`);let ei=this.items[en];ew(ei)&&eY(et)?ei.value=et:this.items[en]=et}toJSON(Y,et){let en=[];et?.onCreate&&et.onCreate(en);let ei=0;for(let Y of this.items)en.push(eW(Y,String(ei++),et));return en}toString(Y,et,en){return Y?tR(this,Y,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(Y.indent||"")+" ",onChompKeep:en,onComment:et}):JSON.stringify(this)}static from(Y,et,en){let{replacer:ei}=en,eo=new this(Y);if(et&&Symbol.iterator in Object(et)){let Y=0;for(let ea of et){if("function"==typeof ei){let en=et instanceof Set?ea:String(Y++);ea=ei.call(et,en,ea)}eo.items.push(e0(ea,void 0,en))}}return eo}}function tW(Y){let et=ew(Y)?Y.value:Y;return et&&"string"==typeof et&&(et=Number(et)),"number"==typeof et&&Number.isInteger(et)&&et>=0?et:null}let tq={collection:"seq",default:!0,nodeClass:tV,tag:"tag:yaml.org,2002:seq",resolve:(Y,et)=>(e_(Y)||et("Expected a sequence for this tag"),Y),createNode:(Y,et,en)=>tV.from(Y,et,en)},tZ={identify:Y=>"string"==typeof Y,default:!0,tag:"tag:yaml.org,2002:str",resolve:Y=>Y,stringify:(Y,et,en,ei)=>tk(Y,et=Object.assign({actualString:!0},et),en,ei)},tK={identify:Y=>null==Y,createNode:()=>new eQ(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new eQ(null),stringify:({source:Y},et)=>"string"==typeof Y&&tK.test.test(Y)?Y:et.options.nullStr},t$={identify:Y=>"boolean"==typeof Y,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:Y=>new eQ("t"===Y[0]||"T"===Y[0]),stringify({source:Y,value:et},en){if(Y&&t$.test.test(Y)){let en="t"===Y[0]||"T"===Y[0];if(et===en)return Y}return et?en.options.trueStr:en.options.falseStr}};function tY({format:Y,minFractionDigits:et,tag:en,value:ei}){if("bigint"==typeof ei)return String(ei);let eo="number"==typeof ei?ei:Number(ei);if(!isFinite(eo))return isNaN(eo)?".nan":eo<0?"-.inf":".inf";let ea=JSON.stringify(ei);if(!Y&&et&&(!en||"tag:yaml.org,2002:float"===en)&&/^\d/.test(ea)){let Y=ea.indexOf(".");Y<0&&(Y=ea.length,ea+=".");let en=et-(ea.length-Y-1);for(;en-- >0;)ea+="0"}return ea}let tQ={identify:Y=>"number"==typeof Y,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:Y=>"nan"===Y.slice(-3).toLowerCase()?NaN:"-"===Y[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:tY},tX={identify:Y=>"number"==typeof Y,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:Y=>parseFloat(Y),stringify(Y){let et=Number(Y.value);return isFinite(et)?et.toExponential():tY(Y)}},tJ={identify:Y=>"number"==typeof Y,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(Y){let et=new eQ(parseFloat(Y)),en=Y.indexOf(".");return -1!==en&&"0"===Y[Y.length-1]&&(et.minFractionDigits=Y.length-en-1),et},stringify:tY},t9=Y=>"bigint"==typeof Y||Number.isInteger(Y),t5=(Y,et,en,{intAsBigInt:ei})=>ei?BigInt(Y):parseInt(Y.substring(et),en);function t4(Y,et,en){let{value:ei}=Y;return t9(ei)&&ei>=0?en+ei.toString(et):tY(Y)}let t3={identify:Y=>t9(Y)&&Y>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(Y,et,en)=>t5(Y,2,8,en),stringify:Y=>t4(Y,8,"0o")},t6={identify:t9,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(Y,et,en)=>t5(Y,0,10,en),stringify:tY},t7={identify:Y=>t9(Y)&&Y>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(Y,et,en)=>t5(Y,2,16,en),stringify:Y=>t4(Y,16,"0x")},t8=[tG,tq,tZ,tK,t$,t3,t6,t7,tQ,tX,tJ];function nt(Y){return"bigint"==typeof Y||Number.isInteger(Y)}let nn=({value:Y})=>JSON.stringify(Y),ni=[{identify:Y=>"string"==typeof Y,default:!0,tag:"tag:yaml.org,2002:str",resolve:Y=>Y,stringify:nn},{identify:Y=>null==Y,createNode:()=>new eQ(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:nn},{identify:Y=>"boolean"==typeof Y,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:Y=>"true"===Y,stringify:nn},{identify:nt,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(Y,et,{intAsBigInt:en})=>en?BigInt(Y):parseInt(Y,10),stringify:({value:Y})=>nt(Y)?Y.toString():JSON.stringify(Y)},{identify:Y=>"number"==typeof Y,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:Y=>parseFloat(Y),stringify:nn}],na={default:!0,tag:"",test:/^/,resolve:(Y,et)=>(et(`Unresolved plain scalar ${JSON.stringify(Y)}`),Y)},nu=[tG,tq].concat(ni,na);var nd=en(14984).lW;let nf={identify:Y=>Y instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(Y,et){if("function"==typeof nd)return nd.from(Y,"base64");if("function"!=typeof atob)return et("This environment does not support reading binary tags; either Buffer or atob is required"),Y;{let et=atob(Y.replace(/[\n\r]/g,"")),en=new Uint8Array(et.length);for(let Y=0;Y<et.length;++Y)en[Y]=et.charCodeAt(Y);return en}},stringify({comment:Y,type:et,value:en},ei,eo,ea){let eu;let ec=en;if("function"==typeof nd)eu=ec instanceof nd?ec.toString("base64"):nd.from(ec.buffer).toString("base64");else if("function"==typeof btoa){let Y="";for(let et=0;et<ec.length;++et)Y+=String.fromCharCode(ec[et]);eu=btoa(Y)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(et||(et=eQ.BLOCK_LITERAL),et!==eQ.QUOTE_DOUBLE){let Y=Math.max(ei.options.lineWidth-ei.indent.length,ei.options.minContentWidth),en=Math.ceil(eu.length/Y),eo=Array(en);for(let et=0,ei=0;et<en;++et,ei+=Y)eo[et]=eu.substr(ei,Y);eu=eo.join(et===eQ.BLOCK_LITERAL?"\n":" ")}return tk({comment:Y,type:et,value:eu},ei,eo,ea)}};function nh(Y,et){if(e_(Y))for(let en=0;en<Y.items.length;++en){let ei=Y.items[en];if(!ek(ei)){if(eb(ei)){ei.items.length>1&&et("Each pair must have its own sequence indicator");let Y=ei.items[0]||new tL(new eQ(null));if(ei.commentBefore&&(Y.key.commentBefore=Y.key.commentBefore?`${ei.commentBefore}
${Y.key.commentBefore}`:ei.commentBefore),ei.comment){let et=Y.value??Y.key;et.comment=et.comment?`${ei.comment}
${et.comment}`:ei.comment}ei=Y}Y.items[en]=ek(ei)?ei:new tL(ei)}}else et("Expected a sequence for this tag");return Y}function np(Y,et,en){let{replacer:ei}=en,eo=new tV(Y);eo.tag="tag:yaml.org,2002:pairs";let ea=0;if(et&&Symbol.iterator in Object(et))for(let Y of et){let eu,ec;if("function"==typeof ei&&(Y=ei.call(et,String(ea++),Y)),Array.isArray(Y)){if(2===Y.length)eu=Y[0],ec=Y[1];else throw TypeError(`Expected [key, value] tuple: ${Y}`)}else if(Y&&Y instanceof Object){let et=Object.keys(Y);if(1===et.length)ec=Y[eu=et[0]];else throw TypeError(`Expected tuple with one key, not ${et.length} keys`)}else eu=Y;eo.items.push(tN(eu,ec,en))}return eo}let ng={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:nh,createNode:np};class nv extends tV{constructor(){super(),this.add=tH.prototype.add.bind(this),this.delete=tH.prototype.delete.bind(this),this.get=tH.prototype.get.bind(this),this.has=tH.prototype.has.bind(this),this.set=tH.prototype.set.bind(this),this.tag=nv.tag}toJSON(Y,et){if(!et)return super.toJSON(Y);let en=new Map;for(let Y of(et?.onCreate&&et.onCreate(en),this.items)){let ei,eo;if(ek(Y)?(ei=eW(Y.key,"",et),eo=eW(Y.value,ei,et)):ei=eW(Y,"",et),en.has(ei))throw Error("Ordered maps must not include duplicate keys");en.set(ei,eo)}return en}static from(Y,et,en){let ei=np(Y,et,en),eo=new this;return eo.items=ei.items,eo}}nv.tag="tag:yaml.org,2002:omap";let ny={collection:"seq",identify:Y=>Y instanceof Map,nodeClass:nv,default:!1,tag:"tag:yaml.org,2002:omap",resolve(Y,et){let en=nh(Y,et),ei=[];for(let{key:Y}of en.items)ew(Y)&&(ei.includes(Y.value)?et(`Ordered maps must not include duplicate keys: ${Y.value}`):ei.push(Y.value));return Object.assign(new nv,en)},createNode:(Y,et,en)=>nv.from(Y,et,en)};function nb({value:Y,source:et},en){let ei=Y?nx:nk;return et&&ei.test.test(et)?et:Y?en.options.trueStr:en.options.falseStr}let nx={identify:Y=>!0===Y,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new eQ(!0),stringify:nb},nk={identify:Y=>!1===Y,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new eQ(!1),stringify:nb},nw={identify:Y=>"number"==typeof Y,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:Y=>"nan"===Y.slice(-3).toLowerCase()?NaN:"-"===Y[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:tY},n_={identify:Y=>"number"==typeof Y,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:Y=>parseFloat(Y.replace(/_/g,"")),stringify(Y){let et=Number(Y.value);return isFinite(et)?et.toExponential():tY(Y)}},nE={identify:Y=>"number"==typeof Y,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(Y){let et=new eQ(parseFloat(Y.replace(/_/g,""))),en=Y.indexOf(".");if(-1!==en){let ei=Y.substring(en+1).replace(/_/g,"");"0"===ei[ei.length-1]&&(et.minFractionDigits=ei.length)}return et},stringify:tY},nC=Y=>"bigint"==typeof Y||Number.isInteger(Y);function nT(Y,et,en,{intAsBigInt:ei}){let eo=Y[0];if(("-"===eo||"+"===eo)&&(et+=1),Y=Y.substring(et).replace(/_/g,""),ei){switch(en){case 2:Y=`0b${Y}`;break;case 8:Y=`0o${Y}`;break;case 16:Y=`0x${Y}`}let et=BigInt(Y);return"-"===eo?BigInt(-1)*et:et}let ea=parseInt(Y,en);return"-"===eo?-1*ea:ea}function nS(Y,et,en){let{value:ei}=Y;if(nC(ei)){let Y=ei.toString(et);return ei<0?"-"+en+Y.substr(1):en+Y}return tY(Y)}let nA={identify:nC,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(Y,et,en)=>nT(Y,2,2,en),stringify:Y=>nS(Y,2,"0b")},nM={identify:nC,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(Y,et,en)=>nT(Y,1,8,en),stringify:Y=>nS(Y,8,"0")},nP={identify:nC,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(Y,et,en)=>nT(Y,0,10,en),stringify:tY},nj={identify:nC,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(Y,et,en)=>nT(Y,2,16,en),stringify:Y=>nS(Y,16,"0x")};class nO extends tH{constructor(Y){super(Y),this.tag=nO.tag}add(Y){let et;et=ek(Y)?Y:Y&&"object"==typeof Y&&"key"in Y&&"value"in Y&&null===Y.value?new tL(Y.key,null):new tL(Y,null);let en=tU(this.items,et.key);en||this.items.push(et)}get(Y,et){let en=tU(this.items,Y);return!et&&ek(en)?ew(en.key)?en.key.value:en.key:en}set(Y,et){if("boolean"!=typeof et)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof et}`);let en=tU(this.items,Y);en&&!et?this.items.splice(this.items.indexOf(en),1):!en&&et&&this.items.push(new tL(Y))}toJSON(Y,et){return super.toJSON(Y,et,Set)}toString(Y,et,en){if(!Y)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},Y,{allNullValues:!0}),et,en);throw Error("Set items must all have null values")}static from(Y,et,en){let{replacer:ei}=en,eo=new this(Y);if(et&&Symbol.iterator in Object(et))for(let Y of et)"function"==typeof ei&&(Y=ei.call(et,Y,Y)),eo.items.push(tN(Y,null,en));return eo}}nO.tag="tag:yaml.org,2002:set";let nI={collection:"map",identify:Y=>Y instanceof Set,nodeClass:nO,default:!1,tag:"tag:yaml.org,2002:set",createNode:(Y,et,en)=>nO.from(Y,et,en),resolve(Y,et){if(eb(Y)){if(Y.hasAllNullValues(!0))return Object.assign(new nO,Y);et("Set items must all have null values")}else et("Expected a mapping for this tag");return Y}};function nN(Y,et){let en=Y[0],ei="-"===en||"+"===en?Y.substring(1):Y,eo=Y=>et?BigInt(Y):Number(Y),ea=ei.replace(/_/g,"").split(":").reduce((Y,et)=>Y*eo(60)+eo(et),eo(0));return"-"===en?eo(-1)*ea:ea}function nL(Y){let{value:et}=Y,en=Y=>Y;if("bigint"==typeof et)en=Y=>BigInt(Y);else if(isNaN(et)||!isFinite(et))return tY(Y);let ei="";et<0&&(ei="-",et*=en(-1));let eo=en(60),ea=[et%eo];return et<60?ea.unshift(0):(et=(et-ea[0])/eo,ea.unshift(et%eo),et>=60&&(et=(et-ea[0])/eo,ea.unshift(et))),ei+ea.map(Y=>String(Y).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let nR={identify:Y=>"bigint"==typeof Y||Number.isInteger(Y),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(Y,et,{intAsBigInt:en})=>nN(Y,en),stringify:nL},nD={identify:Y=>"number"==typeof Y,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:Y=>nN(Y,!1),stringify:nL},nF={identify:Y=>Y instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(Y){let et=Y.match(nF.test);if(!et)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,en,ei,eo,ea,eu,ec]=et.map(Number),ed=et[7]?Number((et[7]+"00").substr(1,3)):0,ef=Date.UTC(en,ei-1,eo,ea||0,eu||0,ec||0,ed),eh=et[8];if(eh&&"Z"!==eh){let Y=nN(eh,!1);30>Math.abs(Y)&&(Y*=60),ef-=6e4*Y}return new Date(ef)},stringify:({value:Y})=>Y.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},nB=[tG,tq,tZ,tK,nx,nk,nA,nM,nP,nj,nw,n_,nE,nf,ny,ng,nI,nR,nD,nF],nz=new Map([["core",t8],["failsafe",[tG,tq,tZ]],["json",nu],["yaml11",nB],["yaml-1.1",nB]]),nU={binary:nf,bool:t$,float:tJ,floatExp:tX,floatNaN:tQ,floatTime:nD,int:t6,intHex:t7,intOct:t3,intTime:nR,map:tG,null:tK,omap:ny,pairs:ng,seq:tq,set:nI,timestamp:nF},nH={"tag:yaml.org,2002:binary":nf,"tag:yaml.org,2002:omap":ny,"tag:yaml.org,2002:pairs":ng,"tag:yaml.org,2002:set":nI,"tag:yaml.org,2002:timestamp":nF};function nG(Y,et){let en=nz.get(et);if(!en){if(Array.isArray(Y))en=[];else{let Y=Array.from(nz.keys()).filter(Y=>"yaml11"!==Y).map(Y=>JSON.stringify(Y)).join(", ");throw Error(`Unknown schema "${et}"; use one of ${Y} or define customTags array`)}}if(Array.isArray(Y))for(let et of Y)en=en.concat(et);else"function"==typeof Y&&(en=Y(en.slice()));return en.map(Y=>{if("string"!=typeof Y)return Y;let et=nU[Y];if(et)return et;let en=Object.keys(nU).map(Y=>JSON.stringify(Y)).join(", ");throw Error(`Unknown custom tag "${Y}"; use one of ${en}`)})}let nV=(Y,et)=>Y.key<et.key?-1:Y.key>et.key?1:0;class nW{constructor({compat:Y,customTags:et,merge:en,resolveKnownTags:ei,schema:eo,sortMapEntries:ea,toStringDefaults:eu}){this.compat=Array.isArray(Y)?nG(Y,"compat"):Y?nG(null,Y):null,this.merge=!!en,this.name="string"==typeof eo&&eo||"core",this.knownTags=ei?nH:{},this.tags=nG(et,this.name),this.toStringOptions=eu??null,Object.defineProperty(this,ed,{value:tG}),Object.defineProperty(this,eh,{value:tZ}),Object.defineProperty(this,ep,{value:tq}),this.sortMapEntries="function"==typeof ea?ea:!0===ea?nV:null}clone(){let Y=Object.create(nW.prototype,Object.getOwnPropertyDescriptors(this));return Y.tags=this.tags.slice(),Y}}function nq(Y,et){let en=[],ei=!0===et.directives;if(!1!==et.directives&&Y.directives){let et=Y.directives.toString(Y);et?(en.push(et),ei=!0):Y.directives.docStart&&(ei=!0)}ei&&en.push("---");let eo=tw(Y,et),{commentString:ea}=eo.options;if(Y.commentBefore){1!==en.length&&en.unshift("");let et=ea(Y.commentBefore);en.unshift(e6(et,""))}let eu=!1,ec=null;if(Y.contents){if(eC(Y.contents)){if(Y.contents.spaceBefore&&ei&&en.push(""),Y.contents.commentBefore){let et=ea(Y.contents.commentBefore);en.push(e6(et,""))}eo.forceBlockIndent=!!Y.comment,ec=Y.contents.comment}let et=ec?void 0:()=>eu=!0,ed=tC(Y.contents,eo,()=>ec=null,et);ec&&(ed+=e7(ed,"",ea(ec))),("|"===ed[0]||">"===ed[0])&&"---"===en[en.length-1]?en[en.length-1]=`--- ${ed}`:en.push(ed)}else en.push(tC(Y.contents,eo));if(Y.directives?.docEnd){if(Y.comment){let et=ea(Y.comment);et.includes("\n")?(en.push("..."),en.push(e6(et,""))):en.push(`... ${et}`)}else en.push("...")}else{let et=Y.comment;et&&eu&&(et=et.replace(/^\n+/,"")),et&&((!eu||ec)&&""!==en[en.length-1]&&en.push(""),en.push(e6(ea(et),"")))}return en.join("\n")+"\n"}class nZ{constructor(Y,et,en){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,em,{value:ec});let ei=null;"function"==typeof et||Array.isArray(et)?ei=et:void 0===en&&et&&(en=et,et=void 0);let eo=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},en);this.options=eo;let{version:ea}=eo;en?._directives?(this.directives=en._directives.atDocument(),this.directives.yaml.explicit&&(ea=this.directives.yaml.version)):this.directives=new eB({version:ea}),this.setSchema(ea,en),this.contents=void 0===Y?null:this.createNode(Y,ei,en)}clone(){let Y=Object.create(nZ.prototype,{[em]:{value:ec}});return Y.commentBefore=this.commentBefore,Y.comment=this.comment,Y.errors=this.errors.slice(),Y.warnings=this.warnings.slice(),Y.options=Object.assign({},this.options),this.directives&&(Y.directives=this.directives.clone()),Y.schema=this.schema.clone(),Y.contents=eC(this.contents)?this.contents.clone(Y.schema):this.contents,this.range&&(Y.range=this.range.slice()),Y}add(Y){nK(this.contents)&&this.contents.add(Y)}addIn(Y,et){nK(this.contents)&&this.contents.addIn(Y,et)}createAlias(Y,et){if(!Y.anchor){let en=eU(this);Y.anchor=!et||en.has(et)?eH(et||"a",en):et}return new eK(Y.anchor)}createNode(Y,et,en){let ei;if("function"==typeof et)Y=et.call({"":Y},"",Y),ei=et;else if(Array.isArray(et)){let Y=Y=>"number"==typeof Y||Y instanceof String||Y instanceof Number,en=et.filter(Y).map(String);en.length>0&&(et=et.concat(en)),ei=et}else void 0===en&&et&&(en=et,et=void 0);let{aliasDuplicateObjects:eo,anchorPrefix:ea,flow:eu,keepUndefined:ec,onTagObj:ed,tag:ef}=en??{},{onAnchor:eh,setAnchors:ep,sourceObjects:em}=eG(this,ea||"a"),eg={aliasDuplicateObjects:eo??!0,keepUndefined:ec??!1,onAnchor:eh,onTagObj:ed,replacer:ei,schema:this.schema,sourceObjects:em},ey=e0(Y,ef,eg);return eu&&eE(ey)&&(ey.flow=!0),ep(),ey}createPair(Y,et,en={}){let ei=this.createNode(Y,null,en),eo=this.createNode(et,null,en);return new tL(ei,eo)}delete(Y){return!!nK(this.contents)&&this.contents.delete(Y)}deleteIn(Y){return e5(Y)?null!=this.contents&&(this.contents=null,!0):!!nK(this.contents)&&this.contents.deleteIn(Y)}get(Y,et){return eE(this.contents)?this.contents.get(Y,et):void 0}getIn(Y,et){return e5(Y)?!et&&ew(this.contents)?this.contents.value:this.contents:eE(this.contents)?this.contents.getIn(Y,et):void 0}has(Y){return!!eE(this.contents)&&this.contents.has(Y)}hasIn(Y){return e5(Y)?void 0!==this.contents:!!eE(this.contents)&&this.contents.hasIn(Y)}set(Y,et){null==this.contents?this.contents=e9(this.schema,[Y],et):nK(this.contents)&&this.contents.set(Y,et)}setIn(Y,et){e5(Y)?this.contents=et:null==this.contents?this.contents=e9(this.schema,Array.from(Y),et):nK(this.contents)&&this.contents.setIn(Y,et)}setSchema(Y,et={}){let en;switch("number"==typeof Y&&(Y=String(Y)),Y){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new eB({version:"1.1"}),en={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=Y:this.directives=new eB({version:Y}),en={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,en=null;break;default:{let et=JSON.stringify(Y);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${et}`)}}if(et.schema instanceof Object)this.schema=et.schema;else if(en)this.schema=new nW(Object.assign(en,et));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:Y,jsonArg:et,mapAsMap:en,maxAliasCount:ei,onAnchor:eo,reviver:ea}={}){let eu={anchors:new Map,doc:this,keep:!Y,mapAsMap:!0===en,mapKeyWarned:!1,maxAliasCount:"number"==typeof ei?ei:100},ec=eW(this.contents,et??"",eu);if("function"==typeof eo)for(let{count:Y,res:et}of eu.anchors.values())eo(et,Y);return"function"==typeof ea?eV(ea,{"":ec},"",ec):ec}toJSON(Y,et){return this.toJS({json:!0,jsonArg:Y,mapAsMap:!1,onAnchor:et})}toString(Y={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in Y&&(!Number.isInteger(Y.indent)||0>=Number(Y.indent))){let et=JSON.stringify(Y.indent);throw Error(`"indent" option must be a positive integer, not ${et}`)}return nq(this,Y)}}function nK(Y){if(eE(Y))return!0;throw Error("Expected a YAML collection as document contents")}class n$ extends Error{constructor(Y,et,en,ei){super(),this.name=Y,this.code=en,this.message=ei,this.pos=et}}class nY extends n${constructor(Y,et,en){super("YAMLParseError",Y,et,en)}}class nQ extends n${constructor(Y,et,en){super("YAMLWarning",Y,et,en)}}let nX=(Y,et)=>en=>{if(-1===en.pos[0])return;en.linePos=en.pos.map(Y=>et.linePos(Y));let{line:ei,col:eo}=en.linePos[0];en.message+=` at line ${ei}, column ${eo}`;let ea=eo-1,eu=Y.substring(et.lineStarts[ei-1],et.lineStarts[ei]).replace(/[\n\r]+$/,"");if(ea>=60&&eu.length>80){let Y=Math.min(ea-39,eu.length-79);eu="…"+eu.substring(Y),ea-=Y-1}if(eu.length>80&&(eu=eu.substring(0,79)+"…"),ei>1&&/^ *$/.test(eu.substring(0,ea))){let en=Y.substring(et.lineStarts[ei-2],et.lineStarts[ei-1]);en.length>80&&(en=en.substring(0,79)+"…\n"),eu=en+eu}if(/[^ ]/.test(eu)){let Y=1,et=en.linePos[1];et&&et.line===ei&&et.col>eo&&(Y=Math.max(1,Math.min(et.col-eo,80-ea)));let ec=" ".repeat(ea)+"^".repeat(Y);en.message+=`:
${eu}
${ec}
`}};function nJ(Y,{flow:et,indicator:en,next:ei,offset:eo,onError:ea,startOnNewline:eu}){let ec=!1,ed=eu,ef=eu,eh="",ep="",em=!1,eg=!1,ey=!1,eb=null,ek=null,ew=null,e_=null,eE=null;for(let ei of Y)switch(ey&&("space"!==ei.type&&"newline"!==ei.type&&"comma"!==ei.type&&ea(ei.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),ey=!1),ei.type){case"space":!et&&ed&&"doc-start"!==en&&" "===ei.source[0]&&ea(ei,"TAB_AS_INDENT","Tabs are not allowed as indentation"),ef=!0;break;case"comment":{ef||ea(ei,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let Y=ei.source.substring(1)||" ";eh?eh+=ep+Y:eh=Y,ep="",ed=!1;break}case"newline":ed?eh?eh+=ei.source:ec=!0:ep+=ei.source,ed=!0,em=!0,(eb||ek)&&(eg=!0),ef=!0;break;case"anchor":eb&&ea(ei,"MULTIPLE_ANCHORS","A node can have at most one anchor"),ei.source.endsWith(":")&&ea(ei.offset+ei.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),eb=ei,null===eE&&(eE=ei.offset),ed=!1,ef=!1,ey=!0;break;case"tag":ek&&ea(ei,"MULTIPLE_TAGS","A node can have at most one tag"),ek=ei,null===eE&&(eE=ei.offset),ed=!1,ef=!1,ey=!0;break;case en:(eb||ek)&&ea(ei,"BAD_PROP_ORDER",`Anchors and tags must be after the ${ei.source} indicator`),e_&&ea(ei,"UNEXPECTED_TOKEN",`Unexpected ${ei.source} in ${et??"collection"}`),e_=ei,ed=!1,ef=!1;break;case"comma":if(et){ew&&ea(ei,"UNEXPECTED_TOKEN",`Unexpected , in ${et}`),ew=ei,ed=!1,ef=!1;break}default:ea(ei,"UNEXPECTED_TOKEN",`Unexpected ${ei.type} token`),ed=!1,ef=!1}let eC=Y[Y.length-1],eT=eC?eC.offset+eC.source.length:eo;return ey&&ei&&"space"!==ei.type&&"newline"!==ei.type&&"comma"!==ei.type&&("scalar"!==ei.type||""!==ei.source)&&ea(ei.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:ew,found:e_,spaceBefore:ec,comment:eh,hasNewline:em,hasNewlineAfterProp:eg,anchor:eb,tag:ek,end:eT,start:eE??eT}}function n0(Y){if(!Y)return null;switch(Y.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(Y.source.includes("\n"))return!0;if(Y.end){for(let et of Y.end)if("newline"===et.type)return!0}return!1;case"flow-collection":for(let et of Y.items){for(let Y of et.start)if("newline"===Y.type)return!0;if(et.sep){for(let Y of et.sep)if("newline"===Y.type)return!0}if(n0(et.key)||n0(et.value))return!0}return!1;default:return!0}}function n9(Y,et,en){if(et?.type==="flow-collection"){let ei=et.end[0];if(ei.indent===Y&&("]"===ei.source||"}"===ei.source)&&n0(et)){let Y="Flow end indicator should be more indented than parent";en(ei,"BAD_INDENT",Y,!0)}}}function n5(Y,et,en){let{uniqueKeys:ei}=Y.options;if(!1===ei)return!1;let eo="function"==typeof ei?ei:(et,en)=>et===en||ew(et)&&ew(en)&&et.value===en.value&&!("<<"===et.value&&Y.schema.merge);return et.some(Y=>eo(Y.key,en))}let n4="All mapping items must start at the same column";function n3({composeNode:Y,composeEmptyNode:et},en,ei,eo,ea){let eu=ea?.nodeClass??tH,ec=new eu(en.schema);en.atRoot&&(en.atRoot=!1);let ed=ei.offset,ef=null;for(let ea of ei.items){let{start:eu,key:eh,sep:ep,value:em}=ea,eg=nJ(eu,{indicator:"explicit-key-ind",next:eh??ep?.[0],offset:ed,onError:eo,startOnNewline:!0}),ey=!eg.found;if(ey){if(eh&&("block-seq"===eh.type?eo(ed,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in eh&&eh.indent!==ei.indent&&eo(ed,"BAD_INDENT",n4)),!eg.anchor&&!eg.tag&&!ep){ef=eg.end,eg.comment&&(ec.comment?ec.comment+="\n"+eg.comment:ec.comment=eg.comment);continue}(eg.hasNewlineAfterProp||n0(eh))&&eo(eh??eu[eu.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else eg.found?.indent!==ei.indent&&eo(ed,"BAD_INDENT",n4);let eb=eg.end,ek=eh?Y(en,eh,eg,eo):et(en,eb,eu,null,eg,eo);en.schema.compat&&n9(ei.indent,eh,eo),n5(en,ec.items,ek)&&eo(eb,"DUPLICATE_KEY","Map keys must be unique");let ew=nJ(ep??[],{indicator:"map-value-ind",next:em,offset:ek.range[2],onError:eo,startOnNewline:!eh||"block-scalar"===eh.type});if(ed=ew.end,ew.found){ey&&(em?.type!=="block-map"||ew.hasNewline||eo(ed,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),en.options.strict&&eg.start<ew.found.offset-1024&&eo(ek.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let eu=em?Y(en,em,ew,eo):et(en,ed,ep,null,ew,eo);en.schema.compat&&n9(ei.indent,em,eo),ed=eu.range[2];let ef=new tL(ek,eu);en.options.keepSourceTokens&&(ef.srcToken=ea),ec.items.push(ef)}else{ey&&eo(ek.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),ew.comment&&(ek.comment?ek.comment+="\n"+ew.comment:ek.comment=ew.comment);let Y=new tL(ek);en.options.keepSourceTokens&&(Y.srcToken=ea),ec.items.push(Y)}}return ef&&ef<ed&&eo(ef,"IMPOSSIBLE","Map comment with trailing content"),ec.range=[ei.offset,ed,ef??ed],ec}function n6({composeNode:Y,composeEmptyNode:et},en,ei,eo,ea){let eu=ea?.nodeClass??tV,ec=new eu(en.schema);en.atRoot&&(en.atRoot=!1);let ed=ei.offset,ef=null;for(let{start:ea,value:eu}of ei.items){let eh=nJ(ea,{indicator:"seq-item-ind",next:eu,offset:ed,onError:eo,startOnNewline:!0});if(!eh.found){if(eh.anchor||eh.tag||eu)eu&&"block-seq"===eu.type?eo(eh.end,"BAD_INDENT","All sequence items must start at the same column"):eo(ed,"MISSING_CHAR","Sequence item without - indicator");else{ef=eh.end,eh.comment&&(ec.comment=eh.comment);continue}}let ep=eu?Y(en,eu,eh,eo):et(en,eh.end,ea,null,eh,eo);en.schema.compat&&n9(ei.indent,eu,eo),ed=ep.range[2],ec.items.push(ep)}return ec.range=[ei.offset,ed,ef??ed],ec}function n7(Y,et,en,ei){let eo="";if(Y){let ea=!1,eu="";for(let ec of Y){let{source:Y,type:ed}=ec;switch(ed){case"space":ea=!0;break;case"comment":{en&&!ea&&ei(ec,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let et=Y.substring(1)||" ";eo?eo+=eu+et:eo=et,eu="";break}case"newline":eo&&(eu+=Y),ea=!0;break;default:ei(ec,"UNEXPECTED_TOKEN",`Unexpected ${ed} at node end`)}et+=Y.length}}return{comment:eo,offset:et}}let n8="Block collections are not allowed within flow collections",rn=Y=>Y&&("block-map"===Y.type||"block-seq"===Y.type);function rr({composeNode:Y,composeEmptyNode:et},en,ei,eo,ea){let eu="{"===ei.start.source,ec=eu?"flow map":"flow sequence",ed=ea?.nodeClass??(eu?tH:tV),ef=new ed(en.schema);ef.flow=!0;let eh=en.atRoot;eh&&(en.atRoot=!1);let ep=ei.offset+ei.start.source.length;for(let ea=0;ea<ei.items.length;++ea){let ed=ei.items[ea],{start:eh,key:em,sep:eg,value:ey}=ed,eb=nJ(eh,{flow:ec,indicator:"explicit-key-ind",next:em??eg?.[0],offset:ep,onError:eo,startOnNewline:!1});if(!eb.found){if(!eb.anchor&&!eb.tag&&!eg&&!ey){0===ea&&eb.comma?eo(eb.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${ec}`):ea<ei.items.length-1&&eo(eb.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${ec}`),eb.comment&&(ef.comment?ef.comment+="\n"+eb.comment:ef.comment=eb.comment),ep=eb.end;continue}!eu&&en.options.strict&&n0(em)&&eo(em,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===ea)eb.comma&&eo(eb.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${ec}`);else if(eb.comma||eo(eb.start,"MISSING_CHAR",`Missing , between ${ec} items`),eb.comment){let Y="";n:for(let et of eh)switch(et.type){case"comma":case"space":break;case"comment":Y=et.source.substring(1);break n;default:break n}if(Y){let et=ef.items[ef.items.length-1];ek(et)&&(et=et.value??et.key),et.comment?et.comment+="\n"+Y:et.comment=Y,eb.comment=eb.comment.substring(Y.length+1)}}if(eu||eg||eb.found){let ei=eb.end,ea=em?Y(en,em,eb,eo):et(en,ei,eh,null,eb,eo);rn(em)&&eo(ea.range,"BLOCK_IN_FLOW",n8);let ek=nJ(eg??[],{flow:ec,indicator:"map-value-ind",next:ey,offset:ea.range[2],onError:eo,startOnNewline:!1});if(ek.found){if(!eu&&!eb.found&&en.options.strict){if(eg)for(let Y of eg){if(Y===ek.found)break;if("newline"===Y.type){eo(Y,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}eb.start<ek.found.offset-1024&&eo(ek.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else ey&&("source"in ey&&ey.source&&":"===ey.source[0]?eo(ey,"MISSING_CHAR",`Missing space after : in ${ec}`):eo(ek.start,"MISSING_CHAR",`Missing , or : between ${ec} items`));let ew=ey?Y(en,ey,ek,eo):ek.found?et(en,ek.end,eg,null,ek,eo):null;ew?rn(ey)&&eo(ew.range,"BLOCK_IN_FLOW",n8):ek.comment&&(ea.comment?ea.comment+="\n"+ek.comment:ea.comment=ek.comment);let e_=new tL(ea,ew);if(en.options.keepSourceTokens&&(e_.srcToken=ed),eu){let Y=ef;n5(en,Y.items,ea)&&eo(ei,"DUPLICATE_KEY","Map keys must be unique"),Y.items.push(e_)}else{let Y=new tH(en.schema);Y.flow=!0,Y.items.push(e_),ef.items.push(Y)}ep=ew?ew.range[2]:ek.end}else{let ei=ey?Y(en,ey,eb,eo):et(en,eb.end,eg,null,eb,eo);ef.items.push(ei),ep=ei.range[2],rn(ey)&&eo(ei.range,"BLOCK_IN_FLOW",n8)}}let em=eu?"}":"]",[eg,...ey]=ei.end,eb=ep;if(eg&&eg.source===em)eb=eg.offset+eg.source.length;else{let Y=ec[0].toUpperCase()+ec.substring(1),et=eh?`${Y} must end with a ${em}`:`${Y} in block collection must be sufficiently indented and end with a ${em}`;eo(ep,eh?"MISSING_CHAR":"BAD_INDENT",et),eg&&1!==eg.source.length&&ey.unshift(eg)}if(ey.length>0){let Y=n7(ey,eb,en.options.strict,eo);Y.comment&&(ef.comment?ef.comment+="\n"+Y.comment:ef.comment=Y.comment),ef.range=[ei.offset,eb,Y.offset]}else ef.range=[ei.offset,eb,eb];return ef}function ri(Y,et,en,ei,eo,ea){let eu="block-map"===en.type?n3(Y,et,en,ei,ea):"block-seq"===en.type?n6(Y,et,en,ei,ea):rr(Y,et,en,ei,ea),ec=eu.constructor;return"!"===eo||eo===ec.tagName?(eu.tag=ec.tagName,eu):(eo&&(eu.tag=eo),eu)}function ro(Y,et,en,ei,eo){let ea=ei?et.directives.tagName(ei.source,Y=>eo(ei,"TAG_RESOLVE_FAILED",Y)):null,eu="block-map"===en.type?"map":"block-seq"===en.type?"seq":"{"===en.start.source?"map":"seq";if(!ei||!ea||"!"===ea||ea===tH.tagName&&"map"===eu||ea===tV.tagName&&"seq"===eu||!eu)return ri(Y,et,en,eo,ea);let ec=et.schema.tags.find(Y=>Y.tag===ea&&Y.collection===eu);if(!ec){let ed=et.schema.knownTags[ea];if(!ed||ed.collection!==eu)return ed?.collection?eo(ei,"BAD_COLLECTION_TYPE",`${ed.tag} used for ${eu} collection, but expects ${ed.collection}`,!0):eo(ei,"TAG_RESOLVE_FAILED",`Unresolved tag: ${ea}`,!0),ri(Y,et,en,eo,ea);et.schema.tags.push(Object.assign({},ed,{default:!1})),ec=ed}let ed=ri(Y,et,en,eo,ea,ec),ef=ec.resolve?.(ed,Y=>eo(ei,"TAG_RESOLVE_FAILED",Y),et.options)??ed,eh=eC(ef)?ef:new eQ(ef);return eh.range=ed.range,eh.tag=ea,ec?.format&&(eh.format=ec.format),eh}function ra(Y,et,en){let ei=Y.offset,eo=rs(Y,et,en);if(!eo)return{value:"",type:null,comment:"",range:[ei,ei,ei]};let ea=">"===eo.mode?eQ.BLOCK_FOLDED:eQ.BLOCK_LITERAL,eu=Y.source?rl(Y.source):[],ec=eu.length;for(let Y=eu.length-1;Y>=0;--Y){let et=eu[Y][1];if(""===et||"\r"===et)ec=Y;else break}if(0===ec){let et="+"===eo.chomp&&eu.length>0?"\n".repeat(Math.max(1,eu.length-1)):"",en=ei+eo.length;return Y.source&&(en+=Y.source.length),{value:et,type:ea,comment:eo.comment,range:[ei,en,en]}}let ed=Y.indent+eo.indent,ef=Y.offset+eo.length,eh=0;for(let Y=0;Y<ec;++Y){let[et,ei]=eu[Y];if(""===ei||"\r"===ei)0===eo.indent&&et.length>ed&&(ed=et.length);else{if(et.length<ed){let Y="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";en(ef+et.length,"MISSING_CHAR",Y)}0===eo.indent&&(ed=et.length),eh=Y;break}ef+=et.length+ei.length+1}for(let Y=eu.length-1;Y>=ec;--Y)eu[Y][0].length>ed&&(ec=Y+1);let ep="",em="",eg=!1;for(let Y=0;Y<eh;++Y)ep+=eu[Y][0].slice(ed)+"\n";for(let Y=eh;Y<ec;++Y){let[et,ei]=eu[Y];ef+=et.length+ei.length+1;let ec="\r"===ei[ei.length-1];if(ec&&(ei=ei.slice(0,-1)),ei&&et.length<ed){let Y=eo.indent?"explicit indentation indicator":"first line",ea=`Block scalar lines must not be less indented than their ${Y}`;en(ef-ei.length-(ec?2:1),"BAD_INDENT",ea),et=""}ea===eQ.BLOCK_LITERAL?(ep+=em+et.slice(ed)+ei,em="\n"):et.length>ed||" "===ei[0]?(" "===em?em="\n":eg||"\n"!==em||(em="\n\n"),ep+=em+et.slice(ed)+ei,em="\n",eg=!0):""===ei?"\n"===em?ep+="\n":em="\n":(ep+=em+ei,em=" ",eg=!1)}switch(eo.chomp){case"-":break;case"+":for(let Y=ec;Y<eu.length;++Y)ep+="\n"+eu[Y][0].slice(ed);"\n"!==ep[ep.length-1]&&(ep+="\n");break;default:ep+="\n"}let ey=ei+eo.length+Y.source.length;return{value:ep,type:ea,comment:eo.comment,range:[ei,ey,ey]}}function rs({offset:Y,props:et},en,ei){if("block-scalar-header"!==et[0].type)return ei(et[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:eo}=et[0],ea=eo[0],eu=0,ec="",ed=-1;for(let et=1;et<eo.length;++et){let en=eo[et];if(ec||"-"!==en&&"+"!==en){let ei=Number(en);!eu&&ei?eu=ei:-1===ed&&(ed=Y+et)}else ec=en}-1!==ed&&ei(ed,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${eo}`);let ef=!1,eh="",ep=eo.length;for(let Y=1;Y<et.length;++Y){let eo=et[Y];switch(eo.type){case"space":ef=!0;case"newline":ep+=eo.source.length;break;case"comment":if(en&&!ef){let Y="Comments must be separated from other tokens by white space characters";ei(eo,"MISSING_CHAR",Y)}ep+=eo.source.length,eh=eo.source.substring(1);break;case"error":ei(eo,"UNEXPECTED_TOKEN",eo.message),ep+=eo.source.length;break;default:{let Y=`Unexpected token in block scalar header: ${eo.type}`;ei(eo,"UNEXPECTED_TOKEN",Y);let et=eo.source;et&&"string"==typeof et&&(ep+=et.length)}}}return{mode:ea,indent:eu,chomp:ec,comment:eh,length:ep}}function rl(Y){let et=Y.split(/\n( *)/),en=et[0],ei=en.match(/^( *)/),eo=ei?.[1]?[ei[1],en.slice(ei[1].length)]:["",en],ea=[eo];for(let Y=1;Y<et.length;Y+=2)ea.push([et[Y],et[Y+1]]);return ea}function ru(Y,et,en){let ei,eo;let{offset:ea,type:eu,source:ec,end:ed}=Y,ef=(Y,et,ei)=>en(ea+Y,et,ei);switch(eu){case"scalar":ei=eQ.PLAIN,eo=rc(ec,ef);break;case"single-quoted-scalar":ei=eQ.QUOTE_SINGLE,eo=rh(ec,ef);break;case"double-quoted-scalar":ei=eQ.QUOTE_DOUBLE,eo=rm(ec,ef);break;default:return en(Y,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${eu}`),{value:"",type:null,comment:"",range:[ea,ea+ec.length,ea+ec.length]}}let eh=ea+ec.length,ep=n7(ed,eh,et,en);return{value:eo,type:ei,comment:ep.comment,range:[ea,eh,ep.offset]}}function rc(Y,et){let en="";switch(Y[0]){case" ":en="a tab character";break;case",":en="flow indicator character ,";break;case"%":en="directive indicator character %";break;case"|":case">":en=`block scalar indicator ${Y[0]}`;break;case"@":case"`":en=`reserved character ${Y[0]}`}return en&&et(0,"BAD_SCALAR_START",`Plain value cannot start with ${en}`),rp(Y)}function rh(Y,et){return("'"!==Y[Y.length-1]||1===Y.length)&&et(Y.length,"MISSING_CHAR","Missing closing 'quote"),rp(Y.slice(1,-1)).replace(/''/g,"'")}function rp(Y){let et,en;try{et=RegExp("(.*?)(?<![ ])[ ]*\r?\n","sy"),en=RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n","sy")}catch(Y){et=/(.*?)[ \t]*\r?\n/sy,en=/[ \t]*(.*?)[ \t]*\r?\n/sy}let ei=et.exec(Y);if(!ei)return Y;let eo=ei[1],ea=" ",eu=et.lastIndex;for(en.lastIndex=eu;ei=en.exec(Y);)""===ei[1]?"\n"===ea?eo+=ea:ea="\n":(eo+=ea+ei[1],ea=" "),eu=en.lastIndex;let ec=/[ \t]*(.*)/sy;return ec.lastIndex=eu,ei=ec.exec(Y),eo+ea+(ei?.[1]??"")}function rm(Y,et){let en="";for(let ei=1;ei<Y.length-1;++ei){let eo=Y[ei];if("\r"!==eo||"\n"!==Y[ei+1]){if("\n"===eo){let{fold:et,offset:eo}=rg(Y,ei);en+=et,ei=eo}else if("\\"===eo){let eo=Y[++ei],ea=rv[eo];if(ea)en+=ea;else if("\n"===eo)for(eo=Y[ei+1];" "===eo||" "===eo;)eo=Y[++ei+1];else if("\r"===eo&&"\n"===Y[ei+1])for(eo=Y[++ei+1];" "===eo||" "===eo;)eo=Y[++ei+1];else if("x"===eo||"u"===eo||"U"===eo){let ea={x:2,u:4,U:8}[eo];en+=ry(Y,ei+1,ea,et),ei+=ea}else{let eo=Y.substr(ei-1,2);et(ei-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${eo}`),en+=eo}}else if(" "===eo||" "===eo){let et=ei,ea=Y[ei+1];for(;" "===ea||" "===ea;)ea=Y[++ei+1];"\n"===ea||"\r"===ea&&"\n"===Y[ei+2]||(en+=ei>et?Y.slice(et,ei+1):eo)}else en+=eo}}return('"'!==Y[Y.length-1]||1===Y.length)&&et(Y.length,"MISSING_CHAR",'Missing closing "quote'),en}function rg(Y,et){let en="",ei=Y[et+1];for(;(" "===ei||" "===ei||"\n"===ei||"\r"===ei)&&("\r"!==ei||"\n"===Y[et+2]);)"\n"===ei&&(en+="\n"),et+=1,ei=Y[et+1];return en||(en=" "),{fold:en,offset:et}}let rv={0:"\x00",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:" ",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function ry(Y,et,en,ei){let eo=Y.substr(et,en),ea=eo.length===en&&/^[0-9a-fA-F]+$/.test(eo),eu=ea?parseInt(eo,16):NaN;if(isNaN(eu)){let eo=Y.substr(et-2,en+2);return ei(et-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${eo}`),eo}return String.fromCodePoint(eu)}function rb(Y,et,en,ei){let eo;let{value:ea,type:eu,comment:ec,range:ed}="block-scalar"===et.type?ra(et,Y.options.strict,ei):ru(et,Y.options.strict,ei),ef=en?Y.directives.tagName(en.source,Y=>ei(en,"TAG_RESOLVE_FAILED",Y)):null,ep=en&&ef?rk(Y.schema,ea,ef,en,ei):"scalar"===et.type?r_(Y,ea,et,ei):Y.schema[eh];try{let eu=ep.resolve(ea,Y=>ei(en??et,"TAG_RESOLVE_FAILED",Y),Y.options);eo=ew(eu)?eu:new eQ(eu)}catch(eu){let Y=eu instanceof Error?eu.message:String(eu);ei(en??et,"TAG_RESOLVE_FAILED",Y),eo=new eQ(ea)}return eo.range=ed,eo.source=ea,eu&&(eo.type=eu),ef&&(eo.tag=ef),ep.format&&(eo.format=ep.format),ec&&(eo.comment=ec),eo}function rk(Y,et,en,ei,eo){if("!"===en)return Y[eh];let ea=[];for(let et of Y.tags)if(!et.collection&&et.tag===en){if(!et.default||!et.test)return et;ea.push(et)}for(let Y of ea)if(Y.test?.test(et))return Y;let eu=Y.knownTags[en];return eu&&!eu.collection?(Y.tags.push(Object.assign({},eu,{default:!1,test:void 0})),eu):(eo(ei,"TAG_RESOLVE_FAILED",`Unresolved tag: ${en}`,"tag:yaml.org,2002:str"!==en),Y[eh])}function r_({directives:Y,schema:et},en,ei,eo){let ea=et.tags.find(Y=>Y.default&&Y.test?.test(en))||et[eh];if(et.compat){let eu=et.compat.find(Y=>Y.default&&Y.test?.test(en))??et[eh];if(ea.tag!==eu.tag){let et=Y.tagString(ea.tag),en=Y.tagString(eu.tag),ec=`Value may be parsed as either ${et} or ${en}`;eo(ei,"TAG_RESOLVE_FAILED",ec,!0)}}return ea}function rE(Y,et,en){if(et){null===en&&(en=et.length);for(let ei=en-1;ei>=0;--ei){let en=et[ei];switch(en.type){case"space":case"comment":case"newline":Y-=en.source.length;continue}for(en=et[++ei];en?.type==="space";)Y+=en.source.length,en=et[++ei];break}}return Y}let rC={composeNode:rT,composeEmptyNode:rS};function rT(Y,et,en,ei){let eo;let{spaceBefore:ea,comment:eu,anchor:ec,tag:ed}=en,ef=!0;switch(et.type){case"alias":eo=rA(Y,et,ei),(ec||ed)&&ei(et,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":eo=rb(Y,et,ed,ei),ec&&(eo.anchor=ec.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":eo=ro(rC,Y,et,ed,ei),ec&&(eo.anchor=ec.source.substring(1));break;default:{let ea="error"===et.type?et.message:`Unsupported token (type: ${et.type})`;ei(et,"UNEXPECTED_TOKEN",ea),eo=rS(Y,et.offset,void 0,null,en,ei),ef=!1}}return ec&&""===eo.anchor&&ei(ec,"BAD_ALIAS","Anchor cannot be an empty string"),ea&&(eo.spaceBefore=!0),eu&&("scalar"===et.type&&""===et.source?eo.comment=eu:eo.commentBefore=eu),Y.options.keepSourceTokens&&ef&&(eo.srcToken=et),eo}function rS(Y,et,en,ei,{spaceBefore:eo,comment:ea,anchor:eu,tag:ec,end:ed},ef){let eh={type:"scalar",offset:rE(et,en,ei),indent:-1,source:""},ep=rb(Y,eh,ec,ef);return eu&&(ep.anchor=eu.source.substring(1),""===ep.anchor&&ef(eu,"BAD_ALIAS","Anchor cannot be an empty string")),eo&&(ep.spaceBefore=!0),ea&&(ep.comment=ea,ep.range[2]=ed),ep}function rA({options:Y},{offset:et,source:en,end:ei},eo){let ea=new eK(en.substring(1));""===ea.source&&eo(et,"BAD_ALIAS","Alias cannot be an empty string"),ea.source.endsWith(":")&&eo(et+en.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let eu=et+en.length,ec=n7(ei,eu,Y.strict,eo);return ea.range=[et,eu,ec.offset],ec.comment&&(ea.comment=ec.comment),ea}function rM(Y,et,{offset:en,start:ei,value:eo,end:ea},eu){let ec=Object.assign({_directives:et},Y),ed=new nZ(void 0,ec),ef={atRoot:!0,directives:ed.directives,options:ed.options,schema:ed.schema},eh=nJ(ei,{indicator:"doc-start",next:eo??ea?.[0],offset:en,onError:eu,startOnNewline:!0});eh.found&&(ed.directives.docStart=!0,eo&&("block-map"===eo.type||"block-seq"===eo.type)&&!eh.hasNewline&&eu(eh.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),ed.contents=eo?rT(ef,eo,eh,eu):rS(ef,eh.end,ei,null,eh,eu);let ep=ed.contents.range[2],em=n7(ea,ep,!1,eu);return em.comment&&(ed.comment=em.comment),ed.range=[en,ep,em.offset],ed}function rP(Y){if("number"==typeof Y)return[Y,Y+1];if(Array.isArray(Y))return 2===Y.length?Y:[Y[0],Y[1]];let{offset:et,source:en}=Y;return[et,et+("string"==typeof en?en.length:1)]}function rj(Y){let et="",en=!1,ei=!1;for(let eo=0;eo<Y.length;++eo){let ea=Y[eo];switch(ea[0]){case"#":et+=(""===et?"":ei?"\n\n":"\n")+(ea.substring(1)||" "),en=!0,ei=!1;break;case"%":Y[eo+1]?.[0]!=="#"&&(eo+=1),en=!1;break;default:en||(ei=!0),en=!1}}return{comment:et,afterEmptyLine:ei}}class rO{constructor(Y={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(Y,et,en,ei)=>{let eo=rP(Y);ei?this.warnings.push(new nQ(eo,et,en)):this.errors.push(new nY(eo,et,en))},this.directives=new eB({version:Y.version||"1.2"}),this.options=Y}decorate(Y,et){let{comment:en,afterEmptyLine:ei}=rj(this.prelude);if(en){let eo=Y.contents;if(et)Y.comment=Y.comment?`${Y.comment}
${en}`:en;else if(ei||Y.directives.docStart||!eo)Y.commentBefore=en;else if(eE(eo)&&!eo.flow&&eo.items.length>0){let Y=eo.items[0];ek(Y)&&(Y=Y.key);let et=Y.commentBefore;Y.commentBefore=et?`${en}
${et}`:en}else{let Y=eo.commentBefore;eo.commentBefore=Y?`${en}
${Y}`:en}}et?(Array.prototype.push.apply(Y.errors,this.errors),Array.prototype.push.apply(Y.warnings,this.warnings)):(Y.errors=this.errors,Y.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:rj(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(Y,et=!1,en=-1){for(let et of Y)yield*this.next(et);yield*this.end(et,en)}*next(Y){switch(Y.type){case"directive":this.directives.add(Y.source,(et,en,ei)=>{let eo=rP(Y);eo[0]+=et,this.onError(eo,"BAD_DIRECTIVE",en,ei)}),this.prelude.push(Y.source),this.atDirectives=!0;break;case"document":{let et=rM(this.options,this.directives,Y,this.onError);this.atDirectives&&!et.directives.docStart&&this.onError(Y,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(et,!1),this.doc&&(yield this.doc),this.doc=et,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(Y.source);break;case"error":{let et=Y.source?`${Y.message}: ${JSON.stringify(Y.source)}`:Y.message,en=new nY(rP(Y),"UNEXPECTED_TOKEN",et);this.atDirectives||!this.doc?this.errors.push(en):this.doc.errors.push(en);break}case"doc-end":{if(!this.doc){let et="Unexpected doc-end without preceding document";this.errors.push(new nY(rP(Y),"UNEXPECTED_TOKEN",et));break}this.doc.directives.docEnd=!0;let et=n7(Y.end,Y.offset+Y.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),et.comment){let Y=this.doc.comment;this.doc.comment=Y?`${Y}
${et.comment}`:et.comment}this.doc.range[2]=et.offset;break}default:this.errors.push(new nY(rP(Y),"UNEXPECTED_TOKEN",`Unsupported token ${Y.type}`))}}*end(Y=!1,et=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(Y){let Y=Object.assign({_directives:this.directives},this.options),en=new nZ(void 0,Y);this.atDirectives&&this.onError(et,"MISSING_CHAR","Missing directives-end indicator line"),en.range=[0,et,et],this.decorate(en,!1),yield en}}}function rI(Y,et=!0,en){if(Y){let ei=(Y,et,ei)=>{let eo="number"==typeof Y?Y:Array.isArray(Y)?Y[0]:Y.offset;if(en)en(eo,et,ei);else throw new nY([eo,eo+1],et,ei)};switch(Y.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return ru(Y,et,ei);case"block-scalar":return ra(Y,et,ei)}}return null}function rN(Y,et){let{implicitKey:en=!1,indent:ei,inFlow:eo=!1,offset:ea=-1,type:eu="PLAIN"}=et,ec=tk({type:eu,value:Y},{implicitKey:en,indent:ei>0?" ".repeat(ei):"",inFlow:eo,options:{blockQuote:!0,lineWidth:-1}}),ed=et.end??[{type:"newline",offset:-1,indent:ei,source:"\n"}];switch(ec[0]){case"|":case">":{let Y=ec.indexOf("\n"),et=ec.substring(0,Y),en=ec.substring(Y+1)+"\n",eo=[{type:"block-scalar-header",offset:ea,indent:ei,source:et}];return rD(eo,ed)||eo.push({type:"newline",offset:-1,indent:ei,source:"\n"}),{type:"block-scalar",offset:ea,indent:ei,props:eo,source:en}}case'"':return{type:"double-quoted-scalar",offset:ea,indent:ei,source:ec,end:ed};case"'":return{type:"single-quoted-scalar",offset:ea,indent:ei,source:ec,end:ed};default:return{type:"scalar",offset:ea,indent:ei,source:ec,end:ed}}}function rL(Y,et,en={}){let{afterKey:ei=!1,implicitKey:eo=!1,inFlow:ea=!1,type:eu}=en,ec="indent"in Y?Y.indent:null;if(ei&&"number"==typeof ec&&(ec+=2),!eu)switch(Y.type){case"single-quoted-scalar":eu="QUOTE_SINGLE";break;case"double-quoted-scalar":eu="QUOTE_DOUBLE";break;case"block-scalar":{let et=Y.props[0];if("block-scalar-header"!==et.type)throw Error("Invalid block scalar header");eu=">"===et.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:eu="PLAIN"}let ed=tk({type:eu,value:et},{implicitKey:eo||null===ec,indent:null!==ec&&ec>0?" ".repeat(ec):"",inFlow:ea,options:{blockQuote:!0,lineWidth:-1}});switch(ed[0]){case"|":case">":rR(Y,ed);break;case'"':rF(Y,ed,"double-quoted-scalar");break;case"'":rF(Y,ed,"single-quoted-scalar");break;default:rF(Y,ed,"scalar")}}function rR(Y,et){let en=et.indexOf("\n"),ei=et.substring(0,en),eo=et.substring(en+1)+"\n";if("block-scalar"===Y.type){let et=Y.props[0];if("block-scalar-header"!==et.type)throw Error("Invalid block scalar header");et.source=ei,Y.source=eo}else{let{offset:et}=Y,en="indent"in Y?Y.indent:-1,ea=[{type:"block-scalar-header",offset:et,indent:en,source:ei}];for(let et of(rD(ea,"end"in Y?Y.end:void 0)||ea.push({type:"newline",offset:-1,indent:en,source:"\n"}),Object.keys(Y)))"type"!==et&&"offset"!==et&&delete Y[et];Object.assign(Y,{type:"block-scalar",indent:en,props:ea,source:eo})}}function rD(Y,et){if(et)for(let en of et)switch(en.type){case"space":case"comment":Y.push(en);break;case"newline":return Y.push(en),!0}return!1}function rF(Y,et,en){switch(Y.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":Y.type=en,Y.source=et;break;case"block-scalar":{let ei=Y.props.slice(1),eo=et.length;for(let et of("block-scalar-header"===Y.props[0].type&&(eo-=Y.props[0].source.length),ei))et.offset+=eo;delete Y.props,Object.assign(Y,{type:en,source:et,end:ei});break}case"block-map":case"block-seq":{let ei=Y.offset+et.length,eo={type:"newline",offset:ei,indent:Y.indent,source:"\n"};delete Y.items,Object.assign(Y,{type:en,source:et,end:[eo]});break}default:{let ei="indent"in Y?Y.indent:-1,eo="end"in Y&&Array.isArray(Y.end)?Y.end.filter(Y=>"space"===Y.type||"comment"===Y.type||"newline"===Y.type):[];for(let et of Object.keys(Y))"type"!==et&&"offset"!==et&&delete Y[et];Object.assign(Y,{type:en,indent:ei,source:et,end:eo})}}}let rB=Y=>"type"in Y?rz(Y):rU(Y);function rz(Y){switch(Y.type){case"block-scalar":{let et="";for(let en of Y.props)et+=rz(en);return et+Y.source}case"block-map":case"block-seq":{let et="";for(let en of Y.items)et+=rU(en);return et}case"flow-collection":{let et=Y.start.source;for(let en of Y.items)et+=rU(en);for(let en of Y.end)et+=en.source;return et}case"document":{let et=rU(Y);if(Y.end)for(let en of Y.end)et+=en.source;return et}default:{let et=Y.source;if("end"in Y&&Y.end)for(let en of Y.end)et+=en.source;return et}}}function rU({start:Y,key:et,sep:en,value:ei}){let eo="";for(let et of Y)eo+=et.source;if(et&&(eo+=rz(et)),en)for(let Y of en)eo+=Y.source;return ei&&(eo+=rz(ei)),eo}let rH=Symbol("break visit"),rG=Symbol("skip children"),rV=Symbol("remove item");function rW(Y,et){"type"in Y&&"document"===Y.type&&(Y={start:Y.start,value:Y.value}),rq(Object.freeze([]),Y,et)}function rq(Y,et,en){let ei=en(et,Y);if("symbol"==typeof ei)return ei;for(let eo of["key","value"]){let ea=et[eo];if(ea&&"items"in ea){for(let et=0;et<ea.items.length;++et){let ei=rq(Object.freeze(Y.concat([[eo,et]])),ea.items[et],en);if("number"==typeof ei)et=ei-1;else{if(ei===rH)return rH;ei===rV&&(ea.items.splice(et,1),et-=1)}}"function"==typeof ei&&"key"===eo&&(ei=ei(et,Y))}}return"function"==typeof ei?ei(et,Y):ei}rW.BREAK=rH,rW.SKIP=rG,rW.REMOVE=rV,rW.itemAtPath=(Y,et)=>{let en=Y;for(let[Y,ei]of et){let et=en?.[Y];if(!et||!("items"in et))return;en=et.items[ei]}return en},rW.parentCollection=(Y,et)=>{let en=rW.itemAtPath(Y,et.slice(0,-1)),ei=et[et.length-1][0],eo=en?.[ei];if(eo&&"items"in eo)return eo;throw Error("Parent collection not found")};let rZ="\uFEFF",rK="\x02",r$="\x18",rY="\x1f",rQ=Y=>!!Y&&"items"in Y,rX=Y=>!!Y&&("scalar"===Y.type||"single-quoted-scalar"===Y.type||"double-quoted-scalar"===Y.type||"block-scalar"===Y.type);function rJ(Y){switch(Y){case rZ:return"<BOM>";case rK:return"<DOC>";case r$:return"<FLOW_END>";case rY:return"<SCALAR>";default:return JSON.stringify(Y)}}function r0(Y){switch(Y){case rZ:return"byte-order-mark";case rK:return"doc-mode";case r$:return"flow-error-end";case rY:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(Y[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function r1(Y){switch(Y){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}let r2="0123456789ABCDEFabcdef".split(""),r9="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),r5=",[]{}".split(""),r4=" ,[]{}\n\r ".split(""),r3=Y=>!Y||r4.includes(Y);class r6{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(Y,et=!1){Y&&(this.buffer=this.buffer?this.buffer+Y:Y,this.lineEndPos=null),this.atEnd=!et;let en=this.next??"stream";for(;en&&(et||this.hasChars(1));)en=yield*this.parseNext(en)}atLineEnd(){let Y=this.pos,et=this.buffer[Y];for(;" "===et||" "===et;)et=this.buffer[++Y];return!et||"#"===et||"\n"===et||"\r"===et&&"\n"===this.buffer[Y+1]}charAt(Y){return this.buffer[this.pos+Y]}continueScalar(Y){let et=this.buffer[Y];if(this.indentNext>0){let en=0;for(;" "===et;)et=this.buffer[++en+Y];if("\r"===et){let et=this.buffer[en+Y+1];if("\n"===et||!et&&!this.atEnd)return Y+en+1}return"\n"!==et&&!(en>=this.indentNext)&&(et||this.atEnd)?-1:Y+en}if("-"===et||"."===et){let et=this.buffer.substr(Y,3);if(("---"===et||"..."===et)&&r1(this.buffer[Y+3]))return -1}return Y}getLine(){let Y=this.lineEndPos;return(("number"!=typeof Y||-1!==Y&&Y<this.pos)&&(Y=this.buffer.indexOf("\n",this.pos),this.lineEndPos=Y),-1===Y)?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[Y-1]&&(Y-=1),this.buffer.substring(this.pos,Y))}hasChars(Y){return this.pos+Y<=this.buffer.length}setNext(Y){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=Y,null}peek(Y){return this.buffer.substr(this.pos,Y)}*parseNext(Y){switch(Y){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let Y=this.getLine();if(null===Y)return this.setNext("stream");if(Y[0]===rZ&&(yield*this.pushCount(1),Y=Y.substring(1)),"%"===Y[0]){let et=Y.length,en=Y.indexOf("#");if(-1!==en){let ei=Y[en-1];(" "===ei||" "===ei)&&(et=en-1)}for(;;){let en=Y[et-1];if(" "===en||" "===en)et-=1;else break}let ei=(yield*this.pushCount(et))+(yield*this.pushSpaces(!0));return yield*this.pushCount(Y.length-ei),this.pushNewline(),"stream"}if(this.atLineEnd()){let et=yield*this.pushSpaces(!0);return yield*this.pushCount(Y.length-et),yield*this.pushNewline(),"stream"}return yield rK,yield*this.parseLineStart()}*parseLineStart(){let Y=this.charAt(0);if(!Y&&!this.atEnd)return this.setNext("line-start");if("-"===Y||"."===Y){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let Y=this.peek(3);if("---"===Y&&r1(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if("..."===Y&&r1(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!r1(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[Y,et]=this.peek(2);if(!et&&!this.atEnd)return this.setNext("block-start");if(("-"===Y||"?"===Y||":"===Y)&&r1(et)){let Y=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=Y,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let Y=this.getLine();if(null===Y)return this.setNext("doc");let et=yield*this.pushIndicators();switch(Y[et]){case"#":yield*this.pushCount(Y.length-et);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(r3),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return et+=(yield*this.parseBlockScalarHeader())+(yield*this.pushSpaces(!0)),yield*this.pushCount(Y.length-et),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let Y,et;let en=-1;do(Y=yield*this.pushNewline())>0?(et=yield*this.pushSpaces(!1),this.indentValue=en=et):et=0,et+=yield*this.pushSpaces(!0);while(Y+et>0);let ei=this.getLine();if(null===ei)return this.setNext("flow");if(-1!==en&&en<this.indentNext&&"#"!==ei[0]||0===en&&(ei.startsWith("---")||ei.startsWith("..."))&&r1(ei[3])){let Y=en===this.indentNext-1&&1===this.flowLevel&&("]"===ei[0]||"}"===ei[0]);if(!Y)return this.flowLevel=0,yield r$,yield*this.parseLineStart()}let eo=0;for(;","===ei[eo];)eo+=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(ei[eo+=yield*this.pushIndicators()]){case void 0:return"flow";case"#":return yield*this.pushCount(ei.length-eo),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(r3),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let Y=this.charAt(1);if(this.flowKey||r1(Y)||","===Y)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let Y=this.charAt(0),et=this.buffer.indexOf(Y,this.pos+1);if("'"===Y)for(;-1!==et&&"'"===this.buffer[et+1];)et=this.buffer.indexOf("'",et+2);else for(;-1!==et;){let Y=0;for(;"\\"===this.buffer[et-1-Y];)Y+=1;if(Y%2==0)break;et=this.buffer.indexOf('"',et+1)}let en=this.buffer.substring(0,et),ei=en.indexOf("\n",this.pos);if(-1!==ei){for(;-1!==ei;){let Y=this.continueScalar(ei+1);if(-1===Y)break;ei=en.indexOf("\n",Y)}-1!==ei&&(et=ei-("\r"===en[ei-1]?2:1))}if(-1===et){if(!this.atEnd)return this.setNext("quoted-scalar");et=this.buffer.length}return yield*this.pushToIndex(et+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let Y=this.pos;for(;;){let et=this.buffer[++Y];if("+"===et)this.blockScalarKeep=!0;else if(et>"0"&&et<="9")this.blockScalarIndent=Number(et)-1;else if("-"!==et)break}return yield*this.pushUntil(Y=>r1(Y)||"#"===Y)}*parseBlockScalar(){let Y,et=this.pos-1,en=0;n:for(let ei=this.pos;Y=this.buffer[ei];++ei)switch(Y){case" ":en+=1;break;case"\n":et=ei,en=0;break;case"\r":{let Y=this.buffer[ei+1];if(!Y&&!this.atEnd)return this.setNext("block-scalar");if("\n"===Y)break}default:break n}if(!Y&&!this.atEnd)return this.setNext("block-scalar");if(en>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=en:this.indentNext+=this.blockScalarIndent;do{let Y=this.continueScalar(et+1);if(-1===Y)break;et=this.buffer.indexOf("\n",Y)}while(-1!==et);if(-1===et){if(!this.atEnd)return this.setNext("block-scalar");et=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let Y=et-1,ei=this.buffer[Y];"\r"===ei&&(ei=this.buffer[--Y]);let eo=Y;for(;" "===ei||" "===ei;)ei=this.buffer[--Y];if("\n"===ei&&Y>=this.pos&&Y+1+en>eo)et=Y;else break}return yield rY,yield*this.pushToIndex(et+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let Y;let et=this.flowLevel>0,en=this.pos-1,ei=this.pos-1;for(;Y=this.buffer[++ei];)if(":"===Y){let Y=this.buffer[ei+1];if(r1(Y)||et&&","===Y)break;en=ei}else if(r1(Y)){let eo=this.buffer[ei+1];if("\r"===Y&&("\n"===eo?(ei+=1,Y="\n",eo=this.buffer[ei+1]):en=ei),"#"===eo||et&&r5.includes(eo))break;if("\n"===Y){let Y=this.continueScalar(ei+1);if(-1===Y)break;ei=Math.max(ei,Y-2)}}else{if(et&&r5.includes(Y))break;en=ei}return Y||this.atEnd?(yield rY,yield*this.pushToIndex(en+1,!0),et?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(Y){return Y>0?(yield this.buffer.substr(this.pos,Y),this.pos+=Y,Y):0}*pushToIndex(Y,et){let en=this.buffer.slice(this.pos,Y);return en?(yield en,this.pos+=en.length,en.length):(et&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(r3))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let Y=this.flowLevel>0,et=this.charAt(1);if(r1(et)||Y&&r5.includes(et))return Y?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let Y=this.pos+2,et=this.buffer[Y];for(;!r1(et)&&">"!==et;)et=this.buffer[++Y];return yield*this.pushToIndex(">"===et?Y+1:Y,!1)}{let Y=this.pos+1,et=this.buffer[Y];for(;et;)if(r9.includes(et))et=this.buffer[++Y];else if("%"===et&&r2.includes(this.buffer[Y+1])&&r2.includes(this.buffer[Y+2]))et=this.buffer[Y+=3];else break;return yield*this.pushToIndex(Y,!1)}}*pushNewline(){let Y=this.buffer[this.pos];return"\n"===Y?yield*this.pushCount(1):"\r"===Y&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(Y){let et,en=this.pos-1;do et=this.buffer[++en];while(" "===et||Y&&" "===et);let ei=en-this.pos;return ei>0&&(yield this.buffer.substr(this.pos,ei),this.pos=en),ei}*pushUntil(Y){let et=this.pos,en=this.buffer[et];for(;!Y(en);)en=this.buffer[++et];return yield*this.pushToIndex(et,!1)}}class r7{constructor(){this.lineStarts=[],this.addNewLine=Y=>this.lineStarts.push(Y),this.linePos=Y=>{let et=0,en=this.lineStarts.length;for(;et<en;){let ei=et+en>>1;this.lineStarts[ei]<Y?et=ei+1:en=ei}if(this.lineStarts[et]===Y)return{line:et+1,col:1};if(0===et)return{line:0,col:Y};let ei=this.lineStarts[et-1];return{line:et,col:Y-ei+1}}}}function r8(Y,et){for(let en=0;en<Y.length;++en)if(Y[en].type===et)return!0;return!1}function ir(Y){for(let et=0;et<Y.length;++et)switch(Y[et].type){case"space":case"comment":case"newline":break;default:return et}return -1}function ii(Y){switch(Y?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function io(Y){switch(Y.type){case"document":return Y.start;case"block-map":{let et=Y.items[Y.items.length-1];return et.sep??et.start}case"block-seq":return Y.items[Y.items.length-1].start;default:return[]}}function ia(Y){if(0===Y.length)return[];let et=Y.length;n:for(;--et>=0;)switch(Y[et].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break n}for(;Y[++et]?.type==="space";);return Y.splice(et,Y.length)}function il(Y){if("flow-seq-start"===Y.start.type)for(let et of Y.items)!et.sep||et.value||r8(et.start,"explicit-key-ind")||r8(et.sep,"map-value-ind")||(et.key&&(et.value=et.key),delete et.key,ii(et.value)?et.value.end?Array.prototype.push.apply(et.value.end,et.sep):et.value.end=et.sep:Array.prototype.push.apply(et.start,et.sep),delete et.sep)}class iu{constructor(Y){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new r6,this.onNewLine=Y}*parse(Y,et=!1){for(let en of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(Y,et)))yield*this.next(en);et||(yield*this.end())}*next(Y){if(this.source=Y,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=Y.length;return}let et=r0(Y);if(et){if("scalar"===et)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=et,yield*this.step(),et){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+Y.length);break;case"space":this.atNewLine&&" "===Y[0]&&(this.indent+=Y.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=Y.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=Y.length}}else{let et=`Not a YAML token: ${Y}`;yield*this.pop({type:"error",offset:this.offset,message:et,source:Y}),this.offset+=Y.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){let Y={type:this.type,offset:this.offset,indent:this.indent,source:this.source};return Y}*step(){let Y=this.peek(1);if("doc-end"===this.type&&(!Y||"doc-end"!==Y.type)){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!Y)return yield*this.stream();switch(Y.type){case"document":return yield*this.document(Y);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(Y);case"block-scalar":return yield*this.blockScalar(Y);case"block-map":return yield*this.blockMap(Y);case"block-seq":return yield*this.blockSequence(Y);case"flow-collection":return yield*this.flowCollection(Y);case"doc-end":return yield*this.documentEnd(Y)}yield*this.pop()}peek(Y){return this.stack[this.stack.length-Y]}*pop(Y){let et=Y??this.stack.pop();if(et){if(0===this.stack.length)yield et;else{let Y=this.peek(1);switch("block-scalar"===et.type?et.indent="indent"in Y?Y.indent:0:"flow-collection"===et.type&&"document"===Y.type&&(et.indent=0),"flow-collection"===et.type&&il(et),Y.type){case"document":Y.value=et;break;case"block-scalar":Y.props.push(et);break;case"block-map":{let en=Y.items[Y.items.length-1];if(en.value){Y.items.push({start:[],key:et,sep:[]}),this.onKeyLine=!0;return}if(en.sep)en.value=et;else{Object.assign(en,{key:et,sep:[]}),this.onKeyLine=!r8(en.start,"explicit-key-ind");return}break}case"block-seq":{let en=Y.items[Y.items.length-1];en.value?Y.items.push({start:[],value:et}):en.value=et;break}case"flow-collection":{let en=Y.items[Y.items.length-1];!en||en.value?Y.items.push({start:[],key:et,sep:[]}):en.sep?en.value=et:Object.assign(en,{key:et,sep:[]});return}default:yield*this.pop(),yield*this.pop(et)}if(("document"===Y.type||"block-map"===Y.type||"block-seq"===Y.type)&&("block-map"===et.type||"block-seq"===et.type)){let en=et.items[et.items.length-1];en&&!en.sep&&!en.value&&en.start.length>0&&-1===ir(en.start)&&(0===et.indent||en.start.every(Y=>"comment"!==Y.type||Y.indent<et.indent))&&("document"===Y.type?Y.end=en.start:Y.items.push({start:en.start}),et.items.splice(-1,1))}}}else{let Y="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:Y}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let Y={type:"document",offset:this.offset,start:[]};"doc-start"===this.type&&Y.start.push(this.sourceToken),this.stack.push(Y);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(Y){if(Y.value)return yield*this.lineEnd(Y);switch(this.type){case"doc-start":-1!==ir(Y.start)?(yield*this.pop(),yield*this.step()):Y.start.push(this.sourceToken);return;case"anchor":case"tag":case"space":case"comment":case"newline":Y.start.push(this.sourceToken);return}let et=this.startBlockValue(Y);et?this.stack.push(et):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(Y){if("map-value-ind"===this.type){let et;let en=io(this.peek(2)),ei=ia(en);Y.end?((et=Y.end).push(this.sourceToken),delete Y.end):et=[this.sourceToken];let eo={type:"block-map",offset:Y.offset,indent:Y.indent,items:[{start:ei,key:Y,sep:et}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=eo}else yield*this.lineEnd(Y)}*blockScalar(Y){switch(this.type){case"space":case"comment":case"newline":Y.props.push(this.sourceToken);return;case"scalar":if(Y.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let Y=this.source.indexOf("\n")+1;for(;0!==Y;)this.onNewLine(this.offset+Y),Y=this.source.indexOf("\n",Y)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(Y){let et=Y.items[Y.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,et.value){let en="end"in et.value?et.value.end:void 0,ei=Array.isArray(en)?en[en.length-1]:void 0;ei?.type==="comment"?en?.push(this.sourceToken):Y.items.push({start:[this.sourceToken]})}else et.sep?et.sep.push(this.sourceToken):et.start.push(this.sourceToken);return;case"space":case"comment":if(et.value)Y.items.push({start:[this.sourceToken]});else if(et.sep)et.sep.push(this.sourceToken);else{if(this.atIndentedComment(et.start,Y.indent)){let en=Y.items[Y.items.length-2],ei=en?.value?.end;if(Array.isArray(ei)){Array.prototype.push.apply(ei,et.start),ei.push(this.sourceToken),Y.items.pop();return}}et.start.push(this.sourceToken)}return}if(this.indent>=Y.indent){let en=!this.onKeyLine&&this.indent===Y.indent&&et.sep,ei=[];if(en&&et.sep&&!et.value){let en=[];for(let ei=0;ei<et.sep.length;++ei){let eo=et.sep[ei];switch(eo.type){case"newline":en.push(ei);break;case"space":break;case"comment":eo.indent>Y.indent&&(en.length=0);break;default:en.length=0}}en.length>=2&&(ei=et.sep.splice(en[1]))}switch(this.type){case"anchor":case"tag":en||et.value?(ei.push(this.sourceToken),Y.items.push({start:ei}),this.onKeyLine=!0):et.sep?et.sep.push(this.sourceToken):et.start.push(this.sourceToken);return;case"explicit-key-ind":et.sep||r8(et.start,"explicit-key-ind")?en||et.value?(ei.push(this.sourceToken),Y.items.push({start:ei})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):et.start.push(this.sourceToken),this.onKeyLine=!0;return;case"map-value-ind":if(r8(et.start,"explicit-key-ind")){if(et.sep){if(et.value)Y.items.push({start:[],key:null,sep:[this.sourceToken]});else if(r8(et.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:ei,key:null,sep:[this.sourceToken]}]});else if(ii(et.key)&&!r8(et.sep,"newline")){let Y=ia(et.start),en=et.key,ei=et.sep;ei.push(this.sourceToken),delete et.key,delete et.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:Y,key:en,sep:ei}]})}else ei.length>0?et.sep=et.sep.concat(ei,this.sourceToken):et.sep.push(this.sourceToken)}else if(r8(et.start,"newline"))Object.assign(et,{key:null,sep:[this.sourceToken]});else{let Y=ia(et.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:Y,key:null,sep:[this.sourceToken]}]})}}else et.sep?et.value||en?Y.items.push({start:ei,key:null,sep:[this.sourceToken]}):r8(et.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):et.sep.push(this.sourceToken):Object.assign(et,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let eo=this.flowScalar(this.type);en||et.value?(Y.items.push({start:ei,key:eo,sep:[]}),this.onKeyLine=!0):et.sep?this.stack.push(eo):(Object.assign(et,{key:eo,sep:[]}),this.onKeyLine=!0);return}default:{let eo=this.startBlockValue(Y);if(eo){en&&"block-seq"!==eo.type&&r8(et.start,"explicit-key-ind")&&Y.items.push({start:ei}),this.stack.push(eo);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(Y){let et=Y.items[Y.items.length-1];switch(this.type){case"newline":if(et.value){let en="end"in et.value?et.value.end:void 0,ei=Array.isArray(en)?en[en.length-1]:void 0;ei?.type==="comment"?en?.push(this.sourceToken):Y.items.push({start:[this.sourceToken]})}else et.start.push(this.sourceToken);return;case"space":case"comment":if(et.value)Y.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(et.start,Y.indent)){let en=Y.items[Y.items.length-2],ei=en?.value?.end;if(Array.isArray(ei)){Array.prototype.push.apply(ei,et.start),ei.push(this.sourceToken),Y.items.pop();return}}et.start.push(this.sourceToken)}return;case"anchor":case"tag":if(et.value||this.indent<=Y.indent)break;et.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==Y.indent)break;et.value||r8(et.start,"seq-item-ind")?Y.items.push({start:[this.sourceToken]}):et.start.push(this.sourceToken);return}if(this.indent>Y.indent){let et=this.startBlockValue(Y);if(et){this.stack.push(et);return}}yield*this.pop(),yield*this.step()}*flowCollection(Y){let et=Y.items[Y.items.length-1];if("flow-error-end"===this.type){let Y;do yield*this.pop(),Y=this.peek(1);while(Y&&"flow-collection"===Y.type)}else if(0===Y.end.length){switch(this.type){case"comma":case"explicit-key-ind":!et||et.sep?Y.items.push({start:[this.sourceToken]}):et.start.push(this.sourceToken);return;case"map-value-ind":!et||et.value?Y.items.push({start:[],key:null,sep:[this.sourceToken]}):et.sep?et.sep.push(this.sourceToken):Object.assign(et,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!et||et.value?Y.items.push({start:[this.sourceToken]}):et.sep?et.sep.push(this.sourceToken):et.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let en=this.flowScalar(this.type);!et||et.value?Y.items.push({start:[],key:en,sep:[]}):et.sep?this.stack.push(en):Object.assign(et,{key:en,sep:[]});return}case"flow-map-end":case"flow-seq-end":Y.end.push(this.sourceToken);return}let en=this.startBlockValue(Y);en?this.stack.push(en):(yield*this.pop(),yield*this.step())}else{let et=this.peek(2);if("block-map"!==et.type||("map-value-ind"!==this.type||et.indent!==Y.indent)&&("newline"!==this.type||et.items[et.items.length-1].sep)){if("map-value-ind"===this.type&&"flow-collection"!==et.type){let en=io(et),ei=ia(en);il(Y);let eo=Y.end.splice(1,Y.end.length);eo.push(this.sourceToken);let ea={type:"block-map",offset:Y.offset,indent:Y.indent,items:[{start:ei,key:Y,sep:eo}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=ea}else yield*this.lineEnd(Y)}else yield*this.pop(),yield*this.step()}}flowScalar(Y){if(this.onNewLine){let Y=this.source.indexOf("\n")+1;for(;0!==Y;)this.onNewLine(this.offset+Y),Y=this.source.indexOf("\n",Y)+1}return{type:Y,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(Y){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let et=io(Y),en=ia(et);return en.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:en}]}}case"map-value-ind":{this.onKeyLine=!0;let et=io(Y),en=ia(et);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:en,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(Y,et){return"comment"===this.type&&!(this.indent<=et)&&Y.every(Y=>"newline"===Y.type||"space"===Y.type)}*documentEnd(Y){"doc-mode"!==this.type&&(Y.end?Y.end.push(this.sourceToken):Y.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(Y){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:Y.end?Y.end.push(this.sourceToken):Y.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function ih(Y){let et=!1!==Y.prettyErrors,en=Y.lineCounter||et&&new r7||null;return{lineCounter:en,prettyErrors:et}}function im(Y,et={}){let{lineCounter:en,prettyErrors:ei}=ih(et),eo=new iu(en?.addNewLine),ea=new rO(et),eu=Array.from(ea.compose(eo.parse(Y)));if(ei&&en)for(let et of eu)et.errors.forEach(nX(Y,en)),et.warnings.forEach(nX(Y,en));return eu.length>0?eu:Object.assign([],{empty:!0},ea.streamInfo())}function ig(Y,et={}){let{lineCounter:en,prettyErrors:ei}=ih(et),eo=new iu(en?.addNewLine),ea=new rO(et),eu=null;for(let et of ea.compose(eo.parse(Y),!0,Y.length))if(eu){if("silent"!==eu.options.logLevel){eu.errors.push(new nY(et.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else eu=et;return ei&&en&&(eu.errors.forEach(nX(Y,en)),eu.warnings.forEach(nX(Y,en))),eu}function iy(Y,et,en){let ei;"function"==typeof et?ei=et:void 0===en&&et&&"object"==typeof et&&(en=et);let eo=ig(Y,en);if(!eo)return null;if(eo.warnings.forEach(Y=>tA(eo.options.logLevel,Y)),eo.errors.length>0){if("silent"!==eo.options.logLevel)throw eo.errors[0];eo.errors=[]}return eo.toJS(Object.assign({reviver:ei},en))}function ib(Y,et,en){let ei=null;if("function"==typeof et||Array.isArray(et)?ei=et:void 0===en&&et&&(en=et),"string"==typeof en&&(en=en.length),"number"==typeof en){let Y=Math.round(en);en=Y<1?void 0:Y>8?{indent:8}:{indent:Y}}if(void 0===Y){let{keepUndefined:Y}=en??et??{};if(!Y)return}return new nZ(Y,ei,en).toString(en)}var ix=ea},78103:function(Y,et,en){"use strict";en.d(et,{ZP:function(){return ef},oR:function(){return ec}});var ei=en(43477),eo=en(70079),ea=en(92280);let{useSyncExternalStoreWithSelector:eu}=ea;function ec(Y,et=Y.getState,en){let ei=eu(Y.subscribe,Y.getState,Y.getServerState||Y.getState,et,en);return(0,eo.useDebugValue)(ei),ei}let ed=Y=>{let et="function"==typeof Y?(0,ei.Z)(Y):Y,en=(Y,en)=>ec(et,Y,en);return Object.assign(en,et),en},ef=Y=>Y?ed(Y):ed},43477:function(Y,et,en){"use strict";en.d(et,{Z:function(){return eo}});let ei=Y=>{let et;let en=new Set,ei=(Y,ei)=>{let eo="function"==typeof Y?Y(et):Y;if(!Object.is(eo,et)){let Y=et;et=(null!=ei?ei:"object"!=typeof eo)?eo:Object.assign({},et,eo),en.forEach(en=>en(et,Y))}},eo=()=>et,ea=Y=>(en.add(Y),()=>en.delete(Y)),eu=()=>en.clear(),ec={setState:ei,getState:eo,subscribe:ea,destroy:eu};return et=Y(ei,eo,ec),ec},eo=Y=>Y?ei(Y):ei},80536:function(Y){"use strict";Y.exports=JSON.parse('["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","bet.ar","com.ar","coop.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","mutual.ar","net.ar","org.ar","senasa.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","sth.ac.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","app.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bib.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","coz.br","cri.br","cuiaba.br","curitiba.br","def.br","des.br","det.br","dev.br","ecn.br","eco.br","edu.br","emp.br","enf.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","geo.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","log.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","rep.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","seg.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","tec.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","a\xe9roport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","com.cv","edu.cv","int.cv","nome.cv","org.cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","mil.cy","net.cy","org.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","art.dz","asso.dz","com.dz","edu.dz","gov.dz","org.dz","net.dz","pol.dz","soc.dz","tm.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","com.fm","edu.fm","net.fm","org.fm","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","edu.gd","gov.gd","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个<><E4B8AA>.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","ایران.ir","ايران.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenezia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-s\xfcd-tirol.it","trentin-sudtirol.it","trentin-s\xfcdtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-s\xfcd-tirol.it","trentino-sudtirol.it","trentino-s\xfcdtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinos\xfcd-tirol.it","trentinosudtirol.it","trentinos\xfcdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentins\xfcd-tirol.it","trentinsudtirol.it","trentins\xfcdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vall\xe9e-aoste.it","vallee-d-aoste.it","vall\xe9e-d-aoste.it","valleeaoste.it","vall\xe9eaoste.it","valleedaoste.it","vall\xe9edaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-s\xfcdtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-s\xfcdtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-s\xfcdtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesena-forli.it","cesena-forl\xec.it","cesenaforli.it","cesenaforl\xec.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forl\xec-cesena.it","forlicesena.it","forl\xeccesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavia.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","s\xfcdtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","yamanashi.jp","栃木.jp","愛知.jp","愛媛.jp","兵庫.jp","熊本.jp","茨城.jp","北海道.jp","千葉.jp","和歌山.jp","長崎.jp","長野.jp","新潟.jp","青森.jp","静岡.jp","東京.jp","石川.jp","埼玉.jp","三重.jp","京都.jp","佐賀.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岩手.jp","岐阜.jp","岡山.jp","島根.jp","広島.jp","徳島.jp","沖縄.jp","滋賀.jp","神奈川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","香川.jp","高知.jp","鳥取.jp","鹿児島.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","com.ky","edu.ky","net.ky","org.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunica\xe7\xf5es.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunica\xe7\xf5es.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guernsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","l\xe4ns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","time.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","ירושלים.museum","иком.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","biz.my","com.my","edu.my","gov.my","mil.my","name.my","net.my","org.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","\xe5krehamn.no","algard.no","\xe5lg\xe5rd.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","br\xf8nn\xf8ysund.no","drobak.no","dr\xf8bak.no","egersund.no","fetsund.no","floro.no","flor\xf8.no","fredrikstad.no","hokksund.no","honefoss.no","h\xf8nefoss.no","jessheim.no","jorpeland.no","j\xf8rpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langev\xe5g.no","leirvik.no","mjondalen.no","mj\xf8ndalen.no","mo-i-rana.no","mosjoen.no","mosj\xf8en.no","nesoddtangen.no","orkanger.no","osoyro.no","os\xf8yro.no","raholt.no","r\xe5holt.no","sandnessjoen.no","sandnessj\xf8en.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stj\xf8rdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","\xe5fjord.no","agdenes.no","al.no","\xe5l.no","alesund.no","\xe5lesund.no","alstahaug.no","alta.no","\xe1lt\xe1.no","alaheadju.no","\xe1laheadju.no","alvdal.no","amli.no","\xe5mli.no","amot.no","\xe5mot.no","andebu.no","andoy.no","and\xf8y.no","andasuolo.no","ardal.no","\xe5rdal.no","aremark.no","arendal.no","\xe5s.no","aseral.no","\xe5seral.no","asker.no","askim.no","askvoll.no","askoy.no","ask\xf8y.no","asnes.no","\xe5snes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-h\xf8land.no","austevoll.no","austrheim.no","averoy.no","aver\xf8y.no","balestrand.no","ballangen.no","balat.no","b\xe1l\xe1t.no","balsfjord.no","bahccavuotna.no","b\xe1hccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","b\xe1jddar.no","baidar.no","b\xe1id\xe1r.no","berg.no","bergen.no","berlevag.no","berlev\xe5g.no","bearalvahki.no","bearalv\xe1hki.no","bindal.no","birkenes.no","bjarkoy.no","bjark\xf8y.no","bjerkreim.no","bjugn.no","bodo.no","bod\xf8.no","badaddja.no","b\xe5d\xe5ddj\xe5.no","budejju.no","bokn.no","bremanger.no","bronnoy.no","br\xf8nn\xf8y.no","bygland.no","bykle.no","barum.no","b\xe6rum.no","bo.telemark.no","b\xf8.telemark.no","bo.nordland.no","b\xf8.nordland.no","bievat.no","biev\xe1t.no","bomlo.no","b\xf8mlo.no","batsfjord.no","b\xe5tsfjord.no","bahcavuotna.no","b\xe1hcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyr\xf8y.no","donna.no","d\xf8nna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","even\xe1šši.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finn\xf8y.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","fl\xe5.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fr\xe6na.no","froya.no","fr\xf8ya.no","fusa.no","fyresdal.no","forde.no","f\xf8rde.no","gamvik.no","gangaviika.no","g\xe1ŋgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildesk\xe5l.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gj\xf8vik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kr\xe5anghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.no","h\xe1bmer.no","hapmir.no","h\xe1pmir.no","hammerfest.no","hammarfeasta.no","h\xe1mm\xe1rfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","\xe1kŋoluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","her\xf8y.m\xf8re-og-romsdal.no","heroy.nordland.no","her\xf8y.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hob\xf8l.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holt\xe5len.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","h\xe6gebostad.no","hoyanger.no","h\xf8yanger.no","hoylandet.no","h\xf8ylandet.no","ha.no","h\xe5.no","ibestad.no","inderoy.no","inder\xf8y.no","iveland.no","jevnaker.no","jondal.no","jolster.no","j\xf8lster.no","karasjok.no","karasjohka.no","k\xe1r\xe1šjohka.no","karlsoy.no","galsa.no","g\xe1ls\xe1.no","karmoy.no","karm\xf8y.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","kl\xe6bu.no","kongsberg.no","kongsvinger.no","kragero.no","krager\xf8.no","kristiansand.no","kristiansund.no","krodsherad.no","kr\xf8dsherad.no","kvalsund.no","rahkkeravju.no","r\xe1hkker\xe1vju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvits\xf8y.no","kvafjord.no","kv\xe6fjord.no","giehtavuoatna.no","kvanangen.no","kv\xe6nangen.no","navuotna.no","n\xe1vuotna.no","kafjord.no","k\xe5fjord.no","gaivuotna.no","g\xe1ivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loab\xe1t.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","leaŋgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lind\xe5s.no","lom.no","loppa.no","lahppi.no","l\xe1hppi.no","lund.no","lunner.no","luroy.no","lur\xf8y.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","l\xe6rdal.no","lodingen.no","l\xf8dingen.no","lorenskog.no","l\xf8renskog.no","loten.no","l\xf8ten.no","malvik.no","masoy.no","m\xe5s\xf8y.no","muosat.no","muos\xe1t.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","mel\xf8y.no","meraker.no","mer\xe5ker.no","moareke.no","mo\xe5reke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","m\xe5lselv.no","malatvuopmi.no","m\xe1latvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","n\xe5\xe5mesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unj\xe1rga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenj\xe1rga.no","nordre-land.no","nordreisa.no","raisa.no","r\xe1isa.no","nore-og-uvdal.no","notodden.no","naroy.no","n\xe6r\xf8y.no","notteroy.no","n\xf8tter\xf8y.no","odda.no","oksnes.no","\xf8ksnes.no","oppdal.no","oppegard.no","oppeg\xe5rd.no","orkdal.no","orland.no","\xf8rland.no","orskog.no","\xf8rskog.no","orsta.no","\xf8rsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","oster\xf8y.no","ostre-toten.no","\xf8stre-toten.no","overhalla.no","ovre-eiker.no","\xf8vre-eiker.no","oyer.no","\xf8yer.no","oygarden.no","\xf8ygarden.no","oystre-slidre.no","\xf8ystre-slidre.no","porsanger.no","porsangu.no","pors\xe1ŋgu.no","porsgrunn.no","radoy.no","rad\xf8y.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennes\xf8y.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","ris\xf8r.no","roan.no","rollag.no","rygge.no","ralingen.no","r\xe6lingen.no","rodoy.no","r\xf8d\xf8y.no","romskog.no","r\xf8mskog.no","roros.no","r\xf8ros.no","rost.no","r\xf8st.no","royken.no","r\xf8yken.no","royrvik.no","r\xf8yrvik.no","rade.no","r\xe5de.no","salangen.no","siellak.no","saltdal.no","salat.no","s\xe1l\xe1t.no","s\xe1lat.no","samnanger.no","sande.more-og-romsdal.no","sande.m\xf8re-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sand\xf8y.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjerv\xf8y.no","skierva.no","skierv\xe1.no","skjak.no","skj\xe5k.no","skodje.no","skanland.no","sk\xe5nland.no","skanit.no","sk\xe1nit.no","smola.no","sm\xf8la.no","snillfjord.no","snasa.no","sn\xe5sa.no","snoasa.no","snaase.no","sn\xe5ase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.no","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stj\xf8rdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","s\xf8gne.no","somna.no","s\xf8mna.no","sondre-land.no","s\xf8ndre-land.no","sor-aurdal.no","s\xf8r-aurdal.no","sor-fron.no","s\xf8r-fron.no","sor-odal.no","s\xf8r-odal.no","sor-varanger.no","s\xf8r-varanger.no","matta-varjjat.no","m\xe1tta-v\xe1rjjat.no","sorfold.no","s\xf8rfold.no","sorreisa.no","s\xf8rreisa.no","sorum.no","s\xf8rum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tj\xf8me.no","tokke.no","tolga.no","torsken.no","tranoy.no","tran\xf8y.no","tromso.no","troms\xf8.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","tr\xe6na.no","trogstad.no","tr\xf8gstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysv\xe6r.no","tonsberg.no","t\xf8nsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vads\xf8.no","cahcesuolo.no","č\xe1hcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vard\xf8.no","varggat.no","v\xe1rgg\xe1t.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","veg\xe5rshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestv\xe5g\xf8y.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","v\xe6r\xf8y.no","vagan.no","v\xe5gan.no","voagat.no","vagsoy.no","v\xe5gs\xf8y.no","vaga.no","v\xe5g\xe5.no","valer.ostfold.no","v\xe5ler.\xf8stfold.no","valer.hedmark.no","v\xe5ler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","māori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wodzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","me.ss","net.ss","org.ss","sch.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.tj","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","info.tn","intl.tn","mincom.tn","nat.tn","net.tn","org.tn","perso.tn","tourism.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","網路.tw","組織.tw","商業.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","bib.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","nom.ve","org.ve","rar.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","امارات","հայ","বাংলা","бг","البحرين","бел","中国","中國","الجزائر","مصر","ею","ευ","موريتانيا","გე","ελ","香港","公司.香港","教育.香港","政府.香港","個人.香港","網絡.香港","組織.香港","ಭಾರತ","ଭାରତ","ভাৰত","भारतम्","भारोत","ڀارت","ഭാരതം","भारत","بارت","بھارت","భారత్","ભારત","ਭਾਰਤ","ভারত","இந்தியா","ایران","ايران","عراق","الاردن","한국","қаз","ລາວ","ලංකා","இலங்கை","المغرب","мкд","мон","澳門","澳门","مليسيا","عمان","پاکستان","پاكستان","فلسطين","срб","пр.срб","орг.срб","обр.срб","од.срб","упр.срб","ак.срб","рф","قطر","السعودية","السعودیة","السعودیۃ","السعوديه","سودان","新加坡","சிங்கப்பூர்","سورية","سوريا","ไทย","ศึกษา.ไทย","ธุรกิจ.ไทย","รัฐบาล.ไทย","ทหาร.ไทย","เน็ต.ไทย","องค์กร.ไทย","تونس","台灣","台湾","臺灣","укр","اليمن","xxx","ye","com.ye","edu.ye","gov.ye","net.ye","mil.ye","org.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afl","africa","agakhan","agency","aig","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","cash","casino","catering","catholic","cba","cbn","cbre","cbs","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","jaguar","java","jcb","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kids","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","music","mutual","nab","nagoya","natura","navy","nba","nec","netbank","netflix","network","neustar","new","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","racing","radio","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","ril","rio","rip","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiss","sydney","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","慈善","集团","在线","点看","คอม","八卦","موقع","公益","公司","香格里拉","网站","移动","我爱你","москва","католик","онлайн","сайт","联通","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","アマゾン","삼성","商标","商店","商城","дети","ポイント","新闻","家電","كوم","中文网","中信","娱乐","谷歌","電訊盈科","购物","クラウド","通販","网店","संगठन","餐厅","网络","ком","亚马逊","诺基亚","食品","飞利浦","手机","ارامكو","العليان","اتصالات","بازار","ابوظبي","كاثوليك","همراه","닷컴","政府","شبكة","بيتك","عرب","机构","组织机构","健康","招聘","рус","大拿","みんな","グーグル","世界","書籍","网址","닷넷","コム","天主教","游戏","verm\xf6gensberater","verm\xf6gensberatung","企业","信息","嘉里大酒店","嘉里","广东","政务","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","611.to","graphox.us","*.devcdnaccesso.com","adobeaemcloud.com","*.dev.adobeaemcloud.com","hlx.live","adobeaemcloud.net","hlx.page","hlx3.page","beep.pl","airkitapps.com","airkitapps-au.com","airkitapps.eu","aivencloud.com","barsy.ca","*.compute.estate","*.alces.network","kasserver.com","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","awsglobalaccelerator.com","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","t3l3p0rt.net","tele.amune.org","apigee.io","siiites.com","appspacehosted.com","appspaceusercontent.com","appudo.net","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","cdn.prod.atlassian-dev.net","translated.page","myfritz.net","onavstack.net","*.awdev.ca","*.advisor.ws","ecommerce-shop.pl","b-data.io","backplaneapp.io","balena-devices.com","rs.ba","*.banzai.cloud","app.banzaicloud.io","*.backyards.banzaicloud.io","base.ec","official.ec","buyshop.jp","fashionstore.jp","handcrafted.jp","kawaiishop.jp","supersale.jp","theshop.jp","shopselect.net","base.shop","*.beget.app","betainabox.com","bnr.la","bitbucket.io","blackbaudcdn.net","of.je","bluebite.io","boomla.net","boutir.com","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","shop.brendly.rs","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","cafjs.com","mycd.eu","drr.ac","uwu.ai","carrd.co","crd.co","ju.mp","ae.org","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.net","hu.net","jp.net","jpn.com","mex.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","za.bz","za.com","ar.com","hu.com","kr.com","no.com","qc.com","uy.com","africa.com","gr.com","in.net","web.in","us.org","co.com","aus.basketball","nz.basketball","radio.am","radio.fm","c.la","certmgr.org","cx.ua","discourse.group","discourse.team","cleverapps.io","clerk.app","clerkstage.app","*.lcl.dev","*.lclstage.dev","*.stg.dev","*.stgstage.dev","clickrising.net","c66.me","cloud66.ws","cloud66.zone","jdevcloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","*.cloudera.site","pages.dev","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cnpy.gdn","codeberg.page","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","curv.dev","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","fnwk.site","folionetwork.site","platform0.app","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","dyndns.dappnode.io","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","demo.datadetect.com","instance.datadetect.com","edgestack.me","ddns5.com","debian.net","deno.dev","deno-staging.dev","dedyn.io","deta.app","deta.dev","*.rss.my.id","*.diher.solutions","discordsays.com","discordsez.com","jozi.biz","dnshome.de","online.th","shop.th","drayddns.com","shoparena.pl","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","bip.sh","bitbridge.net","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","ondigitalocean.app","*.digitaloceanspaces.com","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.com","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","eero.online","eero-stage.online","elementor.cloud","elementor.cool","en-root.fr","mytuleap.com","tuleap-partners.com","encr.app","encoreapi.com","onred.one","staging.onred.one","eu.encoway.cloud","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eurodir.ru","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","onfabrica.com","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","edgecompute.app","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastvps-server.com","fastvps.host","myfast.host","fastvps.site","myfast.space","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","conn.uk","copro.uk","hosp.uk","mydobiss.com","fh-muenster.io","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","fireweb.app","flap.id","onflashdrive.app","fldrv.com","fly.dev","edgeapp.net","shw.io","flynnhosting.net","forgeblocks.com","id.forgerock.io","framer.app","framercanvas.com","*.frusky.de","ravpage.co.il","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","freemyip.com","wien.funkfeuer.at","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","independent-commission.uk","independent-inquest.uk","independent-inquiry.uk","independent-panel.uk","independent-review.uk","public-inquiry.uk","royal-commission.uk","campaign.gov.uk","service.gov.uk","api.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","gentlentapis.com","lab.ms","cdn-edges.net","ghost.io","gsj.bz","githubusercontent.com","githubpreview.dev","github.io","gitlab.io","gitapp.si","gitpage.si","glitch.me","nog.community","co.ro","shop.ro","lolipop.io","angry.jp","babyblue.jp","babymilk.jp","backdrop.jp","bambina.jp","bitter.jp","blush.jp","boo.jp","boy.jp","boyfriend.jp","but.jp","candypop.jp","capoo.jp","catfood.jp","cheap.jp","chicappa.jp","chillout.jp","chips.jp","chowder.jp","chu.jp","ciao.jp","cocotte.jp","coolblog.jp","cranky.jp","cutegirl.jp","daa.jp","deca.jp","deci.jp","digick.jp","egoism.jp","fakefur.jp","fem.jp","flier.jp","floppy.jp","fool.jp","frenchkiss.jp","girlfriend.jp","girly.jp","gloomy.jp","gonna.jp","greater.jp","hacca.jp","heavy.jp","her.jp","hiho.jp","hippy.jp","holy.jp","hungry.jp","icurus.jp","itigo.jp","jellybean.jp","kikirara.jp","kill.jp","kilo.jp","kuron.jp","littlestar.jp","lolipopmc.jp","lolitapunk.jp","lomo.jp","lovepop.jp","lovesick.jp","main.jp","mods.jp","mond.jp","mongolian.jp","moo.jp","namaste.jp","nikita.jp","nobushi.jp","noor.jp","oops.jp","parallel.jp","parasite.jp","pecori.jp","peewee.jp","penne.jp","pepper.jp","perma.jp","pigboat.jp","pinoko.jp","punyu.jp","pupu.jp","pussycat.jp","pya.jp","raindrop.jp","readymade.jp","sadist.jp","schoolbus.jp","secret.jp","staba.jp","stripper.jp","sub.jp","sunnyday.jp","thick.jp","tonkotsu.jp","under.jp","upper.jp","velvet.jp","verse.jp","versus.jp","vivian.jp","watson.jp","weblike.jp","whitesnow.jp","zombie.jp","heteml.net","cloudapps.digital","london.cloudapps.digital","pymnt.uk","homeoffice.gov.uk","ro.im","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","*.gateway.dev","cloud.goog","translate.goog","*.usercontent.goog","cloudfunctions.net","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","goupile.fr","gov.nl","awsmppl.com","g\xfcnstigbestellen.de","g\xfcnstigliefern.de","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","pages.it.hs-heilbronn.de","hepforge.org","herokuapp.com","herokussl.com","ravendb.cloud","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","homesklep.pl","secaas.hk","hoplix.shop","orx.biz","biz.gl","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","edu.scot","sch.so","hostyhosting.io","h\xe4kkinen.fi","*.moonscale.io","moonscale.net","iki.fi","ibxos.it","iliadboxos.it","impertrixcdn.com","impertrix.com","smushcdn.com","wphostedmail.com","wpmucdn.com","tempurl.host","wpmudev.host","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","na4u.ru","iopsys.se","ipifony.net","iservschule.de","mein-iserv.de","schulplattform.de","schulserver.de","test-iserv.de","iserv.dev","iobb.net","mel.cloudlets.com.au","cloud.interhostsolutions.be","users.scale.virtualcloud.com.br","mycloud.by","alp1.ae.flow.ch","appengine.flow.ch","es-1.axarnet.cloud","diadem.cloud","vip.jelastic.cloud","jele.cloud","it1.eur.aruba.jenv-aruba.cloud","it1.jenv-aruba.cloud","keliweb.cloud","cs.keliweb.cloud","oxa.cloud","tn.oxa.cloud","uk.oxa.cloud","primetel.cloud","uk.primetel.cloud","ca.reclaim.cloud","uk.reclaim.cloud","us.reclaim.cloud","ch.trendhosting.cloud","de.trendhosting.cloud","jele.club","amscompute.com","clicketcloud.com","dopaas.com","hidora.com","paas.hosted-by-previder.com","rag-cloud.hosteur.com","rag-cloud-ch.hosteur.com","jcloud.ik-server.com","jcloud-ver-jpc.ik-server.com","demo.jelastic.com","kilatiron.com","paas.massivegrid.com","jed.wafaicloud.com","lon.wafaicloud.com","ryd.wafaicloud.com","j.scaleforce.com.cy","jelastic.dogado.eu","fi.cloudplatform.fi","demo.datacenter.fi","paas.datacenter.fi","jele.host","mircloud.host","paas.beebyte.io","sekd1.beebyteapp.io","jele.io","cloud-fr1.unispace.io","jc.neen.it","cloud.jelastic.open.tim.it","jcloud.kz","upaas.kazteleport.kz","cloudjiffy.net","fra1-de.cloudjiffy.net","west1-us.cloudjiffy.net","jls-sto1.elastx.net","jls-sto2.elastx.net","jls-sto3.elastx.net","faststacks.net","fr-1.paas.massivegrid.net","lon-1.paas.massivegrid.net","lon-2.paas.massivegrid.net","ny-1.paas.massivegrid.net","ny-2.paas.massivegrid.net","sg-1.paas.massivegrid.net","jelastic.saveincloud.net","nordeste-idc.saveincloud.net","j.scaleforce.net","jelastic.tsukaeru.net","sdscloud.pl","unicloud.pl","mircloud.ru","jelastic.regruhosting.ru","enscaled.sg","jele.site","jelastic.team","orangecloud.tn","j.layershift.co.uk","phx.enscaled.us","mircloud.us","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","jotelulu.cloud","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","ktistory.com","kapsi.fi","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","koobin.events","oya.to","kuleuven.cloud","ezproxy.kuleuven.be","co.krd","edu.krd","krellian.net","webthings.io","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkyard.cloud","linkyard-cloud.ch","members.linode.com","*.nodebalancer.linode.com","*.linodeobjects.com","ip.linodeusercontent.com","we.bs","*.user.localcert.dev","localzone.xyz","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","servers.run","lohmus.me","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.ro","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","cn.vu","mazeplay.com","mcpe.me","mcdir.me","mcdir.ru","mcpre.ru","vps.mcdir.ru","mediatech.by","mediatech.dev","hra.health","miniserver.com","memset.net","messerli.app","*.cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","*.azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","azurestaticapps.net","1.azurestaticapps.net","centralus.azurestaticapps.net","eastasia.azurestaticapps.net","eastus2.azurestaticapps.net","westeurope.azurestaticapps.net","westus2.azurestaticapps.net","csx.cc","mintere.site","forte.id","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","hostedpi.com","customer.mythic-beasts.com","caracal.mythic-beasts.com","fentiger.mythic-beasts.com","lynx.mythic-beasts.com","ocelot.mythic-beasts.com","oncilla.mythic-beasts.com","onza.mythic-beasts.com","sphinx.mythic-beasts.com","vs.mythic-beasts.com","x.mythic-beasts.com","yali.mythic-beasts.com","cust.retrosnub.co.uk","ui.nabu.casa","pony.club","of.fashion","in.london","of.london","from.marketing","with.marketing","for.men","repair.men","and.mom","for.mom","for.one","under.one","for.sale","that.win","from.work","to.work","cloud.nospamproxy.com","netlify.app","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","*.developer.app","noop.app","*.northflank.app","*.build.run","*.code.run","*.database.run","*.migration.run","noticeable.news","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.ca","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","pcloud.host","nyc.mn","static.observableusercontent.com","cya.gg","omg.lol","cloudycluster.net","omniwe.site","service.one","nid.io","opensocial.site","opencraft.hosting","orsites.com","operaunite.com","tech.orange","authgear-staging.com","authgearapps.com","skygearapp.com","outsystemscloud.com","*.webpaas.ovh.net","*.hosting.ovh.net","ownprovider.com","own.pm","*.owo.codes","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","pagexl.com","*.paywhirl.com","bar0.net","bar1.net","bar2.net","rdv.to","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","lk3.ru","on-web.fr","bc.platform.sh","ent.platform.sh","eu.platform.sh","us.platform.sh","*.platformsh.site","*.tst.site","platter-app.com","platter-app.dev","platterp.us","pdns.page","plesk.page","pleskns.com","dyn53.io","onporter.run","co.bn","postman-echo.com","pstmn.io","mock.pstmn.io","httpbin.org","prequalifyme.today","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","pythonanywhere.com","eu.pythonanywhere.com","qoto.io","qualifioapp.com","qbuser.com","cloudsite.builders","instances.spawn.cc","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","g.vbrplsbx.io","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","id.repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","wellbeingzone.co.uk","adimo.co.uk","itcouldbewor.se","git-pages.rit.edu","rocky.page","биз.рус","ком.рус","крым.рус","мир.рус","мск.рус","орг.рус","самара.рус","сочи.рус","спб.рус","я.рус","*.builder.code.com","*.dev-builder.code.com","*.stg-builder.code.com","sandcats.io","logoip.de","logoip.com","fr-par-1.baremetal.scw.cloud","fr-par-2.baremetal.scw.cloud","nl-ams-1.baremetal.scw.cloud","fnc.fr-par.scw.cloud","functions.fnc.fr-par.scw.cloud","k8s.fr-par.scw.cloud","nodes.k8s.fr-par.scw.cloud","s3.fr-par.scw.cloud","s3-website.fr-par.scw.cloud","whm.fr-par.scw.cloud","priv.instances.scw.cloud","pub.instances.scw.cloud","k8s.scw.cloud","k8s.nl-ams.scw.cloud","nodes.k8s.nl-ams.scw.cloud","s3.nl-ams.scw.cloud","s3-website.nl-ams.scw.cloud","whm.nl-ams.scw.cloud","k8s.pl-waw.scw.cloud","nodes.k8s.pl-waw.scw.cloud","s3.pl-waw.scw.cloud","s3-website.pl-waw.scw.cloud","scalebook.scw.cloud","smartlabeling.scw.cloud","dedibox.fr","schokokeks.net","gov.scot","service.gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","seidat.net","sellfy.store","senseering.net","minisite.ms","magnet.page","biz.ua","co.ua","pp.ua","shiftcrypto.dev","shiftcrypto.io","shiftedit.io","myshopblocks.com","myshopify.com","shopitsite.com","shopware.store","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","small-web.org","vp4.me","try-snowplow.com","srht.site","stackhero-network.com","musician.io","novecore.site","static.land","dev.static.land","sites.static.land","storebase.store","vps-host.net","atl.jelastic.vps-host.net","njs.jelastic.vps-host.net","ric.jelastic.vps-host.net","playstation-cloud.com","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","myspreadshop.at","myspreadshop.com.au","myspreadshop.be","myspreadshop.ca","myspreadshop.ch","myspreadshop.com","myspreadshop.de","myspreadshop.dk","myspreadshop.es","myspreadshop.fi","myspreadshop.fr","myspreadshop.ie","myspreadshop.it","myspreadshop.net","myspreadshop.nl","myspreadshop.no","myspreadshop.pl","myspreadshop.se","myspreadshop.co.uk","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","supabase.co","supabase.in","supabase.net","su.paba.se","*.s5y.io","*.sensiosite.cloud","syncloud.it","dscloud.biz","direct.quickconnect.cn","dsmynas.com","familyds.com","diskstation.me","dscloud.me","i234.me","myds.me","synology.me","dscloud.mobi","dsmynas.net","familyds.net","dsmynas.org","familyds.org","vpnplus.to","direct.quickconnect.to","tabitorder.co.il","taifun-dns.de","beta.tailscale.net","ts.net","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","site.tb-hosting.com","edugit.io","s3.teckids.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","*.firenet.ch","*.svc.firenet.ch","reservd.com","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","reservd.dev.thingdust.io","reservd.disrec.thingdust.io","reservd.testing.thingdust.io","tickets.io","arvo.network","azimuth.network","tlon.network","torproject.net","pages.torproject.net","bloxcms.com","townnews-staging.com","tbits.me","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","site.transip.me","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","typedream.app","pro.typeform.com","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","name.pm","sch.tf","biz.wf","sch.wf","org.yt","virtualuser.de","virtual-user.de","upli.io","urown.cloud","dnsupdate.info","lib.de.us","2038.io","vercel.app","vercel.dev","now.sh","router.management","v-info.info","voorloper.cloud","neko.am","nyaa.am","be.ax","cat.ax","es.ax","eu.ax","gg.ax","mc.ax","us.ax","xy.ax","nl.ci","xx.gl","app.gp","blog.gt","de.gt","to.gt","be.gy","cc.hn","blog.kg","io.kg","jp.kg","tv.kg","uk.kg","us.kg","de.ls","at.md","de.md","jp.md","to.md","indie.porn","vxl.sh","ch.tc","me.tc","we.tc","nyan.to","at.vg","blog.vu","dev.vu","me.vu","v.ua","*.vultrobjects.com","wafflecell.com","*.webhare.dev","reserve-online.net","reserve-online.com","bookonline.app","hotelwithflight.com","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","pages.wiardweb.com","wmflabs.org","toolforge.org","wmcloud.org","panel.gg","daemon.panel.gg","messwithdns.com","woltlab-demo.com","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","affinitylottery.org.uk","raffleentry.org.uk","weeklylottery.org.uk","wpenginepowered.com","js.wpenginepowered.com","wixsite.com","editorx.io","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","ynh.fr","nohost.me","noho.st","za.net","za.org","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"]')}},function(Y){var et=function(et){return Y(Y.s=et)};Y.O(0,[9774,179],function(){return et(54885),et(34532)}),_N_E=Y.O()}]);