1var og=Object.defineProperty;var ag=(t,e,n)=>e in t?og(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var st=(t,e,n)=>(ag(t,typeof e!="symbol"?e+"":e,n),n);import{V as sg,_ as cg}from"./vendor-vue-15488850.js";var jr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function lg(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var u=Function.bind.apply(e,i);return new u}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}function Ue(t){"@babel/helpers - typeof";return Ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(t)}function dg(t,e){if(Ue(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(Ue(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function op(t){var e=dg(t,"string");return Ue(e)=="symbol"?e:e+""}function fg(t,e,n){return(e=op(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ue(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),r.forEach(function(i){fg(t,i,n[i])})}return t}function ot(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,op(r.key),r)}}function at(t,e,n){return e&&$c(t.prototype,e),n&&$c(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function cn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mr(t,e){if(e&&(Ue(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return cn(t)}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wn(t)}function Yo(t,e){return Yo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Yo(t,e)}function wu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Yo(t,e)}var pg={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,n){console&&console[e]&&console[e].apply(console,n)}},hg=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ot(this,t),this.init(e,n)}return at(t,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||pg,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,r,i,u){return u&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(i).c
1oncat(this.prefix," ").concat(n[0])),this.logger[r](n))}},{key:"create",value:function(n){return new t(this.logger,ue({},{prefix:"".concat(this.prefix,":").concat(n,":")},this.options))}}]),t}(),pt=new hg,It=function(){function t(){ot(this,t),this.observers={}}return at(t,[{key:"on",value:function(n,r){var i=this;return n.split(" ").forEach(function(u){i.observers[u]=i.observers[u]||[],i.observers[u].push(r)}),this}},{key:"off",value:function(n,r){if(this.observers[n]){if(!r){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(i){return i!==r})}}},{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),u=1;u<r;u++)i[u-1]=arguments[u];if(this.observers[n]){var o=[].concat(this.observers[n]);o.forEach(function(s){s.apply(void 0,i)})}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach(function(s){s.apply(s,[n].concat(i))})}}}]),t}();function gr(){var t,e,n=new Promise(function(r,i){t=r,e=i});return n.resolve=t,n.reject=e,n}function jc(t){return t==null?"":""+t}function vg(t,e,n){t.forEach(function(r){e[r]&&(n[r]=e[r])})}function ms(t,e,n){function r(a){return a&&a.indexOf("###")>-1?a.replace(/###/g,"."):a}function i(){return!t||typeof t=="string"}for(var u=typeof e!="string"?[].concat(e):e.split(".");u.length>1;){if(i())return{};var o=r(u.shift());!t[o]&&n&&(t[o]=new n),Object.prototype.hasOwnProperty.call(t,o)?t=t[o]:t={}}return i()?{}:{obj:t,k:r(u.shift())}}function Mc(t,e,n){var r=ms(t,e,Object),i=r.obj,u=r.k;i[u]=n}function gg(t,e,n,r){var i=ms(t,e,Object),u=i.obj,o=i.k;u[o]=u[o]||[],r&&(u[o]=u[o].concat(n)),r||u[o].push(n)}function Qi(t,e){var n=ms(t,e),r=n.obj,i=n.k;if(r)return r[i]}function Bc(t,e,n){var r=Qi(t,n);return r!==void 0?r:Qi(e,n)}function ap(t,e,n){for(var r in e)r!=="__proto__"&&r!=="constructor"&&(r in t?typeof t[r]=="string"||t[r]instanceof String||typeof e[r]=="string"||e[r]instanceof String?n&&(t[r]=e[r]):ap(t[r],e[r],n):t[r]=e[r]);return t}function kn(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var mg={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function yg(t){return typeof t=="string"?t.replace(/[&<>"'\/]/g,function(e){return mg[e]}
1):t}var xu=typeof window<"u"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function sp(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(t){if(t[e])return t[e];for(var r=e.split(n),i=t,u=0;u<r.length;++u){if(!i||typeof i[r[u]]=="string"&&u+1<r.length)return;if(i[r[u]]===void 0){for(var o=2,a=r.slice(u,u+o).join(n),s=i[a];s===void 0&&r.length>u+o;)o++,a=r.slice(u,u+o).join(n),s=i[a];if(s===void 0)return;if(typeof s=="string")return s;if(a&&typeof s[a]=="string")return s[a];var c=r.slice(u+o).join(n);return c?sp(s,c,n):void 0}i=i[r[u]]}return i}}var bg=function(t){wu(e,t);function e(n){var r,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return ot(this,e),r=Mr(this,Wn(e).call(this)),xu&&It.call(cn(r)),r.data=n||{},r.options=i,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.options.ignoreJSONStructure===void 0&&(r.options.ignoreJSONStructure=!0),r}return at(e,[{key:"addNamespaces",value:function(r){this.options.ns.indexOf(r)<0&&this.options.ns.push(r)}},{key:"removeNamespaces",value:function(r){var i=this.options.ns.indexOf(r);i>-1&&this.options.ns.splice(i,1)}},{key:"getResource",value:function(r,i,u){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,s=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure,c=[r,i];u&&typeof u!="string"&&(c=c.concat(u)),u&&typeof u=="string"&&(c=c.concat(a?u.split(a):u)),r.indexOf(".")>-1&&(c=r.split("."));var l=Qi(this.data,c);return l||!s||typeof u!="string"?l:sp(this.data&&this.data[r]&&this.data[r][i],u,a)}},{key:"addResource",value:function(r,i,u,o){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},s=this.options.keySeparator;s===void 0&&(s=".");var c=[r,i];u&&(c=c.concat(s?u.split(s):u)),r.indexOf(".")>-1&&(c=r.split("."),o=i,i=c[1]),this.addNamespaces(i),Mc(this.data,c,o),a.silent||this.emit("added",r,i,u,o)}},{key:"addResources",value:function(r,i,u){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in u)(typeof u[a]=="string"||Object.prototype.toString.apply(u[a])==="[object Array]")&&this.addResource(r,i,a,u[a],{silent:!0});o.silent||this.emit("added",r,i,u)}},{key:"addResourceBundle",value:function(r,i,u,o,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},c=[r,i];r.indexOf(".")>-1&&(c=r.split("."),o=u,u=i,i=c[1]),this.addNamespaces(i);var l=Qi(this.data,c)||{};o?ap(l,u,a):l=ue({},l,u),Mc(this.data,c,l),s.silent||this.emit("added",r,i,u)}},{key:"removeResourceBundle",value:function(r,i){this.hasResourceBundle(r,i)&&delete this.data[r][i],this.removeNamespaces(i),this.emit("removed",r,i)}},{key:"hasResourceBundle",value:function(r,i){return this.getResource(r,i)!==void 0}},{key:"getResourceBundle",value:function(r,i){return i||(i=this.options.defaultNS),this.options.compatibilityAPI==="v1"?ue({},{},this.getResource(r,i)):this.getResource(r,i)}},{key:"getDataByLanguage",value:function(r){return this.data[r]}},{key:"toJSON",value:function(){return this.data}}]),e}(It),cp={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,n,r,i,u){var o=this;return e.forEach(function(a){o.processors[a]&&(n=o.processors[a].process(n,r,i,u))}),n}},Uc={},Vc=function(t){wu(e,t);function e(n){var r,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ot(this,e),r=Mr(this,Wn(e).call(this)),xu&&It.call(cn(r)),vg(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
1i18nFormat","utils"],n,cn(r)),r.options=i,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.logger=pt.create("translator"),r}return at(e,[{key:"changeLanguage",value:function(r){r&&(this.language=r)}},{key:"exists",value:function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(r==null)return!1;var u=this.resolve(r,i);return u&&u.res!==void 0}},{key:"extractFromKey",value:function(r,i){var u=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;u===void 0&&(u=":");var o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ns||this.options.defaultNS;if(u&&r.indexOf(u)>-1){var s=r.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:r,namespaces:a};var c=r.split(u);(u!==o||u===o&&this.options.ns.indexOf(c[0])>-1)&&(a=c.shift()),r=c.join(o)}return typeof a=="string"&&(a=[a]),{key:r,namespaces:a}}},{key:"translate",value:function(r,i,u){var o=this;if(Ue(i)!=="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),i||(i={}),r==null)return"";Array.isArray(r)||(r=[String(r)]);var a=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,s=this.extractFromKey(r[r.length-1],i),c=s.key,l=s.namespaces,d=l[l.length-1],f=i.lng||this.language,p=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&f.toLowerCase()==="cimode"){if(p){var h=i.nsSeparator||this.options.nsSeparator;return d+h+c}return c}var g=this.resolve(r,i),v=g&&g.res,m=g&&g.usedKey||c,y=g&&g.exactUsedKey||c,x=Object.prototype.toString.apply(v),A=["[object Number]","[object Function]","[object RegExp]"],C=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,_=!this.i18nFormat||this.i18nFormat.handleAsObject,E=typeof v!="string"&&typeof v!="boolean"&&typeof v!="number";if(_&&v&&E&&A.indexOf(x)<0&&!(typeof C=="string"&&x==="[object Array]")){if(!i.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,v,ue({},i,{ns:l})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");if(a){var b=x==="[object Array]",w=b?[]:{},S=b?y:m;for(var k in v)if(Object.prototype.hasOwnProperty.call(v,k)){var T="".concat(S).concat(a).concat(k);w[k]=this.translate(T,ue({},i,{joinArrays:!1,ns:l})),w[k]===T&&(w[k]=v[k])}v=w}}else if(_&&typeof C=="string"&&x==="[object Array]")v=v.join(C),v&&(v=this.extendTranslation(v,r,i,u));else{var O=!1,R=!1,P=i.count!==void 0&&typeof i.count!="string",$=e.hasDefaultValue(i),U=P?this.pluralResolver.getSuffix(f,i.count):"",q=i["defaultValue".concat(U)]||i.defaultValue;!this.isValidLookup(v)&&$&&(O=!0,v=q),this.isValidLookup(v)||(R=!0,v=c);var j=i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,K=j&&R?void 0:v,J=$&&q!==v&&this.options.updateMissing;if(R||O||J){if(this.logger.log(J?"updateKey":"missingKey",f,d,c,J?q:v),a){var fe=this.resolve(c,ue({},i,{keySeparator:!1}));fe&&fe.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var ae=[],se=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&se&&se[0])for(var pe=0;pe<se.length;pe++)ae.push(se[pe]);else this.options.saveMissingTo==="all"?ae=this.languageUtils.toResolveHierarchy(i.lng||this.language):ae.push(i.lng||this.language);var yt=function(we,Bt,pi){o.options.missingKeyHandler?o.options.missingKeyHandler(we,d,Bt,J?pi:K,J,i):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(we,d,Bt,J?pi:K,J,i),o.emit("missingKey",we,d,Bt,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&P?ae.forEach(function(bt){o.pluralResolver.getSuffixes(bt).forEach(function(we){yt([bt],c+we,i["defaultValue".concat(we)]||q)})}):yt(ae,c,q))}v=this.extendTranslation(v,r,i,g,u),R&&v===c&&this.options.appendNamespaceToMissingKey&&(v="".concat(d,":").concat(c)),(R||O)&&this.options.parseMissingKeyHandler&&(v=this.options.parseMissingKeyHandler(v))}return v}},{key:"extendTranslation",value:function(r,i,u,o,a){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)r=this.i18nFormat.parse(r,u,o.usedLng,o.usedNS,o.usedKey,{resolved:o});
1else if(!u.skipInterpolation){u.interpolation&&this.interpolator.init(ue({},u,{interpolation:ue({},this.options.interpolation,u.interpolation)}));var c=u.interpolation&&u.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,l;if(c){var d=r.match(this.interpolator.nestingRegexp);l=d&&d.length}var f=u.replace&&typeof u.replace!="string"?u.replace:u;if(this.options.interpolation.defaultVariables&&(f=ue({},this.options.interpolation.defaultVariables,f)),r=this.interpolator.interpolate(r,f,u.lng||this.language,u),c){var p=r.match(this.interpolator.nestingRegexp),h=p&&p.length;l<h&&(u.nest=!1)}u.nest!==!1&&(r=this.interpolator.nest(r,function(){for(var m=arguments.length,y=new Array(m),x=0;x<m;x++)y[x]=arguments[x];return a&&a[0]===y[0]&&!u.context?(s.logger.warn("It seems you are nesting recursively key: ".concat(y[0]," in key: ").concat(i[0])),null):s.translate.apply(s,y.concat([i]))},u)),u.interpolation&&this.interpolator.reset()}var g=u.postProcess||this.options.postProcess,v=typeof g=="string"?[g]:g;return r!=null&&v&&v.length&&u.applyPostProcessor!==!1&&(r=cp.handle(v,r,i,this.options&&this.options.postProcessPassResolved?ue({i18nResolved:o},u):u,this)),r}},{key:"resolve",value:function(r){var i=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o,a,s,c,l;return typeof r=="string"&&(r=[r]),r.forEach(function(d){if(!i.isValidLookup(o)){var f=i.extractFromKey(d,u),p=f.key;a=p;var h=f.namespaces;i.options.fallbackNS&&(h=h.concat(i.options.fallbackNS));var g=u.count!==void 0&&typeof u.count!="string",v=u.context!==void 0&&(typeof u.context=="string"||typeof u.context=="number")&&u.context!=="",m=u.lngs?u.lngs:i.languageUtils.toResolveHierarchy(u.lng||i.language,u.fallbackLng);h.forEach(function(y){i.isValidLookup(o)||(l=y,!Uc["".concat(m[0],"-").concat(y)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(l)&&(Uc["".concat(m[0],"-").concat(y)]=!0,i.logger.warn('key "'.concat(a,'" for languages "').concat(m.join(", "),`" won't get resolved as namespace "`).concat(l,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(function(x){if(!i.isValidLookup(o)){c=x;var A=p,C=[A];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(C,p,x,y,u);else{var _;g&&(_=i.pluralResolver.getSuffix(x,u.count)),g&&v&&C.push(A+_),v&&C.push(A+="".concat(i.options.contextSeparator).concat(u.context)),g&&C.push(A+=_)}for(var E;E=C.pop();)i.isValidLookup(o)||(s=E,o=i.getResource(x,y,E,u))}}))})}}),{res:o,usedKey:a,exactUsedKey:s,usedLng:c,usedNS:l}}},{key:"isValidLookup",value:function(r){return r!==void 0&&!(!this.options.returnNull&&r===null)&&!(!this.options.returnEmptyString&&r==="")}},{key:"getResource",value:function(r,i,u){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(r,i,u,o):this.resourceStore.getResource(r,i,u,o)}}],[{key:"hasDefaultValue",value:function(r){var i="defaultValue";for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)&&i===u.substring(0,i.length)&&r[u]!==void 0)return!0;return!1}}]),e}(It);function lo(t){return t.charAt(0).toUpperCase()+t.slice(1)}var _g=function(){function t(e){ot(this,t),this.options=e,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=pt.create("languageUtils")}return at(t,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(u){return u.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=lo(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=lo(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=lo(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isWhitelisted",value:function(n){return this.logger.deprecate("languageUtils.isWhitelisted",`function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`),this.isSupportedCode(n)}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;
1return n.forEach(function(u){if(!i){var o=r.formatLanguageCode(u);(!r.options.supportedLngs||r.isSupportedCode(o))&&(i=o)}}),!i&&this.options.supportedLngs&&n.forEach(function(u){if(!i){var o=r.getLanguagePartFromCode(u);if(r.isSupportedCode(o))return i=o;i=r.options.supportedLngs.find(function(a){if(a.indexOf(o)===0)return a})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,u=this.getFallbackCodes(r||this.options.fallbackLng||[],n),o=[],a=function(c){c&&(i.isSupportedCode(c)?o.push(c):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(c)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(n))):typeof n=="string"&&a(this.formatLanguageCode(n)),u.forEach(function(s){o.indexOf(s)<0&&a(i.formatLanguageCode(s))}),o}}]),t}(),wg=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],xg={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};function Sg(){var t={};return wg.forEach(function(e){e.lngs.forEach(function(n){t[n]={numbers:e.nr,plurals:xg[e.fc]}})}),t}var Eg=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ot(this,t),this.languageUtils=e,this.options=n,this.logger=pt.create("pluralResolver"),this.rules=Sg()}return at(t,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=this.getRule(n);return r&&r.numbers.length>1}}
1,{key:"getPluralFormsOfKey",value:function(n,r){return this.getSuffixes(n).map(function(i){return r+i})}},{key:"getSuffixes",value:function(n){var r=this,i=this.getRule(n);return i?i.numbers.map(function(u){return r.getSuffix(n,u)}):[]}},{key:"getSuffix",value:function(n,r){var i=this,u=this.getRule(n);if(u){var o=u.noAbs?u.plurals(r):u.plurals(Math.abs(r)),a=u.numbers[o];this.options.simplifyPluralSuffix&&u.numbers.length===2&&u.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return i.options.prepend&&a.toString()?i.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&u.numbers.length===2&&u.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: ".concat(n)),""}}]),t}(),kg=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ot(this,t),this.logger=pt.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(n){return n},this.init(e)}return at(t,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:yg,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?kn(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?kn(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?kn(r.nestingPrefix):r.nestingPrefixEscaped||kn("$t("),this.nestingSuffix=r.nestingSuffix?kn(r.nestingSuffix):r.nestingSuffixEscaped||kn(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,u){var o=this,a,s,c,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(v){return v.replace(/\$/g,"$$$$")}var f=function(m){if(m.indexOf(o.formatSeparator)<0){var y=Bc(r,l,m);return o.alwaysFormat?o.format(y,void 0,i,ue({},u,r,{interpolationkey:m})):y}var x=m.split(o.formatSeparator),A=x.shift().trim(),C=x.join(o.formatSeparator).trim();return o.format(Bc(r,l,A),C,i,ue({},u,r,{interpolationkey:A}))};this.resetRegExp();var p=u&&u.missingInterpolationHandler||this.options.missingInterpolationHandler,h=u&&u.interpolation&&u.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,g=[{regex:this.regexpUnescape,safeValue:function(m){return d(m)}},{regex:this.regexp,safeValue:function(m){return o.escapeValue?d(o.escape(m)):d(m)}}];return g.forEach(function(v){for(c=0;a=v.regex.exec(n);){if(s=f(a[1].trim()),s===void 0)if(typeof p=="function"){var m=p(n,a,u);s=typeof m=="string"?m:""}else if(h){s=a[0];continue}else o.logger.warn("missed to pass in variable ".concat(a[1]," for interpolating ").concat(n)),s="";else typeof s!="string"&&!o.useRawValueToEscape&&(s=jc(s));var y=v.safeValue(s);if(n=n.replace(a[0],y),h?(v.regex.lastIndex+=y.length,v.regex.lastIndex-=a[0].length):v.regex.lastIndex=0,c++,c>=o.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,a,s=ue({},u);s.applyPostProcessor=!1,delete s.defaultValue;function c(p,h){var g=this.nestingOptionsSeparator;if(p.indexOf(g)<0)return p;var v=p.split(new RegExp("".concat(g,"[ ]*{"))),m="{".concat(v[1]);p=v[0],m=this.interpolate(m,s),m=m.replace(/'/g,'"');try{s=JSON.parse(m),h&&(s=ue({},h,s))}catch(y){return this.logger.warn("failed parsing options string in nesting for key ".concat(p),y),"".concat(p).concat(g).concat(m)}return delete s.defaultValue,p}for(;o=this.nestingRegexp.exec(n);){var l=[],d=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){var f=o[1].split(this.formatSeparator).map(function(p){return p.trim()});o[1]=f.shift(),l=f,d=!0}if(a=r(c.call(this,o[1].trim(),s),s),a&&o[0]===n&&typeof a!="string")return a;typeof a!="string"&&(a=jc(a)),a||(this.logger.warn("missed to resolve ".concat(o[1]," for nesting ").concat(n)),a=""),d&&(a=l.reduce(function(p,h){return i.format(p,h,u.lng,ue({},u,{interpolationkey:o[1].trim()}))},a.trim())),n=n.replace(o[0],a),this.regexp.lastIndex=0}return n}}]),t}();function Ag(t,e){for(var n=t.indexOf(e);n!==-1;)t.splice(n,1),n=t.indexOf(e)}var Cg=function(t){wu(e,t);function e(n,r,i){var u,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return ot(this,e),u=Mr(this,Wn(e).call(this)),xu&&It.call(cn(u)),u.backend=n,u.store=r,u.services=i,u.languageUtils=i.languageUtils,u.options=o,u.logger=pt.create("backendConnector"),u.state={},u.queue=[],u.backend&&u.backend.init&&u.backend.init(i,o.backend,o),u}return at(e,[{key:"queueLoad",value:function(r,i,u,o){var a=this,s=[],c=[],l=[],d=[];return r.forEach(function(f){var p=!0;
1i.forEach(function(h){var g="".concat(f,"|").concat(h);!u.reload&&a.store.hasResourceBundle(f,h)?a.state[g]=2:a.state[g]<0||(a.state[g]===1?c.indexOf(g)<0&&c.push(g):(a.state[g]=1,p=!1,c.indexOf(g)<0&&c.push(g),s.indexOf(g)<0&&s.push(g),d.indexOf(h)<0&&d.push(h)))}),p||l.push(f)}),(s.length||c.length)&&this.queue.push({pending:c,loaded:{},errors:[],callback:o}),{toLoad:s,pending:c,toLoadLanguages:l,toLoadNamespaces:d}}},{key:"loaded",value:function(r,i,u){var o=r.split("|"),a=o[0],s=o[1];i&&this.emit("failedLoading",a,s,i),u&&this.store.addResourceBundle(a,s,u),this.state[r]=i?-1:2;var c={};this.queue.forEach(function(l){gg(l.loaded,[a],s),Ag(l.pending,r),i&&l.errors.push(i),l.pending.length===0&&!l.done&&(Object.keys(l.loaded).forEach(function(d){c[d]||(c[d]=[]),l.loaded[d].length&&l.loaded[d].forEach(function(f){c[d].indexOf(f)<0&&c[d].push(f)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(function(l){return!l.done})}},{key:"read",value:function(r,i,u){var o=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,c=arguments.length>5?arguments[5]:void 0;return r.length?this.backend[u](r,i,function(l,d){if(l&&d&&a<5){setTimeout(function(){o.read.call(o,r,i,u,a+1,s*2,c)},s);return}c(l,d)}):c(null,{})}},{key:"prepareLoading",value:function(r,i){var u=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof r=="string"&&(r=this.languageUtils.toResolveHierarchy(r)),typeof i=="string"&&(i=[i]);var s=this.queueLoad(r,i,o,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(function(c){u.loadOne(c)})}},{key:"load",value:function(r,i,u){this.prepareLoading(r,i,{},u)}},{key:"reload",value:function(r,i,u){this.prepareLoading(r,i,{reload:!0},u)}},{key:"loadOne",value:function(r){var i=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=r.split("|"),a=o[0],s=o[1];this.read(a,s,"read",void 0,void 0,function(c,l){c&&i.logger.warn("".concat(u,"loading namespace ").concat(s," for language ").concat(a," failed"),c),!c&&l&&i.logger.log("".concat(u,"loaded namespace ").concat(s," for language ").concat(a),l),i.loaded(r,c,l)})}},{key:"saveMissing",value:function(r,i,u,o,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(i)){this.logger.warn('did not save key "'.concat(u,'" as the namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}u==null||u===""||(this.backend&&this.backend.create&&this.backend.create(r,i,u,o,null,ue({},s,{isUpdate:a})),!(!r||!r[0])&&this.store.addResource(r[0],i,u,o))}}]),e}(It);function Og(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var n={};if(Ue(e[1])==="object"&&(n=e[1]),typeof e[1]=="string"&&(n.defaultValue=e[1]),typeof e[2]=="string"&&(n.tDescription=e[2]),Ue(e[2])==="object"||Ue(e[3])==="object"){var r=e[3]||e[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(e,n,r,i){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}
1function qc(t){return typeof t.ns=="string"&&(t.ns=[t.ns]),typeof t.fallbackLng=="string"&&(t.fallbackLng=[t.fallbackLng]),typeof t.fallbackNS=="string"&&(t.fallbackNS=[t.fallbackNS]),t.whitelist&&(t.whitelist&&t.whitelist.indexOf("cimode")<0&&(t.whitelist=t.whitelist.concat(["cimode"])),t.supportedLngs=t.whitelist),t.nonExplicitWhitelist&&(t.nonExplicitSupportedLngs=t.nonExplicitWhitelist),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function vi(){}var Tg=function(t){wu(e,t);function e(){var n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(ot(this,e),n=Mr(this,Wn(e).call(this)),xu&&It.call(cn(n)),n.options=qc(r),n.services={},n.logger=pt,n.modules={external:[]},i&&!n.isInitialized&&!r.isClone){if(!n.options.initImmediate)return n.init(r,i),Mr(n,cn(n));setTimeout(function(){n.init(r,i)},0)}return n}return at(e,[{key:"init",value:function(){var r=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;typeof i=="function"&&(u=i,i={}),i.whitelist&&!i.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),i.nonExplicitWhitelist&&!i.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=ue({},Og(),this.options,qc(i)),this.format=this.options.interpolation.format,u||(u=vi);function o(h){return h?typeof h=="function"?new h:h:null}if(!this.options.isClone){this.modules.logger?pt.init(o(this.modules.logger),this.options):pt.init(null,this.options);var a=new _g(this.options);this.store=new bg(this.options.resources,this.options);var s=this.services;s.logger=pt,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new Eg(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),s.interpolator=new kg(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new Cg(o(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",function(h){for(var g=arguments.length,v=new Array(g>1?g-1:0),m=1;m<g;m++)v[m-1]=arguments[m];r.emit.apply(r,[h].concat(v))}),this.modules.languageDetector&&(s.languageDetector=o(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=o(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new Vc(this.services,this.options),this.translator.on("*",function(h){for(var g=arguments.length,v=new Array(g>1?g-1:0),m=1;m<g;m++)v[m-1]=arguments[m];r.emit.apply(r,[h].concat(v))}),this.modules.external.forEach(function(h){h.init&&h.init(r)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&c[0]!=="dev"&&(this.options.lng=c[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var l=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];l.forEach(function(h){r[h]=function(){var g;return(g=r.store)[h].apply(g,arguments)}});var d=["addResource","addResources","addResourceBundle","removeResourceBundle"];d.forEach(function(h){r[h]=function(){var g;return(g=r.store)[h].apply(g,arguments),r}});var f=gr(),p=function(){var g=function(m,y){r.isInitialized&&!r.initializedStoreOnce&&r.logger.warn("init: i18next is already initialized. You should call init just once!"),r.isInitialized=!0,r.options.isClone||r.logger.log("initialized",r.options),r.emit("initialized",r.options),f.resolve(y),u(m,y)};if(r.languages&&r.options.compatibilityAPI!=="v1"&&!r.isInitialized)return g(null,r.t.bind(r));r.changeLanguage(r.options.lng,g)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),f}},{key:"loadResources",value:function(r){var i=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vi,o=u,a=typeof r=="string"?r:this.language;if(typeof r=="function"&&(o=r),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return o();var s=[],c=function(f){if(f){var p=i.services.languageUtils.toResolveHierarchy(f);p.forEach(function(h){s.indexOf(h)<0&&s.push(h)})}};if(a)c(a);else{var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.forEach(function(d){return c(d)})}
1this.options.preload&&this.options.preload.forEach(function(d){return c(d)}),this.services.backendConnector.load(s,this.options.ns,o)}else o(null)}},{key:"reloadResources",value:function(r,i,u){var o=gr();return r||(r=this.languages),i||(i=this.options.ns),u||(u=vi),this.services.backendConnector.reload(r,i,function(a){o.resolve(),u(a)}),o}},{key:"use",value:function(r){if(!r)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!r.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return r.type==="backend"&&(this.modules.backend=r),(r.type==="logger"||r.log&&r.warn&&r.error)&&(this.modules.logger=r),r.type==="languageDetector"&&(this.modules.languageDetector=r),r.type==="i18nFormat"&&(this.modules.i18nFormat=r),r.type==="postProcessor"&&cp.addPostProcessor(r),r.type==="3rdParty"&&this.modules.external.push(r),this}},{key:"changeLanguage",value:function(r,i){var u=this;this.isLanguageChangingTo=r;var o=gr();this.emit("languageChanging",r);var a=function(l,d){d?(u.language=d,u.languages=u.services.languageUtils.toResolveHierarchy(d),u.translator.changeLanguage(d),u.isLanguageChangingTo=void 0,u.emit("languageChanged",d),u.logger.log("languageChanged",d)):u.isLanguageChangingTo=void 0,o.resolve(function(){return u.t.apply(u,arguments)}),i&&i(l,function(){return u.t.apply(u,arguments)})},s=function(l){!r&&!l&&u.services.languageDetector&&(l=[]);var d=typeof l=="string"?l:u.services.languageUtils.getBestMatchFromCodes(l);d&&(u.language||(u.language=d,u.languages=u.services.languageUtils.toResolveHierarchy(d)),u.translator.language||u.translator.changeLanguage(d),u.services.languageDetector&&u.services.languageDetector.cacheUserLanguage(d)),u.loadResources(d,function(f){a(f,d)})};return!r&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!r&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(s):s(r),o}},{key:"getFixedT",value:function(r,i,u){var o=this,a=function s(c,l){var d;if(Ue(l)!=="object"){for(var f=arguments.length,p=new Array(f>2?f-2:0),h=2;h<f;h++)p[h-2]=arguments[h];d=o.options.overloadTranslationOptionHandler([c,l].concat(p))}else d=ue({},l);d.lng=d.lng||s.lng,d.lngs=d.lngs||s.lngs,d.ns=d.ns||s.ns;var g=o.options.keySeparator||".",v=u?"".concat(u).concat(g).concat(c):c;return o.t(v,d)};return typeof r=="string"?a.lng=r:a.lngs=r,a.ns=i,a.keyPrefix=u,a}},{key:"t",value:function(){var r;return this.translator&&(r=this.translator).translate.apply(r,arguments)}},{key:"exists",value:function(){var r;return this.translator&&(r=this.translator).exists.apply(r,arguments)}},{key:"setDefaultNamespace",value:function(r){this.options.defaultNS=r}},{key:"hasLoadedNamespace",value:function(r){var i=this,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
1if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var o=this.languages[0],a=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(o.toLowerCase()==="cimode")return!0;var c=function(f,p){var h=i.services.backendConnector.state["".concat(f,"|").concat(p)];return h===-1||h===2};if(u.precheck){var l=u.precheck(this,c);if(l!==void 0)return l}return!!(this.hasResourceBundle(o,r)||!this.services.backendConnector.backend||c(o,r)&&(!a||c(s,r)))}},{key:"loadNamespaces",value:function(r,i){var u=this,o=gr();return this.options.ns?(typeof r=="string"&&(r=[r]),r.forEach(function(a){u.options.ns.indexOf(a)<0&&u.options.ns.push(a)}),this.loadResources(function(a){o.resolve(),i&&i(a)}),o):(i&&i(),Promise.resolve())}},{key:"loadLanguages",value:function(r,i){var u=gr();typeof r=="string"&&(r=[r]);var o=this.options.preload||[],a=r.filter(function(s){return o.indexOf(s)<0});return a.length?(this.options.preload=o.concat(a),this.loadResources(function(s){u.resolve(),i&&i(s)}),u):(i&&i(),Promise.resolve())}},{key:"dir",value:function(r){if(r||(r=this.languages&&this.languages.length>0?this.languages[0]:this.language),!r)return"rtl";var i=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"];return i.indexOf(this.services.languageUtils.getLanguagePartFromCode(r))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;return new e(r,i)}},{key:"cloneInstance",value:function(){var r=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vi,o=ue({},this.options,i,{isClone:!0}),a=new e(o),s=["store","services","language"];return s.forEach(function(c){a[c]=r[c]}),a.services=ue({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new Vc(a.services,a.options),a.translator.on("*",function(c){for(var l=arguments.length,d=new Array(l>1?l-1:0),f=1;f<l;f++)d[f-1]=arguments[f];a.emit.apply(a,[c].concat(d))}),a.init(o,u),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),e}(It),u9=new Tg,lp=[],Dg=lp.forEach,Fg=lp.slice;function Ig(t){return Dg.call(Fg.call(arguments,1),function(e){if(e)for(var n in e)t[n]===void 0&&(t[n]=e[n])}),t}var zc=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Rg=function(e,n,r){var i=r||{};i.path=i.path||"/";var u=encodeURIComponent(n),o="".concat(e,"=").concat(u);if(i.maxAge>0){var a=i.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");o+="; Max-Age=".concat(Math.floor(a))}if(i.domain){if(!zc.test(i.domain))throw new TypeError("option domain is invalid");o+="; Domain=".concat(i.domain)}if(i.path){if(!zc.test(i.path))throw new TypeError("option path is invalid");o+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invali
1d");o+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(o+="; HttpOnly"),i.secure&&(o+="; Secure"),i.sameSite){var s=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(s){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return o},Hc={create:function(e,n,r,i){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(u.expires=new Date,u.expires.setTime(u.expires.getTime()+r*60*1e3)),i&&(u.domain=i),document.cookie=Rg(e,encodeURIComponent(n),u)},read:function(e){for(var n="".concat(e,"="),r=document.cookie.split(";"),i=0;i<r.length;i++){for(var u=r[i];u.charAt(0)===" ";)u=u.substring(1,u.length);if(u.indexOf(n)===0)return u.substring(n.length,u.length)}return null},remove:function(e){this.create(e,"",-1)}},Pg={name:"cookie",lookup:function(e){var n;if(e.lookupCookie&&typeof document<"u"){var r=Hc.read(e.lookupCookie);r&&(n=r)}return n}
vendor: 1,468 bytes, line 1
1,cacheUserLanguage:function(e,n){n.lookupCookie&&typeof document<"u"&&Hc.create(n.lookupCookie,e,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},Lg={name:"querystring",lookup:function(e){var n;if(typeof window<"u"){var r=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),u=i.split("&"),o=0;o<u.length;o++){var a=u[o].indexOf("=");if(a>0){var s=u[o].substring(0,a);s===e.lookupQuerystring&&(n=u[o].substring(a+1))}}}return n}},mr=null,Gc=function(){if(mr!==null)return mr;try{mr=window!=="undefined"&&window.localStorage!==null;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{mr=!1}return mr},Ng={name:"localStorage",lookup:function(e){var n;if(e.lookupLocalStorage&&Gc()){var r=window.localStorage.getItem(e.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(e,n){n.lookupLocalStorage&&Gc()&&window.localStorage.setItem(n.lookupLocalStorage,e)}},yr=null,Wc=function(){if(yr!==null)return yr;try{yr=window!=="undefined"&&window.sessionStorage!==null;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{yr=!1}return yr},$g={name:"sessionStorage",lookup:function(e){var n;if(e.lookupSessionStorage&&Wc()){var r=window.sessionStorage.getItem(e.lookupSessionStorage);r&&(n=r)}return n}
vendor: 5,570 bytes, line 1
1,cacheUserLanguage:function(e,n){n.lookupSessionStorage&&Wc()&&window.sessionStorage.setItem(n.lookupSessionStorage,e)}},jg={name:"navigator",lookup:function(e){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r<navigator.languages.length;r++)n.push(navigator.languages[r]);navigator.userLanguage&&n.push(navigator.userLanguage),navigator.language&&n.push(navigator.language)}return n.length>0?n:void 0}},Mg={name:"htmlTag",lookup:function(e){var n,r=e.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},Bg={name:"path",lookup:function(e){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof e.lookupFromPathIndex=="number"){if(typeof r[e.lookupFromPathIndex]!="string")return;n=r[e.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},Ug={name:"subdomain",lookup:function(e){var n=typeof e.lookupFromSubdomainIndex=="number"?e.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function Vg(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var qg=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ot(this,t),this.type="languageDetector",this.detectors={},this.init(e,n)}return at(t,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=Ig(r,this.options||{},Vg()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(Pg),this.addDetector(Lg),this.addDetector(Ng),this.addDetector($g),this.addDetector(jg),this.addDetector(Mg),this.addDetector(Bg),this.addDetector(Ug)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(u){if(r.detectors[u]){var o=r.detectors[u].lookup(r.options);o&&typeof o=="string"&&(o=[o]),o&&(i=i.concat(o))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(u){i.detectors[u]&&i.detectors[u].cacheUserLanguage(n,i.options)}))}}]),t}();qg.type="languageDetector";function dp(t,e){return function(){return t.apply(e,arguments)}}const{toString:zg}=Object.prototype,{getPrototypeOf:ys}=Object,{iterator:Su,toStringTag:fp}=Symbol,Eu=(t=>e=>{const n=zg.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ze=t=>(t=t.toLowerCase(),e=>Eu(e)===t),ku=t=>e=>typeof e===t,{isArray:sr}=Array,Br=ku("undefined");function ei(t){return t!==null&&!Br(t)&&t.constructor!==null&&!Br(t.constructor)&&ke(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const pp=ze("ArrayBuffer");function Hg(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&pp(t.buffer),e}const Gg=ku("string"),ke=ku("function"),hp=ku("number"),ti=t=>t!==null&&typeof t=="object",Wg=t=>t===!0||t===!1,Bi=t=>{if(Eu(t)!=="object")return!1;const e=ys(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(fp in t)&&!(Su in t)},Kg=t=>{if(!ti(t)||ei(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},Jg=ze("Date"),Yg=ze("File"),Zg=ze("Blob"),Xg=ze("FileList"),Qg=t=>ti(t)&&ke(t.pipe),e1=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||ke(t.append)&&((e=Eu(t))==="formdata"||e==="object"&&ke(t.toString)&&t.toString()==="[object FormData]"))},t1=ze("URLSearchParams"),[n1,r1,i1,u1]=["ReadableStream","Request","Response","Headers"].map(ze),o1=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ni(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,i;if(typeof t!="object"&&(t=[t]),sr(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{if(ei(t))return;const u=n?Object.getOwnPropertyNames(t):Object.keys(t),o=u.length;let a;for(r=0;r<o;r++)a=u[r],e.call(null,t[a],a,t)}}function vp(t,e){if(ei(t))return null;e=e.toLowerCase();const n=Object.keys(t);let r=n.length,i;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const Qt=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),gp=t=>!Br(t)&&t!==Qt;function Zo(){const{caseless:t}=gp(this)&&this||{},e={},n=(r,i)=>{const u=t&&vp(e,i)||i;Bi(e[u])&&Bi(r)?e[u]=Zo(e[u],r):Bi(r)?e[u]=Zo({},r):sr(r)?e[u]=r.slice():e[u]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&ni(arguments[r],n);return e}const a1=(t,e,n,{allOwnKeys:r}={})=>(ni(e,(i,u)=>{n&&ke(i)?t[u]=dp(i,n):t[u]=i},{allOwnKeys:r}),t),s1=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),c1=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},l1=(t,e,n,r)=>{let i,u,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),u=i.length;u-- >0;
vendor: 4,222 bytes, line 1
1)o=i[u],(!r||r(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&ys(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},d1=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},f1=t=>{if(!t)return null;if(sr(t))return t;let e=t.length;if(!hp(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},p1=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&ys(Uint8Array)),h1=(t,e)=>{const r=(t&&t[Su]).call(t);let i;for(;(i=r.next())&&!i.done;){const u=i.value;e.call(t,u[0],u[1])}},v1=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},g1=ze("HTMLFormElement"),m1=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Kc=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),y1=ze("RegExp"),mp=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};ni(n,(i,u)=>{let o;(o=e(i,u,t))!==!1&&(r[u]=o||i)}),Object.defineProperties(t,r)},b1=t=>{mp(t,(e,n)=>{if(ke(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(ke(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},_1=(t,e)=>{const n={},r=i=>{i.forEach(u=>{n[u]=!0})};return sr(t)?r(t):r(String(t).split(e)),n},w1=()=>{},x1=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function S1(t){return!!(t&&ke(t.append)&&t[fp]==="FormData"&&t[Su])}const E1=t=>{const e=new Array(10),n=(r,i)=>{if(ti(r)){if(e.indexOf(r)>=0)return;if(ei(r))return r;if(!("toJSON"in r)){e[i]=r;const u=sr(r)?[]:{};return ni(r,(o,a)=>{const s=n(o,i+1);!Br(s)&&(u[a]=s)}),e[i]=void 0,u}}return r};return n(t,0)},k1=ze("AsyncFunction"),A1=t=>t&&(ti(t)||ke(t))&&ke(t.then)&&ke(t.catch),yp=((t,e)=>t?setImmediate:e?((n,r)=>(Qt.addEventListener("message",({source:i,data:u})=>{i===Qt&&u===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Qt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ke(Qt.postMessage)),C1=typeof queueMicrotask<"u"?queueMicrotask.bind(Qt):typeof process<"u"&&process.nextTick||yp,O1=t=>t!=null&&ke(t[Su]),D={isArray:sr,isArrayBuffer:pp,isBuffer:ei,isFormData:e1,isArrayBufferView:Hg,isString:Gg,isNumber:hp,isBoolean:Wg,isObject:ti,isPlainObject:Bi,isEmptyObject:Kg,isReadableStream:n1,isRequest:r1,isResponse:i1,isHeaders:u1,isUndefined:Br,isDate:Jg,isFile:Yg,isBlob:Zg,isRegExp:y1,isFunction:ke,isStream:Qg,isURLSearchParams:t1,isTypedArray:p1,isFileList:Xg,forEach:ni,merge:Zo,extend:a1,trim:o1,stripBOM:s1,inherits:c1,toFlatObject:l1,kindOf:Eu,kindOfTest:ze,endsWith:d1,toArray:f1,forEachEntry:h1,matchAll:v1,isHTMLForm:g1,hasOwnProperty:Kc,hasOwnProp:Kc,reduceDescriptors:mp,freezeMethods:b1,toObjectSet:_1,toCamelCase:m1,noop:w1,toFiniteNumber:x1,findKey:vp,global:Qt,isContextDefined:gp,isSpecCompliantForm:S1,toJSONObject:E1,isAsyncFn:k1,isThenable:A1,setImmediate:yp,asap:C1,isIterable:O1};function H(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}D.inherits(H,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:D.toJSONObject(this.config),code:this.code,status:this.status}}});const bp=H.prototype,_p={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{_p[t]={value:t}});Object.defineProperties(H,_p);Object.defineProperty(bp,"isAxiosError",{value:!0});H.from=(t,e,n,r,i,u)=>{const o=Object.create(bp);return D.toFlatObject(t,o,function(s){return s!==Error.prototype},a=>a!=="isAxiosError"),H.call(o,t.message,e,n,r,i),o.cause=t,o.name=t.name,u&&Object.assign(o,u),o};const T1=null;function Xo(t){return D.isPlainObject(t)||D.isArray(t)}function wp(t){return D.endsWith(t,"[]")?t.slice(0,-2):t}
vendor: 1,716 bytes, line 1
1function Jc(t,e,n){return t?t.concat(e).map(function(i,u){return i=wp(i),!n&&u?"["+i+"]":i}).join(n?".":""):e}function D1(t){return D.isArray(t)&&!t.some(Xo)}const F1=D.toFlatObject(D,{},null,function(e){return/^is[A-Z]/.test(e)});function Au(t,e,n){if(!D.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=D.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,v){return!D.isUndefined(v[g])});const r=n.metaTokens,i=n.visitor||l,u=n.dots,o=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&D.isSpecCompliantForm(e);if(!D.isFunction(i))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(D.isDate(h))return h.toISOString();if(D.isBoolean(h))return h.toString();if(!s&&D.isBlob(h))throw new H("Blob is not supported. Use a Buffer instead.");return D.isArrayBuffer(h)||D.isTypedArray(h)?s&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function l(h,g,v){let m=h;if(h&&!v&&typeof h=="object"){if(D.endsWith(g,"{}"))g=r?g:g.slice(0,-2),h=JSON.stringify(h);else if(D.isArray(h)&&D1(h)||(D.isFileList(h)||D.endsWith(g,"[]"))&&(m=D.toArray(h)))return g=wp(g),m.forEach(function(x,A){!(D.isUndefined(x)||x===null)&&e.append(o===!0?Jc([g],A,u):o===null?g:g+"[]",c(x))}),!1}return Xo(h)?!0:(e.append(Jc(v,g,u),c(h)),!1)}const d=[],f=Object.assign(F1,{defaultVisitor:l,convertValue:c,isVisitable:Xo});function p(h,g){if(!D.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(h),D.forEach(h,function(m,y){(!(D.isUndefined(m)||m===null)&&i.call(e,m,D.isString(y)?y.trim():y,g,f))===!0&&p(m,g?g.concat(y):[y])}),d.pop()}}if(!D.isObject(t))throw new TypeError("data must be an object");return p(t),e}
vendor: 5,417 bytes, lines 1-2
1function Yc(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function bs(t,e){this._pairs=[],t&&Au(t,this,e)}const xp=bs.prototype;xp.append=function(e,n){this._pairs.push([e,n])};xp.toString=function(e){const n=e?function(r){return e.call(this,r,Yc)}:Yc;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function I1(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Sp(t,e,n){if(!e)return t;const r=n&&n.encode||I1;D.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let u;if(i?u=i(e,n):u=D.isURLSearchParams(e)?e.toString():new bs(e,n).toString(r),u){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+u}return t}class R1{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){D.forEach(this.handlers,function(r){r!==null&&e(r)})}}const Zc=R1,Ep={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},P1=typeof URLSearchParams<"u"?URLSearchParams:bs,L1=typeof FormData<"u"?FormData:null,N1=typeof Blob<"u"?Blob:null,$1={isBrowser:!0,classes:{URLSearchParams:P1,FormData:L1,Blob:N1},protocols:["http","https","file","blob","url","data"]},_s=typeof window<"u"&&typeof document<"u",Qo=typeof navigator=="object"&&navigator||void 0,j1=_s&&(!Qo||["ReactNative","NativeScript","NS"].indexOf(Qo.product)<0),M1=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),B1=_s&&window.location.href||"http://localhost",U1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:_s,hasStandardBrowserEnv:j1,hasStandardBrowserWebWorkerEnv:M1,navigator:Qo,origin:B1},Symbol.toStringTag,{value:"Module"})),ge={...U1,...$1};function V1(t,e){return Au(t,new ge.classes.URLSearchParams,{visitor:function(n,r,i,u){return ge.isNode&&D.isBuffer(n)?(this.append(r,n.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...e})}function q1(t){return D.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function z1(t){const e={},n=Object.keys(t);let r;const i=n.length;let u;for(r=0;r<i;r++)u=n[r],e[u]=t[u];return e}function kp(t){function e(n,r,i,u){let o=n[u++];if(o==="__proto__")return!0;const a=Number.isFinite(+o),s=u>=n.length;return o=!o&&D.isArray(i)?i.length:o,s?(D.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!a):((!i[o]||!D.isObject(i[o]))&&(i[o]=[]),e(n,r,i[o],u)&&D.isArray(i[o])&&(i[o]=z1(i[o])),!a)}if(D.isFormData(t)&&D.isFunction(t.entries)){const n={};return D.forEachEntry(t,(r,i)=>{e(q1(r),i,n,0)}),n}return null}function H1(t,e,n){if(D.isString(t))try{return(e||JSON.parse)(t),D.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const ws={transitional:Ep,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,u=D.isObject(e);if(u&&D.isHTMLForm(e)&&(e=new FormData(e)),D.isFormData(e))return i?JSON.stringify(kp(e)):e;if(D.isArrayBuffer(e)||D.isBuffer(e)||D.isStream(e)||D.isFile(e)||D.isBlob(e)||D.isReadableStream(e))return e;if(D.isArrayBufferView(e))return e.buffer;if(D.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(u){if(r.indexOf("application/x-www-form-urlencoded")>-1)return V1(e,this.formSerializer).toString();if((a=D.isFileList(e))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Au(a?{"files[]":e}:e,s&&new s,this.formSerializer)}}return u||i?(n.setContentType("application/json",!1),H1(e)):e}],transformResponse:[function(e){const n=this.transitional||ws.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(D.isResponse(e)||D.isReadableStream(e))return e;if(e&&D.isString(e)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?H.from(a,H.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ge.classes.FormData,Blob:ge.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};D.forEach(["delete","get","head","post","put","patch"],t=>{ws.headers[t]={}});const xs=ws,G1=D.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),W1=t=>{const e={};let n,r,i;return t&&t.split(` 2`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||e[n]&&G1[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},Xc=Symbol("internals");function br(t){return t&&String(t).trim().toLowerCase()}function Ui(t){return t===!1||t==null?t:D.isArray(t)?t.map(Ui):String(t)}function K1(t){const e=Object.create(null),n=/([^\s,;
2=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const J1=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function fo(t,e,n,r,i){if(D.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!D.isString(e)){if(D.isString(r))return e.indexOf(r)!==-1;if(D.isRegExp(r))return r.test(e)}}function Y1(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Z1(t,e){const n=D.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(i,u,o){return this[r].call(this,e,i,u,o)},configurable:!0})})}let Cu=class{constructor(e){e&&this.set(e)}set(e,n,r){const i=this;function u(a,s,c){const l=br(s);if(!l)throw new Error("header name must be a non-empty string");const d=D.findKey(i,l);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||s]=Ui(a))}const o=(a,s)=>D.forEach(a,(c,l)=>u(c,l,s));if(D.isPlainObject(e)||e instanceof this.constructor)o(e,n);else if(D.isString(e)&&(e=e.trim())&&!J1(e))o(W1(e),n);else if(D.isObject(e)&&D.isIterable(e)){let a={},s,c;for(const l of e){if(!D.isArray(l))throw TypeError("Object iterator must return a key-value pair");a[c=l[0]]=(s=a[c])?D.isArray(s)?[...s,l[1]]:[s,l[1]]:l[1]}o(a,n)}else e!=null&&u(n,e,r);return this}get(e,n){if(e=br(e),e){const r=D.findKey(this,e);if(r){const i=this[r];if(!n)return i;if(n===!0)return K1(i);if(D.isFunction(n))return n.call(this,i,r);if(D.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=br(e),e){const r=D.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||fo(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let i=!1;function u(o){if(o=br(o),o){const a=D.findKey(r,o);a&&(!n||fo(r,r[a],a,n))&&(delete r[a],i=!0)}}return D.isArray(e)?e.forEach(u):u(e),i}clear(e){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const u=n[r];(!e||fo(this,this[u],u,e,!0))&&(delete this[u],i=!0)}return i}normalize(e){const n=this,r={};return D.forEach(this,(i,u)=>{const o=D.findKey(r,u);if(o){n[o]=Ui(i),delete n[u];return}const a=e?Y1(u):String(u).trim();a!==u&&delete n[u],n[a]=Ui(i),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return D.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=e&&D.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` 3`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(i=>r.set(i)),r}static accessor(e){const r=(this[Xc]=this[Xc]={accessors:{}}).accessors,i=this.prototype;function u(o){const a=br(o);r[a]||(Z1(i,o),r[a]=!0)}return D.isArray(e)?e.forEach(u):u(e),this}};Cu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);D.reduceDescriptors(Cu.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});D.freezeMethods(Cu);const Ve=Cu;function po(t,e){const n=this||xs,r=e||n,i=Ve.from(r.headers);let u=r.data;return D.forEach(t,function(a){u=a.call(n,u,i.normalize(),e?e.status:void 0)}),i.normalize(),u}function Ap(t){return!!(t&&t.__CANCEL__)}function cr(t,e,n){H.call(this,t??"canceled",H.ERR_CANCELED,e,n),this.name="CanceledError"}D.inherits(cr,H,{__CANCEL__:!0});function Cp(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new H("Request failed with status code "+n.status,[H.ERR_BAD_REQUEST,H.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function X1(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Q1(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i=0,u=0,o;return e=e!==void 0?e:1e3,function(s){const c=Date.now(),l=r[u];o||(o=c),n[i]=s,r[i]=c;let d=u,f=0;for(;d!==i;)f+=n[d++],d=d%t;if(i=(i+1)%t,i===u&&(u=(u+1)%t),c-o<e)return;const p=l&&c-l;return p?Math.round(f*1e3/p):void 0}}function em(t,e){let n=0,r=1e3/e,i,u;const o=(c,l=Date.now())=>{n=l,i=null,u&&(clearTimeout(u),u=null),t(...c)};return[(...c)=>{const l=Date.now(),d=l-n;d>=r?o(c,l):(i=c,u||(u=setTimeout(()=>{u=null,o(i)},r-d)))},()=>i&&o(i)]}const eu=(t,e,n=3)=>{let r=0;const i=Q1(50,250);return em(u=>{const o=u.loaded,a=u.lengthComputable?u.total:void 0,s=o-r,c=i(s),l=o<=a;r=o;const d={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&l?(a-o)/c:void 0,event:u,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(d)},n)},Qc=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},el=t=>(...e)=>D.asap(()=>t(...e)),tm=ge.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,ge.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(ge.origin),ge.navigator&&/(msie|trident)/i.test(ge.navigator.userAgent)):()=>!0,nm=ge.hasStandardBrowserEnv?{write(t,e,n,r,i,u){const o=[t+"="+encodeURIComponent(e)];D.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),D.isString(r)&&o.push("path="+r),D.isString(i)&&o.push("domain="+i),u===!0&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function rm(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function im(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Op(t,e,n){let r=!rm(e);return t&&(r||n==!1)?im(t,e):e}const tl=t=>t instanceof Ve?{...t}:t;function ln(t,e){e=e||{};const n={};function r(c,l,d,f){return D.isPlainObject(c)&&D.isPlainObject(l)?D.merge.call({caseless:f}
vendor: 4,716 bytes, line 3
3,c,l):D.isPlainObject(l)?D.merge({},l):D.isArray(l)?l.slice():l}function i(c,l,d,f){if(D.isUndefined(l)){if(!D.isUndefined(c))return r(void 0,c,d,f)}else return r(c,l,d,f)}function u(c,l){if(!D.isUndefined(l))return r(void 0,l)}function o(c,l){if(D.isUndefined(l)){if(!D.isUndefined(c))return r(void 0,c)}else return r(void 0,l)}function a(c,l,d){if(d in e)return r(c,l);if(d in t)return r(void 0,c)}const s={url:u,method:u,data:u,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,l,d)=>i(tl(c),tl(l),d,!0)};return D.forEach(Object.keys({...t,...e}),function(l){const d=s[l]||i,f=d(t[l],e[l],l);D.isUndefined(f)&&d!==a||(n[l]=f)}),n}const Tp=t=>{const e=ln({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:u,headers:o,auth:a}=e;e.headers=o=Ve.from(o),e.url=Sp(Op(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let s;if(D.isFormData(n)){if(ge.hasStandardBrowserEnv||ge.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((s=o.getContentType())!==!1){const[c,...l]=s?s.split(";").map(d=>d.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...l].join("; "))}}if(ge.hasStandardBrowserEnv&&(r&&D.isFunction(r)&&(r=r(e)),r||r!==!1&&tm(e.url))){const c=i&&u&&nm.read(u);c&&o.set(i,c)}return e},um=typeof XMLHttpRequest<"u",om=um&&function(t){return new Promise(function(n,r){const i=Tp(t);let u=i.data;const o=Ve.from(i.headers).normalize();let{responseType:a,onUploadProgress:s,onDownloadProgress:c}=i,l,d,f,p,h;function g(){p&&p(),h&&h(),i.cancelToken&&i.cancelToken.unsubscribe(l),i.signal&&i.signal.removeEventListener("abort",l)}let v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function m(){if(!v)return;const x=Ve.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),C={data:!a||a==="text"||a==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:x,config:t,request:v};Cp(function(E){n(E),g()},function(E){r(E),g()},C),v=null}"onloadend"in v?v.onloadend=m:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(m)},v.onabort=function(){v&&(r(new H("Request aborted",H.ECONNABORTED,t,v)),v=null)},v.onerror=function(){r(new H("Network Error",H.ERR_NETWORK,t,v)),v=null},v.ontimeout=function(){let A=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const C=i.transitional||Ep;i.timeoutErrorMessage&&(A=i.timeoutErrorMessage),r(new H(A,C.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,t,v)),v=null},u===void 0&&o.setContentType(null),"setRequestHeader"in v&&D.forEach(o.toJSON(),function(A,C){v.setRequestHeader(C,A)}),D.isUndefined(i.withCredentials)||(v.withCredentials=!!i.withCredentials),a&&a!=="json"&&(v.responseType=i.responseType),c&&([f,h]=eu(c,!0),v.addEventListener("progress",f)),s&&v.upload&&([d,p]=eu(s),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",p)),(i.cancelToken||i.signal)&&(l=x=>{v&&(r(!x||x.type?new cr(null,t,v):x),v.abort(),v=null)},i.cancelToken&&i.cancelToken.subscribe(l),i.signal&&(i.signal.aborted?l():i.signal.addEventListener("abort",l)));const y=X1(i.url);if(y&&ge.protocols.indexOf(y)===-1){r(new H("Unsupported protocol "+y+":",H.ERR_BAD_REQUEST,t));return}v.send(u||null)})},am=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,i;const u=function(c){if(!i){i=!0,a();const l=c instanceof Error?c:this.reason;r.abort(l instanceof H?l:new cr(l instanceof Error?l.message:l))}};let o=e&&setTimeout(()=>{o=null,u(new H(`timeout ${e} of ms exceeded`,H.ETIMEDOUT))},e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(u):c.removeEventListener("abort",u)}),t=null)};t.forEach(c=>c.addEventListener("abort",u));const{signal:s}=r;return s.unsubscribe=()=>D.asap(a),s}},sm=am,cm=function*(t,e){let n=t.byteLength;if(!e||n<e){yield t;return}let r=0,i;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},lm=async function*(t,e){for await(const n of dm(t))yield*cm(n,e)},dm=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:r}=await e.read();if(n)break;yield r}}finally{await e.cancel()}},nl=(t,e,n,r)=>{const i=lm(t,e);let u=0,o,a=s=>
vendor: 4,702 bytes, lines 3-5
3{o||(o=!0,r&&r(s))};return new ReadableStream({async pull(s){try{const{done:c,value:l}=await i.next();if(c){a(),s.close();return}let d=l.byteLength;if(n){let f=u+=d;n(f)}s.enqueue(new Uint8Array(l))}catch(c){throw a(c),c}},cancel(s){return a(s),i.return()}},{highWaterMark:2})},Ou=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Dp=Ou&&typeof ReadableStream=="function",fm=Ou&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),Fp=(t,...e)=>{try{return!!t(...e)}catch{return!1}},pm=Dp&&Fp(()=>{let t=!1;const e=new Request(ge.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),rl=64*1024,ea=Dp&&Fp(()=>D.isReadableStream(new Response("").body)),tu={stream:ea&&(t=>t.body)};Ou&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!tu[e]&&(tu[e]=D.isFunction(t[e])?n=>n[e]():(n,r)=>{throw new H(`Response type '${e}' is not supported`,H.ERR_NOT_SUPPORT,r)})})})(new Response);const hm=async t=>{if(t==null)return 0;if(D.isBlob(t))return t.size;if(D.isSpecCompliantForm(t))return(await new Request(ge.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(D.isArrayBufferView(t)||D.isArrayBuffer(t))return t.byteLength;if(D.isURLSearchParams(t)&&(t=t+""),D.isString(t))return(await fm(t)).byteLength},vm=async(t,e)=>{const n=D.toFiniteNumber(t.getContentLength());return n??hm(e)},gm=Ou&&(async t=>{let{url:e,method:n,data:r,signal:i,cancelToken:u,timeout:o,onDownloadProgress:a,onUploadProgress:s,responseType:c,headers:l,withCredentials:d="same-origin",fetchOptions:f}=Tp(t);c=c?(c+"").toLowerCase():"text";let p=sm([i,u&&u.toAbortSignal()],o),h;const g=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let v;try{if(s&&pm&&n!=="get"&&n!=="head"&&(v=await vm(l,r))!==0){let C=new Request(e,{method:"POST",body:r,duplex:"half"}),_;if(D.isFormData(r)&&(_=C.headers.get("content-type"))&&l.setContentType(_),C.body){const[E,b]=Qc(v,eu(el(s)));r=nl(C.body,rl,E,b)}}D.isString(d)||(d=d?"include":"omit");const m="credentials"in Request.prototype;h=new Request(e,{...f,signal:p,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:m?d:void 0});let y=await fetch(h,f);const x=ea&&(c==="stream"||c==="response");if(ea&&(a||x&&g)){const C={};["status","statusText","headers"].forEach(w=>{C[w]=y[w]});const _=D.toFiniteNumber(y.headers.get("content-length")),[E,b]=a&&Qc(_,eu(el(a),!0))||[];y=new Response(nl(y.body,rl,E,()=>{b&&b(),g&&g()}),C)}c=c||"text";let A=await tu[D.findKey(tu,c)||"text"](y,t);return!x&&g&&g(),await new Promise((C,_)=>{Cp(C,_,{data:A,headers:Ve.from(y.headers),status:y.status,statusText:y.statusText,config:t,request:h})})}catch(m){throw g&&g(),m&&m.name==="TypeError"&&/Load failed|fetch/i.test(m.message)?Object.assign(new H("Network Error",H.ERR_NETWORK,t,h),{cause:m.cause||m}):H.from(m,m&&m.code,t,h)}}),ta={http:T1,xhr:om,fetch:gm};D.forEach(ta,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const il=t=>`- ${t}`,mm=t=>D.isFunction(t)||t===null||t===!1,Ip={getAdapter:t=>{t=D.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let u=0;u<e;u++){n=t[u];let o;if(r=n,!mm(n)&&(r=ta[(o=String(n)).toLowerCase()],r===void 0))throw new H(`Unknown adapter '${o}'`);if(r)break;i[o||"#"+u]=r}if(!r){const u=Object.entries(i).map(([a,s])=>`adapter ${a} `+(s===!1?"is not supported by the environment":"is not available in the build"));let o=e?u.length>1?`since : 4`+u.map(il).join(` 5`):" "+il(u[0]):"as no adapter specified";throw new H("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:ta};function ho(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new cr(null,t)}function ul(t){return ho(t),t.headers=Ve.from(t.headers),t.data=po.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Ip.getAdapter(t.adapter||xs.adapter)(t).then(function(r){return ho(t),r.data=po.call(t,t.transformResponse,r),r.headers=Ve.from(r.headers),r},function(r){return Ap(r)||(ho(t),r&&r.response&&(r.response.data=po.call(t,t.transformResponse,r.response),r.response.headers=Ve.from(r.response.headers))),Promise.reject(r)})}const Rp="1.11.0",Tu={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Tu[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const ol={};Tu.transitional=function(e,n,r){function i(u,o){return"[Axios v"+Rp+"] Transitional option '"+u+"'"+o+(r?". "+r:"")}return(u,o,a)=>
vendor: 4,471 bytes, lines 5-6
5{if(e===!1)throw new H(i(o," has been removed"+(n?" in "+n:"")),H.ERR_DEPRECATED);return n&&!ol[o]&&(ol[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(u,o,a):!0}};Tu.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function ym(t,e,n){if(typeof t!="object")throw new H("options must be an object",H.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const u=r[i],o=e[u];if(o){const a=t[u],s=a===void 0||o(a,u,t);if(s!==!0)throw new H("option "+u+" must be "+s,H.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new H("Unknown option "+u,H.ERR_BAD_OPTION)}}const Vi={assertOptions:ym,validators:Tu},He=Vi.validators;let nu=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Zc,response:new Zc}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const u=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?u&&!String(r.stack).endsWith(u.replace(/^.+\n.+\n/,""))&&(r.stack+=` 6`+u):r.stack=u}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=ln(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:u}=n;r!==void 0&&Vi.assertOptions(r,{silentJSONParsing:He.transitional(He.boolean),forcedJSONParsing:He.transitional(He.boolean),clarifyTimeoutError:He.transitional(He.boolean)},!1),i!=null&&(D.isFunction(i)?n.paramsSerializer={serialize:i}:Vi.assertOptions(i,{encode:He.function,serialize:He.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Vi.assertOptions(n,{baseUrl:He.spelling("baseURL"),withXsrfToken:He.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=u&&D.merge(u.common,u[n.method]);u&&D.forEach(["delete","get","head","post","put","patch","common"],h=>{delete u[h]}),n.headers=Ve.concat(o,u);const a=[];let s=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(s=s&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let l,d=0,f;if(!s){const h=[ul.bind(this),void 0];for(h.unshift(...a),h.push(...c),f=h.length,l=Promise.resolve(n);d<f;)l=l.then(h[d++],h[d++]);return l}f=a.length;let p=n;for(d=0;d<f;){const h=a[d++],g=a[d++];try{p=h(p)}catch(v){g.call(this,v);break}}try{l=ul.call(this,p)}catch(h){return Promise.reject(h)}for(d=0,f=c.length;d<f;)l=l.then(c[d++],c[d++]);return l}getUri(e){e=ln(this.defaults,e);const n=Op(e.baseURL,e.url,e.allowAbsoluteUrls);return Sp(n,e.params,e.paramsSerializer)}};D.forEach(["delete","get","head","options"],function(e){nu.prototype[e]=function(n,r){return this.request(ln(r||{},{method:e,url:n,data:(r||{}).data}))}});D.forEach(["post","put","patch"],function(e){function n(r){return function(u,o,a){return this.request(ln(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:u,data:o}))}}nu.prototype[e]=n(),nu.prototype[e+"Form"]=n(!0)});const qi=nu;let bm=class Pp{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(u){n=u});const r=this;this.promise.then(i=>{if(!r._listeners)return;let u=r._listeners.length;for(;u-- >0;)r._listeners[u](i);r._listeners=null}),this.promise.then=i=>{let u;const o=new Promise(a=>{r.subscribe(a),u=a}).then(i);return o.cancel=function(){r.unsubscribe(u)},o},e(function(u,o,a){r.reason||(r.reason=new cr(u,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new Pp(function(i){e=i}),cancel:e}}};const _m=bm;function wm(t){return function(n){return t.apply(null,n)}}function xm(t){return D.isObject(t)&&t.isAxiosError===!0}const na={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
6setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(na).forEach(([t,e])=>{na[e]=t});const Sm=na;function Lp(t){const e=new qi(t),n=dp(qi.prototype.request,e);return D.extend(n,qi.prototype,e,{allOwnKeys:!0}),D.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return Lp(ln(t,i))},n}const oe=Lp(xs);oe.Axios=qi;oe.CanceledError=cr;oe.CancelToken=_m;oe.isCancel=Ap;oe.VERSION=Rp;oe.toFormData=Au;oe.AxiosError=H;oe.Cancel=oe.CanceledError;oe.all=function(e){return Promise.all(e)};oe.spread=wm;oe.isAxiosError=xm;oe.mergeConfig=ln;oe.AxiosHeaders=Ve;oe.formToJSON=t=>kp(D.isHTMLForm(t)?new FormData(t):t);oe.getAdapter=Ip.getAdapter;oe.HttpStatusCode=Sm;oe.default=oe;const Np=oe,{Axios:Em,AxiosError:km,CanceledError:Am,isCancel:Cm,CancelToken:Om,VERSION:Tm,all:Dm,Cancel:Fm,isAxiosError:Im,spread:Rm,toFormData:Pm,AxiosHeaders:Lm,HttpStatusCode:Nm,formToJSON:$m,getAdapter:jm,mergeConfig:Mm}=Np,Bm=Object.freeze(Object.defineProperty({__proto__:null,Axios:Em,AxiosError:km,AxiosHeaders:Lm,Cancel:Fm,CancelToken:Om,CanceledError:Am,HttpStatusCode:Nm,VERSION:Tm,all:Dm,default:Np,formToJSON:$m,getAdapter:jm,isAxiosError:Im,isCancel:Cm,mergeConfig:Mm,spread:Rm,toFormData:Pm},Symbol.toStringTag,{value:"Module"}));var Um=typeof self=="object"?self.FormData:window.FormData;const s9=Qr(Um);var Ae="top",Le="bottom",Ne="right",Ce="left",Ss="auto",ri=[Ae,Le,Ne,Ce],Kn="start",Ur="end",Vm="clippingParents",$p="viewport",_r="popper",qm="reference",al=ri.reduce(function(t,e){return t.concat([e+"-"+Kn,e+"-"+Ur])},[]),Du=[].concat(ri,[Ss]).reduce(function(t,e){return t.concat([e,e+"-"+Kn,e+"-"+Ur])},[]),zm="beforeRead",Hm="read",Gm="afterRead",Wm="beforeMain",Km="main",Jm="afterMain",Ym="beforeWrite",Zm="write",Xm="afterWrite",Qm=[zm,Hm,Gm,Wm,Km,Jm,Ym,Zm,Xm];function nt(t){return t?(t.nodeName||"").toLowerCase():null}function Fe(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function dn(t){var e=Fe(t).Element;return t instanceof e||t instanceof Element}function Re(t){var e=Fe(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Es(t){if(typeof ShadowRoot>"u")return!1;var e=Fe(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function ey(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},u=e.elements[n];
vendor: 18,825 bytes, line 6
6!Re(u)||!nt(u)||(Object.assign(u.style,r),Object.keys(i).forEach(function(o){var a=i[o];a===!1?u.removeAttribute(o):u.setAttribute(o,a===!0?"":a)}))})}function ty(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],u=e.attributes[r]||{},o=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),a=o.reduce(function(s,c){return s[c]="",s},{});!Re(i)||!nt(i)||(Object.assign(i.style,a),Object.keys(u).forEach(function(s){i.removeAttribute(s)}))})}}const ny={name:"applyStyles",enabled:!0,phase:"write",fn:ey,effect:ty,requires:["computeStyles"]};function Xe(t){return t.split("-")[0]}var un=Math.max,ru=Math.min,Jn=Math.round;function ra(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function jp(){return!/^((?!chrome|android).)*safari/i.test(ra())}function Yn(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,u=1;e&&Re(t)&&(i=t.offsetWidth>0&&Jn(r.width)/t.offsetWidth||1,u=t.offsetHeight>0&&Jn(r.height)/t.offsetHeight||1);var o=dn(t)?Fe(t):window,a=o.visualViewport,s=!jp()&&n,c=(r.left+(s&&a?a.offsetLeft:0))/i,l=(r.top+(s&&a?a.offsetTop:0))/u,d=r.width/i,f=r.height/u;return{width:d,height:f,top:l,right:c+d,bottom:l+f,left:c,x:c,y:l}}function ks(t){var e=Yn(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Mp(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Es(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function gt(t){return Fe(t).getComputedStyle(t)}function ry(t){return["table","td","th"].indexOf(nt(t))>=0}function jt(t){return((dn(t)?t.ownerDocument:t.document)||window.document).documentElement}function Fu(t){return nt(t)==="html"?t:t.assignedSlot||t.parentNode||(Es(t)?t.host:null)||jt(t)}function sl(t){return!Re(t)||gt(t).position==="fixed"?null:t.offsetParent}function iy(t){var e=/firefox/i.test(ra()),n=/Trident/i.test(ra());if(n&&Re(t)){var r=gt(t);if(r.position==="fixed")return null}var i=Fu(t);for(Es(i)&&(i=i.host);Re(i)&&["html","body"].indexOf(nt(i))<0;){var u=gt(i);if(u.transform!=="none"||u.perspective!=="none"||u.contain==="paint"||["transform","perspective"].indexOf(u.willChange)!==-1||e&&u.willChange==="filter"||e&&u.filter&&u.filter!=="none")return i;i=i.parentNode}return null}function ii(t){for(var e=Fe(t),n=sl(t);n&&ry(n)&>(n).position==="static";)n=sl(n);return n&&(nt(n)==="html"||nt(n)==="body"&>(n).position==="static")?e:n||iy(t)||e}function As(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Pr(t,e,n){return un(t,ru(e,n))}function uy(t,e,n){var r=Pr(t,e,n);return r>n?n:r}function Bp(){return{top:0,right:0,bottom:0,left:0}}function Up(t){return Object.assign({},Bp(),t)}function Vp(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var oy=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Up(typeof e!="number"?e:Vp(e,ri))};function ay(t){var e,n=t.state,r=t.name,i=t.options,u=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Xe(n.placement),s=As(a),c=[Ce,Ne].indexOf(a)>=0,l=c?"height":"width";if(!(!u||!o)){var d=oy(i.padding,n),f=ks(u),p=s==="y"?Ae:Ce,h=s==="y"?Le:Ne,g=n.rects.reference[l]+n.rects.reference[s]-o[s]-n.rects.popper[l],v=o[s]-n.rects.reference[s],m=ii(u),y=m?s==="y"?m.clientHeight||0:m.clientWidth||0:0,x=g/2-v/2,A=d[p],C=y-f[l]-d[h],_=y/2-f[l]/2+x,E=Pr(A,_,C),b=s;n.modifiersData[r]=(e={},e[b]=E,e.centerOffset=E-_,e)}}function sy(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||Mp(e.elements.popper,i)&&(e.elements.arrow=i))}const cy={name:"arrow",enabled:!0,phase:"main",fn:ay,effect:sy,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Zn(t){return t.split("-")[1]}var ly={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dy(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:Jn(n*i)/i||0,y:Jn(r*i)/i||0}}function cl(t){var e,n=t.popper,r=t.popperRect,i=t.placement,u=t.variation,o=t.offsets,a=t.position,s=t.gpuAcceleration,c=t.adaptive,l=t.roundOffsets,d=t.isFixed,f=o.x,p=f===void 0?0:f,h=o.y,g=h===void 0?0:h,v=typeof l=="function"?l({x:p,y:g}):{x:p,y:g};p=v.x,g=v.y;var m=o.hasOwnProperty("x"),y=o.hasOwnProperty("y"),x=Ce,A=Ae,C=window;if(c){var _=ii(n),E="clientHeight",b="clientWidth";if(_===Fe(n)&&(_=jt(n),gt(_).position!=="static"&&a==="absolute"&&(E="scrollHeight",b="scrollWidth")),_=_,i===Ae||(i===Ce||i===Ne)&&u===Ur){A=Le;var w=d&&_===C&&C.visualViewport?C.visualViewport.height:_[E];g-=w-r.height,g*=s?1:-1}if(i===Ce||(i===Ae||i===Le)&&u===Ur){x=Ne;var S=d&&_===C&&C.visualViewport?C.visualViewport.width:_[b];p-=S-r.width,p*=s?1:-1}}var k=Object.assign({position:a},c&&ly),T=l===!0?dy({x:p,y:g},Fe(n)):{x:p,y:g};if(p=T.x,g=T.y,s){var O;return Object.assign({},k,(O={},O[A]=y?"0":"",O[x]=m?"0":"",O.transform=(C.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",O))}return Object.assign({},k,(e={},e[A]=y?g+"px":"",e[x]=m?p+"px":"",e.transform="",e))}function fy(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,u=n.adaptive,o=u===void 0?!0:u,a=n.roundOffsets,s=a===void 0?!0:a,c={placement:Xe(e.placement),variation:Zn(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,cl(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:s})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,cl(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const py={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:fy,data:{}};var gi={passive:!0};function hy(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,u=i===void 0?!0:i,o=r.resize,a=o===void 0?!0:o,s=Fe(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return u&&c.forEach(function(l){l.addEventListener("scroll",n.update,gi)}),a&&s.addEventListener("resize",n.update,gi),function(){u&&c.forEach(function(l){l.removeEventListener("scroll",n.update,gi)}),a&&s.removeEventListener("resize",n.update,gi)}}const vy={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:hy,data:{}};var gy={left:"right",right:"left",bottom:"top",top:"bottom"};function zi(t){return t.replace(/left|right|bottom|top/g,function(e){return gy[e]})}var my={start:"end",end:"start"};function ll(t){return t.replace(/start|end/g,function(e){return my[e]})}function Cs(t){var e=Fe(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Os(t){return Yn(jt(t)).left+Cs(t).scrollLeft}function yy(t,e){var n=Fe(t),r=jt(t),i=n.visualViewport,u=r.clientWidth,o=r.clientHeight,a=0,s=0;if(i){u=i.width,o=i.height;var c=jp();(c||!c&&e==="fixed")&&(a=i.offsetLeft,s=i.offsetTop)}return{width:u,height:o,x:a+Os(t),y:s}}function by(t){var e,n=jt(t),r=Cs(t),i=(e=t.ownerDocument)==null?void 0:e.body,u=un(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=un(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+Os(t),s=-r.scrollTop;return gt(i||n).direction==="rtl"&&(a+=un(n.clientWidth,i?i.clientWidth:0)-u),{width:u,height:o,x:a,y:s}}function Ts(t){var e=gt(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function qp(t){return["html","body","#document"].indexOf(nt(t))>=0?t.ownerDocument.body:Re(t)&&Ts(t)?t:qp(Fu(t))}function Lr(t,e){var n;e===void 0&&(e=[]);var r=qp(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),u=Fe(r),o=i?[u].concat(u.visualViewport||[],Ts(r)?r:[]):r,a=e.concat(o);return i?a:a.concat(Lr(Fu(o)))}function ia(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _y(t,e){var n=Yn(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function dl(t,e,n){return e===$p?ia(yy(t,n)):dn(e)?_y(e,n):ia(by(jt(t)))}function wy(t){var e=Lr(Fu(t)),n=["absolute","fixed"].indexOf(gt(t).position)>=0,r=n&&Re(t)?ii(t):t;return dn(r)?e.filter(function(i){return dn(i)&&Mp(i,r)&&nt(i)!=="body"}):[]}function xy(t,e,n,r){var i=e==="clippingParents"?wy(t):[].concat(e),u=[].concat(i,[n]),o=u[0],a=u.reduce(function(s,c){var l=dl(t,c,r);return s.top=un(l.top,s.top),s.right=ru(l.right,s.right),s.bottom=ru(l.bottom,s.bottom),s.left=un(l.left,s.left),s},dl(t,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function zp(t){var e=t.reference,n=t.element,r=t.placement,i=r?Xe(r):null,u=r?Zn(r):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,s;switch(i){case Ae:s={x:o,y:e.y-n.height};break;case Le:s={x:o,y:e.y+e.height};break;case Ne:s={x:e.x+e.width,y:a};break;case Ce:s={x:e.x-n.width,y:a};break;default:s={x:e.x,y:e.y}}var c=i?As(i):null;if(c!=null){var l=c==="y"?"height":"width";switch(u){case Kn:s[c]=s[c]-(e[l]/2-n[l]/2);break;case Ur:s[c]=s[c]+(e[l]/2-n[l]/2);break}}return s}function Vr(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,u=n.strategy,o=u===void 0?t.strategy:u,a=n.boundary,s=a===void 0?Vm:a,c=n.rootBoundary,l=c===void 0?$p:c,d=n.elementContext,f=d===void 0?_r:d,p=n.altBoundary,h=p===void 0?!1:p,g=n.padding,v=g===void 0?0:g,m=Up(typeof v!="number"?v:Vp(v,ri)),y=f===_r?qm:_r,x=t.rects.popper,A=t.elements[h?y:f],C=xy(dn(A)?A:A.contextElement||jt(t.elements.popper),s,l,o),_=Yn(t.elements.reference),E=zp({reference:_,element:x,strategy:"absolute",placement:i}),b=ia(Object.assign({},x,E)),w=f===_r?b:_,S={top:C.top-w.top+m.top,bottom:w.bottom-C.bottom+m.bottom,left:C.left-w.left+m.left,right:w.right-C.right+m.right},k=t.modifiersData.offset;if(f===_r&&k){var T=k[i];Object.keys(S).forEach(function(O){var R=[Ne,Le].indexOf(O)>=0?1:-1,P=[Ae,Le].indexOf(O)>=0?"y":"x";S[O]+=T[P]*R})}return S}function Sy(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,u=n.rootBoundary,o=n.padding,a=n.flipVariations,s=n.allowedAutoPlacements,c=s===void 0?Du:s,l=Zn(r),d=l?a?al:al.filter(function(h){return Zn(h)===l}):ri,f=d.filter(function(h){return c.indexOf(h)>=0});f.length===0&&(f=d);var p=f.reduce(function(h,g){return h[g]=Vr(t,{placement:g,boundary:i,rootBoundary:u,padding:o})[Xe(g)],h},{});return Object.keys(p).sort(function(h,g){return p[h]-p[g]})}function Ey(t){if(Xe(t)===Ss)return[];var e=zi(t);return[ll(t),e,ll(e)]}function ky(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,u=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!0:o,s=n.fallbackPlacements,c=n.padding,l=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,g=n.allowedAutoPlacements,v=e.options.placement,m=Xe(v),y=m===v,x=s||(y||!h?[zi(v)]:Ey(v)),A=[v].concat(x).reduce(function(se,pe){return se.concat(Xe(pe)===Ss?Sy(e,{placement:pe,boundary:l,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:g}):pe)},[]),C=e.rects.reference,_=e.rects.popper,E=new Map,b=!0,w=A[0],S=0;S<A.length;S++){var k=A[S],T=Xe(k),O=Zn(k)===Kn,R=[Ae,Le].indexOf(T)>=0,P=R?"width":"height",$=Vr(e,{placement:k,boundary:l,rootBoundary:d,altBoundary:f,padding:c}),U=R?O?Ne:Ce:O?Le:Ae;C[P]>_[P]&&(U=zi(U));var q=zi(U),j=[];if(u&&j.push($[T]<=0),a&&j.push($[U]<=0,$[q]<=0),j.every(function(se){return se})){w=k,b=!1;break}E.set(k,j)}if(b)for(var K=h?3:1,J=function(pe){var yt=A.find(function(bt){var we=E.get(bt);if(we)return we.slice(0,pe).every(function(Bt){return Bt})});if(yt)return w=yt,"break"},fe=K;fe>0;fe--){var ae=J(fe);if(ae==="break")break}e.placement!==w&&(e.modifiersData[r]._skip=!0,e.placement=w,e.reset=!0)}}const Ay={name:"flip",enabled:!0,phase:"main",fn:ky,requiresIfExists:["offset"],data:{_skip:!1}};function fl(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function pl(t){return[Ae,Ne,Le,Ce].some(function(e){return t[e]>=0})}function Cy(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,u=e.modifiersData.preventOverflow,o=Vr(e,{elementContext:"reference"}),a=Vr(e,{altBoundary:!0}),s=fl(o,r),c=fl(a,i,u),l=pl(s),d=pl(c);e.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":d})}const Oy={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Cy};function Ty(t,e,n){var r=Xe(t),i=[Ce,Ae].indexOf(r)>=0?-1:1,u=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=u[0],a=u[1];return o=o||0,a=(a||0)*i,[Ce,Ne].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function Dy(t){var e=t.state,n=t.options,r=t.name,i=n.offset,u=i===void 0?[0,0]:i,o=Du.reduce(function(l,d){return l[d]=Ty(d,e.rects,u),l},{}),a=o[e.placement],s=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=s,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=o}const Fy={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Dy};function Iy(t){var e=t.state,n=t.name;e.modifiersData[n]=zp({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Ry={name:"popperOffsets",enabled:!0,phase:"read",fn:Iy,data:{}};function Py(t){return t==="x"?"y":"x"}function Ly(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,u=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!1:o,s=n.boundary,c=n.rootBoundary,l=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,h=n.tetherOffset,g=h===void 0?0:h,v=Vr(e,{boundary:s,rootBoundary:c,padding:d,altBoundary:l}),m=Xe(e.placement),y=Zn(e.placement),x=!y,A=As(m),C=Py(A),_=e.modifiersData.popperOffsets,E=e.rects.reference,b=e.rects.popper,w=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,S=typeof w=="number"?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),k=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,T={x:0,y:0};if(_){if(u){var O,R=A==="y"?Ae:Ce,P=A==="y"?Le:Ne,$=A==="y"?"height":"width",U=_[A],q=U+v[R],j=U-v[P],K=p?-b[$]/2:0,J=y===Kn?E[$]:b[$],fe=y===Kn?-b[$]:-E[$],ae=e.elements.arrow,se=p&&ae?ks(ae):{width:0,height:0},pe=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Bp(),yt=pe[R],bt=pe[P],we=Pr(0,E[$],se[$]),Bt=x?E[$]/2-K-we-yt-S.mainAxis:J-we-yt-S.mainAxis,pi=x?-E[$]/2+K+we+bt+S.mainAxis:fe+we+bt+S.mainAxis,so=e.elements.arrow&&ii(e.elements.arrow),tg=so?A==="y"?so.clientTop||0:so.clientLeft||0:0,Oc=(O=k==null?void 0:k[A])!=null?O:0,ng=U+Bt-Oc-tg,rg=U+pi-Oc,Tc=Pr(p?ru(q,ng):q,U,p?un(j,rg):j);_[A]=Tc,T[A]=Tc-U}if(a){var Dc,ig=A==="x"?Ae:Ce,ug=A==="x"?Le:Ne,Ut=_[C],hi=C==="y"?"height":"width",Fc=Ut+v[ig],Ic=Ut-v[ug],co=[Ae,Ce].indexOf(m)!==-1,Rc=(Dc=k==null?void 0:k[C])!=null?Dc:0,Pc=co?Fc:Ut-E[hi]-b[hi]-Rc+S.altAxis,Lc=co?Ut+E[hi]+b[hi]-Rc-S.altAxis:Ic,Nc=p&&co?uy(Pc,Ut,Lc):Pr(p?Pc:Fc,Ut,p?Lc:Ic);_[C]=Nc,T[C]=Nc-Ut}e.modifiersData[r]=T}}const Ny={name:"preventOverflow",enabled:!0,phase:"main",fn:Ly,requiresIfExists:["offset"]};function $y(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function jy(t){return t===Fe(t)||!Re(t)?Cs(t):$y(t)}function My(t){var e=t.getBoundingClientRect(),n=Jn(e.width)/t.offsetWidth||1,r=Jn(e.height)/t.offsetHeight||1;return n!==1||r!==1}function By(t,e,n){n===void 0&&(n=!1);var r=Re(e),i=Re(e)&&My(e),u=jt(e),o=Yn(t,i,n),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&((nt(e)!=="body"||Ts(u))&&(a=jy(e)),Re(e)?(s=Yn(e,!0),s.x+=e.clientLeft,s.y+=e.clientTop):u&&(s.x=Os(u))),{x:o.left+a.scrollLeft-s.x,y:o.top+a.scrollTop-s.y,width:o.width,height:o.height}}function Uy(t){var e=new Map,n=new Set,r=[];t.forEach(function(u){e.set(u.name,u)});function i(u){n.add(u.name);var o=[].concat(u.requires||[],u.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var s=e.get(a);s&&i(s)}}),r.push(u)}return t.forEach(function(u){n.has(u.name)||i(u)}),r}function Vy(t){var e=Uy(t);return Qm.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function qy(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function zy(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var hl={placement:"bottom",modifiers:[],strategy:"absolute"};function vl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Hy(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,i=e.defaultOptions,u=i===void 0?hl:i;return function(a,s,c){c===void 0&&(c=u);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},hl,u),modifiersData:{},elements:{reference:a,popper:s},attributes:{},styles:{}},d=[],f=!1,p={state:l,setOptions:function(m){var y=typeof m=="function"?m(l.options):m;g(),l.options=Object.assign({},u,l.options,y),l.scrollParents={reference:dn(a)?Lr(a):a.contextElement?Lr(a.contextElement):[],popper:Lr(s)};var x=Vy(zy([].concat(r,l.options.modifiers)));return l.orderedModifiers=x.filter(function(A){return A.enabled}),h(),p.update()},forceUpdate:function(){if(!f){var m=l.elements,y=m.reference,x=m.popper;if(vl(y,x)){l.rects={reference:By(y,ii(x),l.options.strategy==="fixed"),popper:ks(x)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(S){return l.modifiersData[S.name]=Object.assign({},S.data)});for(var A=0;A<l.orderedModifiers.length;A++){if(l.reset===!0){l.reset=!1,A=-1;continue}var C=l.orderedModifiers[A],_=C.fn,E=C.options,b=E===void 0?{}:E,w=C.name;typeof _=="function"&&(l=_({state:l,options:b,name:w,instance:p})||l)}}}},update:qy(function(){return new Promise(function(v){p.forceUpdate(),v(l)})}),destroy:function(){g(),f=!0}};if(!vl(a,s))return p;p.setOptions(c).then(function(v){!f&&c.onFirstUpdate&&c.onFirstUpdate(v)});
6function h(){l.orderedModifiers.forEach(function(v){var m=v.name,y=v.options,x=y===void 0?{}:y,A=v.effect;if(typeof A=="function"){var C=A({state:l,name:m,instance:p,options:x}),_=function(){};d.push(C||_)}})}function g(){d.forEach(function(v){return v()}),d=[]}return p}}var Gy=[vy,Ry,py,ny,Fy,Ay,Ny,cy,Oy],Wy=Hy({defaultModifiers:Gy}),Hp={exports:{}};const Ky=lg(Bm);(function(t,e){(function(n,r){t.exports=r(Ky)})(jr,function(n){return function(){var r={593:function(a,s,c){Object.defineProperty(s,"__esModule",{value:!0}),s.resendFailedRequest=s.getRetryInstance=s.unsetCache=s.createRequestQueueInterceptor=s.createRefreshCall=s.shouldInterceptError=s.mergeOptions=s.defaultOptions=void 0;const l=c(300);s.defaultOptions={statusCodes:[401],pauseInstanceWhileRefreshing:!1},s.mergeOptions=function(d,f){return Object.assign(Object.assign(Object.assign({},d),{pauseInstanceWhileRefreshing:f.skipWhileRefreshing}),f)},s.shouldInterceptError=function(d,f,p,h){var g,v;return!!d&&!(!((g=d.config)===null||g===void 0)&&g.skipAuthRefresh)&&!!(f.interceptNetworkError&&!d.response&&d.request.status===0||d.response&&(f!=null&&f.shouldRefresh?f.shouldRefresh(d):!((v=f.statusCodes)===null||v===void 0)&&v.includes(parseInt(d.response.status))))&&(d.response||(d.response={config:d.config}),!f.pauseInstanceWhileRefreshing||!h.skipInstances.includes(p))},s.createRefreshCall=function(d,f,p){return p.refreshCall||(p.refreshCall=f(d),typeof p.refreshCall.then=="function")?p.refreshCall:(console.warn("axios-auth-refresh requires `refreshTokenCall` to return a promise."),Promise.reject())},s.createRequestQueueInterceptor=function(d,f,p){return f.requestQueueInterceptorId===void 0&&(f.requestQueueInterceptorId=d.interceptors.request.use(h=>f.refreshCall.catch(()=>{throw new l.default.Cancel("Request call failed")}).then(()=>p.onRetry?p.onRetry(h):h))),f.requestQueueInterceptorId},s.unsetCache=function(d,f){d.interceptors.request.eject(f.requestQueueInterceptorId),f.requestQueueInterceptorId=void 0,f.refreshCall=void 0,f.skipInstances=f.skipInstances.filter(p=>p!==d)},s.getRetryInstance=function(d,f){return f.retryInstance||d},s.resendFailedRequest=function(d,f){return d.config.skipAuthRefresh=!0,f(d.response.config)}},300:function(a){a.exports=n}},i={};function u(a){var s=i[a];if(s!==void 0)return s.exports;var c=i[a]={exports:{}};return r[a](c,c.exports,u),c.exports}var o={};return function(){var a=o;Object.defineProperty(a,"__esModule",{value:!0});const s=u(593);a.default=function(c,l,d={}){if(typeof l!="function")throw new Error("axios-auth-refresh requires `refreshAuthCall` to be a function that returns a promise.");const f={skipInstances:[],refreshCall:void 0,requestQueueInterceptorId:void 0};return c.interceptors.response.use(p=>p,p=>{if(d=(0,s.mergeOptions)(s.defaultOptions,d),!(0,s.shouldInterceptError)(p,d,c,f))return Promise.reject(p);d.pauseInstanceWhileRefreshing&&f.skipInstances.push(c);const h=(0,s.createRefreshCall)(p,l,f);return(0,s.createRequestQueueInterceptor)(c,f,d),h.catch(g=>Promise.reject(g)).then(()=>(0,s.resendFailedRequest)(p,(0,s.getRetryInstance)(c,d))).finally(()=>(0,s.unsetCache)(c,f))})}}(),o}()})})(Hp);var Jy=Hp.exports;const c9=Qr(Jy);var Yy=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(r,i,u){e.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:u})},e.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(i,"a",i),i},e.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},e.p="",e(e.s=0)}([function(t,e,n){var r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},i=n(1);t.exports=function(u,o){var a=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],s=(typeof document>"u"?"undefined":r(document))==="object"&&typeof document.cookie=="string",c=(u===void 0?"undefined":r(u))==="object"&&(o===void 0?"undefined":r(o))==="object"&&t!==void 0,l=!s&&!c||s&&c,d=function(v){if(c){var m=u.headers.cookie||"";return v&&(m=o.getHeaders(),m=m["set-cookie"]?m["set-cookie"].map(function(y){return y.split(";")[0]}).join(";"):""),m}if(s)return document.cookie||""},f=function(){var v=o.getHeader("Set-Cookie");return(v=typeof v=="string"?[v]:v)||[]},p=function(v){return o.setHeader("Set-Cookie",v)},h=function(v,m){if(!m)return v;try{return JSON.parse(v)}catch{return v}},g={parseJSON:a,set:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"};if(!l)if(m=(m===void 0?"undefined":r(m))==="object"?JSON.stringify(m):m,c){var x=f();x.push(i.serialize(v,m,y)),p(x)}
6else document.cookie=i.serialize(v,m,y)},setAll:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];l||Array.isArray(v)&&v.forEach(function(m){var y=m.name,x=y===void 0?"":y,A=m.value,C=A===void 0?"":A,_=m.opts,E=_===void 0?{path:"/"}:_;g.set(x,C,E)})},get:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{fromRes:!1,parseJSON:g.parseJSON};if(l)return"";var y=i.parse(d(m.fromRes)),x=y[v];return h(x,m.parseJSON)},getAll:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{fromRes:!1,parseJSON:g.parseJSON};if(l)return{};var m=i.parse(d(v.fromRes));for(var y in m)m[y]=h(m[y],v.parseJSON);return m},remove:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{path:"/"};l||(m.expires=new Date(0),g.set(v,"",m))},removeAll:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{path:"/"};if(!l){var m=i.parse(d());for(var y in m)g.remove(y,v)}},nodeCookie:i};return g}},function(t,e,n){function r(l,d){if(typeof l!="string")throw new TypeError("argument str must be a string");for(var f={},p=d||{},h=l.split(s),g=p.decode||o,v=0;v<h.length;v++){var m=h[v],y=m.indexOf("=");if(!(y<0)){var x=m.substr(0,y).trim(),A=m.substr(++y,m.length).trim();A[0]=='"'&&(A=A.slice(1,-1)),f[x]==null&&(f[x]=u(A,g))}}return f}function i(l,d,f){var p=f||{},h=p.encode||a;if(typeof h!="function")throw new TypeError("option encode is invalid");if(!c.test(l))throw new TypeError("argument name is invalid");var g=h(d);if(g&&!c.test(g))throw new TypeError("argument val is invalid");var v=l+"="+g;if(p.maxAge!=null){var m=p.maxAge-0;if(isNaN(m))throw new Error("maxAge should be a Number");v+="; Max-Age="+Math.floor(m)}if(p.domain){if(!c.test(p.domain))throw new TypeError("option domain is invalid");v+="; Domain="+p.domain}if(p.path){if(!c.test(p.path))throw new TypeError("option path is invalid");v+="; Path="+p.path}if(p.expires){if(typeof p.expires.toUTCString!="function")throw new TypeError("option expires is invali
6d");v+="; Expires="+p.expires.toUTCString()}if(p.httpOnly&&(v+="; HttpOnly"),p.secure&&(v+="; Secure"),p.sameSite)switch(typeof p.sameSite=="string"?p.sameSite.toLowerCase():p.sameSite){case!0:v+="; SameSite=Strict";break;case"lax":v+="; SameSite=Lax";break;case"strict":v+="; SameSite=Strict";break;case"none":v+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return v}function u(l,d){try{return d(l)}catch{return l}}/*! 7* cookie 8* Copyright(c) 2012-2014 Roman Shtylman 9* Copyright(c) 2015 Douglas Christopher Wilson 10* MIT Licensed 11*/e.parse=r,e.serialize=i;var o=decodeURIComponent,a=encodeURIComponent,s=/; */,c=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/}]);const l9=Qr(Yy);var Zy=function(e){return Xy(e)&&!Qy(e)};function Xy(t){return!!t&&typeof t=="object"}function Qy(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||nb(t)}var eb=typeof Symbol=="function"&&Symbol.for,tb=eb?Symbol.for("react.element"):60103;function nb(t){return t.$$typeof===tb}function rb(t){return Array.isArray(t)?[]:{}}function qr(t,e){return e.clone!==!1&&e.isMergeableObject(t)?Xn(rb(t),t,e):t}function ib(t,e,n){return t.concat(e).map(function(r){return qr(r,n)})}function ub(t,e){if(!e.customMerge)return Xn;var n=e.customMerge(t);return typeof n=="function"?n:Xn}function ob(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function gl(t){return Object.keys(t).concat(ob(t))}function Gp(t,e){try{return e in t}catch{return!1}}function ab(t,e){return Gp(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function sb(t,e,n){var r={};return n.isMergeableObject(t)&&gl(t).forEach(function(i){r[i]=qr(t[i],n)}),gl(e).forEach(function(i){ab(t,i)||(Gp(t,i)&&n.isMergeableObject(e[i])?r[i]=ub(i,n)(t[i],e[i],n):r[i]=qr(e[i],n))}),r}function Xn(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||ib,n.isMergeableObject=n.isMergeableObject||Zy,n.cloneUnlessOtherwiseSpecified=qr;var r=Array.isArray(e),i=Array.isArray(t),u=r===i;return u?r?n.arrayMerge(t,e,n):sb(t,e,n):qr(e,n)}Xn.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(r,i){return Xn(r,i,n)},{})};var cb=Xn,lb=cb;const d9=Qr(lb),ml={};function db(t){let e=ml[t];if(e)return e;e=ml[t]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);e.push(r)}for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);e[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return e}function Iu(t,e){typeof e!="string"&&(e=Iu.defaultChars);const n=db(e);return t.replace(/(%[a-f0-9]{2})+/gi,function(r){let i="";for(let u=0,o=r.length;u<o;u+=3){const a=parseInt(r.slice(u+1,u+3),16);if(a<128){i+=n[a];continue}if((a&224)===192&&u+3<o){const s=parseInt(r.slice(u+4,u+6),16);if((s&192)===128){const c=a<<6&1984|s&63;c<128?i+="��":i+=String.fromCharCode(c),u+=3;continue}}if((a&240)===224&&u+6<o){const s=parseInt(r.slice(u+4,u+6),16),c=parseInt(r.slice(u+7,u+9),16);if((s&192)===128&&(c&192)===128){const l=a<<12&61440|s<<6&4032|c&63;l<2048||l>=55296&&l<=57343?i+="���":i+=String.fromCharCode(l),u+=6;continue}}if((a&248)===240&&u+9<o){const s=parseInt(r.slice(u+4,u+6),16),c=parseInt(r.slice(u+7,u+9),16),l=parseInt(r.slice(u+10,u+12),16);if((s&192)===128&&(c&192)===128&&(l&192)===128){let d=a<<18&1835008|s<<12&258048|c<<6&4032|l&63;d<65536||d>1114111?i+="����":(d-=65536,i+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),u+=9;continue}}i+="�"}return i})}Iu.defaultChars=";/?:@&=+$,#";Iu.componentChars="";const yl={};function fb(t){let e=yl[t];if(e)return e;e=yl[t]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?e.push(r):e.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<t.length;n++)e[t.charCodeAt(n)]=t[n];return e}function Ru(t,e,n){typeof e!="string"&&(n=e,e=Ru.defaultChars),typeof n>"u"&&(n=!0);const r=fb(e);let i="";for(let u=0,o=t.length;u<o;u++){const a=t.charCodeAt(u);if(n&&a===37&&u+2<o&&/^[0-9a-f]{2}$/i.test(t.slice(u+1,u+3))){i+=t.slice(u,u+3),u+=2;continue}if(a<128){i+=r[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&u+1<o){const s=t.charCodeAt(u+1);if(s>=56320&&s<=57343){i+=encodeURIComponent(t[u]+t[u+1]),u++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(t[u])}return i}Ru.defaultChars=";/?:@&=+$,-_.!~*'()#";Ru.componentChars="-_.!~*'()";function pb(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function iu(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const hb=/^([a-z0-9.+-]+:)/i,vb=/:[0-9]*$/,gb=/^(\/\/?(?!\/)[^\?\s]
vendor: 4,765 bytes, lines 11-12
11*)(\?[^\s]*)?$/,mb=["<",">",'"',"`"," ","\r",` 12`," "],yb=["{","}","|","\\","^","`"].concat(mb),bb=["'"].concat(yb),bl=["%","/","?",";","#"].concat(bb),_l=["/","?","#"],_b=255,wl=/^[+a-z0-9A-Z_-]{0,63}$/,wb=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,xl={javascript:!0,"javascript:":!0},Sl={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function xb(t,e){if(t&&t instanceof iu)return t;const n=new iu;return n.parse(t,e),n}iu.prototype.parse=function(t,e){let n,r,i,u=t;if(u=u.trim(),!e&&t.split("#").length===1){const c=gb.exec(u);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let o=hb.exec(u);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,u=u.substr(o.length)),(e||o||u.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=u.substr(0,2)==="//",i&&!(o&&xl[o])&&(u=u.substr(2),this.slashes=!0)),!xl[o]&&(i||o&&!Sl[o])){let c=-1;for(let h=0;h<_l.length;h++)r=u.indexOf(_l[h]),r!==-1&&(c===-1||r<c)&&(c=r);let l,d;c===-1?d=u.lastIndexOf("@"):d=u.lastIndexOf("@",c),d!==-1&&(l=u.slice(0,d),u=u.slice(d+1),this.auth=l),c=-1;for(let h=0;h<bl.length;h++)r=u.indexOf(bl[h]),r!==-1&&(c===-1||r<c)&&(c=r);c===-1&&(c=u.length),u[c-1]===":"&&c--;const f=u.slice(0,c);u=u.slice(c),this.parseHost(f),this.hostname=this.hostname||"";const p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){const h=this.hostname.split(/\./);for(let g=0,v=h.length;g<v;g++){const m=h[g];if(m&&!m.match(wl)){let y="";for(let x=0,A=m.length;x<A;x++)m.charCodeAt(x)>127?y+="x":y+=m[x];if(!y.match(wl)){const x=h.slice(0,g),A=h.slice(g+1),C=m.match(wb);C&&(x.push(C[1]),A.unshift(C[2])),A.length&&(u=A.join(".")+u),this.hostname=x.join(".");break}}}}this.hostname.length>_b&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=u.indexOf("#");a!==-1&&(this.hash=u.substr(a),u=u.slice(0,a));const s=u.indexOf("?");return s!==-1&&(this.search=u.substr(s),u=u.slice(0,s)),u&&(this.pathname=u),Sl[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};iu.prototype.parseHost=function(t){let e=vb.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const f9=Object.freeze(Object.defineProperty({__proto__:null,decode:Iu,encode:Ru,format:pb,parse:xb},Symbol.toStringTag,{value:"Module"})),Wp=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Kp=/[\0-\x1F\x7F-\x9F]/,Sb=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Jp=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\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\u1B7D\u1B7E\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-\u2E5D\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]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Eb=/[\$\+<->
12\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Yp=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,p9=Object.freeze(Object.defineProperty({__proto__:null,Any:Wp,Cc:Kp,Cf:Sb,P:Jp,S:Eb,Z:Yp},Symbol.toStringTag,{value:"Module"})),kb
vendor: 8,319 bytes, line 12
12=new Uint16Array('áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms�¦³¹ÃÃligè»ÃäPè»&ä¦cuteè»Ãäreve;äÄiyx}rcè»Ãä;är;ìðraveè»Ãäpha;äacr;äd;æ©Ägp¡on;äf;ìð¸plyFunction;æ¡ingè»Ã
ä
Äcs¾Ãr;ìðign;æildeè»Ãämlè»ÃäÐaceforsuåûþÄÄĢħĪÄcrêòkslash;æÅ¶Ã¶Ã¸;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ìð
pf;ìð¹eve;äcòÄmpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»Â©ä©ÆcpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»Ãärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·Ã²Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ìðpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ìðÄaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ìð»Æ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»ÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æeÃ¥ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ìðrok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»Ãäcuteè»ÃäÆaiyÓÓÓron;ärcè»Ãä;äot;är;ìðraveè»Ãäement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ìð¼silon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»ÃäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ìðlledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ìð½All;æriertrf;æ±cÃ²×ØJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ìð;æpf;ìð¾eaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ìð¢;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
òکrok;ä¦mpÅÛÛownHumðįqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»ÃäÄiyÜÜrcè»Ãä;äot;ä°r;æraveè»ÃäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lieóÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ìða;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»ÃäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ìðpf;ìðÇ£ß\0ßr;ìð¥rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ìðpf;ìðcr;ìð¦ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ightáÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ìðÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ightáοightáÏf;ìðerÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©Ã²à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ìðnusPlus;æpf;ìðcò੶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«Ã«à«eryThiîà«tedÄGL૸à¬reaterGreateòٳessLesóà©Line;är;ìðÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ìð©ildeè»Ãä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»ÃäÄiyà·à·rcè»Ãä;äblac;ä
r;ìðraveè»ÃäÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ìðenCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ìðªashè»ÃäiŬื฼deè»Ãäes;樷mlè»ÃäerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ìði;ä¦;ä usMinus;ä±ÄipຢàºncareplanÃ¥Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ìð«;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ìðpf;æcr;ìð¬ØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»Â®ä®Æcnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r»ཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ìðortÈDLRUáªá´á¾á
ownArrow»ÐeftArrow»à¢ightArrow»à¿pArrow;ægma;ä£allCircle;æpf;ìðɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ìð®ar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Tháà¾;æÆ;esááá£ærsetÄ;Eááæqual;æet»áÖHRSacfhiorsá¾ááááá±á¶ááááORNè»ÃäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ìðÄeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ìðipleDot;æÄctáár;ìð¯rok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»ÃärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»Ãä;ä£blac;ä
°r;ìðraveè»Ãäacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ìðÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥ownáϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ìð°ilde;ä
¨mlè»ÃäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ìðpf;ìðcr;ìð±dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;
vendor: 7,828 bytes, line 12
12ìðpf;ìðcr;ìð²Èfiosáááár;ìð;äpf;ìðcr;ìð³ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»ÃäÄiyáárc;ä
¶;ä«r;ìðpf;ìðcr;ìð´ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidtèà«a;är;æ¨pf;æ¤cr;ìðµà¯¡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»Ã¡ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»Ã¢ä¢teè»Â´Ì;ä°ligè»Ã¦ä¦Ä;r²áº;ìðraveè»Ã ä ÄepááÄfpáásym;æµÃ¨áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e»ásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢Â»Â¹arr;æ¼Ägpá£á§on;ä
f;ìðÎ;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eááñáingè»Ã¥ä¥Æctyá¡á¦á¨r;ìð¶;äªmpÄ;eáá¯Ã±Êildeè»Ã£ä£mlè»Ã¤ä¤Äciááoninôɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e»árkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰séánoÃµÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ìðgÎcostuvwááá³ááááÆaiuáááÃ°Ý rc;æ¯pÂ»á±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨eÃ¥áÃ¥áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ìðÄ;táá¡£om»átie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»Â¦ä¦Èceioá¥á¥á¥á¥ r;ìð·mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t»᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æÃ®ÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;ädilè»Ã§ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»Â¸Æptyv;榲tè¢;eá¨á¨®ä¢räƲr;ìð Æceiᨽá©á©y;äckÄ;má©á©æark»á©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáªÂ»à½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it»᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;qÃÃÉá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æÃ®á
eÄmx᫱᫶ent»᫩eóÉǧ᫾\0á¬Ä;dá»á¬ot;æ©nÃ´ÉÆfryá¬á¬á¬;ìðoäÉè©;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ìð¸ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯reãá³uãáµee;æedge;æenè»Â¤ä¤earrowÄlrᯮ᯳eft»á®ight»ᮽeäá¯Äciá°á°oninôǷnt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·ròÎar;楥Èglrsá±á±á±á±ger;æ eth;æ¸Ã²á³hÄ;vá±á±æÂ»à¤Å«á±¡á±§arow;æ¤aãÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»Â°ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ìð¡arÄlrᲳᲵ»à£Â»áÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè÷;oá³§á³°ntimes;ænø᳷cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ìðÊ;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedgåúnÆadhá®áµáµ§ownarrowóá²arpoonÄlrᵲᵶefôᲴighôᲶŢᵿá¶
karo÷à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ìð¹;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·ròЩaòྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´oôá²Äcsá¸á¸uteè»Ã©ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»Ãªäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ìð¢Æ;rsá¹á¹á¹æªaveè»Ã¨ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et»áºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ìðÆalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon»á»;äµÈcsuvỪỳá¼á¼£Äioữḱrc»Ḯɩỹ\0\0á»»ÃÕantÄglá¼á¼tr»á¹ess»ṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯oôÍÄahá½á½;ä·è»Ã°ä°Ämrá½á½lè»Ã«ä«o;æ¬Æcipὡὤὧl;ä¡sôծÄeoὬὴctatioîÕnentialåչৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotseñá¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ìð£lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ìðÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»Â½ä½;æ
è»Â¼ä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»Â¾ä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ìð»à¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlanô٥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ìð¤Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox»â¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ìðÄciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âproøâr;楸qÄlqØ¿âlesóâiÃÙ«Äenâ£ârtneqq;ìâ©ï¸Ã
âªÔAabcefkosyâââ±âµâºâââ¯â¨â½ròΠÈilmrâââârsðáf»â¤ilôکÄdrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it»âlip;æ¦con;æ¹r;ìð¥sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ìðbar;æÆcltâ¯â´â¸r;ìð½asèâ´rok;ä§Äbpââull;æhen»á±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»ÃäÆ;iyݱâ°âµrcè»Ã®ä®;ä¸Äcxâ¼â¿y;äµclè»Â¡ä¡ÄfrÎâ;ìð¦raveè»Ã¬ä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââinÃ¥ÞarÃ´Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§doôâÊ;celpÝââââ¡al;æºÄgrââeróá£Ã£âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ìða;ä¹uestè»Â¿ä¿Äciââr;ìð¾nÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»Ã¯ä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ìð§ath;ä·pf;ìðÇ£â¬\0â±r;ìð¿rcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ìð¨reen;ä¸cy;ä
cy;äpf;ìðcr;ìðà®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼ròà§Ã²Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴raîà¡bda;ä»gÆ;dlà¢ââ;æ¦Ã¥à¢;æª
uoè»Â«ä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤Ã«âp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼Ã¬à¢°Ã¢â©;
vendor: 4,294 bytes, line 12
12ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡aéâ¶arpoonÄduâ¯â´own»Ñp»०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoonóà¾quigarro÷â°hreetimes;æÆ;qsâà¦âºlanôবÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââpproøâot;æqÄgqââ
ôà¦gtòâôà¦iÃলÆilrâ࣡âsht;楼;ìð©Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââròâorneòá´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che»âÈEaesâ»â½ââ;æ¨pÄ;pââæªrox»âÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½rëà£gÆlmrâ¿ââeftÄar০âightá৲apsto;æ¼ightá৽parrowÄlrâ¥â©efôâight;æ¬Æaflâ¶â¹â½r;æ¦
;ìðus;æ¨imes;樴šââst;æÃ¡áÆ;efââá ænge»âarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âròࢨorneòá¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ìðmÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹reÃ¥â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸Ã
â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»Â¯ä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se»â¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»owîÒefôà¤Ã°áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle»á¦r;ìðªo;æ§Æcdn⢯⢴â£roè»ÂµäµÈ;acdá¤â¢½â£â£sôá§ir;æ«°otè»Â·ÆµusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«Ã²âðàªÄdp⣩⣮els;æ§f;ìðÄct⣸⣽r;ìðpos»áÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la»Ëute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
roøà¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»Â ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸uiöà£Äeiâ©â©ar;椨Ãà®istÄ;sà® à®r;ìð«ÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lanô௢iÃ௪Ä;rà®¶âªÂ»à®·ÆAapâªâªâªrò⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹rò⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro÷â«ightarroÃ·âªÆ;qs఻⪺⫪lanôà±Ä;sà±â«´Â»à°¶iÃà±Ä;rవ⫾iÄ;eà°à°¥iäà¶Äptâ¬â¬f;ìðè¬;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlleìà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³uåಥÄ;cà²â¸Ä;eà²â½Ã±à²ÈAaitâ®â®â®â®§ròâ¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow»â®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯uÃ¥àµ
;ìðortÉâ¬
\0\0â¯aráâmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯Ã¥à³¸Ã¥à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°Ã±à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±Ã¬à¯ldeè»Ã±ä±Ã§à±iangleÄlrâ±â±eftÄ;eà°â±Ã±à°¦ightÄ;eà³â±¥Ã±à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»Ã³ä³Äiyâ´¼âµ
rÄ;cáªâµè»Ã´ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ìð¬Í¯âµ¹\0\0âµ¼\0â¶n;äaveè»Ã²ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨ròáªÄirâ¶â¶ r;榾oss;榻nÃ¥à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ìð Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨ròáªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f»ⷿè»Âªäªè»Âºäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§Ã²â¸ashè»Ã¸ä¸l;æiŬⸯ⸴deè»ÃµäµesÄ;aÇ⸺s;樶mlè»Ã¶ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
vendor: 6,210 bytes, line 12
12astÐâ¹§â¹²àº
è¶;lâ¹â¹®ä¶leìÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ìðÆimo⺨⺰⺴Ä;vâºâº®ä;ämaô੶ne;æÆ;tv⺿â»â»ächfork»´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æÃ¶â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»Â±àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ìð¡ndè»Â£ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷uÃ¥à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾pproøâ½urlyeñà»Ã±à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨iÃà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½ºÃ°â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴ï໻rel;æ°Äciâ¿â¿
r;ìð
;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ìð®pf;ìð¢rime;æcr;ìðÆaeo⿸ããtÄei⿾ã
rnionóڰnt;æ¨stÄ;eããä¿Ã±á¼Ã´à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããròá³Ã²Ïail;æ¤aròᱥar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
iãá
®mptyv;榳gÈ;delà¿ããã;æ¦;榥åà¿uoè»Â»ä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤Ã«âðâ®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶alÃ³à¼Æabrã§ãªã®ròá¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
ì࿲âãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
ánÃ¥á»arôྩt;æÆilrã
©á£ã
®sht;楽;ìð¯Äaoã
·ãrÄduã
½ã
¿Â»Ñ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãaéãarpoonÄduã»ã¿owîã
¾p»áeftÄahããrrowó࿪arpoonóÕightarrows;æquigarro÷ãhreetimes;æg;äingdotseñἲÆahmãããrò࿪aòÕ;æoustÄ;aããæ±che»ãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾rëáÆaflãããr;æ¦;ìð£us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨aròã£Èachqã»ãá¼ã
quo;æºr;ìðÄbuã»ãoÄ;rÈÈÆhirããã reÃ¥ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
quïâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡uÃ¥á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨iÃá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrããëâ¨Ä;oਸ਼਴tè»Â§ä§i;ä»war;椩mÄinã©Ã°nuóñt;æ¶rÄ;oã¶âìð°Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãiäá¤araì⹯è»ÂäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲aròá½Èaeitã¸ãããÄlsã½ãlsetméãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ìð¤aÄdrãÐesÄ;uããæ it»ãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáãñáÆ;esá¨áãetÄ;eá¨ãÃ±á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±Â»á
¼aròá
Ècemtã¹ã¾ãã
r;ìðtmîñiìãaræá¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsiloîỠhé⺯s»â¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦pproøãºurlyeñá¾Ã±á³Æaesãããpproøãqñãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»Â¹ä¹è»Â²ä²è»Â³ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨Ã«â®Ä;oਫ਩war;椪ligè»Ãä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;ärÃ«à¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ìð±Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®pproøáim»á¬sðáÄasãºã®Ã°árnè»Ã¾ä¾Ç¬Ìãâ§esèÃ;bdãããäÄ;aá¤ãr;樱;樰Æepsã¡ã£ãáâ©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ìð¥rk;æ«Ã¡ã¢rime;æ´Æaipããã¤dÃ¥áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown»ᶻeftÄ;eâ ã¾Ã±à¤®;æightÄ;eãªãñáot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ìð;äcy;ärok;ä
§Äioããxôá·headÄlrãã eftarro÷à¡ightarrow»à½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶ròÏar;楣Äcrãã¢uteè»ÃºäºÃ²á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»Ã»ä»;äÆabhã ã ã ròálac;ä
±aòáÄirã ã sht;楾;ìð²raveè»Ã¹ä¹Å¡ã §ã ±rÄlr㠬㠮»à¥Â»álk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær»ã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»Â¨ÍÄgp㡢㡦on;ä
³f;ìð¦Ìadhlsuá
㡸㡽á²ã¢ã¢ ownáá³arpoonÄlrã¢ã¢efôã ighô㠯iÆ;hlã¢ã¢ã¢ä
»áºon»ã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær»㢽op;æng;ä
¯ri;æ¹cr;ìðÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨Â»á Äam㣯㣲rò㢨lè»Ã¼ä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ;v㤦㤧櫨;æ«©asèϡÄnr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦appáâothinÃ§áºÆhirã«â»ã¥opô⾵Ä;há·ã¥¢Ã¯ãÄiu㥩ã¥gmáã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦etáãiangleÄlr㦪㦯eft»थight»áy;ä²ashÂ»á¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨aòá©r;ìð³tré㦮suÄbp㧯㧱»à´Â»àµpf;ìð§roð໻tré㦴Äcuã¨ã¨r;ìðÄbpã¨ã¨nÄEeã¦ã¨Â»ã¥¾nÄEeã¦ã¨Â»ã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ìð´pf;ìð¨Ä;eá¹ã©¦atèá¹cr;ìðà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátréár;ìðµÄAaãªãªròÏrò৶;ä¾ÄAa㪡㪤ròθrò৫aðâis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ìð©imÃ¥á²ÄAaã«ã«ròÏròà¨Äcqã«á¸r;ìðÄptáã«réáÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»Ã½ä½;äÄiyã¬ã¬rc;ä
·;änè»Â¥ä¥r;ìð¶cy;äpf;ìðªcr;ìðÄcm㬦㬩y;älè»Ã¿ä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡træáa;ä¶r;ìð·cy;ä¶grarr;æpf;ìð«cr;ìðÄjnã®
ã®;æj;æ
12'.split("").map(t=>t.charCodeAt(0))),Ab=new Uint16Array("Èaglq ��\x1BÉ�\0\0�p;ä¦os;ä§t;ä¾t;ä¼uot;ä¢".split("").map(t=>t.charCodeAt(0)));var vo;const Cb=new Map([[0,65533],[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]]),Ob=(vo=String.fromCodePoint)!==null&&vo!==void 0?vo:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function Tb(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=Cb.get(t))!==null&&e!==void 0?e:t}var de;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(de||(de={}));const Db=32;var kt;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(kt||(kt={}));function ua(t){return t>=de.ZERO&&t<=de.NINE}function Fb(t){return t>=de.UPPER_A&&t<=de.UPPER_F||t>=de.LOWER_A&&t<=de.LOWER_F}function Ib(t){return t>=de.UPPER_A&&t<=de.UPPER_Z||t>=de.LOWER_A&&t<=de.LOWER_Z||ua(t)}function Rb(t){return t===de.EQUALS||Ib(t)}var le;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(le||(le={}));var Et;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(Et||(Et={}));class Pb{constructor(e,n,r){this.decodeTree=e,this.emitCodePoint=n,this.errors=r,this.state=le.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Et.Strict}startEntity(e){this.decodeMode=e,this.state=le.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,n){switch(this.state){case le.EntityStart:return e.charCodeAt(n)===de.NUM?(this.state=le.NumericStart,this.consumed+=1,this.stateNumericStart(e,n+1)):(this.state=le.NamedEntity,this.stateNamedEntity(e,n));case le.NumericStart:return this.stateNumericStart(e,n);case le.NumericDecimal:return this.stateNumericDecimal(e,n);case le.NumericHex:return this.stateNumericHex(e,n);
vendor: 3,061 bytes, line 12
12case le.NamedEntity:return this.stateNamedEntity(e,n)}}stateNumericStart(e,n){return n>=e.length?-1:(e.charCodeAt(n)|Db)===de.LOWER_X?(this.state=le.NumericHex,this.consumed+=1,this.stateNumericHex(e,n+1)):(this.state=le.NumericDecimal,this.stateNumericDecimal(e,n))}addToNumericResult(e,n,r,i){if(n!==r){const u=r-n;this.result=this.result*Math.pow(i,u)+parseInt(e.substr(n,u),i),this.consumed+=u}}stateNumericHex(e,n){const r=n;for(;n<e.length;){const i=e.charCodeAt(n);if(ua(i)||Fb(i))n+=1;else return this.addToNumericResult(e,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(e,r,n,16),-1}stateNumericDecimal(e,n){const r=n;for(;n<e.length;){const i=e.charCodeAt(n);if(ua(i))n+=1;else return this.addToNumericResult(e,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(e,r,n,10),-1}emitNumericEntity(e,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===de.SEMI)this.consumed+=1;else if(this.decodeMode===Et.Strict)return 0;return this.emitCodePoint(Tb(this.result),this.consumed),this.errors&&(e!==de.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,n){const{decodeTree:r}=this;let i=r[this.treeIndex],u=(i&kt.VALUE_LENGTH)>>14;for(;n<e.length;n++,this.excess++){const o=e.charCodeAt(n);if(this.treeIndex=Lb(r,i,this.treeIndex+Math.max(1,u),o),this.treeIndex<0)return this.result===0||this.decodeMode===Et.Attribute&&(u===0||Rb(o))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],u=(i&kt.VALUE_LENGTH)>>14,u!==0){if(o===de.SEMI)return this.emitNamedEntityData(this.treeIndex,u,this.consumed+this.excess);this.decodeMode!==Et.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:n,decodeTree:r}=this,i=(r[n]&kt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[e]&~kt.VALUE_LENGTH:i[e+1],r),n===3&&this.emitCodePoint(i[e+2],r),r}end(){var e;switch(this.state){case le.NamedEntity:return this.result!==0&&(this.decodeMode!==Et.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case le.NumericDecimal:return this.emitNumericEntity(0,2);case le.NumericHex:return this.emitNumericEntity(0,3);case le.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case le.EntityStart:return 0}}}function Zp(t){let e="";const n=new Pb(t,r=>e+=Ob(r));return function(i,u){let o=0,a=0;for(;(a=i.indexOf("&",a))>=0;){e+=i.slice(o,a),n.startEntity(u);const c=n.write(i,a+1);if(c<0){o=a+n.end();break}o=a+c,a=c===0?o+1:o}const s=e+i.slice(o);return e="",s}}function Lb(t,e,n,r){const i=(e&kt.BRANCH_LENGTH)>>7,u=e&kt.JUMP_TABLE;if(i===0)return u!==0&&r===u?n:-1;
vendor: 1,899 bytes, line 12
12if(u){const s=r-u;return s<0||s>=i?-1:t[n+s]-1}let o=n,a=o+i-1;for(;o<=a;){const s=o+a>>>1,c=t[s];if(c<r)o=s+1;else if(c>r)a=s-1;else return t[s+i]}return-1}const Nb=Zp(kb);Zp(Ab);function h9(t,e=Et.Legacy){return Nb(t,e)}function $b(t){const e={};t=t||{},e.src_Any=Wp.source,e.src_Cc=Kp.source,e.src_Z=Yp.source,e.src_P=Jp.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");const n="[><ï½]";return e.src_pseudo_letter="(?:(?!"+n+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+n+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.
vendor: 3,734 bytes, line 12
12src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|ï½]|"+e.src_ZPCc+"))((?![$+<=>^`|ï½])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|ï½]|"+e.src_ZPCc+"))((?![$+<=>^`|ï½])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function oa(t){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){t[r]=n[r]})}),t}function Pu(t){return Object.prototype.toString.call(t)}function jb(t){return Pu(t)==="[object String]"}function Mb(t){return Pu(t)==="[object Object]"}function Bb(t){return Pu(t)==="[object RegExp]"}function El(t){return Pu(t)==="[object Function]"}function Ub(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Xp={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Vb(t){return Object.keys(t||{}).reduce(function(e,n){return e||Xp.hasOwnProperty(n)},!1)}const qb={"http:":{validate:function(t,e,n){const r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){const r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){const r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},zb="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Hb="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|ÑÑ".split("|");function Gb(t){t.__index__=-1,t.__text_cache__=""}function Wb(t){return function(e,n){const r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function kl(){return function(t,e){e.normalize(t)}}function uu(t){const e=t.re=$b(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(zb),n.push(e.src_xn),e.src_tlds=n.join("|");function r(a){return a.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");const i=[];t.__compiled__={};function u(a,s){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+s)}Object.keys(t.__schemas__).forEach(function(a){const s=t.__schemas__[a];if(s===null)return;const c={validate:null,link:null};if(t.__compiled__[a]=c,Mb(s)){Bb(s.validate)?c.validate=Wb(s.validate):El(s.validate)?c.validate=s.validate:u(a,s),El(s.normalize)?c.normalize=s.normalize:s.normalize?u(a,s):c.normalize=kl();return}if(jb(s)){i.push(a);return}u(a,s)}
12),i.forEach(function(a){t.__compiled__[t.__schemas__[a]]&&(t.__compiled__[a].validate=t.__compiled__[t.__schemas__[a]].validate,t.__compiled__[a].normalize=t.__compiled__[t.__schemas__[a]].normalize)}),t.__compiled__[""]={validate:null,normalize:kl()};const o=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(Ub).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><ï½]|"+e.src_ZPCc+"))("+o+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><ï½]|"+e.src_ZPCc+"))("+o+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),Gb(t)}function Kb(t,e){const n=t.__index__,r=t.__last_index__,i=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=i,this.text=i,this.url=i}function aa(t,e){const n=new Kb(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function $e(t,e){if(!(this instanceof $e))return new $e(t,e);e||Vb(t)&&(e=t,t={}),this.__opts__=oa({},Xp,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=oa({},qb,t),this.__compiled__={},this.__tlds__=Hb,this.__tlds_replaced__=!1,this.re={},uu(this)}$e.prototype.add=function(e,n){return this.__schemas__[e]=n,uu(this),this};$e.prototype.set=function(e){return this.__opts__=oa(this.__opts__,e),this};$e.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let n,r,i,u,o,a,s,c,l;if(this.re.schema_test.test(e)){for(s=this.re.schema_search,s.lastIndex=0;(n=s.exec(e))!==null;)if(u=this.testSchemaAt(e,n[2],s.lastIndex),u){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+u;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(o=r.index+r[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(l=e.indexOf("@"),l>=0&&(i=e.match(this.re.email_fuzzy))!==null&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a))),this.__index__>=0};$e.prototype.pretest=function(e){return this.re.pretest.test(e)};$e.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0};$e.prototype.match=function(e){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===e&&(n.push(aa(this,r)),r=this.__last_index__);let i=r?e.slice(r):e;for(;this.test(i);)n.push(aa(this,r)),i=i.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};$e.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const n=this.re.schema_at_start.exec(e);if(!n)return null;const r=this.testSchemaAt(e,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,aa(this,0)):null};$e.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,i,u){return r!==u[i-1]}).reverse(),uu(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,uu(this),this)};$e.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};$e.prototype.onCompile=function(){};const jn=2147483647,We=36,Ds=1,zr=26,Jb=38,Yb=700,Qp=72,eh=128,th="-",Zb=/^xn--/,Xb=/[^\0-\x7F]/,Qb=/[\x2E\u3002\uFF0E\uFF61]/g,e2={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},go=We-Ds,Ke=Math.floor,mo=String.fromCharCode;function St(t){throw new RangeError(e2[t])}function t2(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function nh(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(Qb,".");const i=t.split("."),u=t2(i,e).join(".");return r+u}function rh(t){const e=[];let n=0;const r=t.length;for(;n<r;){const i=t.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const u=t.charCodeAt(n++);(u&64512)==56320?e.push(((i&1023)<<10)+(u&1023)+65536):(e.push(i),n--)}else e.push(i)}return e}const n2=t=>String.fromCodePoint(...t),r2=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:We},Al=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},ih=function(t,e,n){let r=0;for(t=n?Ke(t/Yb):t>>1,t+=Ke(t/e);t>go*zr>>1;r+=We)t=Ke(t/go);return Ke(r+(go+1)*t/(t+Jb))},uh=function(t){const e=[],n=t.length;let r=0,i=eh,u=Qp,o=t.lastIndexOf(th);o<0&&(o=0);for(let a=0;a<o;++a)t.charCodeAt(a)>=128&&St("not-basic"),e.push(t.charCodeAt(a));for(let a=o>0?o+1:0;a<n;){const s=r;for(let l=1,d=We;;d+=We){a>=n&&St("invalid-input");const f=r2(t.charCodeAt(a++));f>=We&&St("invalid-input"),f>Ke((jn-r)/l)&&St("overflow"),r+=f*l;const p=d<=u?Ds:d>=u+zr?zr:d-u;if(f<p)break;const h=We-p;l>Ke(jn/h)&&St("overflow"),l*=h}const c=e.length+1;u=ih(r-s,c,s==0),Ke(r/c)>jn-i&&St("overflow"),i+=Ke(r/c),r%=c,e.splice(r++,0,i)}return String.fromCodePoint(...e)},oh=function(t){const e=[];t=rh(t);const n=t.length;let r=eh,i=0,u=Qp;for(const s of t)s<128&&e.push(mo(s));const o=e.length;let a=o;for(o&&e.push(th);a<n;){let s=jn;for(const l of t)l>=r&&l<s&&(s=l);const c=a+1;s-r>Ke((jn-i)/c)&&St("overflow"),i+=(s-r)*c,r=s;for(const l of t)if(l<r&&++i>jn&&St("overflow"),l===r){let d=i;for(let f=We;;f+=We){const p=f<=u?Ds:f>=u+zr?zr:f-u;
12if(d<p)break;const h=d-p,g=We-p;e.push(mo(Al(p+h%g,0))),d=Ke(h/g)}e.push(mo(Al(d,0))),u=ih(i,c,a===o),i=0,++a}++i,++r}return e.join("")},i2=function(t){return nh(t,function(e){return Zb.test(e)?uh(e.slice(4).toLowerCase()):e})},u2=function(t){return nh(t,function(e){return Xb.test(e)?"xn--"+oh(e):e})},v9={version:"2.3.1",ucs2:{decode:rh,encode:n2},decode:uh,encode:oh,toASCII:u2,toUnicode:i2};function Nr(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Nr=function(e){return typeof e}:Nr=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nr(t)}function Cl(t,e,n,r,i,u,o){try{var a=t[u](o),s=a.value}catch(c){n(c);return}a.done?e(s):Promise.resolve(s).then(r,i)}function _t(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var u=t.apply(e,n);function o(s){Cl(u,r,i,o,a,"next",s)}function a(s){Cl(u,r,i,o,a,"throw",s)}o(void 0)})}}function o2(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ol(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Je(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ol(Object(n),!0).forEach(function(r){o2(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ol(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function a2(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,u;for(u=0;
12u<r.length;u++)i=r[u],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}function s2(t,e){if(t==null)return{};var n=a2(t,e),r,i;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i<u.length;i++)r=u[i],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function c2(t,e){return f2(t)||h2(t,e)||Fs(t,e)||g2()}function l2(t){return d2(t)||p2(t)||Fs(t)||v2()}function d2(t){if(Array.isArray(t))return sa(t)}function f2(t){if(Array.isArray(t))return t}function p2(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function h2(t,e){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(t)))){var n=[],r=!0,i=!1,u=void 0;try{for(var o=t[Symbol.iterator](),a;!(r=(a=o.next()).done)&&(n.push(a.value),!(e&&n.length===e));r=!0);}catch(s){i=!0,u=s}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw u}}return n}}function Fs(t,e){if(t){if(typeof t=="string")return sa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sa(t,e)}}function sa(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function v2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 13In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 14In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ca(t,e){var n;if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(n=Fs(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(s){throw s},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 15In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u=!0,o=!1,a;return{s:function(){n=t[Symbol.iterator]()},n:function(){var s=n.next();return u=s.done,s},e:function(s){o=!0,a=s},f:function(){try{!u&&n.return!=null&&n.return()}finally{if(o)throw a}}}}function ah(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(Nr(e[n])==="object"&&t[n]?ah(t[n],e[n]):t[n]=e[n])}var Ct={disabled:!1,offset:[0,5],container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",modifiers:[],popperOptions:{},themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:function(e){return[].concat(l2(e),["click"])},delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function Z(t,e){var n=Ct.themes[t]||{},r;do r=n[e],typeof r>"u"?n.$extend?n=Ct.themes[n.$extend]||{}:(n=null,r=Ct[e]):n=null;while(n);return r}function m2(t){var e=[t],n=Ct.themes[t]||{};do n.$extend&&!n.$resetCss?(e.push(n.$extend),n=Ct.themes[n.$extend]||{}):n=null;while(n);return e.map(function(r){return"v-popper--theme-".concat(r)})}var Qn=!1;if(typeof window<"u"){Qn=!1;try{var y2=Object.defineProperty({},"passive",{get:function(){Qn=!0}});window.addEventListener("test",null,y2)}catch{}}var sh=!1;typeof window<"u"&&typeof navigator<"u"&&(sh=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);function mi(t,e,n){var r=t.find(function(u){return u.name===e});r||(r={name:e},t.push(r));for(var i in n)i==="options"?(r.options||(r.options={}),Object.assign(r.options,n.options)):r[i]=n[i]}var Tl={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart"},Dl={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend"};function b2(t,e){var n=t.indexOf(e);n!==-1&&t.splice(n,1)}var Ye=[],An=null,la=function(){};typeof window<"u"&&(la=window.Element);var ch=function(){return{name:"VPopper",props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,required:!0},popperNode:{type:Function,required:!0},arrowNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:function(){return Z(this.theme,"disabled")}},placement:{type:String,default:function(){return Z(this.theme,"placement")},validator:function(e){return Du.includes(e)}},delay:{type:[String,Number,Object],default:function(){return Z(this.theme,"delay")}},offset:{type:[Array,Function],default:function(){return Z(this.theme,"offset")}},triggers:{type:Array,default:function(){return Z(this.theme,"triggers")}},showTriggers:{type:[Array,Function],default:function(){return Z(this.theme,"showTriggers")}},hideTriggers:{type:[Array,Function],default:function(){return Z(this.theme,"hideTriggers")}},popperTriggers:{type:Array,default:function(){return Z(this.theme,"popperTriggers")}},popperShowTriggers:{type:[Array,Function],default:function(){return Z(this.theme,"popperShowTriggers")}},popperHideTriggers:{type:[Array,Function],default:function(){return Z(this.theme,"popperHideTriggers")}},container:{type:[String,Object,la,Boolean],default:function(){return Z(this.theme,"container")}},boundary:{type:[String,la],default:function(){return Z(this.theme,"boundary")}},strategy:{type:String,validator:function(e){return["absolute","fixed"].includes(e)},default:function(){return Z(this.theme,"strategy")}},modifiers:{type:Array,default:function(){return Z(this.theme,"modifiers")}},popperOptions:{type:Object,default:function(){return Z(this.theme,"popperOptions")}},autoHide:{type:Boolean,default:function(){return Z(this.theme,"autoHide")}},handleResize:{type:Boolean,default:function(){return Z(this.theme,"handleResize")}},instantMove:{type:Boolean,default:function(){return Z(this.theme,"instantMove")}},eagerMount:{type:Boolean,default:function(){return Z(this.theme,"eagerMount")}},popperClass:{type:[String,Array,Object],default:function(){return Z(this.theme,"popperClass")}},computeTransformOrigin:{type:Boolean,default:function(){return Z(this.theme,"computeTransformOrigin")}},autoMinSize:{type:Boolean,default:function(){return Z(this.theme,"autoMinSize")}}},data:function(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0}}},computed:{popperId:function(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent:function(){return this.eagerMount||this.isMounted},slotData:function(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:Je(Je({},this.classes),{},{popperClass:this.popperClass})}}},watch:{shown:"$_autoShowHide",disabled:function(e){e?this.dispose():this.init()},container:function(){var e=this;return _t(function*(){e.isShown&&e.popperInstance&&(e.$_ensureContainer(),yield e.popperInstance.update(
15))})()},triggers:function(){this.$_removeEventListeners(),this.$_addEventListeners()},placement:"$_refreshPopperOptions",offset:"$_refreshPopperOptions",boundary:"$_refreshPopperOptions",strategy:"$_refreshPopperOptions",modifiers:"$_refreshPopperOptions",popperOptions:{handler:"$_refreshPopperOptions",deep:!0}},created:function(){this.$_isDisposed=!0,this.randomId="popper_".concat([Math.random(),Date.now()].map(function(e){return e.toString(36).substring(2,10)}).join("_"))},mounted:function(){this.init()},activated:function(){this.$_autoShowHide()},deactivated:function(){this.hide()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=n.event,i=n.skipDelay,u=i===void 0?!1:i,o=n.force,a=o===void 0?!1:o;(a||!this.disabled)&&(this.$_scheduleShow(r,u),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(function(){e.$_showFrameLocked=!1})),this.$emit("update:shown",!0)},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.event,r=e.skipDelay,i=r===void 0?!1:r;this.$_scheduleHide(n,i),this.$emit("hide"),this.$emit("update:shown",!1)},init:function(){this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_targetNodes=this.targetNodes().filter(function(e){return e.nodeType===e.ELEMENT_NODE}),this.$_popperNode=this.popperNode(),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose:function(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),this.$_detachPopperNode()),this.isMounted=!1,this.popperInstance=null,this.isShown=!1,this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},onResize:function(){var e=this;return _t(function*(){e.isShown&&e.popperInstance&&(yield e.popperInstance.update(),e.$emit("resize"))})()},$_getPopperOptions:function(){var e=this,n=Je(Je({},this.popperOptions),{},{placement:this.placement,strategy:this.strategy,modifiers:this.modifiers,onFirstUpdate:function(){var r=_t(function*(u){e.popperOptions.onFirstUpdate&&e.popperOptions.onFirstUpdate(u),yield e.$_applyShowEffect()});function i(u){return r.apply(this,arguments)}return i}()});return n.modifiers||(n.modifiers=[]),mi(n.modifiers,"arrow",{options:{element:this.arrowNode&&this.arrowNode()||"[data-popper-arrow]"}}),this.offset&&mi(n.modifiers,"offset",{options:{offset:this.offset}}),this.boundary&&mi(n.modifiers,"preventOverflow",{options:{boundary:this.boundary}}),this.isShown||mi(n.modifiers,"eventListeners",{enabled:!1}),n},$_refreshPopperOptions:function(){var e=this;return _t(function*(){e.popperInstance&&(yield e.popperInstance.setOptions(e.$_getPopperOptions()))})()},$_scheduleShow:function(){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),An&&this.instantMove&&An.instantMove){An.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide:function(){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(An=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay:function(e){var n=this.delay;return parseInt(n&&n[e]||n||0)},$_applyShow:function(){var e=arguments,n=this;return _t(function*(){var r=e.length>0&&e[0]!==void 0?e[0]:!1;clearTimeout(n.$_disposeTimer),clearTimeout(n.$_scheduleTimer),n.skipTransition=r,!n.isShown&&(n.isMounted||(n.$_ensureContainer(),n.isMounted=!0),n.popperInstance?(yield n.popperInstance.update(),yield n.$_refreshPopperOptions(),yield n.$_applyShowEffect()):n.popperInstance=Wy(n.referenceNode(),n.$_popperNode,n.$_getPopperOptions()))})()},$_applyShowEffect:function(){var e=this;return _t(function*(){if(!e.$_hideInProgress){var n,r=function(){return n||(n=e.referenceNode().getBoundingClientRect())};if(e.computeTransformOrigin){var i=r(),u=e.$_popperNode.querySelector(".v-popper__wrapper"),o=u.parentNode.getBoundingClientRect(),a=i.left+i.width/2-(o.left+u.offsetLeft),s=i.top+i.height/2-(o.top+u.offsetTop);u.style.transformOrigin="".concat(a,"px ").concat(s,"px")}if(e.autoMinSize){var c=r(),l=e.$_popperNode.querySelector(".v-popper__inner"),d=e.$_popperNode.dataset.popperPlacement.split("-"),f=c2(d,1),p=f[0];p==="left"||p==="right"?l.style.minHeight="".concat(c.height,"px"):l.style.minWidth="".concat(c.width,"px")}
15e.isShown=!0,e.$_applyAttrsToTarget({"aria-describedby":e.popperId,"data-popper-shown":""});var h=e.showGroup;if(h)for(var g,v=0;v<Ye.length;v++)g=Ye[v],g.showGroup!==h&&(g.hide(),g.$emit("close-group"));Ye.push(e),e.$emit("apply-show"),e.$_popperNode.setAttribute("data-popper-placement",e.popperInstance.state.placement),e.classes.showFrom=!0,e.classes.showTo=!1,e.classes.hideFrom=!1,e.classes.hideTo=!1,yield Il(),e.classes.showFrom=!1,e.classes.showTo=!0}})()},$_applyHide:function(){var e=arguments,n=this;return _t(function*(){var r=e.length>0&&e[0]!==void 0?e[0]:!1;if(clearTimeout(n.$_scheduleTimer),!!n.isShown){n.skipTransition=r,b2(Ye,n),An===n&&(An=null),n.isShown=!1,n.popperInstance&&(yield n.$_refreshPopperOptions()),n.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(n.$_disposeTimer);var i=Z(n.theme,"disposeTimeout");i!==null&&(n.$_disposeTimer=setTimeout(function(){n.$_popperNode&&(n.$_detachPopperNode(),n.isMounted=!1)},i)),n.$emit("apply-hide"),n.classes.showFrom=!1,n.classes.showTo=!1,n.classes.hideFrom=!0,n.classes.hideTo=!1,yield Il(),n.classes.hideFrom=!1,n.classes.hideTo=!0}})()},$_autoShowHide:function(){this.shown?this.show():this.hide()},$_ensureContainer:function(){var e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode)},$_addEventListeners:function(){var e=this,n=function(o,a,s,c,l){var d=s;c!=null&&(d=typeof c=="function"?c(d):c),d.forEach(function(f){var p=a[f];p&&(e.$_events.push({targetNodes:o,eventType:p,handler:l}),o.forEach(function(h){return h.addEventListener(p,l,Qn?{passive:!0}:void 0)}))})},r=function(o){e.isShown&&!e.$_hideInProgress||(o.usedByTooltip=!0,!e.$_preventShow&&e.show({event:o}))};n(this.$_targetNodes,Tl,this.triggers,this.showTriggers,r),n([this.$_popperNode],Tl,this.popperTriggers,this.popperShowTriggers,r);var i=function(o){o.usedByTooltip||e.hide({event:o})};n(this.$_targetNodes,Dl,this.triggers,this.hideTriggers,i),n([this.$_popperNode],Dl,this.popperTriggers,this.popperHideTriggers,i)},$_removeEventListeners:function(){this.$_events.forEach(function(e){var n=e.targetNodes,r=e.eventType,i=e.handler;n.forEach(function(u){return u.removeEventListener(r,i)})}),this.$_events=[]},$_handleGlobalClose:function(e){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),r&&(this.$_preventShow=!0,setTimeout(function(){n.$_preventShow=!1},300)))},$_handleGlobalResize:function(e){var n=this;return _t(function*(){n.popperInstance&&(yield n.popperInstance.update())})()},$_detachPopperNode:function(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs:function(e,n){var r=ca(this.$_targetNodes),i;try{for(r.s();!(i=r.n()).done;){var u=i.value,o=u.getAttribute(e);o&&(u.removeAttribute(e),u.setAttribute(n,o))}}catch(a){r.e(a)}finally{r.f()}},$_applyAttrsToTarget:function(e){var n=ca(this.$_targetNodes),r;try{for(n.s();!(r=n.n()).done;){var i=r.value;for(var u in e){var o=e[u];o==null?i.removeAttribute(u):i.setAttribute(u,o)}}}catch(a){n.e(a)}finally{n.f()}}},render:function(e){return this.$scopedSlots.default(this.slotData)[0]}}};typeof document<"u"&&typeof window<"u"&&(sh?(document.addEventListener("touchstart",Fl,Qn?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",w2,Qn?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Fl,!0),window.addEventListener("click",_2,!0)),window.addEventListener("resize",x2));function Fl(t){for(var e=0;e<Ye.length;e++){var n=Ye[e],r=n.popperNode();n.$_mouseDownContains=r.contains(t.target)}}function _2(t){lh(t)}function w2(t){lh(t,!0)}function lh(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=function(u){var o=Ye[u],a=o.popperNode(),s=o.$_mouseDownContains||a.contains(t.target);requestAnimationFrame(function(){(t.closeAllPopover||t.closePopover&&s||o.autoHide&&!s)&&o.$_handleGlobalClose(t,e)})},r=0;r<Ye.length;r++)n(r)}function x2(t){for(var e=0;e<Ye.length;e++){var n=Ye[e];n.$_handleGlobalResize(t)}
15}function Il(){return new Promise(function(t){return requestAnimationFrame(function(){requestAnimationFrame(t)})})}var dh={computed:{themeClass:function(){return m2(this.theme)}}},S2={name:"VPopperContent",components:{ResizeObserver:cg},mixins:[dh],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object}};function lr(t,e,n,r,i,u,o,a,s,c){typeof o!="boolean"&&(s=a,a=o,o=!1);var l=typeof n=="function"?n.options:n;t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),r&&(l._scopeId=r);var d;if(u?(d=function(g){g=g||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!g&&typeof __VUE_SSR_CONTEXT__<"u"&&(g=__VUE_SSR_CONTEXT__),e&&e.call(this,s(g)),g&&g._registeredComponents&&g._registeredComponents.add(u)},l._ssrRegister=d):e&&(d=o?function(h){e.call(this,c(h,this.$root.$options.shadowRoot))}:function(h){e.call(this,a(h))}),d)if(l.functional){var f=l.render;l.render=function(g,v){return d.call(v),f(g,v)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,d):[d]}return n}var E2=S2,fh=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("div",{ref:"popover",staticClass:"v-popper__popper",class:[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition}],attrs:{id:e.popperId,"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0},on:{keyup:function(u){if(!u.type.indexOf("key")&&e._k(u.keyCode,"esc",27,u.key,["Esc","Escape"]))return null;e.autoHide&&e.$emit("hide")}}},[r("div",{staticClass:"v-popper__wrapper"},[r("div",{ref:"inner",staticClass:"v-popper__inner"},[e.mounted?[r("div",[e._t("default")],2),e._v(" "),e.handleResize?r("ResizeObserver",{on:{notify:function(u){return e.$emit("resize",u)}}}):e._e()]:e._e()],2),e._v(" "),r("div",{ref:"arrow",staticClass:"v-popper__arrow-container"},[r("div",{staticClass:"v-popper__arrow-outer"}),e._v(" "),r("div",{staticClass:"v-popper__arrow-inner"})])])])},k2=[];fh._withStripped=!0;var A2=void 0,C2=void 0,O2=void 0,T2=!1,ph=lr({render:fh,staticRenderFns:k2},A2,E2,C2,T2,O2,!1,void 0,void 0,void 0),Is={methods:{show:function(){var e;return(e=this.$refs.popper).show.apply(e,arguments)},hide:function(){var e;return(e=this.$refs.popper).hide.apply(e,arguments)},dispose:function(){var e;return(e=this.$refs.popper).dispose.apply(e,arguments)},onResize:function(){var e;return(e=this.$refs.popper).onResize.apply(e,arguments)}}},D2={name:"VPopperWrapper",components:{Popper:ch(),PopperContent:ph},mixins:[Is,dh],inheritAttrs:!1,props:{theme:{type:String,default:function(){return this.$options.vPopperTheme}}},methods:{getTargetNodes:function(){var e=this;return Array.from(this.$refs.reference.children).filter(function(n){return n!==e.$refs.popperContent.$el})}}},F2=D2,hh=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"target-nodes":e.getTargetNodes,"reference-node":function(){return e.$refs.reference},"popper-node":function(){return e.$refs.popperContent.$el},"arrow-node":function(){return e.$refs.popperContent.$refs.arrow}},scopedSlots:e._u([{key:"default",fn:function(u){var o=u.popperId,a=u.isShown,s=u.shouldMountContent,c=u.skipTransition,l=u.autoHide,d=u.show,f=u.hide,p=u.handleResize,h=u.onResize,g=u.classes;return[r("div",{ref:"reference",staticClass:"v-popper",class:[e.themeClass,{"v-popper--shown":a}]},[e._t("default",null,{shown:a,show:d,hide:f}),e._v(" "),r("PopperContent",{ref:"popperContent",attrs:{"popper-id":o,theme:e.theme,shown:a,mounted:s,"skip-transition":c,"auto-hide":l,"handle-resize":p,classes:g},on:{hide:f,resize:h}},[e._t("popper",null,{shown:a,hide:f})],2)],2)]}}],null,!0)},"Popper",e.$attrs,!1),e.$listeners))},I2=[];hh._withStripped=!0;
15var R2=void 0,P2=void 0,L2=void 0,N2=!1,Rs=lr({render:hh,staticRenderFns:I2},R2,F2,P2,N2,L2,!1,void 0,void 0,void 0),$2=Je(Je({},Rs),{},{name:"VDropdown",vPopperTheme:"dropdown"}),j2=$2,M2=void 0,B2=void 0,U2=void 0,V2=void 0,da=lr({},M2,j2,B2,V2,U2,!1,void 0,void 0,void 0),q2=Je(Je({},Rs),{},{name:"VMenu",vPopperTheme:"menu"}),z2=q2,H2=void 0,G2=void 0,W2=void 0,K2=void 0,Rl=lr({},H2,z2,G2,K2,W2,!1,void 0,void 0,void 0),J2=Je(Je({},Rs),{},{name:"VTooltip",vPopperTheme:"tooltip"}),Y2=J2,Z2=void 0,X2=void 0,Q2=void 0,e_=void 0,fa=lr({},Z2,Y2,X2,e_,Q2,!1,void 0,void 0,void 0),t_={name:"VTooltipDirective",components:{Popper:ch(),PopperContent:ph},mixins:[Is],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:function(){return Z(this.theme,"html")}},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:function(){return Z(this.theme,"loadingContent")}}},data:function(){return{asyncContent:null}},computed:{isContentAsync:function(){return typeof this.content=="function"},loading:function(){return this.isContentAsync&&this.asyncContent==null},finalContent:function(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler:function(){this.fetchContent(!0)},immediate:!0},finalContent:function(e){var n=this;this.$nextTick(function(){n.$refs.popper.onResize()})}},created:function(){this.$_fetchId=0},methods:{fetchContent:function(e){var n=this;if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;var r=++this.$_fetchId,i=this.content(this);i.then?i.then(function(u){return n.onResult(r,u)}):this.onResult(r,i)}},onResult:function(e,n){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=n)},onShow:function(){this.$_isShown=!0,this.fetchContent()},onHide:function(){this.$_isShown=!1}}},n_=t_,vh=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("Popper",e._g(e._b({ref:"popper",attrs:{theme:e.theme,"popper-node":function(){return e.$refs.popperContent.$el},"arrow-node":function(){return e.$refs.popperContent.$refs.arrow}},on:{"apply-show":e.onShow,"apply-hide":e.onHide},scopedSlots:e._u([{key:"default",fn:function(u){var o=u.popperId,a=u.isShown,s=u.shouldMountContent,c=u.skipTransition,l=u.autoHide,d=u.hide,f=u.handleResize,p=u.onResize,h=u.classes;return[r("PopperContent",{ref:"popperContent",class:{"v-popper--tooltip-loading":e.loading},attrs:{"popper-id":o,theme:e.theme,shown:a,mounted:s,"skip-transition":c,"auto-hide":l,"handle-resize":f,classes:h},on:{hide:d,resize:p}},[e.html?r("div",{domProps:{innerHTML:e._s(e.finalContent)}}):r("div",{domProps:{textContent:e._s(e.finalContent)}})])]}}])},"Popper",e.$attrs,!1),e.$listeners))},r_=[];vh._withStripped=!0;var i_=void 0,u_=void 0,o_=void 0,a_=!1,s_=lr({render:vh,staticRenderFns:r_},i_,n_,u_,a_,o_,!1,void 0,void 0,void 0),gh="v-popper--has-tooltip";function c_(t,e){var n=t.placement;if(!n&&e){var r=ca(Du),i;try{for(r.s();!(i=r.n()).done;){var u=i.value;e[u]&&(n=u)}}catch(o){r.e(o)}finally{r.f()}}return n||(n=Z(t.theme||"tooltip","placement")),n}function mh(t,e,n){var r,i=Nr(e);return i==="string"?r={content:e}:e&&i==="object"?r=e:r={content:!1},r.placement=c_(r,n),r.targetNodes=function(){return[t]},r.referenceNode=function(){return t},r}function l_(t,e,n){var r=mh(t,e,n),i=t.$_popper=new sg({mixins:[Is],data:function(){return{options:r}},render:function(a){var s=this.options,c=s.theme,l=s.html,d=s.content,f=s.loadingContent,p=s2(s,["theme","html","content","loadingContent"]);return a(s_,{props:{theme:c,html:l,content:d,loadingContent:f},attrs:p,ref:"popper"})},devtools:{hide:!0}}),u=document.createElement("div");return document.body.appendChild(u),i.$mount(u),t.classList&&t.classList.add(gh),i}function yh(t){t.$_popper&&(t.$_popper.$destroy(),delete t.$_popper,delete t.$_popperOldShown),t.classList&&t.classList.remove(gh)}function Pl(t,e){var n=e.value;e.oldValue;var r=e.modifiers,i=mh(t,n,r);if(!i.content||Z(i.theme||"tooltip","disabled"))yh(t);else{var u;t.$_popper?(u=t.$_popper,u.options=i):u=l_(t,n,r),typeof n.shown<"u"&&n.shown!==t.$_popperOldShown&&(t.$_popperOldShown=n.shown,n.shown?u.$refs.tooltip.show():u.$refs.tooltip.hide())}}var d_={bind:Pl,update:Pl,unbind:function(e){yh(e)}};function Ll(t){t.addEventListener("click",bh),t.addEventListener("touchstart",_h,Qn?{passive:!0}:!1)}function Nl(t){t.removeEventListener("click",bh),t.removeEventListener("touchstart",_h),t.removeEventListener("touchend",wh),t.removeEventListener("touchcancel",xh)}function bh(t){var e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function _h(t){if(t.changedTouches.length===1){var e=t.currentTarget;e.$_vclosepopover_touch=!0;var n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",wh),e.addEventListener("touchcancel",xh)}}function wh(t){var e=t.currentTarget;if(e.$_vclosepopover_touch=!1,t.changedTouches.length===1){var n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function xh(t){var e=t.currentTarget;e.$_vclosepopover_touch=!1}var f_={bind:function(e,n){var r=n.value,i=n.modifiers;e.$_closePopoverModifiers=i,(typeof r>"u"||r)&&Ll(e)},update:function(e,n){var r=n.value,i=n.oldValue,u=n.modifiers;e.$_closePopoverModifiers=u,r!==i&&(typeof r>"u"||r?Ll(e):Nl(e))},unbind:function(e){Nl(e)}},g9=Ct,m9=da,y9=fa;function pa(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};pa.installed||(pa.installed=!0,ah(Ct,e),t.directive("tooltip",d_),t.directive("close-popper",f_),t.component("v-tooltip",fa),t.component("
15VTooltip",fa),t.component("v-dropdown",da),t.component("VDropdown",da),t.component("v-menu",Rl),t.component("VMenu",Rl))}var p_={version:"3.0.0-beta.20",install:pa,options:Ct},ou=null;typeof window<"u"?ou=window.Vue:typeof global<"u"&&(ou=global.Vue);ou&&ou.use(p_);function Ot(t){return typeof t=="string"||t instanceof String}function $l(t){var e;return typeof t=="object"&&t!=null&&(t==null||(e=t.constructor)==null?void 0:e.name)==="Object"}function Sh(t,e){return Array.isArray(e)?Sh(t,(n,r)=>e.includes(r)):Object.entries(t).reduce((n,r)=>{let[i,u]=r;return e(u,i)&&(n[i]=u),n},{})}const M={NONE:"NONE",LEFT:"LEFT",FORCE_LEFT:"FORCE_LEFT",RIGHT:"RIGHT",FORCE_RIGHT:"FORCE_RIGHT"};function h_(t){switch(t){case M.LEFT:return M.FORCE_LEFT;case M.RIGHT:return M.FORCE_RIGHT;default:return t}}function yo(t){return t.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function au(t,e){if(e===t)return!0;const n=Array.isArray(e),r=Array.isArray(t);let i;if(n&&r){if(e.length!=t.length)return!1;for(i=0;i<e.length;i++)if(!au(e[i],t[i]))return!1;return!0}if(n!=r)return!1;if(e&&t&&typeof e=="object"&&typeof t=="object"){const u=e instanceof Date,o=t instanceof Date;if(u&&o)return e.getTime()==t.getTime();if(u!=o)return!1;const a=e instanceof RegExp,s=t instanceof RegExp;if(a&&s)return e.toString()==t.toString();if(a!=s)return!1;const c=Object.keys(e);for(i=0;i<c.length;i++)if(!Object.prototype.hasOwnProperty.call(t,c[i]))return!1;for(i=0;i<c.length;i++)if(!au(t[c[i]],e[c[i]]))return!1;return!0}else if(e&&t&&typeof e=="function"&&typeof t=="function")return e.toString()===t.toString();return!1}class v_{constructor(e){for(Object.assign(this,e);this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start;if(this.insertedCount)for(;this.value.slice(this.cursorPos)!==this.oldValue.slice(this.oldSelection.end);)this.value.length-this.cursorPos<this.oldValue.length-this.oldSelection.end?++this.oldSelection.end:++this.cursorPos}get startChangePos(){return Math.min(this.cursorPos,this.oldSelection.start)}get insertedCount(){return this.cursorPos-this.startChangePos}get inserted(){return this.value.substr(this.startChangePos,this.insertedCount)}get removedCount(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}get removed(){return this.oldValue.substr(this.startChangePos,this.removedCount)}get head(){return this.value.substring(0,this.startChangePos)}get tail(){return this.value.substring(this.startChangePos+this.insertedCount)}get removeDirection(){return!this.removedCount||this.insertedCount?M.NONE:(this.oldSelection.end===this.cursorPos||this.oldSelection.start===this.cursorPos)&&this.oldSelection.end===this.oldSelection.start?M.RIGHT:M.LEFT}}function z(t,e){return new z.InputMask(t,e)}function Eh(t){if(t==null)throw new Error("mask property should be defined");return t instanceof RegExp?z.MaskedRegExp:Ot(t)?z.MaskedPattern:t===Date?z.MaskedDate:t===Number?z.MaskedNumber:Array.isArray(t)||t===Array?z.MaskedDynamic:z.Masked&&t.prototype instanceof z.Masked?t:z.Masked&&t instanceof z.Masked?t.constructor:t instanceof Function?z.MaskedFunction:(console.warn("Mask not found for mask",t),z.Masked)}function Hr(t){if(!t)throw new Error("Options in not defined");if(z.Masked){if(t.prototype instanceof z.Masked)return{mask:t};const{mask:e=void 0,...n}=t instanceof z.Masked?{mask:t}:$l(t)&&t.mask instanceof z.Masked?t:{};if(e){const r=e.mask;return{...Sh(e,(i,u)=>!u.startsWith("_")),mask:e.constructor,_mask:r,...n}}}return $l(t)?{...t}:{mask:t}}function mt(t){if(z.Masked&&t instanceof z.Masked)return t;const e=Hr(t),n=Eh(e.mask);if(!n)throw new Error("Masked class is not found for provided mask "+e.mask+", appropriate module needs to be imported manually before creating mask.");return e.mask===n&&delete e.mask,e._mask&&(e.mask=e._mask,delete e._mask),new n(e)}z.createMask=mt;class Ps{get selectionStart(){let e;try{e=this._unsafeSelectionStart}catch{}return e??this.value.length}get selectionEnd(){let e;try{e=this._unsafeSelectionEnd}catch{}return e??this.value.length}select(e,n){if(!(e==null||n==null||e===this.selectionStart&&n===this.selectionEnd))try{this._unsafeSelect(e,n)}catch{}}get isActive(){return!1}}z.MaskElement=Ps;const jl=90,g_=89;class Lu extends Ps{constructor(e){super(),this.input=e,this._onKeydown=this._onKeydown.bind(this),this._onInput=this._onInput.bind(this),this._onBeforeinput=this._onBeforeinput.bind(this),this._onCompositionEnd=this._onCompositionEnd.bind(this)}get rootElement(){var e,n,r;return(e=(n=(r=this.input).getRootNode)==null?void 0:n.call(r))!=null?e:document}get isActive(){return this.input===this.rootElement.activeElement}bindEvents(e){this.input.addEventListener("keydown",this._onKeydown),this.input.addEventListener("input",this._onInput),this.input.addEventListener("beforeinput",this._onBeforeinput),this.input.addEventListener("compositionend",this._onCompositionEnd),this.input.addEventListener("drop",e.drop),this.input.addEventListener("click",e.click),this.input.addEventListener("focus",e.focus),this.input.addEventListener("blur",e.commit),this._handlers=e}_onKeydown(e){if(this._handlers.redo&&(e.keyCode===jl&&e.shiftKey&&(e.metaKey||e.ctrlKey)||e.keyCode===g_&&e.ctrlKey))return e.preventDefault(),this._handlers.redo(e);if(this._handlers.undo&&e.keyCode===jl&&(e.metaKey||e.ctrlKey))return e.preventDefault(),this._handlers.undo(e);e.isComposing||this._handlers.selectionChange(e)}_onBeforeinput(e){if(e.inputType==="historyUndo"&&this._handlers.undo)return e.preventDefault(),this._handlers.undo(e);if(e.inputType==="historyRedo"&&this._handlers.redo)return e.preventDefault(),this._handlers.redo(e)}_onCompositionEnd(e){this._handlers.input(e)}_onInput(e){e.isComposing||this._handlers.input(e)}unbindEvents(){this.input.removeEventListener("keydown",this._onKeydown),this.input.removeEventListener("input",this._onInput),this.input.removeEventListener("beforeinput",this._onBeforeinput),this.input.removeEventListener("compositionend",this._onCompositionEnd),this.input.removeEventListener("drop",this._handlers.drop),this.input.removeEventListener("click",this._handlers.click),this.input.removeEventListener("focus",this._handlers.focus),this.input.removeEventListener("blur",this._handlers.commit),this._handlers={}}}z.HTMLMaskElement=Lu;class m_ extends Lu{constructor(e){super(e),this.input=e}get _unsafeSelectionStart(){return this.input.selectionStart!=null?this.input.selectionStart:this.value.length}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(e,n){this.input.setSelectionRange(e,n)}get value(){return this.input.value}set value(e){this.input.value=e}}z.HTMLMaskElement=Lu;class kh extends Lu{get _unsafeSelectionStart(){const e=this.rootElement,n=e.getSelection&&e.getSelection(),r=n&&n.anchorOffset,i=n&&n.focusOffset;return i==null||r==null||r<i?r:i}get _unsafeSelectionEnd(){const e=this.rootElement,n=e.getSelection&&e.getSelection(),r=n&&n.anchorOffset,i=n&&n.focusOffset;return i==null||r==null||r>i?r:i}_unsafeSelect(e,n){if(!this.rootElement.createRange)return;const r=this.rootElement.createRange();r.setStart(this.input.firstChild||this.input,e),r.setEnd(this.input.last
vendor: 12,329 bytes, line 15
15Child||this.input,n);const i=this.rootElement,u=i.getSelection&&i.getSelection();u&&(u.removeAllRanges(),u.addRange(r))}get value(){return this.input.textContent||""}set value(e){this.input.textContent=e}}z.HTMLContenteditableMaskElement=kh;class Nu{constructor(){this.states=[],this.currentIndex=0}get currentState(){return this.states[this.currentIndex]}get isEmpty(){return this.states.length===0}push(e){this.currentIndex<this.states.length-1&&(this.states.length=this.currentIndex+1),this.states.push(e),this.states.length>Nu.MAX_LENGTH&&this.states.shift(),this.currentIndex=this.states.length-1}go(e){return this.currentIndex=Math.min(Math.max(this.currentIndex+e,0),this.states.length-1),this.currentState}undo(){return this.go(-1)}redo(){return this.go(1)}clear(){this.states.length=0,this.currentIndex=0}}Nu.MAX_LENGTH=100;class y_{constructor(e,n){this.el=e instanceof Ps?e:e.isContentEditable&&e.tagName!=="INPUT"&&e.tagName!=="TEXTAREA"?new kh(e):new m_(e),this.masked=mt(n),this._listeners={},this._value="",this._unmaskedValue="",this._rawInputValue="",this.history=new Nu,this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this._onUndo=this._onUndo.bind(this),this._onRedo=this._onRedo.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}maskEquals(e){var n;return e==null||((n=this.masked)==null?void 0:n.maskEquals(e))}get mask(){return this.masked.mask}set mask(e){if(this.maskEquals(e))return;if(!(e instanceof z.Masked)&&this.masked.constructor===Eh(e)){this.masked.updateOptions({mask:e});return}const n=e instanceof z.Masked?e:mt({mask:e});n.unmaskedValue=this.masked.unmaskedValue,this.masked=n}get value(){return this._value}set value(e){this.value!==e&&(this.masked.value=e,this.updateControl("auto"))}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(e){this.unmaskedValue!==e&&(this.masked.unmaskedValue=e,this.updateControl("auto"))}get rawInputValue(){return this._rawInputValue}set rawInputValue(e){this.rawInputValue!==e&&(this.masked.rawInputValue=e,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(e){this.masked.typedValueEquals(e)||(this.masked.typedValue=e,this.updateControl("auto"))}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange,undo:this._onUndo,redo:this._onRedo})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(e,n){const r=this._listeners[e];r&&r.forEach(i=>i(n))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(e){!this.el||!this.el.isActive||(this.el.select(e,e),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value,this._unmaskedValue=this.masked.unmaskedValue,this._rawInputValue=this.masked.rawInputValue}updateControl(e){const n=this.masked.unmaskedValue,r=this.masked.value,i=this.masked.rawInputValue,u=this.displayValue,o=this.unmaskedValue!==n||this.value!==r||this._rawInputValue!==i;this._unmaskedValue=n,this._value=r,this._rawInputValue=i,this.el.value!==u&&(this.el.value=u),e==="auto"?this.alignCursor():e!=null&&(this.cursorPos=e),o&&this._fireChangeEvents(),!this._historyChanging&&(o||this.history.isEmpty)&&this.history.push({unmaskedValue:n,selection:{start:this.selectionStart,end:this.cursorPos}})}updateOptions(e){const{mask:n,...r}=e,i=!this.maskEquals(n),u=this.masked.optionsIsChanged(r);i&&(this.mask=n),u&&this.masked.updateOptions(r),(i||u)&&this.updateControl()}updateCursor(e){e!=null&&(this.cursorPos=e,this._delayUpdateCursor(e))}_delayUpdateCursor(e){this._abortUpdateCursor(),this._changingCursorPos=e,this._cursorChanging=setTimeout(()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())},10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,M.LEFT))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(e,n){return this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(n),this}off(e,n){if(!this._listeners[e])return this;if(!n)return delete this._listeners[e],this;const r=this._listeners[e].indexOf(n);return r>=0&&this._listeners[e].splice(r,1),this}_onInput(e){this._inputEvent=e,this._abortUpdateCursor();const n=new v_({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection}),r=this.masked.rawInputValue,i=this.masked.splice(n.startChangePos,n.removed.length,n.inserted,n.removeDirection,{input:!0,raw:!0}).offset,u=r===this.masked.rawInputValue?n.removeDirection:M.NONE;let o=this.masked.nearestInputPos(n.startChangePos+i,u);u!==M.NONE&&(o=this.masked.nearestInputPos(o,M.NONE)),this.updateControl(o),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(e){e.preventDefault(),e.stopPropagation()}_onFocus(e){this.alignCursorFriendly()}_onClick(e){this.alignCursorFriendly()}_onUndo(){this._applyHistoryState(this.history.undo())}_onRedo(){this._applyHistoryState(this.history.redo())}_applyHistoryState(e){e&&(this._historyChanging=!0,this.unmaskedValue=e.unmaskedValue,this.el.select(e.selection.start,e.selection.end),this._saveSelection(),this._historyChanging=!1)}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}}z.InputMask=y_;class G{static normalize(e){return Array.isArray(e)?e:[e,new G]}constructor(e){Object.assign(this,{inserted:"",rawInserted:"",tailShift:0,skip:!1},e)}aggregate(e){return this.inserted+=e.inserted,this.rawInserted+=e.rawInserted,this.tailShift+=e.tailShift,this.skip=this.skip||e.skip,this}get offset(){return this.tailShift+this.inserted.length}get consumed(){return!!this.rawInserted||this.skip}equals(e){return this.inserted===e.inserted&&this.tailShift===e.tailShift&&this.rawInserted===e.rawInserted&&this.skip===e.skip}}z.ChangeDetails=G;class Ze{constructor(e,n,r){e===void 0&&(e=""),n===void 0&&(n=0),this.value=e,this.from=n,this.stop=r}toString(){return this.value}extend(e){this.value+=String(e)}appendTo(e){return e.append(this.toString(),{tail:!0}).aggregate(e._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(e){Object.assign(this,e)}unshift(e){if(!this.value.length||e!=null&&this.from>=e)return"";const n=this.value[0];return this.value=this.value.slice(1),n}shift(){if(!this.value.length)return"";const e=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),e}}class me{constructor(e){this._value="",this._update({...me.DEFAULTS,...e}),this._initialized=!0}updateOptions(e){this.optionsIsChanged(e)&&this.withValueRefresh(this._update.bind(this,e))}_update(e){Object.assign(this,e)}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue}}set state(e){this._value=e._value}reset(){this._value=""}get value(){return this._value}set value(e){this.resolve(e,{input:!0})}resolve(e,n){n===void 0&&(n={input:!0}),this.reset(),this.append(e,n,""),this.doCommit()}get unmaskedValue(){return this.value}set unmaskedValue(e){this.resolve(e,{})}get typedValue(){return this.parse?this.parse(this.value,this):this.unmaskedValue}set typedValue(e){this.format?this.value=this.format(e,this):this.unmaskedValue=String(e)}get rawInputValue(){return this.extractInput(0,this.displayValue.length,{raw:!0})}set rawInputValue(e){this.resolve(e,{raw:!0})}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(e,n){return e}totalInputPositions(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length),Math.min(this.displayValue.length,n-e)}extractInput(e,n,r){return e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length),this.displayValue.slice(e,n)}extractTail(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length),new Ze(this.extractInput(e,n),e)}appendTail(e){return Ot(e)&&(e=new Ze(String(e))),e.appendTo(this)}_appendCharRaw(e,n){return e?(this._value+=e,new G({inserted:e,rawInserted:e})):new G}_appendChar(e,n,r){n===void 0&&(n={});const i=this.state;let u;if([e,u]=this.doPrepareChar(e,n),e&&(u=u.aggregate(this._appendCharRaw(e,n)),!u.rawInserted&&this.autofix==="pad")){const o=this.state;this.state=i;let a=this.pad(n);const s=this._appendCharRaw(e,n);a=a.aggregate(s),s.rawInserted||a.equals(u)?u=a:this.state=o}if(u.inserted){let o,a=this.doValidate(n)!==!1;if(a&&r!=null){const s=this.state;if(this.overwrite===!0){o=r.state;for(let l=0;l<u.rawInserted.length;++l)r.unshift(this.displayValue.length-u.tailShift)}let c=this.appendTail(r);if(a=c.rawInserted.length===r.toString().length,!(a&&c.inserted)&&this.overwrite==="shift"){this.state=s,o=r.state;for(let l=0;l<u.rawInserted.length;++l)r.shift();c=this.appendTail(r),a=c.rawInserted.length===r.toString().length}a&&c.inserted&&(this.state=s)}a||(u=new G,this.state=i,r&&o&&(r.state=o))}return u}_appendPlaceholder(){return new G}_appendEager(){return new G}append(e,n,r){if(!Ot(e))throw new Error("value should be string");const i=Ot(r)?new Ze(String(r)):r;n!=null&&n.tail&&(n._beforeTailState=this.state);let u;[e,u]=this.doPrepare(e,n);for(let o=0;o<e.length;++o){const a=this._appendChar(e[o],n,i);if(!a.rawInserted&&!this.doSkipInvalid(e[o],n,i))break;u.aggregate(a)}return(this.eager===!0||this.eager==="append")&&n!=null&&n.input&&e&&u.aggregate(this._appendEager()),i!=null&&(u.tailShift+=this.appendTail(i).tailShift),u}remove(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length),this._value=this.displayValue.slice(0,e)+this.displayValue.slice(n),new G}withValueRefresh(e){if(this._refreshing||!this._initialized)return e();this._refreshing=!0;const n=this.rawInputValue,r=this.value,i=e();return this.rawInputValue=n,this.value&&this.value!==r&&r.indexOf(this.value)===0&&(this.append(r.slice(this.displayValue.length),{},""),this.doCommit()),delete this._refreshing,i}runIsolated(e){if(this._isolated||!this._initialized)return e(this);this._isolated=!0;const n=this.state,r=e(this);return this.state=n,delete this._isolated,r}doSkipInvalid(e,n,r){return!!this.skipInvalid}doPrepare(e,n){return n===void 0&&(n={}),G.normalize(this.prepare?this.prepare(e,this,n):e)}doPrepareChar(e,n){return n===void 0&&(n={}),G.normalize(this.prepareChar?this.prepareChar(e,this,n):e)}doValidate(e){return(!this.validate||this.validate(this.value,this,e))&&(!this.parent||this.parent.doValidate(e))}doCommit(){this.commit&&this.commit(this.value,this)}splice(e,n,r,i,u){r===void 0&&(r=""),i===void 0&&(i=M.NONE),u===void 0&&(u={input:!0});const o=e+n,a=this.extractTail(o),s=this.eager===!0||this.eager==="remove";let c;s&&(i=h_(i),c=this.extractInput(0,o,{raw:!0}));let l=e;const d=new G;if(i!==M.NONE&&(l=this.nearestInputPos(e,n>1&&e!==0&&!s?M.NONE:i),d.tailShift=l-e),d.aggregate(this.remove(l)),s&&i!==M.NONE&&c===this.rawInputValue)if(i===M.FORCE_LEFT){let f;for(;c===this.rawInputValue&&(f=this.displayValue.length);)d.aggregate(new G({tailShift:-1})).aggregate(this.remove(f-1))}else i===M.FORCE_RIGHT&&a.unshift();return d.aggregate(this.append(r,u,a))}maskEquals(e){return this.mask===e}optionsIsChanged(e){return!au(this,e)}typedValueEquals(e){const n=this.typedValue;return e===n||me.EMPTY_VALUES.includes(e)&&me.EMPTY_VALUES.includes(n)||(this.format?this.format(e,this)===this.format(this.t
vendor: 5,911 bytes, line 15
15ypedValue,this):!1)}pad(e){return new G}}me.DEFAULTS={skipInvalid:!0};me.EMPTY_VALUES=[void 0,null,""];z.Masked=me;class en{constructor(e,n){e===void 0&&(e=[]),n===void 0&&(n=0),this.chunks=e,this.from=n}toString(){return this.chunks.map(String).join("")}extend(e){if(!String(e))return;e=Ot(e)?new Ze(String(e)):e;const n=this.chunks[this.chunks.length-1],r=n&&(n.stop===e.stop||e.stop==null)&&e.from===n.from+n.toString().length;if(e instanceof Ze)r?n.extend(e.toString()):this.chunks.push(e);else if(e instanceof en){if(e.stop==null){let i;for(;e.chunks.length&&e.chunks[0].stop==null;)i=e.chunks.shift(),i.from+=e.from,this.extend(i)}e.toString()&&(e.stop=e.blockIndex,this.chunks.push(e))}}appendTo(e){if(!(e instanceof z.MaskedPattern))return new Ze(this.toString()).appendTo(e);const n=new G;for(let r=0;r<this.chunks.length;++r){const i=this.chunks[r],u=e._mapPosToBlock(e.displayValue.length),o=i.stop;let a;if(o!=null&&(!u||u.index<=o)&&((i instanceof en||e._stops.indexOf(o)>=0)&&n.aggregate(e._appendPlaceholder(o)),a=i instanceof en&&e._blocks[o]),a){const s=a.appendTail(i);n.aggregate(s);const c=i.toString().slice(s.rawInserted.length);c&&n.aggregate(e.append(c,{tail:!0}))}else n.aggregate(e.append(i.toString(),{tail:!0}))}return n}get state(){return{chunks:this.chunks.map(e=>e.state),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(e){const{chunks:n,...r}=e;Object.assign(this,r),this.chunks=n.map(i=>{const u="chunks"in i?new en:new Ze;return u.state=i,u})}unshift(e){if(!this.chunks.length||e!=null&&this.from>=e)return"";const n=e!=null?e-this.from:e;let r=0;for(;r<this.chunks.length;){const i=this.chunks[r],u=i.unshift(n);if(i.toString()){if(!u)break;++r}else this.chunks.splice(r,1);if(u)return u}return""}shift(){if(!this.chunks.length)return"";let e=this.chunks.length-1;for(;0<=e;){const n=this.chunks[e],r=n.shift();if(n.toString()){if(!r)break;--e}else this.chunks.splice(e,1);if(r)return r}return""}}class b_{constructor(e,n){this.masked=e,this._log=[];const{offset:r,index:i}=e._mapPosToBlock(n)||(n<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0});this.offset=r,this.index=i,this.ok=!1}get block(){return this.masked._blocks[this.index]}get pos(){return this.masked._blockStartPos(this.index)+this.offset}get state(){return{index:this.index,offset:this.offset,ok:this.ok}}set state(e){Object.assign(this,e)}pushState(){this._log.push(this.state)}popState(){const e=this._log.pop();return e&&(this.state=e),e}bindBlock(){this.block||(this.index<0&&(this.index=0,this.offset=0),this.index>=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.displayValue.length))}_pushLeft(e){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=((n=this.block)==null?void 0:n.displayValue.length)||0){var n;if(e())return this.ok=!0}return this.ok=!1}_pushRight(e){for(this.pushState(),this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0)if(e())return this.ok=!0;return this.ok=!1}pushLeftBeforeFilled(){return this._pushLeft(()=>{if(!(this.block.isFixed||!this.block.value)&&(this.offset=this.block.nearestInputPos(this.offset,M.FORCE_LEFT),this.offset!==0))return!0})}pushLeftBeforeInput(){return this._pushLeft(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,M.LEFT),!0})}pushLeftBeforeRequired(){return this._pushLeft(()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,M.LEFT),!0})}pushRightBeforeFilled(){return this._pushRight(()=>{if(!(this.block.isFixed||!this.block.value)&&(this.offset=this.block.nearestInputPos(this.offset,M.FORCE_RIGHT),this.offset!==this.block.value.length))return!0})}pushRightBeforeInput(){return this._pushRight(()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,M.NONE),!0})}pushRightBeforeRequired(){return this._pushRight(()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,M.NONE),!0})}}class Ah{constructor(e){Object.assign(this,e),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get rawInputValue(){return this._isRawInput?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(e,n){return e===void 0&&(e=0),n===void 0&&(n=this._value.length),this._value=this._value.slice(0,e)+this._value.slice(n),this._value||(this._isRawInput=!1),new G}nearestInputPos(e,n){n===void 0&&(n=M.NONE);const r=0,i=this._value.length;switch(n){case M.LEFT:case M.FORCE_LEFT:return r;case M.NONE:case M.RIGHT:case M.FORCE_RIGHT:default:return i}}totalInputPositions(e,n){return e===void 0&&(e=0),n===void 0&&(n=this._value.length),this._isRawInput?n-e:0}extractInput(e,n,r){return e===void 0&&(e=0),n===void 0&&(n=this._value.length),r===void 0&&(r={}),r.raw&&this._isRawInput&&this._value.slice(e,n)||""}get isComplete(){return!0}get isFilled(){return!!this._value}_appendChar(e,n){if(n===void 0&&(n={}),this.isFilled)return new G;const r=this.eager===!0||this.eager==="append",u=this.char===e&&(this.isUnmasking||n.input||n.raw)&&(!n.raw||!r)&&!n.tail,o=new G({inserted:this.char,rawInserted:u?this.char:""});return this._value=this.char,this._isRawInput=u&&(n.raw||n.input),o}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){const e=new G;return this.isFilled||(this._value=e.inserted=this.char),e}extractTail(){return new Ze("")}appendTail(e){return Ot(e)&&(e=new Ze(String(e))),e.appendTo(this)}append(e,n,r){const i=this._appendChar(e[0],n);return r!=null&&(i.tailShift+=this.appendTail(r).tailShift),i}doCommit(){}get state(){return{_value:this._value,_rawInputValue:this.rawInputValue}}set state(e){this._value=e._value,this._isRawInput=!!e._rawInputValue}
15pad(e){return this._appendPlaceholder()}}class su{constructor(e){const{parent:n,isOptional:r,placeholderChar:i,displayChar:u,lazy:o,eager:a,...s}=e;this.masked=mt(s),Object.assign(this,{parent:n,isOptional:r,placeholderChar:i,displayChar:u,lazy:o,eager:a})}reset(){this.isFilled=!1,this.masked.reset()}remove(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.value.length),e===0&&n>=1?(this.isFilled=!1,this.masked.remove(e,n)):new G}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get rawInputValue(){return this.masked.rawInputValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return!!this.masked.value||this.isOptional}_appendChar(e,n){if(n===void 0&&(n={}),this.isFilled)return new G;const r=this.masked.state;let i=this.masked._appendChar(e,this.currentMaskFlags(n));return i.inserted&&this.doValidate(n)===!1&&(i=new G,this.masked.state=r),!i.inserted&&!this.isOptional&&!this.lazy&&!n.input&&(i.inserted=this.placeholderChar),i.skip=!i.inserted&&!this.isOptional,this.isFilled=!!i.inserted,i}append(e,n,r){return this.masked.append(e,this.currentMaskFlags(n),r)}_appendPlaceholder(){return this.isFilled||this.isOptional?new G:(this.isFilled=!0,new G({inserted:this.placeholderChar}))}_appendEager(){return new G}extractTail(e,n){return this.masked.extractTail(e,n)}appendTail(e){return this.masked.appendTail(e)}extractInput(e,n,r){return e===void 0&&(e=0),n===void 0&&(n=this.value.length),this.masked.extractInput(e,n,r)}nearestInputPos(e,n){n===void 0&&(n=M.NONE);const r=0,i=this.value.length,u=Math.min(Math.max(e,r),i);switch(n){case M.LEFT:case M.FORCE_LEFT:return this.isComplete?u:r;case M.RIGHT:case M.FORCE_RIGHT:return this.isComplete?u:i;case M.NONE:default:return u}}totalInputPositions(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.value.length),this.value.slice(e,n).length}doValidate(e){return this.masked.doValidate(this.currentMaskFlags(e))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(e)))}doCommit(){this.masked.doCommit()}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}}set state(e){this.masked.state=e.masked,this.isFilled=e.isFilled}currentMaskFlags(e){var n;return{...e,_beforeTailState:(e==null||(n=e._beforeTailState)==null?void 0:n.masked)||(e==null?void 0:e._beforeTailState)}}pad(e){return new G}}su.DEFAULT_DEFINITIONS={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u
vendor: 4,428 bytes, line 15
150EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};class __ extends me{updateOptions(e){super.updateOptions(e)}_update(e){const n=e.mask;n&&(e.validate=r=>r.search(n)>=0),super._update(e)}}z.MaskedRegExp=__;class ye extends me{constructor(e){super({...ye.DEFAULTS,...e,definitions:Object.assign({},su.DEFAULT_DEFINITIONS,e==null?void 0:e.definitions)})}updateOptions(e){super.updateOptions(e)}_update(e){e.definitions=Object.assign({},this.definitions,e.definitions),super._update(e),this._rebuildMask()}_rebuildMask(){const e=this.definitions;this._blocks=[],this.exposeBlock=void 0,this._stops=[],this._maskedBlocks={};const n=this.mask;if(!n||!e)return;let r=!1,i=!1;for(let u=0;u<n.length;++u){if(this.blocks){const c=n.slice(u),l=Object.keys(this.blocks).filter(f=>c.indexOf(f)===0);l.sort((f,p)=>p.length-f.length);const d=l[0];if(d){const{expose:f,repeat:p,...h}=Hr(this.blocks[d]),g={lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite,autofix:this.autofix,...h,repeat:p,parent:this},v=p!=null?new z.RepeatBlock(g):mt(g);v&&(this._blocks.push(v),f&&(this.exposeBlock=v),this._maskedBlocks[d]||(this._maskedBlocks[d]=[]),this._maskedBlocks[d].push(this._blocks.length-1)),u+=d.length-1;continue}}let o=n[u],a=o in e;if(o===ye.STOP_CHAR){this._stops.push(this._blocks.length);continue}if(o==="{"||o==="}"){r=!r;continue}if(o==="["||o==="]"){i=!i;continue}if(o===ye.ESCAPE_CHAR){if(++u,o=n[u],!o)break;a=!1}const s=a?new su({isOptional:i,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,...Hr(e[o]),parent:this}):new Ah({char:o,eager:this.eager,isUnmasking:r});this._blocks.push(s)}}get state(){return{...super.state,_blocks:this._blocks.map(e=>e.state)}}set state(e){if(!e){this.reset();return}const{_blocks:n,...r}=e;this._blocks.forEach((i,u)=>i.state=n[u]),super.state=r}
15reset(){super.reset(),this._blocks.forEach(e=>e.reset())}get isComplete(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every(e=>e.isComplete)}get isFilled(){return this._blocks.every(e=>e.isFilled)}get isFixed(){return this._blocks.every(e=>e.isFixed)}get isOptional(){return this._blocks.every(e=>e.isOptional)}doCommit(){this._blocks.forEach(e=>e.doCommit()),super.doCommit()}get unmaskedValue(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce((e,n)=>e+=n.unmaskedValue,"")}set unmaskedValue(e){if(this.exposeBlock){const n=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=e,this.appendTail(n),this.doCommit()}else super.unmaskedValue=e}get value(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce((e,n)=>e+=n.value,"")}set value(e){if(this.exposeBlock){const n=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=e,this.appendTail(n),this.doCommit()}else super.value=e}get typedValue(){return this.exposeBlock?this.exposeBlock.typedValue:super.typedValue}set typedValue(e){if(this.exposeBlock){const n=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=e,this.appendTail(n),this.doCommit()}else super.typedValue=e}get displayValue(){return this._blocks.reduce((e,n)=>e+=n.displayValue,"")}appendTail(e){return super.appendTail(e).aggregate(this._appendPlaceholder())}_appendEager(){var e;const n=new G;let r=(e=this._mapPosToBlock(this.displayValue.length))==null?void 0:e.index;if(r==null)return n;this._blocks[r].isFilled&&++r;for(let i=r;i<this._blocks.length;++i){const u=this._blocks[i]._appendEager();if(!u.inserted)break;n.aggregate(u)}return n}_appendCharRaw(e,n){n===void 0&&(n={});const r=this._mapPosToBlock(this.displayValue.length),i=new G;if(!r)return i;for(let o=r.index,a;a=this._blocks[o];++o){var u;const s=a._appendChar(e,{...n,_beforeTailState:(u=n._beforeTailState)==null||(u=u._blocks)==null?void 0:u[o]});if(i.aggregate(s),s.consumed)break}return i}extractTail(e,n){e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length);const r=new en;return e===n||this._forEachBlocksInRange(e,n,(i,u,o,a)=>{const s=i.extractTail(o,a);s.stop=this._findStopBefore(u),s.from=this._blockStartPos(u),s instanceof en&&(s.blockIndex=u),r.extend(s)}),r}extractInput(e,n,r){if(e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length),r===void 0&&(r={}),e===n)return"";let i="";return this._forEachBlocksInRange(e,n,(u,o,a,s)=>{i+=u.extractInput(a,s,r)}),i}_findStopBefore(e){let n;for(let r=0;r<this._stops.length;++r){const i=this._stops[r];if(i<=e)n=i;else break}return n}_appendPlaceholder(e){const n=new G;if(this.lazy&&e==null)return n;const r=this._mapPosToBlock(this.displayValue.length);if(!r)return n;const i=r.index,u=e??this._blocks.length;return this._blocks.slice(i,u).forEach(o=>{if(!o.lazy||e!=null){var a;n.aggregate(o._appendPlaceholder((a=o._blocks)==null?void 0:a.length))}}),n}_mapPosToBlock(e){let n="";for(let r=0;r<this._blocks.length;++r){const i=this._blocks[r],u=n.length;if(n+=i.displayValue,e<=n.length)return{index:r,offset:e-u}}}_blockStartPos(e){return this._blocks.slice(0,e).reduce((n,r)=>n+=r.displayValue.length,0)}_forEachBlocksInRange(e,n,r){n===void 0&&(n=this.displayValue.length);const i=this._mapPosToBlock(e);if(i){const u=this._mapPosToBlock(n),o=u&&i.index===u.index,a=i.offset,s=u&&o?u.offset:this._blocks[i.index].displayValue.length;if(r(this._blocks[i.index],i.index,a,s),u&&!o){for(let c=i.index+1;c<u.index;++c)r(this._blocks[c],c,0,this._blocks[c].displayValue.length);r(this._blocks[u.index],u.index,0,u.offset)}}}remove(e,n){e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length);const r=super.remove(e,n);return this._forEachBlocksInRange(e,n,(i,u,o,a)=>{r.aggregate(i.remove(o,a))}),r}nearestInputPos(e,n){if(n===void 0&&(n=M.NONE),!this._blocks.length)return 0;const r=new b_(this,e);if(n===M.NONE)return r.pushRightBeforeInput()||(r.popState(),r.pushLeftBeforeInput())?r.pos:this.displayValue.length;if(n===M.LEFT||n===M.FORCE_LEFT){if(n===M.LEFT){if(r.pushRightBeforeFilled(),r.ok&&r.pos===e)return e;r.popState()}if(r.pushLeftBeforeInput(),r.pushLeftBeforeRequired(),r.pushLeftBeforeFilled(),n===M.LEFT){if(r.pushRightBeforeInput(),r.pushRightBeforeRequired(),r.ok&&r.pos<=e||(r.popState(),r.ok&&r.pos<=e))return r.pos;r.popState()}return r.ok?r.pos:n===M.FORCE_LEFT?0:(r.popState(),r.ok||(r.popState(),r.ok)?r.pos:0)}return n===M.RIGHT||n===M.FORCE_RIGHT?(r.pushRightBeforeInput(),r.pushRightBeforeRequired(),r.pushRightBeforeFilled()?r.pos:n===M.FORCE_RIGHT?this.displayValue.length:(r.popState(),r.ok||(r.popState(),r.ok)?r.pos:this.nearestInputPos(e,M.LEFT))):e}totalInputPositions(e,n){e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length);let r=0;
vendor: 4,537 bytes, line 15
15return this._forEachBlocksInRange(e,n,(i,u,o,a)=>{r+=i.totalInputPositions(o,a)}),r}maskedBlock(e){return this.maskedBlocks(e)[0]}maskedBlocks(e){const n=this._maskedBlocks[e];return n?n.map(r=>this._blocks[r]):[]}pad(e){const n=new G;return this._forEachBlocksInRange(0,this.displayValue.length,r=>n.aggregate(r.pad(e))),n}}ye.DEFAULTS={...me.DEFAULTS,lazy:!0,placeholderChar:"_"};ye.STOP_CHAR="`";ye.ESCAPE_CHAR="\\";ye.InputDefinition=su;ye.FixedDefinition=Ah;z.MaskedPattern=ye;class Hi extends ye{get _matchFrom(){return this.maxLength-String(this.from).length}constructor(e){super(e)}updateOptions(e){super.updateOptions(e)}_update(e){const{to:n=this.to||0,from:r=this.from||0,maxLength:i=this.maxLength||0,autofix:u=this.autofix,...o}=e;this.to=n,this.from=r,this.maxLength=Math.max(String(n).length,i),this.autofix=u;const a=String(this.from).padStart(this.maxLength,"0"),s=String(this.to).padStart(this.maxLength,"0");let c=0;for(;c<s.length&&s[c]===a[c];)++c;o.mask=s.slice(0,c).replace(/0/g,"\\0")+"0".repeat(this.maxLength-c),super._update(o)}get isComplete(){return super.isComplete&&!!this.value}boundaries(e){let n="",r="";const[,i,u]=e.match(/^(\D*)(\d*)(\D*)/)||[];return u&&(n="0".repeat(i.length)+u,r="9".repeat(i.length)+u),n=n.padEnd(this.maxLength,"0"),r=r.padEnd(this.maxLength,"9"),[n,r]}doPrepareChar(e,n){n===void 0&&(n={});let r;return[e,r]=super.doPrepareChar(e.replace(/\D/g,""),n),e||(r.skip=!this.isComplete),[e,r]}_appendCharRaw(e,n){if(n===void 0&&(n={}),!this.autofix||this.value.length+1>this.maxLength)return super._appendCharRaw(e,n);const r=String(this.from).padStart(this.maxLength,"0"),i=String(this.to).padStart(this.maxLength,"0"),[u,o]=this.boundaries(this.value+e);return Number(o)<this.from?super._appendCharRaw(r[this.value.length],n):Number(u)>this.to?!n.tail&&this.autofix==="pad"&&this.value.length+1<this.maxLength?super._appendCharRaw(r[this.value.length],n).aggregate(this._appendCharRaw(e,n)):super._appendCharRaw(i[this.value.length],n):super._appendCharRaw(e,n)}doValidate(e){const n=this.value;if(n.search(/[^0]/)===-1&&n.length<=this._matchFrom)return!0;const[i,u]=this.boundaries(n);return this.from<=Number(u)&&Number(i)<=this.to&&super.doValidate(e)}pad(e){const n=new G;if(this.value.length===this.maxLength)return n;const r=this.value,i=this.maxLength-this.value.length;if(i){this.reset();for(let u=0;u<i;++u)n.aggregate(super._appendCharRaw("0",e));r.split("").forEach(u=>this._appendCharRaw(u))}return n}}z.MaskedRange=Hi;const w_="d{.}`m{.}`Y";class dt extends ye{static extractPatternOptions(e){const{mask:n,pattern:r,...i}=e;return{...i,mask:Ot(n)?n:r}}constructor(e){super(dt.extractPatternOptions({...dt.DEFAULTS,...e}))}updateOptions(e){super.updateOptions(e)}_update(e){const{mask:n,pattern:r,blocks:i,...u}={...dt.DEFAULTS,...e},o=Object.assign({},dt.GET_DEFAULT_BLOCKS());e.min&&(o.Y.from=e.min.getFullYear()),e.max&&(o.Y.to=e.max.getFullYear()),e.min&&e.max&&o.Y.from===o.Y.to&&(o.m.from=e.min.getMonth()+1,o.m.to=e.max.getMonth()+1,o.m.from===o.m.to&&(o.d.from=e.min.getDate(),o.d.to=e.max.getDate())),Object.assign(o,this.blocks,i),super._update({...u,mask:Ot(n)?n:r,blocks:o})}doValidate(e){const n=this.date;return super.doValidate(e)&&(!this.isComplete||this.isDateExist(this.value)&&n!=null&&(this.min==null||this.min<=n)&&(this.max==null||n<=this.max))}isDateExist(e){return this.format(this.parse(e,this),this).indexOf(e)>=0}get date(){return this.typedValue}set date(e){this.typedValue=e}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(e){super.typedValue=e}maskEquals(e){return e===Date||super.maskEquals(e)}optionsIsChanged(e){return super.optionsIsChanged(dt.extractPatternOptions(e))}}dt.GET_DEFAULT_BLOCKS=()=>({d:{mask:Hi,from:1,to:31,maxLength:2},m:{mask:Hi,from:1,to:12,maxLength:2},Y:{mask:Hi,from:1900,to:9999}});dt.DEFAULTS={...ye.DEFAULTS,mask:Date,pattern:w_,format:(t,e)=>{if(!t)return"";const n=String(t.getDate()).padStart(2,"0"),r=String(t.getMonth()+1).padStart(2,"0"),i=t.getFullYear();return[n,r,i].join(".")},parse:(t,e)=>{const[n,r,i]=t.split(".").map(Number);return new Date(i,r-1,n)}};z.MaskedDate=dt;class $u extends me{constructor(e){super({...$u.DEFAULTS,...e}),this.currentMask=void 0}updateOptions(e){super.updateOptions(e)}_update(e){super._update(e),"mask"in e&&(this.exposeMask=void 0,this.compiledMasks=Array.isArray(e.mask)?e.mask.map(n=>{const{expose:r,...i}=Hr(n),u=mt({overwrite:this._overwrite,eager:this._eager,skipInvalid:this._skipInvalid,...i});return r&&(this.exposeMask=u),u}):[])}
vendor: 5,565 bytes, line 15
15_appendCharRaw(e,n){n===void 0&&(n={});const r=this._applyDispatch(e,n);return this.currentMask&&r.aggregate(this.currentMask._appendChar(e,this.currentMaskFlags(n))),r}_applyDispatch(e,n,r){e===void 0&&(e=""),n===void 0&&(n={}),r===void 0&&(r="");const i=n.tail&&n._beforeTailState!=null?n._beforeTailState._value:this.value,u=this.rawInputValue,o=n.tail&&n._beforeTailState!=null?n._beforeTailState._rawInputValue:u,a=u.slice(o.length),s=this.currentMask,c=new G,l=s==null?void 0:s.state;return this.currentMask=this.doDispatch(e,{...n},r),this.currentMask&&(this.currentMask!==s?(this.currentMask.reset(),o&&(this.currentMask.append(o,{raw:!0}),c.tailShift=this.currentMask.value.length-i.length),a&&(c.tailShift+=this.currentMask.append(a,{raw:!0,tail:!0}).tailShift)):l&&(this.currentMask.state=l)),c}_appendPlaceholder(){const e=this._applyDispatch();return this.currentMask&&e.aggregate(this.currentMask._appendPlaceholder()),e}_appendEager(){const e=this._applyDispatch();return this.currentMask&&e.aggregate(this.currentMask._appendEager()),e}appendTail(e){const n=new G;return e&&n.aggregate(this._applyDispatch("",{},e)),n.aggregate(this.currentMask?this.currentMask.appendTail(e):super.appendTail(e))}currentMaskFlags(e){var n,r;return{...e,_beforeTailState:((n=e._beforeTailState)==null?void 0:n.currentMaskRef)===this.currentMask&&((r=e._beforeTailState)==null?void 0:r.currentMask)||e._beforeTailState}}doDispatch(e,n,r){return n===void 0&&(n={}),r===void 0&&(r=""),this.dispatch(e,this,n,r)}doValidate(e){return super.doValidate(e)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(e)))}doPrepare(e,n){n===void 0&&(n={});let[r,i]=super.doPrepare(e,n);if(this.currentMask){let u;[r,u]=super.doPrepare(r,this.currentMaskFlags(n)),i=i.aggregate(u)}return[r,i]}doPrepareChar(e,n){n===void 0&&(n={});let[r,i]=super.doPrepareChar(e,n);if(this.currentMask){let u;[r,u]=super.doPrepareChar(r,this.currentMaskFlags(n)),i=i.aggregate(u)}return[r,i]}reset(){var e;(e=this.currentMask)==null||e.reset(),this.compiledMasks.forEach(n=>n.reset())}get value(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""}set value(e){this.exposeMask?(this.exposeMask.value=e,this.currentMask=this.exposeMask,this._applyDispatch()):super.value=e}get unmaskedValue(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(e){this.exposeMask?(this.exposeMask.unmaskedValue=e,this.currentMask=this.exposeMask,this._applyDispatch()):super.unmaskedValue=e}get typedValue(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""}set typedValue(e){if(this.exposeMask){this.exposeMask.typedValue=e,this.currentMask=this.exposeMask,this._applyDispatch();return}let n=String(e);this.currentMask&&(this.currentMask.typedValue=e,n=this.currentMask.unmaskedValue),this.unmaskedValue=n}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var e;return!!((e=this.currentMask)!=null&&e.isComplete)}get isFilled(){var e;return!!((e=this.currentMask)!=null&&e.isFilled)}remove(e,n){const r=new G;return this.currentMask&&r.aggregate(this.currentMask.remove(e,n)).aggregate(this._applyDispatch()),r}get state(){var e;return{...super.state,_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map(n=>n.state),currentMaskRef:this.currentMask,currentMask:(e=this.currentMask)==null?void 0:e.state}}set state(e){const{compiledMasks:n,currentMaskRef:r,currentMask:i,...u}=e;n&&this.compiledMasks.forEach((o,a)=>o.state=n[a]),r!=null&&(this.currentMask=r,this.currentMask.state=i),super.state=u}extractInput(e,n,r){return this.currentMask?this.currentMask.extractInput(e,n,r):""}extractTail(e,n){return this.currentMask?this.currentMask.extractTail(e,n):super.extractTail(e,n)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(e,n){return this.currentMask?this.currentMask.nearestInputPos(e,n):super.nearestInputPos(e,n)}get overwrite(){return this.currentMask?this.currentMask.overwrite:this._overwrite}set overwrite(e){this._overwrite=e}get eager(){return this.currentMask?this.currentMask.eager:this._eager}set eager(e){this._eager=e}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid}set skipInvalid(e){this._skipInvalid=e}get autofix(){return this.currentMask?this.currentMask.autofix:this._autofix}set autofix(e){this._autofix=e}maskEquals(e){return Array.isArray(e)?this.compiledMasks.every((n,r)=>{if(!e[r])return;const{mask:i,...u}=e[r];return au(n,u)&&n.maskEquals(i)}):super.maskEquals(e)}typedValueEquals(e){var n;return!!((n=this.currentMask)!=null&&n.typedValueEquals(e))}}$u.DEFAULTS={...me.DEFAULTS,dispatch:(t,e,n,r)=>{if(!e.compiledMasks.length)return;const i=e.rawInputValue,u=e.compiledMasks.map((o,a)=>{const s=e.currentMask===o,c=s?o.displayValue.length:o.nearestInputPos(o.displayValue.length,M.FORCE_LEFT);return o.rawInputValue!==i?(o.reset(),o.append(i,{raw:!0})):s||o.remove(c),o.append(t,e.currentMaskFlags(n)),o.appendTail(r),{index:a,weight:o.rawInputValue.length,totalInputPositions:o.totalInputPositions(0,Math.max(c,o.nearestInputPos(o.displayValue.length,M.FORCE_LEFT)))}});return u.sort((o,a)=>a.weight-o.weight||a.totalInputPositions-o.totalInputPositions),e.compiledMasks[u[0].index]}};z.MaskedDynamic=$u;class ju extends ye{constructor(e){super({...ju.DEFAULTS,...e})}updateOptions(e){super.updateOptions(e)}_update(e){const{enum:n,...r}=e;if(n){const i=n.map(a=>
vendor: 6,679 bytes, line 15
15a.length),u=Math.min(...i),o=Math.max(...i)-u;r.mask="*".repeat(u),o&&(r.mask+="["+"*".repeat(o)+"]"),this.enum=n}super._update(r)}_appendCharRaw(e,n){n===void 0&&(n={});const r=Math.min(this.nearestInputPos(0,M.FORCE_RIGHT),this.value.length),i=this.enum.filter(u=>this.matchValue(u,this.unmaskedValue+e,r));if(i.length){i.length===1&&this._forEachBlocksInRange(0,this.value.length,(o,a)=>{const s=i[0][a];a>=this.value.length||s===o.value||(o.reset(),o._appendChar(s,n))});const u=super._appendCharRaw(i[0][this.value.length],n);return i.length===1&&i[0].slice(this.unmaskedValue.length).split("").forEach(o=>u.aggregate(super._appendCharRaw(o))),u}return new G({skip:!this.isComplete})}extractTail(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length),new Ze("",e)}remove(e,n){if(e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length),e===n)return new G;const r=Math.min(super.nearestInputPos(0,M.FORCE_RIGHT),this.value.length);let i;for(i=e;i>=0&&!(this.enum.filter(a=>this.matchValue(a,this.value.slice(r,i),r)).length>1);--i);const u=super.remove(i,n);return u.tailShift+=i-e,u}get isComplete(){return this.enum.indexOf(this.value)>=0}}ju.DEFAULTS={...ye.DEFAULTS,matchValue:(t,e,n)=>t.indexOf(e,n)===n};z.MaskedEnum=ju;class x_ extends me{updateOptions(e){super.updateOptions(e)}_update(e){super._update({...e,validate:e.mask})}}z.MaskedFunction=x_;var Ch;class Te extends me{constructor(e){super({...Te.DEFAULTS,...e})}updateOptions(e){super.updateOptions(e)}_update(e){super._update(e),this._updateRegExps()}_updateRegExps(){const e="^"+(this.allowNegative?"[+|\\-]?":""),n="\\d*",r=(this.scale?"("+yo(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExp=new RegExp(e+n+r),this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(yo).join("")+"]","g"),this._thousandsSeparatorRegExp=new RegExp(yo(this.thousandsSeparator),"g")}_removeThousandsSeparators(e){return e.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(e){const n=e.split(this.radix);return n[0]=n[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),n.join(this.radix)}doPrepareChar(e,n){n===void 0&&(n={});const[r,i]=super.doPrepareChar(this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(n.input&&n.raw||!n.input&&!n.raw)?e.replace(this._mapToRadixRegExp,this.radix):e),n);return e&&!r&&(i.skip=!0),r&&!this.allowPositive&&!this.value&&r!=="-"&&i.aggregate(this._appendChar("-")),[r,i]}_separatorsCount(e,n){n===void 0&&(n=!1);let r=0;for(let i=0;i<e;++i)this._value.indexOf(this.thousandsSeparator,i)===i&&(++r,n&&(e+=this.thousandsSeparator.length));return r}_separatorsCountFromSlice(e){return e===void 0&&(e=this._value),this._separatorsCount(this._removeThousandsSeparators(e).length,!0)}extractInput(e,n,r){return e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length),[e,n]=this._adjustRangeWithSeparators(e,n),this._removeThousandsSeparators(super.extractInput(e,n,r))}_appendCharRaw(e,n){n===void 0&&(n={});const r=n.tail&&n._beforeTailState?n._beforeTailState._value:this._value,i=this._separatorsCountFromSlice(r);this._value=this._removeThousandsSeparators(this.value);const u=this._value;this._value+=e;const o=this.number;let a=!isNaN(o),s=!1;if(a){let f;this.min!=null&&this.min<0&&this.number<this.min&&(f=this.min),this.max!=null&&this.max>0&&this.number>this.max&&(f=this.max),f!=null&&(this.autofix?(this._value=this.format(f,this).replace(Te.UNMASKED_RADIX,this.radix),s||(s=u===this._value&&!n.tail)):a=!1),a&&(a=!!this._value.match(this._numberRegExp))}let c;a?c=new G({inserted:this._value.slice(u.length),rawInserted:s?"":e,skip:s}):(this._value=u,c=new G),this._value=this._insertThousandsSeparators(this._value);const l=n.tail&&n._beforeTailState?n._beforeTailState._value:this._value,d=this._separatorsCountFromSlice(l);return c.tailShift+=(d-i)*this.thousandsSeparator.length,c}_findSeparatorAround(e){if(this.thousandsSeparator){const n=e-this.thousandsSeparator.length+1,r=this.value.indexOf(this.thousandsSeparator,n);if(r<=e)return r}return-1}_adjustRangeWithSeparators(e,n){const r=this._findSeparatorAround(e);r>=0&&(e=r);const i=this._findSeparatorAround(n);return i>=0&&(n=i+this.thousandsSeparator.length),[e,n]}remove(e,n){e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length),[e,n]=this._adjustRangeWithSeparators(e,n);const r=this.value.slice(0,e),i=this.value.slice(n),u=this._separatorsCount(r.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(r+i));const o=this._separatorsCountFromSlice(r);return new G({tailShift:(o-u)*this.thousandsSeparator.length})}nearestInputPos(e,n){if(!this.thousandsSeparator)return e;switch(n){case M.NONE:case M.LEFT:case M.FORCE_LEFT:{const r=this._findSeparatorAround(e-1);if(r>=0){const i=r+this.thousandsSeparator.length;if(e<i||this.value.length<=i||n===M.FORCE_LEFT)return r}break}case M.RIGHT:case M.FORCE_RIGHT:{const r=this._findSeparatorAround(e);if(r>=0)return r+this.thousandsSeparator.length}}return e}doCommit(){if(this.value){const e=this.number;let n=e;this.min!=null&&(n=Math.max(n,this.min)),this.max!=null&&(n=Math.min(n,this.max)),n!==e&&(this.unmaskedValue=this.format(n,this));let r=this.value;this.normalizeZeros&&(r=this._normalizeZeros(r)),this.padFractionalZeros&&this.scale>0&&(r=this._padFractionalZeros(r)),this._value=r}super.doCommit()}_normalizeZeros(e){const n=this._removeThousandsSeparators(e).split(this.radix);return n[0]=n[0].replace(/^(\D*)(0*)(\d*)/,(r,i,u,o)=>i+o),e.length&&!/\d$/.test(n[0])&&(n[0]=n[0]+"0"),n.length>1&&(n[1]=n[1].replace(/0*$/,""),n[1].length||(n.length=1)),this._insertThousandsSeparators(n.join(this.radix))}_padFractionalZeros(e){if(!e)return e;const n=e.split(this.radix);return n.length<2&&n.push(""),n[1]=n[1].padEnd(this.scale,"0"),n.join(this.radix)}doSkipInvalid(e,n,r){n===void 0&&(n={});const i=this.scale===0&&e!==this.thousandsSeparator&&(e===this.radix||e===Te.UNMASKED_RADIX||this.mapToRadix.includes(e));return super.doSkipInvalid(e,n,r)&&!i}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,Te.UNMASKED_RADIX)}set unmaskedValue(e){super.unmaskedValue=e}get typedValue(){return this.parse(this.unmaskedValue,this)}set typedValue(e){this.rawInputValue=this.format(e,this).replace(Te.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(e){this.typedValue=e}get allowNegative(){return this.min!=null&&this.min<0||this.max!=null&&this.max<0}get allowPositive(){return this.min!=null&&this.min>0||this.max!=null&&this.max>0}typedValueEquals(e){return(super.typedValueEquals(e)||Te.EMPTY_VALUES.includes(e)&&Te.EMPTY_VALUES.includes(this.typedValue))&&!(e
15===0&&this.value==="")}}Ch=Te;Te.UNMASKED_RADIX=".";Te.EMPTY_VALUES=[...me.EMPTY_VALUES,0];Te.DEFAULTS={...me.DEFAULTS,mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[Ch.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:t=>t.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})};z.MaskedNumber=Te;const ha={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function Oh(t,e,n){e===void 0&&(e=ha.MASKED),n===void 0&&(n=ha.MASKED);const r=mt(t);return i=>r.runIsolated(u=>(u[e]=i,u[n]))}function S_(t,e,n,r){return Oh(e,n,r)(t)}z.PIPE_TYPE=ha;z.createPipe=Oh;z.pipe=S_;class E_ extends ye{get repeatFrom(){var e;return(e=Array.isArray(this.repeat)?this.repeat[0]:this.repeat===1/0?0:this.repeat)!=null?e:0}get repeatTo(){var e;return(e=Array.isArray(this.repeat)?this.repeat[1]:this.repeat)!=null?e:1/0}constructor(e){super(e)}updateOptions(e){super.updateOptions(e)}_update(e){var n,r,i;const{repeat:u,...o}=Hr(e);this._blockOpts=Object.assign({},this._blockOpts,o);const a=mt(this._blockOpts);this.repeat=(n=(r=u??a.repeat)!=null?r:this.repeat)!=null?n:1/0,super._update({mask:"m".repeat(Math.max(this.repeatTo===1/0&&((i=this._blocks)==null?void 0:i.length)||0,this.repeatFrom)),blocks:{m:a},eager:a.eager,overwrite:a.overwrite,skipInvalid:a.skipInvalid,lazy:a.lazy,placeholderChar:a.placeholderChar,displayChar:a.displayChar})}_allocateBlock(e){if(e<this._blocks.length)return this._blocks[e];if(this.repeatTo===1/0||this._blocks.length<this.repeatTo)return this._blocks.push(mt(this._blockOpts)),this.mask+="m",this._blocks[this._blocks.length-1]}_appendCharRaw(e,n){n===void 0&&(n={});const r=new G;for(let s=(i=(u=this._mapPosToBlock(this.displayValue.length))==null?void 0:u.index)!=null?i:Math.max(this._blocks.length-1,0),c,l;c=(o=this._blocks[s])!=null?o:l=!l&&this._allocateBlock(s);++s){var i,u,o,a;const d=c._appendChar(e,{...n,_beforeTailState:(a=n._beforeTailState)==null||(a=a._blocks)==null?void 0:a[s]});if(d.skip&&l){this._blocks.pop(),this.mask=this.mask.slice(1);break}if(r.aggregate(d),d.consumed)break}return r}_trimEmptyTail(e,n){var r,i;e===void 0&&(e=0);const u=Math.max(((r=this._mapPosToBlock(e))==null?void 0:r.index)||0,this.repeatFrom,0);let o;n!=null&&(o=(i=this._mapPosToBlock(n))==null?void 0:i.index),o==null&&(o=this._blocks.length-1);let a=0;for(let s=o;u<=s&&!this._blocks[s].unmaskedValue;--s,++a);a&&(this._blocks.splice(o-a+1,a),this.mask=this.mask.slice(a))}reset(){super.reset(),this._trimEmptyTail()}remove(e,n){e===void 0&&(e=0),n===void 0&&(n=this.displayValue.length);const r=super.remove(e,n);return this._trimEmptyTail(e,n),r}totalInputPositions(e,n){return e===void 0&&(e=0),n==null&&this.repeatTo===1/0?1/0:super.totalInputPositions(e,n)}get state(){return super.state}set state(e){this._blocks.length=e._blocks.length,this.mask=this.mask.slice(0,this._blocks.length),super.state=e}}z.RepeatBlock=E_;try{globalThis.IMask=z}catch{}var Th={exports:{}};(function(t){var e={single_source_shortest_paths:function(n,r,i){var u={},o={};o[r]=0;var a=e.PriorityQueue.make();a.push(r,0);for(var s,c,l,d,f,p,h,g,v;!a.empty();){s=a.pop(),c=s.value,d=s.cost,f=n[c]||{};for(l in f)f.hasOwnProperty(l)&&(p=f[l],h=d+p,g=o[l],v=typeof o[l]>"u",(v||g>h)&&(o[l]=h,a.push(l,h),u[l]=c))}if(typeof i<"u"&&typeof o[i]>"u"){var m=["Could not find a path from ",r," to ",i,"."].join("");throw new Error(m)}return u},extract_shortest_path_from_predecessor_list:function(n,r){for(var i=[],u=r;u;)i.push(u),n[u],u=n[u];return i.reverse(),i},find_path:function(n,r,i){var u=e.single_source_shortest_paths(n,r,i);return e.extract_shortest_path_from_predecessor_list(u,i)},PriorityQueue:{make:function(n){var r=e.PriorityQueue,i={},u;n=n||{};for(u in r)r.hasOwnProperty(u)&&(i[u]=r[u]);return i.queue=[],i.sorter=n.sorter||r.default_sorter,i},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var i={value:n,cost:r};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t.exports=e})(Th);var b9=Th.exports;(function(t){t()})(function(){function t(b,w){(w==null||w>b.length)&&(w=b.length);for(var S=0,k=Array(w);S<w;S++)k[S]=b[S];return k}function e(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function n(b,w,S){return w=s(w),d(b,l()?Reflect.construct(w,S||[],s(b).constructor):w.apply(b,S))}function r(b,w){if(!(b instanceof w))throw new TypeError("Cannot call a class as a function")}function i(b,w){for(var S=0;S<w.length;S++){var k=w[S];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(b,v(k.key),k)}}function u(b,w,S){return w&&i(b.prototype,w),S&&i(b,S),Object.defineProperty(b,"prototype",{writable:!1}),b}function o(b,w){var S=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(!S){if(Array.isArray(b)||(S=m(b))||w&&b&&typeof b.length=="number"){S&&(b=S);var k=0,T=function(){};return{s:T,n:function(){return k>=b.length?{done:!0}:{done:!1,value:b[k++]}},e:function($){throw $},f:T}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 16In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O,R=!0,P=!1;return{s:function(){S=S.call(b)},n:function(){var $=S.next();return R=$.done,$},e:function($){P=!0,O=$},f:function(){try{R||S.return==null||S.return()}finally{if(P)throw O}}}}function a(){return a=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(b,w,S){var k=p(b,w);if(k){var T=Object.getOwnPropertyDescriptor(k,w);return T.get?T.get.call(arguments.length<3?b:S):T.value}},a.apply(null,arguments)}
vendor: 4,383 bytes, line 16
16function s(b){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(w){return w.__proto__||Object.getPrototypeOf(w)},s(b)}function c(b,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");b.prototype=Object.create(w&&w.prototype,{constructor:{value:b,writable:!0,configurable:!0}}),Object.defineProperty(b,"prototype",{writable:!1}),w&&f(b,w)}function l(){try{var b=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(l=function(){return!!b})()}function d(b,w){if(w&&(typeof w=="object"||typeof w=="function"))return w;if(w!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return e(b)}function f(b,w){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,k){return S.__proto__=k,S},f(b,w)}function p(b,w){for(;!{}.hasOwnProperty.call(b,w)&&(b=s(b))!==null;);return b}function h(b,w,S,k){var T=a(s(1&k?b.prototype:b),w,S);return 2&k&&typeof T=="function"?function(O){return T.apply(S,O)}:T}function g(b,w){if(typeof b!="object"||!b)return b;var S=b[Symbol.toPrimitive];if(S!==void 0){var k=S.call(b,w||"default");if(typeof k!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return(w==="string"?String:Number)(b)}function v(b){var w=g(b,"string");return typeof w=="symbol"?w:w+""}function m(b,w){if(b){if(typeof b=="string")return t(b,w);var S={}.toString.call(b).slice(8,-1);return S==="Object"&&b.constructor&&(S=b.constructor.name),S==="Map"||S==="Set"?Array.from(b):S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S)?t(b,w):void 0}}(function(b){return{NativeAbortSignal:b.AbortSignal,NativeAbortController:b.AbortController}})(typeof self<"u"?self:jr);function y(b){var w;try{w=new Event("abort")}catch{typeof document<"u"?document.createEvent?(w=document.createEvent("Event"),w.initEvent("abort",!1,!1)):(w=document.createEventObject(),w.type="abort"):w={type:"abort",bubbles:!1,cancelable:!1}}return w.reason=b,w}function x(b){if(b===void 0)if(typeof document>"u")b=new Error("This operation was aborted"),b.name="AbortError";else try{b=new DOMException("signal is aborted without reason"),Object.defineProperty(b,"name",{value:"AbortError"})}catch{b=new Error("This operation was aborted"),b.name="AbortError"}return b}var A=function(){function b(){r(this,b),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return u(b,[{key:"addEventListener",value:function(S,k,T){S in this.listeners||(this.listeners[S]=[]),this.listeners[S].push({callback:k,options:T})}},{key:"removeEventListener",value:function(S,k){if(S in this.listeners){for(var T=this.listeners[S],O=0,R=T.length;O<R;O++)if(T[O].callback===k){T.splice(O,1);return}}}},{key:"dispatchEvent",value:function(S){var k=this;if(S.type in this.listeners){for(var T=this.listeners[S.type],O=T.slice(),R=function(){var q=O[P];try{q.callback.call(k,S)}catch(j){Promise.resolve().then(function(){throw j})}q.options&&q.options.once&&k.removeEventListener(S.type,q.callback)},P=0,$=O.length;P<$;P++)R();return!S.defaultPrevented}}}])}(),C=function(b){function w(){var S;return r(this,w),S=n(this,w),S.listeners||A.call(S),Object.defineProperty(S,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(S,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(S,"reason",{value:void 0,writable:!0,configurable:!0}),S}return c(w,b),u(w,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(k){k.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,k)),h(w,"dispatchEvent",this,3)([k])}},{key:"throwIfAborted",value:function(){var k=this.aborted,T=this.reason,O=T===void 0?"Aborted":T;if(k)throw O}}],[{key:"timeout",value:function(k){var T=new _;return setTimeout(function(){return T.abort(new DOMException("This signal is timeout in ".concat(k,"ms"),"TimeoutError"))},k),T.signal}},{key:"any",value:function(k){var T=new _;function O(){T.abort(this.reason),R()}function R(){var q=o(k),j;try{for(q.s();!(j=q.n()).done;){var K=j.value;K.removeEventListener("abort",O)}}catch(J){q.e(J)}finally{q.f()}}var P=o(k),$;try{for(P.s();!($=P.n()).done;){var U=$.value;if(U.aborted){T.abort(U.reason);break}else U.addEventListener("abort",O)}}catch(q){P.e(q)}finally{P.f()}
vendor: 8,137 bytes, line 16
16return T.signal}}])}(A),_=function(){function b(){r(this,b),Object.defineProperty(this,"signal",{value:new C,writable:!0,configurable:!0})}return u(b,[{key:"abort",value:function(S){var k=x(S),T=y(k);this.signal.reason=k,this.signal.dispatchEvent(T)}},{key:"toString",value:function(){return"[object AbortController]"}}])}();typeof Symbol<"u"&&Symbol.toStringTag&&(_.prototype[Symbol.toStringTag]="AbortController",C.prototype[Symbol.toStringTag]="AbortSignal");function E(b){return b.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof b.Request=="function"&&!b.Request.prototype.hasOwnProperty("signal")||!b.AbortController}(function(b){E(b)&&(b.AbortController=_,b.AbortSignal=C)})(typeof self<"u"?self:jr)});var k_=Object.defineProperty,A_=Object.defineProperties,C_=Object.getOwnPropertyDescriptors,cu=Object.getOwnPropertySymbols,Dh=Object.prototype.hasOwnProperty,Fh=Object.prototype.propertyIsEnumerable,va=(t,e,n)=>e in t?k_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,F=(t,e)=>{for(var n in e||(e={}))Dh.call(e,n)&&va(t,n,e[n]);if(cu)for(var n of cu(e))Fh.call(e,n)&&va(t,n,e[n]);return t},Y=(t,e)=>A_(t,C_(e)),O_=(t,e)=>{var n={};for(var r in t)Dh.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&cu)for(var r of cu(t))e.indexOf(r)<0&&Fh.call(t,r)&&(n[r]=t[r]);return n},B=(t,e,n)=>va(t,typeof e!="symbol"?e+"":e,n),X=(t,e,n)=>new Promise((r,i)=>{var u=s=>{try{a(n.next(s))}catch(c){i(c)}},o=s=>{try{a(n.throw(s))}catch(c){i(c)}},a=s=>s.done?r(s.value):Promise.resolve(s.value).then(u,o);a((n=n.apply(t,e)).next())});/*! Gid_version: 1.2.5 */function T_(t,e){for(var n=0;n<e.length;n++){const r=e[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in t)){const u=Object.getOwnPropertyDescriptor(r,i);u&&Object.defineProperty(t,i,u.get?u:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var ga=function(t,e){return ga=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},ga(t,e)};function Oe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");ga(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var I=function(){return I=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},I.apply(this,arguments)};function Ih(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function L(t,e,n,r){function i(u){return u instanceof n?u:new n(function(o){o(u)})}return new(n||(n=Promise))(function(u,o){function a(l){try{c(r.next(l))}catch(d){o(d)}}function s(l){try{c(r.throw(l))}catch(d){o(d)}}function c(l){l.done?u(l.value):i(l.value).then(a,s)}c((r=r.apply(t,e||[])).next())})}function N(t,e){var n={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r,i,u,o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(l){return s([c,l])}}function s(c){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(n=0)),n;)try{if(r=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(u=n.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){n.label=c[1];break}if(c[0]===6&&n.label<u[1]){n.label=u[1],u=c;break}if(u&&n.label<u[2]){n.label=u[2],n.ops.push(c);break}u[2]&&n.ops.pop(),n.trys.pop();continue}c=e.call(t,n)}catch(l){c=[6,l],i=0}finally{r=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function ne(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,u;r<i;r++)(u||!(r in e))&&(u||(u=Array.prototype.slice.call(e,0,r)),u[r]=e[r]);return t.concat(u||Array.prototype.slice.call(e))}function ma(t,e,n){e.split&&(e=e.split("."));for(var r=0,i=e.length,u=t,o,a;r<i&&(a=""+e[r++],!(a==="__proto__"||a==="constructor"||a==="prototype"));)u=u[a]=r===i?n:typeof(o=u[a])==typeof e?o:e[r]*0!==0||~(""+e[r]).indexOf(".")?{}:[]}var D_=function(t,e){return Object.keys(t).filter(function(n){return e(n,t[n])}).reduce(function(n,r){return n[r]=t[r],n},{})},fn=function(t){Oe(e,t);function e(n,r){var i=t.call(this,"".concat(n," ").concat(r))||this;return i.field=n,i}return e}(Error);function Rt(t){return typeof t=="string"}function ya(t){return typeof t=="number"}function Mn(t){return typeof t=="function"}function F_(t){return t!=null}function Se(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()==="object"}var Ls="is not a string",Ns="is not an object",I_="is nil";function R_(t){if(!F_(t))throw new fn("Event",I_);if(typeof t!="object")throw new fn("Event",Ns)}function P_(t){if(!Rt(t.type))throw new fn(".type",Ls)}function L_(t){if(!Rt(t.event))throw new fn(".event",Ls)}function N_(t){if(!Se(t.properties))throw new fn(".properties",Ns)}function $_(t){if(!Se(t.traits))throw new fn(".traits",Ns)}function j_(t){if(!Rt(t.messageId))throw new fn(".messageId",Ls)}function M_(t){R_(t),P_(t),j_(t),t.type==="track"&&(L_(t),N_(t)),["group","identify"].includes(t.type)&&$_(t)}var B_=function(){function t(e){var n,r;this.settings=e,this.createMessageId=e.createMessageId,this.onEventMethodCall=(n=e.onEventMethodCall)!==null&&n!==void 0?n:function(){},this.onFinishedEvent=(r=e.onFinishedEvent)!==null&&r!==void 0?r:function(){}}return t}(),U_=function(){function t(e){this.settings=new B_(e)}return t.prototype.track=function(e,n,r,i){return this.settings.onEventMethodCall({type:"track",options:r}),this.normalize(I(I({},this.baseEvent()),{event:e,type:"track",properties:n??{},options:I({},r),integrations:I({},i)}))},t.prototype.page=function(e,n,r,i,u){var o;this.settings.onEventMethodCall({type:"page",options:i});var a={type:"page",properties:I({},r),options:I({},i),integrations:I({},u)};return e!==null&&(a.category=e,a.properties=(o=a.properties)!==null&&o!==void 0?o:{},a.properties.category=e),n!==null&&(a.name=n),this.normalize(I(I({},this.baseEvent()),a))},t.prototype.screen=function(e,n,r,i,u){this.settings.onEventMethodCall({type:"screen",options:i});var o={type:"screen",properties:I({},r),options:I({},i),integrations:I({},u)};return e!==null&&(o.category=e),n!==null&&(o.name=n),this.normalize(I(I({},this.baseEvent()),o))},t.prototype.identify=function(e,n,r,i){return this.settings.onEventMethodCall({type:"identify",options:r}),this.normalize(I(I({},this.baseEvent()),{type:"identify",userId:e,traits:n??{},options:I({},r),integrations:i}))},t.prototype.group=function(e,n,r,i){return this.settings.onEventMethodCall({type:"group",options:r}),this.normalize(I(I({},this.baseEvent()),{type:"group",traits:n??{},options:I({},r),integrations:I({},i),groupId:e}))},t.prototype.alias=function(e,n,r,i){this.settings.onEventMethodCall({type:"alias",options:r});var u={userId:e,type:"alias",options:I({},r),integrations:I({},i)};return n!==null&&(u.previousId=n),e===void 0?this.normalize(I(I({},u),this.baseEvent())):this.normalize(I(I({},this.baseEvent()),u))},t.prototype.baseEvent=function(){return{integrations:{},options:{}}},t.prototype.context=function(e){var n,r=["userId","anonymousId","timestamp","messageId"];delete e.integrations;var i=Object.keys(e),u=(n=e.context)!==null&&n!==void 0?n:{},o={};
vendor: 4,140 bytes, line 16
16return i.forEach(function(a){a!=="context"&&(r.includes(a)?ma(o,a,e[a]):ma(u,a,e[a]))}),[u,o]},t.prototype.normalize=function(e){var n,r,i=Object.keys((n=e.integrations)!==null&&n!==void 0?n:{}).reduce(function(f,p){var h,g;return I(I({},f),(h={},h[p]=!!(!((g=e.integrations)===null||g===void 0)&&g[p]),h))},{});e.options=D_(e.options||{},function(f,p){return p!==void 0});var u=I(I({},i),(r=e.options)===null||r===void 0?void 0:r.integrations),o=e.options?this.context(e.options):[],a=o[0],s=o[1],c=e.options,l=Ih(e,["options"]),d=I(I(I(I({timestamp:new Date},l),{context:a,integrations:u}),s),{messageId:c.messageId||this.settings.createMessageId()});return this.settings.onFinishedEvent(d),M_(d),d},t}();function $s(t,e){return new Promise(function(n,r){var i=setTimeout(function(){r(Error("Promise timed out"))},e);t.then(function(u){return clearTimeout(i),n(u)}).catch(r)})}function V_(t){return new Promise(function(e){return setTimeout(e,t)})}function q_(t,e,n){var r=function(){try{return Promise.resolve(e(t))}catch(i){return Promise.reject(i)}};return V_(n).then(function(){return $s(r(),1e3)}).catch(function(i){t==null||t.log("warn","Callback Error",{error:i}),t==null||t.stats.increment("callback_error")}).then(function(){return t})}var js=function(){var t,e,n=!1,r=new Promise(function(i,u){t=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];n=!0,i.apply(void 0,o)},e=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];n=!0,u.apply(void 0,o)}});return{resolve:t,reject:e,promise:r,isSettled:function(){return n}}},Ms=function(){function t(e){var n;this.callbacks={},this.warned=!1,this.maxListeners=(n=e==null?void 0:e.maxListeners)!==null&&n!==void 0?n:10}return t.prototype.warnIfPossibleMemoryLeak=function(e){this.warned||this.maxListeners&&this.callbacks[e].length>this.maxListeners&&(console.warn("Event Emitter: Possible memory leak detected; ".concat(String(e)," has exceeded ").concat(this.maxListeners," listeners.")),this.warned=!0)},t.prototype.on=function(e,n){return this.callbacks[e]?(this.callbacks[e].push(n),this.warnIfPossibleMemoryLeak(e)):this.callbacks[e]=[n],this},t.prototype.once=function(e,n){var r=this,i=function(){for(var u=[],o=0;o<arguments.length;o++)u[o]=arguments[o];r.off(e,i),n.apply(r,u)};return this.on(e,i),this},t.prototype.off=function(e,n){var r,i=(r=this.callbacks[e])!==null&&r!==void 0?r:[],u=i.filter(function(o){return o!==n});return this.callbacks[e]=u,this},t.prototype.emit=function(e){for(var n=this,r,i=[],u=1;u<arguments.length;u++)i[u-1]=arguments[u];var o=(r=this.callbacks[e])!==null&&r!==void 0?r:[];return o.forEach(function(a){a.apply(n,i)}),this},t}();function z_(t){var e=Math.random()+1,n=t.minTimeout,r=n===void 0?500:n,i=t.factor,u=i===void 0?2:i,o=t.attempt,a=t.maxTimeout,s=a===void 0?1/0:a;return Math.min(e*r*Math.pow(u,o),s)}var Rh="onRemoveFromFuture",Mu=function(t){Oe(e,t);function e(n,r,i){var u=t.call(this)||this;return u.future=[],u.maxAttempts=n,u.queue=r,u.seen=i??{},u}return e.prototype.push=function(){for(var n=this,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var u=r.map(function(o){var a=n.updateAttempts(o);return a>n.maxAttempts||n.includes(o)?!1:(n.queue.push(o),!0)});return this.queue=this.queue.sort(function(o,a){return n.getAttempts(o)-n.getAttempts(a)}),u},e.prototype.pushWithBackoff=function(n,r){var i=this;if(r===void 0&&(r=0),r==0&&this.getAttempts(n)===0)return this.push(n)[0];var u=this.updateAttempts(n);if(u>this.maxAttempts||this.includes(n))return!1;var o=z_({attempt:u-1});return r>0&&o<r&&(o=r),setTimeout(function(){i.queue.push(n),i.future=i.future.filter(function(a){return a.id!==n.id}),i.emit(Rh)},o),this.future.push(n),!0},e.prototype.getAttempts=function(n){var r;return(r=this.seen[n.id])!==null&&r!==void 0?r:0},e.prototype.updateAttempts=function(n){return this.seen[n.id]=this.getAttempts(n)+1,this.getAttempts(n)},e.prototype.includes=function(n){return this.queue.includes(n)||this.future.includes(n)||!!this.queue.find(function(r){return r.id===n.id})||!!this.future.find(function(r){return r.id===n.id})},e.prototype.pop=function(){return this.queue.shift()}
vendor: 4,982 bytes, line 16
16,Object.defineProperty(e.prototype,"length",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"todo",{get:function(){return this.queue.length+this.future.length},enumerable:!1,configurable:!0}),e}(Ms),tn=256,Gi=[],yi;for(;tn--;)Gi[tn]=(tn+256).toString(16).substring(1);function Bs(){var t=0,e,n="";if(!yi||tn+16>256){for(yi=Array(t=256);t--;)yi[t]=256*Math.random()|0;t=tn=0}for(;t<16;t++)e=yi[tn+t],t==6?n+=Gi[e&15|64]:t==8?n+=Gi[e&63|128]:n+=Gi[e],t&1&&t>1&&t<11&&(n+="-");return tn++,n}var H_=function(){function t(){this._logs=[]}return t.prototype.log=function(e,n,r){var i=new Date;this._logs.push({level:e,message:n,time:i,extras:r})},Object.defineProperty(t.prototype,"logs",{get:function(){return this._logs},enumerable:!1,configurable:!0}),t.prototype.flush=function(){if(this.logs.length>1){var e=this._logs.reduce(function(n,r){var i,u,o,a=I(I({},r),{json:JSON.stringify(r.extras,null," "),extras:r.extras});delete a.time;var s=(o=(u=r.time)===null||u===void 0?void 0:u.toISOString())!==null&&o!==void 0?o:"";return n[s]&&(s="".concat(s,"-").concat(Math.random())),I(I({},n),(i={},i[s]=a,i))},{});console.table?console.table(e):console.log(e)}else this.logs.forEach(function(n){var r=n.level,i=n.message,u=n.extras;r==="info"||r==="debug"?console.log(i,u??""):console[r](i,u??"")});this._logs=[]},t}(),G_=function(t){var e={gauge:"g",counter:"c"};return e[t]},Ph=function(){function t(){this.metrics=[]}return t.prototype.increment=function(e,n,r){n===void 0&&(n=1),this.metrics.push({metric:e,value:n,tags:r??[],type:"counter",timestamp:Date.now()})},t.prototype.gauge=function(e,n,r){this.metrics.push({metric:e,value:n,tags:r??[],type:"gauge",timestamp:Date.now()})},t.prototype.flush=function(){var e=this.metrics.map(function(n){return I(I({},n),{tags:n.tags.join(",")})});console.table?console.table(e):console.log(e),this.metrics=[]},t.prototype.serialize=function(){return this.metrics.map(function(e){return{m:e.metric,v:e.value,t:e.tags,k:G_(e.type),e:e.timestamp}})},t}(),W_=function(t){Oe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.gauge=function(){},e.prototype.increment=function(){},e.prototype.flush=function(){},e.prototype.serialize=function(){return[]},e}(Ph),Pt=function(){function t(e){var n,r,i;this.retry=(n=e.retry)!==null&&n!==void 0?n:!0,this.type=(r=e.type)!==null&&r!==void 0?r:"plugin Error",this.reason=(i=e.reason)!==null&&i!==void 0?i:""}return t}(),lu=function(){function t(e,n,r,i){n===void 0&&(n=Bs()),r===void 0&&(r=new W_),i===void 0&&(i=new H_),this.attempts=0,this.event=e,this._id=n,this.logger=i,this.stats=r}return t.system=function(){},t.prototype.isSame=function(e){return e.id===this.id},t.prototype.cancel=function(e){throw e||new Pt({reason:"Context Cancel"})},t.prototype.log=function(e,n,r){this.logger.log(e,n,r)},Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),t.prototype.updateEvent=function(e,n){var r;if(e.split(".")[0]==="integrations"){var i=e.split(".")[1];if(((r=this.event.integrations)===null||r===void 0?void 0:r[i])===!1)return this.event}return ma(this.event,e,n),this.event},t.prototype.failedDelivery=function(){return this._failedDelivery},t.prototype.setFailedDelivery=function(e){this._failedDelivery=e},t.prototype.logs=function(){return this.logger.logs},t.prototype.flush=function(){this.logger.flush(),this.stats.flush()},t.prototype.toJSON=function(){return{id:this._id,event:this.event,logs:this.logger.logs,metrics:this.stats.metrics}},t}();function K_(t,e){var n={};return t.forEach(function(r){var i,u=void 0;{var o=r[e];u=typeof o!="string"?JSON.stringify(o):o}u!==void 0&&(n[u]=ne(ne([],(i=n[u])!==null&&i!==void 0?i:[],!0),[r],!1))}),n}var J_=function(t){return typeof t=="object"&&t!==null&&"then"in t&&typeof t.then=="function"},Y_=function(){var t,e,n=0;return{done:function(){return t},run:function(r){var i=r();return J_(i)&&(++n===1&&(t=new Promise(function(u){return e=u})),i.finally(function(){return--n===0&&e()})),i}}};function Z_(t){return L(this,void 0,void 0,function(){var e;return N(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,t()];case 1:return[2,n.sent()];case 2:return e=n.sent(),[2,Promise.reject(e)];case 3:return[2]}})})}function Bn(t,e){t.log("debug","plugin",{plugin:e.name});var n=new Date().getTime(),r=e[t.event.type];if(r===void 0)return Promise.resolve(t);var i=Z_(function(){return r.apply(e,[t])}).then(function(u){var o=new Date().getTime()-n;return u.stats.gauge("plugin_time",o,["plugin:".concat(e.name)]),u}).catch(function(u){if(u instanceof Pt&&u.type==="middleware_cancellation")throw u;return u instanceof Pt?(t.log("warn",u.type,{plugin:e.name,error:u}),u):(t.log("error","plugin Error",{plugin:e.name,error:u}),t.stats.increment("plugin_error",1,["plugin:".concat(e.name)]),u)});return i}function X_(t,e){return Bn(t,e).then(function(n){if(n instanceof lu)return n;
vendor: 4,540 bytes, line 16
16t.log("debug","Context canceled"),t.stats.increment("context_canceled"),t.cancel(n)})}var Q_=function(t){Oe(e,t);function e(n){var r=t.call(this)||this;return r.criticalTasks=Y_(),r.plugins=[],r.failedInitializations=[],r.flushing=!1,r.queue=n,r.queue.on(Rh,function(){r.scheduleFlush(0)}),r}return e.prototype.register=function(n,r,i){return L(this,void 0,void 0,function(){var u,o,a=this;return N(this,function(s){switch(s.label){case 0:return this.plugins.push(r),u=function(c){a.failedInitializations.push(r.name),a.emit("initialization_failure",r),console.warn(r.name,c),n.log("warn","Failed to load destination",{plugin:r.name,error:c}),a.plugins=a.plugins.filter(function(l){return l!==r})},r.type==="destination"&&r.name!=="Segment.io"?(r.load(n,i).catch(u),[3,4]):[3,1];case 1:return s.trys.push([1,3,,4]),[4,r.load(n,i)];case 2:return s.sent(),[3,4];case 3:return o=s.sent(),u(o),[3,4];case 4:return[2]}})})},e.prototype.deregister=function(n,r,i){return L(this,void 0,void 0,function(){var u;return N(this,function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),r.unload?[4,Promise.resolve(r.unload(n,i))]:[3,2];case 1:o.sent(),o.label=2;case 2:return this.plugins=this.plugins.filter(function(a){return a.name!==r.name}),[3,4];case 3:return u=o.sent(),n.log("warn","Failed to unload destination",{plugin:r.name,error:u}),[3,4];case 4:return[2]}})})},e.prototype.dispatch=function(n){return L(this,void 0,void 0,function(){var r;return N(this,function(i){return n.log("debug","Dispatching"),n.stats.increment("message_dispatched"),this.queue.push(n),r=this.subscribeToDelivery(n),this.scheduleFlush(0),[2,r]})})},e.prototype.subscribeToDelivery=function(n){return L(this,void 0,void 0,function(){var r=this;return N(this,function(i){return[2,new Promise(function(u){var o=function(a,s){a.isSame(n)&&(r.off("flush",o),u(a))};r.on("flush",o)})]})})},e.prototype.dispatchSingle=function(n){return L(this,void 0,void 0,function(){var r=this;return N(this,function(i){return n.log("debug","Dispatching"),n.stats.increment("message_dispatched"),this.queue.updateAttempts(n),n.attempts=1,[2,this.deliver(n).catch(function(u){var o=r.enqueuRetry(u,n);return o?r.subscribeToDelivery(n):(n.setFailedDelivery({reason:u}),n)})]})})},e.prototype.isEmpty=function(){return this.queue.length===0},e.prototype.scheduleFlush=function(n){var r=this;n===void 0&&(n=500),!this.flushing&&(this.flushing=!0,setTimeout(function(){r.flush().then(function(){setTimeout(function(){r.flushing=!1,r.queue.length&&r.scheduleFlush(0)},0)})},n))},e.prototype.deliver=function(n){return L(this,void 0,void 0,function(){var r,i,u,o;return N(this,function(a){switch(a.label){case 0:return[4,this.criticalTasks.done()];case 1:a.sent(),r=Date.now(),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,this.flushOne(n)];case 3:return n=a.sent(),i=Date.now()-r,this.emit("delivery_success",n),n.stats.gauge("delivered",i),n.log("debug","Delivered",n.event),[2,n];case 4:throw u=a.sent(),o=u,n.log("error","Failed to deliver",o),this.emit("delivery_failure",n,o),n.stats.increment("delivery_failed"),u;case 5:return[2]}})})},e.prototype.enqueuRetry=function(n,r){var i=!(n instanceof Pt)||n.retry;return i?this.queue.pushWithBackoff(r):!1},e.prototype.flush=function(){return L(this,void 0,void 0,function(){var n,r,i;return N(this,function(u){switch(u.label){case 0:if(this.queue.length===0)return[2,[]];if(n=this.queue.pop(),!n)return[2,[]];n.attempts=this.queue.getAttempts(n),u.label=1;case 1:return u.trys.push([1,3,,4]),[4,this.deliver(n)];case 2:return n=u.sent(),this.emit("flush",n,!0),[3,4];case 3:return r=u.sent(),i=this.enqueuRetry(r,n),i||(n.setFailedDelivery({reason:r}),this.emit("flush",n,!1)),[2,[]];case 4:return[2,[n]]}})})},e.prototype.isReady=function(){return!0},e.prototype.availableExtensions=function(n){var r=this.plugins.filter(function(p){var h,g,v;if(p.type!=="destination"&&p.name!=="Segment.io")return!0;var m=void 0;return(h=p.alternativeNames)===null||h===void 0||h.forEach(function(y){n[y]!==void 0&&(m=n[y])}),(v=(g=n[p.name])!==null&&g!==void 0?g:m)!==null&&v!==void 0?v:(p.name==="Segment.io"?!0:n.All)!==!1}),i=K_(r,"type"),u=i.before,o=u===void 0?[]:u,a=i.enrichment,s=a===void 0?[]:a,c=i.destination,l=c===void 0?[]:c,d=i.after,f=d===void 0?[]:d;return{before:o,enrichment:s,destinations:l,after:f}},e.prototype.flushOne=function(n){var r,i;return L(this,void 0,void 0,function(){var u,o,a,s,c,l,h,d,f,p,h,g,v,m,y;return N(this,function(x){switch(x.label){case 0:if(!this.isReady())throw new Error("Not ready");n.attempts>
vendor: 4,578 bytes, line 16
161&&this.emit("delivery_retry",n),u=this.availableExtensions((r=n.event.integrations)!==null&&r!==void 0?r:{}),o=u.before,a=u.enrichment,s=0,c=o,x.label=1;case 1:return s<c.length?(l=c[s],[4,X_(n,l)]):[3,4];case 2:h=x.sent(),h instanceof lu&&(n=h),this.emit("message_enriched",n,l),x.label=3;case 3:return s++,[3,1];case 4:d=0,f=a,x.label=5;case 5:return d<f.length?(p=f[d],[4,Bn(n,p)]):[3,8];case 6:h=x.sent(),h instanceof lu&&(n=h),this.emit("message_enriched",n,p),x.label=7;case 7:return d++,[3,5];case 8:return g=this.availableExtensions((i=n.event.integrations)!==null&&i!==void 0?i:{}),v=g.destinations,m=g.after,[4,new Promise(function(A,C){setTimeout(function(){var _=v.map(function(E){return Bn(n,E)});Promise.all(_).then(A).catch(C)},0)})];case 9:return x.sent(),n.stats.increment("message_delivered"),this.emit("message_delivered",n),y=m.map(function(A){return Bn(n,A)}),[4,Promise.all(y)];case 10:return x.sent(),[2,n]}})})},e}(Ms),e3=function(t,e){var n=Date.now()-t;return Math.max((e??300)-n,0)};function t3(t,e,n,r){return L(this,void 0,void 0,function(){var i,u;return N(this,function(o){switch(o.label){case 0:return n.emit("dispatch_start",t),i=Date.now(),e.isEmpty()?[4,e.dispatchSingle(t)]:[3,2];case 1:return u=o.sent(),[3,4];case 2:return[4,e.dispatch(t)];case 3:u=o.sent(),o.label=4;case 4:return r!=null&&r.callback?[4,q_(u,r.callback,e3(i,r.timeout))]:[3,6];case 5:u=o.sent(),o.label=6;case 6:return r!=null&&r.debug&&u.flush(),[2,u]}})})}function n3(t,e,n,r){var i,u=[t,e,n,r],o=Se(t)?t.event:t;if(!o||!Rt(o))throw new Error("Event missing");var a=Se(t)?(i=t.properties)!==null&&i!==void 0?i:{}:Se(e)?e:{},s={};Mn(n)||(s=n??{}),Se(t)&&!Mn(e)&&(s=e??{});var c=u.find(Mn);return[o,a,s,c]}function Ml(t,e,n,r,i){var u,o,a=null,s=null,c=[t,e,n,r,i],l=c.filter(Rt);l.length===1?Rt(c[1])?(s=c[1],a=null):(s=l[0],a=null):l.length===2&&(typeof c[0]=="string"&&(a=c[0]),typeof c[1]=="string"&&(s=c[1]));var d=c.find(Mn),f=c.filter(Se);return f.length===1?Se(c[2])?(o={},u=c[2]):Se(c[3])?(u={},o=c[3]):(u=f[0],o={}):f.length===2&&(u=f[0],o=f[1]),[a,s,u??(u={}),o??(o={}),d]}var Bl=function(t){return function(){for(var e,n,r,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];for(var o={},a=["callback","options","traits","id"],s=0,c=i;s<c.length;s++){var l=c[s],d=a.pop();if(d==="id"){if(Rt(l)||ya(l)){o.id=l.toString();continue}if(l==null)continue;d=a.pop()}if((d==="traits"||d==="options")&&(l==null||Se(l))&&(o[d]=l),Mn(l)){o.callback=l;break}}return[(e=o.id)!==null&&e!==void 0?e:t.id(),(n=o.traits)!==null&&n!==void 0?n:{},(r=o.options)!==null&&r!==void 0?r:{},o.callback]}};function r3(t,e,n,r){ya(t)&&(t=t.toString()),ya(e)&&(e=e.toString());var i=[t,e,n,r],u=i.filter(Rt),o=u[0],a=o===void 0?t:o,s=u[1],c=s===void 0?null:s,l=i.filter(Se)[0],d=l===void 0?{}:l,f=i.find(Mn);return[a,c,d,f]}function Us(){return typeof window<"u"}function Lh(){return!Us()}function Nh(){return Us()?window.navigator.onLine:!0}function Lt(){return!Nh()}function i3(t,e){return e=e||{},new Promise(function(n,r){var i=new XMLHttpRequest,u=[],o=[],a={},s=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:s,headers:{keys:function(){return u},entries:function(){return o},get:function(l){return a[l.toLowerCase()]},has:function(l){return l.toLowerCase()in a}}}};for(var c in i.open(e.method||"get",t,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(l,d,f){u.push(d=d.toLowerCase()),o.push([d,f]),a[d]=a[d]?a[d]+","+f:f}),n(s())},i.onerror=r,i.withCredentials=e.credentials=="include",e.headers)i.setRequestHeader(c,e.headers[c]);i.send(e.body||null)})}var Vs=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:null},Bu=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Vs();return(n&&n.fetch||i3).apply(void 0,t)},Uu="1.81.1",$h="api.segment.io/v1",u3=function(t,e,n){var r=e.reduce(function(i,u){var o=u.split(":"),a=o[0],s=o[1];return i[a]=s,i},{});return{type:"Counter",metric:t,value:1,tags:I(I({},r),{library:"analytics.js",library_version:"npm:next-".concat(Uu)})}};function bo(t){console.error("Error sending segment performance metrics",t)}var o3=function(){function t(e){var n=this,r,i,u,o,a;if(this.host=(r=e==null?void 0:e.host)!==null&&r!==void 0?r:$h,this.sampleRate=(i=e
vendor: 19,131 bytes, line 16
16==null?void 0:e.sampleRate)!==null&&i!==void 0?i:1,this.flushTimer=(u=e==null?void 0:e.flushTimer)!==null&&u!==void 0?u:30*1e3,this.maxQueueSize=(o=e==null?void 0:e.maxQueueSize)!==null&&o!==void 0?o:20,this.protocol=(a=e==null?void 0:e.protocol)!==null&&a!==void 0?a:"https",this.queue=[],this.sampleRate>0){var s=!1,c=function(){s||(s=!0,n.flush().catch(bo),s=!1,setTimeout(c,n.flushTimer))};c()}}return t.prototype.increment=function(e,n){if(e.includes("analytics_js.")&&n.length!==0&&!(Math.random()>this.sampleRate)&&!(this.queue.length>=this.maxQueueSize)){var r=u3(e,n);this.queue.push(r),e.includes("error")&&this.flush().catch(bo)}},t.prototype.flush=function(){return L(this,void 0,void 0,function(){var e=this;return N(this,function(n){switch(n.label){case 0:return this.queue.length<=0?[2]:[4,this.send().catch(function(r){bo(r),e.sampleRate=0})];case 1:return n.sent(),[2]}})})},t.prototype.send=function(){return L(this,void 0,void 0,function(){var e,n,r;return N(this,function(i){return e={series:this.queue},this.queue=[],n={"Content-Type":"text/plain"},r="".concat(this.protocol,"://").concat(this.host,"/m"),[2,Bu(r,{headers:n,body:JSON.stringify(e),method:"POST"})]})})},t}(),_o,jh=function(t){Oe(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.initRemoteMetrics=function(n){_o=new o3(n)},e.prototype.increment=function(n,r,i){t.prototype.increment.call(this,n,r,i),_o==null||_o.increment(n,i??[])},e}(Ph),Qe=function(t){Oe(e,t);function e(n,r){return t.call(this,n,r,new jh)||this}return e.system=function(){return new this({type:"track",event:"system"})},e}(lu);function a3(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()==="object"}var Mh="bpc",Bh=function(t,e,n,r,i,u){return{__t:Mh,c:e,p:r,u:t,s:n,t:i,r:u}},s3=Object.keys(Bh("","","","","",""));function c3(t){if(!a3(t)||t.__t!==Mh)return!1;for(var e in t)if(!s3.includes(e))return!1;return!0}var l3=function(t,e){return t.indexOf("?")>-1?t:t+e},d3=function(t){var e=t.indexOf("#");return e===-1?t:t.slice(0,e)},f3=function(t){try{return new URL(t).pathname}catch{return t[0]==="/"?t:"/"+t}},Uh=function(t){var e=t.c,n=t.p,r=t.s,i=t.u,u=t.r,o=t.t,a=e?f3(e):n,s=e?l3(e,r):d3(i);return{path:a,referrer:u,search:r,title:o,url:s}},Vh=function(){var t=document.querySelector("link[rel='canonical']");return Bh(location.href,t&&t.getAttribute("href")||void 0,location.search,location.pathname,document.title,document.referrer)},p3=function(){return Uh(Vh())};function h3(t,e){return Object.assign.apply(Object,ne([{}],e.map(function(n){var r;if(t&&Object.prototype.hasOwnProperty.call(t,n))return r={},r[n]=t[n],r}),!1))}var Cn=function(t,e){e===void 0&&(e=p3());var n=t.context,r;t.type==="page"&&(r=t.properties&&h3(t.properties,Object.keys(e)),t.properties=I(I(I({},e),t.properties),t.name?{name:t.name}:{})),n.page=I(I(I({},e),r),n.page)},v3=function(t){Oe(e,t);function e(n){var r=t.call(this,{createMessageId:function(){return"ajs-next-".concat(Date.now(),"-").concat(Bs())},onEventMethodCall:function(i){var u=i.options;r.maybeUpdateAnonId(u)},onFinishedEvent:function(i){return r.addIdentity(i),i}})||this;return r.user=n,r}return e.prototype.maybeUpdateAnonId=function(n){n!=null&&n.anonymousId&&this.user.anonymousId(n.anonymousId)},e.prototype.addIdentity=function(n){this.user.id()&&(n.userId=this.user.id()),this.user.anonymousId()&&(n.anonymousId=this.user.anonymousId())},e.prototype.track=function(n,r,i,u,o){var a=t.prototype.track.call(this,n,r,i,u);return Cn(a,o),a},e.prototype.page=function(n,r,i,u,o,a){var s=t.prototype.page.call(this,n,r,i,u,o);return Cn(s,a),s},e.prototype.screen=function(n,r,i,u,o,a){var s=t.prototype.screen.call(this,n,r,i,u,o);return Cn(s,a),s},e.prototype.identify=function(n,r,i,u,o){var a=t.prototype.identify.call(this,n,r,i,u);return Cn(a,o),a},e.prototype.group=function(n,r,i,u,o){var a=t.prototype.group.call(this,n,r,i,u);return Cn(a,o),a},e.prototype.alias=function(n,r,i,u,o){var a=t.prototype.alias.call(this,n,r,i,u);return Cn(a,o),a},e}(U_),g3=function(t){return"addMiddleware"in t&&t.type==="destination"},et={getItem:function(){},setItem:function(){},removeItem:function(){}};try{et=Us()&&window.localStorage?window.localStorage:et}catch(t){console.warn("Unable to access localStorage",t)}function qh(t){var e=et.getItem(t);return(e?JSON.parse(e):[]).map(function(n){return new Qe(n.event,n.id)})}function m3(t,e){var n=qh(t),r=ne(ne([],e,!0),n,!0),i=r.reduce(function(u,o){var a;return I(I({},u),(a={},a[o.id]=o,a))},{});et.setItem(t,JSON.stringify(Object.values(i)))}function zh(t){var e=et.getItem(t);return e?JSON.parse(e):{}}function y3(t,e){var n=zh(t);et.setItem(t,JSON.stringify(I(I({},n),e)))}function Ul(t){et.removeItem(t)}var b3=function(){return new Date().getTime()};function ba(t,e,n){n===void 0&&(n=0);var r=50,i="persisted-queue:v1:".concat(t,":lock"),u=function(c){return new Date().getTime()>c},o=et.getItem(i),a=o?JSON.parse(o):null,s=a===null||u(a);if(s){et.setItem(i,JSON.stringify(b3()+r)),e(),et.removeItem(i);return}!s&&n<3?setTimeout(function(){ba(t,e,n+1)},r):console.error("Unable to retrieve lock")}var Vu=function(t){Oe(e,t);function e(n,r){var i=t.call(this,n,[])||this,u="persisted-queue:v1:".concat(r,":items"),o="persisted-queue:v1:".concat(r,":seen"),a=[],s={};return ba(r,function(){try{a=qh(u),s=zh(o),Ul(u),Ul(o),i.queue=ne(ne([],a,!0),i.queue,!0),i.seen=I(I({},s),i.seen)}catch(c){console.error(c)}}),window.addEventListener("pagehide",function(){if(i.todo>0){var c=ne(ne([],i.queue,!0),i.future,!0);try{ba(r,function(){m3(u,c),y3(o,i.seen)})}catch(l){console.error(l)}}}),i}return e}(Mu),_3=function(t){Oe(e,t);function e(n){return t.call(this,typeof n=="string"?new Vu(4,n):n)||this}return e.prototype.flush=function(){return L(this,void 0,void 0,function(){return N(this,function(n){return Lt()?[2,[]]:[2,t.prototype.flush.call(this)]})})},e}(Q_);function qs(t){for(var e=t.constructor.prototype,n=0,r=Object.getOwnPropertyNames(e);n<r.length;n++){var i=r[n];if(i!=="constructor"){var u=Object.getOwnPropertyDescriptor(t.constructor.prototype,i);u&&typeof u.value=="function"&&(t[i]=t[i].bind(t))}}return t}/*! js-cookie v3.0.1 | MIT */function bi(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}var w3={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function _a(t,e){function n(i,u,o){if(typeof document<"u"){o=bi({},e,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,o[s]!==!0&&(a+="="+o[s].split(";")[0]));return document.cookie=i+"="+t.write(u,i)+a}}function r(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var u=document.cookie?document.cookie.split("; "):[],o={},a=0;a<u.length;a++){var s=u[a].split("="),c=s.slice(1).join("=");try{var l=decodeURIComponent(s[0]);if(o[l]=t.read(c,l),i===l)break}catch{}}return i?o[i]:o}}return Object.create({set:n,get:r,remove:function(i,u){n(i,"",bi({},u,{expires:-1}))},withAttributes:function(i){return _a(this.converter,bi({},this.attributes,i))},withConverter:function(i){return _a(bi({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var ft=_a(w3,{path:"/"});function x3(t){var e=t.hostname,n=e.split("."),r=n[n.length-1],i=[];if(n.length===4&&parseInt(r,10)>0||n.length<=1)return i;for(var u=n.length-2;u>=0;--u)i.push(n.slice(u).join("."));return i}function S3(t){try{return new URL(t)}catch{return}}function Hh(t){var e=S3(t);if(e)for(var n=x3(e),r=0;r<n.length;++r){var i="__tld__",u=n[r],o={domain:"."+u};try{if(ft.set(i,"1",o),ft.get(i))return ft.remove(i,o),u}catch{return}}}var E3=365,Gh=function(){function t(e){e===void 0&&(e=t.defaults),this.options=I(I({},t.defaults),e)}return Object.defineProperty(t,"defaults",{get:function(){return{maxage:E3,domain:Hh(window.location.href),path:"/",sameSite:"Lax"}},enumerable:!1,configurable:!0}),t.prototype.opts=function(){return{sameSite:this.options.sameSite,expires:this.options.maxage,domain:this.options.domain,path:this.options.path,secure:this.options.secure}},t.prototype.get=function(e){var n;try{var r=ft.get(e);if(r==null)return null;try{return(n=JSON.parse(r))!==null&&n!==void 0?n:null}catch{return r??null}}catch{return null}},t.prototype.set=function(e,n){typeof n=="string"?ft.set(e,n,this.opts()):n===null?ft.remove(e,this.opts()):ft.set(e,JSON.stringify(n),this.opts())},t.prototype.remove=function(e){return ft.remove(e,this.opts())},t}(),k3=function(){function t(){}return t.prototype.localStorageWarning=function(e,n){console.warn("Unable to access ".concat(e,", localStorage may be ").concat(n))},t.prototype.get=function(e){var n;try{var r=localStorage.getItem(e);if(r===null)return null;try{return(n=JSON.parse(r))!==null&&n!==void 0?n:null}catch{return r??null}}catch{return this.localStorageWarning(e,"unavailable"),null}},t.prototype.set=function(e,n){try{localStorage.setItem(e,JSON.stringify(n))}catch{this.localStorageWarning(e,"full")}},t.prototype.remove=function(e){try{return localStorage.removeItem(e)}catch{this.localStorageWarning(e,"unavailable")}},t}(),zs=function(){function t(){this.cache={}}return t.prototype.get=function(e){var n;return(n=this.cache[e])!==null&&n!==void 0?n:null},t.prototype.set=function(e,n){this.cache[e]=n},t.prototype.remove=function(e){delete this.cache[e]},t}(),xe={Cookie:"cookie",LocalStorage:"localStorage",Memory:"memory"};function Wh(t){return t&&t.stores&&Array.isArray(t.stores)&&t.stores.every(function(e){return Object.values(xe).includes(e)})}function A3(t){return typeof t=="object"&&t.name!==void 0}var wo=function(t,e,n,r){console.warn("".concat(t.constructor.name,": Can't ").concat(e,' key "').concat(n,'" | Err: ').concat(r))},on=function(){function t(e){this.stores=e}return t.prototype.get=function(e){for(var n=null,r=0,i=this.stores;r<i.length;r++){var u=i[r];try{if(n=u.get(e),n!=null)return n}catch(o){wo(u,"get",e,o)}}return null},t.prototype.set=function(e,n){this.stores.forEach(function(r){try{r.set(e,n)}catch(i){wo(r,"set",e,i)}})},t.prototype.clear=function(e){this.stores.forEach(function(n){try{n.remove(e)}catch(r){wo(n,"remove",e,r)}})},t.prototype.getAndSync=function(e){var n=this.get(e),r=typeof n=="number"?n.toString():n;return this.set(e,r),r},t}();function wa(t){var e=t.map(function(n){var r,i;switch(A3(n)?(r=n.name,i=n.settings):r=n,r){case xe.Cookie:return new Gh(i);case xe.LocalStorage:return new k3;case xe.Memory:return new zs;default:throw new Error("Unknown Store Type: ".concat(n))}});return e}function Kh(t,e){return t.map(function(n){return e&&n===xe.Cookie?{name:n,settings:e}:n})}var Vt={persist:!0,cookie:{key:"ajs_user_id",oldKey:"ajs_user"},localStorage:{key:"ajs_user_traits"}},Jh=function(){function t(e,n){e===void 0&&(e=Vt);var r=this,i,u,o,a;this.options={},this.id=function(c){if(r.options.disable)return null;var l=r.identityStore.getAndSync(r.idKey);if(c!==void 0){r.identityStore.set(r.idKey,c);var d=c!==l&&l!==null&&c!==null;d&&r.anonymousId(null)}var f=r.identityStore.getAndSync(r.idKey);if(f)return f;var p=r.legacyUserStore.get(Vt.cookie.oldKey);return p?typeof p=="object"?p.id:p:null},this.anonymousId=function(c){var l,d;if(r.options.disable)return null;if(c===void 0){var f=(l=r.identityStore.getAndSync(r.anonKey))!==null&&l!==void 0?l:(d=r.legacySIO())===null||d===void 0?void 0:d[0];if(f)return f}return c===null?(r.identityStore.set(r.anonKey,null),r.identityStore.getAndSync(r.anonKey)):(r.identityStore.set(r.anonKey,c??Bs()),r.identityStore.getAndSync(r.anonKey))},this.traits=function(c){var l;if(!r.options.disable)return c===null&&(c={}),c&&r.traitsStore.set(r.traitsKey,c??{}),(l=r.traitsStore.get(r.traitsKey))!==null&&l!==void 0?l:{}},this.options=I(I({},Vt),e),this.cookieOptions=n,this.idKey=(u=(i=e.cookie)===null||i===void 0?void 0:i.key)!==null&&u!==void 0?u:Vt.cookie.key,this.traitsKey=(a=(o=e.localStorage)===null||o===void 0?void 0:o.key)!==null&&a!==void 0?a:Vt.localStorage.key,this.anonKey="ajs_anonymous_id",this.identityStore=this.createStorage(this.options,n),this.legacyUserStore=this.createStorage(this.options,n,function(c){return c===xe.Cookie}),this.traitsStore=this.createStorage(this.options,n,function(c){return c!==xe.Cookie});var s=this.legacyUserStore.get(Vt.cookie.oldKey);s&&typeof s=="object"&&(s.id&&this.id(s.id),s.traits&&this.traits(s.traits)),qs(this)}return t.prototype.legacySIO=function(){var e=this.legacyUserStore.get("_sio");if(!e)return null;var n=e.split("----"),r=n[0],i=n[1];return[r,i]},t.prototype.identify=function(e,n){if(!this.options.disable){n=n??{};var r=this.id();(r===null||r===e)&&(n=I(I({},this.traits()),n)),e&&this.id(e),this.traits(n)}},t.prototype.logout=function(){this.anonymousId(null),this.id(null),this.traits({})},t.prototype.reset=function(){this.logout(),this.identityStore.clear(this.idKey),this.identityStore.clear(this.anonKey),this.traitsStore.clear(this.traitsKey)},t.prototype.load=function(){return new t(this.options,this.cookieOptions)},t.prototype.save=function(){return!0},t.prototype.createStorage=function(e,n,r){var i=[xe.LocalStorage,xe.Cookie,xe.Memory];return e.disable?new on([]):e.persist?(e.storage!==void 0&&e.storage!==null&&Wh(e.storage)&&(i=e.storage.stores),e.localStorageFallbackDisabled&&(i=i.filter(function(u){return u!==xe.LocalStorage})),r&&(i=i.filter(r)),new on(wa(Kh(i,n)))):new on([new zs])},t.defaults=Vt,t}(),Vl={persist:!0,cookie:{key:"ajs_group_id"},localStorage:{key:"ajs_group_properties"}},C3=function(t){Oe(e,t);function e(n,r){n===void 0&&(n=Vl);var i=t.call(this,I(I({},Vl),n),r)||this;return i.anonymousId=function(u){},qs(i),i}return e}(Jh),Hs="analytics";function Yh(){return window[Hs]}function O3(t){Hs=t}function T3(t){window[Hs]=t}var D3=function(t){return typeof t=="object"&&t!==null&&"then"in t&&typeof t.then=="function"},Zh=function(t,e,n){n.getAndRemove(t).forEach(function(r){qu(e,r).catch(console.error)})},F3=function(t,e){return L(void 0,void 0,void 0,function(){var n,r,i;return N(this,function(u){switch(u.label){case 0:n=0,r=e.getAndRemove("addSourceMiddleware"),u.label=1;case 1:return n<r.length?(i=r[n],[4,qu(t,i).catch(console.error)]):[3,4];case 2:u.sent(),u.label=3;case 3:return n++,[3,1];case 4:return[2]}})})},I3=function(t,e){return L(void 0,void 0,void 0,function(){var n,r,i;return N(this,function(u){switch(u.label){case 0:n=0,r=e.getAndRemove("register"),u.label=1;case 1:return n<r.length?(i=r[n],[4,qu(t,i).catch(console.error)]):[3,4];case 2:u.sent(),u.label=3;case 3:return n++,[3,1];case 4:return[2]}})})},R3=Zh.bind(void 0,"on"),P3=Zh.bind(void 0,"setAnonymousId"),L3=function(t,e){Object.keys(e.calls).forEach(function(n){e.getAndRemove(n).forEach(function(r){setTimeout(function(){qu(t,r).catch(console.error)},0)})})},On=function(t){if(Xh(t)){var e=t.pop();return Uh(e)}},Xh=function(t){var e=t[t.length-1];return c3(e)},xa=function(){function t(e,n,r,i){r===void 0&&(r=function(){}),i===void 0&&(i=console.error),this.method=e,this.resolve=r,this.reject=i,this.called=!1,this.args=n}return t}(),N3=function(){function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._callMap={},this.add.apply(this,e)}return Object.defineProperty(t.prototype,"calls",{get:function(){return this._pushSnippetWindowBuffer(),this._callMap},set:function(e){this._callMap=e},enumerable:!1,configurable:!0}),t.prototype.get=function(e){var n;return(n=this.calls[e])!==null&&n!==void 0?n:[]},t.prototype.getAndRemove=function(e){var n=this.get(e);return this.calls[e]=[],n},t.prototype.add=function(){for(var e=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];n.forEach(function(i){var u=["track","screen","alias","group","page","identify"];u.includes(i.method)&&!Xh(i.args)&&(i.args=ne(ne([],i.args,!0),[Vh()],!1)),e.calls[i.method]?e.calls[i.method].push(i):e.calls[i.method]=[i]})},t.prototype.clear=function(){this._pushSnippetWindowBuffer(),this.calls={}},t.prototype.toArray=function(){var e;return(e=[]).concat.apply(e,Object.values(this.calls))},t.prototype._pushSnippetWindowBuffer=function(){},t}();function qu(t,e){return L(this,void 0,void 0,function(){var n,r;return N(this,function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),e.called?[2,void 0]:(e.called=!0,n=t[e.method].apply(t,e.args),D3(n)?[4,n]:[3,2]);case 1:i.sent(),i.label=2;case 2:return e.resolve(n),[3,4];case 3:return r=i.sent(),e.reject(r),[3,4];case 4:return[2]}})})}var $3=function(){function t(e){var n=this;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=Uu,this._preInitBuffer=new N3,this._promise=e(this._preInitBuffer),this._promise.then(function(r){var i=r[0],u=r[1];n.instance=i,n.ctx=u}).catch(function(){})}return t.prototype.then=function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return(e=this._promise).then.apply(e,n)},t.prototype.catch=function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return(e=this._promise).catch.apply(e,n)},t.prototype.finally=function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return(e=this._promise).finally.apply(e,n)},t.prototype._createMethod=function(e){var n=this;return function(){for(var r,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];if(n.instance){var o=(r=n.instance)[e].apply(r,i);return Promise.resolve(o)}return new Promise(function(a,s){n._preInitBuffer.add(new xa(e,i,a,s))})}},t.prototype._createChainableMethod=function(e){var n=this;return function(){for(var r,i=[],u=0;u<arguments.length;u++)i[u]=arguments[u];return n.instance?((r=n.instance)[e].apply(r,i),n):(n._preInitBuffer.add(new xa(e,i)),n)}},t}(),j3=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function M3(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function B3(t){if(Object.prototype.hasOwnProperty.call(t,"__esMo
16dule"))return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var _i={},qt={},Tn={},ql={exports:{}},zl;function zu(){return zl||(zl=1,function(t){t.exports=e(n),t.exports.find=t.exports,t.exports.replace=function(a,s,c,l){return e(i).call(this,a,s,c,l),a},t.exports.del=function(a,s,c){return e(r).call(this,a,s,null,c),a};function e(a){return function(s,c,l,d){var f=d&&o(d.normalizer)?d.normalizer:u;c=f(c);for(var p,h=!1;!h;)g();function g(){for(p in s){var v=f(p);if(c.indexOf(v)===0){var m=c.substr(v.length);if(m.charAt(0)==="."||m.length===0){c=m.substr(1);var y=s[p];if(y==null){h=!0;return}if(!c.length){h=!0;return}s=y;return}}}p=void 0,h=!0}if(p)return s==null?s:a(s,p,l)}}function n(a,s){if(a.hasOwnProperty(s))return a[s]}function r(a,s){return a.hasOwnProperty(s)&&delete a[s],a}function i(a,s,c){return a.hasOwnProperty(s)&&(a[s]=c),a}function u(a){return a.replace(/[^a-zA-Z0-9\.]+/g,"").toLowerCase()}function o(a){return typeof a=="function"}}(ql)),ql.exports}var Hl;function U3(){if(Hl)return Tn;Hl=1;var t=Tn&&Tn.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Tn,"__esModule",{value:!0});var e=t(zu());function n(i,u){return function(){var o=this.traits(),a=this.properties?this.properties():{};return e.default(o,"address."+i)||e.default(o,i)||(u?e.default(o,"address."+u):null)||(u?e.default(o,u):null)||e.default(a,"address."+i)||e.default(a,i)||(u?e.default(a,"address."+u):null)||(u?e.default(a,u):null)}}function r(i){i.zip=n("postalCode","zip"),i.country=n("country"),i.street=n("street"),i.state=n("state"),i.city=n("city"),i.region=n("region")}return Tn.default=r,Tn}var wr={},Gl;function V3(){if(Gl)return wr;Gl=1,Object.defineProperty(wr,"__esModule",{value:!0}),wr.clone=void 0;function t(e){if(typeof e!="object")return e;if(Object.prototype.toString.call(e)==="[object Object]"){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=t(e[r]));return n}else return Array.isArray(e)?e.map(t):e}return wr.clone=t,wr}var wi={},Wl;function q3(){if(Wl)return wi;Wl=1,Object.defineProperty(wi,"__esModule",{value:!0});var t={Salesforce:!0};function e(n){return!t[n]}return wi.default=e,wi}var xi={},Kl;function Qh(){if(Kl)return xi;Kl=1;var t=/^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;return xi.parse=function(e){var n=[1,5,6,7,11,12],r=t.exec(e),i=0;if(!r)return new Date(e);for(var u=0,o;o=n[u];u++)r[o]=parseInt(r[o],10)||0;r[2]=parseInt(r[2],10)||1,r[3]=parseInt(r[3],10)||1,r[2]--,r[8]=r[8]?(r[8]+"00").substring(0,3):0,r[4]===" "?i=new Date().getTimezoneOffset():r[9]!=="Z"&&r[10]&&(i=r[11
16]*60+r[12],r[10]==="+"&&(i=0-i));var a=Date.UTC(r[1],r[2],r[3],r[5],r[6]+i,r[7],r[8]);return new Date(a)},xi.is=function(e,n){return typeof e!="string"||n&&/^\d{4}-\d{2}-\d{2}/.test(e)===!1?!1:t.test(e)},xi}var Si={},Jl;function z3(){if(Jl)return Si;Jl=1;var t=/\d{13}/;return Si.is=function(e){return t.test(e)},Si.parse=function(e){return e=parseInt(e,10),new Date(e)},Si}var Ei={},Yl;function H3(){if(Yl)return Ei;Yl=1;var t=/\d{10}/;return Ei.is=function(e){return t.test(e)},Ei.parse=function(e){var n=parseInt(e,10)*1e3;return new Date(n)},Ei}var xo,Zl;function Gs(){if(Zl)return xo;Zl=1;var t=Qh(),e=z3(),n=H3(),r=Object.prototype,i=r.toString;function u(s){return i.call(s)==="[object Date]"}function o(s){return i.call(s)==="[object Number]"}xo=function(s){return u(s)?s:o(s)?new Date(a(s)):t.is(s)?t.parse(s):e.is(s)?e.parse(s):n.is(s)?n.parse(s):new Date(s)};function a(s){return s<315576e5?s*1e3:s}return xo}var So,Xl;function G3(){if(Xl)return So;Xl=1;var t=Qh();So=e;function e(i,u){return u===void 0&&(u=!0),i&&typeof i=="object"?n(i,u):Array.isArray(i)?r(i,u):t.is(i,u)?t.parse(i):i}
vendor: 4,705 bytes, line 16
16function n(i,u){return Object.keys(i).forEach(function(o){i[o]=e(i[o],u)}),i}function r(i,u){return i.forEach(function(o,a){i[a]=e(o,u)}),i}return So}var Ql;function _n(){if(Ql)return qt;Ql=1;var t=qt&&qt.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(qt,"__esModule",{value:!0}),qt.Facade=void 0;var e=t(U3()),n=V3(),r=t(q3()),i=t(Gs()),u=t(zu()),o=t(G3());function a(l,d){d=d||{},this.raw=n.clone(l),"clone"in d||(d.clone=!0),d.clone&&(l=n.clone(l)),"traverse"in d||(d.traverse=!0),"timestamp"in l?l.timestamp=i.default(l.timestamp):l.timestamp=new Date,d.traverse&&o.default(l),this.opts=d,this.obj=l}qt.Facade=a;var s=a.prototype;s.proxy=function(l){var d=l.split(".");l=d.shift();var f=this[l]||this.obj[l];return f&&(typeof f=="function"&&(f=f.call(this)||{}),d.length===0?this.opts.clone?c(f):f:(f=u.default(f,d.join(".")),this.opts.clone?c(f):f))},s.field=function(l){var d=this.obj[l];return this.opts.clone?c(d):d},a.proxy=function(l){return function(){return this.proxy(l)}},a.field=function(l){return function(){return this.field(l)}},a.multi=function(l){return function(){var d=this.proxy(l+"s");if(Array.isArray(d))return d;var f=this.proxy(l);return f&&(f=[this.opts.clone?n.clone(f):f]),f||[]}},a.one=function(l){return function(){var d=this.proxy(l);if(d)return d;var f=this.proxy(l+"s");if(Array.isArray(f))return f[0]}},s.json=function(){var l=this.opts.clone?n.clone(this.obj):this.obj;return this.type&&(l.type=this.type()),l},s.rawEvent=function(){return this.raw},s.options=function(l){var d=this.obj.options||this.obj.context||{},f=this.opts.clone?n.clone(d):d;if(!l)return f;if(this.enabled(l)){var p=this.integrations(),h=p[l]||u.default(p,l);return typeof h!="object"&&(h=u.default(this.options(),l)),typeof h=="object"?h:{}}},s.context=s.options,s.enabled=function(l){var d=this.proxy("options.providers.all");typeof d!="boolean"&&(d=this.proxy("options.all")),typeof d!="boolean"&&(d=this.proxy("integrations.all")),typeof d!="boolean"&&(d=!0);var f=d&&r.default(l),p=this.integrations();if(p.providers&&p.providers.hasOwnProperty(l)&&(f=p.providers[l]),p.hasOwnProperty(l)){var h=p[l];typeof h=="boolean"?f=h:f=!0}return!!f},s.integrations=function(){return this.obj.integrations||this.proxy("options.providers")||this.options()},s.active=function(){var l=this.proxy("options.active");return l==null&&(l=!0),l},s.anonymousId=function(){return this.field("anonymousId")||this.field("sessionId")},s.sessionId=s.anonymousId,s.groupId=a.proxy("options.groupId"),s.traits=function(l){var d=this.proxy("options.traits")||{},f=this.userId();l=l||{},f&&(d.id=f);for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var h=this[p]==null?this.proxy("options.traits."+p):this[p]();if(h==null)continue;d[l[p]]=h,delete d[p]}return d},s.library=function(){var l=this.proxy("options.library");return l?typeof l=="string"?{name:l,version:null}:l:{name:"unknown",version:null}},s.device=function(){var l=this.proxy("context.device");(typeof l!="object"||l===null)&&(l={});var d=this.library().name;return l.type||(d.indexOf("ios")>-1&&(l.type="ios"),d.indexOf("android")>-1&&(l.type="android")),l},s.userAgent=a.proxy("context.userAgent"),s.timezone=a.proxy("context.timezone"),s.timestamp=a.field("timestamp"),s.channel=a.field("channel"),s.ip=a.proxy("context.ip"),s.userId=a.field("userId"),e.default(s);function c(l){return n.clone(l)}return qt}var zt={},Eo={exports:{}},ed;function wn(){return ed||(ed=1,typeof Object.create=="function"?Eo.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Eo.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}),Eo.exports}var td;function W3(){if(td)return zt;td=1;var t=zt&&zt.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(zt,"__esModule",{value:!0}),zt.Alias=void 0;var e=t(wn()),n=_n();function r(i,u){n.Facade.call(this,i,u)}return zt.Alias=r,e.default(r,n.Facade),r.prototype.action=function(){return"alias"},r.prototype.type=r.prototype.action,r.prototype.previousId=function(){return this.field("previousId")||this.field("from")},r.prototype.from=r.prototype.previousId,r.prototype.userId=function(){return this.field("userId")||this.field("to")},r.prototype.to=r.prototype.userId,zt}var Ht={},ki={},nd;function Hu(){if(nd)return ki;nd=1,Object.defineProperty(ki,"__esModule",{value:!0});var t=/.+\@.+\..+/;function e(n){return t.test(n)}return ki.default=e,ki}var rd;function K3(){if(rd)return Ht;rd=1;var t=Ht&&Ht.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};
vendor: 7,683 bytes, line 16
16Object.defineProperty(Ht,"__esModule",{value:!0}),Ht.Group=void 0;var e=t(wn()),n=t(Hu()),r=t(Gs()),i=_n();function u(a,s){i.Facade.call(this,a,s)}Ht.Group=u,e.default(u,i.Facade);var o=u.prototype;return o.action=function(){return"group"},o.type=o.action,o.groupId=i.Facade.field("groupId"),o.created=function(){var a=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(a)return r.default(a)},o.email=function(){var a=this.proxy("traits.email");if(a)return a;var s=this.groupId();if(n.default(s))return s},o.traits=function(a){var s=this.properties(),c=this.groupId();a=a||{},c&&(s.id=c);for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l)){var d=this[l]==null?this.proxy("traits."+l):this[l]();if(d==null)continue;s[a[l]]=d,delete s[l]}return s},o.name=i.Facade.proxy("traits.name"),o.industry=i.Facade.proxy("traits.industry"),o.employees=i.Facade.proxy("traits.employees"),o.properties=function(){return this.field("traits")||this.field("properties")||{}},Ht}var Gt={},id;function e0(){if(id)return Gt;id=1;var t=Gt&&Gt.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Gt,"__esModule",{value:!0}),Gt.Identify=void 0;var e=_n(),n=t(zu()),r=t(wn()),i=t(Hu()),u=t(Gs()),o=function(c){return c.trim()};function a(c,l){e.Facade.call(this,c,l)}Gt.Identify=a,r.default(a,e.Facade);var s=a.prototype;return s.action=function(){return"identify"},s.type=s.action,s.traits=function(c){var l=this.field("traits")||{},d=this.userId();c=c||{},d&&(l.id=d);for(var f in c){var p=this[f]==null?this.proxy("traits."+f):this[f]();p!=null&&(l[c[f]]=p,f!==c[f]&&delete l[f])}return l},s.email=function(){var c=this.proxy("traits.email");if(c)return c;var l=this.userId();if(i.default(l))return l},s.created=function(){var c=this.proxy("traits.created")||this.proxy("traits.createdAt");if(c)return u.default(c)},s.companyCreated=function(){var c=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(c)return u.default(c)},s.companyName=function(){return this.proxy("traits.company.name")},s.name=function(){var c=this.proxy("traits.name");if(typeof c=="string")return o(c);var l=this.firstName(),d=this.lastName();if(l&&d)return o(l+" "+d)},s.firstName=function(){var c=this.proxy("traits.firstName");if(typeof c=="string")return o(c);var l=this.proxy("traits.name");if(typeof l=="string")return o(l).split(" ")[0]},s.lastName=function(){var c=this.proxy("traits.lastName");if(typeof c=="string")return o(c);var l=this.proxy("traits.name");if(typeof l=="string"){var d=o(l).indexOf(" ");if(d!==-1)return o(l.substr(d+1))}},s.uid=function(){return this.userId()||this.username()||this.email()},s.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")},s.age=function(){var c=this.birthday(),l=n.default(this.traits(),"age");if(l!=null)return l;if(c instanceof Date){var d=new Date;return d.getFullYear()-c.getFullYear()}},s.avatar=function(){var c=this.traits();return n.default(c,"avatar")||n.default(c,"photoUrl")||n.default(c,"avatarUrl")},s.position=function(){var c=this.traits();return n.default(c,"position")||n.default(c,"jobTitle")},s.username=e.Facade.proxy("traits.username"),s.website=e.Facade.one("traits.website"),s.websites=e.Facade.multi("traits.website"),s.phone=e.Facade.one("traits.phone"),s.phones=e.Facade.multi("traits.phone"),s.address=e.Facade.proxy("traits.address"),s.gender=e.Facade.proxy("traits.gender"),s.birthday=e.Facade.proxy("traits.birthday"),Gt}var Wt={},ud;function Ws(){if(ud)return Wt;ud=1;var t=Wt&&Wt.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Wt,"__esModule",{value:!0}),Wt.Track=void 0;var e=t(wn()),n=_n(),r=e0(),i=t(Hu()),u=t(zu());function o(c,l){n.Facade.call(this,c,l)}Wt.Track=o,e.default(o,n.Facade);var a=o.prototype;a.action=function(){return"track"},a.type=a.action,a.event=n.Facade.field("event"),a.value=n.Facade.proxy("properties.value"),a.category=n.Facade.proxy("properties.category"),a.id=n.Facade.proxy("properties.id"),a.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")},a.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")},a.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")},a.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")},a.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")},a.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")},a.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")},a.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")},a.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")},a.sku=n.Facade.proxy("properties.sku"),a.tax=n.Facade.proxy("properties.tax"),a.name=n.Facade.proxy("properties.name"),a.price=n.Facade.proxy("properties.price"),a.total=n.Facade.proxy("properties.total"),a.repeat=n.Facade.proxy("properties.repeat"),a.coupon=n.Facade.proxy("properties.coupon"),a.shipping=n.Facade.proxy("properties.shipping"),a.discount=n.Facade.proxy("properties.discount"),a.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")},a.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")},a.description=n.Facade.proxy("properties.description"),a.plan=n.Facade.proxy("properties.plan"),a.subtotal=function(){var c=u.default(this.properties(),"subtotal"),l=this.total()||this.revenue();if(c)return c;if(!l)return 0;if(this.total()){var d=this.tax();d&&(l-=d),d=this.shipping(),d&&(l-=d),d=this.discount(),d&&(l+=d)}return l},a.products=function(){var c=this.properties(),l=u.default(c,"products");return Array.isArray(l)?l.filter(function(d){return d!==null}):[]},a.quantity=function(){var c=this.obj.properties||{};return c.quantity||1},a.currency=function(){var c=this.obj.properties||{};return c.currency||"USD"},a.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},a.query=n.Facade.proxy("options.query"),a.properties=function(c){var l=this.field("properties")||{};c=c||{};for(var d in c)if(Object.prototype.hasOwnProperty.call(c,d)){var f=this[d]==null?this.proxy("properties."+d):this[d]();if(f==null)continue;l[c[d]]=f,delete l[d]}return l},a.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()},a.email=function(){var c=this.proxy("traits.email")||this.proxy("properties.email")||this.proxy("options.traits.email");if(c)return c;var l=this.userId();if(i.default(l))return l},a.revenue=function(){var c=this.proxy("properties.revenue"),l=this.event(),d=/^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i;return!c&&l&&l.match(d)&&(c=this.proxy("properties.total")),s(c)},a.cents=function(){var c=this.revenue();return typeof c!="number"?this.value()||0:c*100},a.identify=function(){var c=this.json();return c.traits=this.traits(),new r.Identify(c,this.opts)};function s(c){if(c&&(typeof c=="number"||typeof c=="string"&&(c=c.replace(/\$/g,""),c=parseFloat(c),!isNaN(c))))return c}return Wt}var Kt={},od;function t0(){if(od)return Kt;od=1;var t=Kt&&Kt.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};
vendor: 5,131 bytes, line 16
16Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.Page=void 0;var e=t(wn()),n=_n(),r=Ws(),i=t(Hu());function u(a,s){n.Facade.call(this,a,s)}Kt.Page=u,e.default(u,n.Facade);var o=u.prototype;return o.action=function(){return"page"},o.type=o.action,o.category=n.Facade.field("category"),o.name=n.Facade.field("name"),o.title=n.Facade.proxy("properties.title"),o.path=n.Facade.proxy("properties.path"),o.url=n.Facade.proxy("properties.url"),o.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")},o.properties=function(a){var s=this.field("properties")||{},c=this.category(),l=this.name();a=a||{},c&&(s.category=c),l&&(s.name=l);for(var d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var f=this[d]==null?this.proxy("properties."+d):this[d]();if(f==null)continue;s[a[d]]=f,d!==a[d]&&delete s[d]}return s},o.email=function(){var a=this.proxy("context.traits.email")||this.proxy("properties.email");if(a)return a;var s=this.userId();if(i.default(s))return s},o.fullName=function(){var a=this.category(),s=this.name();return s&&a?a+" "+s:s},o.event=function(a){return a?"Viewed "+a+" Page":"Loaded a Page"},o.track=function(a){var s=this.json();return s.event=this.event(a),s.timestamp=this.timestamp(),s.properties=this.properties(),new r.Track(s,this.opts)},Kt}var Jt={},ad;function J3(){if(ad)return Jt;ad=1;var t=Jt&&Jt.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Jt,"__esModule",{value:!0}),Jt.Screen=void 0;var e=t(wn()),n=t0(),r=Ws();function i(u,o){n.Page.call(this,u,o)}return Jt.Screen=i,e.default(i,n.Page),i.prototype.action=function(){return"screen"},i.prototype.type=i.prototype.action,i.prototype.event=function(u){return u?"Viewed "+u+" Screen":"Loaded a Screen"},i.prototype.track=function(u){var o=this.json();return o.event=this.event(u),o.timestamp=this.timestamp(),o.properties=this.properties(),new r.Track(o,this.opts)},Jt}var Yt={},sd;function Y3(){if(sd)return Yt;sd=1;var t=Yt&&Yt.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.Delete=void 0;var e=t(wn()),n=_n();function r(i,u){n.Facade.call(this,i,u)}return Yt.Delete=r,e.default(r,n.Facade),r.prototype.type=function(){return"delete"},Yt}var cd;function Z3(){return cd||(cd=1,function(t){var e=_i&&_i.__assign||function(){return e=Object.assign||function(l){for(var d,f=1,p=arguments.length;f<p;f++){d=arguments[f];for(var h in d)Object.prototype.hasOwnProperty.call(d,h)&&(l[h]=d[h])}return l},e.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Delete=t.Screen=t.Page=t.Track=t.Identify=t.Group=t.Alias=t.Facade=void 0;var n=_n();Object.defineProperty(t,"Facade",{enumerable:!0,get:function(){return n.Facade}});var r=W3();Object.defineProperty(t,"Alias",{enumerable:!0,get:function(){return r.Alias}});var i=K3();Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return i.Group}});var u=e0();Object.defineProperty(t,"Identify",{enumerable:!0,get:function(){return u.Identify}});var o=Ws();Object.defineProperty(t,"Track",{enumerable:!0,get:function(){return o.Track}});var a=t0();Object.defineProperty(t,"Page",{enumerable:!0,get:function(){return a.Page}});var s=J3();Object.defineProperty(t,"Screen",{enumerable:!0,get:function(){return s.Screen}});var c=Y3();Object.defineProperty(t,"Delete",{enumerable:!0,get:function(){return c.Delete}}),t.default=e(e({},n.Facade),{Alias:r.Alias,Group:i.Group,Identify:u.Identify,Track:o.Track,Page:a.Page,Screen:s.Screen,Delete:c.Delete})}(_i)),_i}var Ie=Z3();function du(t,e){var n=new Ie.Facade(t,e);return t.type==="track"&&(n=new Ie.Track(t,e)),t.type==="identify"&&(n=new Ie.Identify(t,e)),t.type==="page"&&(n=new Ie.Page(t,e)),t.type==="alias"&&(n=new Ie.Alias(t,e)),t.type==="group"&&(n=new Ie.Group(t,e)),t.type==="screen"&&(n=new Ie.Screen(t,e)),Object.defineProperty(n,"obj",{value:t,writable:!0}),n}var X3=function(t){var e=!1;window.addEventListener("pagehide",function(){e||(e=!0,t(e))}),document.addEventListener("visibilitychange",function(){if(document.visibilityState=="hidden"){if(e)return;e=!0}else e=!1;t(e)})},n0=function(t){Oe(e,t);function e(n,r){var i=t.call(this,n)||this;return i.retryTimeout=r,i.name="RateLimitError",i}return e}(Error),r0=function(t){return I({"Content-Type":"text/plain"},typeof t=="function"?t():t)},Q3=500,ew=64;function Ks(t){var e=encodeURI(JSON.stringify(t)).split(/%..|./).length-1;return e/1024}function tw(t){return Ks(t)>=Q3-50}function nw(t){return Ks(t)>=ew-10}function rw(t){var e=[],n=0;return t.forEach(function(r){var i=Ks(e[n]);i>=64&&n++,e[n]?e[n].push(r):e[n]=[r]}),e}function iw(t,e){var n,r,i=[],u=!1,o=(n=e==null?void 0:e.size)!==null&&n!==void 0?n:10,a=(r=e==null?void 0:e.timeout)!==null&&r!==void 0?r:5e3,s=0;function c(h){var g;if(h.length!==0){var v=(g=h[0])===null||g===void 0?void 0:g.writeKey,m=h.map(function(y){var x=y;x.sentAt;var A=Ih(x,["sentAt"]);return A});return Bu("https://".concat(t,"/b"),{credentials:e==null?void 0:e.credentials,keepalive:(e==null?void 0:e.keepalive)||u,headers:r0(e
vendor: 27,349 bytes, line 16
16==null?void 0:e.headers),method:"post",body:JSON.stringify({writeKey:v,batch:m,sentAt:new Date().toISOString()}),priority:e==null?void 0:e.priority}).then(function(y){var x;if(y.status>=500)throw new Error("Bad response from server: ".concat(y.status));if(y.status===429){var A=(x=y.headers)===null||x===void 0?void 0:x.get("x-ratelimit-reset"),C=typeof A=="string"?parseInt(A)*1e3:a;throw new n0("Rate limit exceeded: ".concat(y.status),C)}})}}function l(h){var g;return h===void 0&&(h=1),L(this,void 0,void 0,function(){var v;return N(this,function(m){return i.length?(v=i,i=[],[2,(g=c(v))===null||g===void 0?void 0:g.catch(function(y){var x,A=Qe.system();A.log("error","Error sending batch",y),h<=((x=e==null?void 0:e.maxRetries)!==null&&x!==void 0?x:10)&&(y.name==="RateLimitError"&&(s=y.retryTimeout),i.push.apply(i,v),i.map(function(C){if("_metadata"in C){var _=C;_._metadata=I(I({},_._metadata),{retryCount:h})}}),f(h+1))})]):[2]})})}var d;function f(h){h===void 0&&(h=1),!d&&(d=setTimeout(function(){d=void 0,l(h).catch(console.error)},s||a),s=0)}X3(function(h){if(u=h,u&&i.length){var g=rw(i).map(c);Promise.all(g).catch(console.error)}});function p(h,g){return L(this,void 0,void 0,function(){var v;return N(this,function(m){return i.push(g),v=i.length>=o||tw(i)||(e==null?void 0:e.keepalive)&&nw(i),[2,v||u?l():f()]})})}return{dispatch:p}}function uw(t){function e(n,r){return Bu(n,{credentials:t==null?void 0:t.credentials,keepalive:t==null?void 0:t.keepalive,headers:r0(t==null?void 0:t.headers),method:"post",body:JSON.stringify(r),priority:t==null?void 0:t.priority}).then(function(i){var u;if(i.status>=500)throw new Error("Bad response from server: ".concat(i.status));if(i.status===429){var o=(u=i.headers)===null||u===void 0?void 0:u.get("x-ratelimit-reset"),a=o?parseInt(o)*1e3:5e3;throw new n0("Rate limit exceeded: ".concat(i.status),a)}})}return{dispatch:e}}function ow(t,e,n,r,i){var u,o=t.user();delete e.options,e.writeKey=n==null?void 0:n.apiKey,e.userId=e.userId||o.id(),e.anonymousId=e.anonymousId||o.anonymousId(),e.sentAt=new Date;var a=t.queue.failedInitializations||[];a.length>0&&(e._metadata={failedInitializations:a}),i!=null&&(i.attempts>1&&(e._metadata=I(I({},e._metadata),{retryCount:i.attempts})),i.attempts++);var s=[],c=[];for(var l in r){var d=r[l];l==="Segment.io"&&s.push(l),d.bundlingStatus==="bundled"&&s.push(l),d.bundlingStatus==="unbundled"&&c.push(l)}for(var f=0,p=(n==null?void 0:n.unbundledIntegrations)||[];f<p.length;f++){var h=p[f];c.includes(h)||c.push(h)}var g=(u=n==null?void 0:n.maybeBundledConfigIds)!==null&&u!==void 0?u:{},v=[];return s.sort().forEach(function(m){var y;((y=g[m])!==null&&y!==void 0?y:[]).forEach(function(x){v.push(x)})}),(n==null?void 0:n.addBundledMetadata)!==!1&&(e._metadata=I(I({},e._metadata),{bundled:s.sort(),unbundled:c.sort(),bundledIds:v})),e}var i0=function(t,e){return L(void 0,void 0,void 0,function(){var n;return N(this,function(r){return n=function(i){return L(void 0,void 0,void 0,function(){var u;return N(this,function(o){switch(o.label){case 0:return t(i)?(u=n,[4,e()]):[3,2];case 1:return[2,u.apply(void 0,[o.sent()])];case 2:return[2]}})})},[2,n(void 0)]})})};function aw(t,e){return L(this,void 0,void 0,function(){var n,r=this;return N(this,function(i){switch(i.label){case 0:return n=[],Lt()?[2,e]:[4,i0(function(){return e.length>0&&!Lt()},function(){return L(r,void 0,void 0,function(){var u,o,a;return N(this,function(s){switch(s.label){case 0:return u=e.pop(),u?[4,Bn(u,t)]:[2];case 1:return o=s.sent(),a=o instanceof Qe,a||n.push(u),[2]}})})})];case 1:return i.sent(),n.map(function(u){return e.pushWithBackoff(u)}),[2,e]}})})}function Dn(t,e,n,r){var i=this;t||setTimeout(function(){return L(i,void 0,void 0,function(){var u,o;return N(this,function(a){switch(a.label){case 0:return u=!0,[4,aw(n,e)];case 1:return o=a.sent(),u=!1,e.todo>0&&r(u,o,n,r),[2]}})})},Math.random()*5e3)}function sw(t,e){var n,r,i,u,o=t.user();return e.previousId=(i=(r=(n=e.previousId)!==null&&n!==void 0?n:e.from)!==null&&r!==void 0?r:o.id())!==null&&i!==void 0?i:o.anonymousId(),e.userId=(u=e.userId)!==null&&u!==void 0?u:e.to,delete e.from,delete e.to,e}var cw=function(t){return t.name==="Segment.io"};function lw(t,e,n){var r,i,u;window.addEventListener("pagehide",function(){a.push.apply(a,Array.from(s)),s.clear()});var o=(r=e==null?void 0:e.apiKey)!==null&&r!==void 0?r:"",a=t.options.disableClientPersistence?new Mu(t.queue.queue.maxAttempts,[]):new Vu(t.queue.queue.maxAttempts,"".concat(o,":dest-Segment.io")),s=new Set,c=!1,l=(i=e==null?void 0:e.apiHost)!==null&&i!==void 0?i:$h,d=(u=e==null?void 0:e.protocol)!==null&&u!==void 0?u:"https",f="".concat(d,"://").concat(l),p=e==null?void 0:e.deliveryStrategy,h=p&&"strategy"in p&&p.strategy==="batching"?iw(l,p.config):uw(p==null?void 0:p.config);function g(m){return L(this,void 0,void 0,function(){var y,x;return N(this,function(A){return Lt()?(a.push(m),Dn(c,a,v,Dn),[2,m]):(s.add(m),y=m.event.type.charAt(0),x=du(m.event).json(),m.event.type==="track"&&delete x.traits,m.event.type==="alias"&&(x=sw(t,x)),a.getAttempts(m)>=a.maxAttempts?(s.delete(m),[2,m]):[2,h.dispatch("".concat(f,"/").concat(y),ow(t,x,e,n,m)).then(function(){return m}).catch(function(C){if(m.log("error","Error sending event",C),C.name==="RateLimitError"){var _=C.retryTimeout;a.pushWithBackoff(m,_)}else a.pushWithBackoff(m);return Dn(c,a,v,Dn),m}).finally(function(){s.delete(m)})])})})}var v={metadata:{writeKey:o,apiHost:l,protocol:d},name:"Segment.io",type:"destination",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:g,identify:g,page:g,alias:g,group:g,screen:g};return a.todo&&Dn(c,a,v,Dn),v}var wt="This is being deprecated and will be not be available in future releases of Analytics JS",ld=Vs(),dd=ld==null?void 0:ld.analytics;function dw(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=e?10:1,i=n?new Mu(r,[]):new Vu(r,t);return new _3(i)}var fw=function(){function t(e,n){var r;this.timeout=300,this._getSegmentPluginMetadata=function(){var u;return(u=n.plugins.find(cw))===null||u===void 0?void 0:u.metadata},this.writeKey=e.writeKey;var i={integrations:{"Segment.io":{apiKey:""}}};this.cdnSettings=(r=e.cdnSettings)!==null&&r!==void 0?r:i,this.cdnURL=e.cdnURL}return Object.defineProperty(t.prototype,"apiHost",{get:function(){var e,n;return(n=(e=this._getSegmentPluginMetadata)===null||e===void 0?void 0:e.call(this))===null||n===void 0?void 0:n.apiHost},enumerable:!1,configurable:!0}),t}();function Ge(){console.warn(wt)}var u0=function(t){Oe(e,t);function e(n,r,i,u,o){var a=this,s,c;a=t.call(this)||this,a._debug=!1,a.initialized=!1,a.user=function(){return a._user},a.init=a.initialize.bind(a),a.log=Ge,a.addIntegrationMiddleware=Ge,a.listeners=Ge,a.addEventListener=Ge,a.removeAllListeners=Ge,a.removeListener=Ge,a.removeEventListener=Ge,a.hasListeners=Ge,a.add=Ge,a.addIntegration=Ge;var l=r==null?void 0:r.cookie,d=(s=r==null?void 0:r.disableClientPersistence)!==null&&s!==void 0?s:!1;a.queue=i??dw("".concat(n.writeKey,":event-queue"),r==null?void 0:r.retryQueue,d),a.settings=new fw(n,a.queue);var f=r==null?void 0:r.storage;return a._universalStorage=a.createStore(d,f,l),a._user=u??new Jh(I({persist:!d,storage:r==null?void 0:r.storage},r==null?void 0:r.user),l).load(),a._group=o??new C3(I({persist:!d,storage:r==null?void 0:r.storage},r==null?void 0:r.group),l).load(),a.eventFactory=new v3(a._user),a.integrations=(c=r==null?void 0:r.integrations)!==null&&c!==void 0?c:{},a.options=r??{},qs(a),a}return e.prototype.createStore=function(n,r,i){return n?new on([new zs]):r&&Wh(r)?new on(wa(Kh(r.stores,i))):new on(wa([xe.LocalStorage,{name:xe.Cookie,settings:i},xe.Memory]))},Object.defineProperty(e.prototype,"storage",{get:function(){return this._universalStorage},enumerable:!1,configurable:!0}),e.prototype.track=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return L(this,void 0,void 0,function(){var i,u,o,a,s,c,l,d=this;return N(this,function(f){return i=On(n),u=n3.apply(void 0,n),o=u[0],a=u[1],s=u[2],c=u[3],l=this.eventFactory.track(o,a,s,this.integrations,i),[2,this._dispatch(l,c).then(function(p){return d.emit("track",o,p.event.properties,p.event.options),p})]})})},e.prototype.page=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return L(this,void 0,void 0,function(){var i,u,o,a,s,c,l,d,f=this;return N(this,function(p){return i=On(n),u=Ml.apply(void 0,n),o=u[0],a=u[1],s=u[2],c=u[3],l=u[4],d=this.eventFactory.page(o,a,s,c,this.integrations,i),[2,this._dispatch(d,l).then(function(h){return f.emit("page",o,a,h.event.properties,h.event.options),h})]})})},e.prototype.identify=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return L(this,void 0,void 0,function(){var i,u,o,a,s,c,l,d=this;return N(this,function(f){return i=On(n),u=Bl(this._user).apply(void 0,n),o=u[0],a=u[1],s=u[2],c=u[3],this._user.identify(o,a),l=this.eventFactory.identify(this._user.id(),this._user.traits(),s,this.integrations,i),[2,this._dispatch(l,c).then(function(p){return d.emit("identify",p.event.userId,p.event.traits,p.event.options),p})]})})},e.prototype.group=function(){for(var n=this,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var u=On(r);if(r.length===0)return this._group;var o=Bl(this._group).apply(void 0,r),a=o[0],s=o[1],c=o[2],l=o[3];this._group.identify(a,s);var d=this._group.id(),f=this._group.traits(),p=this.eventFactory.group(d,f,c,this.integrations,u);return this._dispatch(p,l).then(function(h){return n.emit("group",h.event.groupId,h.event.traits,h.event.options),h})},e.prototype.alias=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return L(this,void 0,void 0,function(){var i,u,o,a,s,c,l,d=this;return N(this,function(f){return i=On(n),u=r3.apply(void 0,n),o=u[0],a=u[1],s=u[2],c=u[3],l=this.eventFactory.alias(o,a,s,this.integrations,i),[2,this._dispatch(l,c).then(function(p){return d.emit("alias",o,a,p.event.options),p})]})})},e.prototype.screen=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return L(this,void 0,void 0,function(){var i,u,o,a,s,c,l,d,f=this;return N(this,function(p){return i=On(n),u=Ml.apply(void 0,n),o=u[0],a=u[1],s=u[2],c=u[3],l=u[4],d=this.eventFactory.screen(o,a,s,c,this.integrations,i),[2,this._dispatch(d,l).then(function(h){return f.emit("screen",o,a,h.event.properties,h.event.options),h})]})})},e.prototype.trackClick=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return L(this,void 0,void 0,function(){var i,u;return N(this,function(o){switch(o.label){case 0:return[4,Promise.resolve().then(()=>Li)];case 1:return i=o.sent(),[2,(u=i.link).call.apply(u,ne([this],n,!1))]}})})},e.prototype.trackLink=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return L(this,void 0,void 0,function(){var i,u;return N(this,function(o){switch(o.label){case 0:return[4,Promise.resolve().then(()=>Li)];case 1:return i=o.sent(),[2,(u=i.link).call.apply(u,ne([this],n,!1))]}})})},e.prototype.trackSubmit=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return L(this,void 0,void 0,function(){var i,u;return N(this,function(o){switch(o.label){case 0:return[4,Promise.resolve().then(()=>Li)];case 1:return i=o.sent(),[2,(u=i.form).call.apply(u,ne([this],n,!1))]}})})},e.prototype.trackForm=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return L(this,void 0,void 0,function(){var i,u;return N(this,function(o){switch(o.label){case 0:return[4,Promise.resolve().then(()=>Li)];case 1:return i=o.sent(),[2,(u=i.form).call.apply(u,ne([this],n,!1))]}})})},e.prototype.register=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return L(this,void 0,void 0,function(){var i,u,o=this;return N(this,function(a){switch(a.label){case 0:return i=Qe.system(),u=n.map(function(s){return o.queue.register(i,s,o)}),[4,Promise.all(u)];case 1:return a.sent(),[2,i]}})})},e.prototype.deregister=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return L(this,void 0,void 0,function(){var i,u,o=this;return N(this,function(a){switch(a.label){case 0:return i=Qe.system(),u=n.map(function(s){var c=o.queue.plugins.find(function(l){return l.name===s});if(c)return o.queue.deregister(i,c,o);i.log("warn","plugin ".concat(s," not found"))}),[4,Promise.all(u)];case 1:return a.sent(),[2,i]}})})},e.prototype.debug=function(n){return n===!1&&localStorage.getItem("debug")&&localStorage.removeItem("debug"),this._debug=n,this},e.prototype.reset=function(){this._user.reset(),this._group.reset(),this.emit("reset")},e.prototype.timeout=function(n){this.settings.timeout=n},e.prototype._dispatch=function(n,r){return L(this,void 0,void 0,function(){var i;return N(this,function(u){return i=new Qe(n),i.stats.increment("analytics_js.invoke",1,[n.type]),Lt()&&!this.options.retryQueue?[2,i]:[2,t3(i,this.queue,this,{callback:r,debug:this._debug,timeout:this.settings.timeout})]})})},e.prototype.addSourceMiddleware=function(n){return L(this,void 0,void 0,function(){var r=this;return N(this,function(i){switch(i.label){case 0:return[4,this.queue.criticalTasks.run(function(){return L(r,void 0,void 0,function(){var u,o,a;return N(this,function(s){switch(s.label){case 0:return[4,Promise.resolve().then(()=>Ow)];case 1:return u=s.sent().sourceMiddlewarePlugin,o={},this.queue.plugins.forEach(function(c){if(c.type==="destination")return o[c.name]=!0}),a=u(n,o),[4,this.register(a)];case 2:return s.sent(),[2]}})})})];case 1:return i.sent(),[2,this]}})})},e.prototype.addDestinationMiddleware=function(n){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return this.queue.plugins.filter(g3).forEach(function(u){(n==="*"||u.name.toLowerCase()===n.toLowerCase())&&u.addMiddleware.apply(u,r)}),Promise.resolve(this)},e.prototype.setAnonymousId=function(n){return this._user.anonymousId(n)},e.prototype.queryString=function(n){return L(this,void 0,void 0,function(){var r;return N(this,function(i){switch(i.label){case 0:return this.options.useQueryString===!1?[2,[]]:[4,Promise.resolve().then(()=>C8)];case 1:return r=i.sent().queryString,[2,r(this,n)]}})})},e.prototype.use=function(n){return n(this),this},e.prototype.ready=function(n){return n===void 0&&(n=function(r){return r}),L(this,void 0,void 0,function(){return N(this,function(r){return[2,Promise.all(this.queue.plugins.map(function(i){return i.ready?i.ready():Promise.resolve()})).then(function(i){return n(i),i})]})})},e.prototype.noConflict=function(){return console.warn(wt),T3(dd??this),this},e.prototype.normalize=function(n){return console.warn(wt),this.eventFactory.normalize(n)},Object.defineProperty(e.prototype,"failedInitializations",{get:function(){return console.warn(wt),this.queue.failedInitializations},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"VERSION",{get:function(){return Uu},enumerable:!1,configurable:!0}),e.prototype.initialize=function(n,r){return L(this,void 0,void 0,function(){return N(this,function(i){return console.warn(wt),[2,Promise.resolve(this)]})})},e.prototype.pageview=function(n){return L(this,void 0,void 0,function(){return N(this,function(r){switch(r.label){case 0:return console.warn(wt),[4,this.page({path:n})];case 1:return r.sent(),[2,this]}})})},Object.defineProperty(e.prototype,"plugins",{get:function(){var n;return console.warn(wt),(n=this._plugins)!==null&&n!==void 0?n:{}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"Integrations",{get:function(){console.warn(wt);var n=this.queue.plugins.filter(function(r){return r.type==="destination"}).reduce(function(r,i){var u="".concat(i.name.toLowerCase().replace(".","").split(" ").join("-"),"Integration"),o=window[u];if(!o)return r;var a=o.Integration;return a?(r[i.name]=a,r):(r[i.name]=o,r)},{});return n},enumerable:!1,configurable:!0}),e.prototype.push=function(n){var r=this,i=n.shift();i&&!r[i]||r[i].apply(this,n)},e}(Ms),fd=function(t){Oe(e,t);function e(){var n=t.call(this,{writeKey:""},{disableClientPersistence:!0})||this;return n.initialized=!0,n}return e}(u0);function o0(){return typeof process>"u"||!process.env?{}:process.env}var pw=/(https:\/\/.*)\/analytics\.js\/v1\/(?:.*?)\/(?:platform|analytics.*)?/,hw=function(){var t,e=Array.prototype.slice.call(document.querySelectorAll("script"));return e.forEach(function(n){var r,i=(r=n.getAttribute("src"))!==null&&r!==void 0?r:"",u=pw.exec(i);u&&u[1]&&(t=u[1])}),t},Sa,vw=function(){var t,e=Sa??((t=Yh())===null||t===void 0?void 0:t._cdn);return e},gw=function(t){var e=Yh();e&&(e._cdn=t),Sa=t},Js=function(){var t=vw();if(t)return t;var e=hw();return e||"https://cdn.segment.com"},Ys=function(){var t=Js();return"".concat(t,"/next-integrations")};function a0(t,e){var n,r=Object.entries((n=e.integrations)!==null&&n!==void 0?n:{}).reduce(function(i,u){var o,a,s=u[0],c=u[1];return typeof c=="object"?I(I({},i),(o={},o[s]=c,o)):I(I({},i),(a={},a[s]={},a))},{});return Object.entries(t.integrations).reduce(function(i,u){var o,a=u[0],s=u[1];return I(I({},i),(o={},o[a]=I(I({},s),r[a]),o))},{})}function s0(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch{return t}}function mw(t){return L(this,void 0,void 0,function(){var e;return N(this,function(n){return e=navigator.userAgentData,e?t?[2,e.getHighEntropyValues(t).catch(function(){return e.toJSON()})]:[2,e.toJSON()]:[2,void 0]})})}var xr;function yw(){if(xr)return xr;var t=Hh(window.location.href);return xr={expires:31536e6,secure:!1,path:"/"},t&&(xr.domain=t),xr}function bw(t){var e={btid:"dataxu",urid:"millennial-media"};t.startsWith("?")&&(t=t.substring(1)),t=t.replace(/\?/g,"&");for(var n=t.split("&"),r=0,i=n;r<i.length;r++){var u=i[r],o=u.split("="),a=o[0],s=o[1];if(e[a])return{id:s,type:e[a]}}}function _w(t){return t.startsWith("?")&&(t=t.substring(1)),t=t.replace(/\?/g,"&"),t.split("&").reduce(function(e,n){var r=n.split("="),i=r[0],u=r[1],o=u===void 0?"":u;if(i.includes("utm_")&&i.length>4){var a=i.slice(4);a==="campaign"&&(a="name"),e[a]=s0(o)}return e},{})}function ww(){var t=ft.get("_ga");if(t&&t.startsWith("amp"))return t}function xw(t,e,n){var r,i=new on(n?[]:[new Gh(yw())]),u=i.get("s:context.referrer"),o=(r=bw(t))!==null&&r!==void 0?r:u;o&&(e&&(e.referrer=I(I({},e.referrer),o)),i.set("s:context.referrer",o))}var Sw=function(t){try{var e=new URLSearchParams;return Object.entries(t).forEach(function(n){var r=n[0],i=n[1];Array.isArray(i)?i.forEach(function(u){return e.append(r,u)}):e.append(r,i)}),e.toString()}catch{return""}},Ew=function(){function t(){var e=this;this.name="Page Enrichment",this.type="before",this.version="0.1.0",this.isLoaded=function(){return!0},this.load=function(n,r){return L(e,void 0,void 0,function(){var i;return N(this,function(u){switch(u.label){case 0:this.instance=r,u.label=1;case 1:return u.trys.push([1,3,,4]),i=this,[4,mw(this.instance.options.highEntropyValuesClientHints)];case 2:return i.userAgentData=u.sent(),[3,4];case 3:return u.sent(),[3,4];case 4:return[2,Promise.resolve()]}})})},this.enrich=function(n){var r,i,u=n.event.context,o=u.page.search||"",a=typeof o=="object"?Sw(o):o;u.userAgent=navigator.userAgent,u.userAgentData=e.userAgentData;var s=navigator.userLanguage||navigator.language;typeof u.locale>"u"&&typeof s<"u"&&(u.locale=s),(r=u.library)!==null&&r!==void 0||(u.library={name:"analytics.js",version:"".concat("npm:next","-").concat(Uu)}),a&&!u.campaign&&(u.campaign=_w(a));var c=ww();c&&(u.amp={id:c}),xw(a,u,(i=e.instance.options.disableClientPersistence)!==null&&i!==void 0?i:!1);try{u.timezone=Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}return n},this.track=this.enrich,this.identify=this.enrich,this.page=this.enrich,this.group=this.enrich,this.alias=this.enrich,this.screen=this.enrich}return t}(),kw=new Ew;function c0(t){var e=Array.prototype.slice.call(window.document.querySelectorAll("script"));return e.find(function(n){return n.src===t})}function Un(t,e){var n=c0(t);if(n!==void 0){var r=n==null?void 0:n.getAttribute("status");if(r==="loaded")return Promise.resolve(n);if(r==="loading")return new Promise(function(i,u){n.addEventListener("load",function(){return i(n)}),n.addEventListener("error",function(o){return u(o)})})}return new Promise(function(i,u){var o,a=window.document.createElement("script");a.type="text/javascript",a.src=t,a.async=!0,a.setAttribute("status","loading");for(var s=0,c=Object.entries({});s<c.length;s++){var l=c[s],d=l[0],f=l[1];a.setAttribute(d,f)}a.onload=function(){a.onerror=a.onload=null,a.setAttribute("status","loaded"),i(a)},a.onerror=function(){a.onerror=a.onload=null,a.setAttribute("status","error"),u(new Error("Failed to load ".concat(t)))};var p=window.document.querySelector("script");p?(o=p.parentElement)===null||o===void 0||o.insertBefore(a,p):window.document.head.appendChild(a)})}function Aw(t){var e=c0(t);return e!==void 0&&e.remove(),Promise.resolve()}function Zs(t,e,n){return L(this,void 0,void 0,function(){function r(c,l){return L(this,void 0,void 0,function(){var d,f,p;return N(this,function(h){switch(h.label){case 0:return d=!1,f=null,[4,l({payload:du(c,{clone:!0,traverse:!1}),integration:t,next:function(g){d=!0,g===null&&(f=null),g&&(f=g.obj)}})];case 1:return h.sent(),!d&&f!==null&&(f=f,f.integrations=I(I({},c.integrations),(p={},p[t]=!1,p))),[2,f]}})})}var i,u,o,a,s;return N(this,function(c){switch(c.label){case 0:i=du(e,{clone:!0,traverse:!1}).rawEvent(),u=0,o=n,c.label=1;case 1:return u<o.length?(a=o[u],[4,r(i,a)]):[3,4];case 2:if(s=c.sent(),s===null)return[2,null];i=s,c.label=3;case 3:return u++,[3,1];case 4:return[2,i]}})})}function Cw(t,e){function n(r){return L(this,void 0,void 0,function(){var i;return N(this,function(u){switch(u.label){case 0:return i=!1,[4,t({payload:du(r.event,{clone:!0,traverse:!1}),integrations:e??{},next:function(o){i=!0,o&&(r.event=o.obj)}})];case 1:if(u.sent(),!i)throw new Pt({retry:!1,type:"middleware_cancellation",reason:"Middleware `next` function skipped"});return[2,r]}})})}return{name:"Source Middleware ".concat(t.name),type:"before",version:"0.1.0",isLoaded:function(){return!0},load:function(r){return Promise.resolve(r)},track:n,page:n,screen:n,identify:n,alias:n,group:n}}const Ow=Object.freeze(Object.defineProperty({__proto__:null,applyDestinationMiddleware:Zs,sourceMiddlewarePlugin:Cw},Symbol.toStringTag,{value:"Module"}));function At(t,e){var n=e.methodName,r=e.integrationName,i=e.type,u=e.didError,o=u===void 0?!1:u;t.stats.increment("analytics_js.integration.invoke".concat(o?".error":""),1,["method:".concat(n),"integration_name:".concat(r),"type:".concat(i)])}var Tw=function(){function t(e,n){this.version="1.0.0",this.alternativeNames=[],this.loadPromise=js(),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=n,this.name=e,this.type=n.type,this.alternativeNames.push(n.name)}return t.prototype.addMiddleware=function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];this.type==="destination"&&(e=this.middleware).push.apply(e,n)},t.prototype.transform=function(e){return L(this,void 0,void 0,function(){var n;return N(this,function(r){switch(r.label){case 0:return[4,Zs(this.name,e.event,this.middleware)];case 1:return n=r.sent(),n===null&&e.cancel(new Pt({retry:!1,reason:"dropped by destination middleware"})),[2,new Qe(n)]}})})},t.prototype._createMethod=function(e){var n=this;return function(r){return L(n,void 0,void 0,function(){var i,u;return N(this,function(o){switch(o.label){case 0:return this.action[e]?(i=r,this.type!=="destination"?[3,2]:[4,this.transform(r)]):[2,r];case 1:i=o.sent(),o.label=2;case 2:return o.trys.push([2,5,,6]),[4,this.ready()];case 3:if(!o.sent())throw new Error("Something prevented the destination from getting ready");return At(r,{integrationName:this.action.name,methodName:e,type:"action"}),[4,this.action[e](i)];case 4:return o.sent(),[3,6];case 5:throw u=o.sent(),At(r,{integrationName:this.action.name,methodName:e,type:"action",didError:!0}),u;case 6:return[2,r]}})})}},t.prototype.isLoaded=function(){return this.action.isLoaded()},t.prototype.ready=function(){return L(this,void 0,void 0,function(){return N(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,this.loadPromise.promise];case 1:return e.sent(),[2,!0];case 2:return e.sent(),[2,!1];case 3:return[2]}})})},t.prototype.load=function(e,n){return L(this,void 0,void 0,function(){var r,i,u,o;return N(this,function(a){switch(a.label){case 0:if(this.loadPromise.isSettled())return[2,this.loadPromise.promise];a.label=1;case 1:return a.trys.push([1,3,,4]),At(e,{integrationName:this.action.name,methodName:"load",type:"action"}),r=this.action.load(e,n),u=(i=this.loadPromise).resolve,[4,r];case 2:return u.apply(i,[a.sent()]),[2,r];case 3:throw o=a.sent(),At(e,{integrationName:this.action.name,methodName:"load",type:"action",didError:!0}),this.loadPromise.reject(o),o;case 4:return[2]}})})},t.prototype.unload=function(e,n){var r,i;return(i=(r=this.action).unload)===null||i===void 0?void 0:i.call(r,e,n)},t}();function Dw(t){if(!Array.isArray(t))throw new Error("Not a valid list of plugins");var e=["load","isLoaded","name","version","type"];return t.forEach(function(n){e.forEach(function(r){var i;if(n[r]===void 0)throw new Error("Plugin: ".concat((i=n.name)!==null&&i!==void 0?i:"unknown"," missing required function ").concat(r))})}),!0}function Fw(t,e){var n=t[e.creationName],r=t[e.name];return t.All===!1&&!n&&!r||n===!1||r===!1}function Iw(t,e){return L(this,void 0,void 0,function(){var n,r,i,u,o,a;return N(this,function(s){switch(s.label){case 0:if(s.trys.push([0,9,,10]),n=new RegExp("https://cdn.segment.(com|build)"),r=Js(),!e)return[3,6];i=t.url.split("/"),u=i[i.length-2],o=t.url.replace(u,btoa(u).replace(/=/g,"")),s.label=1;case 1:return s.trys.push([1,3,,5]),[4,Un(o.replace(n,r))];case 2:return s.sent(),[3,5];case 3:return s.sent(),[4,Un(t.url.replace(n,r))];case 4:return s.sent(),[3,5];case 5:return[3,8];case 6:return[4,Un(t.url.replace(n,r))];case 7:s.sent(),s.label=8;case 8:return typeof window[t.libraryName]=="function"?[2,window[t.libraryName]]:[3,10];case 9:throw a=s.sent(),console.error("Failed to create PluginFactory",t),a;case 10:return[2]}})})}function Rw(t,e,n,r,i,u){var o,a,s;return L(this,void 0,void 0,function(){var c,l,d,f=this;return N(this,function(p){switch(p.label){case 0:return c=[],l=(a=(o=t.middlewareSettings)===null||o===void 0?void 0:o.routingRules)!==null&&a!==void 0?a:[],d=((s=t.remotePlugins)!==null&&s!==void 0?s:[]).map(function(h){return L(f,void 0,void 0,function(){var g,v,m,y,x,A,C;return N(this,function(_){switch(_.label){case 0:if(Fw(e,h))return[2];_.label=1;case 1:return _.trys.push([1,6,,7]),v=u==null?void 0:u.find(function(E){var b=E.pluginName;return b===h.name}),v?[3,3]:[4,Iw(h,r==null?void 0:r.obfuscate)];case 2:v=_.sent(),_.label=3;case 3:return g=v,g?(m=n[h.name],[4,g(I(I({},h.settings),m))]):[3,5];case 4:y=_.sent(),x=Array.isArray(y)?y:[y],Dw(x),A=l.filter(function(E){return E.destinationName===h.creationName}),x.forEach(function(E){var b=new Tw(h.creationName,E);A.length&&i&&b.addMiddleware(i),c.push(b)}),_.label=5;case 5:return[3,7];case 6:return C=_.sent(),console.warn("Failed to load Remote Plugin",C),[3,7];case 7:return[2]}})})}),[4,Promise.all(d)];
vendor: 5,841 bytes, line 16
16case 1:return p.sent(),[2,c.filter(Boolean)]}})})}var ko,pd,Pw=Vs(),hd=(ko=(pd=Pw).__SEGMENT_INSPECTOR__)!==null&&ko!==void 0?ko:pd.__SEGMENT_INSPECTOR__={},Lw=function(t){var e;return(e=hd.attach)===null||e===void 0?void 0:e.call(hd,t)};function Nw(t,e){return Bu("".concat(e,"/v1/projects/").concat(t,"/settings")).then(function(n){return n.ok?n.json():n.text().then(function(r){throw new Error(r)})}).catch(function(n){throw console.error(n.message),n})}function $w(t){return o0().NODE_ENV!=="test"&&Object.keys(t.integrations).length>1}function jw(t){var e,n,r;return o0().NODE_ENV!=="test"&&((r=(n=(e=t.middlewareSettings)===null||e===void 0?void 0:e.routingRules)===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0)>0}function Mw(t,e){P3(t,e),R3(t,e)}function Bw(t,e,n){return L(this,void 0,void 0,function(){return N(this,function(r){switch(r.label){case 0:return[4,Vw(t,e)];case 1:return r.sent(),L3(t,n),[2]}})})}var Uw=function(){var t,e,n=(t=window.location.hash)!==null&&t!==void 0?t:"",r=(e=window.location.search)!==null&&e!==void 0?e:"",i=r.length?r:n.replace(/(?=#).*(?=\?)/,"");return i},Vw=function(t,e){return L(void 0,void 0,void 0,function(){return N(this,function(n){switch(n.label){case 0:return e.includes("ajs_")?[4,t.queryString(e).catch(console.error)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})};function qw(t,e,n,r,i,u,o){var a,s,c;return i===void 0&&(i=[]),L(this,void 0,void 0,function(){var l,d,f,p,h,g,v,m,y,x,A,C,_,E,b,w=this;return N(this,function(S){switch(S.label){case 0:return Mw(n,o),l=i==null?void 0:i.filter(function(k){return typeof k=="object"}),d=i==null?void 0:i.filter(function(k){return typeof k=="function"&&typeof k.pluginName=="string"}),jw(e)?[4,Promise.resolve().then(()=>D8).then(function(k){return k.tsubMiddleware(e.middlewareSettings.routingRules)})]:[3,2];case 1:return p=S.sent(),[3,3];case 2:p=void 0,S.label=3;case 3:return f=p,$w(e)||u.length>0?[4,Promise.resolve().then(()=>U8).then(function(k){return k.ajsDestinations(t,e,n.integrations,r,f,u)})]:[3,5];case 4:return g=S.sent(),[3,6];case 5:g=[],S.label=6;case 6:return h=g,e.legacyVideoPluginsEnabled?[4,Promise.resolve().then(()=>q8).then(function(k){return k.loadLegacyVideoPlugins(n)})]:[3,8];case 7:S.sent(),S.label=8;case 8:return!((a=r.plan)===null||a===void 0)&&a.track?[4,Promise.resolve().then(()=>G8).then(function(k){var T;return k.schemaFilter((T=r.plan)===null||T===void 0?void 0:T.track,e)})]:[3,10];case 9:return m=S.sent(),[3,11];case 10:m=void 0,S.label=11;case 11:return v=m,y=a0(e,r),[4,Rw(e,n.integrations,y,r,f,d).catch(function(){return[]})];case 12:return x=S.sent(),A=ne(ne([kw],h,!0),x,!0),v&&A.push(v),C=((s=r.integrations)===null||s===void 0?void 0:s.All)===!1&&!r.integrations["Segment.io"]||r.integrations&&r.integrations["Segment.io"]===!1,C?[3,14]:(E=(_=A).push,[4,lw(n,y["Segment.io"],e.integrations)]);case 13:E.apply(_,[S.sent()]),S.label=14;case 14:return[4,n.register.apply(n,ne(ne([],A,!1),l,!1))];case 15:return b=S.sent(),[4,I3(n,o)];case 16:return S.sent(),Object.entries((c=e.enabledMiddleware)!==null&&c!==void 0?c:{}).some(function(k){var T=k[1];return T})?[4,Promise.resolve().then(()=>K8).then(function(k){var T=k.remoteMiddlewares;return L(w,void 0,void 0,function(){var O,R;return N(this,function(P){switch(P.label){case 0:return[4,T(b,e,r.obfuscate)];case 1:return O=P.sent(),R=O.map(function($){return n.addSourceMiddleware($)}),[2,Promise.all(R)]}})})})]:[3,18];case 17:S.sent(),S.label=18;case 18:return[4,F3(n,o)];case 19:return S.sent(),[2,b]}})})}function zw(t,e,n){var r,i,u,o,a,s,c,l,d;return e===void 0&&(e={}),L(this,void 0,void 0,function(){var f,p,h,g,v,m,y,x,A,C,_;return N(this,function(E){switch(E.label){case 0:return e.disable===!0?[2,[new fd,Qe.system()]]:(e.globalAnalyticsKey&&O3(e.globalAnalyticsKey),t.cdnURL&&gw(t.cdnURL),e.initialPageview&&n.add(new xa("page",[])),f=Uw(),p=(r=t.cdnURL)!==null&&r!==void 0?r:Js(),(i=t.cdnSettings)!==null&&i!==void 0?(g=i,[3,3]):[3,1]);case 1:return[4,Nw(t.writeKey,p)];case 2:g=E.sent(),E.label=3;case 3:return h=g,e.updateCDNSettings&&(h=e.updateCDNSettings(h)),typeof e.disable!="function"?[3,5]:[4,e.disable(h)];case 4:if(v=E.sent(),v)return[2,[new fd,Qe.system()]];E.label=5;case 5:return m=(o=(u=h.integrations["Segment.io"])===null||u===void 0?void 0:u.retryQueue)!==null&&o!==void 0?o:!0,e=I({retryQueue:m},e),y=new u0(I(I({},t),{cdnSettings:h,cdnURL:p}),e),Lw(y),x=(a=t.plugins)!==null&&a!==void 0?a:[],A=(s=t.classicIntegrations)!==null&&s!==void 0?s:[],C=(c=e.integrations)===null||c===void 0?void 0:c["Segment.io"],jh.initRemoteMetrics(I(I({},h.metrics),{host:(l=C==null?void 0:C.apiHost)!==null&&l!==void 0?l:(d=h.metrics)===null||d===void 0?void 0:d.host,protocol:C==null?void 0:C.protocol})),[4,qw(t.writeKey,h,y,e,x,A,n)];case 6:return _=E.sent(),y.initialized=!0,y.emit("initialize",t,e),[4,Bw(y,f,n)];case 7:return E.sent(),[2,[y,_]]}})})}var Hw=function(t){Oe(e,t);function e(){var n=this,r=js(),i=r.promise,u=r.resolve;return n=t.call(this,function(o){return i.then(function(a){var s=a[0],c=a[1];return zw(s,c,o)})})||this,n._resolveLoadStart=function(o,a){return u([o,a])},n}return e.prototype.load=function(n,r){return r===void 0&&(r={}),this._resolveLoadStart(n,r),this},e.load=function(n,r){return r===void 0&&(r={}),new e().load(n,r)},e.standalone=function(n,r){return e.load({writeKey:n},r).then(function(i){return i[0]})},e}($3);const W=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Q=globalThis,an="9.46.0";function Gu(){return Wu(Q),Q}function Wu(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||an,e[an]=e[an]||{}}function ui(t,e,n=Q){const r=n.__SENTRY__=n.__SENTRY__||{},i=r[an]=r[an]||{};return i[t]||(i[t]=e())}const Gw=["debug","info","warn","error","log","assert","trace"],Ww="Sentry Logger ",fu={};function dr(t){if(!("console"in Q))return t();
vendor: 21,015 bytes, lines 16-20
16const e=Q.console,n={},r=Object.keys(fu);r.forEach(i=>{const u=fu[i];n[i]=e[i],e[i]=u});try{return t()}finally{r.forEach(i=>{e[i]=n[i]})}}function Kw(){Qs().enabled=!0}function Jw(){Qs().enabled=!1}function l0(){return Qs().enabled}function Yw(...t){Xs("log",...t)}function Zw(...t){Xs("warn",...t)}function Xw(...t){Xs("error",...t)}function Xs(t,...e){W&&l0()&&dr(()=>{Q.console[t](`${Ww}[${t}]:`,...e)})}function Qs(){return W?ui("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const V={enable:Kw,disable:Jw,isEnabled:l0,log:Yw,warn:Zw,error:Xw},d0=50,pn="?",vd=/\(error: (.*)\)/,gd=/captureMessage|captureException/;function f0(...t){const e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,i=0)=>{const u=[],o=n.split(` 17`);for(let a=r;a<o.length;a++){const s=o[a];if(s.length>1024)continue;const c=vd.test(s)?s.replace(vd,"$1"):s;if(!c.match(/\S*Error: /)){for(const l of e){const d=l(c);if(d){u.push(d);break}}if(u.length>=d0+i)break}}return e6(u.slice(i))}}function Qw(t){return Array.isArray(t)?f0(...t):t}function e6(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(Ai(e).function||"")&&e.pop(),e.reverse(),gd.test(Ai(e).function||"")&&(e.pop(),gd.test(Ai(e).function||"")&&e.pop()),e.slice(0,d0).map(n=>Y(F({},n),{filename:n.filename||Ai(e).filename,function:n.function||pn}))}function Ai(t){return t[t.length-1]||{}}const Ao="<anonymous>";function Nt(t){try{return!t||typeof t!="function"?Ao:t.name||Ao}catch{return Ao}}function md(t){const e=t.exception;if(e){const n=[];try{return e.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const Wi={},yd={};function xn(t,e){Wi[t]=Wi[t]||[],Wi[t].push(e)}function Sn(t,e){if(!yd[t]){yd[t]=!0;try{e()}catch(n){W&&V.error(`Error while instrumenting ${t}`,n)}}}function qe(t,e){const n=t&&Wi[t];if(n)for(const r of n)try{r(e)}catch(i){W&&V.error(`Error while triggering instrumentation handler. 18Type: ${t} 19Name: ${Nt(r)} 20Error:`,i)}}let Co=null;function t6(t){const e="error";xn(e,t),Sn(e,n6)}function n6(){Co=Q.onerror,Q.onerror=function(t,e,n,r,i){return qe("error",{column:r,error:i,line:n,msg:t,url:e}),Co?Co.apply(this,arguments):!1},Q.onerror.__SENTRY_INSTRUMENTED__=!0}let Oo=null;function r6(t){const e="unhandledrejection";xn(e,t),Sn(e,i6)}function i6(){Oo=Q.onunhandledrejection,Q.onunhandledrejection=function(t){return qe("unhandledrejection",t),Oo?Oo.apply(this,arguments):!0},Q.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const p0=Object.prototype.toString;function ec(t){switch(p0.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return $t(t,Error)}}function fr(t,e){return p0.call(t)===`[object ${e}]`}function h0(t){return fr(t,"ErrorEvent")}function bd(t){return fr(t,"DOMError")}function u6(t){return fr(t,"DOMException")}function ht(t){return fr(t,"String")}function tc(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function nc(t){return t===null||tc(t)||typeof t!="object"&&typeof t!="function"}function Gr(t){return fr(t,"Object")}function Ku(t){return typeof Event<"u"&&$t(t,Event)}function o6(t){return typeof Element<"u"&&$t(t,Element)}function a6(t){return fr(t,"RegExp")}function Ju(t){return!!(t!=null&&t.then&&typeof t.then=="function")}function s6(t){return Gr(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function $t(t,e){try{return t instanceof e}catch{return!1}}function v0(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue))}function c6(t){return typeof Request<"u"&&$t(t,Request)}const rc=Q,l6=80;function g0(t,e={}){if(!t)return"<unknown>";try{let n=t;const r=5,i=[];let u=0,o=0;const a=" > ",s=a.length;let c;const l=Array.isArray(e)?e:e.keyAttrs,d=!Array.isArray(e)&&e.maxStringLength||l6;for(;n&&u++<r&&(c=d6(n,l),!(c==="html"||u>1&&o+i.length*s+c.length>=d));)i.push(c),o+=c.length,n=n.parentNode;return i.reverse().join(a)}catch{return"<unknown>"}}function d6(t,e){const n=t,r=[];if(!(n!=null&&n.tagName))return"";if(rc.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const i=e!=null&&e.length?e.filter(o=>n.getAttribute(o)).map(o=>[o,n.getAttribute(o)]):null;if(i!=null&&i.length)i.forEach(o=>{r.push(`[${o[0]}="${o[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const o=n.className;if(o&&ht(o)){const a=o.split(/\s+/);for(const s of a)r.push(`.${s}`)}}const u=["aria-label","type","name","title","alt"];for(const o of u){const a=n.getAttribute(o);a&&r.push(`[${o}="${a}"]`)}return r.join("")}function ic(){try{return rc.document.location.href}catch{return""}}function f6(t){if(!rc.HTMLElement)return null;let e=t;const n=5;for(let r=0;r<n;r++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}function pu(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function _d(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;r<t.length;r++){const i=t[r];try{v0(i)?n.push("[VueViewModel]"):n.push(String(i))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function p6(t,e,n=!1){return ht(t)?a6(e)?e.test(t):ht(e)?n?t===e:t.includes(e):!1:!1}function Yu(t,e=[],n=!1){return e.some(r=>p6(t,r,n))}function De(t,e,n){if(!(e in t))return;const r=t[e];if(typeof r!="function")return;const i=n(r);typeof i=="function"&&m0(i,r);try{t[e]=i}catch{W&&V.log(`Failed to replace method "${e}" in object`,t)}}function hn(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{W&&V.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function m0(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,hn(t,"__sentry_original__",e)}catch{}}function uc(t){return t.__sentry_original__}function y0(t){if(ec(t))return F({message:t.message,name:t.name,stack:t.stack},xd(t));if(Ku(t)){const e=F({type:t.type,target:wd(t.target),currentTarget:wd(t.currentTarget)},xd(t));return typeof CustomEvent<"u"&&$t(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function wd(t){try{return o6(t)?g0(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function xd(t){if(typeof t=="object"&&t!==null){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}else return{}}function h6(t,e=40){const n=Object.keys(y0(t));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=e)return pu(r,e);for(let i=n.length;i>0;i--){const u=n.slice(0,i).join(", ");if(!(u.length>e))return i===n.length?u:pu(u,e)}return""}function v6(){const t=Q;return t.crypto||t.msCrypto}function Pe(t=v6()){let e=()=>Math.random()*16;try{if(t!=null&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t!=null&&t.getRandomValues&&(e=()=>{const n=new Uint8Array(1);return t.getRandomValues(n),n[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,n=>(n^(e()&15)>>n/4).toString(16))}function b0(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)==null?void 0:n[0]}function Xt(t){const{message:e,event_id:n}=t;if(e)return e;const r=b0(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function Ea(t,e,n){const r=t.exception=t.exception||{},i=r.values=r.values||[],u=i[0]=i[0]||{};u.value||(u.value=e||""),u.type||(u.type="Error")}function er(t,e){const n=b0(t);if(!n)return;const r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism=F(F(F({},r),i),e),e&&"data"in e){const u=F(F({},i==null?void 0:i.data),e.data);n.mechanism.data=u}}function Sd(t){if(g6(t))return!0;try{hn(t,"__sentry_captured__",!0)}catch{}return!1}function g6(t){try{return t.__sentry_captured__}catch{}}const _0=1e3;function oi(){return Date.now()/_0}function m6(){const{performance:t}=Q;if(!(t!=null&&t.now)||!t.timeOrigin)return oi;const e=t.timeOrigin;return()=>(e+t.now())/_0}let To;function vt(){return(To??(To=m6()))()}function y6(t){const e=vt(),n={sid:Pe(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>_6(n)};return t&&tr(n,t),n}function tr(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||vt(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:Pe()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),typeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function b6(t,e){let n={};t.status==="ok"&&(n={status:"exited"}),tr(t,n)}function _6(t){return{sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}function ai(t,e,n=2){if(!e||typeof e!="object"||n<=0)return e;if(t&&Object.keys(e).length===0)return t;const r=F({},t);for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=ai(r[i],e[i],n-1));return r}function Ed(){return Pe()}function w0(){return Pe().substring(16)}const ka="_sentrySpan";function kd(t,e){e?hn(t,ka,e):delete t[ka]}function Ad(t){return t[ka]}const w6=100;class rt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Ed(),sampleRand:Math.random()}}clone(){const e=new rt;return e._breadcrumbs=[...this._breadcrumbs],e._tags=F({},this._tags),e._extra=F({},this._extra),e._contexts=F({},this._contexts),this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata=F({},this._sdkProcessingMetadata),e._propagationContext=F({},this._propagationContext),e._client=this._client,e._lastEventId=this._lastEventId,kd(e,Ad(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&tr(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags=F(F({},this._tags),e),this._notifyScopeListeners(),this}setTag(e,n){return this._tags=Y(F({},this._tags),{[e]:n}),this._notifyScopeListeners(),this}setExtras(e){return this._extra=F(F({},this._extra),e),this._notifyScopeListeners(),this}setExtra(e,n){return this._extra=Y(F({},this._extra),{[e]:n}),this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return n===null?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const n=typeof e=="function"?e(this):e,r=n instanceof rt?n.getScopeData():Gr(n)?e:void 0,{tags:i,extra:u,user:o,contexts:a,level:s,fingerprint:c=[],propagationContext:l}=r||{};return this._tags=F(F({},this._tags),i),this._extra=F(F({},this._extra),u),this._contexts=F(F({},this._contexts),a),o&&Object.keys(o).length&&(this._user=o),s&&(this._level=s),c.length&&(this._fingerprint=c),l&&(this._propagationContext=l),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,kd(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Ed(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,n){var r;const i=typeof n=="number"?n:w6;if(i<=0)return this;const u=Y(F({timestamp:oi()},e),{message:e.message?pu(e.message,2048):e.message});return this._breadcrumbs.push(u),this._breadcrumbs.length>i&&(this._breadcrumbs=this._breadcrumbs.slice(-i),(r=this._client)==null||r.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Ad(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=ai(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){const r=(n==null?void 0:n.event_id)||Pe();if(!this._client)return W&&V.warn("No client configured on scope - will not capture exception!"),r;const i=new Error("Sentry syntheticException");return this._client.captureException(e,Y(F({originalException:e,syntheticException:i},n),{event_id:r}),this),r}captureMessage(e,n,r){const i=(r==null?void 0:r.event_id)||Pe();if(!this._client)return W&&V.warn("No client configured on scope - will not capture message!"),i;const u=new Error(e);return this._client.captureMessage(e,n,Y(F({originalException:e,syntheticException:u},r),{event_id:i}),this),i}captureEvent(e,n){const r=(n==null?void 0:n.event_id)||Pe();return this._client?(this._client.captureEvent(e,Y(F({},n),{event_id:r}),this),r):(W&&V.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}function x6(){return ui("defaultCurrentScope",()=>new rt)}function S6(){return ui("defaultIsolationScope",()=>new rt)}class E6{constructor(e,n){let r;e?r=e:r=new rt;let i;n?i=n:i=new rt,this._stack=[{scope:r}],this._isolationScope=i}withScope(e){const n=this._pushScope();let r;try{r=e(n)}catch(i){throw this._popScope(),i}return Ju(r)?r.then(i=>(this._popScope(),i),i=>{throw this._popScope(),i}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function nr(){const t=Gu(),e=Wu(t);return e.stack=e.stack||new E6(x6(),S6())}function k6(t){return nr().withScope(t)}function A6(t,e){const n=nr();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function Cd(t){return nr().withScope(()=>t(nr().getIsolationScope()))}function C6(){return{withIsolationScope:Cd,withScope:k6,withSetScope:A6,withSetIsolationScope:(t,e)=>Cd(e),getCurrentScope:()=>nr().getScope(),getIsolationScope:()=>nr().getIsolationScope()}}function oc(t){const e=Wu(t);return e.acs?e.acs:C6()}function Mt(){const t=Gu();return oc(t).getCurrentScope()}function si(){const t=Gu();return oc(t).getIsolationScope()}function O6(){return ui("globalScope",()=>new rt)}function T6(...t){const e=Gu(),n=oc(e);if(t.length===2){const[r,i]=t;return r?n.withSetScope(r,i):n.withScope(i)}return n.withScope(t[0])}function be(){return Mt().getClient()}function D6(t){const e=t.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:i}=e,u={trace_id:n,span_id:i||w0()};return r&&(u.parent_span_id=r),u}const F6="sentry.source",I6="sentry.sample_rate",R6="sentry.previous_trace_sample_rate",P6="sentry.op",L6="sentry.origin",x0="sentry.profile_id",S0="sentry.exclusive_time",N6=0,$6=1,j6="_sentryScope",M6="_sentryIsolationScope";function E0(t){return{scope:t[j6],isolationScope:t[M6]}}const B6="sentry-",U6=/^sentry-/;function V6(t){const e=q6(t);if(!e)return;const n=Object.entries(e).reduce((r,[i,u])=>{if(i.match(U6)){const o=i.slice(B6.length);r[o]=u}return r},{});if(Object.keys(n).length>0)return n}function q6(t){if(!(!t||!ht(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((e,n)=>{const r=Od(n);return Object.entries(r).forEach(([i,u])=>{e[i]=u}),e},{}):Od(t)}function Od(t){return t.split(",").map(e=>e.split("=").map(n=>{try{return decodeURIComponent(n.trim())}catch{return}})).reduce((e,[n,r])=>(n&&r&&(e[n]=r),e),{})}function z6(t){if(typeof t=="boolean")return Number(t);const e=typeof t=="string"?parseFloat(t):t;if(!(typeof e!="number"||isNaN(e)||e<0||e>1))return e}const k0=1;let Td=!1;function H6(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:ac(t).parent_span_id,u=E0(t).scope,o=r?(u==null?void 0:u.getPropagationContext().propagationSpanId)||w0():e;return{parent_span_id:i,span_id:o,trace_id:n}}function G6(t){if(t&&t.length>0)return t.map(e=>{var n=e,{context:r}=n,i=r,{spanId:u,traceId:o,traceFlags:a}=i,s=O_(i,["spanId","traceId","traceFlags"]),{attributes:c}=n;return F({span_id:u,trace_id:o,sampled:a===k0,attributes:c},s)})}function Dd(t){return typeof t=="number"?Fd(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Fd(t.getTime()):vt()}function Fd(t){return t>9999999999?t/1e3:t}function ac(t){var e;if(K6(t))return t.getSpanJSON();const{spanId:n,traceId:r}=t.spanContext();if(W6(t)){const{attributes:i,startTime:u,name:o,endTime:a,status:s,links:c}=t,l="parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?(e=t.parentSpanContext)==null?void 0:e.spanId:void 0;return{span_id:n,trace_id:r,data:i,description:o,parent_span_id:l,start_timestamp:Dd(u),timestamp:Dd(a)||void 0,status:Y6(s),op:i[P6],origin:i[L6],links:G6(c)}}return{span_id:n,trace_id:r,start_timestamp:0,data:{}}}function W6(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function K6(t){return typeof t.getSpanJSON=="function"}function J6(t){const{traceFlags:e}=t.spanContext();return e===k0}function Y6(t){if(!(!t||t.code===N6))return t.code===$6?"ok":t.message||"unknown_error"}const Z6="_sentryRootSpan";function A0(t){return t[Z6]||t}function Id(){Td||(dr(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),Td=!0)}function X6(t){var e;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const n=t||((e=be())==null?void 0:e.getOptions());return!!n&&(n.tracesSampleRate!=null||!!n.tracesSampler)}const sc="production",Q6=/^o(\d+)\./,ex=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function tx(t){return t==="http"||t==="https"}function Zu(t,e=!1){const{host:n,path:r,pass:i,port:u,projectId:o,protocol:a,publicKey:s}=t;return`${a}://${s}${e&&i?`:${i}`:""}@${n}${u?`:${u}`:""}/${r&&`${r}/`}${o}`}function nx(t){const e=ex.exec(t);if(!e){dr(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[n,r,i="",u="",o="",a=""]=e.slice(1);let s="",c=a;const l=c.split("/");if(l.length>1&&(s=l.slice(0,-1).join("/"),c=l.pop()),c){const d=c.match(/^\d+/);d&&(c=d[0])}return C0({host:u,pass:i,path:s,projectId:c,port:o,protocol:n,publicKey:r})}function C0(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function rx(t){if(!W)return!0;const{port:e,projectId:n,protocol:r}=t;return["protocol","publicKey","host","projectId"].find(i=>t[i]?!1:(V.error(`Invalid Sentry Dsn: ${i} missing`),!0))?!1:n.match(/^\d+$/)?tx(r)?e&&isNaN(parseInt(e,10))?(V.error(`Invalid Sentry Dsn: Invalid port ${e}
20`),!1):!0:(V.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(V.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function ix(t){const e=t.match(Q6);return e==null?void 0:e[1]}function ux(t){const e=typeof t=="string"?nx(t):C0(t);if(!(!e||!rx(e)))return e}const ox="_frozenDsc";function O0(t,e){const n=e.getOptions(),{publicKey:r,host:i}=e.getDsn()||{};let u;n.orgId?u=String(n.orgId):i&&(u=ix(i));const o={environment:n.environment||sc,release:n.release,public_key:r,trace_id:t,org_id:u};return e.emit("createDsc",o),o}function ax(t,e){const n=e.getPropagationContext();return n.dsc||O0(n.traceId,t)}function sx(t){var e,n,r,i;const u=be();if(!u)return{};const o=A0(t),a=ac(o),s=a.data,c=o.spanContext().traceState,l=(n=(e=c==null?void 0:c.get("sentry.sample_rate"))!=null?e:s[I6])!=null?n:s[R6];function d(y){return(typeof l=="number"||typeof l=="string")&&(y.sample_rate=`${l}`),y}const f=o[ox];if(f)return d(f);const p=c==null?void 0:c.get("sentry.dsc"),h=p&&V6(p);if(h)return d(h);const g=O0(t.spanContext().traceId,u),v=s[F6],m=a.description;return v!=="url"&&m&&(g.transaction=m),X6()&&(g.sampled=String(J6(o)),g.sample_rand=(i=c==null?void 0:c.get("sentry.sample_rand"))!=null?i:(r=E0(o).scope)==null?void 0:r.getPropagationContext().sampleRand.toString()),d(g),u.emit("createDsc",g,o),g}function lt(t,e=100,n=1/0){try{return Aa("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function T0(t,e=3,n=100*1024){const r=lt(t,e);return fx(r)>n?T0(t,e-1,n):r}function Aa(t,e,n=1/0,r=1/0,i=px()){const[u,o]=i;if(e==null||["boolean","string"].includes(typeof e)||typeof e=="number"&&Number.isFinite(e))return e;const a=cx(t,e);if(!a.startsWith("[object "))return a;if(e.__sentry_skip_normalization__)return e;const s=typeof e.__sentry_override_normalization_depth__=="number"?e.__sentry_override_normalization_depth__:n;if(s===0)return a.replace("object ","");if(u(e))return"[Circular ~]";const c=e;if(c&&typeof c.toJSON=="function")try{const p=c.toJSON();return Aa("",p,s-1,r,i)}catch{}const l=Array.isArray(e)?[]:{};let d=0;const f=y0(e);for(const p in f){if(!Object.prototype.hasOwnProperty.call(f,p))continue;if(d>=r){l[p]="[MaxProperties ~]";break}const h=f[p];l[p]=Aa(p,h,s-1,r,i),d++}return o(e),l}function cx(t,e){try{if(t==="domain"&&e&&typeof e=="object"&&e._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&e===global)return"[Global]";if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(v0(e))return"[VueViewModel]";if(s6(e))return"[SyntheticEvent]";if(typeof e=="number"&&!Number.isFinite(e))return`[${e}]`;if(typeof e=="function")return`[Function: ${Nt(e)}]`;if(typeof e=="symbol")return`[${String(e)}]`;if(typeof e=="bigint")return`[BigInt: ${String(e)}]`;const n=lx(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function lx(t){const e=Object.getPrototypeOf(t);return e!=null&&e.constructor?e.constructor.name:"null prototype"}function dx(t){return~-encodeURI(t).split(/%..|./).length}function fx(t){return dx(JSON.stringify(t))}function px(){const t=new WeakSet;function e(r){return t.has(r)?!0:(t.add(r),!1)}function n(r){t.delete(r)}return[e,n]}function ci(t,e=[]){return[t,e]}function hx(t,e){const[n,r]=t;return[n,[...r,e]]}function Rd(t,e){const n=t[1];for(const r of n){const i=r[0].type;if(e(r,i))return!0}return!1}function Ca(t){const e=Wu(Q);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function vx(t){const[e,n]=t;let r=JSON.stringify(e);function i(u){typeof r=="string"?r=typeof u=="string"?r+u:[Ca(r),u]:r.push(typeof u=="string"?Ca(u):u)}for(const u of n){const[o,a]=u;if(i(` 21${JSON.stringify(o)} 22`),typeof a=="string"||a instanceof Uint8Array)i(a);else{let s;try{s=JSON.stringify(a)}catch{s=JSON.stringify(lt(a))}i(s)}}return typeof r=="string"?r:gx(r)}function gx(t){const e=t.reduce((i,u)=>i+u.length,0),n=new Uint8Array(e);let r=0;for(const i of t)n.set(i,r),r+=i.length;return n}function mx(t){const e=typeof t.data=="string"?Ca(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}const yx={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item"};function Pd(t){return yx[t]}function D0(t){if(!(t!=null&&t.sdk))return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function bx(t,e,n,r){var i;const u=(i=t.sdkProcessingMetadata)==null?void 0:i.dynamicSamplingContext;return F(F(F({event_id:t.event_id,sent_at:new Date().toISOString()},e&&{sdk:e}),!!n&&r&&{dsn:Zu(r)}),u&&{trace:u})}function _x(t,e){return e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]]),t}function wx(t,e,n,r){const i=D0(n),u=F(F({sent_at:new Date().toISOString()},i&&{sdk:i}),!!r&&e&&{dsn:Zu(e)}),o="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return ci(u,[o])}function xx(t,e,n,r){const i=D0(n),u=t.type&&t.type!=="replay_event"?t.type:"event";_x(t,n==null?void 0:n.sdk);const o=bx(t,i,r,e);return delete t.sdkProcessingMetadata,ci(o,[[{type:u},t]])}const Do=0,Ld=1,Nd=2;function vn(t){return new li(e=>{e(t)})}function hu(t){return new li((e,n)=>{n(t)})}let li=class Oa{constructor(e){this._state=Do,this._handlers=[],this._runExecutor(e)}then(e,n){return new Oa((r,i)=>{this._handlers.push([!1,u=>{if(!e)r(u);else try{r(e(u))}catch(o){i(o)}},u=>{if(!n)i(u);else try{r(n(u))}catch(o){i(o)}}]),this._executeHandlers()})}catch(e){return this.then(n=>n,e)}finally(e){return new Oa((n,r)=>{let i,u;return this.then(o=>{u=!1,i=o,e&&e()},o=>{u=!0,i=o,e&&e()}).then(()=>
vendor: 4,942 bytes, line 22
22{if(u){r(i);return}n(i)})})}_executeHandlers(){if(this._state===Do)return;const e=this._handlers.slice();this._handlers=[],e.forEach(n=>{n[0]||(this._state===Ld&&n[1](this._value),this._state===Nd&&n[2](this._value),n[0]=!0)})}_runExecutor(e){const n=(u,o)=>{if(this._state===Do){if(Ju(o)){o.then(r,i);return}this._state=u,this._value=o,this._executeHandlers()}},r=u=>{n(Ld,u)},i=u=>{n(Nd,u)};try{e(r,i)}catch(u){i(u)}}};function Ta(t,e,n,r=0){return new li((i,u)=>{const o=t[r];if(e===null||typeof o!="function")i(e);else{const a=o(F({},e),n);W&&o.id&&a===null&&V.log(`Event processor "${o.id}" dropped event`),Ju(a)?a.then(s=>Ta(t,s,n,r+1).then(i)).then(null,u):Ta(t,a,n,r+1).then(i).then(null,u)}})}function Sx(t,e){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:u}=e;Ex(t,e),r&&Cx(t,r),Ox(t,n),kx(t,i),Ax(t,u)}function $d(t,e){const{extra:n,tags:r,user:i,contexts:u,level:o,sdkProcessingMetadata:a,breadcrumbs:s,fingerprint:c,eventProcessors:l,attachments:d,propagationContext:f,transactionName:p,span:h}=e;Ci(t,"extra",n),Ci(t,"tags",r),Ci(t,"user",i),Ci(t,"contexts",u),t.sdkProcessingMetadata=ai(t.sdkProcessingMetadata,a,2),o&&(t.level=o),p&&(t.transactionName=p),h&&(t.span=h),s.length&&(t.breadcrumbs=[...t.breadcrumbs,...s]),c.length&&(t.fingerprint=[...t.fingerprint,...c]),l.length&&(t.eventProcessors=[...t.eventProcessors,...l]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext=F(F({},t.propagationContext),f)}function Ci(t,e,n){t[e]=ai(t[e],n,1)}function Ex(t,e){const{extra:n,tags:r,user:i,contexts:u,level:o,transactionName:a}=e;Object.keys(n).length&&(t.extra=F(F({},n),t.extra)),Object.keys(r).length&&(t.tags=F(F({},r),t.tags)),Object.keys(i).length&&(t.user=F(F({},i),t.user)),Object.keys(u).length&&(t.contexts=F(F({},u),t.contexts)),o&&(t.level=o),a&&t.type!=="transaction"&&(t.transaction=a)}function kx(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}function Ax(t,e){t.sdkProcessingMetadata=F(F({},t.sdkProcessingMetadata),e)}function Cx(t,e){t.contexts=F({trace:H6(e)},t.contexts),t.sdkProcessingMetadata=F({dynamicSamplingContext:sx(e)},t.sdkProcessingMetadata);const n=A0(e),r=ac(n).description;r&&!t.transaction&&t.type==="transaction"&&(t.transaction=r)}function Ox(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}let Oi,jd,Fo;function Tx(t){const e=Q._sentryDebugIds;if(!e)return{};const n=Object.keys(e);return Fo&&n.length===jd||(jd=n.length,Fo=n.reduce((r,i)=>{Oi||(Oi={});const u=Oi[i];if(u)r[u[0]]=u[1];else{const o=t(i);for(let a=o.length-1;a>=0;a--){const s=o[a],c=s==null?void 0:s.filename,l=e[i];if(c&&l){r[c]=l,Oi[i]=[c,l];break}}}return r},{})),Fo}function Dx(t,e,n,r,i,u){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=t,s=Y(F({},e),{event_id:e.event_id||n.event_id||Pe(),timestamp:e.timestamp||oi()}),c=n.integrations||t.integrations.map(g=>g.name);Fx(s,t),Px(s,c),i&&i.emit("applyFrameMetadata",e),e.type===void 0&&Ix(s,t.stackParser);const l=Nx(r,n.captureContext);n.mechanism&&er(s,n.mechanism);const d=i?i.getEventProcessors():[],f=O6().getScopeData();if(u){const g=u.getScopeData();$d(f,g)}if(l){const g=l.getScopeData();$d(f,g)}const p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),Sx(s,f);const h=[...d,...f.eventProcessors];return Ta(h,s,n).then(g=>(g&&Rx(g),typeof o=="number"&&o>0?Lx(g,o,a):g))}function Fx(t,e){const{environment:n,release:r,dist:i,maxValueLength:u=250}=e;t.environment=t.environment||n||sc,!t.release&&r&&(t.release=r),!t.dist&&i&&(t.dist=i);const o=t.request;o!=null&&o.url&&(o.url=pu(o.url,u))}function Ix(t,e){var n,r;const i=Tx(e);(r=(n=t.exception)==null?void 0:n.values)==null||r.forEach(u=>{var o,a;(a=(o=u.stacktrace)==null?void 0:o.frames)==null||a.forEach(s=>{s.filename&&(s.debug_id=i[s.filename])})})}function Rx(t){var e,n;const r={};if((n=(e=t.exception)==null?void 0:e.values)==null||n.forEach(u=>{var o,a;(a=(o=u.stacktrace)==null?void 0:o.frames)==null||a.forEach(s=>{s.debug_id&&(s.abs_path?r[s.abs_path]=s.debug_id:s.filename&&(r[s.filename]=s.debug_id),delete s.debug_id)})}),Object.keys(r).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const i=t.debug_meta.images;Object.entries(r).forEach(([u,o])=>{i.push({type:"sourcemap",code_file:u,debug_id:o})})}function Px(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function Lx(t,e,n){var r,i;if(!t)return null;const u=F(F(F(F(F({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(o=>F(F({},o),o.data&&{data:lt(o.data,e,n)}))}),t.user&&{user:lt(t.user,e,n)}),t.contexts&&{contexts:lt(t.contexts,e,n)}),t.extra&&{extra:lt(t.extra,e,n)});return(r=t.contexts)!=null&&r.trace&&u.contexts&&(u.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(u.contexts.trace.data=lt(t.contexts.trace.data,e,
22n))),t.spans&&(u.spans=t.spans.map(o=>F(F({},o),o.data&&{data:lt(o.data,e,n)}))),(i=t.contexts)!=null&&i.flags&&u.contexts&&(u.contexts.flags=lt(t.contexts.flags,3,n)),u}function Nx(t,e){if(!e)return t;const n=t?t.clone():new rt;return n.update(e),n}function $x(t){if(t)return jx(t)?{captureContext:t}:Bx(t)?{captureContext:t}:t}function jx(t){return t instanceof rt||typeof t=="function"}const Mx=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function Bx(t){return Object.keys(t).some(e=>Mx.includes(e))}function F0(t,e){return Mt().captureException(t,$x(e))}function I0(t,e){return Mt().captureEvent(t,e)}function Md(t){const e=si(),n=Mt(),{userAgent:r}=Q.navigator||{},i=y6(F(F({user:n.getUser()||e.getUser()},r&&{userAgent:r}),t)),u=e.getSession();return(u==null?void 0:u.status)==="ok"&&tr(u,{status:"exited"}),R0(),e.setSession(i),i}function R0(){const t=si(),e=Mt().getSession()||t.getSession();e&&b6(e),P0(),t.setSession()}function P0(){const t=si(),e=be(),n=t.getSession();n&&e&&e.captureSession(n)}function Bd(t=!1){if(t){R0();return}P0()}const Ux="7";function Vx(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function qx(t){return`${Vx(t)}${t.projectId}/envelope/`}function zx(t,e){const n={sentry_version:Ux};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}function Hx(t,e,n){return e||`${qx(t)}?${zx(t,n)}`}const Ud=[];function Gx(t){const e={};return t.forEach(n=>{const{name:r}=n,i=e[r];i&&!i.isDefaultInstance&&n.isDefaultInstance||(e[r]=n)}),Object.values(e)}function Wx(t){const e=t.defaultIntegrations||[],n=t.integrations;e.forEach(i=>{i.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...e,...n];else if(typeof n=="function"){const i=n(e);r=Array.isArray(i)?i:[i]}else r=e;return Gx(r)}function Kx(t,e){const n={};return e.forEach(r=>{r&&L0(t,r,n)}),n}function Vd(t,e){for(const n of e)n!=null&&n.afterAllSetup&&n.afterAllSetup(t)}function L0(t,e,n){if(n[e.name]){W&&V.log(`Integration skipped because it was already installed: ${e.name}`);return}if(n[e.name]=e,Ud.indexOf(e.name)===-1&&typeof e.setupOnce=="function"&&(e.setupOnce(),Ud.push(e.name)),e.setup&&typeof e.setup=="function"&&e.setup(t),typeof e.preprocessEvent=="function"){const r=e.preprocessEvent.bind(e);t.on("preprocessEvent",(i,u)=>r(i,u,t))}if(typeof e.processEvent=="function"){const r=e.processEvent.bind(e),i=Object.assign((u,o)=>r(u,o,t),{id:e.name});t.addEventProcessor(i)}W&&V.log(`Integration installed: ${e.name}`)}function Jx(t,e,n){const r=[{type:"client_report"},{timestamp:oi(),discarded_events:t}];return ci(e?{dsn:e}:{},[r])}function N0(t){const e=[];t.message&&e.push(t.message);try{const n=t.exception.values[t.exception.values.length-1];n!=null&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`))}catch{}return e}function Yx(t){var e,n,r;const{trace_id:i,parent_span_id:u,span_id:o,status:a,origin:s,data:c,op:l}=(n=(e=t.contexts)==null?void 0:e.trace)!=null?n:{};return{data:c??{},description:t.transaction,op:l,parent_span_id:u,span_id:o??"",start_timestamp:(r=t.start_timestamp)!=null?r:0,status:a,timestamp:t.timestamp,trace_id:i??"",origin:s,profile_id:c==null?void 0:c[x0],exclusive_time:c==null?void 0:c[S0],measurements:t.measurements,is_segment:!0}}function Zx(t){return{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,data:F(F(F({},t.data),t.profile_id&&{[x0]:t.profile_id}),t.exclusive_time&&{[S0]:t.exclusive_time})}},measurements:t.measurements}}const qd="Not capturing exception because it's already been captured.",zd="Discarded session because of missing or non-string release",$0=Symbol.for("SentryInternalError"),j0=Symbol.for("SentryDoNotSendEventError");function Ki(t){return{message:t,[$0]:!0}}function Io(t){return{message:t,[j0]:!0}}function Hd(t){return!!t&&typeof t=="object"&&$0 in t}function Gd(t){return!!t&&typeof t=="object"&&j0 in t}class Xx{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=ux(e.dsn):W&&V.warn("No DSN provided, client will not send events."),this._dsn){const n=Hx(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport(Y(F({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this)},e.transportOptions),{url:n}))}}captureException(e,n,r){const i=Pe();if(Sd(e))return W&&V.log(qd),i;const u=F({event_id:i},n);return this._process(this.eventFromException(e,u).then(o=>this._captureEvent(o,u,r))),u.event_id}captureMessage(e,n,r,i){const u=F({event_id:Pe()},r),o=tc(e)?e:String(e),a=nc(e)?this.eventFromMessage(o,n,u):this.eventFromException(e,u);return this._process(a.then(s=>this._captureEvent(s,u,i))),u.event_id}captureEvent(e,n,r){const i=Pe();if(n!=null&&n.originalException&&Sd(n.originalException))return W&&V.log(qd),i;const u=F({event_id:i},n),o=e.sdkProcessingMetadata||{},a=o.capturedSpanScope,s=o.capturedSpanIsolationScope;return this._process(this._captureEvent(e,u,a||r,s)),u.event_id}captureSession(e){this.sendSession(e),tr(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const n=this._transport;
vendor: 34,154 bytes, lines 22-30
22return n?(this.emit("flush"),this._isClientDoneProcessing(e).then(r=>n.flush(e).then(i=>r&&i))):vn(!0)}close(e){return this.flush(e).then(n=>(this.getOptions().enabled=!1,this.emit("close"),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const n=this._integrations[e.name];L0(this,e,this._integrations),n||Vd(this,[e])}sendEvent(e,n={}){this.emit("beforeSendEvent",e,n);let r=xx(e,this._dsn,this._options._metadata,this._options.tunnel);for(const u of n.attachments||[])r=hx(r,mx(u));const i=this.sendEnvelope(r);i&&i.then(u=>this.emit("afterSendEvent",e,u),null)}sendSession(e){const{release:n,environment:r=sc}=this._options;if("aggregates"in e){const u=e.attrs||{};if(!u.release&&!n){W&&V.warn(zd);return}u.release=u.release||n,u.environment=u.environment||r,e.attrs=u}else{if(!e.release&&!n){W&&V.warn(zd);return}e.release=e.release||n,e.environment=e.environment||r}this.emit("beforeSendSession",e);const i=wx(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(i)}recordDroppedEvent(e,n,r=1){if(this._options.sendClientReports){const i=`${e}:${n}`;W&&V.log(`Recording outcome: "${i}"${r>1?` (${r} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+r}}on(e,n){const r=this._hooks[e]=this._hooks[e]||[];return r.push(n),()=>{const i=r.indexOf(n);i>-1&&r.splice(i,1)}}emit(e,...n){const r=this._hooks[e];r&&r.forEach(i=>i(...n))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,n=>(W&&V.error("Error while sending envelope:",n),n)):(W&&V.error("Transport disabled"),vn({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=Kx(this,e),Vd(this,e)}_updateSessionFromEvent(e,n){var r;let i=n.level==="fatal",u=!1;const o=(r=n.exception)==null?void 0:r.values;if(o){u=!0;for(const s of o){const c=s.mechanism;if((c==null?void 0:c.handled)===!1){i=!0;break}}}const a=e.status==="ok";(a&&e.errors===0||a&&i)&&(tr(e,Y(F({},i&&{status:"crashed"}),{errors:e.errors||Number(u||i)})),this.captureSession(e))}_isClientDoneProcessing(e){return new li(n=>{let r=0;const i=1,u=setInterval(()=>{this._numProcessing==0?(clearInterval(u),n(!0)):(r+=i,e&&r>=e&&(clearInterval(u),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,n,r,i){const u=this.getOptions(),o=Object.keys(this._integrations);return!n.integrations&&o!=null&&o.length&&(n.integrations=o),this.emit("preprocessEvent",e,n),e.type||i.setLastEventId(e.event_id||n.event_id),Dx(u,e,n,r,this,i).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts=F({trace:D6(r)},a.contexts);const s=ax(this,r);return a.sdkProcessingMetadata=F({dynamicSamplingContext:s},a.sdkProcessingMetadata),a})}_captureEvent(e,n={},r=Mt(),i=si()){return W&&Da(e)&&V.log(`Captured error event \`${N0(e)[0]||"<unknown>"}\``),this._processEvent(e,n,r,i).then(u=>u.event_id,u=>{W&&(Gd(u)?V.log(u.message):Hd(u)?V.warn(u.message):V.warn(u))})}_processEvent(e,n,r,i){const u=this.getOptions(),{sampleRate:o}=u,a=M0(e),s=Da(e),c=e.type||"error",l=`before send for type \`${c}\``,d=typeof o>"u"?void 0:z6(o);if(s&&typeof d=="number"&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error"),hu(Io(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const f=c==="replay_event"?"replay":c;return this._prepareEvent(e,n,r,i).then(p=>{if(p===null)throw this.recordDroppedEvent("event_processor",f),Io("An event processor returned `null`, will not send event.");if(n.data&&n.data.__sentry__===!0)return p;const h=e4(this,u,p,n);return Qx(h,l)}).then(p=>{var h;if(p===null){if(this.recordDroppedEvent("before_send",f),a){const m=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",m)}throw Io(`${l} returned \`null\`, will not send event.`)}const g=r.getSession()||i.getSession();if(s&&g&&this._updateSessionFromEvent(g,p),a){const m=((h=p.sdkProcessingMetadata)==null?void 0:h.spanCountBeforeProcessing)||0,y=p.spans?p.spans.length:0,x=m-y;x>0&&this.recordDroppedEvent("before_send","span",x)}const v=p.transaction_info;if(a&&v&&p.transaction!==e.transaction){const m="custom";p.transaction_info=Y(F({},v),{source:m})}return this.sendEvent(p,n),p}).then(null,p=>{throw Gd(p)||Hd(p)?p:(this.captureException(p,{data:{__sentry__:!0},originalException:p}),Ki(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 23Reason: ${p}`))})}_process(e){this._numProcessing++,e.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([n,r])=>{const[i,u]=n.split(":");return{reason:i,category:u,quantity:r}})}_flushOutcomes(){W&&V.log("Flushing outcomes...");const e=this._clearOutcomes();if(e.length===0){W&&V.log("No outcomes to send");return}if(!this._dsn){W&&V.log("No dsn provided, will not send outcomes");return}W&&V.log("Sending outcomes:",e);const n=Jx(e,this._options.tunnel&&Zu(this._dsn));this.sendEnvelope(n)}}function Qx(t,e){const n=`${e} must return \`null\` or a valid event.`;if(Ju(t))return t.then(r=>{if(!Gr(r)&&r!==null)throw Ki(n);return r},r=>{throw Ki(`${e} rejected with ${r}`)});if(!Gr(t)&&t!==null)throw Ki(n);return t}function e4(t,e,n,r){const{beforeSend:i,beforeSendTransaction:u,beforeSendSpan:o}=e;let a=n;if(Da(a)&&i)return i(a,r);if(M0(a)){if(o){const s=o(Yx(a));if(s?a=ai(n,Zx(s)):Id(),a.spans){const c=[];for(const l of a.spans){const d=o(l);d?c.push(d):(Id(),c.push(l))}a.spans=c}}if(u){if(a.spans){const s=a.spans.length;a.sdkProcessingMetadata=Y(F({},n.sdkProcessingMetadata),{spanCountBeforeProcessing:s})}return u(a,r)}}return a}function Da(t){return t.type===void 0}function M0(t){return t.type==="transaction"}function t4(t){return[{type:"log",item_count:t.length,content_type:"application/vnd.sentry.items.log+json"},{items:t}]}function n4(t,e,n,r){const i={};return e!=null&&e.sdk&&(i.sdk={name:e.sdk.name,version:e.sdk.version}),n&&r&&(i.dsn=Zu(r)),ci(i,[t4(t)])}function Ro(t,e){var n;const r=(n=r4(t))!=null?n:[];if(r.length===0)return;const i=t.getOptions(),u=n4(r,i._metadata,i.tunnel,t.getDsn());B0().set(t,[]),t.emit("flushLogs"),t.sendEnvelope(u)}function r4(t){return B0().get(t)}function B0(){return ui("clientToLogBufferMap",()=>new WeakMap)}function i4(t,e){e.debug===!0&&(W?V.enable():dr(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Mt().update(e.initialScope);const n=new t(e);return u4(n),n.init(),n}function u4(t){Mt().setClient(t)}const U0=Symbol.for("SentryBufferFullError");function o4(t){const e=[];function n(){return t===void 0||e.length<t}function r(o){return e.splice(e.indexOf(o),1)[0]||Promise.resolve(void 0)}function i(o){if(!n())return hu(U0);const a=o();return e.indexOf(a)===-1&&e.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a}function u(o){return new li((a,s)=>{let c=e.length;if(!c)return a(!0);const l=setTimeout(()=>{o&&o>0&&a(!1)},o);e.forEach(d=>{vn(d).then(()=>{--c||(clearTimeout(l),a(!0))},s)})})}return{$:e,add:i,drain:u}}const a4=60*1e3;function s4(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${t}`);return isNaN(r)?a4:r-e}function c4(t,e){return t[e]||t.all||0}function l4(t,e,n=Date.now()){return c4(t,e)>n}function d4(t,{statusCode:e,headers:n},r=Date.now()){const i=F({},t),u=n==null?void 0:n["x-sentry-rate-limits"],o=n==null?void 0:n["retry-after"];if(u)for(const a of u.trim().split(",")){const[s,c,,,l]=a.split(":",5),d=parseInt(s,10),f=(isNaN(d)?60:d)*1e3;if(!c)i.all=r+f;else for(const p of c.split(";"))p==="metric_bucket"?(!l||l.split(";").includes("custom"))&&(i[p]=r+f):i[p]=r+f}else o?i.all=r+s4(o,r):e===429&&(i.all=r+60*1e3);return i}const f4=64;function p4(t,e,n=o4(t.bufferSize||f4)){let r={};const i=o=>n.drain(o);function u(o){const a=[];if(Rd(o,(d,f)=>{const p=Pd(f);l4(r,p)?t.recordDroppedEvent("ratelimit_backoff",p):a.push(d)}),a.length===0)return vn({});const s=ci(o[0],a),c=d=>{Rd(s,(f,p)=>{t.recordDroppedEvent(d,Pd(p))})},l=()=>e({body:vx(s)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&W&&V.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=d4(r,d),d),d=>{throw c("network_error"),W&&V.error("Encountered error running transport request:",d),d});return n.add(l).then(d=>d,d=>{if(d===U0)return W&&V.error("Skipped sending event because buffer is full."),c("queue_overflow"),vn({});throw d})}return{send:u,flush:i}}function h4(t){var e;((e=t.user)==null?void 0:e.ip_address)===void 0&&(t.user=Y(F({},t.user),{ip_address:"{{auto}}"}))}function v4(t){var e;"aggregates"in t?((e=t.attrs)==null?void 0:e.ip_address)===void 0&&(t.attrs=Y(F({},t.attrs),{ip_address:"{{auto}}"})):t.ipAddress===void 0&&(t.ipAddress="{{auto}}")}function g4(t,e,n=[e],r="npm"){const i=t._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${e}`,packages:n.map(u=>({name:`${r}:@sentry/${u}`,version:an})),version:an}),t._metadata=i}const m4=100;function gn(t,e){const n=be(),r=si();if(!n)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:u=m4}=n.getOptions();if(u<=0)return;const o=oi(),a=F({timestamp:o},t),s=i?dr(()=>i(a,e)):a;s!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",s,e),r.addBreadcrumb(s,u))}let Wd;const y4="FunctionToString",Kd=new WeakMap,b4=()=>({name:y4,setupOnce(){Wd=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=uc(this),n=Kd.has(be())&&e!==void 0?e:this;return Wd.apply(n,t)}}catch{}},setup(t){Kd.set(t,!0)}}),_4=b4,w4=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],x4="EventFilters",S4=(t={})=>{let e;return{name:x4,setup(n){const r=n.getOptions();e=Jd(t,r)},processEvent(n,r,i){if(!e){const u=i.getOptions();e=Jd(t,u)}return k4(n,e)?null:n}}},E4=(t={})=>Y(F({},S4(t)),{name:"InboundFilters"});function Jd(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:w4],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]]}}function k4(t,e){if(t.type){if(t.type==="transaction"&&C4(t,e.ignoreTransactions))return W&&V.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 24Event: ${Xt(t)}`),!0}else{if(A4(t,e.ignoreErrors))return W&&V.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 25Event: ${Xt(t)}`),!0;if(F4(t))return W&&V.warn(`Event dropped due to not having an error message, error type or stacktrace. 26Event: ${Xt(t)}`),!0;if(O4(t,e.denyUrls))return W&&V.warn(`Event dropped due to being matched by \`denyUrls\` option. 27Event: ${Xt(t)}. 28Url: ${vu(t)}`),!0;if(!T4(t,e.allowUrls))return W&&V.warn(`Event dropped due to not being matched by \`allowUrls\` option. 29Event: ${Xt(t)}. 30Url: ${vu(t)}`),!0}return!1}function A4(t,e){return e!=null&&e.length?N0(t).some(n=>Yu(n,e)):!1}function C4(t,e){if(!(e!=null&&e.length))return!1;const n=t.transaction;return n?Yu(n,e):!1}function O4(t,e){if(!(e!=null&&e.length))return!1;const n=vu(t);return n?Yu(n,e):!1}function T4(t,e){if(!(e!=null&&e.length))return!0;const n=vu(t);return n?Yu(n,e):!0}function D4(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function vu(t){var e,n,r;try{const i=[...(n=(e=t.exception)==null?void 0:e.values)!=null?n:[]].reverse().find(o=>{var a,s,c;return((a=o.mechanism)==null?void 0:a.parent_id)===void 0&&((c=(s=o.stacktrace)==null?void 0:s.frames)==null?void 0:c.length)}),u=(r=i==null?void 0:i.stacktrace)==null?void 0:r.frames;return u?D4(u):null}catch{return W&&V.error(`Cannot extract url for event ${Xt(t)}`),null}}function F4(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)!=null&&n.length?!t.message&&!t.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value):!1}function I4(t,e,n,r,i,u){var o;if(!((o=i.exception)!=null&&o.values)||!u||!$t(u.originalException,Error))return;const a=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;a&&(i.exception.values=Fa(t,e,r,u.originalException,n,i.exception.values,a,0))}function Fa(t,e,n,r,i,u,o,a){if(u.length>=n+1)return u;let s=[...u];if($t(r[i],Error)){Yd(o,a);const c=t(e,r[i]),l=s.length;Zd(c,i,l,a),s=Fa(t,e,n,r[i],i,[c,...s],c,l)}return Array.isArray(r.errors)&&r.errors.forEach((c,l)=>{if($t(c,Error)){Yd(o,a);const d=t(e,c),f=s.length;Zd(d,`errors[${l}]`,f,a),s=Fa(t,e,n,c,i,[d,...s],d,f)}}),s}function Yd(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=Y(F(F({},t.mechanism),t.type==="AggregateError"&&{is_exception_group:!0}),{exception_id:e})}function Zd(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism=Y(F({},t.mechanism),{type:"chained",source:e,exception_id:n,parent_id:r})}function R4(t){const e="console";xn(e,t),Sn(e,P4)}function P4(){"console"in Q&&Gw.forEach(function(t){t in Q.console&&De(Q.console,t,function(e){return fu[t]=e,function(...n){qe("console",{args:n,level:t});const r=fu[t];r==null||r.apply(Q.console,n)}})})}function L4(t){return t==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}const N4="Dedupe",$4=()=>{let t;return{name:N4,processEvent(e){if(e.type)return e;try{if(M4(e,t))return W&&V.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}},j4=$4;function M4(t,e){return e?!!(B4(t,e)||U4(t,e)):!1}function B4(t,e){const n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!q0(t,e)||!V0(t,e))}function U4(t,e){const n=Xd(e),r=Xd(t);return!(!n||!r||n.type!==r.type||n.value!==r.value||!q0(t,e)||!V0(t,e))}function V0(t,e){let n=md(t),r=md(e);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i<r.length;i++){const u=r[i],o=n[i];if(u.filename!==o.filename||u.lineno!==o.lineno||u.colno!==o.colno||u.function!==o.function)return!1}return!0}function q0(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function Xd(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)==null?void 0:n[0]}function Po(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}function z0(t){if(t!==void 0)return t>=400&&t<500?"warning":t>=500?"error":void 0}const Wr=Q;function V4(){return"history"in Wr&&!!Wr.history}function q4(){if(!("fetch"in Wr))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Ia(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function z4(){var t;if(typeof EdgeRuntime=="string")return!0;if(!q4())return!1;if(Ia(Wr.fetch))return!0;let e=!1;const n=Wr.document;if(n&&typeof n.createElement=="function")try{const r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),(t=r.contentWindow)!=null&&t.fetch&&(e=Ia(r.contentWindow.fetch)),n.head.removeChild(r)}catch(r){W&&V.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function H4(t,e){const n="fetch";xn(n,t),Sn(n,()=>G4(void 0,e))}function G4(t,e=!1){e&&!z4()||De(Q,"fetch",function(n){return function(...r){const i=new Error,{method:u,url:o}=W4(r),a={args:r,fetchData:{method:u,url:o},startTimestamp:vt()*1e3,virtualError:i,headers:K4(r)};return qe("fetch",F({},a)),n.apply(Q,r).then(s=>X(null,null,function*(){return qe("fetch",Y(F({},a),{endTimestamp:vt()*1e3,response:s})),s}),s=>{if(qe("fetch",Y(F({},a),{endTimestamp:vt()*1e3,error:s})),ec(s)&&s.stack===void 0&&(s.stack=i.stack,hn(s,"framesToPop",1)),s instanceof TypeError&&(s.message==="Failed to fetch"||s.message==="Load failed"||s.message==="NetworkError when attempting to fetch resource."))try{const c=new URL(a.fetchData.url);s.message=`${s.message} (${c.host})`}catch{}throw s})}})}function Ra(t,e){return!!t&&typeof t=="object"&&!!t[e]}function Qd(t){return typeof t=="string"?t:t?Ra(t,"url")?t.url:t.toString?t.toString():"":""}function W4(t){if(t.length===0)return{method:"GET",url:""};if(t.length===2){const[n,r]=t;return{url:Qd(n),method:Ra(r,"method")?String(r.method).toUpperCase():"GET"}}const e=t[0];return{url:Qd(e),method:Ra(e,"method")?String(e.method).toUpperCase():"GET"}}function K4(t){const[e,n]=t;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(c6(e))return new Headers(e.headers)}catch{}}function J4(){return"npm"}const ie=Q;let Pa=0;function H0(){return Pa>0}function Y4(){Pa++,setTimeout(()=>{Pa--})}function rr(t,e={}){function n(i){return typeof i=="function"}if(!n(t))return t;try{const i=t.__sentry_wrapped__;if(i)return typeof i=="function"?i:t;if(uc(t))return t}catch{return t}const r=function(...i){try{const u=i.map(o=>rr(o,e));return t.apply(this,u)}catch(u){throw Y4(),T6(o=>{o.addEventProcessor(a=>(e.mechanism&&(Ea(a,void 0),er(a,e.mechanism)),a.extra=Y(F({},a.extra),{arguments:i}),a)),F0(u)}),u}};try{for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}catch{}m0(r,t),hn(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return t.name}})}catch{}return r}function Z4(){const t=ic(),{referrer:e}=ie.document||{},{userAgent:n}=ie.navigator||{},r=F(F({},e&&{Referer:e}),n&&{"User-Agent":n});return{url:t,headers:r}}function cc(t,e){const n=lc(t,e),r={type:nS(e),value:rS(e)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function X4(t,e,n,r){const i=be(),u=i==null?void 0:i.getOptions().normalizeDepth,o=sS(e),a={__serialized__:T0(e,u)};if(o)return{exception:{values:[cc(t,o)]},extra:a};const s={exception:{values:[{type:Ku(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:oS(e,{isUnhandledRejection:r})}]},extra:a};if(n){const c=lc(t,n);c.length&&(s.exception.values[0].stacktrace={frames:c})}return s}function Lo(t,e){return{exception:{values:[cc(t,e)]}}}function lc(t,e){const n=e.stacktrace||e.stack||"",r=eS(e),i=tS(e);try{return t(n,r,i)}catch{}return[]}const Q4=/Minified React error #\d+;/i;function eS(t){return t&&Q4.test(t.message)?1:0}function tS(t){return typeof t.framesToPop=="number"?t.framesToPop:0}function G0(t){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?t instanceof WebAssembly.Exception:!1}function nS(t){const e=t==null?void 0:t.name;return!e&&G0(t)?t.message&&Array.isArray(t.message)&&t.message.length==2?t.message[0]:"WebAssembly.Exception":e}function rS(t){const e=t==null?void 0:t.message;return G0(t)?Array.isArray(t.message)&&t.message.length==2?t.message[1]:"wasm exception":e?e.error&&typeof e.error.message=="string"?e.error.message:e:"No error message"}function iS(t,e,n,r){const i=(n==null?void 0:n.syntheticException)||void 0,u=dc(t,e,i,r);return er(u),u.level="error",n!=null&&n.event_id&&(u.event_id=n.event_id),vn(u)}function uS(t,e,n="info",r,i){const u=(r==null?void 0:r.syntheticException)||void 0,o=La(t,e,u,i);return o.level=n,r!=null&&r.event_id&&(o.event_id=r.event_id),vn(o)}function dc(t,e,n,r,i){let u;if(h0(e)&&e.error)return Lo(t,e.error);if(bd(e)||u6(e)){const o=e;if("stack"in e)u=Lo(t,e);else{const a=o.name||(bd(o)?"DOMError":"DOMException"),s=o.message?`${a}: ${o.message}`:a;u=La(t,s,n,r),Ea(u,s)}return"code"in o&&(u.tags=Y(F({},u.tags),{"DOMException.code":`${o.code}`})),u}return ec(e)?Lo(t,e):Gr(e)||Ku(e)?(u=X4(t,e,n,i),er(u,{synthetic:!0}),u):(u=La(t,e,n,r),Ea(u,`${e}`),er(u,{synthetic:!0}),u)}function La(t,e,n,r){const i={};if(r&&n){const u=lc(t,n);u.length&&(i.exception={values:[{value:e,stacktrace:{frames:u}}]}),er(i,{synthetic:!0})}if(tc(e)){const{__sentry_template_string__:u,__sentry_template_values__:o}=e;return i.logentry={message:u,params:o},i}return i.message=e,i}function oS(t,{isUnhandledRejection:e}){const n=h6(t),r=e?"promise rejection":"exception";return h0(t)?`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``:Ku(t)?`Event \`${aS(t)}\` (type=${t.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function aS(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function sS(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];if(n instanceof Error)return n}}const cS=5e3;class lS extends Xx{constructor(e){const n=dS(e),r=ie.SENTRY_SDK_SOURCE||J4();g4(n,"browser",["browser"],r),super(n);const{sendDefaultPii:i,sendClientReports:u,enableLogs:o,_experiments:a}=this._options,s=o??(a==null?void 0:a.enableLogs);ie.document&&(u||s)&&ie.document.addEventListener("visibilitychange",()=>{ie.document.visibilityState==="hidden"&&(u&&this._flushOutcomes(),s&&Ro(this))}),s&&(this.on("flush",()=>{Ro(this)}),this.on("afterCaptureLog",()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout(()=>{Ro(this)},cS)})),i&&(this.on("postprocessEvent",h4),this.on("beforeSendSession",v4))}eventFromException(e,n){return iS(this._options.stackParser,e,n,this._options.attachStacktrace)}eventFromMessage(e,n="info",r){return uS(this._options.stackParser,e,n,r,this._options.attachStacktrace)}_prepareEvent(e,n,r,i){return e.platform=e.platform||"javascript",super._prepareEvent(e,n,r,i)}}function dS(t){var e;return F({release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:(e=ie.SENTRY_RELEASE)==null?void 0:e.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0},t)}const fS=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,_e=Q,pS=1e3;let ef,Na,$a;function hS(t){xn("dom",t),Sn("dom",vS)}function vS(){if(!_e.document)return;const t=qe.bind(null,"dom"),e=tf(t,!0);_e.document.addEventListener("click",e,!1),_e.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(n=>{var r,i;const u=(r=_e[n])==null?void 0:r.prototype;(i=u==null?void 0:u.hasOwnProperty)!=null&&i.call(u,"addEventListener")&&(De(u,"addEventListener",function(o){return function(a,s,c){if(a==="click"||a=="keypress")try{const l=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},d=l[a]=l[a]||{refCount:0};if(!d.handler){const f=tf(t);d.handler=f,o.call(this,a,f,c)}d.refCount++}catch{}return o.call(this,a,s,c)}}),De(u,"removeEventListener",function(o){return function(a,s,c){if(a==="click"||a=="keypress")try{const l=this.__sentry_instrumentation_handlers__||{},d=l[a];d&&(d.refCount--,d.refCount<=0&&(o.call(this,a,d.handler,c),d.handler=void 0,delete l[a]),Object.keys(l).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return o.call(this,a,s,c)}}))})}function gS(t){if(t.type!==Na)return!1;try{if(!t.target||t.target._sentryId!==$a)return!1}catch{}return!0}function mS(t,e){return t!=="keypress"?!1:e!=null&&e.tagName?!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable):!0}function tf(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=yS(n);if(mS(n.type,r))return;hn(n,"_sentryCaptured",!0),r&&!r._sentryId&&hn(r,"_sentryId",Pe());const i=n.type==="keypress"?"input":n.type;gS(n)||(t({event:n,name:i,global:e}),Na=n.type,$a=r?r._sentryId:void 0),clearTimeout(ef),ef=_e.setTimeout(()=>{$a=void 0,Na=void 0},pS)}}function yS(t){try{return t.target}catch{return null}}let Ti;function W0(t){const e="history";xn(e,t),Sn(e,bS)}function bS(){if(_e.addEventListener("popstate",()=>{const e=_e.location.href,n=Ti;Ti=e,n!==e&&qe("history",{from:n,to:e})}),!V4())return;function t(e){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const i=Ti,u=_S(String(r));if(Ti=u,i===u)return e.apply(this,n);qe("history",{from:i,to:u})}return e.apply(this,n)}}De(_e.history,"pushState",t),De(_e.history,"replaceState",t)}function _S(t){try{return new URL(t,_e.location.origin).toString()}catch{return t}}const Ji={};function wS(t){const e=Ji[t];if(e)return e;let n=_e[t];if(Ia(n))return Ji[t]=n.bind(_e);const r=_e.document;if(r&&typeof r.createElement=="function")try{const i=r.createElement("iframe");i.hidden=!0,r.head.appendChild(i);const u=i.contentWindow;u!=null&&u[t]&&(n=u[t]),r.head.removeChild(i)}catch(i){fS&&V.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,i)}return n&&(Ji[t]=n.bind(_e))}function nf(t){Ji[t]=void 0}const Fr="__sentry_xhr_v3__";function xS(t){xn("xhr",t),Sn("xhr",SS)}function SS(){if(!_e.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(e,n,r){const i=new Error,u=vt()*1e3,o=ht(r[0])?r[0].toUpperCase():void 0,a=ES(r[1]);if(!o||!a)return e.apply(n,r);n[Fr]={method:o,url:a,request_headers:{}},o==="POST"&&a.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const s=()=>{const c=n[Fr];if(c&&n.readyState===4){try{c.status_code=n.status}catch{}const l={endTimestamp:vt()*1e3,startTimestamp:u,xhr:n,virtualError:i};qe("xhr",l)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(c,l,d){return s(),c.apply(l,d)}}):n.addEventListener("readystatechange",s),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(c,l,d){const[f,p]=d,h=l[Fr];return h&&ht(f)&&ht(p)&&(h.request_headers[f.toLowerCase()]=p),c.apply(l,d)}}),e.apply(n,r)}}),t.send=new Proxy(t.send,{apply(e,n,r){const i=n[Fr];if(!i)return e.apply(n,r);r[0]!==void 0&&(i.body=r[0]);const u={startTimestamp:vt()*1e3,xhr:n};return qe("xhr",u),e.apply(n,r)}})}function ES(t){if(ht(t))return t;try{return t.toString()}catch{}}function kS(t,e=wS("fetch")){let n=0,r=0;function i(u){const o=u.body.length;n+=o,r++;const a=F({body:u.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:n<=6e4&&r<15},t.fetchOptions);if(!e)return nf("fetch"),hu("No fetch implementation available");try{return e(t.url,a).then(s=>(n-=o,r--,{statusCode:s.status,headers:{"x-sentry-rate-limits":s.headers.get("X-Sentry-Rate-Limits"),"retry-after":s.headers.get("Retry-After")}}))}catch(s){return nf("fetch"),n-=o,r--,hu(s)}}return p4(t,i)}const AS=30,CS=50;function ja(t,e,n,r){const i={filename:t,function:e==="<anonymous>"?pn:e,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const OS=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,TS=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,DS=/\((\S*)(?::(\d+))(?::(\d+))\)/,FS=t=>{const e=OS.exec(t);if(e){const[,r,i,u]=e;return ja(r,pn,+i,+u)}const n=TS.exec(t);if(n){if(n[2]&&n[2].indexOf("eval")===0){const u=DS.exec(n[2]);u&&(n[2]=u[1],n[3]=u[2],n[4]=u[3])}const[r,i]=K0(n[1]||pn,n[2]);return ja(i,r,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},IS=[AS,FS],RS=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,PS=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,LS=t=>{const e=RS.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const i=PS.exec(e[3]);i&&(e[1]=e[1]||"eval",e[3]=i[1],e[4]=i[2],e[5]="")}let n=e[3],r=e[1]||pn;return[r,n]=K0(r,n),ja(n,r,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},NS=[CS,LS],$S=[IS,NS],jS=f0(...$S),K0=(t,e)=>{const n=t.indexOf("safari-extension")!==-1,r=t.indexOf("safari-web-extension")!==-1;return n||r?[t.indexOf("@")!==-1?t.split("@")[0]:pn,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},Xu=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Di=1024,MS="Breadcrumbs",BS=(t={})=>{const e=F({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t);return{name:MS,setup(n){e.console&&R4(zS(n)),e.dom&&hS(qS(n,e.dom)),e.xhr&&xS(HS(n)),e.fetch&&H4(GS(n)),e.history&&W0(WS(n)),e.sentry&&n.on("beforeSendEvent",VS(n))}}},US=BS;function VS(t){return function(e){be()===t&&gn({category:`sentry.${e.type==="transaction"?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:Xt(e)},{event:e})}}function qS(t,e){return function(n){if(be()!==t)return;let r,i,u=typeof e=="object"?e.serializeAttribute:void 0,o=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;o&&o>Di&&(Xu&&V.warn(`\`dom.maxStringLength\` cannot exceed ${Di}, but a value of ${o} was configured. Sentry will use ${Di} instead.`),o=Di),typeof u=="string"&&(u=[u]);try{const s=n.event,c=KS(s)?s.target:s;r=g0(c,{keyAttrs:u,maxStringLength:o}),i=f6(c)}catch{r="<unknown>"}if(r.length===0)return;const a={category:`ui.${n.name}`,message:r};i&&(a.data={"ui.component_name":i}),gn(a,{event:n.event,name:n.name,global:n.global})}}function zS(t){return function(e){if(be()!==t)return;const n={category:"console",data:{arguments:e.args,logger:"console"},level:L4(e.level),message:_d(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)n.message=`Assertion failed: ${_d(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1);else return;gn(n,{input:e.args,level:e.level})}}function HS(t){return function(e){if(be()!==t)return;const{startTimestamp:n,endTimestamp:r}=e,i=e.xhr[Fr];if(!n||!r||!i)return;const{method:u,url:o,status_code:a,body:s}=i,c={method:u,url:o,status_code:a},l={xhr:e.xhr,input:s,startTimestamp:n,endTimestamp:r},d={category:"xhr",data:c,type:"http",level:z0(a)};t.emit("beforeOutgoingRequestBreadcrumb",d,l),gn(d,l)}}function GS(t){return function(e){if(be()!==t)return;const{startTimestamp:n,endTimestamp:r}=e;if(r&&!(e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"))if(e.fetchData.method,e.fetchData.url,e.error){const i=e.fetchData,u={data:e.error,input:e.args,startTimestamp:n,endTimestamp:r},o={category:"fetch",data:i,level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",o,u),gn(o,u)}else{const i=e.response,u=Y(F({},e.fetchData),{status_code:i==null?void 0:i.status});e.fetchData.request_body_size,e.fetchData.response_body_size,i==null||i.status;const o={input:e.args,response:i,startTimestamp:n,endTimestamp:r},a={category:"fetch",data:u,type:"http",level:z0(u.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",a,o),gn(a,o)}}}function WS(t){return function(e){if(be()!==t)return;let n=e.from,r=e.to;const i=Po(ie.location.href);let u=n?Po(n):void 0;const o=Po(r);u!=null&&u.path||(u=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===u.protocol&&i.host===u.host&&(n=u.relative),gn({category:"navigation",data:{from:n,to:r}})}}function KS(t){return!!t&&!!t.target}const JS=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],YS="BrowserApiErrors",ZS=(t={})=>{const e=F({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1},t);return{name:YS,setupOnce(){e.setTimeout&&De(ie,"setTimeout",rf),e.setInterval&&De(ie,"setInterval",rf),e.requestAnimationFrame&&De(ie,"requestAnimationFrame",QS),e.XMLHttpRequest&&"XMLHttpRequest"in ie&&De(XMLHttpRequest.prototype,"send",eE);const n=e.eventTarget;n&&(Array.isArray(n)?n:JS).forEach(r=>tE(r,e))}}},XS=ZS;function rf(t){return function(...e){const n=e[0];return e[0]=rr(n,{mechanism:{data:{function:Nt(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function QS(t){return function(e){return t.apply(this,[rr(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Nt(t)},handled:!1,type:"instrument"}})])}}function eE(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(r=>{r in n&&typeof n[r]=="function"&&De(n,r,function(i){const u={mechanism:{data:{function:r,handler:Nt(i)},handled:!1,type:"instrument"}},o=uc(i);return o&&(u.mechanism.data.handler=Nt(o)),rr(i,u)})}),t.apply(this,e)}}function tE(t,e){var n,r;const i=(n=ie[t])==null?void 0:n.prototype;(r=i==null?void 0:i.hasOwnProperty)!=null&&r.call(i,"addEventListener")&&(De(i,"addEventListener",function(u){return function(o,a,s){try{nE(a)&&(a.handleEvent=rr(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Nt(a),target:t},handled:!1,type:"instrument"}}))}catch{}return e.unregisterOriginalCallbacks&&rE(this,o,a),u.apply(this,[o,rr(a,{mechanism:{data:{function:"addEventListener",handler:Nt(a),target:t},handled:!1,type:"instrument"}}),s])}}),De(i,"removeEventListener",function(u){return function(o,a,s){try{const c=a.__sentry_wrapped__;c&&u.call(this,o,c,s)}catch{}return u.call(this,o,a,s)}}))}function nE(t){return typeof t.handleEvent=="function"}function rE(t,e,n){t&&typeof t=="object"&&"removeEventListener"in t&&typeof t.removeEventListener=="function"&&t.removeEventListener(e,n)}const iE=()=>({name:"BrowserSession",setupOnce(){if(typeof ie.document>"u"){Xu&&V.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Md({ignoreDuration:!0}),Bd(),W0(({from:t,to:e})=>{t!==void 0&&t!==e&&(Md({ignoreDuration:!0}),Bd())})}}),uE="GlobalHandlers",oE=(t={})=>{const e=F({onerror:!0,onunhandledrejection:!0}
30,t);return{name:uE,setupOnce(){Error.stackTraceLimit=50},setup(n){e.onerror&&(sE(n),uf("onerror")),e.onunhandledrejection&&(cE(n),uf("onunhandledrejection"))}}},aE=oE;function sE(t){t6(e=>{const{stackParser:n,attachStacktrace:r}=J0();if(be()!==t||H0())return;const{msg:i,url:u,line:o,column:a,error:s}=e,c=fE(dc(n,s||i,void 0,r,!1),u,o,a);c.level="error",I0(c,{originalException:s,mechanism:{handled:!1,type:"onerror"}})})}function cE(t){r6(e=>{const{stackParser:n,attachStacktrace:r}=J0();if(be()!==t||H0())return;const i=lE(e),u=nc(i)?dE(i):dc(n,i,void 0,r,!0);u.level="error",I0(u,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function lE(t){if(nc(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function dE(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function fE(t,e,n,r){const i=t.exception=t.exception||{},u=i.values=i.values||[],o=u[0]=u[0]||{},a=o.stacktrace=o.stacktrace||{},s=a.frames=a.frames||[],c=r,l=n,d=ht(e)&&e.length>0?e:ic();return s.length===0&&s.push({colno:c,filename:d,function:pn,in_app:!0,lineno:l}),t}function uf(t){Xu&&V.log(`Global Handler attached: ${t}`)}function J0(){const t=be();return(t==null?void 0:t.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}const pE=()=>({name:"HttpContext",preprocessEvent(t){var e;if(!ie.navigator&&!ie.location&&!ie.document)return;const n=Z4(),r=F(F({},n.headers),(e=t.request)==null?void 0:e.headers);t.request=Y(F(F({},n),t.request),{headers:r})}}),hE="cause",vE=5,gE="LinkedErrors",mE=(t={})=>{const e=t.limit||vE,n=t.key||hE;return{name:gE,preprocessEvent(r,i,u){const o=u.getOptions();I4(cc,o.stackParser,n,e,r,i)}}},yE=mE;function bE(){return _E()?(Xu&&dr(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function _E(){var t;if(typeof ie.window>"u")return!1;const e=ie;if(e.nw)return!1;const n=e.chrome||e.browser;if(!((t=n==null?void 0:n.runtime)!=null&&t.id))return!1;const r=ic(),i=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(ie===ie.top&&i.some(u=>r.startsWith(`${u}://`)))}function wE(t){return[E4(),_4(),XS(),US(),aE(),yE(),j4(),pE(),iE()]}function xE(t={}){const e=!t.skipBrowserExtensionCheck&&bE(),n=Y(F({},t),{enabled:e?!1:t.enabled,stackParser:Qw(t.stackParser||jS),integrations:Wx({integrations:t.integrations,defaultIntegrations:t.defaultIntegrations==null?wE():t.defaultIntegrations}),transport:t.transport||kS});return i4(lS,n)}var of={exports:{}};const SE={},EE=Object.freeze(Object.defineProperty({__proto__:null,default:SE},Symbol.toStringTag,{value:"Module"})),af=B3(EE);/** 31 * [js-sha256]{@link https://github.com/emn178/js-sha256} 32 * 33 * @version 0.11.1 34 * @author Chen, Yi-Cyuan [[email protected]] 35 * @copyright Chen, Yi-Cyuan 2014-2025 36 * @license MIT 37 */var sf;function kE(){return sf||(sf=1,function(t){(function(){var e="input is invalid type",n=typeof window=="object",r=n?window:{};
vendor: 8,144 bytes, line 37
37r.JS_SHA256_NO_WINDOW&&(n=!1);var i=!n&&typeof self=="object",u=!r.JS_SHA256_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node&&process.type!="renderer";u?r=j3:i&&(r=self);var o=!r.JS_SHA256_NO_COMMON_JS&&!0&&t.exports,a=!r.JS_SHA256_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",s="0123456789abcdef".split(""),c=[-2147483648,8388608,32768,128],l=[24,16,8,0],d=[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],f=["hex","array","digest","arrayBuffer"],p=[];(r.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(_){return Object.prototype.toString.call(_)==="[object Array]"}),a&&(r.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(_){return typeof _=="object"&&_.buffer&&_.buffer.constructor===ArrayBuffer});var h=function(_,E){return function(b){return new x(E,!0).update(b)[_]()}},g=function(_){var E=h("hex",_);u&&(E=v(E,_)),E.create=function(){return new x(_)},E.update=function(S){return E.create().update(S)};for(var b=0;b<f.length;++b){var w=f[b];E[w]=h(w,_)}return E},v=function(_,E){var b=af,w=af.Buffer,S=E?"sha224":"sha256",k;w.from&&!r.JS_SHA256_NO_BUFFER_FROM?k=w.from:k=function(O){return new w(O)};var T=function(O){if(typeof O=="string")return b.createHash(S).update(O,"utf8").digest("hex");if(O==null)throw new Error(e);return O.constructor===ArrayBuffer&&(O=new Uint8Array(O)),Array.isArray(O)||ArrayBuffer.isView(O)||O.constructor===w?b.createHash(S).update(k(O)).digest("hex"):_(O)};return T},m=function(_,E){return function(b,w){return new A(b,E,!0).update(w)[_]()}},y=function(_){var E=m("hex",_);E.create=function(S){return new A(S,_)},E.update=function(S,k){return E.create(S).update(k)};for(var b=0;b<f.length;++b){var w=f[b];E[w]=m(w,_)}return E};function x(_,E){E?(p[0]=p[16]=p[1]=p[2]=p[3]=p[4]=p[5]=p[6]=p[7]=p[8]=p[9]=p[10]=p[11]=p[12]=p[13]=p[14]=p[15]=0,this.blocks=p):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],_?(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=_}x.prototype.update=function(_){if(!this.finalized){var E,b=typeof _;if(b!=="string"){if(b==="object"){if(_===null)throw new Error(e);if(a&&_.constructor===ArrayBuffer)_=new Uint8Array(_);else if(!Array.isArray(_)&&(!a||!ArrayBuffer.isView(_)))throw new Error(e)}else throw new Error(e);E=!0}for(var w,S=0,k,T=_.length,O=this.blocks;S<T;){if(this.hashed&&(this.hashed=!1,O[0]=this.block,this.block=O[16]=O[1]=O[2]=O[3]=O[4]=O[5]=O[6]=O[7]=O[8]=O[9]=O[10]=O[11]=O[12]=O[13]=O[14]=O[15]=0),E)for(k=this.start;S<T&&k<64;++S)O[k>>>2]|=_[S]<<l[k++&3];else for(k=this.start;S<T&&k<64;++S)w=_.charCodeAt(S),w<128?O[k>>>2]|=w<<l[k++&3]:w<2048?(O[k>>>2]|=(192|w>>>6)<<l[k++&3],O[k>>>2]|=(128|w&63)<<l[k++&3]):w<55296||w>=57344?(O[k>>>2]|=(224|w>>>12)<<l[k++&3],O[k>>>2]|=(128|w>>>6&63)<<l[k++&3],O[k>>>2]|=(128|w&63)<<l[k++&3]):(w=65536+((w&1023)<<10|_.charCodeAt(++S)&1023),O[k>>>2]|=(240|w>>>18)<<l[k++&3],O[k>>>2]|=(128|w>>>12&63)<<l[k++&3],O[k>>>2]|=(128|w>>>6&63)<<l[k++&3],O[k>>>2]|=(128|w&63)<<l[k++&3]);this.lastByteIndex=k,this.bytes+=k-this.start,k>=64?(this.block=O[16],this.start=k-64,this.hash(),this.hashed=!0):this.start=k}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},x.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var _=this.blocks,E=this.lastByteIndex;_[16]=this.block,_[E>>>2]|=c[E&3],this.block=_[16],E>=56&&(this.hashed||this.hash(),_[0]=this.block,_[16]=_[1]=_[2]=_[3]=_[4]=_[5]=_[6]=_[7]=_[8]=_[9]=_[10]=_[11]=_[12]=_[13]=_[14]=_[15]=0),_[14]=this.hBytes<<3|this.bytes>>>29,_[15]=this.bytes<<3,this.hash()}},x.prototype.hash=function(){var _=this.h0,E=this.h1,b=this.h2,w=this.h3,S=this.h4,k=this.h5,T=this.h6,O=this.h7,R=this.blocks,P,$,U,q,j,K,J,fe,ae,se,pe;for(P=16;P<64;++P)j=R[P-15],$=(j>>>7|j<<25)^(j>>>18|j<<14)^j>>>3,j=R[P-2],U=(j>>>17|j<<15)^(j>>>19|j<<13)^j>>>10,R[P]=R[P-16]+$+R[P-7]+U<<0;for(pe=E&b,P=0;P<64;P+=4)this.first?(this.is224?(fe=300032,j=R[0]-1413257819,O=j-150054599<<0,w=j+24177077<<0):(fe=704751109,j=R[0]-210244248,O=j-1521486534<<0,w=j+143694565<<0),this.first=!1):($=(_>>>2|_<<30)^(_>>>13|_<<19)^(_>>>22|_<<10),U=(S>>>6|S<<26)^(S>>>11|S<<21)^(S>>>25|S<<7),fe=_&E,q=fe^_&b^pe,J=S&k^~S&T,j=O+U+J+d[P]+R[P],K=$+q,O=w+j<<0,w=j+K<<0),$=(w>>>2|w<<30)^(w>>>13|w<<19)^(w>>>22|w<<10),U=(O>>>6|O<<26)^(O>>>11|O<<21)^(O>>>25|O<<7),ae=w&_,q=ae^w&E^fe,J=O&S^~O&k,j=T+U+J+d[P+1]+R[P+1],K=$+q,T=b+j<<0,b=j+K<<0,$=(b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10),U=(T>>>6|T<<26)^(T>>>11|T<<21)^(T>>>25|T<<7),se=b&w,q=se^b&_^ae,J=T&O^~T&S,j=k+U+J+d[P+2]+R[P+2],K=$+q,k=E+j<<0,E=j+K<<0,$=(E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10),U=(k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7),pe=E&b,q=pe^E&w^se,J=k&T^~k&O,j=S+U+J+d[P+3]+R[P+3],K=$+q,S=_+j<<0,_=j+K<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+_<<0,this.h1=this.h1+E<<0,this.h2=this.h2+b<<0,this.h3=this.h3+w<<0,this.h4=this.h4+S<<0,this.h5=this.h5+k<<0,this.h6=this.h6+T<<0,this.h7=this.h7+O<<0},x.prototype.hex=function(){this.finalize();var _=this.h0,E=this.h1,b=this.h2,w=this.h3,S=this.h4,k=this.h5,T=this.h6,O=this.h7,R=s[_>>>28&15]+s[_>>>24&15]+s[_>>>20&15]+s[_>>>16&15]+s[_>>>12&15]+s[_>>>8&15]+s[_>>>4&15]+s[_&15]+s[E>>>28&15]+s[E>>>24&15]+s[E>>>20&15]+s[E>>>16&15]+s[E>>>12&15]+s[E>>>8&15]+s[E>>>4&15]+s[E&15]+s[b>>>28&15]+s[b>>>24&15]+s[b>>>20&15]+s[b>>>16&15]+s[b>>>12&15]+s[b>>>8&15]+s[b>>>4&15]+s[b&15]+s[w>>>28&15]+s[w>>>24&15]+s[w>>>20&15]+s[w>>>16&15]+s[w>>>12&15]+s[w>>>8&15]+s[w>>>4&15]+s[w&15]+s[S>>>28&15]+s[S>>>24&15]+s[S>>>20&15]+s[S>>>16&15]+s[S>>>12&15]+s[S>>>8&15]+s[S>>>4&15]+s[S&15]+s[k>>>28&15]+s[k>>>24&15]+s[k>>>20&15]+s[k>>>16&15]+s[k>>>12&15]+s[k>>>8&15]+s[k>>>4&15]+s[k&15]+s[T>>>28&15]+s[T>>>24&15]+s[T>>>20&15]+s[T>>>16&15]+s[T>>>12&15]+s[T>>>8&15]+s[T>>>4&15]+s[T&15];return this.is224||(R+=s[O>>>28&15]+s[O>>>24&15]+s[O>>>20&15]+s[O>>>16&15]+s[O>>>12&15]+s[O>>>8&15]+s[O>>>4&15]+s[O&15]),R},x.prototype.toString=x.prototype.hex,x.prototype.digest=function(){this.finalize();var _=this.h0,E=this.h1,b=this.h2,w=this.h3,S=this.h4,k=this.h5,T=this.h6,O=this.h7,R=[_>>>24&255,_>>>16&255,_>>>8&255,_&255,E>>>24&255,E>>>16&255,E>>>8&255,E&255,b>>>24&255,b>>>16&255,b>>>8&255,b&255,w>>>24&255,w>>>16&255,w>>>8&255,w&255,S>>>24&255,S>>>16&255,S>>>8&255,S&255,k>>>24&255,k>>>16&255,k>>>8&255,k&255,T>>>24&255,T>>>16&255,T>>>8&255,T&255];return this.is224||R.push(O>>>24&255,O>>>16&255,O>>>8&255,O&255),R},x.prototype.array=x.prototype.digest,x.prototype.arrayBuffer=function(){this.finalize();var _=new ArrayBuffer(this.is224?28:32),E=new DataView(_);return E.setUint32(0,this.h0),E.setUint32(4,this.h1),E.setUint32(8,this.h2),E.setUint32(12,this.h3),E.setUint32(16,this.h4),E.setUint32(20,this.h5),E.setUint32(24,this.h6),this.is224||E.setUint32(28,this.h7),_};function A(_,E,b){var w,S=typeof _;if(S==="string"){var k=[],T=_.length,O=0,R;for(w=0;w<T;++w)R=_.charCodeAt(w),R<128?k[O++]=R:R<2048?(k[O++]=192|R>>>6,k[O++]=128|R&63):R<55296||R>=57344?(k[O++]=224|R>>>12,k[O++]=128|R>>>6&63,k[O++]=128|R&63):(R=65536+((R&1023)<<10|_.charCodeAt(++w)&1023),k[O++]=240|R>>>18,k[O++]=128|R>>>12&63,k[O++]=128|R>>>6&63,k[O++]=128|R&63);_=k}else if(S==="object"){if(_===null)throw new Error(e);
37if(a&&_.constructor===ArrayBuffer)_=new Uint8Array(_);else if(!Array.isArray(_)&&(!a||!ArrayBuffer.isView(_)))throw new Error(e)}else throw new Error(e);_.length>64&&(_=new x(E,!0).update(_).array());var P=[],$=[];for(w=0;w<64;++w){var U=_[w]||0;P[w]=92^U,$[w]=54^U}x.call(this,E,b),this.update($),this.oKeyPad=P,this.inner=!0,this.sharedMemory=b}A.prototype=new x,A.prototype.finalize=function(){if(x.prototype.finalize.call(this),this.inner){this.inner=!1;var _=this.array();x.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(_),x.prototype.finalize.call(this)}};var C=g();C.sha256=C,C.sha224=g(!0),C.sha256.hmac=y(),C.sha224.hmac=y(!0),o?t.exports=C:(r.sha256=C.sha256,r.sha224=C.sha224)})()}(of)),of.exports}var Yi=kE();const ce={get(t){if(typeof sessionStorage>"u")return;const e=sessionStorage.getItem(t);if(e!=null)return JSON.parse(e)},save(t,e){sessionStorage.setItem(t,JSON.stringify(e))},remove(t){sessionStorage.removeItem(t)}};function Qu(t){return X(this,arguments,function*(e,n={},r){const i=new AbortController,u=r?setTimeout(()=>i.abort(),r):null;try{return yield fetch(e,Y(F({},n),{signal:i.signal}))}catch(o){if(o instanceof Error&&o.name==="AbortError"){const a=new Error("The request was aborted due to timeout");throw a.name="TimeoutError",a}throw o}finally{u&&clearTimeout(u)}})}function AE(t,e,n,r){return X(this,null,function*(){const i=yield Qu(t,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:F({"Content-Type":"application/json"},n),redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify(e)},r),u=yield i.json();return Y(F({},u),{status:i.status})})}function CE(t,e){return X(this,null,function*(){return(yield Qu(t,{},e)).json()})}function Sr(t,e){return X(this,null,function*(){return yield Qu(t,{keepalive:!0},e)})}function OE(t,e,n,r){return X(this,null,function*(){const i=yield Qu(t,{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:F({"Content-Type":"application/json"},n),redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify(e)},r),u=yield i.json();return Y(F({},u),{status:i.status})})}class gu extends Error{constructor(e,n){super(n),this.error=e,this.error_description=n,Object.setPrototypeOf(this,gu.prototype)}static fromPayload({error:e,error_description:n}){return new gu(e,n)}}const TE=(t,e)=>{throw new gu(t,e)},DE=43,FE=11,IE=128,RE="/api/v1/sdk/actions/wp-config",PE="/oauth2/auth/v1/requests/wafa/widget",LE="/oauth2/auth/v1/requests/wafa/web-curtain",NE="/api/v0.3/backend/oauth/revoke",xt=119,Ir=30,Zt=75,$E=379,Ma=768,Y0=720,jE=/^[a-zA-Z0-9-_]+$/,ME=/^[a-zA-Z0-9_:;.,'"?!(){}[\]@<>=\-+*#$&`|~^%\\]+$/,BE=256,UE=2048,No="webCurtain",$o="authWidget",VE="https://goevents.auth.gid.ru/",qE="https://app.gid.ru",zE="web_sso",HE="p",GE="5dd6d752-522a-4852-add6-c5f0a5983bfd",jo="1.2",Er="popup_auth",WE=256,KE="https://[email protected]/363",JE="https://[email protected]/248",YE="https://static-sso.gid.ru/assets/das.obf.js",Fi={PROD:"https://auth.gid.ru",PREPROD:"https://preprod.gid-auth.ru",STAGE:"https://stage-auth.k8s-dev.gid.team",SANDBOX:"https://sandbox.gid-auth.ru"},Ii={prod:Fi.PROD,preprod:Fi.PREPROD,stage:Fi.STAGE,sandbox:Fi.SANDBOX},ZE=/^https:\/\/test[0-9]*-auth\.k8s-dev\.gid\.team$/,XE=/^https:\/\/dev[0-9]*-auth\.k8s-dev\.gid\.team$/;function eo(t){const e=t.replace(/\n/g,"").replace(/\t/g,"").replace(/>\s+</g,"><");return`url("data:image/svg+xml,${encodeURIComponent(e).replace(/'/g,"%27").replace(/"/g,"%22")}")`}const to=(t,e="#fff")=>`<svg width="28" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="28" height="28" rx="8" fill="${e}"/><g clip-path="url(#a)" fill="${t}"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.754 7.52c-.374-1.62-1.316-2.935-1.444-3.145-.207.305-.955 1.462-1.335 2.751a9.912 9.912 0 0 0-.335 3.966c.141 1.258.683 2.541.683 2.541.284.674.716 1.398.993 1.754.406-.52 1.348-2.084 1.644-4.124.161-1.137.168-2.129-.206-3.743Zm-1.444 7.467c-.181-.343-.471-.991-.497-1.995-.006-.973.387-1.805.503-1.977.103.172.445.903.483 1.894a4.274 4.274 0 0 1-.49 2.084v-.006Zm1.334-4.722c-.013.617-.09 1.271-.187 1.659a10.062 10.062 0 0 0-.206-2.357c-.155-.738-.6-1.97-.954-2.542-.33.54-.729 1.607-.942 2.535-.213.928-.219 2.046-.219 2.383-.058-.286-.2-1.296-.155-2.307.033-.838.232-1.696.342-2.097.413-1.321.883-2.166.974-2.3a9.99 9.99 0 0 1 .986 2.269 9.81 9.81 0 0 1 .355 2.757h.006Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.948 15.768h-2.85v1.888l.006-.007c.671-.66 1.76-.66 2.431 0 .67.661.67 1.735 0 2.396l-.006.006s-.007 0-.013.007a3.47 3.47 0 0 1-4.849-.006 3.348 3.348 0 0 1 0-4.786 3.448 3.448 0 0 1 2.431-.99V9.743c-3.379 0-6.119 2.701-6.119 6.024 0 3.33 2.74 6.03 6.03 1.76 0 3.346-.736 4.462-1.906v-4.117h-1.612v-.007Z"/><path d="M20.39 21.208v-4.753h.16c.072 0 .123.025.168.082.04.051.065.127.065.223v4.143a.367.367 0 0 1-.065.222.215.215 0 0 1-.16
377.083h-.161Zm-1.238.673h1.94c.213 0 .387-.038.51-.108a.71.71 0 0 0 .277-.273.994.994 0 0 0 .11-.356c.019-.12.025-.241.019-.35v-3.92c0-.108 0-.229-.02-.35a1.14 1.14 0 0 0-.109-.355.67.67 0 0 0-.277-.274c-.123-.07-.297-.107-.51-.107h-1.94v6.093Zm-1.793 0h1.238v-6.094H17.36v6.094Z"/></g><defs><clipPath id="a"><path fill="${e}" transform="translate(5.98 4.375)" d="M0 0h16.042v17.5H0z"/></clipPath></defs></svg>`,QE='<svg width="78" height="32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M17.242 5.912c-.664-2.88-2.321-5.226-2.55-5.613-.354.535-1.68 2.607-2.355 4.907-.732 2.562-.846 4.828-.583 7.07.251 2.232 1.2 4.532 1.2 4.532.503 1.207 1.258 2.494 1.75 3.131.72-.933 2.378-3.711 2.892-7.355.286-2.027.297-3.791-.354-6.672Zm-2.55 13.31c-.32-.615-.823-1.765-.88-3.564-.012-1.73.686-3.222.891-3.53.183.308.778 1.606.858 3.371.046 1.73-.526 3.097-.869 3.712v.011Zm2.355-8.414c-.023 1.104-.16 2.254-.32 2.949.057-1.196-.08-2.88-.366-4.201-.274-1.321-1.052-3.519-1.68-4.532-.572.968-1.281 2.87-1.658 4.52-.378 1.651-.389 3.644-.389 4.247-.103-.5-.343-2.3-.274-4.11.057-1.492.411-3.029.606-3.735.731-2.357 1.566-3.86 1.715-4.099.16.24 1.2 2.095 1.738 4.042.537 1.947.651 3.815.628 4.919Z" fill="#0079C2"/><path fill-rule="evenodd" clip-rule="evenodd" d="M15.813 20.6h-5.031v3.359l.011-.012a3.031 3.031 0 0 1 4.288 0 3.001 3.001 0 0 1 0 4.27l-.011.012s-.012 0-.023.01a6.02 6.02 0 0 1-4.265 1.754 6.103 6.103 0 0 1-4.288-1.764 6.012 6.012 0 0 1 0-8.529 6.084 6.084 0 0 1 4.288-1.764V9.863C4.825 9.863 0 14.679 0 20.6c0 5.92 4.825 10.737 10.782 10.737 3.11 0 5.9-1.31 7.866-3.404v-7.345h-2.847l.012.012ZM20.295 20.645h4.184V22h-2v9.565h-2.184v-10.92ZM26.835 27.466 27.212 22h.126l.377 5.466h-.88Zm-2.424 4.099h2.15l.205-2.904h1.03L28 31.565h2.15l-1.144-10.92h-3.441l-1.144 10.92h-.011ZM33.032 27.739v2.06c0 .285.217.365.343.365.206 0 .343-.17.343-.364v-2.54c0-.34-.069-.717-.88-.717h-.892v-1.195h.926c.629 0 .846-.137.846-.808v-2.175a.346.346 0 0 0-.343-.353c-.126 0-.343.08-.343.353v1.776h-2.195v-1.548c0-.763.091-1.948 1.623-1.948h1.818c1.532 0 1.624 1.185 1.624 1.948v1.742c0 1.184-.835 1.514-1.487 1.48v.114c1.475-.035 1.487 1.093 1.487 1.48v2.197c0 .763-.092 1.947-1.624 1.947H32.46c-1.532 0-1.623-1.184-1.623-1.947V27.74h2.195ZM37.056 20.645h5.077v10.92h-2.184V22h-.697v9.565h-2.196v-10.92ZM45.608 26.646V22h.286c.24 0 .412.205.412.547v3.564c0 .341-.172.546-.412.546h-.286v-.011Zm-2.195 4.907h2.195v-3.712h1.247c1.532 0 1.635-1.184 1.635-1.947v-3.301c0-.763-.092-1.948-1.635-1.948h-3.442v10.92-.012ZM52.434 29.8c0 .193-.137.364-.343.364a.338.338 0 0 1-.343-.364v-7.435c0-.285.218-.353.343-.353.206 0 .343.17.343.353V29.8Zm-2.88-.182c0 .763.09 1.947 1.634 1.947h1.818c1.532 0 1.624-1.184 1.624-1.947v-7.014c0-.763-.092-1.947-1.624-1.947h-1.818c-1.532 0-1.635 1.184-1.635 1.947v7.014ZM61.456 20.645h2.846v10.92H62.12v-6.843h-.08l-1.132 6.843h-1.75l-1.132-6.843h-.08v6.843h-2.183v-10.92h2.847l1.429 7.675 1.418-7.675Z" fill="#0079C2"/><path d="M72.363 21.795h1.967c.492 0 .892.103 1.2.296.32.194.56.479.732.843.172.364.297.808.366 1.32.069.513.103 1.082.103 1.72 0 1.093-.069 1.97-.229 2.653-.148.683-.411 1.173-.766 1.492-.354.318-.823.466-1.418.466h-1.966v-8.79h.011ZM71.14 31.69h3.247c.594 0 1.098-.114 1.52-.308.424-.205.767-.49 1.041-.842.275-.364.48-.774.64-1.241.149-.467.263-.968.32-1.492.058-.523.092-1.059.092-1.605 0-.547-.023-1.082-.069-1.617a7.652 7.652 0 0 0-.285-1.492 3.706 3.706 0 0 0-.64-1.23 2.802 2.802 0 0 0-1.121-.842c-.458-.205-1.03-.307-1.727-.307h-3.03V31.7l.012-.011Zm-1.99-10.988h-1.223V31.69h1.223V20.702Z" fill="#0079C2"/></svg>',e8=eo(to("#0079C2")),t8=eo(to("#0070b4")),n8=eo(to("#fff","#0070b4")),r8=eo(to("#000000")),i8='system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"',Fn="#fff",Ri="#0079C2",u8="#0070b4",o8="#d7d7d7",a8="#898889",s8="#101318",c8="rgba(27, 44, 78, 0.2)",l8="rgba(255, 255, 255, 0.2)",d8="rgba(27, 44, 78, 0.1)",f8="rgba(255, 255, 255, 0.1)",cf=` 38 opacity: .65; 39 pointer-events: none; 40`,Mo=` 41 outline: 0; 42`,p8=` 43 .CLASS_ID-gidbtn-standard, .CLASS_ID-gidbtn-compact, .CLASS_ID-gidbtn-iconic { 44 height: 56px; 45 min-width: 268px; 46 width: 100%; 47 max-width: 360px; 48 border-radius: 10px; 49 border: 1px solid transparent; 50 cursor: pointer; 51 display: inline-block; 52 font-family: ${i8}; 53 font-size: 17px; 54 font-weight: 700; 55 line-height: 24px; 56 padding: 14px; 57 box-sizing: border-box; 58 text-align: center; 59 text-decoration: none; 60 user-select: none; 61 vertical-align: middle; 62 position: relative; 63 } 64 .CLASS_ID-gidbtn-compact { 65 min-width: 115px; 66 width: 115px; 67 padding-right: 20px; 68 text-align: right; 69 font-size: 22px; 70 display: flex; 71 justify-content: flex-end; 72 align-items: center; 73 } 74 75 .CLASS_ID-gidbtn-compact::after, .CLASS_ID-gidbtn-compact::before { 76 display: none !important; 77 } 78 79 .CLASS_ID-gidbtn-compact svg { 80 margin-bottom: 4px; 81 } 82 83 .CLASS_ID-gidbtn-iconic { 84 min-width: 56px; 85 width: 56px; 86 background-size: 27px; 87 background-position: 0 -21px; 88 } 89 90 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-primary, .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-primary, .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-primary { 91 background-color: ${Ri}; 92 color: ${Fn}; 93 } 94 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-secondary, .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-secondary, .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-secondary { 95 background-color: ${Fn}; 96 border: 1px solid ${d8}; 97 color: ${Ri} 98 } 99 100 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-dark, .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-dark, .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-dark { 101 background-color: ${s8}; 102 border: 1px solid ${f8}; 103 } 104 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-dark { 105 color: ${Fn}; 106 } 107 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-dark { 108 color: ${Fn}; 109 } 110 111 .CLASS_ID-gidbtn-primary::after, .CLASS_ID-gidbtn-secondary::after, .CLASS_ID-gidbtn-dark::after { 112 background-repeat: no-repeat; 113 background-position: 0 0; 114 background-size: 28px; 115 content: ''; 116 height: 28px; 117 width: 28px; 118 position: absolute; 119 top: 50%; 120 left: 12px; 121 transform: translateY(-50%); 122 } 123 124 .CLASS_ID-gidbtn-primary::after { 125 background-image: ${e8}; 126 } 127 128 .CLASS_ID-gidbtn-dark::after { 129 background-image: ${r8}; 130 } 131 132 .CLASS_ID-gidbtn-secondary::after { 133 background-image: ${n8}; 134 color: ${Ri}; 135 } 136 137 .CLASS_ID-gidbtn-primary:hover::after { 138 background-image: ${t8}; 139 } 140 141 .CLASS_ID-gidbtn-compact::after { 142 background-position: 0 0; 143 } 144 145 .CLASS_ID-gidbtn-iconic::after { 146 height: 32px; 147 width: 32px; 148 background-position: -1 0; 149 background-size: 32px; 150 } 151 152 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-dark path, .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-primary path { 153 fill: #fff; 154 } 155 156 .CLASS_ID-gidbtn-compact::before, .CLASS_ID-gidbtn-standard::before, .CLASS_ID-gidbtn-iconic::before { 157 background: ${Fn}; 158 content: ''; 159 display: inline-block; 160 height: 28px; 161 width: 28px; 162 border-radius: 8px; 163 position: absolute; 164 top: 50%; 165 left: 12px; 166 transform: translateY(-50%); 167 } 168 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-secondary::before, 169 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-secondary::before, 170 .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-secondary::before, 171 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-dark::before, 172 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-dark::before, 173 .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-dark::before { 174 background: ${Ri}; 175 } 176 177 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-dark::before, 178 .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-dark::before { 179 background: #fff; 180 } 181 182 .CLASS_ID-gidbtn-iconic::before { 183 width: 32px; 184 height: 32px; 185 left: 11px; 186 } 187 188 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-primary:hover, 189 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-primary:active, 190 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-primary:hover, 191 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-primary:active, 192 .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-primary:hover, 193 .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-primary:active { 194 ${Mo} 195 background-color: ${u8}; 196 color: ${Fn}; 197 } 198 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-secondary:hover, 199 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-secondary:active, 200 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-secondary:hover, 201 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-secondary:active, 202 .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-secondary:hover, 203 .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-secondary:active { 204 ${Mo} 205 border: 1px solid ${c8}; 206 } 207 208 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-dark:hover, 209 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-dark:active, 210 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-dark:hover, 211 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-dark:active, 212 .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-dark:hover, 213 .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-dark:active { 214 ${Mo} 215 border: 1px solid ${l8}; 216 } 217 218 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-primary:disabled, 219 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-primary:disabled, 220 .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-primary:disabled, 221 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-dark:disabled, 222 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-dark:disabled, 223 .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-dark:disabled { 224 ${cf} 225 background-color: ${o8}; 226 } 227 228 .CLASS_ID-gidbtn-standard.CLASS_ID-gidbtn-secondary:disabled, 229 .CLASS_ID-gidbtn-compact.CLASS_ID-gidbtn-secondary:disabled, 230 .CLASS_ID-gidbtn-iconic.CLASS_ID-gidbtn-secondary:disabled { 231 ${cf} 232 color: ${a8}; 233 } 234`;var Pn=(t=>(t.Init="init",t.Resize="resize",t.Close="close",t.Login="login",t.LoginPrompt="loginPrompt",t))(Pn||{}),Rr=(t=>(t.TopRight="top-right",t.BottomRight="bottom-right",t.TopLeft="top-left",t.BottomLeft="bottom-left",t))(Rr||{});const lf=(t="")=>{var e,n,r,i,u,o,a,s,c,l,d,f;try{const{searchParams:p}=new URL(t);return{code:(n=(e=p.get("code"))==null?void 0:e.trim())!=null?n:"",state:(i=(r=p.get("state"))==null?void 0:r.trim())!=null?i:"",scope:(o=(u=p.get("scope"))==null?void 0:u.trim())!=null?o:"",error:(s=(a=p.get("error"))==null?void 0:a.trim())!=null?s:"",error_description:(l=(c=p.get("error_description"))==null?void 0:c.trim())!=null?l:"",quuid:(f=(d=p.get("quuid"))==null?void 0:d.trim())!=null?f:""}}catch(p){throw new Error(`error in parseQueryResult: ${p}`)}},h8=()=>window.crypto,kr=(t=43,e=!1)=>{const n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz${e?"":"0123456789-_~."}`;let r="";
234const i=h8().getRandomValues(new Uint8Array(t));return Array.from(i).forEach(u=>{r+=n[u%n.length]}),r},Bo=t=>Object.keys(t).filter(e=>typeof t[e]<"u").map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&"),v8=t=>{const e=Yi.sha256(t),n=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2)n[r/2]=parseInt(e.substr(r,2),16);return n.buffer},g8=t=>{const e={"+":"-","/":"_","=":""};return t.replace(/[+/=]/g,n=>e[n])},m8=t=>{const e=new Uint8Array(t),n=String.fromCharCode(...Array.from(e)),r=window.btoa(n);return g8(r)},df=(...t)=>{const e=t.join(" ").trim().split(/\s+/);return Array.from(new Set(e)).join(" ")},y8=(t,e=!1)=>{const n=window.screenX+(window.innerWidth-400)/2,r=window.screenY+(window.innerHeight-600)/2;return window.open(t,"authorize:popup",e?void 0:`left=${n},top=${r},width=400,height=600,resizable,scrollbars=yes,status=1`)},b8=(t,e)=>()=>{const n=document.body.clientWidth,r=document.body.clientHeight;if(e.style.top="auto",e.style.right="auto",e.style.left="auto",e.style.bottom="auto",e.style.transform="none",n>=Ma)switch(t){case Rr.TopRight:e.style.top=`${xt}px`,e.style.right=`${Zt}px`;break;case Rr.BottomRight:e.style.bottom=`${xt}px`,e.style.right=`${Zt}px`;break;case Rr.TopLeft:e.style.top=`${xt}px`,e.style.left=`${Zt}px`;break;case Rr.BottomLeft:e.style.bottom=`${xt}px`,e.style.left=`${Zt}px`;break;default:e.style.top=`${xt}px`,e.style.right=`${Zt}px`;break}else e.style.bottom=`${xt}px`,e.style.right=`${Zt}px`,e.style.transform="translateX(-50%)",e.style.left="50%";r<=Y0+xt&&(n<=Ma?(e.style.top="auto",e.style.bottom=`${Ir}px`):(e.style.bottom="auto",e.style.top=`${Ir}px`),e.style.right=`${Zt}px`,e.style.maxHeight=r-Ir>600?"600px":`${r-Ir}px`)},_8=t=>()=>{const e=document.body.clientWidth,n=document.body.clientHeight;t.style.top="50%",t.style.left="50%",t.style.transform="translate(-50%, -50%)",t.style.marginLeft="auto",(e<=Ma||n<=Y0+xt)&&(t.style.top=`${Ir}px`,t.style.transform="none",t.style.left="50%",t.style.marginLeft="-190px")},w8=(t,e)=>{(typeof t!="object"||t===null)&&e&&console.log("Ðаголовки ÑÐºÐ°Ð·Ð°Ð½Ñ Ð½ÐµÐºÐ¾ÑÑекÑно: ",t);const n={};let r=null;for(const[i,u]of Object.entries(t))typeof i=="string"&&i.length<=BE&&jE.test(i)&&typeof u=="string"&&u.length<=UE&&ME.test(u)?n[i]=u.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):r=Y(F({},r||{}),{[i]:u});return r&&e&&console.log("Ð ÑказаннÑÑ
заголовкаÑ
иÑполÑзÑÑÑÑÑ Ð½ÐµÐ´Ð¾Ð¿ÑÑÑимÑе ÑимволÑ: ",r),n},je=function(){return new Date().getTime()},Me=function(){const t=new Date().getTimezoneOffset(),e=String(Math.floor(Math.abs(t/60))),n=String(Math.abs(t%60)),r=/^0*$/.test(n)?"":":"+n.padStart(2,"0");return(t>0?"-":"")+e+r},ct=t=>t instanceof Error?JSON.stringify({message:t.message,name:t.name,stack:t.stack}):JSON.stringify(t);
234function Pi(){return window.navigator.userAgent.substring(0,WE)}function In(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}function ff(t){if(t===Ii.prod)return"prod";if(t===Ii.preprod)return"preprod";if(t===Ii.stage)return"stage";if(t===Ii.sandbox)return"sandbox";if(ZE.test(t))return"test";if(XE.test(t))return"dev";const e=t.match(/^https:\/\/([a-z0-9-]+)-auth\./);return e?e[1]:"dev"}const pf={scope:"openid",oauth2CodePath:"/api/v0.3/backend/oauth/token"};class _9{constructor({callback:e,clientId:n,redirectUri:r,postLogoutUri:i,webCurtainLoginType:u="redirect",authUrl:o,backendUrl:a="",oauth2CodePath:s=pf.oauth2CodePath,scope:c="",buttons:l=[],headers:d={},kfpUrl:f="",cid:p="",session_id:h="",appmetrica_device_id:g="",debugConsole:v=!1,debugTrack:m=!1,product_name:y="",goyaUrl:x=VE,trackingReceiverUrl:A=qE,trackingReceiverName:C=zE,trackingReceiverEnv:_=HE,trackingReceiverInstanceCode:E=GE,sentryEnabled:b=!1,preventAutoStorageCleanup:w=!1,requestTimeout:S=null}){B(this,"scriptDAS",document.createElement("script")),B(this,"version","'1.2.5'"),B(this,"build_number","'52'"),B(this,"callback"),B(this,"client_id"),B(this,"post_logout_uri"),B(this,"authUrl"),B(this,"backendUrl"),B(this,"oauth2CodePath"),B(this,"buttons"),B(this,"webCurtainLoginType"),B(this,"cid"),B(this,"product_name"),B(this,"session_id"),B(this,"appmetrica_device_id"),B(this,"tracking_receiver_url"),B(this,"writeKey"),B(this,"debugConsole"),B(this,"debugTrack"),B(this,"headers"),B(this,"kfpUrl"),B(this,"scope"),B(this,"redirect_uri"),B(this,"initial_scope"),B(this,"is_popup"),B(this,"initial_redirect_uri"),B(this,"isNewTab"),B(this,"buttonId"),B(this,"popup"),B(this,"w_auth"),B(this,"widget_settings"),B(this,"web_curtain"),B(this,"goyaUrl"),B(this,"isGoyaActive"),B(this,"isAnalyticsActive"),B(this,"isPrompt"),B(this,"isSource"),B(this,"analytics"),B(this,"external_id"),B(this,"quuid"),B(this,"sentryEnabled"),B(this,"preventAutoStorageCleanup"),B(this,"requestTimeout"),B(this,"flowName"),B(this,"sendTrackAnalytics",(T,O)=>X(this,null,function*(){this.analytics&&(yield this.analytics.track(`sdk-${T}`,Y(F({},O),{external_id:this.external_id,ver:jo,popup:this.is_popup,flow_name:this.flowName,sdk:this.version}),{traits:{writeKey:this.writeKey}}))})),B(this,"trackAnalytics",(T,O)=>X(this,null,function*(){const R=ce.get(this.client_id),P=R==null?void 0:R.gsid,$=Pi();yield this.sendTrackAnalytics(P?T:"eventAuthError",F({name:T,sid:P,user_agent:$},O))})),B(this,"trackDebugAnalytics",(T,O,R)=>X(this,null,function*(){if(!this.debugTrack||!this.isAnalyticsActive)return;const P=ce.get(this.client_id),$=P==null?void 0:P.gsid;if(!$)return;const U=this.cid||void 0,q=this.session_id||void 0,j=this.product_name||void 0,K=Pi();yield this.sendTrackAnalytics(R?"eventAuthError":T,F({name:T,sid:$,cid:U,session_id:q,product_name:j,user_agent:K},O))})),B(this,"sendTokenReceivedEvent",()=>X(this,null,function*(){const T=!!(this.isGoyaActive&&(this.cid||this.product_name||this.session_id||this.appmetrica_device_id)),O=In();if(T){const P=ce.get(this.client_id),$=P==null?void 0:P.gsid,U={event_category:"auth",event_action:"success",event_label:"avtorizaciya",event_name:"auth-success-avtorizaciya",screen_size:window.innerWidth+"x"+window.innerHeight,event_timestamp:je()+"",event_timezone:Me(),page_url:window.location.origin+window.location.pathname,screen_name:window.location.pathname,event_group:"event",event_element_location:"webview",touch_point:"web",cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,appmetrica_device_id:this.appmetrica_device_id||void 0,gsid:$||void 0,req_id:O};this.trackDebugAnalytics("eventHandleRedirectCallbackGoyaToken",{goya_event:JSON.stringify(U)});const q=Object.fromEntries(Object.entries(U).filter(([K,J])=>K&&J!==void 0)),j=this.buildGoyaUrl(q);Sr(j,this.requestTimeout).catch(K=>{this.sendErrorToSentry(K,"sendTokenReceivedEvent"),this.trackDebugAnalytics("eventHandleRedirectCallbackGoyaAvrorizaciyaError",{error:ct(K)},!0),this.logError("Error in Goya event: ",K)})}const R={event_category:"auth",event_action:"success",event_label:"avtorizaciya",event_name:"auth-success-avtorizaciya",screen_size:window.innerWidth+"x"+window.innerHeight,event_timestamp:je()+"",event_timezone:Me(),page_url:window.location.origin+window.location.pathname,screen_name:window.location.pathname,event_group:"event",event_element_location:"webview",touch_point:"web",cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,appmetrica_device_id:this.appmetrica_device_id||void 0,sf:!0,client:this.writeKey,req_id:O};this.trackAnalytics("eventAuthTokenReceived",R).catch(P=>
234{this.sendErrorToSentry(P,"getToken_trackAnalytics"),this.logError("Error in eventAuthTokenReceived event: ",P)})})),B(this,"sendAuthSuccessEvent",()=>X(this,null,function*(){const T=!!(this.isGoyaActive&&(this.cid||this.product_name||this.session_id||this.appmetrica_device_id));let O;if(T){const P=ce.get(this.client_id),$=P==null?void 0:P.gsid;O=In();const U={event_category:"auth",event_action:"complete",event_label:"avtorizaciya",event_name:"auth-complete-avtorizaciya",screen_size:window.innerWidth+"x"+window.innerHeight,event_timestamp:je()+"",event_timezone:Me(),page_url:window.location.origin+window.location.pathname,screen_name:"/",event_group:"event",event_element_location:"webview",touch_point:"web",cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,appmetrica_device_id:this.appmetrica_device_id||void 0,gsid:$||void 0,req_id:O},q=Object.fromEntries(Object.entries(U).filter(([K,J])=>K&&J!==void 0)),j=this.buildGoyaUrl(q);Sr(j,this.requestTimeout).catch(K=>{this.sendErrorToSentry(K,"sendAuthSuccessEvent_goyaEvent"),this.trackDebugAnalytics("eventSendAuthSuccessEvent_goyaEventError",{error:ct(K)},!0),this.logError("Error in Goya event: ",K)})}const R={event_category:"auth",event_action:"complete",event_label:"avtorizaciya",event_name:"auth-complete-avtorizaciya",screen_size:window.innerWidth+"x"+window.innerHeight,event_timestamp:je()+"",event_timezone:Me(),page_url:window.location.origin+window.location.pathname,screen_name:"/",event_group:"event",event_element_location:"webview",touch_point:"web",cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,appmetrica_device_id:this.appmetrica_device_id||void 0,sf:!0,client:this.writeKey,req_id:O};this.trackAnalytics("eventAuthSuccess",R),this.preventAutoStorageCleanup&&ce.remove(this.client_id)}));const k=df(pf.scope,c);if(this.callback=e,this.client_id=n,this.redirect_uri=r,this.initial_redirect_uri=r,this.isNewTab=!1,this.post_logout_uri=i,this.authUrl=o,this.backendUrl=a,this.oauth2CodePath=s,this.scope=k,this.initial_scope=k,this.is_popup=window.name==="authorize:popup",this.buttons=l,this.headers=w8(d,v),this.kfpUrl=f||YE,this.webCurtainLoginType=u,this.cid=p||void 0,this.product_name=y||void 0,this.session_id=h||void 0,this.appmetrica_device_id=g||void 0,this.debugConsole=v,this.debugTrack=m,this.buttonId="",this.popup=null,this.w_auth=!1,this.widget_settings=null,this.web_curtain=!1,this.goyaUrl=x,this.tracking_receiver_url=A,this.writeKey=`${C}:${_}:${E}`,this.isGoyaActive=!1,this.isAnalyticsActive=!1,this.isPrompt=!1,this.isSource=!1,this.sentryEnabled=b,this.preventAutoStorageCleanup=w,this.requestTimeout=S&&S*1e3,b){const T=o.replace(/\/$/,""),O=ff(T);xE({dsn:O==="prod"?KE:JE,environment:O,release:this.version})}}sendErrorToSentry(e,n){if(this.sentryEnabled)try{be()&&F0(e,{tags:{context:n}})}catch(r){this.debugConsole&&console.warn("Failed to send error to Sentry:",r)}}injectStyles(){if(!document)return;this.buttonId=kr(7,!0);const e=/CLASS_ID/g,n=p8.replace(e,this.buttonId),r=document.createElement("style");r.innerHTML=n,document.getElementsByTagName("head")[0].appendChild(r)}refreshToken(e){return X(this,null,function*(){const n={grant_type:"refresh_token",client_id:this.client_id,refresh_token:e},r=yield this.getToken(n);if(!r)throw this.logError("Backend URL is not configured"),new Error("Backend URL is not configured");return r})}getTokenManually(e){return X(this,null,function*(){var n;return yield this.handleRedirectCallback({currentUrl:((n=window==null?void 0:window.location)==null?void 0:n.href)||"",allowGoyaEvent:!0,backendUrl:e})})}setID(){if(!sessionStorage.getItem("bid")){const e=kr(10,!0);sessionStorage.setItem("bid",e)}}renderButtons(){this.buttons.length&&this.buttons.map(e=>F({element:document.querySelector(e.container.trim())},e)).filter((e,n,r)=>e.element&&r.findIndex(i=>i.element===e.element)===n).forEach(e=>this.renderButton(e))}renderButton({element:e,type:n="standard",color:r="primary"}){if(!e)return;const i={standard:"ÐойÑи Ñ ÐазпÑом ID",compact:QE,iconic:""},u=sessionStorage.getItem("bid")||"",o=document.createElement("button");o.className=`${this.buttonId}-gidbtn-${n} ${this.buttonId}-gidbtn-${r}`,o.innerHTML=i[n]||"",o.id=u,o.addEventListener("click",()=>{if(this.web_curtain){this.initWebCurtain();return}this.loginWithRedirect()}),e.querySelector(`#${u}`)||e.appendChild(o)}buildAuthorizeUrl(){const{client_id:e,redirect_uri:n,scope:r}=this,i=kr(DE),u=kr(FE),o=kr(IE),a=v8(o),s=Yi.sha256(i),c={code_challenge:m8(a),code_challenge_method:"S256",response_type:"code",redirect_uri:n,client_id:e,scope:r,state:i,nonce:u,prompt:this.isPrompt?"login":void 0,source:this.isSource?"widget":void 0,sid:this.isAnalyticsActive?s:void 0,cid:this.isGoyaActive||this.isAnalyticsActive?this.cid:void 0,session_id:this.isGoyaActive||this.isAnalyticsActive?this.session_id:void 0,appmetrica_device_id:this.isGoyaActive||this.isAnalyticsActive?this.appmetrica_device_id:void 0,product_name:this.isGoyaActive||this.isAnalyticsActive?this.product_name:void 0,quuid:this.quuid};this.isPrompt=!1,this.isSource=!1;const l={code_verifier:o,redirect_uri:n,state:i,gsid:s};return ce.save(e,l),this.authorizeUrl(c)}authorizeUrl(e){return`${this.authUrl}/oauth2/auth?${Bo(e)}`}buildLogoutUrl(e){return`${this.authUrl}/oauth2/sessions/logout?${Bo(e)}`}handleRedirectCallback(e){return X(this,null,function*(){var n,r,i,u,o,a;this.trackDebugAnalytics("eventHandleRedirectCallbackStart");const s=(e==null?void 0:e.currentUrl)||((n=window==null?void 0:window.location)==null?void 0:n.href)||"",c=(r=e==null?void 0:e.allowGoyaEvent)!=null?r:!0;let l="";try{l=s?s.split("?").slice(1).join(""):""}catch(k){throw this.sendErrorToSentry(k,"handleRedirectCallback_queryString"),this.trackDebugAnalytics("eventHandleRedirectCallbackQueryStringError",{error:ct(k)},!0),this.clearAuthFlowData(),new Error(`error in queryString: ${k}`)}if(!l.length){this.is_popup&&((i=window==null?void 0:window.opener)==null||i.postMessage({name:Er,url:""},window.location.origin));return}const{code:d,state:f,scope:p,error:h,error_description:g,quuid:v}=lf(s);if(v){this.is_popup&&((u=window==null?void 0:window.opener)==null||u.postMessage({name:Er,url:s},window.location.origin)),this.loginWithQuuidRedirect({quuid:v});return}const m=ce.get(this.client_id);let y=m==null?void 0:m.gsid;if(y||(y=Yi.sha256(f),ce.save(this.client_id,Y(F({},m),{gsid:y}))),!f||!p||!d){this.trackDebugAnalytics("eventHandleRedirectCallbackNoParams",{scope:p,hasCode:!!d,hasState:!!f,hasScope:!!p}),this.is_popup&&((o=window==null?void 0:window.opener)==null||o.postMessage({name:Er,url:s},window.location.origin)),this.clearAuthFlowData();return}const x=!!(this.isGoyaActive&&(this.cid||this.product_name||this.session_id||this.appmetrica_device_id));let A;const C=ce.get(this.client_id);if(C&&!(C!=null&&C.gsid)&&(C.gsid=Yi.sha256(f),ce.save(this.client_id,C)),y=C==null?void 0:C.gsid,x&&c){A=In();const k={event_category:"auth",event_action:"success",event_label:"authcode",event_name:"auth-success-authcode",screen_size:window.innerWidth+"x"+window.innerHeight,event_timestamp:je()+"",event_timezone:Me(),page_url:window.location.origin+window.location.pathname,screen_name:window.location.pathname,event_group:"event",event_element_location:"webview",touch_point:"web",cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,appmetrica_device_id:this.appmetrica_device_id||void 0,gsid:y||void 0,req_id:A};this.trackDebugAnalytics("eventHandleRedirectCallbackGoyaAuthCode",{goya_event:JSON.stringify(k)});const T=Object.fromEntries(Object.entries(k).filter(([R,P])=>R&&P!==void 0)),O=this.buildGoyaUrl(T);Sr(O,this.requestTimeout).catch(R=>{this.sendErrorToSentry(R,"handleRedirectCallback_goyaAuthCode"),this.trackDebugAnalytics("eventHandleRedirectCallbackGoyaAvrorizaciyaError",{error:ct(R)},!0),this.logError("Error in Goya event: ",R)})}const _={event_category:"auth",event_action:"success",event_label:"authcode",event_name:"auth-success-authcode",screen_size:window.innerWidth+"x"+window.innerHeight,event_timestamp:je()+"",event_timezone:Me(),page_url:window.location.origin+window.location.pathname,screen_name:window.location.pathname,event_group:"event",event_element_location:"webview",touch_point:"web",cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,appmetrica_device_id:this.appmetrica_device_id||void 0,sf:!0,client:this.writeKey,req_id:A};if(this.trackAnalytics(this.is_popup?"eventAuthCodeReceivedInPopup":"eventAuthCodeReceived",_),this.is_popup){(a=window==null?void 0:window.opener)==null||a.postMessage({name:Er,url:s},window.location.origin);return}const E=d,b=C==null?void 0:C.code_verifier,w=C&&(C==null?void 0:C.state)===f,S=p.includes("openid");if(h||!E||!b||!w||!S){const k=performance.getEntriesByType("navigation")[0];this.sendErrorToSentry(h||new Error("Invalid params"),"handleRedirectCallback_invali
234dParams"),this.trackDebugAnalytics("eventHandleRedirectCallbackInvalidParams",{error:ct(h),isCodeValid:!!E,isVerifierValid:!!b,isStateValid:`${w}`,isScopeValid:`${S}`,isBot:!!navigator.webdriver||/bot|crawler|spider|google|yandex|bing/i.test(navigator.userAgent),referrer:document.referrer,navigationType:k==null?void 0:k.type,screen_size:window.innerWidth+"x"+window.innerHeight},!0),this.clearAuthFlowData(),this.callback({error:h||"ÐÑибка авÑоÑизаÑии",error_description:g||"ÐÑоизоÑла непÑÐµÐ´Ð²Ð¸Ð´ÐµÐ½Ð½Ð°Ñ Ð¾Ñибка. ÐбÑаÑиÑеÑÑ Ð² ÑлÑÐ¶Ð±Ñ Ð¿Ð¾Ð´Ð´ÐµÑжки"}),TE(h,g)}if(!this.is_popup)return this.trackDebugAnalytics("eventHandleRedirectCallbackFetchToken"),yield this.prepareAndFetchToken(d,x,e==null?void 0:e.backendUrl)})}buildGoyaUrl(e){return`${this.goyaUrl}?${Bo(e)}`}prepareAndFetchToken(e,n=!1,r){return X(this,null,function*(){const{client_id:i}=this,{redirect_uri:u="",code_verifier:o="",state:a=""}=ce.get(i),s={grant_type:"authorization_code",client_id:i,redirect_uri:u,code_verifier:o,code:e,state:a};return yield this.getToken(s,n,r)})}getToken(e,n=!1,r){return X(this,null,function*(){const i=r||this.backendUrl;if(!i){this.trackDebugAnalytics("eventHandleRedirectCallbackTokenNoBackendUrl",{},!0),this.logError("Backend URL is not configured");return}try{const u=yield AE(`${i}${this.oauth2CodePath}`,e,this.headers,this.requestTimeout);if(u.error)throw this.sendErrorToSentry(u.error,"getToken_tokenError"),this.trackDebugAnalytics("eventHandleRedirectCallbackTokenError",{error:ct(u.error)},!0),this.callback({error:u.error,error_description:u.error_description,status_code:u.status,retry_after_seconds:u.retry_after_seconds}),new Error("Token response error");this.trackDebugAnalytics("eventHandleRedirectCallbackTokenSuccess"),this.callback({access_token:u.access_token,additional_data:u.additional_data,expires_in:u.expires_in,id_token:u.id_token,refresh_token:u.refresh_token,scope:u.scope,token_type:u.token_type});let o;if(n){const s=ce.get(this.client_id),c=s==null?void 0:s.gsid;o=In();const l={event_category:"auth",event_action:"success",event_label:"avtorizaciya",event_name:"auth-success-avtorizaciya",screen_size:window.innerWidth+"x"+window.innerHeight,event_timestamp:je()+"",event_timezone:Me(),page_url:window.location.origin+window.location.pathname,screen_name:window.location.pathname,event_group:"event",event_element_location:"webview",touch_point:"web",cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,appmetrica_device_id:this.appmetrica_device_id||void 0,gsid:c||void 0,req_id:o};this.trackDebugAnalytics("eventHandleRedirectCallbackGoyaToken",{goya_event:JSON.stringify(l)});const d=Object.fromEntries(Object.entries(l).filter(([p,h])=>p&&h!==void 0)),f=this.buildGoyaUrl(d);Sr(f,this.requestTimeout).catch(p=>{this.sendErrorToSentry(p,"getToken_goyaEvent"),this.trackDebugAnalytics("eventHandleRedirectCallbackGoyaAvrorizaciyaError",{error:ct(p)},!0),this.logError("Error in Goya event: ",p)})}const a={event_category:"auth",event_action:"success",event_label:"avtorizaciya",event_name:"auth-success-avtorizaciya",screen_size:window.innerWidth+"x"+window.innerHeight,event_timestamp:je()+"",event_timezone:Me(),page_url:window.location.origin+window.location.pathname,screen_name:window.location.pathname,event_group:"event",event_element_location:"webview",touch_point:"web",cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,appmetrica_device_id:this.appmetrica_device_id||void 0,sf:!0,client:this.writeKey,req_id:o};return this.trackAnalytics("eventAuthTokenReceived",a).catch(s=>{this.sendErrorToSentry(s,"getToken_trackAnalytics"),this.logError("Error in eventAuthTokenReceived event: ",s)}),this.preventAutoStorageCleanup||this.clearAuthFlowData(),{access_token:u.access_token,additional_data:u.additional_data,expires_in:u.expires_in,id_token:u.id_token,refresh_token:u.refresh_token,scope:u.scope,token_type:u.token_type}}catch(u){this.sendErrorToSentry(u,"getToken_catch"),this.trackDebugAnalytics("eventHandleRedirectCallbackGetTokenError",{error:ct(u)},!0),this.clearAuthFlowData();const{message:o}=u;throw this.callback({error:"ÐÑибка пÑи полÑÑении Ñокена",error_description:o}),new Error("Error in getToken method")}})}initDas(){return X(this,null,function*(){if(!this.kfpUrl)return;const e=ff(this.authUrl);let n;switch(e){case"prod":n="https://kevents.auth.gid.ru";break;case"preprod":case"stage":case"sandbox":n=`https://kevents-${e}.gid-auth.ru`;break;case"dev":case"test":n=`https://${e}-auth.k8s-dev.gid.team`;break;default:n=`https://${e}-auth.k8s-dev.gid.team`}window.dmcsfw={serverUrl:n,trackUrl:"/cld_track",configUrl:"/oxwdsq",bloomDataUrl:"/sd6ktbV.json",ClientId:e==="prod"?"22820":"22821"},this.scriptDAS=document.createElement("script"),this.scriptDAS.src=this.kfpUrl,this.scriptDAS.async=!0,document.head.appendChild(this.scriptDAS)})}init(){return X(this,null,function*(){this.injectStyles(),this.setID(),this.renderButtons();const e=`${this.authUrl}${RE}?client_id=${this.client_id}`;try{const{w_auth:n,widget_settings:r,web_curtain:i,trackers:u,enable_kfp:o,external_id:a}=yield CE(e,this.requestTimeout);this.isGoyaActive=u&&u.includes("goya"),this.isAnalyticsActive=u&&u.includes("tracking_receiver"),this.w_auth=n,this.widget_settings=r,this.web_curtain=i,this.external_id=a?`${a}`:void 0,this.isAnalyticsActive&&(this.analytics=Hw.load({writeKey:this.writeKey,cdnURL:this.tracking_receiver_url})),o&&(yield this.initDas())}catch(n){throw this.sendErrorToSentry(n,"init"),this.logError("Error getting config: ",n),new Error(`Error getting config: ${n}`)}this.setupBFCacheHandlers(),yield this.handleRedirectCallback()})}setupBFCacheHandlers(){this.checkBackButtonNavigation(),"persisted"in new PageTransitionEvent("pageshow")&&window.addEventListener("pageshow",e=>{e.persisted&&this.handleBFCacheRestore()})}handleBFCacheRestore(){const e=ce.get(this.client_id);e!=null&&e.gsid&&(this.sendAuthFlowCanceledEvent().catch(n=>{this.sendErrorToSentry(n,"sendAuthFlowCanceledEvent"),this.logError("Error sending auth flow canceled event: ",n)}),this.clearAuthFlowData())}checkBackButtonNavigation(){const e=ce.get(this.client_id),n=e==null?void 0:e.gsid,r=performance.getEntriesByType("navigation")[0];n&&(r==null?void 0:r.type)==="back_forward"&&(this.sendAuthFlowCanceledEvent().catch(i=>{this.sendErrorToSentry(i,"sendAuthFlowCanceledEvent"),this.logError("Error sending auth flow canceled event: ",i)}),this.clearAuthFlowData())}sendAuthFlowCanceledEvent(){return X(this,null,function*(){const e=ce.get(this.client_id),n=e==null?void 0:e.gsid,r=Pi(),i={name:"eventAuthFlowCanceled",sid:n||void 0,cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,user_agent:r,popup:this.is_popup,back_pressed:!0,external_id:this.external_id||void 0,ver:jo};this.trackAnalytics("eventAuthFlowCanceled",i)})}sendGoyaButtonClickInitEvent(e){return X(this,null,function*(){if(this.isGoyaActive&&(this.cid||this.product_name||this.session_id||this.appmetrica_device_id)){const n=ce.get(this.client_id),r=n==null?void 0:n.gsid,i={event_category:"auth",event_action:"button_click",event_label:"init",event_name:"auth-button_click-init",screen_size:window.innerWidth+"x"+window.innerHeight,event_timestamp:je()+"",event_timezone:Me(),page_url:window.location.origin+window.location.pathname,screen_name:window.location.pathname,event_group:"event",event_element_location:"webview",touch_point:"web",cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,appmetrica_device_id:this.appmetrica_device_id||void 0,gsid:r||void 0,req_id:e};this.trackDebugAnalytics("eventHandleRedirectCallbackGoyaButtonClickInit",{goya_event:JSON.stringify(i)});const u=Object.fromEntries(Object.entries(i).filter(([a,s])=>a&&s!==void 0)),o=this.buildGoyaUrl(u);Sr(o,this.requestTimeout).catch(a=>{this.sendErrorToSentry(a,"sendGoyaButtonClickInitEvent"),this.trackDebugAnalytics("eventHandleRedirectCallbackGoyaButtonClickInitError",{error:ct(a)},!0),this.logError("Error in Goya event: ",a)})}})}loginWithRedirect(e){return X(this,null,function*(){this.setConfigParams(e);const n=yield this.buildAuthorizeUrl(),r=this.isGoyaActive&&(this.cid||this.product_name||this.session_id||this.appmetrica_device_id);let i;r&&(i=In(),yield this.sendGoyaButtonClickInitEvent(i));const u={event_category:"auth",event_action:"button_click",event_label:"init",event_name:"auth-button_click-init",screen_size:window.innerWidth+"x"+window.innerHeight,event_timestamp:je()+"",event_timezone:Me(),page_url:window.location.origin+window.location.pathname,screen_name:window.location.pathname,event_group:"event",event_element_location:"webview",touch_point:"web",cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,appmetrica_device_id:this.appmetrica_device_id||void 0,sf:!0,client:this.writeKey,req_id:i,qr_flow:!!(e!=null&&e.quuid)};this.trackAnalytics("eventAuthFlowStarted",u),this.trackDebugAnalytics("eventLoginWithRedirectStart",{qr_flow:!!(e!=null&&e.quuid)}),window.location.assign(n)})}loginWithQuuidRedirect(e){return X(this,null,function*(){this.loginWithRedirect(e)})}setConfigParams(e){e&&(this.scope=e!=null&&e.scope?df(e.scope):this.initial_scope,this.redirect_uri=(e==null?void 0:e.redirectUri)||this.initial_redirect_uri,this.quuid=e==null?void 0:e.quuid,this.flowName=e==null?void 0:e.flowName)}initWebCurtain(){if(document.getElementById(No))return;const e=document.getElementById($o);e&&document.body.removeChild(e);const n=document.createElement("iframe"),r=`${this.authUrl}${LE}?client_id=${this.client_id}&scope=${this.scope.split(" ").join("+")}`,i=_8(n);this.initIframe(No,this.webCurtainLoginType||"redirect",r,n,i)}initIframe(e,n,r,i,u){i.id=e,i.width="0",i.height="0",i.className="widget_iframe",i.style.position="fixed",i.style.border="1px solid rgba(27, 44, 78, 0.1)",i.style.boxSizing="content-box",i.style.borderRadius="20px",i.style.maxHeight="600px",i.style.zIndex="9999",i.src=r,u(),document.body.appendChild(i),window.addEventListener("resize",u);const o=a=>{switch(a.data.customEvent){case Pn.Init:i.style.minWidth=`${$E}px`,i.style.height=`${a.data.frameHeight}px`;break;case Pn.Resize:i.style.height=`${a.data.frameHeight}px`;break;case Pn.Close:document.body.removeChild(i);break;case Pn.Login:document.body.removeChild(i),this.isSource=!0,n==="popup"&&this.loginWithPopup(),n==="redirect"&&this.loginWithRedirect();break;case Pn.LoginPrompt:document.body.removeChild(i),this.isPrompt=!0,this.isSource=!0,n==="popup"&&this.loginWithPopup(),n==="redirect"&&this.loginWithRedirect();break}};window.addEventListener("message",o),i.addEventListener("pagehide",function(){window.removeEventListener("message",o),window.removeEventListener("resize",u)})}initWidget(e,n){var r;if(document.getElementById(No))return;const i=document.createElement("iframe"),u=`${this.authUrl}${PE}?client_id=${e||this.client_id}&scope=${this.scope.split(" ").join("+")}`,o=b8(((r=this.widget_settings)==null?void 0:r.w_pos)||"",i);this.initIframe($o,n,u,i,o)}getWidget(e,n,r){return X(this,null,function*(){this.setConfigParams(r);try{if(this.w_auth&&!this.widget_settings)throw new Error("Ðе Ð·Ð°Ð´Ð°Ð½Ñ Ð½Ð°ÑÑÑойки авÑоÑизаÑионного виджеÑа");this.w_auth&&this.widget_settings&&!document.getElementById($o)&&this.initWidget(e,n)}catch(i){this.sendErrorToSentry(i,"getWidget"),this.logError("ÐÑибка пÑи полÑÑении наÑÑÑÐ¾ÐµÐºÑ Ð°Ð²ÑоÑизаÑионного виджеÑа",i)}})}loginWithNewTab(e){return X(this,null,function*(){return this.isNewTab=!0,yield this.loginWithPopup(e)})}loginWithPopup(e){return X(this,null,function*(){try{this.setConfigParams(e);const n=this.buildAuthorizeUrl(),r=this.isGoyaActive&&(this.cid||this.product_name||this.session_id||this.appmetrica_device_id);let i;r&&(i=In(),this.sendGoyaButtonClickInitEvent(i));const u={name:"eventAuthFlowStarted",event_category:"auth",event_action:"button_click",event_label:"init",event_name:"auth-button_click-init",screen_size:window.innerWidth+"x"+window.innerHeight,event_timestamp:je()+"",event_timezone:Me(),page_url:window.location.origin+window.location.pathname,screen_name:window.location.pathname,event_group:"event",event_element_location:"webview",touch_point:"web",cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,appmetrica_device_id:this.appmetrica_device_id||void 0,sf:!0,client:this.writeKey,req_id:i,qr_flow:!1};if(this.trackAnalytics("eventAuthFlowStarted",u),this.trackDebugAnalytics("eventLoginWithPopupStart"),this.popup===null||this.popup.closed){const o=n;if(this.popup=y8("",this.isNewTab),this.trackDebugAnalytics("eventLoginWithPopupOpenPopup",{is_new_tab:`${this.isNewTab}`}),this.isNewTab=!1,!this.popup)throw this.sendErrorToSentry(new Error("ÐÑибка пÑи попÑÑке оÑкÑÑÑÐ¸Ñ popup-окна"),"loginWithPopup_popupError"),this.trackDebugAnalytics("eventLoginWithPopupError",{},!0),this.callback({error:"POPUP_ERROR",error_description:"ÐÑибка пÑи попÑÑке оÑкÑÑÑÐ¸Ñ popup-окна"}),new Error("ÐÑибка пÑи попÑÑке оÑкÑÑÑÐ¸Ñ popup-окна");this.popup.location.href=o;const a=yield this.checkPopupForResult();a&&(yield this.handleRedirectCallback({currentUrl:a,allowGoyaEvent:!1}))}else return this.popup.focus(),Promise.resolve("Popup-окно Ñже оÑкÑÑÑо")}catch(n){return this.sendErrorToSentry(n,"loginWithPopup"),this.clearAuthFlowData(),Promise.reject(n)}})}checkPopupForResult(){return this.trackDebugAnalytics("eventCheckPopupForResultStart"),new Promise((e,n
234)=>{const r=new URL(this.redirect_uri).origin;let i=null;const u=o=>X(this,null,function*(){var a,s;try{if(o.origin===r&&this.popup&&!((a=this.popup)!=null&&a.closed)&&(s=o.data)!=null&&s.name&&o.data.name===Er){this.trackDebugAnalytics("eventCheckPopupForResultGetPostMessage"),window.removeEventListener("message",u);const{code:c,state:l}=lf(o.data.url);c&&l?(this.trackDebugAnalytics("eventCheckPopupForResultParamsSuccess"),this.popup.close(),clearInterval(i),e(o.data.url)):(this.sendErrorToSentry(new Error("ÐÑибка пÑи полÑÑении авÑоÑизаÑионного кода"),"checkPopupForResult_paramsError"),this.trackDebugAnalytics("eventCheckPopupForResultParamsError",{},!0),this.popup.close(),clearInterval(i),n(new Error("ÐÑибка пÑи полÑÑении авÑоÑизаÑионного кода")))}}catch(c){this.sendErrorToSentry(c,"checkPopupForResult_handleMessage"),n(c)}});window.addEventListener("message",u),i=setInterval(()=>{if(!this.popup||this.popup.closed&&i){window.removeEventListener("message",u),clearInterval(i),this.sendErrorToSentry(new Error("Ðопап бÑл закÑÑÑ Ð¿Ð¾Ð»ÑзоваÑелем до завеÑÑÐµÐ½Ð¸Ñ Ð°Ð²ÑоÑизаÑии."),"checkPopupForResult_popupClosed");const o=ce.get(this.client_id),a=o==null?void 0:o.gsid,s=Pi(),c={name:"eventAuthFlowCanceled",sid:a||void 0,cid:this.cid||void 0,session_id:this.session_id||void 0,product_name:this.product_name||void 0,user_agent:s,popup:this.is_popup,back_pressed:!1,external_id:this.external_id||void 0,ver:jo};this.trackAnalytics("eventAuthFlowCanceled",c),this.clearAuthFlowData(),n(new Error("Ðопап бÑл закÑÑÑ Ð¿Ð¾Ð»ÑзоваÑелем до завеÑÑÐµÐ½Ð¸Ñ Ð°Ð²ÑоÑизаÑии."));return}},500)})}sessionLogout(e){const n=this.buildLogoutUrl({id_token_hint:e,post_logout_redirect_uri:this.post_logout_uri});window.location.assign(n)}logout(e){return X(this,null,function*(){const n={client_id:this.client_id,token:e};try{yield OE(`${this.backendUrl}${NE}`,n,this.headers,this.requestTimeout)}catch(r){throw this.sendErrorToSentry(r,"logout"),this.logError("Error in logout method: ",r),new Error("ÐÑибка вÑзова logout")}})}logError(...e){this.debugConsole&&console.error(e)}clearAuthFlowData(){this.flowName=void 0,ce.remove(this.client_id)}}function x8(t){var e=t;return!!(e.ctrlKey||e.shiftKey||e.metaKey||e.button&&e.button==1)}function S8(t,e){return!!(t.target==="_blank"&&e)}function E8(t,e,n,r){var i=this,u=[];return t?(t instanceof Element?u=[t]:"toArray"in t?u=t.toArray():u=t,u.forEach(function(o){o.addEventListener("click",function(a){var s,c,l=e instanceof Function?e(o):e,d=n instanceof Function?n(o):n,f=o.getAttribute("href")||o.getAttributeNS("http://www.w3.org/1999/xlink","href")||o.getAttribute("xlink:href")||((s=o.getElementsByTagName("a")[0])===null||s===void 0?void 0:s.getAttribute("href")),p=$s(i.track(l,d,r??{}),(c=i.settings.timeout)!==null&&c!==void 0?c:500);!S8(o,f)&&!x8(a)&&f&&(a.preventDefault?a.preventDefault():a.returnValue=!1,p.catch(console.error).then(function(){window.location.href=f}).catch(console.error))},!1)}),this):this}function k8(t,e,n,r){var i=this;if(!t)return this;t instanceof HTMLFormElement&&(t=[t]);var u=t;return u.forEach(function(o){if(!(o instanceof Element))throw new TypeError("Must pass HTMLElement to trackForm/trackSubmit.");var a=function(c){var l;c.preventDefault?c.preventDefault():c.returnValue=!1;var d=e instanceof Function?e(o):e,f=n instanceof Function?n(o):n,p=$s(i.track(d,f,r??{}),(l=i.settings.timeout)!==null&&l!==void 0?l:500);p.catch(console.error).then(function(){o.submit()}).catch(console.error)},s=window.jQuery||window.Zepto;s?s(o).submit(a):o.addEventListener("submit",a,!1)}),this}const Li=Object.freeze(Object.defineProperty({__proto__:null,form:k8,link:E8},Symbol.toStringTag,{value:"Module"}));function hf(t,e){return Object.keys(e).reduce(function(n,r){if(r.startsWith(t)){var i=r.substr(t.length);n[i]=e[r]}return n},{})}function A8(t,e){var n=document.createElement("a");n.href=e;var r=n.search.slice(1),i=r.split("&").reduce(function(x,A){var C=A.split("="),_=C[0],E=C[1];return x[_]=s0(E),x},{}),u=[],o=i.ajs_uid,a=i.ajs_event,s=i.ajs_aid,c=Se(t.options.useQueryString)?t.options.useQueryString:{},l=c.aid,d=l===void 0?/.+/:l,f=c.uid,p=f===void 0?/.+/:f;if(s){var h=Array.isArray(i.ajs_aid)?i.ajs_aid[0]:i.ajs_aid;d.test(h)&&t.setAnonymousId(h)}if(o){var g=Array.isArray(i.ajs_uid)?i.ajs_uid[0]:i.ajs_uid;
vendor: 11,091 bytes, line 234
234if(p.test(g)){var v=hf("ajs_trait_",i);u.push(t.identify(g,v))}}if(a){var m=Array.isArray(i.ajs_event)?i.ajs_event[0]:i.ajs_event,y=hf("ajs_prop_",i);u.push(t.track(m,y))}return Promise.all(u)}const C8=Object.freeze(Object.defineProperty({__proto__:null,queryString:A8},Symbol.toStringTag,{value:"Module"}));var vf={exports:{}},gf;function O8(){return gf||(gf=1,function(t,e){/*! For license information please see tsub.js.LICENSE.txt */(function(n,r){t.exports=r()})(self,function(){return function(){var n={2870:function(u,o,a){var s=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(o,"__esModule",{value:!0}),o.Store=o.matches=o.transform=void 0;var c=a(4303);Object.defineProperty(o,"transform",{enumerable:!0,get:function(){return s(c).default}});var l=a(2370);Object.defineProperty(o,"matches",{enumerable:!0,get:function(){return s(l).default}});var d=a(1444);Object.defineProperty(o,"Store",{enumerable:!0,get:function(){return s(d).default}})},2370:function(u,o,a){var s=this&&this.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(o,"__esModule",{value:!0});var c=s(a(7843));function l(v,m){if(!Array.isArray(v))return d(v,m)===!0;var y,x,A,C,_=v[0];switch(_){case"!":return!l(v[1],m);case"or":for(var E=1;E<v.length;E++)if(l(v[E],m))return!0;return!1;case"and":for(E=1;E<v.length;E++)if(!l(v[E],m))return!1;return!0;case"=":case"!=":return function(w,S,k,T){switch(f(w)&&(w=l(w,T)),f(S)&&(S=l(S,T)),typeof w=="object"&&typeof S=="object"&&(w=JSON.stringify(w),S=JSON.stringify(S)),k){case"=":return w===S;case"!=":return w!==S;default:throw new Error("Invalid operator in compareItems: ".concat(k))}}(d(v[1],m),d(v[2],m),_,m);case"<=":case"<":case">":case">=":return function(w,S,k,T){if(f(w)&&(w=l(w,T)),f(S)&&(S=l(S,T)),typeof w!="number"||typeof S!="number")return!1;switch(k){case"<=":return w<=S;case">=":return w>=S;case"<":return w<S;case">":return w>S;default:throw new Error("Invalid operator in compareNumbers: ".concat(k))}}(d(v[1],m),d(v[2],m),_,m);case"in":return function(w,S,k){return S.find(function(T){return d(T,k)===w})!==void 0}(d(v[1],m),d(v[2],m),m);case"contains":return A=d(v[1],m),C=d(v[2],m),typeof A=="string"&&typeof C=="string"&&A.indexOf(C)!==-1;case"match":return y=d(v[1],m),x=d(v[2],m),typeof y=="string"&&typeof x=="string"&&function(w,S){var k,T;e:for(;w.length>0;){var O,R;if(O=(k=p(w)).star,R=k.chunk,w=k.pattern,O&&R==="")return!0;var P=h(R,S),$=P.t,U=P.ok,q=P.err;if(q)return!1;if(!U||!($.length===0||w.length>0)){if(O)for(var j=0;j<S.length;j++){if($=(T=h(R,S.slice(j+1))).t,U=T.ok,q=T.err,U){if(w.length===0&&$.length>0)continue;S=$;continue e}if(q)return!1}return!1}S=$}return S.length===0}(x,y);case"lowercase":var b=d(v[1],m);return typeof b!="string"?null:b.toLowerCase();case"typeof":return typeof d(v[1],m);case"length":return function(w){return w===null?0:Array.isArray(w)||typeof w=="string"?w.length:NaN}(d(v[1],m));default:throw new Error("FQL IR could not evaluate for token: ".concat(_))}}function d(v,m){return Array.isArray(v)?v:typeof v=="object"?v.value:(0,c.default)(m,v)}function f(v){return!!Array.isArray(v)&&((v[0]==="lowercase"||v[0]==="length"||v[0]==="typeof")&&v.length===2||(v[0]==="contains"||v[0]==="match")&&v.length===3)}function p(v){for(var m={star:!1,chunk:"",pattern:""};v.length>0&&v[0]==="*";)v=v.slice(1),m.star=!0;var y,x=!1;e:for(y=0;y<v.length;y++)switch(v[y]){case"\\":y+1<v.length&&y++;break;case"[":x=!0;break;case"]":x=!1;break;case"*":if(!x)break e}return m.chunk=v.slice(0,y),m.pattern=v.slice(y),m}function h(v,m){for(var y,x,A={t:"",ok:!1,err:!1};v.length>0;){if(m.length===0)return A;switch(v[0]){case"[":var C=m[0];m=m.slice(1);var _=!0;(v=v.slice(1)).length>0&&v[0]==="^"&&(_=!1,v=v.slice(1));for(var E=!1,b=0;;){if(v.length>0&&v[0]==="]"&&b>0){v=v.slice(1);break}var w,S="";if(w=(y=g(v)).char,v=y.newChunk,y.err||(S=w,v[0]==="-"&&(S=(x=g(v.slice(1))).char,v=x.newChunk,x.err)))return A;w<=C&&C<=S&&(E=!0),b++}if(E!==_)return A;break;case"?":m=m.slice(1),v=v.slice(1);break;case"\\":if((v=v.slice(1)).length===0)return A.err=!0,A;default:if(v[0]!==m[0])return A;m=m.slice(1),v=v.slice(1)}}return A.t=m,A.ok=!0,A.err=!1,A}function g(v){var m={char:"",newChunk:"",err:!1};return v.length===0||v[0]==="-"||v[0]==="]"||v[0]==="\\"&&(v=v.slice(1)).length===0?(m.err=!0,m):(m.char=v[0],m.newChunk=v.slice(1),m.newChunk.length===0&&(m.err=!0),m)}o.default=function(v,m){if(!m)throw new Error("No matcher supplied!");switch(m.type){case"all":return!0;case"fql":return function(y,x){if(!y)return!1;try{y=JSON.parse(y)}catch(C){throw new Error('Failed to JSON.parse FQL intermediate representation "'.concat(y,'": ').concat(C))}var A=l(y,x);return typeof A=="boolean"&&A}(m.ir,v);default:throw new Error("Matcher of type ".concat(m.type," unsupported."))}}},1444:function(u,o){Object.defineProperty(o,"__esModule",{value:!0});var a=function(){function s(c){this.rules=[],this.rules=c||[]}return s.prototype.getRulesByDestinationName=function(c){for(var l=[],d=0,f=this.rules;d<f.length;d++){var p=f[d];p.destinationName!==c&&p.destinationName!==void 0||l.push(p)}return l},s}();o.default=a},4303:function(u,o,a){var s=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(o,"__esModule",{value:!0});var c=s(a(374)),l=s(a(7843)),d=s(a(5500)),f=a(9014),p=a(4966);function h(A,C){v(A,C.drop,function(_,E){E.forEach(function(b){return delete _[b]})})}function g(A,C){v(A,C.allow,function(_,E){Object.keys(_).forEach(function(b){E.includes(b)||delete _[b]})})}function v(A,C,_){Object.entries(C).forEach(function(E){var b=E[0],w=E[1],S=function(T){typeof T=="object"&&T!==null&&_(T,w)},k=b===""?A:(0,l.default)(A,b);Array.isArray(k)?k.forEach(S):S(k)})}function m(A,C){var _=JSON.parse(JSON.stringify(A));for(var E in C.map)if(C.map.hasOwnProperty(E)){var b=C.map[E],w=E.split("."),S=void 0;if(w.length>1?(w.pop(),S=(0,l.default)(_,w.join("."))):S=A,typeof S=="object"){if(b.copy){var k=(0,l.default)(_,b.copy);k!==void 0&&(0,f.dset)(A,E,k)}else if(b.move){var T=(0,l.default)(_,b.move);T!==void 0&&(0,f.dset)(A,E,T),(0,p.unset)(A,b.move)}else b.hasOwnProperty("set")&&(0,f.dset)(A,E,b.set);if(b.to_string){var O=(0,l.default)(A,E);if(typeof O=="string"||typeof O=="object"&&O!==null)continue;O!==void 0?(0,f.dset)(A,E,JSON.stringify(O)):(0,f.dset)(A,E,"undefined")}}}}function y(A,C){return!(C.sample.percent<=0)&&(C.sample.percent>=1||(C.sample.path?function(E,b){var w=(0,l.default)(E,b.sample.path),S=(0,c.default)(JSON.stringify(w)),k=-64,T=[];x(S.slice(0,8),T);for(var O=0,R=0;R<64&&T[R]!==1;R++)O++;if(O!==0){var P=[];x(S.slice(9,16),P),k-=O,T.splice(0,O),P.splice(64-O),T=T.concat(P)}return T[63]=T[63]===0?1:0,(0,d.default)(parseInt(T.join(""),2),k)<b.sample.percent}(A,C):(_=C.sample.percent,Math.random()<=_)));var _}function x(A,C){for(var _=0;_<8;_++)for(var E=A[_],b=128;b>=1;b/=2)E-b>=0?(E-=b,C.push(1)):C.push(0)}o.default=function(A,C){for(var _=A,E=0,b=C;E<b.length;E++){var w=b[E];switch(w.type){case"drop":return null;case"drop_properties":h(_,w.config);break;case"allow_properties":g(_,w.config);break;case"sample_event":if(y(_,w.config))break;return null;case"map_properties":m(_,w.config);break;case"hash_properties":break;default:throw new Error('Transformer of type "'.concat(w.type,'" is unsupported.'))}}return _}},4966:function(u,o,a){var s=this&&this.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(o,"__esModule",{value:!0}),o.unset=void 0;var c=s(a(7843));o.unset=function(l,d){if((0,c.default)(l,d)){for(var f=d.split("."),p=f.pop();f.length&&f[f.length-1].slice(-1)==="\\";)p=f.pop().slice(0,-1)+"."+p;for(;f.length;)l=l[d=f.shift()];return delete l[p]}return!0}},9014:function(u,o){o.dset=function(a,s,c){s.split&&(s=s.split("."));for(var l,d,f=0,p=s.length,h=a;f<p&&(d=s[f++])!=="__proto__"&&d!=="constructor"&&d!=="prototype";)h=h[d]=f===p?c:typeof(l=h[d])==typeof s?l:0*s[f]!=0||~(""+s[f]).indexOf(".")?{}:[]}},3304:function(u){var o=typeof Float64Array=="function"?Float64Array:void 0;u.exports=o},7382:function(u,o,a){var s,c=a(5569),l=a(3304),d=a(8482);s=c()?l:d,u.exports=s},8482:function(u){u.exports=function(){throw new Error("not implemented")}},6322:function(u,o,a){var s,c=a(2508),l=a(5679),d=a(882);s=c()?l:d,u.exports=s},882:function(u){u.exports=function(){throw new Error("not implemented")}},5679:function(u){var o=typeof Uint16Array=="function"?Uint16Array:void 0;u.exports=o},4773:function(u,o,a){var s,c=a(9773),l=a(3004),d=a(3078);s=c()?l:d,u.exports=s},3078:function(u){u.exports=function(){throw new Error("not implemented")}},3004:function(u){var o=typeof Uint32Array=="function"?Uint32Array:void 0;u.exports=o},7980:function(u,o,a){var s,c=a(8114),l=a(6737),d=a(3357);s=c()?l:d,u.exports=s},3357:function(u){u.exports=function(){throw new Error("not implemented")}},6737:function(u){var o=typeof Uint8Array=="function"?Uint8Array:void 0;u.exports=o},2684:function(u){var o=typeof Float64Array=="function"?Float64Array:null;u.exports=o},5569:function(u,o,a){var s=a(3876);u.exports=s},3876:function(u,o,a){var s=a(1448),c=a(2684);u.exports=function(){var l,d;if(typeof c!="function")return!1;try{d=new c([1,3.14,-3.14,NaN]),l=s(d)&&d[0]===1&&d[1]===3.14&&d[2]===-3.14&&d[3]!=d[3]}catch{l=!1}return l}},9048:function(u,o,a){var s=a(3763);u.exports=s},3763:function(u){var o=Object.prototype.hasOwnProperty;u.exports=function(a,s){return a!=null&&o.call(a,s)}},7009:function(u,o,a){var s=a(6784);u.exports=s},6784:function(u){u.exports=function(){return typeof Symbol=="function"&&typeof Symbol("foo")=="symbol"}},3123:function(u,o,a){var s=a(8481);u.exports=s},8481:function(u,o,a){var s=a(7009)();u.exports=function(){return s&&typeof Symbol.toStringTag=="symbol"}},2508:function(u,o,a){var s=a(3403);u.exports=s},3403:function(u,o,a){var s=a(768),c=a(9668),l=a(187);u.exports=function(){var d,f;if(typeof l!="function")return!1;try{f=new l(f=[1,3.14,-3.14,c+1,c+2]),d=s(f)&&f[0]===1&&f[1]===3&&f[2]===c-2&&f[3]===0&&f[4]===1}catch{d=!1}return d}},187:function(u){var o=typeof Uint16Array=="function"?Uint16Array:null;u.exports=o},9773:function(u,o,a){var s=a(2822);u.exports=s},2822:function(u,o,a){var s=a(2744),c=a(3899),l=a(746);u.exports=function(){var d,f;if(typeof l!="function")return!1;try{f=new l(f=[1,3.14,-3.14,c+1,c+2]),d=s(f)&&f[0]===1&&f[1]===3&&f[2]===c-2&&f[3]===0&&f[4]===1}catch{d=!1}return d}},746:function(u){var o=typeof Uint32Array=="function"?Uint32Array:null;u.exports=o},8114:function(u,o,a){var s=a(8066);u.exports=s},8066:function(u,o,a){var s=a(8279),c=a(3443),l=a(2731);u.exports=function(){var d,f;if(typeof l!="function")return!1;try{f=new l(f=[1,3.14,-3.14,c+1,c+2]),d=s(f)&&f[0]===1&&f[1]===3&&f[2]===c-2&&f[3]===0&&f[4]===1}catch{d=!1}return d}},2731:function(u){var o=typeof Uint8Array=="function"?Uint8Array:null;u.exports=o},1448:function(u,o,a){var s=a(1453);u.exports=s},1453:function(u,o,a){var s=a(6208),c=typeof Float64Array=="function";u.exports=function(l){return c&&l instanceof Float64Array||s(l)==="[object Float64Array
234]"}},9331:function(u,o,a){var s=a(7980),c={uint16:a(6322),uint8:s};u.exports=c},5902:function(u,o,a){var s=a(4106);u.exports=s},4106:function(u,o,a){var s,c,l=a(9331);(c=new l.uint16(1))[0]=4660,s=new l.uint8(c.buffer)[0]===52,u.exports=s},768:function(u,o,a){var s=a(3823);u.exports=s},3823:function(u,o,a){var s=a(6208),c=typeof Uint16Array=="function";u.exports=function(l){return c&&l instanceof Uint16Array||s(l)==="[object Uint16Array]"}},2744:function(u,o,a){var s=a(2326);u.exports=s},2326:function(u,o,a){var s=a(6208),c=typeof Uint32Array=="function";u.exports=function(l){return c&&l instanceof Uint32Array||s(l)==="[object Uint32Array]"}},8279:function(u,o,a){var s=a(208);u.exports=s},208:function(u,o,a){var s=a(6208),c=typeof Uint8Array=="function";u.exports=function(l){return c&&l instanceof Uint8Array||s(l)==="[object Uint8Array]"}},6315:function(u){u.exports=1023},1686:function(u){u.exports=2147483647},3105:function(u){u.exports=2146435072},3449:function(u){u.exports=2147483648},6988:function(u){u.exports=-1023},9777:function(u){u.exports=1023},3690:function(u){u.exports=-1074},2918:function(u,o,a){var s=a(4772).NEGATIVE_INFINITY;u.exports=s},4165:function(u){var o=Number.POSITIVE_INFINITY;u.exports=o},6488:function(u){u.exports=22250738585072014e-324},9668:function(u){u.exports=65535},3899:function(u){u.exports=4294967295},3443:function(u){u.exports=255},7011:function(u,o,a){var s=a(812);u.exports=s},812:function(u,o,a){var s=a(4165),c=a(2918);u.exports=function(l){return l===s||l===c}},1883:function(u,o,a){var s=a(1797);u.exports=s},1797:function(u){u.exports=function(o){return o!=o}},513:function(u,o,a){var s=a(5760);u.exports=s},5760:function(u){u.exports=function(o){return Math.abs(o)}},5848:function(u,o,a){var s=a(677);u.exports=s},677:function(u,o,a){var s=a(3449),c=a(1686),l=a(7838),d=a(1921),f=a(2490),p=[0,0];u.exports=function(h,g){var v,m;return l.assign(h,p,1,0),v=p[0],v&=c,m=d(g),f(v|=m&=s,p[1])}},5500:function(u,o,a){var s=a(8397);u.exports=s},8397:function(u,o,a){var s=a(4165),c=a(2918),l=a(6315),d=a(9777),f=a(6988),p=a(3690),h=a(1883),g=a(7011),v=a(5848),m=a(4948),y=a(8478),x=a(7838),A=a(2490),C=[0,0],_=[0,0];u.exports=function(E,b){var w,S;return E===0||h(E)||g(E)?E:(m(C,E),b+=C[1],(b+=y(E=C[0]))<p?v(0,E):b>d?E<0?c:s:(b<=f?(b+=52,S=2220446049250313e-31):S=1,x(_,E),w=_[0],w&=2148532223,S*A(w|=b+l<<20,_[1])))}},4772:function(u,o,a){var s=a(7548);u.exports=s},7548:function(u){u.exports=Number},8478:function(u,o,a){var s=a(4500);u.exports=s},4500:function(u,o,a){var s=a(1921),c=a(3105),l=a(6315);u.exports=function(d){var f=s(d);return(f=(f&c)>>>20)-l|0}},2490:function(u,o,a){var s=a(9639);u.exports=s},4445:function(u,o,a){var s,c,l;a(5902)===!0?(c=1,l=0):(c=0,l=1),s={HIGH:c,LOW:l},u.exports=s},9639:function(u,o,a){var s=a(4773),c=a(7382),l=a(4445),d=new c(1),f=new s(d.buffer),p=l.HIGH,h=l.LOW;u.exports=function(g,v){return f[p]=g,f[h]=v,d[0]}},5646:function(u,o,a){var s;s=a(5902)===!0?1:0,u.exports=s},1921:function(u,o,a){var s=a(6285);u.exports=s},6285:function(u,o,a){var s=a(4773),c=a(7382),l=a(5646),d=new c(1),f=new s(d.buffer);u.exports=function(p){return d[0]=p,f[l]}},9024:function(u,o,a){var s=a(6488),c=a(7011),l=a(1883),d=a(513);u.exports=function(f,p,h,g){return l(f)||c(f)?(p[g]=f,p[g+h]=0,p):f!==0&&d(f)<s?(p[g]=4503599627370496*f,p[g+h]=-52,p):(p[g]=f,p[g+h]=0,p)}},4948:function(u,o,a){var s=a(7576),c=a(9422);s(c,"assign",a(9024)),u.exports=c},9422:function(u,o,a){var s=a(9024);u.exports=function(c){return s(c,[0,0],1,0)}},5239:function(u,o,a){var s=a(4773),c=a(7382),l=a(5782),d=new c(1),f=new s(d.buffer),p=l.HIGH,h=l.LOW;u.exports=function(g,v,m,y){return d[0]=g,v[y]=f[p],v[y+m]=f[h],v}},7838:function(u,o,a){var s=a(7576),c=a(4010);s(c,"assign",a(5239)),u.exports=c},5782:function(u,o,a){var s,c,l;a(5902)===!0?(c=1,l=0):(c=0,l=1),s={HIGH:c,LOW:l},u.exports=s},4010:function(u,o,a){var s=a(5239);u.exports=function(c){return s(c,[0,0],1,0)}},7576:function(u,o,a){var s=a(7063);u.exports=s},7063:function(u,o,a){var s=a(6691);u.exports=function(c,l,d){s(c,l,{configurable:!1,enumerable:!1,writable:!1,value:d})}},2073:function(u){var o=Object.defineProperty;u.exports=o},1680:function(u){var o=typeof Object.defineProperty=="function"?Object.defineProperty:null;u.exports=o},1471:function(u,o,a){var s=a(1680);u.exports=function(){try{return s({},"x",{}),!0}catch{return!1}}},6691:function(u,o,a){var s,c=a(1471),l=a(2073),d=a(1309);s=c()?l:d,u.exports=s},1309:function(u){var o=Object.prototype,a=o.toString,s=o.__defineGetter__,c=o.__defineSetter__,l=o.__lookupGetter__,d=o.__lookupSetter__;u.exports=function(f,p,h){var g,v,m,y;if(typeof f!="object"||f===null||a.call(f)==="[object Array]")throw new TypeError("invalid argument. First argument must be an object. Value: `"+f+"`.");if(typeof h!="object"||h===null||a.call(h)==="[object Array]")throw new TypeError("invalid argument. Property descriptor must be an object. Value: `"+h+"`.");if((v="value"in h)&&(l.call(f,p)||d.call(f,p)?(g=f.__proto__,f.__proto__=o,delete f[p],f[p]=h.value,f.__proto__=g):f[p]=h.value),m="get"
vendor: 19,330 bytes, line 234
234in h,y="set"in h,v&&(m||y))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return m&&s&&s.call(f,p,h.get),y&&c&&c.call(f,p,h.set),f}},6208:function(u,o,a){var s,c=a(3123),l=a(7407),d=a(4210);s=c()?d:l,u.exports=s},7407:function(u,o,a){var s=a(173);u.exports=function(c){return s.call(c)}},4210:function(u,o,a){var s=a(9048),c=a(1403),l=a(173);u.exports=function(d){var f,p,h;if(d==null)return l.call(d);p=d[c],f=s(d,c);try{d[c]=void 0}catch{return l.call(d)}return h=l.call(d),f?d[c]=p:delete d[c],h}},173:function(u){var o=Object.prototype.toString;u.exports=o},1403:function(u){var o=typeof Symbol=="function"?Symbol.toStringTag:"";u.exports=o},7843:function(u){u.exports=function(o,a,s,c,l){for(a=a.split?a.split("."):a,c=0;c<a.length;c++)o=o?o[a[c]]:l;return o===l?s:o}},374:function(u,o,a){a.r(o),a.d(o,{default:function(){return l}});for(var s=[],c=0;c<64;)s[c]=0|4294967296*Math.sin(++c%Math.PI);function l(d){var f,p,h,g=[f=1732584193,p=4023233417,~f,~p],v=[],m=unescape(encodeURI(d))+"Â",y=m.length;for(d=--y/4+2|15,v[--d]=8*y;~y;)v[y>>2]|=m.charCodeAt(y)<<8*y--;for(c=m=0;c<d;c+=16){for(y=g;m<64;y=[h=y[3],f+((h=y[0]+[f&p|~f&h,h&f|~h&p,f^p^h,p^(f|~h)][y=m>>4]+s[m]+~~v[c|15&[m,5*m+1,3*m+5,7*m][y]])<<(y=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*y+m++%4])|h>>>-y),f,p])f=0|y[1],p=y[2];for(m=4;m;)g[--m]+=y[m]}for(d="";m<32;)d+=(g[m>>3]>>4*(1^m++)&15).toString(16);return d}}},r={};function i(u){var o=r[u];if(o!==void 0)return o.exports;var a=r[u]={exports:{}};return n[u].call(a.exports,a,a.exports,i),a.exports}return i.d=function(u,o){for(var a in o)i.o(o,a)&&!i.o(u,a)&&Object.defineProperty(u,a,{enumerable:!0,get:o[a]})},i.o=function(u,o){return Object.prototype.hasOwnProperty.call(u,o)},i.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},i(2870)}()})}(vf)),vf.exports}var Uo=O8(),T8=function(t){return function(e){var n=e.payload,r=e.integration,i=e.next,u=new Uo.Store(t),o=u.getRulesByDestinationName(r);o.forEach(function(a){for(var s=a.matchers,c=a.transformers,l=0;l<s.length;l++)if(Uo.matches(n.obj,s[l])&&(n.obj=Uo.transform(n.obj,c[l]),n.obj===null))return i(null)}),i(n)}};const D8=Object.freeze(Object.defineProperty({__proto__:null,tsubMiddleware:T8},Symbol.toStringTag,{value:"Module"}));function Z0(t,e){var n,r;return typeof(e==null?void 0:e.enabled)=="boolean"?e.enabled:(r=(n=t==null?void 0:t.__default)===null||n===void 0?void 0:n.enabled)!==null&&r!==void 0?r:!0}function X0(t){return t.toLowerCase().replace(".","").replace(/\s+/g,"-")}function Q0(t,e){return e===void 0&&(e=!1),e?btoa(t).replace(/=/g,""):void 0}function F8(t){return("Integration"in t?t.Integration:t).prototype.name}function I8(t,e,n){var r,i;try{var u=((i=(r=window==null?void 0:window.performance)===null||r===void 0?void 0:r.getEntriesByName(t,"resource"))!==null&&i!==void 0?i:[])[0];u&&e.stats.gauge("legacy_destination_time",Math.round(u.duration),ne([n],u.duration<100?["cached"]:[],!0))}catch{}}function R8(t,e,n){var r;if("Integration"in t){var i={user:function(){return n.user()},addIntegration:function(){}};t(i),r=t.Integration}else r=t;var u=new r(e);return u.analytics=n,u}function P8(t,e,n,r){return L(this,void 0,void 0,function(){var i,u,o,a,s,c;return N(this,function(l){switch(l.label){case 0:i=X0(e),u=Q0(i,r),o=Ys(),a="".concat(o,"/integrations/").concat(u??i,"/").concat(n,"/").concat(u??i,".dynamic.js.gz"),l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Un(a)];case 2:return l.sent(),I8(a,t,e),[3,4];case 3:throw s=l.sent(),t.stats.gauge("legacy_destination_time",-1,["plugin:".concat(e),"failed"]),s;case 4:return c=window["".concat(i,"Deps")],[4,Promise.all(c.map(function(d){return Un(o+d+".gz")}))];case 5:return l.sent(),window["".concat(i,"Loader")](),[2,window["".concat(i,"Integration")]]}})})}function L8(t,e,n){return L(this,void 0,void 0,function(){var r,i,u,o;return N(this,function(a){return r=Ys(),i=X0(t),u=Q0(t,n),o="".concat(r,"/integrations/").concat(u??i,"/").concat(e,"/").concat(u??i,".dynamic.js.gz"),[2,Aw(o)]})})}function N8(t){var e,n,r,i;return(i=(n=(e=t==null?void 0:t.versionSettings)===null||e===void 0?void 0:e.override)!==null&&n!==void 0?n:(r=t==null?void 0:t.versionSettings)===null||r===void 0?void 0:r.version)!==null&&i!==void 0?i:"latest"}var $8=function(t,e){var n,r=e.type,i=e.bundlingStatus,u=e.versionSettings,o=i!=="unbundled"&&(r==="browser"||((n=u==null?void 0:u.componentTypes)===null||n===void 0?void 0:n.includes("browser")));return!t.startsWith("Segment")&&t!=="Iterable"&&o},j8=function(t,e){var n=e.All===!1&&e[t]===void 0;return e[t]===!1||n};function M8(t,e){return L(this,void 0,void 0,function(){var n,r=this;return N(this,function(i){switch(i.label){case 0:return n=[],Lt()?[2,e]:[4,i0(function(){return e.length>0&&Nh()},function(){return L(r,void 0,void 0,function(){var u,o,a;return N(this,function(s){switch(s.label){case 0:return u=e.pop(),u?[4,Bn(u,t)]:[2];case 1:return o=s.sent(),a=o instanceof Qe,a||n.push(u),[2]}})})})];case 1:return i.sent(),n.map(function(u){return e.pushWithBackoff(u)}),[2,e]}})})}var ev=function(){function t(e,n,r,i,u,o){i===void 0&&(i={});var a=this;this.options={},this.type="destination",this.middleware=[],this.initializePromise=js(),this.flushing=!1,this.name=e,this.version=n,this.settings=I({},i),this.disableAutoISOConversion=u.disableAutoISOConversion||!1,this.integrationSource=o,this.settings.type&&this.settings.type==="browser"&&delete this.settings.type,this.initializePromise.promise.then(function(s){return a._initialized=s},function(){}),this.options=u,this.buffer=u.disableClientPersistence?new Mu(4,[]):new Vu(4,"".concat(r,":dest-").concat(e)),this.scheduleFlush()}return t.prototype.isLoaded=function(){return!!this._ready},t.prototype.ready=function(){var e=this;return this.initializePromise.promise.then(function(){var n;return(n=e.onReady)!==null&&n!==void 0?n:Promise.resolve()})},t.prototype.load=function(e,n){var r;return L(this,void 0,void 0,function(){var i,u,o=this;return N(this,function(a){switch(a.label){case 0:return this._ready||this.onReady!==void 0?[2]:(r=this.integrationSource)!==null&&r!==void 0?(u=r,[3,3]):[3,1];case 1:return[4,P8(e,this.name,this.version,this.options.obfuscate)];case 2:u=a.sent(),a.label=3;case 3:i=u,this.integration=R8(i,this.settings,n),this.onReady=new Promise(function(s){var c=function(){o._ready=!0,s(!0)};o.integration.once("ready",c)}),this.integration.on("initialize",function(){o.initializePromise.resolve(!0)});try{At(e,{integrationName:this.name,methodName:"initialize",type:"classic"}),this.integration.initialize()}catch(s){throw At(e,{integrationName:this.name,methodName:"initialize",type:"classic",didError:!0}),this.initializePromise.resolve(!1),s}return[2]}})})},t.prototype.unload=function(e,n){return L8(this.name,this.version,this.options.obfuscate)},t.prototype.addMiddleware=function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];this.middleware=(e=this.middleware).concat.apply(e,n)},t.prototype.shouldBuffer=function(e){return e.event.type!=="page"&&(Lt()||this._ready!==!0||this._initialized!==!0)},t.prototype.send=function(e,n,r){var i,u;return L(this,void 0,void 0,function(){var o,a,s,c,l,d;return N(this,function(f){switch(f.label){case 0:return this.shouldBuffer(e)?(this.buffer.push(e),this.scheduleFlush(),[2,e]):(o=(u=(i=this.options)===null||i===void 0?void 0:i.plan)===null||u===void 0?void 0:u.track,a=e.event.event,o&&a&&this.name!=="Segment.io"&&(s=o[a],Z0(o,s)?e.updateEvent("integrations",I(I({},e.event.integrations),s==null?void 0:s.integrations)):(e.updateEvent("integrations",I(I({},e.event.integrations),{All:!1,"Segment.io":!0})),e.cancel(new Pt({retry:!1,reason:"Event ".concat(a," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"}))),s!=null&&s.enabled&&(s==null?void 0:s.integrations[this.name])===!1&&e.cancel(new Pt({retry:!1,reason:"Event ".concat(a," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"}))),[4,Zs(this.name,e.event,this.middleware)]);case 1:if(c=f.sent(),c===null)return[2,e];l=new n(c,{traverse:!this.disableAutoISOConversion}),At(e,{integrationName:this.name,methodName:r,type:"classic"}),f.label=2;case 2:return f.trys.push([2,5,,6]),this.integration?[4,this.integration.invoke.call(this.integration,r,l)]:[3,4];case 3:f.sent(),f.label=4;case 4:return[3,6];case 5:throw d=f.sent(),At(e,{integrationName:this.name,methodName:r,type:"classic",didError:!0}),d;case 6:return[2,e]}})})},t.prototype.track=function(e){return L(this,void 0,void 0,function(){return N(this,function(n){return[2,this.send(e,Ie.Track,"track")]})})},t.prototype.page=function(e){var n;return L(this,void 0,void 0,function(){return N(this,function(r){switch(r.label){case 0:return!((n=this.integration)===null||n===void 0)&&n._assumesPageview&&!this._initialized&&this.integration.initialize(),[4,this.initializePromise.promise];case 1:return r.sent(),[2,this.send(e,Ie.Page,"page")]}})})},t.prototype.identify=function(e){return L(this,void 0,void 0,function(){return N(this,function(n){return[2,this.send(e,Ie.Identify,"identify")]})})},t.prototype.alias=function(e){return L(this,void 0,void 0,function(){return N(this,function(n){return[2,this.send(e,Ie.Alias,"alias")]})})},t.prototype.group=function(e){return L(this,void 0,void 0,function(){return N(this,function(n){return[2,this.send(e,Ie.Group,"group")]})})},t.prototype.scheduleFlush=function(){var e=this;this.flushing||setTimeout(function(){return L(e,void 0,void 0,function(){var n;return N(this,function(r){switch(r.label){case 0:return Lt()||this._ready!==!0||this._initialized!==!0?(this.scheduleFlush(),[2]):(this.flushing=!0,n=this,[4,M8(this,this.buffer)]);case 1:return n.buffer=r.sent(),this.flushing=!1,this.buffer.todo>0&&this.scheduleFlush(),[2]}})})},Math.random()*5e3)},t}();function B8(t,e,n,r,i,u){var o,a;if(n===void 0&&(n={}),r===void 0&&(r={}),Lh())return[];e.plan&&(r=r??{},r.plan=e.plan);var s=(a=(o=e.middlewareSettings)===null||o===void 0?void 0:o.routingRules)!==null&&a!==void 0?a:[],c=e.integrations,l=r.integrations,d=a0(e,r??{}),f=u==null?void 0:u.reduce(function(h,g){var v;return I(I({},h),(v={},v[F8(g)]=g,v))},{}),p=new Set(ne(ne([],Object.keys(c).filter(function(h){return $8(h,c[h])}),!0),Object.keys(f||{}).filter(function(h){return Se(c[h])||Se(l==null?void 0:l[h])}),!0));return Array.from(p).filter(function(h){return!j8(h,n)}).map(function(h){var g=c[h],v=N8(g),m=new ev(h,v,t,d[h],r,f==null?void 0:f[h]),y=s.filter(function(x){return x.destinationName===h});return y.length>0&&i&&m.addMiddleware(i),m})}const U8=Object.freeze(Object.defineProperty({__proto__:null,LegacyDestination:ev,ajsDestinations:B8},Symbol.toStringTag,{value:"Module"}));function V8(t){return L(this,void 0,void 0,function(){var e;return N(this,function(n){switch(n.label){case 0:return[4,Promise.resolve().then(()=>Z8)];case 1:return e=n.sent(),t._plugins=e,[2]}})})}const q8=Object.freeze(Object.defineProperty({__proto__:null,loadLegacyVideoPlugins:V8},Symbol.toStringTag,{value:"Module"}));function z8(t,e){var n,r;if(!t||!Object.keys(t))return{};var i=t.integrations?Object.keys(t.integrations).filter(function(o){return t.integrations[o]===!1}):[],u=[];return((n=e.remotePlugins)!==null&&n!==void 0?n:[]).forEach(function(o){i.forEach(function(a){o.creationName==a&&u.push(o.name)})}),((r=e.remotePlugins)!==null&&r!==void 0?r:[]).reduce(function(o,a){return a.settings.subscriptions&&u.includes(a.name)&&a.settings.subscriptions.forEach(function(s){return o["".concat(a.name," ").concat(s.partnerAction)]=!1}),o},{})}function H8(t,e){function n(r){var i=t,u=r.event.event;if(i&&u){var o=i[u];if(Z0(i,o)){var a=z8(o,e);r.updateEvent("integrations",I(I(I({},r.event.integrations),o==null?void 0:o.integrations),a))}else return r.updateEvent("integrations",I(I({},r.event.integrations),{All:!1,"Segment.io":!0})),r}return r}return{name:"Schema Filter",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},type:"before",page:n,alias:n,track:n,identify:n,group:n}}const G8=Object.freeze(Object.defineProperty({__proto__:null,schemaFilter:H8},Symbol.toStringTag,{value:"Module"}));function W8(t,e,n){var r;return L(this,void 0,void 0,function(){var i,u,o,a,s,c=this;return N(this,function(l){switch(l.label){case 0:return Lh()?[2,[]]:(i=Ys(),u=(r=e.enabledMiddleware)!==null&&r!==void 0?r:{},o=Object.entries(u).filter(function(d){d[0];var f=d[1];return f}).map(function(d){var f=d[0];return f}),a=o.map(function(d){return L(c,void 0,void 0,function(){var f,p,h,g;return N(this,function(v){switch(v.label){case 0:f=d.replace("@segment/",""),p=f,n&&(p=btoa(f).replace(/=/g,"")),h="".concat(i,"/middleware/").concat(p,"/latest/").concat(p,".js.gz"),v.label=1;case 1:return v.trys.push([1,3,,4]),[4,Un(h)];case 2:return v.sent(),[2,window["".concat(f,"Middleware")]];case 3:return g=v.sent(),t.log("error",g),t.stats.increment("failed_remote_middleware"),[3,4];case 4:return[2]}})})}),[4,Promise.all(a)]);case 1:return s=l.sent(),s=s.filter(Boolean),[2,s]}})})}const K8=Object.freeze(Object.defineProperty({__proto__:null,remoteMiddlewares:W8},Symbol.toStringTag,{value:"Module"}));var mf={exports:{}},yf;function J8(){return yf||(yf=1,function(t,e){(function(n,r){t.exports=r()})(window,function(){return function(n){var r={};function i(u){if(r[u])return r[u].exports;var o=r[u]={i:u,l:!1,exports:{}};return n[u].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=n,i.c=r,i.d=function(u,o,a){i.o(u,o)||Object.defineProperty(u,o,{enumerable:!0,get:a})},i.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},i.t=function(u,o){if(1&o&&(u=i(u)),8&o||4&o&&typeof u=="object"&&u&&u.__esModule)return u;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:u}),2&o&&typeof u!="string")for(var s in u)i.d(a,s,(function(c){return u[c]}).bind(null,s));return a},i.n=function(u){var o=u&&u.__esModule?function(){return u.default}:function(){return u};return i.d(o,"a",o),o},i.o=function(u,o){return Object.prototype.hasOwnProperty.call(u,o)},i.p="",i(i.s=2)}([function(n,r,i){i.r(r);var u=typeof fetch=="function"?fetch.bind():function(o,a){return a=a||{},new Promise(function(s,c){var l=new XMLHttpRequest;for(var d in l.open(a.method||"get",o,!0),a.headers)l.setRequestHeader(d,a.headers[d]);function f(){var p,h=[],g=[],v={};return l.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(m,y,x){h.push(y=y.toLowerCase()),g.push([y,x]),p=v[y],v[y]=p?p+","+x:x}),{ok:(l.status/100|0)==2,status:l.status,statusText:l.statusText,url:l.responseURL,clone:f,text:function(){return Promise.resolve(l.responseText)},json:function(){return Promise.resolve(l.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([l.response]))},headers:{keys:function(){return h},entries:function(){return g},get:function(m){return v[m.toLowerCase()]},has:function(m){return m.toLowerCase()in v}}}}l.withCredentials=a.credentials=="include",l.onload=function(){s(f())},l.onerror=c,l.send(a.body)})};r.default=u},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var u=function(){function a(s,c){for(var l=0;l<c.length;l++){var d=c[l];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(s,d.key,d)}}return function(s,c,l){return c&&a(s.prototype,c),l&&a(s,l),s}}(),o=function(){function a(s,c){(function(l,d){if(!(l instanceof d))throw new TypeError("Cannot call a class as a function")})(this,a),this.pluginName=s}return u(a,[{key:"track",value:function(s,c){window.analytics.track(s,c,{integration:{name:this.pluginName}})}}]),a}();r.default=o},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0}),r.YouTubeAnalytics=r.VimeoAnalytics=void 0;var u=a(i(3)),o=a(i(4));function a(s){return s&&s.__esModule?s:{default:s}}r.VimeoAnalytics=u.default,r.YouTubeAnalytics=o.default},function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var u=function(){function c(l,d){for(var f=0;f<d.length;f++){var p=d[f];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(l,p.key,p)}}return function(l,d,f){return d&&c(l.prototype,d),f&&c(l,f),l}}(),o=a(i(0));function a(c){return c&&c.__esModule?c:{default:c}}var s=function(c){function l(d,f){(function(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")})(this,l);var p=function(h,g){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!g||typeof g!="object"&&typeof g!="function"?h:g}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,"VimeoAnalytics"));return p.authToken=f,p.player=d,p.metadata={content:{},playback:{videoPlayer:"Vimeo"}},p.mostRecentHeartbeat=0,p.isPaused=!1,p}return function(d,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);d.prototype=Object.create(f&&f.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(d,f):d.__proto__=f)}(l,c),u(l,[{key:"initialize",value:function(){var d=this,f={loaded:this.retrieveMetadata,play:this.trackPlay,pause:this.trackPause,ended:this.trackEnded,timeupdate:this.trackHeartbeat};for(var p in f)this.registerHandler(p,f[p]);this.player.getVideoId().then(function(h){d.retrieveMetadata({id:h})}).catch(console.error)}},{key:"registerHandler",value:function(d,f){var p=this;this.player.on(d,function(h){p.updateMetadata(h),f.call(p,h)})}},{key:"trackPlay",value:function(){this.isPaused?(this.track("Video Playback Resumed",this.metadata.playback),this.isPaused=!1):(this.track("Video Playback Started",this.metadata.playback),this.track("Video Content Started",this.metadata.content))}},{key:"trackEnded",value:function(){this.track("Video Playback Completed",this.metadata.playback),this.track("Video Content Completed",this.metadata.content)}},{key:"trackHeartbeat",value:function(){var d=this.mostRecentHeartbeat,f=this.metadata.playback.position;f!==d&&f-d>=10&&(this.track("Video Content Playing",this.metadata.content),this.mostRecentHeartbeat=Math.floor(f))}},{key:"trackPause",value:function(){this.isPaused=!0,this.track("Video Playback Paused",this.metadata.playback)}},{key:"retrieveMetadata",value:function(d){var f=this;return new Promise(function(p,h){var g=d.id;(0,o.default)("https://api.vimeo.com/videos/"+g,{headers:{Authorization:"Bearer "+f.authToken}}).then(function(v){return v.ok?v.json():h(v)}).then(function(v){f.metadata.content.title=v.name,f.metadata.content.description=v.description,f.metadata.content.publisher=v.user.name,f.metadata.playback.position=0,f.metadata.playback.totalLength=v.duration}).catch(function(v){return console.error("Request to Vimeo API Failed with: ",v),h(v)})})}},{key:"updateMetadata",value:function(d){var f=this;return new Promise(function(p,h){f.player.getVolume().then(function(g){g&&(f.metadata.playback.sound=100*g),f.metadata.playback.position=d.seconds,p()}).catch(h)})}}]),l}(a(i(1)).default);r.default=s}
234,function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var u=function(){function d(f,p){for(var h=0;h<p.length;h++){var g=p[h];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(f,g.key,g)}}return function(f,p,h){return p&&d(f.prototype,p),h&&d(f,h),f}}(),o=s(i(0)),a=s(i(1));function s(d){return d&&d.__esModule?d:{default:d}}var c=function(d){function f(p,h){(function(v,m){if(!(v instanceof m))throw new TypeError("Cannot call a class as a function")})(this,f);var g=function(v,m){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!m||typeof m!="object"&&typeof m!="function"?v:m}(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,"YoutubeAnalytics"));return g.player=p,g.apiKey=h,g.playerLoaded=!1,g.playbackStarted=!1,g.contentStarted=!1,g.isPaused=!1,g.isBuffering=!1,g.isSeeking=!1,g.lastRecordedTime={timeReported:Date.now(),timeElapsed:0},g.metadata=[{playback:{video_player:"youtube"},content:{}}],g.playlistIndex=0,g}return function(p,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);p.prototype=Object.create(h&&h.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(p,h):p.__proto__=h)}(f,d),u(f,[{key:"initialize",value:function(){window.segmentYoutubeOnStateChange=this.onPlayerStateChange.bind(this),window.segmentYoutubeOnReady=this.onPlayerReady.bind(this),this.player.addEventListener("onReady","segmentYoutubeOnReady"),this.player.addEventListener("onStateChange","segmentYoutubeOnStateChange")}},{key:"onPlayerReady",value:function(p){this.retrieveMetadata()}},{key:"onPlayerStateChange",value:function(p){var h=this.player.getCurrentTime();switch(this.metadata[this.playlistIndex]&&(this.metadata[this.playlistIndex].playback.position=this.metadata[this.playlistIndex].content.position=h,this.metadata[this.playlistIndex].playback.quality=this.player.getPlaybackQuality(),this.metadata[this.playlistIndex].playback.sound=this.player.isMuted()?0:this.player.getVolume()),p.data){case-1:if(this.playerLoaded)break;this.retrieveMetadata(),this.playerLoaded=!0;break;case YT.PlayerState.BUFFERING:this.handleBuffer();break;case YT.PlayerState.PLAYING:this.handlePlay();break;case YT.PlayerState.PAUSED:this.handlePause();break;case YT.PlayerState.ENDED:this.handleEnd()}this.lastRecordedTime={timeReported:Date.now(),timeElapsed:1e3*this.player.getCurrentTime()}}},{key:"retrieveMetadata",value:function(){var p=this;return new Promise(function(h,g){var v=p.player.getVideoData(),m=p.player.getPlaylist()||[v.video_id],y=m.join();(0,o.default)("https://www.googleapis.com/youtube/v3/videos?id="+y+"&part=snippet,contentDetails&key="+p.apiKey).then(function(x){if(!x.ok){var A=new Error("Segment request to Youtube API failed (likely due to a bad API Key. Events will still be sent but will not contain video metadata)");throw A.response=x,A}return x.json()}).then(function(x){p.metadata=[];for(var A=0,C=0;C<m.length;C++){var _=x.items[C];p.metadata.push({content:{title:_.snippet.title,description:_.snippet.description,keywords:_.snippet.tags,channel:_.snippet.channelTitle,airdate:_.snippet.publishedAt}}),A+=l(_.contentDetails.duration)}for(C=0;C<m.length;C++)p.metadata[C].playback={total_length:A,video_player:"youtube"};h()}).catch(function(x){p.metadata=m.map(function(A){return{playback:{video_player:"youtube"},content:{}}}),g(x)})})}},{key:"handleBuffer",value:function(){var p=this.determineSeek();this.playbackStarted||(this.playbackStarted=!0,this.track("Video Playback Started",this.metadata[this.playlistIndex].playback)),p&&!this.isSeeking&&(this.isSeeking=!0,this.track("Video Playback Seek Started",this.metadata[this.playlistIndex].playback)),this.isSeeking&&(this.track("Video Playback Seek Completed",this.metadata[this.playlistIndex].playback),this.isSeeking=!1);var h=this.player.getPlaylist();h&&this.player.getCurrentTime()===0&&this.player.getPlaylistIndex()!==this.playlistIndex&&(this.contentStarted=!1,this.playlistIndex===h.length-1&&this.player.getPlaylistIndex()===0&&(this.track("Video Playback Completed",this.metadata[this.player.getPlaylistIndex()].playback),this.track("Video Playback Started",this.metadata[this.player.getPlaylistIndex()].playback))),this.track("Video Playback Buffer Started",this.metadata[this.playlistIndex].playback),this.isBuffering=!0}},{key:"handlePlay",value:function(){this.contentStarted||(this.playlistIndex=this.player.getPlaylistIndex(),this.playlistIndex===-1&&(this.playlistIndex=0),this.track("Video Content Started",this.metadata[this.playlistIndex].content),this.contentStarted=!0),this.isBuffering&&(this.track("Video Playback Buffer Completed",this.metadata[this.playlistIndex].playback),this.isBuffering=!1),this.isPaused&&(this.track("Video Playback Resumed",this.metadata[this.playlistIndex].playback),this.isPaused=!1)}},{key:"handlePause",value:function(){var p=this.determineSeek();this.isBuffering&&(this.track("Video Playback Buffer Completed",this.metadata[this.playlistIndex].playback),this.isBuffering=!1),this.isPaused||(p?(this.track("Video Playback Seek Started",this.metadata[this.playlistIndex].playback),this.isSeeking=!0):(this.track("Video Playback Paused",this.metadata[this.playlistIndex].playback),this.isPaused=!0))}},{key:"handleEnd",value:function(){this.track("Video Content Completed",this.metadata[this.playlistIndex].content),this.contentStarted=!1;var p=this.player.getPlaylistIndex(),h=this.player.getPlaylist();(h&&p===h.length-1||p===-1)&&(this.track("Video Playback Completed",this.metadata[this.playlistIndex].playback),this.playbackStarted=!1)}},{key:"determineSeek",value:function(){var p=this.isPaused||this.isBuffering?0:Date.now()-this.lastRecordedTime.timeReported,h=1e3*this.player.getCurrentTime()-this.lastRecordedTime.timeElapsed;return Math.abs(p-h)>2e3}}]),f}(a.default);function l(d){var f=d.match(/PT(\d+H)?(\d+M)?(\d+S)?/);return f=f.slice(1).map(function(p){if(p!=null)return p.replace(/\D/,"")}),3600*(parseInt(f[0])||0)+60*(parseInt(f[1])||0)+(parseInt(f[2])||0)}r.default=c}])})}(mf)),mf.exports}var tv=J8();const Y8=M3(tv),Z8=T_({__proto__:null,default:Y8},[tv]);class bf{constructor(){st(this,"t");st(this,"o",0);st(this,"i",[])}u(e){var i;if(e.hadRecentInput)return;const n=this.i[0],r=this.i.at(-1);this.o&&n&&r&&e.startTime-r.startTime<1e3&&e.startTime-n.startTime<5e3?(this.o+=e.value,this.i.push(e)):(this.o=e.value,this.i=[e]),(i=this.t)==null||i.call(this,e)}}const pr=()=>{const t=performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart<performance.now())return t},mu=t=>{if(document.readyState==="loading")return"loading";{const e=pr();if(e){if(t<e.domInteractive)return"loading";if(e.domContentLoadedEventStart===0||t<e.domContentLoadedEventStart)return"dom-interactive";if(e.domComplete===0||t<e.domComplete)return"dom-content-loaded"}}return"complete"},X8=t=>{const e=t.nodeName;return t.nodeType===1?e.toLowerCase():e.toUpperCase().replace(/^#/,"")},fc=t=>{let e="";try{for(;(t==null?void 0:t.nodeType)!==9;){const n=t,r=n.id?"#"+n.id:[X8(n),...Array.from(n.classList).sort()].join(".");if(e.length+r.length>99)return e||r;if(e=e?r+">"+e:r,n.id)break;t=n.parentNode}}catch{}return e},Vo=new WeakMap;function ir(t,e){return Vo.get(t)||Vo.set(t,new e),Vo.get(t)}let nv=-1;const rv=()=>nv,hr=t=>{addEventListener("pageshow",e=>{e.persisted&&(nv=e.timeStamp,t(e))},!0)},it=(t,e,n,r)=>{let i,u;return o=>{e.value>=0&&(o||r)&&(u=e.value-(i??0),(u||i===void 0)&&(i=e.value,e.delta=u,e.rating=((a,s)=>a>s[1]?"poor":a>s[0]?"needs-improvement":"good")(e.value,n),t(e)))}},pc=t=>{requestAnimationFrame(()=>requestAnimationFrame(()=>t()))},di=()=>{const t=pr();return(t==null?void 0:t.activationStart)??0},ut=(t,e=-1)=>{const n=pr();let r="navigate";return rv()>=0?r="back-forward-cache":n&&(document.prerendering||di()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:t,value:e,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},ur=(t,e,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const r=new PerformanceObserver(i=>{Promise.resolve().then(()=>{e(i.getEntries())})});return r.observe({type:t,buffered:!0,...n}),r}}catch{}},hc=t=>{let e=!1;return()=>{e||(t(),e=!0)}};let Nn=-1;const iv=new Set,_f=()=>document.visibilityState!=="hidden"||document.prerendering?1/0:0,Ba=t=>{if(document.visibilityState==="hidden"){if(t.type==="visibilitychange")for(const e of iv)e();isFinite(Nn)||(Nn=t.type==="visibilitychange"?t.timeStamp:0,removeEventListener("prerenderingchange",Ba,!0))}},no=()=>{var t;if(Nn<0){const e=di();Nn=(document.prerendering||(t=globalThis.performance.getEntriesByType("visibility-state").filter(r=>r.name==="hidden"&&r.startTime>e)[0])==null?void 0:t.startTime)??_f(),addEventListener("visibilitychange",Ba,!0),addEventListener("prerenderingchange",Ba,!0),hr(()=>{setTimeout(()=>{Nn=_f()})})}return{get firstHiddenTime(){return Nn},onHidden(e){iv.add(e)}}},ro=t=>{document.prerendering?addEventListener("prerenderingchange",()=>t(),!0):t()},Ua=[1800,3e3],uv=(t,e={})=>{ro(()=>{const n=no();let r,i=ut("FCP");const u=ur("paint",o=>{for(const a of o)a.name==="first-contentful-paint"&&(u.disconnect(),a.startTime<n.firstHiddenTime&&(i.value=Math.max(a.startTime-di(),0),i.entries.push(a),r(!0)))});u&&(r=it(t,i,Ua,e.reportAllChanges),hr(o=>{i=ut("FCP"),r=it(t,i,Ua,e.reportAllChanges),pc(()=>{i.value=performance.now()-o.timeStamp,r(!0)})}))})},Va=[.1,.25],wf=t=>t.find(e=>{var n;return((n=e.node)==null?void 0:n.nodeType)===1})||t[0],Q8=(t,e={})=>{const n=ir(e=Object.assign({},e),bf),r=new WeakMap;n.t=i=>{var u,o;if((u=i==null?void 0:i.sources)!=null&&u.length){const a=wf(i.sources),s=a==null?void 0:a.node;if(s){const c=((o=e.generateTarget)==null?void 0:o.call(e,s))??fc(s);r.set(a,c)}}},((i,u={})=>{const o=no();uv(hc(()=>{let a,s=ut("CLS",0);const c=ir(u,bf),l=f=>{for(const p of f)c.u(p);c.o>s.value&&(s.value=c.o,s.entries=c.i,a())},d=ur("layout-shift",l);d&&(a=it(i,s,Va,u.reportAllChanges),o.onHidden(()=>{l(d.takeRecords()),a(!0)}),hr(()=>{c.o=0,s=ut("CLS",0),a=it(i,s,Va,u.reportAllChanges),pc(()=>a())}),setTimeout(a))}))})(i=>{const u=(o=>{var s;let a={};
vendor: 6,511 bytes, line 234
234if(o.entries.length){const c=o.entries.reduce((l,d)=>l.value>d.value?l:d);if((s=c==null?void 0:c.sources)!=null&&s.length){const l=wf(c.sources);l&&(a={largestShiftTarget:r.get(l),largestShiftTime:c.startTime,largestShiftValue:c.value,largestShiftSource:l,largestShiftEntry:c,loadState:mu(c.startTime)})}}return Object.assign(o,{attribution:a})})(i);t(u)},e)},e5=(t,e={})=>{uv(n=>{const r=(i=>{let u={timeToFirstByte:0,firstByteToFCP:i.value,loadState:mu(rv())};if(i.entries.length){const o=pr(),a=i.entries.at(-1);if(o){const s=o.activationStart||0,c=Math.max(0,o.responseStart-s);u={timeToFirstByte:c,firstByteToFCP:i.value-c,loadState:mu(i.entries[0].startTime),navigationEntry:o,fcpEntry:a}}}return Object.assign(i,{attribution:u})})(n);t(r)},e)};let ov=0,qo=1/0,Ni=0;const t5=t=>{for(const e of t)e.interactionId&&(qo=Math.min(qo,e.interactionId),Ni=Math.max(Ni,e.interactionId),ov=Ni?(Ni-qo)/7+1:0)};let qa;const xf=()=>qa?ov:performance.interactionCount??0,n5=()=>{"interactionCount"in performance||qa||(qa=ur("event",t5,{type:"event",buffered:!0,durationThreshold:0}))};let Sf=0,Ef=class{constructor(){st(this,"l",[]);st(this,"h",new Map);st(this,"m");st(this,"p")}v(){Sf=xf(),this.l.length=0,this.h.clear()}M(){const e=Math.min(this.l.length-1,Math.floor((xf()-Sf)/50));return this.l[e]}u(e){var i,u;if((i=this.m)==null||i.call(this,e),!e.interactionId&&e.entryType!=="first-input")return;const n=this.l.at(-1);let r=this.h.get(e.interactionId);if(r||this.l.length<10||e.duration>n.T){if(r?e.duration>r.T?(r.entries=[e],r.T=e.duration):e.duration===r.T&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],T:e.duration},this.h.set(r.id,r),this.l.push(r)),this.l.sort((o,a)=>a.T-o.T),this.l.length>10){const o=this.l.splice(10);for(const a of o)this.h.delete(a.id)}(u=this.p)==null||u.call(this,r)}}};const za=t=>{const e=globalThis.requestIdleCallback||setTimeout;document.visibilityState==="hidden"?t():(t=hc(t),addEventListener("visibilitychange",t,{once:!0,capture:!0}),e(()=>{t(),removeEventListener("visibilitychange",t,{capture:!0})}))},Ha=[200,500],r5=(t,e={})=>{const n=ir(e=Object.assign({},e),Ef);let r=[],i=[],u=0;const o=new WeakMap,a=new WeakMap;let s=!1;const c=()=>{s||(za(l),s=!0)},l=()=>{const p=n.l.map(m=>o.get(m.entries[0])),h=i.length-50;i=i.filter((m,y)=>y>=h||p.includes(m));const g=new Set;for(const m of i){const y=d(m.startTime,m.processingEnd);for(const x of y)g.add(x)}const v=r.length-1-50;r=r.filter((m,y)=>m.startTime>u&&y>v||g.has(m)),s=!1};n.m=p=>{const h=p.startTime+p.duration;let g;u=Math.max(u,p.processingEnd);for(let v=i.length-1;v>=0;v--){const m=i[v];if(Math.abs(h-m.renderTime)<=8){g=m,g.startTime=Math.min(p.startTime,g.startTime),g.processingStart=Math.min(p.processingStart,g.processingStart),g.processingEnd=Math.max(p.processingEnd,g.processingEnd),g.entries.push(p);break}}g||(g={startTime:p.startTime,processingStart:p.processingStart,processingEnd:p.processingEnd,renderTime:h,entries:[p]},i.push(g)),(p.interactionId||p.entryType==="first-input")&&o.set(p,g),c()},n.p=p=>{var h;if(!a.get(p)){const g=p.entries[0].target;if(g){const v=((h=e.generateTarget)==null?void 0:h.call(e,g))??fc(g);a.set(p,v)}}};const d=(p,h)=>{const g=[];for(const v of r)if(!(v.startTime+v.duration<p)){if(v.startTime>h)break;g.push(v)}return g},f=p=>{const h=p.entries[0],g=o.get(h),v=h.processingStart,m=Math.max(h.startTime+h.duration,v),y=Math.min(g.processingEnd,m),x=g.entries.sort((E,b)=>E.processingStart-b.processingStart),A=d(h.startTime,y),C=n.h.get(h.interactionId),_={interactionTarget:a.get(C),interactionType:h.name.startsWith("key")?"keyboard":"pointer",interactionTime:h.startTime,nextPaintTime:m,processedEventEntries:x,longAnimationFrameEntries:A,inputDelay:v-h.startTime,processingDuration:y-v,presentationDelay:m-y,loadState:mu(h.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0};return(E=>{var j;if(!((j=E.longAnimationFrameEntries)!=null&&j.length))return;const b=E.interactionTime,w=E.inputDelay,S=E.processingDuration;let k,T,O=0,R=0,P=0,$=0;for(const K of E.longAnimationFrameEntries){R=R+K.startTime+K.duration-K.styleAndLayoutStart;for(const J of K.scripts){const fe=J.startTime+J.duration;if(fe<b)continue;const ae=fe-Math.max(b,J.startTime),se=J.duration?ae/J.duration*J.forcedStyleAndLayoutDuration:0;O+=ae-se,R+=se,ae>$&&(T=J.startTime<b+w?"input-delay":J.startTime>=b+w+S?"presentation-delay":"processing-duration",k=J,$=ae)}}const U=E.longAnimationFrameEntries.at(-1),q=U?U.startTime+U.duration:0;q>=b+w+S&&(P=E.nextPaintTime-q),k&&T&&(E.longestScript={entry:k,subpart:T,intersectingDuration:$}),E.totalScriptDuration=O,E.totalStyleAndLayoutDuration=R,E.totalPaintDuration=P,E.totalUnattributedDuration=E.nextPaintTime-b-O-R-P})(_),Object.assign(p,{attribution:_})};ur("long-animation-frame",p=>{r=r.concat(p),c()}),((p,h={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const g=no();ro(()=>{n5();let v,m=ut("INP");const y=ir(h,Ef),x=C=>{za(()=>{for(const E of C)y.u(E);const _=y.M();_&&_.T!==m.value&&(m.value=_.T,m.entries=_.entries,v())})},A=ur("event",x,{durationThreshold:h.durationThreshold??40});v=it(p,m,Ha,h.reportAllChanges),A&&(A.observe({type:"first-input",buffered:!0}),g.onHidden(()=>{x(A.takeRecords()),v(!0)}),hr(()=>{y.v(),m=ut("INP"),v=it(p,m,Ha,h.reportAllChanges)}))})})(p=>{const h=f(p);t(h)},e)};let kf=class{constructor(){st(this,"m")}u(e){var n;(n=this.m)==null||n.call(this,e)}};const Ga=[2500,4e3],i5=(t,e={})=>{const n=ir(e=Object.assign({},e),kf),r=new WeakMap;n.m=i=>{var o;const u=i.element;if(u){const a=((o=e.generateTarget)==null?void 0:o.call(e,u))??fc(u);r.set(i,a)}},((i,u={})=>{ro(()=>{const o=no();let a,s=ut("LCP");const c=ir(u,kf),l=f=>{u.reportAllChanges||(f=f.slice(-1));for(const p of f)c.u(p),p.startTime<o.firstHiddenTime&&(s.value=Math.max(p.startTime-di(),0),s.entries=[p],a())},d=ur("largest-contentful-paint",l);if(d){a=it(i,s,Ga,u.reportAllChanges);const f=hc(()=>{l(d.takeRecords()),d.disconnect(),a(!0)}),p=h=>{h.isTrusted&&(za(f),removeEventListener(h.type,p,{capture:!0}))};for(const h of["keydown","click","visibilitychange"])addEventListener(h,p,{capture:!0});hr(h=>{s=ut("LCP"),a=it(i,s,Ga,u.reportAllChanges),pc(()=>{s.value=performance.now()-h.timeStamp,a(!0)})})}})})(i=>{const u=(o=>{let a={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:o.value};
234if(o.entries.length){const s=pr();if(s){const c=s.activationStart||0,l=o.entries.at(-1),d=l.url&&performance.getEntriesByType("resource").filter(g=>g.name===l.url)[0],f=Math.max(0,s.responseStart-c),p=Math.max(f,d?(d.requestStart||d.startTime)-c:0),h=Math.min(o.value,Math.max(p,d?d.responseEnd-c:0));a={target:r.get(l),timeToFirstByte:f,resourceLoadDelay:p-f,resourceLoadDuration:h-p,elementRenderDelay:o.value-h,navigationEntry:s,lcpEntry:l},l.url&&(a.url=l.url),d&&(a.lcpResourceEntry=d)}}return Object.assign(o,{attribution:a})})(i);t(u)},e)},Wa=[800,1800],Ka=t=>{document.prerendering?ro(()=>Ka(t)):document.readyState!=="complete"?addEventListener("load",()=>Ka(t),!0):setTimeout(t)},u5=(t,e={})=>{((n,r={})=>{let i=ut("TTFB"),u=it(n,i,Wa,r.reportAllChanges);Ka(()=>{const o=pr();o&&(i.value=Math.max(o.responseStart-di(),0),i.entries=[o],u(!0),hr(()=>{i=ut("TTFB",0),u=it(n,i,Wa,r.reportAllChanges),u(!0)}))})})(n=>{const r=(i=>{let u={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(i.entries.length){const o=i.entries[0],a=o.activationStart||0,s=Math.max((o.workerStart||o.fetchStart)-a,0),c=Math.max(o.domainLookupStart-a,0),l=Math.max(o.connectStart-a,0),d=Math.max(o.connectEnd-a,0);u={waitingDuration:s,cacheDuration:c-s,dnsDuration:l-c,connectionDuration:d-l,requestDuration:i.value-d,navigationEntry:o}}return Object.assign(i,{attribution:u})})(n);t(r)},e)},S9=Object.freeze(Object.defineProperty({__proto__:null,CLSThresholds:Va,FCPThresholds:Ua,INPThresholds:Ha,LCPThresholds:Ga,TTFBThresholds:Wa,onCLS:Q8,onFCP:e5,onINP:r5,onLCP:i5,onTTFB:u5},Symbol.toStringTag,{value:"Module"}));function o5(t){var e=window.location.origin||window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"");return t.indexOf(e)>-1&&(t=t.replace(e+"/","")),t}function a5(t){return t===void 0&&(t=""),t==="<anonymous>"&&(t=""),t}function s5(t){return t?window.location.href.indexOf(t)===0:!1}function c5(t){return t.map(function(e){return e.functionName&&(e.functionName=l5(e.functionName)),e})}function l5(t){var e=t.split("/");return e.length>1?t=["Object",e[e.length-1]].join("."):t=e[0],t=t.replace(/.<$/gi,".<anonymous>"),t=t.replace(/^Anonymous function$/,"<anonymous>"),e=t.split("."),e.length>1?t=e[e.length-1]:t=e[0],t}function d5(t){if(t.length===0)return!1;if(t.length===1){var e=t[0];return"lineNumber"in e}return!0}function f5(t,e){var n=e.error,r=e.filename,i=e.lineno,u=e.colno,o=[];if(n)try{o=t.parse(n)}catch{}d5(o)||(o=[{fileName:r,lineNumber:i,columnNumber:u}]);var a=c5(o);return a.map(function(s){var c=s.fileName,l=s.lineNumber,d=s.columnNumber,f=s.functionName,p=f===void 0?"<anonymous>":f;if(!c&&!l)return{};if(!d&&!l)return{};var h=a5(c),g=o5(h);return s5(h)&&(g="(inline script)"),{abs_path:c,filename:g,function:p,lineno:l,colno:d}})}function p5(t){return t.filter(function(e){var n=e.filename,r=e.lineno;return typeof n<"u"&&typeof r<"u"})}function h5(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){return e.reject(n)})})}function v5(t){var e=this;return new e(function(n,r){if(!(t&&typeof t.length<"u"))return r(new TypeError(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var i=Array.prototype.slice.call(t);if(i.length===0)return n([]);var u=i.length;function o(s,c){if(c&&(typeof c=="object"||typeof c=="function")){var l=c.then;if(typeof l=="function"){l.call(c,function(d){o(s,d)},function(d){i[s]={status:"rejected",reason:d},--u===0&&n(i)});return}}i[s]={status:"fulfilled",value:c},--u===0&&n(i)}for(var a=0;a<i.length;a++)o(a,i[a])})}function av(t,e){this.name="AggregateError",this.errors=t,this.message=e||""}av.prototype=Error.prototype;function g5(t){var e=this;return new e(function(n,r){if(!(t&&typeof t.length<"u"))return r(new TypeError("Promise.any accepts an array"));var i=Array.prototype.slice.call(t);if(i.length===0)return r();for(var u=[],o=0;o<i.length;o++)try{e.resolve(i[o]).then(n).catch(function(a){u.push(a),u.length===i.length&&r(new av(u,"All promises were rejected"))})}catch(a){r(a)}})}var m5=setTimeout;function sv(t){return!!(t&&typeof t.length<"u")}function y5(){}function b5(t,e){return function(){t.apply(e,arguments)}}function ee(t){if(!(this instanceof ee))throw new TypeError("Promises must be constructed via new");if(typeof t!="function")throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],lv(t,this)}function cv(t,e){for(;t._state===3;)t=t._value;if(t._state===0){t._deferreds.push(e);return}t._handled=!0,ee._immediateFn(function(){var n=t._state===1?e.onFulfilled:e.onRejected;if(n===null){(t._state===1?Ja:Kr)(e.promise,t._value);return}var r;try{r=n(t._value)}catch(i){Kr(e.promise,i);return}Ja(e.promise,r)})}function Ja(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&(typeof e=="object"||typeof e=="function")){var n=e.then;if(e instanceof ee){t._state=3,t._value=e,Ya(t);return}else if(typeof n=="function"){lv(b5(n,e),t);return}}t._state=1,t._value=e,Ya(t)}catch(r){Kr(t,r)}}function Kr(t,e){t._state=2,t._value=e,Ya(t)}function Ya(t){t._state===2&&t._deferreds.length===0&&ee._immediateFn(function(){t._handled||ee._unhandledRejectionFn(t._value)});for(var e=0,n=t._deferreds.length;e<n;e++)cv(t,t._deferreds[e]);t._deferreds=null}function _5(t,e,n){this.onFulfilled=typeof t=="function"?t:null,this.onRejected=typeof e=="function"?e:null,this.promise=n}function lv(t,e){var n=!1;try{t(function(r){n||(n=!0,Ja(e,r))},function(r){n||(n=!0,Kr(e,r))})}catch(r){if(n)return;n=!0,Kr(e,r)}}ee.prototype.catch=function(t){return this.then(null,t)};ee.prototype.then=function(t,e){var n=new this.constructor(y5);return cv(this,new _5(t,e,n)),n};ee.prototype.finally=h5;ee.all=function(t){return new ee(function(e,n){if(!sv(t))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(r.length===0)return e([]);var i=r.length;function u(a,s){try{if(s&&(typeof s=="object"||typeof s=="function")){var c=s.then;if(typeof c=="function"){c.call(s,function(l){u(a,l)},n);return}}r[a]=s,--i===0&&e(r)}catch(l){n(l)}}for(var o=0;o<r.length;o++)u(o,r[o])})};ee.any=g5;ee.allSettled=v5;ee.resolve=function(t){return t&&typeof t=="object"&&t.constructor===ee?t:new ee(function(e){e(t)})};
234ee.reject=function(t){return new ee(function(e,n){n(t)})};ee.race=function(t){return new ee(function(e,n){if(!sv(t))return n(new TypeError("Promise.race accepts an array"));for(var r=0,i=t.length;r<i;r++)ee.resolve(t[r]).then(e,n)})};ee._immediateFn=typeof setImmediate=="function"&&function(t){setImmediate(t)}||function(t){m5(t,0)};ee._unhandledRejectionFn=function(e){typeof console<"u"&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var yu={};yn?yu=window:typeof self<"u"&&(yu=self);var mn="Promise"in yu?yu.Promise:ee,dv=[].slice,yn=typeof window<"u",tt=yn&&typeof performance<"u"?performance:{};function w5(){var t=new window.XMLHttpRequest;return"withCredentials"in t}var fv=[];for(var $i=0;$i<256;++$i)fv[$i]=($i+256).toString(16).substr(1);function x5(t){for(var e=[],n=0;n<t.length;n++)e.push(fv[t[n]]);return e.join("")}var zo=new Uint8Array(16);function S5(){return typeof crypto<"u"&&typeof crypto.getRandomValues=="function"?crypto.getRandomValues(zo):typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"?msCrypto.getRandomValues(zo):zo}function or(t){var e=x5(S5());return e.substr(0,t)}function E5(t){var e="00",n="00",r="01";if(t&&t.traceId&&t.id&&t.parentId){var i=t.sampled?r:n,u=t.sampled?t.id:t.parentId;return e+"-"+t.traceId+"-"+u+"-"+i}}function k5(t){var e=/^([\da-f]{2})-([\da-f]{32})-([\da-f]{16})-([\da-f]{2})$/.exec(t);if(e){var n=e[4],r=n!=="00";return{traceId:e[2],id:e[3],sampled:r}}}function A5(t){return/^[\da-f]{2}-[\da-f]{32}-[\da-f]{16}-[\da-f]{2}$/.test(t)&&t.slice(3,35)!=="00000000000000000000000000000000"&&t.slice(36,52)!=="0000000000000000"}function C5(t){var e=t.sampleRate;if(!(typeof e!="number"||String(e).length>256)){var n="es",r="=";return""+n+r+"s:"+e}}function Af(t,e,n){typeof t.setRequestHeader=="function"?t.setRequestHeader(e,n):t.headers&&typeof t.headers.append=="function"?t.headers.append(e,n):t[e]=n}function Za(t,e){var n=!1;return typeof e=="string"?n=t===e:e&&typeof e.test=="function"?n=e.test(t):Array.isArray(e)&&e.forEach(function(r){n||(n=Za(t,r))}),n}function O5(){return yn&&typeof Set=="function"&&typeof JSON.stringify=="function"&&tt&&typeof tt.now=="function"&&w5()}function vc(t,e,n){if(!(!n||!t)){var r=hv(t),i=typeof e;return e!=null&&i!=="boolean"&&i!=="number"&&(e=String(e)),n[r]=e,n}}function T5(t){t===void 0&&(t=[]);for(var e=[],n=", ",r=";",i=0;i<t.length;i++){var u=t[i],o=u.name,a=u.duration,s=u.description,c=o;s&&(c+=r+"desc="+s),a&&(c+=r+"dur="+a),e.push(c)}return e.join(n)}function pv(t){return t&&t.split("?")[0]}function Ho(t){return t!==null&&typeof t=="object"}function D5(t){return typeof t=="function"}function gc(t,e,n){for(var r=0,i=e.length;r<i;++r){var u=e[r];if(!(!Ho(u)&&!D5(u)))for(var o=Object.keys(u),a=0,s=o.length;a<s;a++){var c=o[a],l=u[c];n&&Ho(l)?(Ho(t[c])||(t[c]=Array.isArray(l)?[]:{}),gc(t[c],[l],!1)):t[c]=l}}return t}function F5(){if(typeof document<"u")for(var t=document.getElementsByTagName("script"),e=0,n=t.length;e<n;e++){var r=t[e];if(r.src.indexOf("elastic")>0)return r}}function I5(){if(typeof document<"u"){var t=document.currentScript;return t||F5()}}function bn(){return gc(Object.create(null),dv.call(arguments),!1)}function io(){return gc(Object.create(null),dv.call(arguments),!0)}function Xa(t){return typeof t>"u"}function bu(){}function hv(t){return t.replace(/[.*"]/g,"_")}function vv(t,e){for(var n=null,r=0;r<t.length;r++){var i=t[r];e&&e(i.type)&&(!n||n._end<i._end)&&(n=i)}return n}function R5(t){return vv(t,function(e){return String(e).indexOf("external")===-1})}function P5(t){return vv(t,function(e){return String(e).indexOf("external")!==-1})}function L5(t){for(var e=t[0],n=1;n<t.length;n++){var r=t[n];e._start>r._start&&(e=r)}return e}function Tt(){return tt.now()}function Qa(t){return typeof t=="number"&&t>=0?t:Tt()}function gv(t,e){return Xa(e)||Xa(t)?null:parseInt(e-t)}function Cf(t){mn.resolve().then(t)}function mv(){return typeof tt.getEntriesByType=="function"}function es(t){return typeof PerformanceObserver<"u"&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.indexOf(t)>=0}function yv(){return"interactionCount"in performance}function N5(){var t="_elastic_inspect_beacon_";if(sessionStorage.getItem(t)!=null)return!0;
234if(!window.URL||!window.URLSearchParams)return!1;try{var e=new URL(window.location.href),n=e.searchParams.has(t);return n&&sessionStorage.setItem(t,!0),n}catch{}return!1}function mc(t){return t.redirectStart>0}function $5(t,e){switch(e){case"http:":return t==="80";case"https:":return t==="443"}return!0}var j5=[["#","hash"],["?","query"],["/","path"],["@","auth",1],[NaN,"host",void 0,1]],M5=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,ar=function(){function t(n){var r=this.extractProtocol(n||""),i=r.protocol,u=r.address,o=r.slashes,a=!i&&!o,s=this.getLocation(),c=j5.slice();u=u.replace("\\","/"),o||(c[2]=[NaN,"path"]);for(var l,d=0;d<c.length;d++){var f=c[d],p=f[0],h=f[1];if(typeof p=="string"){if(l=u.indexOf(p),~l){var g=f[2];if(g){var v=u.lastIndexOf(p);l=Math.max(l,v),this[h]=u.slice(0,l),u=u.slice(l+g)}else this[h]=u.slice(l),u=u.slice(0,l)}}else this[h]=u,u="";this[h]=this[h]||a&&f[3]&&s[h]||"",f[3]&&(this[h]=this[h].toLowerCase())}if(a&&this.path.charAt(0)!=="/"&&(this.path="/"+this.path),this.relative=a,this.protocol=i||s.protocol,this.hostname=this.host,this.port="",/:\d+$/.test(this.host)){var m=this.host.split(":"),y=m.pop(),x=m.join(":");$5(y,this.protocol)?this.host=x:this.port=y,this.hostname=x}this.origin=this.protocol&&this.host&&this.protocol!=="file:"?this.protocol+"//"+this.host:"null",this.href=this.toString()}var e=t.prototype;return e.toString=function(){var r=this.protocol;if(r+="//",this.auth){var i="[REDACTED]",u=this.auth.split(":"),o=u[0]?i:"",a=u[1]?":"+i:"";r+=o+a+"@"}return r+=this.host,r+=this.path,r+=this.query,r+=this.hash,r},e.getLocation=function(){var r={};return yn&&(r=window),r.location},e.extractProtocol=function(r){var i=M5.exec(r);return{protocol:i[1]?i[1].toLowerCase():"",slashes:!!i[2],address:i[3]}},t}();function B5(t,e){e===void 0&&(e=2);for(var n=new ar(t),r=n.query,i=n.path,u=i.substring(1).split("/"),o=":id",a="*",s=/\W|_/g,c=/[0-9]/g,l=/[a-z]/g,d=/[A-Z]/g,f=[],p=!1,h=0;h<u.length;h++){var g=u[h];if(p||h>e-1){g&&f.push(a);break}var v=(g.match(s)||[]).length;if(v>=2){f.push(o),p=!0;continue}var m=(g.match(c)||[]).length;if(m>3||g.length>3&&m/g.length>=.3){f.push(o),p=!0;continue}var y=(g.match(d)||[]).length,x=(g.match(l)||[]).length,A=x/g.length,C=y/g.length;if(g.length>5&&(C>.3&&C<.6||A>.3&&A<.6)){f.push(o),p=!0;continue}g&&f.push(g)}var _="/"+(f.length>=2?f.join("/"):f.join(""))+(r?"?{query}":"");return _}var Vn="schedule",Dt="invoke",Of="addEventListener",U5=["link","css","script","img","xmlhttprequest","fetch","beacon","iframe"],V5=5e3,Go=5*60*1e3,bv=1e3,Ee="page-load",q5="route-change",_v="custom",wv="user-interaction",ts="http-request",ns="temporary",Zi="Unknown",rs="page-exit",Tf=[Ee,q5,wv,ts,_v,ns],z5="success",H5="failure",G5="unknown",W5=60,K5="transaction:start",xv="transaction:end",Sv="config:change",is="queue:flush",yc="queue:add_transaction",_u="transaction:ignore",qn="xmlhttprequest",zn="fetch",Hn="history",Ev="eventtarget",kv="click",Av="error",J5=":before",Cv=":after",Df="elastic_apm_config",Jr="longtask",Y5="paint",Z5="measure",X5="navigation",Q5="resource",ek="first-contentful-paint",Ov="largest-contentful-paint",uo="first-input",us="layout-shift",tk="event",Ar="errors",Cr="transactions",he="ConfigService",Ft="LoggingService",nn="TransactionService",fi="ApmServer",Tv="PerformanceMonitoring",os="ErrorLogging",bc=".truncated",ve=1024,nk=30*6e4,Dv=1e4,rk=["tags"];function ik(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,u;for(u=0;
234u<r.length;u++)i=r[u],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}var uk=91,ok=93,ak="external",sk="resource",ck="hard-navigation";function lk(t,e){return t===""&&(t=e==="http:"?"80":e==="https:"?"443":""),t}function Fv(t){var e=t.transferSize,n=t.encodedBodySize,r=t.decodedBodySize,i=t.serverTiming,u={transfer_size:e,encoded_body_size:n,decoded_body_size:r},o=T5(i);return o&&(u.headers={"server-timing":o}),u}function _c(t){var e=t.port,n=t.protocol,r=t.hostname,i=lk(e,n),u=r.charCodeAt(0)===uk&&r.charCodeAt(r.length-1)===ok,o=r;return u&&(o=r.slice(1,-1)),{service:{resource:r+":"+i,name:"",type:""},address:o,port:Number(i)}}function dk(t){var e=t.entry,n=t.url,r=new ar(n),i=_c(r);return{http:{url:n,response:Fv(e)},destination:i}}function fk(t){var e=t.url,n=t.method,r=t.target,i=t.response,u=new ar(e),o=_c(u),a={http:{method:n,url:u.href},destination:o},s;return r&&typeof r.status<"u"?s=r.status:i&&(s=i.status),a.http.status_code=s,a}function pk(t){var e=t.url,n=new ar(e),r=_c(n);return{destination:r}}function Iv(){return{page:{referer:document.referrer,url:location.href}}}function hk(t,e){if(e){var n=t.type,r;switch(n){case ak:r=fk(e);break;case sk:r=dk(e);break;case ck:r=pk(e);break}t.addContext(r)}}function vk(t,e){var n=e===void 0?{}:e;n.tags;var r=ik(n,rk),i=Iv(),u={};if(t.type===rs)t.ensureContext(),t.context.page&&t.context.page.url&&(i.page.url=t.context.page.url);else if(t.type===Ee&&mv()){var o=tt.getEntriesByType(X5);o&&o.length>0&&(u={response:Fv(o[0])})}t.addContext(i,u,r)}var gk={service:{name:[ve,!0],version:!0,agent:{version:[ve,!0]},environment:!0},labels:{"*":!0}},Ff={"*":!0,headers:{"*":!0}},mk={address:[ve],service:{"*":[ve,!0]}},wc={user:{id:!0,email:!0,username:!0},tags:{"*":!0},http:{response:Ff},destination:mk,response:Ff},yk={name:[ve,!0],type:[ve,!0],id:[ve,!0],trace_id:[ve,!0],parent_id:[ve,!0],transaction_id:[ve,!0],subtype:!0,action:!0,context:wc},bk={name:!0,parent_id:!0,type:[ve,!0],id:[ve,!0],trace_id:[ve,!0],span_count:{started:[ve,!0]},context:wc},_k={id:[ve,!0],trace_id:!0,transaction_id:!0,parent_id:!0,culprit:!0,exception:{type:!0},transaction:{type:!0},context:wc};function wk(t,e,n,r){return e===void 0&&(e=ve),n===void 0&&(n=!1),r===void 0&&(r="N/A"),n&&Rv(t)&&(t=r),typeof t=="string"?t.substring(0,e):t}function Rv(t){return t==null||t===""||typeof t>"u"}function If(t,e,n){var r=wk(t[e],n[0],n[1]);if(Rv(r)){delete t[e];return}t[e]=r}function Yr(t,e,n){t===void 0&&(t={}),n===void 0&&(n=e);for(var r=Object.keys(t),i=[],u=function(s){var c=r[s],l=t[c]===!0?i:t[c];Array.isArray(l)?c==="*"?Object.keys(n).forEach(function(d){return If(n,d,l)}):If(n,c,l):Yr(l,e,n[c])},o=0;o<r.length;o++)u(o);return e}var Pv={exports:{}},Wo={exports:{}},Rf;function xk(){return Rf||(Rf=1,function(t,e){(function(n,r){t.exports=r()})(jr,function(){function n(i){return!isNaN(parseFloat(i))&&isFinite(i)}function r(i,u,o,a,s,c){i!==void 0&&this.setFunctionName(i),u!==void 0&&this.setArgs(u),o!==void 0&&this.setFileName(o),a!==void 0&&this.setLineNumber(a),s!==void 0&&this.setColumnNumber(s),c!==void 0&&this.setSource(c)}return r.prototype={getFunctionName:function(){return this.functionName},setFunctionName:function(i){this.functionName=String(i)},getArgs:function(){return this.args},setArgs:function(i){if(Object.prototype.toString.call(i)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=i},getFileName:function(){return this.fileName},setFileName:function(i){this.fileName=String(i)},getLineNumber:function(){return this.lineNumber},setLineNumber:function(i){if(!n(i))throw new TypeError("Line Number must be a Number");this.lineNumber=Number(i)},getColumnNumber:function(){return this.columnNumber},setColumnNumber:function(i){if(!n(i))throw new TypeError("Column Number must be a Number");this.columnNumber=Number(i)},getSource:function(){return this.source},setSource:function(i){this.source=String(i)},toString:function(){var i=this.getFunctionName()||"{anonymous}",u="("+(this.getArgs()||[]).join(",")+")",o=this.getFileName()?"@"+this.getFileName():"",a=n(this.getLineNumber())?":"+this.getLineNumber():"",s=n(this.getColumnNumber())?":"+this.getColumnNumber():"";return i+u+o+a+s}},r})}(Wo)),Wo.exports}(function(t,e){(function(n,r){t.exports=r(xk())})(jr,function(r){var i=/(^|@)\S+\:\d+/,u=/^\s*at .*(\S+\:\d+|\(native\))/m,o=/^(eval@)?(\[native code\])?$/;function a(l,d,f){if(typeof Array.prototype.map=="function")return l.map(d,f);for(var p=new Array(l.length),h=0;h<l.length;h++)p[h]=d.call(f,l[h]);return p}function s(l,d,f){if(typeof Array.prototype.filter=="function")return l.filter(d,f);for(var p=[],h=0;h<l.length;h++)d.call(f,l[h])&&p.push(l[h]);return p}function c(l,d){if(typeof Array.prototype.indexOf=="function")return l.indexOf(d);for(var f=0;f<l.length;f++)if(l[f]===d)return f;return-1}return{parse:function(d){if(typeof d.stacktrace<"u"||typeof d["opera#sourceloc"]<"u")return this.parseOpera(d);if(d.stack&&d.stack.match(u))return this.parseV8OrIE(d);if(d.stack)return this.parseFFOrSafari(d);throw new Error("Cannot parse given Error object")},extractLocation:function(d){if(d.indexOf(":")===-1)return[d];var f=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/,p=f.exec(d.replace(/[\(\)]/g,""));return[p[1],p[2]||void 0,p[3]||void 0]},parseV8OrIE:function(d){var f=s(d.stack.split(` 235`),function(p){return!!p.match(u)},this);return a(f,function(p){p.indexOf("(eval ")>-1&&(p=p.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var h=p.replace(/^\s+/,"").replace(/\(eval code/g,"(").split(/\s+/).slice(1),g=this.extractLocation(h.pop()),v=h.join(" ")||void 0,m=c(["eval","<anonymous>"],g[0])>-1?void 0:g[0];return new r(v,void 0,m,g[1],g[2],p)},this)},parseFFOrSafari:function(d){var f=s(d.stack.split(` 236`),function(p){return!p.match(o)},this);return a(f,function(p){if(p.indexOf(" > eval")>-1&&(p=p.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),p.indexOf("@")===-1&&p.indexOf(":")===-1)return new r(p);var h=p.split("@"),g=this.extractLocation(h.pop()),v=h.join("@")||void 0;return new r(v,void 0,g[0],g[1],g[2],p)},this)},parseOpera:function(d){return!d.stacktrace||d.message.indexOf(` 237`)>-1&&d.message.split(` 238`).length>d.stacktrace.split(` 239`).length?this.parseOpera9(d):d.stack?this.parseOpera11(d):this.parseOpera10(d)},parseOpera9:function(d){for(var f=/Line (\d+).*script (?:in )?(\S+)/i,p=d.message.split(` 240`),h=[],g=2,v=p.length;g<v;g+=2){var m=f.exec(p[g]);m&&h.push(new r(void 0,void 0,m[2],m[1],void 0,p[g]))}return h},parseOpera10:function(d){for(var f=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,p=d.stacktrace.split(` 241`),h=[],g=0,v=p.length;g<v;g+=2){var m=f.exec(p[g]);m&&h.push(new r(m[3]||void 0,void 0,m[2],m[1],void 0,p[g]))}return h},parseOpera11:function(d){var f=s(d.stack.split(` 242`),function(p){return!!p.match(i)&&!p.match(/^Error created at/)},this);return a(f,function(p){var h=p.split("@"),g=this.extractLocation(h.pop()),v=h.shift()||"",m=v.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0,y;v.match(/\(([^\)]*)\)/)&&(y=v.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var x=y===void 0||y==="[arguments not available]"?void 0:y.split(",");return new r(m,x,g[0],g[1],g[2],p)},this)}}})})(Pv);var Sk=Pv.exports;const Ek=Qr(Sk);var kk=["tags"];function Ak(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,u;for(u=0;
242u<r.length;u++)i=r[u],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}var Ck=["stack","message"],Pf="Unhandled promise rejection: ";function Ok(t){var e=!1,n={};if(Object.keys(t).forEach(function(r){if(!(Ck.indexOf(r)>=0)){var i=t[r];if(!(i==null||typeof i=="function")){if(typeof i=="object"){if(typeof i.toISOString!="function")return;i=i.toISOString()}n[r]=i,e=!0}}}),e)return n}var Tk=function(){function t(n,r,i){this._apmServer=n,this._configService=r,this._transactionService=i}var e=t.prototype;return e.createErrorDataModel=function(r,i){var u=f5(Ek,r),o=p5(u),a="(inline script)",s=o[o.length-1];s&&s.filename&&(a=s.filename);var c=r.message,l=r.error,d=c,f="",p={};if(l&&typeof l=="object"){d=d||l.message,f=l.name;var h=Ok(l);h&&(p.custom=h)}if(i&&i.labels){var g=Object.keys(i.labels);p.tags={},g.forEach(function(E){return vc(E,i.labels[E],p.tags)})}f||d&&d.indexOf(":")>-1&&(f=d.split(":")[0]);var v=this._transactionService.getCurrentTransaction(),m=v?v.context:{},y=this._configService.get("context");y.tags;var x=Ak(y,kk),A=Iv(),C=io({},A,m,x,p),_={id:or(),culprit:a,exception:{message:d,stacktrace:o,type:f},context:C};return v&&(_=bn(_,{trace_id:v.traceId,parent_id:v.id,transaction_id:v.id,transaction:{type:v.type,sampled:v.sampled}})),Yr(_k,_)},e.logErrorEvent=function(r,i){if(!(typeof r>"u")){var u=this.createErrorDataModel(r,i);typeof u.exception.message>"u"||this._apmServer.addError(u)}},e.registerListeners=function(){var r=this;window.addEventListener("error",function(i){return r.logErrorEvent(i)}),window.addEventListener("unhandledrejection",function(i){return r.logPromiseEvent(i)})},e.logPromiseEvent=function(r){var i=r.reason;i==null&&(i="<no reason specified>");var u;if(typeof i.message=="string"){var o=i.name?i.name+": ":"";u={error:i,message:Pf+o+i.message}}else u=this._parseRejectReason(i);this.logErrorEvent(u)},e.logError=function(r,i){var u={};return typeof r=="string"?u.message=r:u.error=r,this.logErrorEvent(u,i)},e._parseRejectReason=function(r){var i={message:Pf};if(Array.isArray(r))i.message+="<object>";else if(typeof r=="object")try{i.message+=JSON.stringify(r),i.error=r}catch{i.message+="<object>"}else typeof r=="function"?i.message+="<function>":i.message+=r;return i},t}();const Dk=Tk;var Fk=function(){function t(n,r){r===void 0&&(r={}),this.onFlush=n,this.items=[],this.queueLimit=r.queueLimit||-1,this.flushInterval=r.flushInterval||0,this.timeoutId=void 0}var e=t.prototype;return e._setTimer=function(){var r=this;this.timeoutId=setTimeout(function(){return r.flush()},this.flushInterval)},e._clear=function(){typeof this.timeoutId<"u"&&(clearTimeout(this.timeoutId),this.timeoutId=void 0),this.items=[]},e.flush=function(){this.onFlush(this.items),this._clear()},e.add=function(r){this.items.push(r),this.queueLimit!==-1&&this.items.length>=this.queueLimit?this.flush():typeof this.timeoutId>"u"&&this._setTimer()},t}();const Ik=Fk;function Rk(t,e,n){var r=this,i=n.limit,u=n.interval,o=0,a;return function(){return o++,typeof a>"u"&&(a=setTimeout(function(){o=0,a=void 0},u)),o>i&&typeof e=="function"?e.apply(r,arguments):t.apply(r,arguments)}}var Pk=function(){function t(){}return t.stringify=function(n){return JSON.stringify(n)+` 243`},t}();const Or=Pk;var Lv=["fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","requestStart","responseStart","responseEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd"],Lk=["fs","ls","le","cs","ce","qs","rs","re","dl","di","ds","de","dc","es","ee"];function Nk(t){var e=$k(t);return e==null?null:{navigationTiming:e,agent:{timeToFirstByte:e.responseStart,domInteractive:e.domInteractive,domComplete:e.domComplete}}}function $k(t){var e=t.redirectStart,n=t.fetchStart,r=t.navigationStart,i=t.responseStart,u=t.responseEnd;if(n>=r&&i>=n&&u>=i){var o={};return Lv.forEach(function(a){var s=t[a];s&&s>=n&&(mc(t)?o[a]=parseInt(s-e):o[a]=parseInt(s-n))}),o}return null}function jk(t){return t.map(function(e){return{ap:e.abs_path,f:e.filename,fn:e.function,li:e.lineno,co:e.colno}})}function Nv(t){return{ts:t.transfer_size,ebs:t.encoded_body_size,dbs:t.decoded_body_size}}function Mk(t){var e={},n=t.method,r=t.status_code,i=t.url,u=t.response;return e.url=i,n&&(e.mt=n),r&&(e.sc=r),u&&(e.r=Nv(u)),e}function as(t){if(!t)return null;var e={},n=t.page,r=t.http,i=t.response,u=t.destination,o=t.user,a=t.custom;if(n&&(e.p={rf:n.referer,url:n.url}),r&&(e.h=Mk(r)),i&&(e.r=Nv(i)),u){var s=u.service;e.dt={se:{n:s.name,t:s.type,rc:s.resource},ad:u.address,po:u.port}}return o&&(e.u={id:o.id,un:o.username,em:o.email}
243),a&&(e.cu=a),e}function Bk(t){if(!t)return null;var e=Uk(t.navigationTiming),n={nt:e,a:Vk(e,t.agent)};return n}function Uk(t){if(!t)return null;var e={};return Lk.forEach(function(n,r){var i=Lv[r];e[n]=t[i]}),e}function Vk(t,e){var n={};if(t&&(n={fb:t.rs,di:t.di,dc:t.dc}),e){var r=e.firstContentfulPaint,i=e.largestContentfulPaint;r&&(n.fp=r),i&&(n.lp=i)}return Object.keys(n).length===0?null:n}function qk(t){var e=t.service,n=t.labels,r=e.agent,i=e.language;return{se:{n:e.name,ve:e.version,a:{n:r.name,ve:r.version},la:{n:i.name},en:e.environment},l:n}}function zk(t){var e=t.spans.map(function(d){var f={id:d.id,n:d.name,t:d.type,s:d.start,d:d.duration,c:as(d.context),o:d.outcome,sr:d.sample_rate};return d.parent_id!==t.id&&(f.pid=d.parent_id),d.sync===!0&&(f.sy=!0),d.subtype&&(f.su=d.subtype),d.action&&(f.ac=d.action),f}),n={id:t.id,pid:t.parent_id,tid:t.trace_id,n:t.name,t:t.type,d:t.duration,c:as(t.context),k:Bk(t.marks),me:Gk(t.breakdown),y:e,yc:{sd:e.length},sm:t.sampled,sr:t.sample_rate,o:t.outcome};if(t.experience){var r=t.experience,i=r.cls,u=r.fid,o=r.tbt,a=r.longtask;n.exp={cls:i,fid:u,tbt:o,lt:a}}if(t.session){var s=t.session,c=s.id,l=s.sequence;n.ses={id:c,seq:l}}return n}function Hk(t){var e=t.exception,n={id:t.id,cl:t.culprit,ex:{mg:e.message,st:jk(e.stacktrace),t:t.type},c:as(t.context)},r=t.transaction;return r&&(n.tid=t.trace_id,n.pid=t.parent_id,n.xid=t.transaction_id,n.x={t:r.type,sm:r.sampled}),n}function Gk(t){return t.map(function(e){var n=e.span,r=e.samples;return{y:{t:n.type},sa:{ysc:{v:r["span.self_time.count"].value},yss:{v:r["span.self_time.sum.us"].value}}}})}function Wk(t,e){e===void 0&&(e="gzip");var n=typeof CompressionStream=="function";return new mn(function(r){if(!n||N5())return r(t);var i=t.payload,u=t.headers,o=t.beforeSend,a=new Blob([i]).stream(),s=a.pipeThrough(new CompressionStream(e));return new Response(s).blob().then(function(c){return u["Content-Encoding"]=e,r({payload:c,headers:u,beforeSend:o})})})}var sn={bootstrapTime:null,lastHiddenStart:Number.MIN_SAFE_INTEGER};function $v(t){return!(t===0||t>399&&t<600)}function ss(){return ss=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ss.apply(this,arguments)}var Kk=60*1e3;function Jk(t,e){if(!jv())return!1;var n="keepalive"in new Request("");if(!n)return!1;var r=Zk(e);return t==="POST"&&r<Kk}function Yk(t,e,n){var r=n.keepalive,i=r===void 0?!1:r,u=n.timeout,o=u===void 0?Dv:u,a=n.payload,s=n.headers,c=n.sendCredentials,l={};if(typeof AbortController=="function"){var d=new AbortController;l.signal=d.signal,setTimeout(function(){return d.abort()},o)}var f;return window.fetch(e,ss({body:a,headers:s,method:t,keepalive:i,credentials:c?"include":"omit"},l)).then(function(p){return f=p,f.text()}).then(function(p){var h={url:e,status:f.status,responseText:p};if(!$v(f.status))throw h;return h})}function jv(){return typeof window.fetch=="function"&&typeof window.Request=="function"}function Zk(t){return t?t instanceof Blob?t.size:new Blob([t]).size:0}var Xi={fetchInProgress:!1};function vr(t){return"__apm_symbol__"+t}function Xk(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}function Qk(t,e){t[vr("OriginalDelegate")]=e}function Lf(t,e,n){for(var r=t;r&&!r.hasOwnProperty(e);)r=Object.getPrototypeOf(r);!r&&t[e]&&(r=t);var i=vr(e),u;if(r&&!(u=r[i])){u=r[i]=r[e];var o=r&&Object.getOwnPropertyDescriptor(r,e);if(Xk(o)){var a=n(u,i,e);r[e]=function(){return a(this,arguments)},Qk(r[e],u)}}return u}var cs=vr("xhrIgnore"),Nf=vr("xhrSync"),$f=vr("xhrURL"),jf=vr("xhrMethod");function Mf(t,e,n){var r=n.timeout,i=r===void 0?HTTP_REQUEST_TIMEOUT:r,u=n.payload,o=n.headers,a=n.beforeSend,s=n.sendCredentials;return new mn(function(c,l){var d=new window.XMLHttpRequest;if(d[cs]=!0,d.open(t,e,!0),d.timeout=i,d.withCredentials=s,o)for(var f in o)o.hasOwnProperty(f)&&d.setRequestHeader(f,o[f]);d.onreadystatechange=function(){if(d.readyState===4){var h=d.status,g=d.responseText;$v(h)?c(d):l({url:e,status:h,responseText:g})}},d.onerror=function(){var h=d.status,g=d.responseText;l({url:e,status:h,responseText:g})};var p=!0;typeof a=="function"&&(p=a({url:e,method:t,headers:o,payload:u,xhr:d})),p?d.send(u):l({url:e,status:0,responseText:"Request rejected by user configuration."})})}var eA=6e4,tA=function(){function t(n,r){this._configService=n,this._loggingService=r,this.queue=void 0,this.throttleEvents=bu}var e=t.prototype;return e.init=function(){var r=this,i=this._configService.get("queueLimit"),u=this._configService.get("flushInterval"),o=this._configService.get("eventsLimit"),a=function(c){var l=r.sendEvents(c);l&&l.catch(function(d){r._loggingService.warn("Failed sending events!",r._constructError(d))})};this.queue=new Ik(a,{queueLimit:i,flushInterval:u}),this.throttleEvents=Rk(this.queue.add.bind(this.queue),function(){return r._loggingService.warn("Dropped events due to throttling!")},{limit:o,interval:eA}),this._configService.observeEvent(is,function(){r.queue.flush()})},e._postJson=function(r,i){var u=this,o={"Content-Type":"application/x-ndjson"},a=this._configService.get("apmRequest"),s={payload:i,headers:o,beforeSend:a};return Wk(s).catch(function(c){return s}).then(function(c){return u._makeHttpRequest("POST",r,c)}).then(function(c){var l=c.responseText;return l})},e._constructError=function(r){var i=r.url,u=r.status;if(r.responseText,typeof u>"u")return r;var o=i+" HTTP status: "+u;return new Error(o)},e._makeHttpRequest=function(r,i,u){var o=u===void 0?{}:u,a=o.timeout,s=a===void 0?Dv:a,c=o.payload,l=o.headers,d=o.beforeSend,f=this._configService.get("sendCredentials");return!d&&Jk(r,c)?Yk(r,i,{keepalive:!0,timeout:s,payload:c,headers:l,sendCredentials:f}).catch(function(p){if(p instanceof TypeError)return Mf(r,i,{timeout:s,payload:c,headers:l,beforeSend:d,sendCredentials:f});throw p}):Mf(r,i,{timeout:s,payload:c,headers:l,beforeSend:d,sendCredentials:f})},e.fetchConfig=function(r,i){var u=this,o=this.getEndpoints(),a=o.configEndpoint;if(!r)return mn.reject("serviceName is required for fetching central config.");a+="?service.name="+r,i&&(a+="&service.environment="+i);var s=this._configService.getLocalConfig();s&&(a+="&ifnonematch="+s.etag);var c=this._configService.get("apmRequest");return this._makeHttpRequest("GET",a,{timeout:5e3,beforeSend:c}).then(function(l){var d=l.status,f=l.responseText;if(d===304)return s;var p=JSON.parse(f),h=l.getResponseHeader("etag");return h&&(p.etag=h.replace(/["]/g,""),u._configService.setLocalConfig(p,!0)),p}).catch(function(l){var d=u._constructError(l);return mn.reject(d)})},e.createMetaData=function(){var r=this._configService,i={service:{name:r.get("serviceName"),version:r.get("serviceVersion"),agent:{name:"rum-js",version:r.version},language:{name:"javascript"},environment:r.get("environment")},labels:r.get("context.tags")};return Yr(gk,i)},e.addError=function(r){var i;this.throttleEvents((i={},i[Ar]=r,i))},e.addTransaction=function(r){var i;this.throttleEvents((i={},i[Cr]=r,i))},e.ndjsonErrors=function(r,i){var u=i?"e":"error";return r.map(function(o){var a;return Or.stringify((a={},a[u]=i?Hk(o):o,a))})},e.ndjsonMetricsets=function(r){return r.map(function(i){return Or.stringify({metricset:i})}).join("")},e.ndjsonTransactions=function(r,i){var u=this,o=i?"x":"transaction";return r.map(function(a){var s,c="",l="";
243return i||(a.spans&&(c=a.spans.map(function(d){return Or.stringify({span:d})}).join(""),delete a.spans),a.breakdown&&(l=u.ndjsonMetricsets(a.breakdown),delete a.breakdown)),Or.stringify((s={},s[o]=i?zk(a):a,s))+c+l})},e.sendEvents=function(r){var i,u;if(r.length!==0){for(var o=[],a=[],s=0;s<r.length;s++){var c=r[s];c[Cr]&&o.push(c[Cr]),c[Ar]&&a.push(c[Ar])}if(!(o.length===0&&a.length===0)){var l=this._configService,d=(i={},i[Cr]=o,i[Ar]=a,i),f=l.applyFilters(d);if(!f){this._loggingService.warn("Dropped payload due to filtering!");return}var p=l.get("apiVersion"),h=p>2,g=[],v=this.createMetaData(),m=h?"m":"metadata";g.push(Or.stringify((u={},u[m]=h?qk(v):v,u))),g=g.concat(this.ndjsonErrors(f[Ar],h),this.ndjsonTransactions(f[Cr],h));var y=g.join(""),x=this.getEndpoints(),A=x.intakeEndpoint;return this._postJson(A,y)}}},e.getEndpoints=function(){var r=this._configService.get("serverUrl"),i=this._configService.get("apiVersion"),u=this._configService.get("serverUrlPrefix")||"/intake/v"+i+"/rum/events",o=r+u,a=r+"/config/v1/rum/agents";return{intakeEndpoint:o,configEndpoint:a}},t}();const nA=tA;var rA=function(){function t(){this.observers={}}var e=t.prototype;return e.observe=function(r,i){var u=this;if(typeof i=="function")return this.observers[r]||(this.observers[r]=[]),this.observers[r].push(i),function(){var o=u.observers[r].indexOf(i);o>-1&&u.observers[r].splice(o,1)}},e.sendOnly=function(r,i){var u=this.observers[r];u&&u.forEach(function(o){try{o.apply(void 0,i)}catch(a){console.log(a,a.stack)}})},e.send=function(r,i){this.sendOnly(r+J5,i),this.sendOnly(r,i),this.sendOnly(r+Cv,i)},t}();const Mv=rA;function ls(){return ls=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ls.apply(this,arguments)}function iA(){var t=I5(),e=uA(t);return e}function uA(t){if(!t)return{};for(var e={},n=/^data-([\w-]+)$/,r=t.attributes,i=0;i<r.length;i++){var u=r[i];if(n.test(u.nodeName)){var o=u.nodeName.match(n)[1],a=o.split("-").map(function(s,c){return c>0?s.charAt(0).toUpperCase()+s.substring(1):s}).join("");e[a]=u.value||u.nodeValue}}return e}var oA=function(){function t(){this.config={serviceName:"",serviceVersion:"",environment:"",serverUrl:"http://localhost:8200",serverUrlPrefix:"",active:!0,instrument:!0,disableInstrumentations:[],logLevel:"warn",breakdownMetrics:!1,ignoreTransactions:[],eventsLimit:80,queueLimit:-1,flushInterval:500,distributedTracing:!0,distributedTracingOrigins:[],distributedTracingHeaderName:"traceparent",pageLoadTraceId:"",pageLoadSpanId:"",pageLoadSampled:!1,pageLoadParentId:"",pageLoadTransactionName:"",propagateTracestate:!1,transactionSampleRate:1,centralConfig:!1,monitorLongtasks:!0,apiVersion:2,context:{},session:!1,apmRequest:null,sendCredentials:!1},this.events=new Mv,this.filters=[],this.version=""}var e=t.prototype;return e.init=function(){var r=iA();this.setConfig(r)},e.setVersion=function(r){this.version=r},e.addFilter=function(r){if(typeof r!="function")throw new Error("Argument to must be function");this.filters.push(r)},e.applyFilters=function(r){for(var i=0;i<this.filters.length;i++)if(r=this.filters[i](r),!r)return;return r},e.get=function(r){return r.split(".").reduce(function(i,u){return i&&i[u]},this.config)},e.setUserContext=function(r){r===void 0&&(r={});var i={},u=r,o=u.id,a=u.username,s=u.email;(typeof o=="number"||typeof o=="string")&&(i.id=o),typeof a=="string"&&(i.username=a),typeof s=="string"&&(i.email=s),this.config.context.user=bn(this.config.context.user||{},i)},e.setCustomContext=function(r){r===void 0&&(r={}),this.config.context.custom=bn(this.config.context.custom||{},r)},e.addLabels=function(r){var i=this;this.config.context.tags||(this.config.context.tags={});var u=Object.keys(r);u.forEach(function(o){return vc(o,r[o],i.config.context.tags)})},e.setConfig=function(r){r===void 0&&(r={});var i=r,u=i.transactionSampleRate,o=i.serverUrl;o&&(r.serverUrl=o.replace(/\/+$/,"")),Xa(u)||(u<1e-4&&u>0&&(u=1e-4),r.transactionSampleRate=Math.round(u*1e4)/1e4),this.config=io(this.config,r),this.events.send(Sv,[this.config])},e.validate=function(r){r===void 0&&(r={});var i=["serviceName","serverUrl"],u=Object.keys(this.config),o={missing:[],invalid:[],unknown:[]};Object.keys(r).forEach(function(s){i.indexOf(s)!==-1&&!r[s]&&o.missing.push(s),u.indexOf(s)===-1&&o.unknown.push(s)}),r.serviceName&&!/^[a-zA-Z0-9 _-]+$/.test(r.serviceName)&&o.invalid.push({key:"serviceName",value:r.serviceName,allowed:"a-z, A-Z, 0-9, _, -, <space>"});var a=r.transactionSampleRate;return typeof a<"u"&&(typeof a!="number"||isNaN(a)||a<0||a>1)&&o.invalid.push({key:"transactionSampleRate",value:a,allowed:"Number between 0 and 1"}),o},e.getLocalConfig=function(){var r=sessionStorage;this.config.session&&(r=localStorage);var i=r.getItem(Df);if(i)return JSON.parse(i)},e.setLocalConfig=function(r,i){if(r){if(i){var u=this.getLocalConfig();r=ls({},u,r)}var o=sessionStorage;this.config.session&&(o=localStorage),o.setItem(Df,JSON.stringify(r))}},e.dispatchEvent=function(r,i){this.events.send(r,i)},e.observeEvent=function(r,i){return this.events.observe(r,i)},t}();const aA=oA;var sA=function(){function t(n){n===void 0&&(n={}),this.levels=["trace","debug","info","warn","error"],this.level=n.level||"warn",this.prefix=n.prefix||"",this.resetLogMethods()}var e=t.prototype;return e.shouldLog=function(r){return this.levels.indexOf(r)>=this.levels.indexOf(this.level)},e.setLevel=function(r){r!==this.level&&(this.level=r,this.resetLogMethods())},e.resetLogMethods=function(){var r=this;
243this.levels.forEach(function(i){r[i]=r.shouldLog(i)?u:bu;function u(){var o=i;(i==="trace"||i==="debug")&&(o="info");var a=arguments;if(a[0]=this.prefix+a[0],console){var s=console[o]||console.log;typeof s=="function"&&s.apply(console,a)}}})},t}();const cA=sA;var Tr,Zr=(Tr={},Tr[he]=function(){return new aA},Tr[Ft]=function(){return new cA({prefix:"[Elastic APM] "})},Tr[fi]=function(t){var e=t.getService([he,Ft]),n=e[0],r=e[1];return new nA(n,r)},Tr),lA=function(){function t(){this.instances={},this.initialized=!1}var e=t.prototype;return e.init=function(){if(!this.initialized){this.initialized=!0;var r=this.getService(he);r.init();var i=this.getService([Ft,fi]),u=i[0],o=i[1];r.events.observe(Sv,function(){var a=r.get("logLevel");u.setLevel(a)}),o.init()}},e.getService=function(r){var i=this;if(typeof r=="string")return this.instances[r]||typeof Zr[r]=="function"&&(this.instances[r]=Zr[r](this)),this.instances[r];if(Array.isArray(r))return r.map(function(u){return i.getService(u)})},t}();function dA(){Zr[os]=function(t){var e=t.getService([fi,he,nn]),n=e[0],r=e[1],i=e[2];return new Dk(n,r,i)}}function fA(t){var e=XMLHttpRequest.prototype;if(!e||!e[Of])return;var n="readystatechange",r="load",i="error",u="timeout",o="abort";function a(d,f){d.state!==Dt&&(d.state=Dt,d.data.status=f,t(Dt,d))}function s(d){if(d.state===Vn)return;d.state=Vn,t(Vn,d);var f=d.data.target;function p(h){f[Of](h,function(g){var v=g.type;if(v===n)f.readyState===4&&f.status!==0&&a(d,"success");else{var m=v===r?"success":v;a(d,m)}})}p(n),p(r),p(u),p(i),p(o)}var c=Lf(e,"open",function(){return function(d,f){return d[cs]||(d[jf]=f[0],d[$f]=f[1],d[Nf]=f[2]===!1),c.apply(d,f)}}),l=Lf(e,"send",function(){return function(d,f){if(d[cs])return l.apply(d,f);var p={source:qn,state:"",type:"macroTask",data:{target:d,method:d[jf],sync:d[Nf],url:d[$f],status:""}};try{return s(p),l.apply(d,f)}catch(h){throw a(p,i),h}}})}function pA(t){if(!jv())return;function e(o){o.state=Vn,t(Vn,o)}function n(o){o.state=Dt,t(Dt,o)}function r(o,a){o.data.aborted=hA(a),o.data.error=a,n(o)}function i(o,a){var s=o.getReader(),c=function l(){s.read().then(function(d){var f=d.done;f?n(a):l()},function(d){r(a,d)})};c()}var u=window.fetch;window.fetch=function(o,a){var s=this,c=arguments,l,d,f=o instanceof URL;if(typeof o=="string"||f)l=new Request(o,a),f?d=l.url:d=o;else if(o)l=o,d=l.url;else return u.apply(s,c);var p={source:zn,state:"",type:"macroTask",data:{target:l,method:l.method,url:d,aborted:!1}};return new mn(function(h,g){Xi.fetchInProgress=!0,e(p);var v;try{v=u.apply(s,[l])}catch(m){g(m),p.data.error=m,n(p),Xi.fetchInProgress=!1;return}v.then(function(m){var y=m.clone?m.clone():{};h(m),Cf(function(){p.data.response=m;var x=y.body;x?i(x,p):n(p)})},function(m){g(m),Cf(function(){r(p,m)})}),Xi.fetchInProgress=!1})}}function hA(t){return t&&t.name==="AbortError"}function vA(t){if(window.history){var e=history.pushState;typeof e=="function"&&(history.pushState=function(n,r,i){var u={source:Hn,data:{state:n,title:r,url:i}};t(Dt,u),e.apply(this,arguments)})}}var rn=new Mv,Bf=!1;function gA(){return Bf||(Bf=!0,fA(function(t,e){rn.send(qn,[t,e])}),pA(function(t,e){rn.send(zn,[t,e])}),vA(function(t,e){rn.send(Hn,[t,e])})),rn}var mA=.05,yA=6e4;function bA(t,e,n){t.sort(function(u,o){return u._start-o._start});var r=[],i=1;return t.forEach(function(u,o){if(r.length===0)r.push(u);else{var a=r[r.length-1],s=a.type===u.type&&a.subtype===u.subtype&&a.action===u.action&&a.name===u.name&&u.duration()/e<n&&(u._start-a._end)/e<n,c=t.length===o+1;s&&(i++,a._end=u._end),i>1&&(!s||c)&&(a.name=i+"x "+a.name,i=1),s||r.push(u)}}),r}function _A(t){if(t.sampled){var e=t.spans.filter(function(i){return i.duration()>0&&i._start>=t._start&&i._end<=t._end});if(t.isManaged()){var n=t.duration(),r=bA(e,n,mA);t.spans=r}else t.spans=e}else t.resetFields();return t}var wA=function(){function t(n,r,i,u){this._apmServer=n,this._configService=r,this._logginService=i,this._transactionService=u}var e=t.prototype;return e.init=function(r){var i=this;r===void 0&&(r={}),this._configService.events.observe(xv+Cv,function(u){var o=i.createTransactionPayload(u);o&&(i._apmServer.addTransaction(o),i._configService.dispatchEvent(yc))}),r[Hn]&&rn.observe(Hn,this.getHistorySub()),r[qn]&&rn.observe(qn,this.getXHRSub()),r[zn]&&rn.observe(zn,this.getFetchSub())},e.getHistorySub=function(){var r=this._transactionService;return function(i,u){u.source===Hn&&i===Dt&&r.startTransaction(u.data.title,"route-change",{managed:!0,canReuse:!0})}},e.getXHRSub=function(){var r=this;return function(i,u){u.source===qn&&!Xi.fetchInProgress&&r.processAPICalls(i,u)}},e.getFetchSub=function(){var r=this;return function(i,u){u.source===zn&&r.processAPICalls(i,u)}},e.processAPICalls=function(r,i){var u=this._configService,o=this._transactionService;if(i.data&&i.data.url){var a=this._apmServer.getEndpoints(),s=Object.keys(a).some(function(S){return i.data.url.indexOf(a[S])!==-1});if(s)return}if(r===Vn&&i.data){var c=i.data,l=new ar(c.url),d=c.method+" "+(l.relative?l.path:pv(l.href));o.getCurrentTransaction()||o.startTransaction(d,ts,{managed:!0});var f=o.startSpan(d,"external.http",{blocking:!0});if(!f)return;var p=u.get("distributedTracing"),h=u.get("distributedTracingOrigins"),g=new ar(window.location.href),v=Za(l.origin,g.origin)||Za(l.origin,h),m=c.target;if(p&&v&&m){this.injectDtHeader(f,m);var y=u.get("propagateTracestate");y&&this.injectTSHeader(f,m)}c.sync&&(f.sync=c.sync),c.span=f}else if(r===Dt){var x=i.data;if(x&&x.span){var A=x.span,C=x.response,_=x.target,E;C?E=C.status:E=_.status;var b;x.status!="abort"&&!x.aborted?E>=400||E==0?b=H5:b=z5:b=G5,A.outcome=b;var w=o.getCurrentTransaction();w&&w.type===ts&&(w.outcome=b),o.endSpan(A,x)}}},e.injectDtHeader=function(r,i){var u=this._configService.get("distributedTracingHeaderName"),o=E5(r),a=A5(o);a&&o&&u&&Af(i,u,o)},e.injectTSHeader=function(r,i){var u=C5(r);u&&Af(i,"tracestate",u)},e.extractDtHeader=function(r){var i=this._configService,u=i.get("distributedTracingHeaderName");if(r)return k5(r[u])},e.filterTransaction=function(r){var i=r.duration();return!(!i||r.isManaged()&&(i>yA||r.sampled&&r.spans.length===0))},e.createTransactionDataModel=function(r){var i=r._start,u=r.spans.map(function(a){var s={id:a.id,transaction_id:r.id,parent_id:a.parentId||r.id,trace_id:r.traceId,name:a.name,type:a.type,subtype:a.subtype,action:a.action,sync:a.sync,start:parseInt(a._start-i),duration:a.duration(),context:a.context,outcome:a.outcome,sample_rate:a.sampleRate};return Yr(yk,s)}),o={id:r.id,parent_id:r.parentId,trace_id:r.traceId,session:r.session,name:r.name,type:r.type,duration:r.duration(),spans:u,context:r.context,marks:r.marks,breakdown:r.breakdownTimings,span_count:{started:u.length},sampled:r.sampled,sample_rate:r.sampleRate,experience:r.experience,outcome:r.outcome};return Yr(bk,o)},e.createTransactionPayload=function(r){var i=_A(r),u=this.filterTransaction(i);if(u)return this.createTransactionDataModel(r);this._configService.dispatchEvent(_u)},t}(),xA=function(){function t(n,r,i){i===void 0&&(i={}),n||(n=Zi),r||(r=_v),this.name=n,this.type=r,this.options=i,this.id=i.id||or(16),this.traceId=i.traceId,this.sampled=i.sampled,this.sampleRate=i.sampleRate,this.timestamp=i.timestamp,this._start=Qa(i.startTime),this._end=void 0,this.ended=!1,this.outcome=void 0,this.onEnd=i.onEnd}var e=t.prototype;return e.ensureContext=function(){this.context||(this.context={})},e.addLabels=function(r){this.ensureContext();var i=this.context;i.tags||(i.tags={});var u=Object.keys(r);
243u.forEach(function(o){return vc(o,r[o],i.tags)})},e.addContext=function(){for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];i.length!==0&&(this.ensureContext(),this.context=io.apply(void 0,[this.context].concat(i)))},e.end=function(r){this.ended||(this.ended=!0,this._end=Qa(r),this.callOnEnd())},e.callOnEnd=function(){typeof this.onEnd=="function"&&this.onEnd(this)},e.duration=function(){return gv(this._start,this._end)},t}();const Bv=xA;function SA(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,ds(t,e)}function ds(t,e){return ds=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ds(t,e)}var EA=function(t){SA(e,t);function e(r,i,u){var o;if(o=t.call(this,r,i,u)||this,o.parentId=o.options.parentId,o.subtype=void 0,o.action=void 0,o.type.indexOf(".")!==-1){var a=o.type.split(".",3);o.type=a[0],o.subtype=a[1],o.action=a[2]}return o.sync=o.options.sync,o}var n=e.prototype;return n.end=function(i,u){t.prototype.end.call(this,i),hk(this,u)},e}(Bv);const En=EA;var Uf=[["domainLookupStart","domainLookupEnd","DNS"],["connectStart","connectEnd","TCP"],["requestStart","responseStart","Request"],["responseStart","responseEnd","Re
243sponse"],["domLoading","domComplete","Processing"],["loadEventStart","loadEventEnd","Load"]];function Vf(t){return{value:t}}function kA(t){var e=t.spans,n=t._start,r=t._end;if(e.length===0)return t.duration();e.sort(function(l,d){return l._start-d._start});for(var i=e[0],u=i._end,o=i._start,a=u,s=o-n,c=1;c<e.length;c++)i=e[c],o=i._start,u=i._end,o>a?(s+=o-a,a=u):u>a&&(a=u);return a<r&&(s+=r-a),s}function AA(t){var e={},n=kA(t);e.app={count:1,duration:n};for(var r=t.spans,i=0;i<r.length;i++){var u=r[i],o=u.duration();if(!(o===0||o==null)){var a=u.type,s=u.subtype,c=a.replace(bc,"");s&&(c+="."+s),e[c]||(e[c]={duration:0,count:0}),e[c].count++,e[c].duration+=o}}return e}function qf(t,e){var n=e.details,r=e.count,i=r===void 0?1:r,u=e.duration;return{transaction:t,span:n,samples:{"span.self_time.count":Vf(i),"span.self_time.sum.us":Vf(u*1e3)}}}function CA(t,e){e===void 0&&(e=tt.timing);var n=[],r=t.name,i=t.type,u=t.sampled,o={name:r,type:i};if(!u)return n;if(i===Ee&&e)for(var a=0;a<Uf.length;a++){var s=Uf[a],c=e[s[0]],l=e[s[1]],d=gv(c,l);d===0||d==null||n.push(qf(o,{details:{type:s[2]},duration:d}))}else{var f=AA(t);Object.keys(f).forEach(function(p){var h=p.split("."),g=h[0],v=h[1],m=f[p],y=m.duration,x=m.count;n.push(qf(o,{details:{type:g,subtype:v},duration:y,count:x}))})}return n}function OA(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,fs(t,e)}function fs(t,e){return fs=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},fs(t,e)}var TA=function(t){OA(e,t);function e(r,i,u){var o;return o=t.call(this,r,i,u)||this,o.traceId=or(),o.marks=void 0,o.spans=[],o._activeSpans={},o._activeTasks=new Set,o.blocked=!1,o.captureTimings=!1,o.breakdownTimings=[],o.sampleRate=o.options.transactionSampleRate,o.sampled=Math.random()<=o.sampleRate,o}var n=e.prototype;return n.addMarks=function(i){this.marks=io(this.marks||{},i)},n.mark=function(i){var u=hv(i),o=Tt()-this._start,a={};a[u]=o,this.addMarks({custom:a})},n.canReuse=function(){var i=this.options.reuseThreshold||V5;return!!this.options.canReuse&&!this.ended&&Tt()-this._start<i},n.redefine=function(i,u,o){i&&(this.name=i),u&&(this.type=u),o&&(this.options.reuseThreshold=o.reuseThreshold,this.options=bn(this.options,o))},n.startSpan=function(i,u,o){var a=this;if(!this.ended){var s=bn({},o);s.onEnd=function(l){a._onSpanEnd(l)},s.traceId=this.traceId,s.sampled=this.sampled,s.sampleRate=this.sampleRate,s.parentId||(s.parentId=this.id);var c=new En(i,u,s);return this._activeSpans[c.id]=c,s.blocking&&this.addTask(c.id),c}},n.isFinished=function(){return!this.blocked&&this._activeTasks.size===0},n.detectFinish=function(){this.isFinished()&&this.end()},n.end=function(i){if(!this.ended){this.ended=!0,this._end=Qa(i);for(var u in this._activeSpans){var o=this._activeSpans[u];o.type=o.type+bc,o.end(i)}this.callOnEnd()}},n.captureBreakdown=function(){this.breakdownTimings=CA(this)},n.block=function(i){this.blocked=i,this.blocked||this.detectFinish()},n.addTask=function(i){return i||(i="task-"+or(16)),this._activeTasks.add(i),i},n.removeTask=function(i){var u=this._activeTasks.delete(i);u&&this.detectFinish()},n.resetFields=function(){this.spans=[],this.sampleRate=0},n._onSpanEnd=function(i){this.spans.push(i),delete this._activeSpans[i.id],this.removeTask(i.id)},n.isManaged=function(){return!!this.options.managed},e}(Bv);const zf=TA;function ps(){return ps=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ps.apply(this,arguments)}var te={fid:0,fcp:0,tbt:{start:1/0,duration:0},cls:{score:0,firstEntryTime:Number.NEGATIVE_INFINITY,prevEntryTime:Number.NEGATIVE_INFINITY,currentSessionScore:0},longtask:{count:0,duration:0,max:0}},DA=50;function FA(t,e){for(var n=[],r=0;r<t.length;r++){var i=t[r],u=i.name,o=i.startTime,a=i.duration,s=i.attribution,c=o+a,l=new En("Longtask("+u+")",Jr,{startTime:o});if(e.count++,e.duration+=a,e.max=Math.max(a,e.max),s.length>0){var d=s[0],f=d.name,p=d.containerType,h=d.containerName,g=d.containerId,v={attribution:f,type:p};h&&(v.name=h),g&&(v.id=g),l.addContext({custom:v})}l.end(c),n.push(l)}return n}function IA(t){var e=t[0];if(e){var n=e.startTime,r=e.processingStart,i=new En("First Input Delay",uo,{startTime:n});return i.end(r),i}}function RA(t){var e=t.start,n=t.duration,r=new En("Total Blocking Time",Jr,{startTime:e});return r.end(e+n),r}function PA(t){t.forEach(function(e){var n=e.name,r=e.startTime,i=e.duration;if(!(r<te.fcp)&&!(n!=="self"&&n.indexOf("same-origin")===-1)){te.tbt.start=Math.min(te.tbt.start,r);var u=i-DA;u>0&&(te.tbt.duration+=u)}})}function LA(t){t.forEach(function(e){if(!e.hadRecentInput&&e.value){var n=e.startTime-te.cls.firstEntryTime>5e3||e.startTime-te.cls.prevEntryTime>1e3;n&&(te.cls.firstEntryTime=e.startTime,te.cls.currentSessionScore=0),te.cls.prevEntryTime=e.startTime,te.cls.currentSessionScore+=e.value,te.cls.score=Math.max(te.cls.score,te.cls.currentSessionScore)}})}function NA(t,e){var n=e.isHardNavigation,r=e.trStart,i=t.getEntriesByType(Jr).filter(function(m){return m.startTime>=r}),u=FA(i,te.longtask),o={spans:u,marks:{}};if(!n)return o;var a=t.getEntriesByType(Ov),s=a[a.length-1];if(s){var c=parseInt(s.startTime);te.lcp=c,o.marks.largestContentfulPaint=c}var l=tt.timing,d=l.fetchStart-l.navigationStart;mc(l)&&(d=0);var f=t.getEntriesByName(ek)[0];if(f){var p=parseInt(d>=0?f.startTime-d:f.startTime);te.fcp=p,o.marks.firstContentfulPaint=p}var h=t.getEntriesByType(uo),g=IA(h);g&&(te.fid=g.duration(),o.spans.push(g)),PA(i);var v=t.getEntriesByType(us);return LA(v),o}var Uv=function(){function t(n){this.po={observe:bu,disconnect:bu},window.PerformanceObserver&&(this.po=new PerformanceObserver(n))}var e=t.prototype;return e.start=function(r,i){i===void 0&&(i={buffered:!0});try{if(!es(r))return;this.po.observe(ps({type:r},i))}catch{}},e.stop=function(){this.po.disconnect()},t}();function xc(t,e,n,r,i){return i===void 0&&(i=0),typeof t=="number"&&typeof e=="number"&&t>=i&&e>t&&t-i>=n&&e-i<=r&&e-t<Go&&t-i<Go&&e-i<Go}var Dr=[["redirectStart","redirectEnd","Redirect"],["domainLookupStart","domainLookupEnd","Domain lookup"],["connectStart","connectEnd","Making a connection to the server"],["requestStart","responseEnd","Requesting and receiving the document"],["domLoading","domInteractive","Parsing the document, executing sync. scripts"],["domContentLoadedEventStart","domContentLoadedEventEnd",'Fire "DOMContentLoaded" event'],["loadEventStart","loadEventEnd",'Fire "load" event']];function $A(t,e,n,r){for(var i=[],u=0;u<Dr.length;u++){var o=t[Dr[u][0]],a=t[Dr[u][1]];if(xc(o,a,n,r,e)){var s=new En(Dr[u][2],"hard-navigation.browser-timing"),c=null;Dr[u][0]==="requestStart"&&(s.pageResponse=!0,c={url:location.origin}),s._start=o-e,s.end(a-e,c),i.push(s)}}return i}function jA(t,e,n){for(var r=[],i=0;i<t.length;i++){var u=t[i],o=u.name,a=u.startTime,s=u.duration,c=a+s;if(!(s<=W5||!xc(a,c,e,n))){var l="app",d=new En(o,l);d._start=a,d.end(c),r.push(d)}}return r}function MA(t){var e=t.name,n=t.initiatorType,r=t.startTime,i=t.responseEnd,u="resource";n&&(u+="."+n);var o=pv(e),a=new En(o,u);return a._start=r,a.end(i,{url:e,entry:t}),a}function BA(t,e){return e!=null&&t>e}function UA(t){return/intake\/v\d+\/rum\/events/.test(t)}function VA(t,e,n,r){for(var i=[],u=0;u<t.length;u++){var o=t[u],a=o.initiatorType,s=o.name,c=o.startTime,l=o.responseEnd;U5.indexOf(a)===-1||s==null||(a==="xmlhttprequest"||a==="fetch")&&(UA(s)||BA(c,e))||xc(c,l,n,r)&&i.push(MA(t[u]))}return i}function qA(t){if(!t.captureTimings){t.type===Ee&&(t._start=0);return}var e=t._end;if(t.type===Ee){if(t.marks&&t.marks.custom){var n=t.marks.custom;
243Object.keys(n).forEach(function(c){n[c]+=t._start})}var r=0;t._start=r;var i=tt.timing,u=mc(i)?i.redirectStart:i.fetchStart;$A(i,u,r,e).forEach(function(c){c.traceId=t.traceId,c.sampled=t.sampled,c.pageResponse&&t.options.pageLoadSpanId&&(c.id=t.options.pageLoadSpanId),t.spans.push(c)}),t.options.pageLoadParentId&&(t.parentId=t.options.pageLoadParentId),t.addMarks(Nk(i))}if(mv()){var o=t._start,a=tt.getEntriesByType(Q5);VA(a,sn.bootstrapTime,o,e).forEach(function(c){return t.spans.push(c)});var s=tt.getEntriesByType(Z5);jA(s,o,e).forEach(function(c){return t.spans.push(c)})}}var zA=function(){function t(n,r){var i=this;this._config=r,this._logger=n,this.currentTransaction=void 0,this.respIntervalId=void 0,this.recorder=new Uv(function(u){var o=i.getCurrentTransaction();if(o&&o.captureTimings){var a,s=o.type===Ee,c=NA(u,{isHardNavigation:s,trStart:s?0:o._start}),l=c.spans,d=c.marks;(a=o.spans).push.apply(a,l),o.addMarks({agent:d})}})}var e=t.prototype;return e.createCurrentTransaction=function(r,i,u){var o=new zf(r,i,u);return this.currentTransaction=o,o},e.getCurrentTransaction=function(){if(this.currentTransaction&&!this.currentTransaction.ended)return this.currentTransaction},e.createOptions=function(r){var i=this._config.config,u={transactionSampleRate:i.transactionSampleRate},o=bn(u,r);return o.managed&&(o=bn({pageLoadTraceId:i.pageLoadTraceId,pageLoadSampled:i.pageLoadSampled,pageLoadSpanId:i.pageLoadSpanId,pageLoadTransactionName:i.pageLoadTransactionName,pageLoadParentId:i.pageLoadParentId},o)),o},e.startManagedTransaction=function(r,i,u){var o=this.getCurrentTransaction(),a=!1;if(!o)o=this.createCurrentTransaction(r,i,u);else if(o.canReuse()&&u.canReuse){var s=o.type,c=Tf.indexOf(o.type),l=Tf.indexOf(i);c>=0&&l<c&&(s=i),o.redefine(r,s,u),a=!0}else o.end(),o=this.createCurrentTransaction(r,i,u);return o.type===Ee&&(a||(this.recorder.start(Ov),this.recorder.start(Y5),this.recorder.start(uo),this.recorder.start(us)),u.pageLoadTraceId&&(o.traceId=u.pageLoadTraceId),u.pageLoadSampled&&(o.sampled=u.pageLoadSampled),o.name===Zi&&u.pageLoadTransactionName&&(o.name=u.pageLoadTransactionName)),!a&&this._config.get("monitorLongtasks")&&this.recorder.start(Jr),o.sampled&&(o.captureTimings=!0),o},e.startTransaction=function(r,i,u){var o=this,a=this.createOptions(u),s,c=!0;if(a.managed){var l=this.currentTransaction;s=this.startManagedTransaction(r,i,a),l===s&&(c=!1)}else s=new zf(r,i,a);return s.onEnd=function(){return o.handleTransactionEnd(s)},c&&this._config.events.send(K5,[s]),s},e.handleTransactionEnd=function(r){var i=this;this.recorder.stop();var u=window.location.href;return mn.resolve().then(function(){var o=r.name,a=r.type,s=sn.lastHiddenStart;if(s>=r._start){i._config.dispatchEvent(_u);return}if(i.shouldIgnoreTransaction(o)||a===ns){i._config.dispatchEvent(_u);return}if(a===Ee){var c=i._config.get("pageLoadTransactionName");if(o===Zi&&c&&(r.name=c),r.captureTimings){var l=te.cls,d=te.fid,f=te.tbt,p=te.longtask;f.duration>0&&r.spans.push(RA(f)),r.experience={},es(Jr)&&(r.experience.tbt=f.duration),es(us)&&(r.experience.cls=l.score),d>0&&(r.experience.fid=d),p.count>0&&(r.experience.longtask={count:p.count,sum:p.duration,max:p.max})}i.setSession(r)}r.name===Zi&&(r.name=B5(u)),qA(r),i.adjustTransactionTime(r);var h=i._config.get("breakdownMetrics");h&&r.captureBreakdown();var g=i._config.get("context");vk(r,g),i._config.events.send(xv,[r])},function(o){})},e.setSession=function(r){var i=this._config.get("session");if(i){typeof i=="boolean"?r.session={id:or(16),sequence:1}:i.timestamp&&Date.now()-i.timestamp>nk?r.session={id:or(16),sequence:1}:r.session={id:i.id,sequence:i.sequence?i.sequence+1:1};var u={session:{id:r.session.id,sequence:r.session.sequence,timestamp:Date.now()}};this._config.setConfig(u),this._config.setLocalConfig(u,!0)}},e.adjustTransactionTime=function(r){var i=r.spans,u=L5(i);u&&u._start<r._start&&(r._start=u._start);var o=R5(i)||{},a=o._end||0;if(r.type===Ee){var s=r._end-bv,c=te.lcp||0,l=P5(i)||{},d=l._end||0;r._end=Math.max(a,d,c,s)}else a>r._end&&(r._end=a);this.truncateSpans(i,r._end)},e.truncateSpans=function(r,i){for(var u=0;u<r.length;u++){var o=r[u];o._end>i&&(o._end=i,o.type+=bc),o._start>i&&(o._start=i)}},e.shouldIgnoreTransaction=function(r){var i=this._config.get("ignoreTransactions");
243if(i&&i.length)for(var u=0;u<i.length;u++){var o=i[u];if(typeof o.test=="function"){if(o.test(r))return!0}else if(o===r)return!0}return!1},e.startSpan=function(r,i,u){var o=this.getCurrentTransaction();o||(o=this.createCurrentTransaction(void 0,ns,this.createOptions({canReuse:!0,managed:!0})));var a=o.startSpan(r,i,u);return a},e.endSpan=function(r,i){r&&r.end(null,i)},t}();const HA=zA;var Vv=40,GA=10,re={minInteractionId:1/0,maxInteractionId:0,interactionCount:0,longestInteractions:[]};function WA(t){t===void 0&&(t=new Uv(KA));var e=yv(),n=e?Vv:16;t.start(tk,{buffered:!0,durationThreshold:n}),e||t.start(uo)}function KA(t){var e=t.getEntries();e.forEach(function(n){n.interactionId&&(XA(n),!(n.duration<Vv)&&ZA(n))})}function JA(){if(re.longestInteractions.length===0)return Hf()>0?0:void 0;var t=Math.min(re.longestInteractions.length-1,Math.floor(Hf()/50)),e=re.longestInteractions[t].duration;return e}function Hf(){return performance.interactionCount||re.interactionCount}function YA(){re.minInteractionId=1/0,re.maxInteractionId=0,re.interactionCount=0,re.longestInteractions=[]}function ZA(t){var e=re.longestInteractions[re.longestInteractions.length-1];if(!(typeof e<"u"&&t.duration<=e.duration&&t.interactionId!=e.id)){var n=re.longestInteractions.filter(function(i){return i.id===t.interactionId});if(n.length>0){var r=n[0];r.duration=Math.max(r.duration,t.duration)}else re.longestInteractions.push({id:t.interactionId,duration:t.duration});re.longestInteractions.sort(function(i,u){return u.duration-i.duration}),re.longestInteractions.splice(GA)}}function XA(t){yv()||(re.minInteractionId=Math.min(re.minInteractionId,t.interactionId),re.maxInteractionId=Math.max(re.maxInteractionId,t.interactionId),re.interactionCount=(re.maxInteractionId-re.minInteractionId)/7+1)}function QA(t){var e=JA();if(e>=0){var n=Tt(),r=t.startTransaction(rs,rs,{startTime:n}),i=performance.getEntriesByType("navigation");if(i.length>0){var u=i[0].name;r.addContext({page:{url:u}})}r.addLabels({inp_value:e});var o=n+e+1;return r.end(o),YA(),r}}function eC(){Zr[nn]=function(t){var e=t.getService([Ft,he]),n=e[0],r=e[1];return new HA(n,r)},Zr[Tv]=function(t){var e=t.getService([fi,he,Ft,nn]),n=e[0],r=e[1],i=e[2],u=e[3];return new wA(n,r,i,u)}}function tC(t,e){document.visibilityState==="hidden"&&(sn.lastHiddenStart=0);var n=function(){document.visibilityState==="hidden"&&Gf(t,e)},r=function(){return Gf(t,e)},i=!0;return window.addEventListener("visibilitychange",n,i),window.addEventListener("pagehide",r,i),function(){window.removeEventListener("visibilitychange",n,i),window.removeEventListener("pagehide",r,i)}}function Gf(t,e){var n=QA(e);if(n)var r=t.observeEvent(yc,function(){Wf(t,e),r()});else Wf(t,e)}function Wf(t,e){var n=e.getCurrentTransaction();if(n){var r=t.observeEvent(_u,function(){sn.lastHiddenStart=Tt(),r(),i()}),i=t.observeEvent(yc,function(){t.dispatchEvent(is),sn.lastHiddenStart=Tt(),i(),r()});n.end()}else t.dispatchEvent(is),sn.lastHiddenStart=Tt()}var nC="a[data-transaction-name], button[data-transaction-name]";function rC(t){var e=function(u){u.target instanceof Element&&iC(t,u.target)},n="click",r=!0;return window.addEventListener(n,e,r),function(){window.removeEventListener(n,e,r)}}function iC(t,e){var n=uC(e),r=n.transactionName,i=n.context,u=t.startTransaction("Click - "+r,wv,{managed:!0,canReuse:!0,reuseThreshold:300});u&&i&&u.addContext(i)}function uC(t){var e={transactionName:null,context:null};e.transactionName=oC(t);var n=t.getAttribute("class");return n&&(e.context={custom:{classes:n}}),e}function oC(t){var e=aC(t);if(e)return e;var n=t.tagName.toLowerCase(),r=t.getAttribute("name");return r?n+'["'+r+'"]':n}function aC(t){var e="data-transaction-name",n=t.getAttribute(e);if(t.closest){var r=t.closest(nC);return r?r.getAttribute(e):n}return n}function sC(t,e){var n,r=(n={},n[qn]=!1,n[zn]=!1,n[Hn]=!1,n[Ee]=!1,n[Av]=!1,n[Ev]=!1,n[kv]=!1,n);return t&&Object.keys(r).forEach(function(i){e.indexOf(i)===-1&&(r[i]=!0)}),r}var Kf=!1;function cC(){return O5()?(gA(),sn.bootstrapTime=Tt(),Kf=!0):yn&&console.log("[Elastic APM] platform is not supported!"),Kf}function lC(){eC(),dA();var t=new lA;return t}var dC=function(){function t(n,r){this._disable=r,this.serviceFactory=n,this._initialized=!1}var e=t.prototype;return e.isEnabled=function(){return!this._disable},e.isActive=function(){var r=this.serviceFactory.getService(he);return this.isEnabled()&&this._initialized&&r.get("active")}
243,e.init=function(r){var i=this;if(this.isEnabled()&&!this._initialized){this._initialized=!0;var u=this.serviceFactory.getService([he,Ft,nn]),o=u[0],a=u[1],s=u[2];o.setVersion("5.17.0"),this.config(r);var c=o.get("logLevel");a.setLevel(c);var l=o.get("active");if(l){this.serviceFactory.init();var d=sC(o.get("instrument"),o.get("disableInstrumentations")),f=this.serviceFactory.getService(Tv);if(f.init(d),d[Av]){var p=this.serviceFactory.getService(os);p.registerListeners()}if(o.get("session")){var h=o.getLocalConfig();h&&h.session&&o.setConfig({session:h.session})}var g=function(){return d[Ee]&&i._sendPageLoadMetrics()};o.get("centralConfig")?this.fetchCentralConfig().then(g):g(),tC(o,s),d[Ev]&&d[kv]&&rC(s),WA()}else this._disable=!0,a.warn("RUM agent is inactive")}return this},e.fetchCentralConfig=function(){var r=this.serviceFactory.getService([fi,Ft,he]),i=r[0],u=r[1],o=r[2];return i.fetchConfig(o.get("serviceName"),o.get("environment")).then(function(a){var s=a.transaction_sample_rate;if(s){s=Number(s);var c={transactionSampleRate:s},l=o.validate(c),d=l.invalid;if(d.length===0)o.setConfig(c);else{var f=d[0],p=f.key,h=f.value,g=f.allowed;u.warn('invalid value "'+h+'" for '+p+". Allowed: "+g+".")}}return a}).catch(function(a){u.warn("failed fetching config:",a)})},e._sendPageLoadMetrics=function(){var r=this.startTransaction(void 0,Ee,{managed:!0,canReuse:!0});if(r){r.addTask(Ee);var i=function(){setTimeout(function(){return r.removeTask(Ee)},bv)};document.readyState==="complete"?i():window.addEventListener("load",i)}},e.observe=function(r,i){var u=this.serviceFactory.getService(he);u.events.observe(r,i)},e.config=function(r){var i=this.serviceFactory.getService([he,Ft]),u=i[0],o=i[1],a=u.validate(r),s=a.missing,c=a.invalid,l=a.unknown;if(l.length>0){var d="Unknown config options are specified for RUM agent: "+l.join(", ");o.warn(d)}if(s.length===0&&c.length===0)u.setConfig(r);else{var f=", ",p="RUM agent isn't correctly configured. ";s.length>0&&(p+=s.join(f)+" is missing",c.length>0&&(p+=f)),c.forEach(function(h,g){var v=h.key,m=h.value,y=h.allowed;p+=v+' "'+m+'" contains invalid characters! (allowed: '+y+")"+(g!==c.length-1?f:"")}),o.error(p),u.setConfig({active:!1})}},e.setUserContext=function(r){var i=this.serviceFactory.getService(he);i.setUserContext(r)},e.setCustomContext=function(r){var i=this.serviceFactory.getService(he);i.setCustomContext(r)},e.addLabels=function(r){var i=this.serviceFactory.getService(he);i.addLabels(r)},e.setInitialPageLoadName=function(r){var i=this.serviceFactory.getService(he);i.setConfig({pageLoadTransactionName:r})},e.startTransaction=function(r,i,u){if(this.isEnabled()){var o=this.serviceFactory.getService(nn);return o.startTransaction(r,i,u)}},e.startSpan=function(r,i,u){if(this.isEnabled()){var o=this.serviceFactory.getService(nn);return o.startSpan(r,i,u)}},e.getCurrentTransaction=function(){if(this.isEnabled()){var r=this.serviceFactory.getService(nn);return r.getCurrentTransaction()}},e.captureError=function(r,i){if(this.isEnabled()){var u=this.serviceFactory.getService(os);return u.logError(r,i)}},e.addFilter=function(r){var i=this.serviceFactory.getService(he);i.addFilter(r)},t}();function fC(){if(yn&&window.elasticApm)return window.elasticApm;var t=cC(),e=lC(),n=new dC(e,!t);return yn&&(window.elasticApm=n),n}var Jf=fC();Jf.init.bind(Jf);function pC(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var oo={exports:{}};oo.exports=Sc;oo.exports.isMobile=Sc;oo.exports.default=Sc;const hC=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,vC=/CrOS/,gC=/android|ipad|playbook|silk/i;function Sc(t){t||(t={});let e=t.ua;if(!e&&typeof navigator<"u"&&(e=navigator.userAgent),e&&e.headers&&typeof e.headers["user-agent"]=="string"&&(e=e.headers["user-agent"]),typeof e!="string")return!1;let n=hC.test(e)&&!vC.test(e)||!!t.tablet&&gC.test(e);return!n&&t.tablet&&t.featureDetect&&navigator&&navigator.maxTouchPoints>1&&e.indexOf("Macintosh")!==-1&&e.indexOf("Safari")!==-1&&(n=!0),n}var mC=oo.exports;const Ec=pC(mC),Yf={SUCCESS:"success",FAIL:"fail"},ji={SUCCESS:{type:Yf.SUCCESS},FAIL:{type:Yf.FAIL}},yC=()=>({initiator:t=>{const e=new MessageChannel;return parent.postMessage("Send port to target",t,[e.port2]),n=>new Promise(r=>{e.port1.postMessage(n),e.port1.onmessage=({data:i})=>{typeof n=="object"&&n!==null&&"type"in n&&(i==null?void 0:i.type)===n.type&&r(i==null?void 0:i.payload)}})},target:async t=>new Promise(e=>{const n=r=>{if(r.ports.length){const i=r.ports[0];i.onmessage=u=>{t(u,i)},e({port:i,cleanup:()=>window.removeEventListener("message",n)})}};window.addEventListener("message",n)})}),bC=yC();function Xr(){}function qv(t){return t()}function Zf(){return Object.create(null)}function ao(t){t.forEach(qv)}function zv(t){return typeof t=="function"}function _C(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let Mi;function Xf(t,e){return Mi||(Mi=document.createElement("a")),Mi.href=e,t===Mi.href}function wC(t){return Object.keys(t).length===0}function Hv(t,e){t.appendChild(e)}function xC(t,e,n){const r=SC(t);if(!r.getElementById(e)){const i=hs("style");i.id=e,i.textContent=n,EC(r,i)}}function SC(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function EC(t,e){return Hv(t.head||t,e),e.sheet}function Gv(t,e,n){t.insertBefore(e,n||null)}function kc(t){t.parentNode&&t.parentNode.removeChild(t)}function hs(t){return document.createElement(t)}function kC(t){return document.createTextNode(t)}function AC(){return kC("")}function Be(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function CC(t){return Array.from(t.childNodes)}function Qf(t,e,n){t.classList[n?"add":"remove"](e)}let Ac;function $r(t){Ac=t}const Ln=[],ep=[];let Gn=[];const tp=[],OC=Promise.resolve();let vs=!1;function TC(){vs||(vs=!0,OC.then($n))}function gs(t){Gn.push(t)}const Ko=new Set;let Rn=0;function $n(){if(Rn!==0)return;const t=Ac;do{try{for(;Rn<Ln.length;){const e=Ln[Rn];Rn++,$r(e),DC(e.$$)}}catch(e){throw Ln.length=0,Rn=0,e}for($r(null),Ln.length=0,Rn=0;ep.length;)ep.pop()();for(let e=0;e<Gn.length;e+=1){const n=Gn[e];Ko.has(n)||(Ko.add(n),n())}Gn.length=0}while(Ln.length);for(;tp.length;)tp.pop()();vs=!1,Ko.clear(),$r(t)}
vendor: 4,194 bytes, line 243
243function DC(t){if(t.fragment!==null){t.update(),ao(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(gs)}}function FC(t){const e=[],n=[];Gn.forEach(r=>t.indexOf(r)===-1?e.push(r):n.push(r)),n.forEach(r=>r()),Gn=e}const IC=new Set;function RC(t,e){t&&t.i&&(IC.delete(t),t.i(e))}function PC(t,e,n,r){const{fragment:i,after_update:u}=t.$$;i&&i.m(e,n),r||gs(()=>{const o=t.$$.on_mount.map(qv).filter(zv);t.$$.on_destroy?t.$$.on_destroy.push(...o):ao(o),t.$$.on_mount=[]}),u.forEach(gs)}function LC(t,e){const n=t.$$;n.fragment!==null&&(FC(n.after_update),ao(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function NC(t,e){t.$$.dirty[0]===-1&&(Ln.push(t),TC(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function $C(t,e,n,r,i,u,o,a=[-1]){const s=Ac;$r(t);const c=t.$$={fragment:null,ctx:[],props:u,update:Xr,not_equal:i,bound:Zf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Zf(),dirty:a,skip_bound:!1,root:e.target||s.$$.root};o&&o(c.root);let l=!1;if(c.ctx=n?n(t,e.props||{},(d,f,...p)=>{const h=p.length?p[0]:f;return c.ctx&&i(c.ctx[d],c.ctx[d]=h)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](h),l&&NC(t,d)),f}):[],c.update(),l=!0,ao(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const d=CC(e.target);c.fragment&&c.fragment.l(d),d.forEach(kc)}else c.fragment&&c.fragment.c();e.intro&&RC(t.$$.fragment),PC(t,e.target,e.anchor,e.customElement),$n()}$r(s)}class jC{$destroy(){LC(this,1),this.$destroy=Xr}$on(e,n){if(!zv(n))return Xr;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(e){this.$$set&&!wC(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function MC(t){xC(t,"svelte-1s6dmb5",".root.svelte-1s6dmb5{position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;background-color:transparent}.not-visible.svelte-1s6dmb5{visibility:hidden}")}function np(t){let e,n,r;return{c(){e=hs("div"),n=hs("iframe"),Be(n,"id",t[3]),Be(n,"sandbox","allow-same-origin allow-scripts allow-popups allow-forms allow-modals allow-popups-to-escape-sandbox allow-storage-access-by-user-activation"),Be(n,"allowtransparency",!0),Be(n,"title",UC),Be(n,"width","100%"),Be(n,"height","100%"),Xf(n.src,r=t[0])||Be(n,"src",r),Be(n,"frameborder","no"),Be(e,"class","root svelte-1s6dmb5"),Qf(e,"not-visible",!t[2])},m(i,u){Gv(i,e,u),Hv(e,n)},p(i,u){u&8&&Be(n,"id",i[3]),u&1&&!Xf(n.src,r=i[0])&&Be(n,"src",r),u&4&&Qf(e,"not-visible",!i[2])},d(i){i&&kc(e)}}}function BC(t){let e,n=t[1]&&np(t);return{c(){n&&n.c(),e=AC()},m(r,i){n&&n.m(r,i),Gv(r,e,i)},p(r,[i]){r[1]?n?n.p(r,i):(n=np(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},i:Xr,o:Xr,d(r){n&&n.d(r),r&&kc(e)}}}let UC="web widget";function VC(t,e,n){let{url:r}=e,{isOpen:i}=e,{isVisible:u=!1}=e,{iframeId:o}=e;return t.$$set=a=>{"url"in a&&n(0,r=a.url),"isOpen"in a&&n(1,i=a.isOpen),"isVisible"in a&&n(2,u=a.isVisible),"iframeId"in a&&n(3,o=a.iframeId)},[r,i,u,o]}class Wv extends jC{constructor(e){super(),$C(this,e,VC,BC,_C,{url:0,isOpen:1,isVisible:2,iframeId:3},MC)}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),$n()}get isOpen(){return this.$$.ctx[1]}set isOpen(e){this.$$set({isOpen:e}),$n()}get isVisible(){return this.$$.ctx[2]}set isVisible(e){this.$$set({isVisible:e}),$n()}get iframeId(){return this.$$.ctx[3]}set iframeId(e){this.$$set({iframeId:e}),$n()}}const Kv=(t,e,n)=>{const r=new URL(t);return r.searchParams.set("state",n),r.searchParams.set("bankInvoiceId",e),r},qC=t=>t.backUrl?Kv(t.backUrl,t.orderId,"success"):t.successUrl,zC=t=>t.backUrl?Kv(t.backUrl,t.orderId,"return"):t.failUrl,HC=(t,e,{closeModal:n,resolve:r,params:i,onAppInitialize:u,internalParams:o})=>{var a,s,c,l,d,f,p,h;if(((a=t.data)==null?void 0:a.type)===ji.SUCCESS.type&&(n(),r(ji.SUCCESS.type),window.location.replace(qC(i))),((s=t.data)==null?void 0:s.type)===ji.FAIL.type&&(n(),r(ji.FAIL.type),window.location.replace(zC(i))),((c=t.data)==null?void 0:c.type)==="CLOSE_WIDGET"&&(n(),document.body.style.overflow="",document.body.style.position="",r("closed")),((l
243=t.data)==null?void 0:l.type)==="GET_PARAMETERS"&&(u==null||u(),e.postMessage({type:"GET_PARAMETERS",payload:i})),((d=t.data)==null?void 0:d.type)==="GET_VERSION"&&e.postMessage({type:"GET_VERSION",payload:VERSION}),((f=t.data)==null?void 0:f.type)==="OPEN_LINK"&&(p=t.data)!=null&&p.payload&&window.location.assign(t.data.payload),((h=t.data)==null?void 0:h.type)==="GET_ORDERID"){const g=o.get("orderId");if(!g)return;e.postMessage({type:"GET_ORDERID",payload:g})}},GC=2e4,rp={localhostHttps:"https://localhost:3000",localhost:"http://localhost:3000",IFT:"https://ift.safepayonline.ru",UAT:"https://psi.safepayonline.ru",PRODUCTION:"https://safepayonline.ru"},ip={localhostHttps:"https://localhost:3000",localhost:"http://localhost:3000",IFT:"https://ift.platiecom.ru",UAT:"https://psi.platiecom.ru",PRODUCTION:"https://platiecom.ru"},WC="width=450,height=500,top=200,left=200",Cc=(t,e=!1)=>e?rp[t]||rp.PRODUCTION:ip[t]||ip.PRODUCTION,Jv=(t,e,n)=>{const r=new URL(t);return Ec()||r.searchParams.append("platform","desktop"),e&&r.searchParams.append("orderId",e),n&&r.searchParams.append("params",n),r.toString()},KC=(t,e)=>!!t&&!(t.includes("Chrome")||t.includes("Chromium"))&&t.includes("Safari")&&!e,up=KC(navigator.userAgent,Ec()),Yv=()=>({host:window.location.host,href:window.location.href}),JC=(t,e)=>{const n=setTimeout(()=>t("fail"),GC);return()=>{clearTimeout(n),e()}},Zv=()=>Math.random().toString(36).substring(2,15),Xv=()=>{const t=document.getElementById("payment-widget-container");if(!t){const e=document.createElement("div");return e.setAttribute("id","payment-widget-container"),document.body.appendChild(e),e}return t},YC=(t,e,n)=>new Wv({target:t,props:{url:e,isOpen:!1,iframeId:n}}),ZC=(t,e)=>{const n=new Map,r=Zv(),i=Xv(),u=Cc(t,e),o=YC(i,u,r),a=g=>o.$set({isOpen:g}),s=()=>o.$set({isVisible:!0}),c=()=>a(!1),l=()=>a(!0),d=g=>o.$set({url:g});let f=null;const p=g=>{var v;((v=g.data)==null?void 0:v.target)==="tab"&&(f==null||f.postMessage(g.data,"*"))},h=g=>{var v,m;if(((v=g.data)==null?void 0:v.target)==="iframe"){const y=document.getElementById(r);(m=y==null?void 0:y.contentWindow)==null||m.window.postMessage(g.data,"*")}};return{open:g=>{const v={...g,orderId:g.bankInvoiceId,isSafariDesktop:up};return new Promise(async(m,y)=>{try{d(Jv(u,v.orderId)),up&&(f=window.open(u+"/access-cookie","_blank",WC)),l(),document.body.style.overflow="hidden",document.body.style.position="sticky",window.onmessage=E=>{h(E),p(E)};const{href:x,host:A}=Yv(),C={...v,href:x,host:A},_=JC(y,s);bC.target((E,b)=>HC(E,b,{closeModal:c,resolve:m,params:C,onAppInitialize:_,internalParams:n}))}catch(x){console.error(x),c(),y("fail")}})},setOrderId:g=>{n.set("orderId",g)},close:()=>{document.body.style.overflow="",document.body.style.position="",c()}}},XC=(t,e)=>{const n=Cc(t,e);return{open:r=>{const i={...r,orderId:r.bankInvoiceId};return new Promise(async(u,o)=>{try{const{href:a,host:s}=Yv(),c={...i,href:a,host:s},l=btoa(JSON.stringify(c));window.location.assign(Jv(n,i.orderId,l))}catch{o("fail")}})}}},QC=1e4,Qv=(t,e)=>new Wv({target:t,props:{iframeId:Zv(),url:e,isOpen:!1}}),Jo={GET_SBERID_RESPONSE:"GET_SBERID_RESPONSE",SBERID_RESPONSE:"SBERID_RESPONSE",CLOSE_SBERID_TAB:"CLOSE_SBERID_TAB"},e9=()=>setTimeout(()=>window.close(),QC),t9=t=>{const e=Xv(),n=Cc(t),r=Qv(e,`${n}/framed-sberid`),i=s=>r.$set({isOpen:s}),u=()=>r.$set({isVisible:!0}),o=()=>i(!1),a=()=>i(!0);return{open:s=>new Promise(async(c,l)=>{try{e9(),window.addEventListener("message",d=>{var f,p;((f=d.data)==null?void 0:f.type)===Jo.GET_SBERID_RESPONSE&&d.source.postMessage({type:Jo.SBERID_RESPONSE,payload:s},d.origin),((p=d.data)==null?void 0:p.type)===Jo.CLOSE_SBERID_TAB&&window.close()}),a(),u()}catch(d){console.error(d),o(),l("fail")}})}},eg=(t,e)=>Ec()?XC(t,e):ZC(t,e),n9=(...t)=>eg(...t),E9=Object.freeze(Object.defineProperty({__proto__:null,createModal:Qv,createSberIdIFrame:t9,createWidget:n9,createWidgetInternal:eg},Symbol.toStringTag,{value:"Module"}));export{qg as B,m9 as D,s9 as F,z as I,$e as L,Jp as P,y9 as T,Np as a,xb as b,jr as c,h9 as d,Ru as e,pb as f,Qr as g,Iu as h,u9 as i,b9 as j,d9 as k,Wy as l,f9 as m,c9 as n,l9 as o,v9 as p,_9 as q,Eb as r,g9 as s,E9 as t,p9 as u,S9 as w}; 244//# sourceMappingURL=vendor-a9303273.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.